benchtests: Add more tests for memrchr
[glibc.git] / ChangeLog
blob9e824d5cff2077700bb7ab7e8125e738f3fe8ce9
1 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3         * benchtests/bench-memchr.c (do_test): Print out both length
4         and position.
5         (test_main): Also test the position close to the beginning for
6         memrchr.
8 2017-06-04  Zack Weinberg  <zackw@panix.com>
10         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
11         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
12         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
13         * nis/nis_destroygroup.c, nis/nis_domain_of.c
14         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
15         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
16         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
17         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
18         * nis/nis_print_group_entry.c, nis/nis_remove.c
19         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
20         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
21         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
22         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
23         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
24         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
25         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
26         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
27         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
28         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
29         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
30         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
31         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
32         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
33         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
34         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
35         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
36         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
37         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
38         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
40         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
41         abi-versions.h as well as shlib-compat.h.
42         * sunrpc/get_myaddr.c: Remove obsolete comment.
43         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
44         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
45         * resolv/res_libc.c: Include shlib-compat.h only once.
47 2017-06-03  Florian Weimer  <fweimer@redhat.com>
49         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
50         of strdup.
52 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
54         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
55         Set to the 3/4 of the total shared cache size.
57 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
59         * manual/errno.texi: Remove redundant error strings.
60         * manual/macros.texi (@errno): Render the error string in every
61         description.
63 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
65         [BZ #21543]
66         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
67         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
68         [__USE_XOPEN_EXTENDED].
70 2017-06-02  Florian Weimer  <fweimer@redhat.com>
72         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
73         strdupa.
74         (getcanonname): Use __strdup instead of strdup.
76 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
78         * misc/Makefile (CFLAGS-preadv2.c): New rule.
79         (CFLAGS-preadv64v2.c): Likewise.
80         (CFLAGS-pwritev2.c): Likewise.
81         (CFLAGS-pwritev64v2.c): Likewise.
83 2017-06-02  Florian Weimer  <fweimer@redhat.com>
85         Test res_init with several configuration files.
86         * resolv/Makefile [build-shared] (tests-internal): Add
87         tst-resolv-res_init, tst-resolv-res_init-thread.
88         (tst-resolv-res_init): Link against libdl, libresolv.
89         (tst-resolv-res_init-thread): Link against libdl, libresolv,
90         libpthread.
91         * resolv/tst-resolv-res_init.c: New file.
92         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
93         * resolv/tst-resolv-res_init-thread.c: Likewise.
94         * support/Makefile (libsupport-routines): Add support-xstat,
95         support_can_chroot, support_capture_subprocess_check,
96         support_isolate_in_subprocess, support_shared_allocate,
97         support_write_file_string, xchroot, xmkdir, xopen.
98         * support/capture_subprocess.h (enum support_capture_allow): Define.
99         (support_capture_subprocess_check): Declare.
100         * support/namespace.h (support_can_chroot)
101         (support_isolate_in_subprocess): Declare.
102         * support/support-xstat.c: New file.
103         * support/support.h (support_shared_allocate, support_shared_free)
104         (support_write_file_string): Declare.
105         * support/support_can_chroot.c: New file.
106         * support/support_capture_subprocess_check.c: Likewise.
107         * support/support_isolate_in_subprocess.c: Likewise.
108         * support/support_shared_allocate.c: Likewise.
109         * support/support_write_file_string.c: Likewise.
110         * support/xchroot.c: Likwise.
111         * support/xmkdir.c: Likwise.
112         * support/xopen.c: Likwise.
113         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
115 2017-06-02  Florian Weimer  <fweimer@redhat.com>
117         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
118         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
120 2017-06-02  Florian Weimer  <fweimer@redhat.com>
122         * malloc/Makefile (routines): Add dynarray_at_failure,
123         dynarray_emplace_enlarge, dynarray_finalize.
124         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
125         tst-dynarray-at-fail.
126         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
127         (tests-special): Add tst-dynarray-mem.out,
128         tst-dynarray-mem-fail.out.
129         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
130         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
131         mtrace.
132         * malloc/Versions (__libc_dynarray_at_failure)
133         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
134         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
135         GLIBC_PRIVATE.
136         * malloc/dynarray.h: New file.
137         * malloc/dynarray-skeleton.c: Likewise.
138         * malloc/dynarray_at_failure.c: Likewise.
139         * malloc/dynarray_emplace_enlarge.c: Likewise.
140         * malloc/dynarray_finalize.c: Likewise.
141         * malloc/dynarray_resize.c: Likewise.
142         * malloc/dynarray_resize_clear.c: Likewise.
143         * malloc/tst-dynarray.c: Likewise.
144         * malloc/tst-dynarray-fail.c: Likewise.
145         * malloc/tst-dynarray-at-fail.c: Likewise.
146         * malloc/tst-dynarray-shared.h: Likewise.
147         * support/Makefile (libsupport-routines): Add
148         support_capture_subprocess, xdup2, xpipe.
149         (tests): Add tst-support_capture_subprocess.
150         * support/capture_subprocess.h: New file.
151         * support/support_capture_subprocess.c: Likewise.
152         * support/tst-support_capture_subprocess.c: Likewise.
153         * support/xdup2.c: Likewise.
154         * support/xpipe.c: Likewise.
155         * support/xunistd.h (xdup2, xpipe): Declare.
157 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
159         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
160         macros MAX and MIN.
162 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
164         * conform/data/signal.h-data (sa_sigaction): Do not expect for
165         [XPG4].
166         (SA_SIGINFO): Likewise.
167         (SA_ONSTACK): Likewise.
168         (SA_RESETHAND): Likewise.
169         (SA_RESTART): Likewise.
170         (SA_NOCLDWAIT): Likewise.
171         (SA_NODEFER): Likewise.
172         (SS_ONSTACK): Likewise.
173         (SS_DISABLE): Likewise.
174         (MINSIGSTKSZ): Likewise.
175         (SIGSTKSZ): Likewise.
176         (ucontext_t): Likewise.
177         (stack_t): Likewise.
178         (struct sigstack): Likewise.
179         (SI_USER): Do not expect for [XPG4 || XPG42].
180         (SI_QUEUE): Likewise.
181         (SI_TIMER): Likewise.
182         (SI_ASYNCIO): Likewise.
183         (SI_MESGQ): Likewise.
184         (bsd_signal): Do not expect for [XPG4].
185         (killpg): Likewise.
186         (sigaltstack): Likewise.
187         (sighold): Likewise.
188         (sigignore): Likewise.
189         (siginterrupt): Likewise.
190         (sigpause): Likewise.
191         (sigrelse): Likewise.
192         (sigset): Likewise.
193         (sigwait): Do not expect for [XPG4 || XPG42].
195 2017-06-01  Zack Weinberg  <zackw@panix.com>
197         [BZ #21514]
198         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
199         pointing to the generated file in <builddir>/misc/bits/syscall.h.
201 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
203         [BZ #21457]
204         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
205         NGREG to __NGREG if [__USE_MISC].
206         (gregset_t): Define using __NGREG.
207         (__ctx): New macro.
208         (mcontext_t): Use __ctx in defining fields.
209         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
210         define NGREG to __NGREG if [__USE_MISC].
211         (gregset_t): Define using __NGREG.
212         (__ctx): New macro.
213         (__ctxt): Likewise.
214         (fpregset_t): Use __ctx and __ctxt in defining fields.
215         (mcontext_t): Likewise.
216         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
217         define NGREG to __NGREG if [__USE_MISC].
218         (gregset_t): Define using __NGREG.
219         (__ctx): New macro.
220         (mcontext_t): Use __ctx in defining fields.
221         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
222         define NGREG to __NGREG if [__USE_MISC].
223         (gregset_t): Define using __NGREG.
224         (__ctx): New macro.
225         (fpregset_t): Use __ctx in defining fields.
226         (mcontext_t): Likewise.
227         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
228         __NGREG and define NGREG to __NGREG if [__USE_MISC].
229         (gregset_t): Define using __NGREG.
230         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
231         [__USE_MISC].
232         (fpregset_t): Define using __NFPREG.
233         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
234         __NGREG and define NGREG to __NGREG if [__USE_MISC].
235         (gregset_t): Define using __NGREG.
236         (__ctx): New macro.
237         (fpregset_t): Use __ctx in defining fields.
238         (mcontext_t): Likewise.
239         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
240         __NGREG and define NGREG to __NGREG if [__USE_MISC].
241         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
242         [__USE_MISC].
243         (gregset_t): Define using __NGREG.
244         (__ctx): New macro.
245         (fpregset_t): Use __ctx in defining fields.
246         (mcontext_t): Likewise.
247         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
248         (mcontext_t): Use __ctx in defining fields.
249         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
250         macro.
251         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
252         __NGREG if [__USE_MISC].
253         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
254         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
255         (mcontext_t): Likewise.
256         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
257         __NGREG if [__USE_MISC].
258         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
259         to __NFPREG if [__USE_MISC].
260         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
261         to __NVRREG if [__USE_MISC].
262         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
263         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
264         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
265         [__WORDSIZE != 32] (vrregset_t): Likewise.
266         [__WORDSIZE != 32] (mcontext_t): Likewise.
267         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
268         (__psw_t): Use __ctx in defining fields.
269         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
270         [__USE_MISC].
271         (gregset_t): Define using __NGREG.
272         (fpreg_t): Use __ctx in defining fields.
273         (fpregset_t): Likewise.
274         (mcontext_t): Likewise.
275         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
276         __NGREG and define NGREG to __NGREG if [__USE_MISC].
277         (gregset_t): Define using __NGREG.
278         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
279         [__USE_MISC].
280         (fpregset_t): Define using __NFPREG.
281         (__ctx): New macro.
282         (mcontext_t): Use __ctx in defining fields.
283         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
284         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
285         __NGREG if [__USE_MISC].
286         [__x86_64__] (gregset_t): Define using __NGREG.
287         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
288         [__x86_64__] (struct _libc_fpstate): Likewise.
289         [__x86_64__] (mcontext_t): Likewise.
290         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
291         __NGREG if [__USE_MISC].
292         [!__x86_64__] (gregset_t): Define using __NGREG.
293         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
294         [!__x86_64__] (struct _libc_fpstate): Likewise.
295         [!__x86_64__] (mcontext_t): Likewise.
297 2017-06-01  Zack Weinberg  <zackw@panix.com>
299         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
300         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
301         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
302         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
303         libpthread.so no longer references __errno_location.
305 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
307         * NEWS: Add note about pwritev2 and preadv2 inclusion.
308         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
309         pwritev64v2.
310         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
311         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
312         pwritev64v2.
313         * misc/preadv2.c: New file.
314         * misc/preadv64v2.c: Likewise.
315         * misc/pwritev2.c: Likewise.
316         * misc/pwritev64v2.c: Likewise.
317         * misc/tst-preadvwritev2.c: Likewise.
318         * misc/tst-preadvwritev64v2.c: Likewise.
319         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
320         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
321         prototype.
322         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
323         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
324         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
325         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
326         (PWRITEV): Likewise.
327         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
328         ENOSYS.
329         * nptl/tst-cancel4.c (tf_pwritev2): New test.
330         (tf_preadv2): Likewise.
331         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
332         * sysdeps/posix/preadv2.c: Likewise.
333         * sysdeps/posix/preadv64v2.c: Likewise.
334         * sysdeps/posix/pwritev2.c: Likewise.
335         * sysdeps/posix/pwritev64v2.c: Likewise.
336         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
337         support in kernel.
338         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
339         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
340         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
341         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
342         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
343         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
344         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
345         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
346         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
347         support flags on Linux.
348         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
349         preadv2, preadv64v2, pwritev2, pwritev64v2.
350         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
351         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
352         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
353         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
354         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
355         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
356         Likewise.
357         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
358         Likewise.
359         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
360         Likewise.
361         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
362         Likewise.
363         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
364         Likewise.
365         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
366         Likewise.
367         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
368         Likewise.
369         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
371         (GLIBC_2.26): Likewise.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
373         (GLIBC_2.26): Likewise.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
375         Likewise.
376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
377         (GLIBC_2.26): Likewise.
378         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
379         Likewise.
380         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
381         Likewise.
382         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
383         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
384         Likewise.
385         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
386         Likewise.
387         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
388         Likewise.
389         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
390         Likewise.
391         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
392         Likewise.
393         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
394         Likewise.
395         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
396         Likewise.
398 2017-05-31  Andreas Schwab  <schwab@suse.de>
400         * nptl/tst-fork3.c: Include <support/test-driver.c>.
401         (main): Rename to do_test and make static.
403 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
405         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
406         ARCH_INIT_CPU_FEATURES.
407         (LIBC_START_MAIN): Call it.
408         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
409         (__libc_start_main): Remove.
410         (ARCH_INIT_CPU_FEATURES): New macro.
411         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
412         (ARCH_INIT_CPU_FEATURES): New macro.
414 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
415             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
417         * include/stdlib.h (__libc_reallocarray): New declaration.
418         * malloc/Makefile (routines): Add reallocarray.
419         (tests): Add tst-reallocarray.c.
420         * malloc/Versions: Add reallocarray and __libc_reallocarray.
421         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
422         function.
423         * malloc/malloc.h (reallocarray): New declaration.
424         * stdlib/stdlib.h (reallocarray): Likewise.
425         * malloc/reallocarray.c: New file.
426         * malloc/tst-reallocarray.c: New test file.
427         * manual/memory.texi: Document reallocarray.
428         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
429         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
430         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
431         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
432         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
433         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
434         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
435         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
436         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
437         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
438         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
439         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
440         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
441         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
443         Likewise.
444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
445         Likewise.
446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
449         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
450         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
451         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
452         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
457         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
459 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
461         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
462         the lower 32 bits.
464 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
466         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
467         $(build-pie-default) = yes]: Define.
469 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
471         * string/test-memchr.c (test_main): Add tests for n == 0.
473 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
475         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
476         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
477         (tests-internal): ... here.
479 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
480              H.J. Lu  <hongjiu.lu@intel.com>
482         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
483         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
484         (__tunable_set_val): Likewise.
486 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
488         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
489         dl-tunables.list in subdirectories.
491 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
492             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
493             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
495         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
496         (SNANF128): New macro.
497         * math/e_sqrtf128.c: New file.
498         * math/s_fmaxmag_template.c: Include math_private.h in order to
499         make inline expansion of fabs128().
500         * math/s_fminmag_template.c: Likewise.
502         * sysdeps/ieee754/float128/e_acosf128.c: New file.
503         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
504         * sysdeps/ieee754/float128/e_asinf128.c: New file.
505         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
506         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
507         * sysdeps/ieee754/float128/e_coshf128.c: New file.
508         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
509         * sysdeps/ieee754/float128/e_expf128.c: New file.
510         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
511         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
512         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
513         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
514         * sysdeps/ieee754/float128/e_j0f128.c: New file.
515         * sysdeps/ieee754/float128/e_j1f128.c: New file.
516         * sysdeps/ieee754/float128/e_jnf128.c: New file.
517         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
518         * sysdeps/ieee754/float128/e_log10f128.c: New file.
519         * sysdeps/ieee754/float128/e_log2f128.c: New file.
520         * sysdeps/ieee754/float128/e_logf128.c: New file.
521         * sysdeps/ieee754/float128/e_powf128.c: New file.
522         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
523         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
524         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
525         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
526         * sysdeps/ieee754/float128/float128_private.h: New file.
527         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
528         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
529         * sysdeps/ieee754/float128/k_cosf128.c: New file.
530         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
531         * sysdeps/ieee754/float128/k_sinf128.c: New file.
532         * sysdeps/ieee754/float128/k_tanf128.c: New file.
533         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
534         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
535         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
536         * sysdeps/ieee754/float128/s_atanf128.c: New file.
537         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
538         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
539         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
540         * sysdeps/ieee754/float128/s_cosf128.c: New file.
541         * sysdeps/ieee754/float128/s_erff128.c: New file.
542         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
543         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
544         * sysdeps/ieee754/float128/s_finitef128.c: New file.
545         * sysdeps/ieee754/float128/s_floorf128.c: New file.
546         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
547         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
548         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
549         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
550         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
551         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
552         * sysdeps/ieee754/float128/s_isinff128.c: New file.
553         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
554         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
555         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
556         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
557         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
558         * sysdeps/ieee754/float128/s_logbf128.c: New file.
559         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
560         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
561         * sysdeps/ieee754/float128/s_modff128.c: New file.
562         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
563         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
564         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
565         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
566         * sysdeps/ieee754/float128/s_remquof128.c: New file.
567         * sysdeps/ieee754/float128/s_rintf128.c: New file.
568         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
569         * sysdeps/ieee754/float128/s_roundf128.c: New file.
570         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
571         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
572         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
573         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
574         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
575         * sysdeps/ieee754/float128/s_significandf128.c: New file.
576         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
577         * sysdeps/ieee754/float128/s_sinf128.c: New file.
578         * sysdeps/ieee754/float128/s_tanf128.c: New file.
579         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
580         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
581         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
582         * sysdeps/ieee754/float128/s_truncf128.c: New file.
583         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
584         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
585         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
586         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
588         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
589         (__iscanonicalf128): Define as a macro.
591 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
593         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
594         (memmove): Use MEMMOVE for name.
595         (memcpy): Use MEMCPY for name.  Change internal labels
596         to external labels.
597         * sysdeps/aarch64/multiarch/Makefile: New file.
598         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
599         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
600         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
601         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
602         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
603         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
605 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
607         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
608         (_dl_arm_cap_flags): Fix array subscript.
609         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
610         Fix count.
612 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
614         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
616 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
618         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
619         (is_amd): Likewise.
620         (max_cpuid): Likewise.
621         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
622         (init_cacheinfo): Likewise.
624 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
626         [BZ #21511]
627         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
628         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
629         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
630         !__USE_XOPEN2K) || __USE_MISC].
631         * conform/data/signal.h-data (struct sigstack): Expect type only
632         if [!XOPEN2K8 && !POSIX2008].
633         (sigstack): Expect function only if [XPG42 || UNIX98].
635         [BZ #21457]
636         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
637         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
638         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
639         <bits/types/__sigset_t.h>.
640         (ucontext_t): Use sigset_t instead of __sigset_t.
641         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
642         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
643         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
644         <bits/types/__sigset_t.h>.
645         (ucontext_t): Use sigset_t instead of __sigset_t.
646         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
647         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
648         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
649         <bits/types/__sigset_t.h>.
650         (ucontext_t): Use sigset_t instead of __sigset_t.
651         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
652         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
653         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
654         <bits/types/__sigset_t.h>.
655         (ucontext_t): Use sigset_t instead of __sigset_t.
656         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
657         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
658         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
659         <bits/types/__sigset_t.h>.
660         (ucontext_t): Use sigset_t instead of __sigset_t.
661         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
662         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
663         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
664         <bits/types/__sigset_t.h>.
665         (ucontext_t): Use sigset_t instead of __sigset_t.
666         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
667         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
668         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
669         <bits/types/__sigset_t.h>.
670         (ucontext_t): Use sigset_t instead of __sigset_t.
671         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
672         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
673         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
674         <bits/types/__sigset_t.h>.
675         (ucontext_t): Use sigset_t instead of __sigset_t.
676         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
677         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
678         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
679         <bits/types/__sigset_t.h>.
680         (ucontext_t): Use sigset_t instead of __sigset_t.
681         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
682         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
683         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
684         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
685         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
686         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
687         <bits/types/__sigset_t.h>.
688         (ucontext_t): Use sigset_t instead of __sigset_t.
689         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
690         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
691         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
692         <bits/types/__sigset_t.h>.
693         (ucontext_t): Use sigset_t instead of __sigset_t.
694         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
695         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
696         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
697         <bits/types/__sigset_t.h>.
698         (ucontext_t): Use sigset_t instead of __sigset_t.
699         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
700         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
701         <bits/ss_flags.h>.
702         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
703         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
704         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
705         <bits/types/__sigset_t.h>.
706         (ucontext_t): Use sigset_t instead of __sigset_t.
707         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
708         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
709         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
710         <bits/types/__sigset_t.h>.
711         (ucontext_t): Use sigset_t instead of __sigset_t.
712         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
713         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
714         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
715         <bits/types/__sigset_t.h>.
716         (ucontext_t): Use sigset_t instead of __sigset_t.
717         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
718         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
719         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
720         <bits/types/__sigset_t.h>.
721         (ucontext_t): Use sigset_t instead of __sigset_t.
722         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
723         <bits/types.h>.
724         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
725         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
726         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
727         <bits/types/__sigset_t.h>.
728         (ucontext_t): Use sigset_t instead of __sigset_t.
730 2017-05-22  Zack Weinberg  <zackw@panix.com>
732         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
733         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
734         bits/siginfo-arch.h, only if not already defined.
735         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
736         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
737         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
738         Likewise.
740         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
741         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
743         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
744         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
745         Unconditionally define __SI_* macros.
747 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
749         [BZ #21393]
750         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
751         and add a check for dup3 failure.
752         * libio/freopen64.c (freopen64): Likewise.
753         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
754         libsupport.
755         (do_test_bz21398): New test.
756         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
758 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
760         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
761         Remove invalid comment.
763 2017-05-21  Zack Weinberg  <zackw@panix.com>
765         * signal/Makefile (headers): Add bits/types/sigval_t.h.
767 2017-05-20  Zack Weinberg  <zackw@panix.com>
769         * bits/sigevent-consts.h
770         * bits/siginfo-consts.h
771         * bits/types/__sigset_t.h
772         * bits/types/sigevent_t.h
773         * bits/types/siginfo_t.h
774         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
775         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
776         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
777         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
778         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
779         New system-dependent bits headers.
781         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
782         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
783         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
784         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
785         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
786         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
787         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
788         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
789         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
790         New Linux-only system-dependent bits headers.
792         * signal/bits/types/sig_atomic_t.h
793         * signal/bits/types/sigset_t.h
794         * signal/bits/types/sigval_t.h:
795         New non-system-dependent bits headers.
797         * sysdeps/generic/sigsetops.h
798         * sysdeps/unix/sysv/linux/sigsetops.h:
799         New internal headers.
801         * include/bits/types/sig_atomic_t.h
802         * include/bits/types/sigset_t.h
803         * include/bits/types/sigval_t.h:
804         New wrappers.
806         * signal/sigsetops.h
807         * bits/siginfo.h
808         * bits/sigset.h
809         * sysdeps/unix/sysv/linux/bits/siginfo.h
810         * sysdeps/unix/sysv/linux/bits/sigset.h
811         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
812         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
813         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
814         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
815         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
816         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
817         Deleted.
819         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
820         Update lists of installed headers.
822         * posix/bits/types.h: Define __sig_atomic_t here.
823         * signal/signal.h: Use the new bits headers; no need to handle
824         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
825         to define sigmask.
826         * include/signal.h: No need to handle __need_sig_atomic_t
827         nor __need_sigset_t.  Don't define __sigemptyset.
829         * io/sys/poll.h, setjmp/setjmp.h
830         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
831         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
832         * sysdeps/mach/hurd/i386/bits/sigcontext.h
833         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
834         * sysdeps/pthread/bits/sigthread.h
835         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
836         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
837         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
838         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
839         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
840         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
841         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
842         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
843         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
844         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
845         Use bits/types/__sigset_t.h.
847         * misc/sys/select.h, posix/spawn.h
848         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
849         * sysdeps/unix/sysv/linux/sys/epoll.h
850         * sysdeps/unix/sysv/linux/sys/signalfd.h:
851         Use bits/types/sigset_t.h.
853         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
854         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
855         * socket/sys/socket.h: Don't include bits/sigset.h.
857         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
858         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
859         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
860         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
861         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
862         * sysdeps/unix/sysv/linux/nptl-signals.h:
863         Include sigsetops.h.
865         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
866         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
867         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
868         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
869         now return no value.
871         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
872         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
873         "sigsetops.h".
875         * signal/sigsetops.c: Explicitly define __sigismember,
876         __sigaddset, and __sigdelset as compatibility symbols.
878         * signal/Versions: Correct commentary on __sigpause,
879         __sigaddset, __sigdelset, __sigismember.
881         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
882         __sigblock/__sigsetmask to use __sigprocmask and friends.
884         * resolv/resolv.h: Remove __need_res_state logic.
885         Move definition of res_state and related constants to ...
886         * resolv/bits/types/res_state.h: ...this new file.
887         * resolv/Makefile: Install bits/types/res_state.h.
888         * include/bits/types/res_state.h: New wrapper.
889         * include/list.h: Remove __need_list_t logic.
890         Move definition of list_t to ...
891         * include/list_t.h: ...this new file.
893         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
894         instead of list.h and resolv.h.
896         * resolv/resolv.h: Remove __need_res_state logic.
897         Move definition of res_state and related constants to ...
898         * resolv/bits/types/res_state.h: ...this new file.
899         * resolv/Makefile: Install bits/types/res_state.h.
900         * include/bits/types/res_state.h: New wrapper.
901         * include/list.h: Remove __need_list_t logic.
902         Move definition of list_t to ...
903         * include/list_t.h: ...this new file.
905         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
906         instead of list.h and resolv.h.
908 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
910         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
912 2017-05-20  Zack Weinberg  <zackw@panix.com>
914         * sysdeps/arm/sysdep.h
915         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
917         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
918         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
919         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
920         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
921         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
922         * sysdeps/arm/armv6t2/strlen.S
923         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
924         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
925         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
926         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
927         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
928         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
930 2017-05-20  Zack Weinberg  <zackw@panix.com>
932         Remove the NaCl port.
933         * sysdeps/arm/nacl: Remove directory and contents.
934         * sysdeps/nacl: Remove directory and contents.
935         * abi-tags: Remove .*-.*-nacl.* entry.
937 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
939         * manual/errno.texi: Convert @comment-based errno documentation to
940         @errno.
941         * manual/macros.texi (@errno): New macro.  Consolidate errors,
942         their values, and messages, adding the error string to the Concept
943         Index.  Provide a warning in the comment about external (to the
944         manual) dependencies.
945         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
946         * sysdeps/mach/hurd/errnos.awk: Likewise.
948 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
950         * bits/ss_flags.h: New file.
951         * bits/types/stack_t.h: Likewise.
952         * include/bits/types/struct_sigstack.h: Likewise.
953         * signal/bits/types/struct_sigstack.h: Likewise.
954         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
955         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
956         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
957         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
958         bits/types/stack_t.h and bits/ss_flags.h.
959         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
960         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
961         <bits/ss_flags.h>.
962         * bits/sigstack.h (struct sigstack): Remove.
963         (stack_t): Likewise.
964         (SS_ONSTACK): Likewise.
965         (SS_DISABLE): Likewise.
966         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
967         (struct sigstack): Likewise.
968         (stack_t): Likewise.
969         (SS_ONSTACK): Likewise.
970         (SS_DISABLE): Likewise.
971         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
972         Likewise.
973         (stack_t): Likewise.
974         (SS_ONSTACK): Likewise.
975         (SS_DISABLE): Likewise.
976         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
977         Likewise.
978         (stack_t): Likewise.
979         (SS_ONSTACK): Likewise.
980         (SS_DISABLE): Likewise.
981         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
982         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
983         Likewise.
984         (stack_t): Likewise.
985         (SS_ONSTACK): Likewise.
986         (SS_DISABLE): Likewise.
987         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
988         (struct sigstack): Likewise.
989         (stack_t): Likewise.
990         (SS_ONSTACK): Likewise.
991         (SS_DISABLE): Likewise.
992         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
993         Likewise.
994         (stack_t): Likewise.
995         (SS_ONSTACK): Likewise.
996         (SS_DISABLE): Likewise.
997         * sysdeps/arm/sys/ucontext.h: Include
998         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
999         <bits/ss_flags.h>.
1000         * sysdeps/generic/sys/ucontext.h: Likewise.
1001         * sysdeps/i386/sys/ucontext.h: Likewise.
1002         * sysdeps/m68k/sys/ucontext.h: Likewise.
1003         * sysdeps/mips/sys/ucontext.h: Likewise.
1004         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1005         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1006         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1007         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1008         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1009         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1010         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1011         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1012         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1013         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1014         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1015         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1016         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1017         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1018         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1020 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1022         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1023         "edx + ecx - 16" to avoid possible addition overflow.
1024         * sysdeps/x86_64/memchr.S (memchr): Likewise.
1026 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1028         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1029         (CFLAGS-splice.c): Likewise.
1030         (CFLAGS-open_by_handle_at.c): Likewise.
1031         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1032         (CFLAGS-splice.c): Likewise.
1033         (CFLAGS-open_by_handle_at.c): Likewise.
1035 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1037         * scripts/versions.awk: Generate ldbl-compat-choose.h.
1038         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1039         <ldbl-compat-choose.h>.
1040         (maybe_long_double_symbol): New macro.
1041         [!declare_mgen_alias] (declare_mgen_alias): Use
1042         maybe_long_double_symbol.
1043         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1044         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1045         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1046         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1047         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1048         * Makerules [$(build-shared) = yes && !avoid-generated]
1049         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1050         [$(build-shared) = yes && !avoid-generated]
1051         ($(common-objpfx)ldbl-compat-choose.h): New target.
1053         * scripts/versions.awk: Generate first-versions.h.
1054         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1055         <first-versions.h>.
1056         (LDOUBLE_cabsl_libm_version): Remove macro.
1057         (LDOUBLE_cargl_libm_version): Likewise.
1058         (LDOUBLE_cimagl_libm_version): Likewise.
1059         (LDOUBLE_conjl_libm_version): Likewise.
1060         (LDOUBLE_creall_libm_version): Likewise.
1061         (LDOUBLE_cacosl_libm_version): Likewise.
1062         (LDOUBLE_cacoshl_libm_version): Likewise.
1063         (LDOUBLE_ccosl_libm_version): Likewise.
1064         (LDOUBLE_ccoshl_libm_version): Likewise.
1065         (LDOUBLE_casinl_libm_version): Likewise.
1066         (LDOUBLE_csinl_libm_version): Likewise.
1067         (LDOUBLE_casinhl_libm_version): Likewise.
1068         (LDOUBLE_csinhl_libm_version): Likewise.
1069         (LDOUBLE_catanl_libm_version): Likewise.
1070         (LDOUBLE_catanhl_libm_version): Likewise.
1071         (LDOUBLE_ctanl_libm_version): Likewise.
1072         (LDOUBLE_ctanhl_libm_version): Likewise.
1073         (LDOUBLE_cexpl_libm_version): Likewise.
1074         (LDOUBLE_clogl_libm_version): Likewise.
1075         (LDOUBLE_cprojl_libm_version): Likewise.
1076         (LDOUBLE_csqrtl_libm_version): Likewise.
1077         (LDOUBLE_cpowl_libm_version): Likewise.
1078         (LDOUBLE_clog10l_libm_version): Likewise.
1079         (LDOUBLE___clog10l_libm_version): Likewise.
1080         (LDOUBLE_fdiml_libm_version): Likewise.
1081         (LDOUBLE_fmaxl_libm_version): Likewise.
1082         (LDOUBLE_fminl_libm_version): Likewise.
1083         (LDOUBLE_ilogbl_libm_version): Likewise.
1084         (LDOUBLE_nanl_libm_version): Likewise.
1085         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1086         FIRST_VERSION_libm_* macros.
1087         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1088         * Makerules [$(build-shared) = yes && !avoid-generated]
1089         (before-compile): Add $(common-objpfx)first-versions.h.
1090         [$(build-shared) = yes && !avoid-generated]
1091         ($(common-objpfx)first-versions.h): New target.
1092         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1093         building $(common-objpfx)versions.stmp.
1095 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1097         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1098         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1099         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1100         auto-generation list.
1102         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1103         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1104         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1105         from auto-generation list.
1107         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1108         open_by_handle_at.
1109         (CFLAGS-open_by_handle_at.c): New flag.
1110         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1111         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1112         file.
1113         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1115         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1116         (CFLAGS-splice.c): New flag.
1117         * sysdeps/unix/sysv/linux/splice.c: New file.
1118         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1119         auto-generation syscall list.
1120         * misc/Makefile (CFLAGS-splice.c): New rule.
1122         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1123         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1124         auto-generation syscall list.
1125         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1126         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1128         * misc/Makefile (CFLAGS-fsync.c): New flag.
1129         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1130         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1131         syscall list.
1132         * sysdeps/unix/sysv/linux/fsync.c: New file.
1133         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1134         (__errno_location): Remove.
1136         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1137         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1138         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1139         list.
1140         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1142         * misc/Makefile (CFLAGS-msync.c): New rule.
1143         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1144         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1145         * sysdeps/unix/sysv/linux/msync.c: New file.
1147         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1148         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1149         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1150         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1151         (CFLAGS-sigsuspend.c): Remove rule.
1153         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1154         (CFLAGS-tee.c): New rule.
1155         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1156         auto-generated list.
1157         * sysdeps/unix/sysv/linux/tee.c: New file.
1159         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1160         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1161         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1162         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1163         auto-generated list.
1165         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1166         auto-generated list.
1167         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1168         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1169         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1170         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1171         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1173         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1174         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1175         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1176         (__NR_pause): Undefine.
1177         * sysdeps/unix/sysv/linux/pause.c: New file.
1178         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1179         auto-generation list.
1180         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1181         Remove rule.
1182         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1184 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1186         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1187         comments.
1189 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1191         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1192         LD_HWCAP_MASK.
1194 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1196         * manual/conf.texi: Convert @tables of annotated @items to
1197         @vtables.
1198         * manual/lang.texi: Likewise.
1199         * manual/pattern.texi: Likewise.
1200         * manual/resource.texi: Likewise.
1201         * manual/socket.texi: Likewise.
1203 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1205         * manual/crypt.texi: Move a comment out of an @*x list.
1206         * manual/filesys.texi: Refactor some comments, one of which looks
1207         like a standard.  Fix incorrectly separated standards.
1208         * manual/locale.texi: Invert an annotation.
1209         * manual/resource.texi: Fix incorrectly separated standards.
1210         * manual/time.texi: Refactor a @vtable that obscures an
1211         annotation.
1212         * manual/users.texi: Refactor multiple headers to occupy a single
1213         @comment.
1215 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1217         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1218         (sysdep_routines): Add memcmp-power8.
1219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1220         (memcmp): Add __memcmp_power8 to list of memcmp functions.
1221         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1222         (memcmp): Add __memcmp_power8 to ifunc list.
1223         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1224         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1226 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1227             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1229         * math/math.h (__MATH_TG): Extend the conditions to add
1230         _Float128 support.
1231         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1233 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
1235         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1236         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1237         s_cosf-ppc64.
1238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1241         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1243 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1245         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1246         (gen-libm-calls): Add e_exp2F to use the template.
1247         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1248         * math/e_exp2_template.c: New file, renamed from
1249         math/e_exp2l.c, and made into a template.
1250         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1252 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1254         * elf/dl-tunable-types.h (tunable_type_code_t): New type
1255         TUNABLE_TYPE_UINT_64.
1256         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1257         Simplify computation of overflow.
1258         (tunable_set_val_if_valid_range_signed,
1259         tunable_set_val_if_valid_range_unsigned): Remove and replace
1260         with this...
1261         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1262         (tunable_initialize): Adjust.  Add uint64_t support.
1263         (__tunable_set_val): Add uint64_t support.
1264         * README.tunables: Document it.
1266         * scripts/gen-tunables.awk: Recognize 'default' keyword in
1267         dl-tunables.list.
1268         * README.tunables: Document it.
1270 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1272         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1273         * sysdeps/posix/preadv64.c: Likewise.
1274         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1275         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1276         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1277         * sysdeps/posix/pwritev64.c: Likewise.
1278         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1279         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1280         * sysdeps/posix/preadv_common.c: New file.
1281         * sysdeps/posix/pwritev_common.c: Likewise.
1283 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1285         * sysdeps/generic/math-type-macros-float128.h
1286         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1287         wrapper templates.
1289 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1290             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1292         * include/complex.h (__kernel_casinhf128): New declaration.
1293         * include/float.h: New file.
1294         * include/math.h (__finitef128): Add a hidden def.
1295         (__isinff128): Likewise.
1296         (__isnanf128): Likewise.
1297         (__fpclassify): Likewise.
1298         (__issignalling): Likewise.
1299         (__expf128): Likewise.
1300         (__expm1f128): Likewise.
1302         * sysdeps/generic/fix-fp-int-convert-overflow.h:
1303         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
1304         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
1306         * sysdeps/generic/math-type-macros-float128.h: New file.
1308         * sysdeps/generic/math_private.h: Include bits/floatn.h and
1309         math_private_calls.h for _Float128.
1310         (__isinff128): New inline implementation used when GCC < 7.0,
1311         since in this case __builtin_isinf_sign is broken.
1312         (fabsf128): New inline implementation that calls the builtin.
1313         (__EXPR_FLT128): New macro.
1314         (min_of_type): Optionally include _Float128 types too.
1316         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
1317         Declare for _Float128.
1318         (__kernel_rem_pio2): Likewise.
1320         * sysdeps/ieee754/ldbl-opt/s_sin.c:
1321         (__DECL_SIMD_sincos_disablef128): New macro.
1323 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1325         * math/math.h: Include bits/math-finite.h for float128.
1326         (__MATH_DECLARING_FLOATN): Define to control declaration of
1327         float128 functions.
1328         * math/bits/math-finite.h (pow10): Do not declare for float128.
1329         (gamma): Likewise.
1330         (scalb): Likewise.
1332 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1333             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1335         * bits/floatn.h: New file.
1336         * bits/huge_val_flt128.h: Likewise.
1338         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
1339         (__DECL_SIMD_sinf128): Likewise.
1340         (__DECL_SIMD_sincosf128): Likewise.
1341         (__DECL_SIMD_logf128): Likewise.
1342         (__DECL_SIMD_expf128): Likewise.
1343         (__DECL_SIMD_powf128): Likewise.
1345         * math/Makefile (headers): Install bits/floatn.h and
1346         bits/huge_val_flt128.h.
1348         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
1349         defined.
1351         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
1352         (isnan, gamma, nexttoward, scalb): Only define if not
1353         __MATH_DECLARING_FLOATN.
1354         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
1355         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
1356         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
1357         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
1359         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
1360         Include bits/cmathcalls.h to get the declarations of _Float128
1361         versions of complex functions.
1362         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
1363         Define macro.
1365         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
1366         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
1367         get the declarations of _Float128 versions of math functions.
1368         (__MATH_DECLARING_FLOATN): New macro to control declaration of
1369         _FloatN types.
1370         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
1371         is type-generic, so use it without __MATH_TG.
1372         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
1373         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
1374         _Float128 type and GCC < 7.0, otherwise use the builtin.
1375         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
1376         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
1377         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
1378         New _GNU_SOURCE enabled macros.
1380 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1382         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
1383         (signbitf): Likewise.
1384         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
1385         Likewise.
1386         (signbitl): Likewise.
1387         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
1388         Likewise.
1389         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
1390         (signbitl): Likewise.
1391         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
1393 2017-05-12  Florian Weimer  <fweimer@redhat.com>
1395         [BZ #21386]
1396         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
1397         parent PID.  The assertion in the child is incorrect with PID
1398         namespaces.
1400 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1402         * sysdeps/unix/sysv/linux/kernel-features.h
1403         (__ASSUME_STATFS_F_FLAGS): Remove macro.
1404         * sysdeps/unix/sysv/linux/internal_statvfs.c
1405         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
1407 2017-05-11  Zack Weinberg  <zackw@panix.com>
1409         * Makerules: New subdir configuration variables 'tests-internal'
1410         and 'test-internal-extras'.  Test files in these categories will
1411         still be compiled with MODULE_NAME=nonlib.  Test files in the
1412         existing categories (tests, xtests, test-srcs, test-extras) are
1413         now compiled with MODULE_NAME=testsuite.
1414         New subdir configuration variable 'modules-names-tests'.  Files
1415         which are in both 'modules-names' and 'modules-names-tests' will
1416         be compiled with MODULE_NAME=testsuite instead of
1417         MODULE_NAME=extramodules.
1418         (gen-as-const-headers): Move to tests-internal.
1419         (do-tests-clean, common-mostlyclean): Support tests-internal.
1420         * Makeconfig (built-modules): Add testsuite.
1421         * Makefile: Change libof-check-installed-headers-c and
1422         libof-check-installed-headers-cxx to 'testsuite'.
1423         * Rules: Likewise.  Support tests-internal.
1424         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
1425         Remove extra-modules.mk.
1427         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
1428         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
1429         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
1430         very top of the file and rationalize their order.
1431         If MODULE_NAME is not defined at all, define IS_IN to always be
1432         false, and don't define _ISOMAC.
1433         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
1434         true, define _ISOMAC and suppress everything else in this file,
1435         starting with the inclusion of config.h.
1436         Do check for inappropriate definitions of __OPTIMIZE__ and
1437         __FAST_MATH__ here, but only if _ISOMAC is not defined.
1438         Correct some out-of-date commentary.
1440         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
1441         and _Mlong_double_ before including math.h.
1442         * include/string.h: If _ISOMAC is defined, don't expose
1443         _STRING_ARCH_unaligned. Move a comment to a more appropriate
1444         location.
1446         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
1447         * include/time.h, include/unistd.h, include/wchar.h: No need to
1448         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
1450         * misc/sys/cdefs.h (__NTHNL): New macro.
1451         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
1452         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
1454         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
1455         defined, for HAVE_TUNABLES.
1456         * inet/tst-checks-posix.c: No need to define _ISOMAC.
1457         * intl/tst-gettext2.c: Provide own definition of N_.
1458         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
1459         * math/test-signgam-main.c: No need to define _ISOMAC.
1460         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
1461         * stdlib/tst-strtod1i.c: ...this new file.
1462         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
1463         Split tests of __strtod_internal to...
1464         * stdlib/tst-strtod5i.c: ...this new file.
1465         * string/test-string.h: Include stdint.h. Duplicate definition of
1466         inhibit_loop_to_libcall here (from libc-symbols.h).
1467         * string/test-strstr.c: Provide dummy definition of
1468         libc_hidden_builtin_def when including strstr.c.
1469         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
1470         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
1471         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1472         Don't include init-arch.h.
1473         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1474         Don't include init-arch.h.
1476         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
1477         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
1478         unload, unload2, circleload1, neededtest, neededtest2,
1479         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
1480         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
1481         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
1482         ifunc tests to tests-internal.
1483         Don't add $(modules-names) to test-extras.
1484         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
1485         Add tst-deadline to tests-static-internal.
1486         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
1487         tests-internal.
1488         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
1489         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
1490         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
1491         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
1492         tst-sem12-static, and tst-stackguard1-static to tests-internal.
1493         Link tests-internal with libpthread also.
1494         Don't add $(modules-names) to test-extras.
1495         * nss/Makefile: Move tst-field to tests-internal.
1496         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
1497         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
1498         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
1499         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
1500         tests-internal.
1501         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
1502         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
1503         test-get_hwcap-static to tests-internal.
1504         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
1505         tests-internal.
1506         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
1507         modules-names-tests.
1509 2017-05-11  Zack Weinberg  <zackw@panix.com>
1511         * libio/libio.h: Condition dummy definition of _IO_lock_t on
1512         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
1513         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
1514         _IO_funlockfile, and _IO_ftrylockfile.  Only define
1515         _IO_cleanup_region_start and _IO_cleanup_region_end if not
1516         already defined.
1517         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
1518         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
1519         appropriately.
1520         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
1521         Define _IO_lock_t_defined after defining _IO_lock_t.
1523 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1525         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
1526         void* for argument type and use VDSO_SYMBOL macro.
1527         (is_sigtramp_address_rt): Likewise.
1528         (__backtrace): Setup expected frame pointer address for signal
1529         handling.
1530         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
1531         void* for argumetn type and use VSDO_SYMBOL macro.
1532         (__backtrace): Setup expected frame pointer address for signal
1533         handling.
1535         * sysdeps/unix/sysv/linux/writev.c: New file.
1537         * sysdeps/unix/sysv/linux/readv.c: New file.
1539         * include/unistd.h (write): Add hidden proto.
1540         * io/Makefile (CFLAGS-write.c): New define.
1541         * nptl/Makefile (CFLAGS-write.c): Likewise.
1542         * sysdeps/unix/sysv/linux/write.c: New file.
1544         [BZ #21428]
1545         * include/unistd.h (read): Add hidden proto.
1546         * io/Makefile (CFLAGS-read.c): New define.
1547         * nptl/Makefile (CFLAGS-read.c): Likewise.
1548         * sysdeps/unix/sysv/linux/read.c: New file.
1550         * io/Makefile (CFLAGS-creat.c): New rule.
1551         (CFLAGS-creat64.c): Likewise.
1552         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
1553         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
1554         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
1555         * sysdeps/unix/sysv/linux/creat.c: New file.
1556         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
1557         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
1558         auto-generated list.
1559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1561         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
1562         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
1563         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
1564         * sysdeps/unix/sysv/linux/open.c: New file.
1565         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
1566         iff __WORDSIZE != 64 and use __NR_openat when available.
1567         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
1568         from auto-generated list.
1570         * nptl/Makefile (CFLAGS-close.c): New flag.
1571         * sysdeps/unix/sysv/linux/close.c: New file.
1573 2017-05-11  DJ Delorie  <dj@redhat.com>
1575         * MAINTAINERS: New.  Points to wiki.
1577 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1579         * scripts/gen-tunables.awk: Add attribute_relro to
1580         tunable_list.
1582 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
1584         [BZ #21457]
1585         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
1586         (R1): Likewise.
1587         (R2): Likewise.
1588         (R3): Likewise.
1589         (R4): Likewise.
1590         (R5): Likewise.
1591         (R6): Likewise.
1592         (R7): Likewise.
1593         (R8): Likewise.
1594         (R9): Likewise.
1595         (R10): Likewise.
1596         (R11): Likewise.
1597         (R12): Likewise.
1598         (R13): Likewise.
1599         (R14): Likewise.
1600         (R15): Likewise.
1601         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
1602         (REG_FS): Likewise.
1603         (REG_ES): Likewise.
1604         (REG_DS): Likewise.
1605         (REG_EDI): Likewise.
1606         (REG_ESI): Likewise.
1607         (REG_EBP): Likewise.
1608         (REG_ESP): Likewise.
1609         (REG_EBX): Likewise.
1610         (REG_EDX): Likewise.
1611         (REG_ECX): Likewise.
1612         (REG_EAX): Likewise.
1613         (REG_TRAPNO): Likewise.
1614         (REG_ERR): Likewise.
1615         (REG_EIP): Likewise.
1616         (REG_CS): Likewise.
1617         (REG_EFL): Likewise.
1618         (REG_UESP): Likewise.
1619         (REG_SS): Likewise.
1620         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
1621         (R_D1): Likewise.
1622         (R_D2): Likewise.
1623         (R_D3): Likewise.
1624         (R_D4): Likewise.
1625         (R_D5): Likewise.
1626         (R_D6): Likewise.
1627         (R_D7): Likewise.
1628         (R_A0): Likewise.
1629         (R_A1): Likewise.
1630         (R_A2): Likewise.
1631         (R_A3): Likewise.
1632         (R_A4): Likewise.
1633         (R_A5): Likewise.
1634         (R_A6): Likewise.
1635         (R_A7): Likewise.
1636         (R_SP): Likewise.
1637         (R_PC): Likewise.
1638         (R_PS): Likewise.
1639         (fpregset_t): Likewise.
1640         (MCONTEXT_VERSION): Likewise.
1641         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1642         (CTX_AT): Likewise.
1643         (CTX_V0): Likewise.
1644         (CTX_V1): Likewise.
1645         (CTX_A0): Likewise.
1646         (CTX_A1): Likewise.
1647         (CTX_A2): Likewise.
1648         (CTX_A3): Likewise.
1649         (CTX_T0): Likewise.
1650         (CTX_T1): Likewise.
1651         (CTX_T2): Likewise.
1652         (CTX_T3): Likewise.
1653         (CTX_T4): Likewise.
1654         (CTX_T5): Likewise.
1655         (CTX_T6): Likewise.
1656         (CTX_T7): Likewise.
1657         (CTX_S0): Likewise.
1658         (CTX_S1): Likewise.
1659         (CTX_S2): Likewise.
1660         (CTX_S3): Likewise.
1661         (CTX_S4): Likewise.
1662         (CTX_S5): Likewise.
1663         (CTX_S6): Likewise.
1664         (CTX_S7): Likewise.
1665         (CTX_T8): Likewise.
1666         (CTX_T9): Likewise.
1667         (CTX_K0): Likewise.
1668         (CTX_K1): Likewise.
1669         (CTX_GP): Likewise.
1670         (CTX_SP): Likewise.
1671         (CTX_S8): Likewise.
1672         (CTX_RA): Likewise.
1673         (CTX_MDLO): Likewise.
1674         (CTX_MDHI): Likewise.
1675         (CTX_CAUSE): Likewise.
1676         (CTX_EPC): Likewise.
1677         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1678         inclusion of <sys/procfs.h> on [__USE_MISC].
1679         (greg_t): Condition on [__USE_MISC].
1680         (gregset_t): Likewise.
1681         (fpregset_t): Likewise.
1682         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
1683         (NGREG): Likewise.
1684         (gregset_t): Likewise.
1685         (REG_R0): Likewise.
1686         (REG_R1): Likewise.
1687         (REG_R2): Likewise.
1688         (REG_R3): Likewise.
1689         (REG_R4): Likewise.
1690         (REG_R5): Likewise.
1691         (REG_R6): Likewise.
1692         (REG_R7): Likewise.
1693         (REG_R8): Likewise.
1694         (REG_R9): Likewise.
1695         (REG_R10): Likewise.
1696         (REG_R11): Likewise.
1697         (REG_R12): Likewise.
1698         (REG_R13): Likewise.
1699         (REG_R14): Likewise.
1700         (REG_R15): Likewise.
1701         (struct _libc_fpstate): Likewise.
1702         (fpregset_t): Likewise.
1703         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
1704         (NFPREG): Likewise.
1705         (gregset_t): Likewise.
1706         (fpregset_t): Likewise.
1707         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
1708         (R_D1): Likewise.
1709         (R_D2): Likewise.
1710         (R_D3): Likewise.
1711         (R_D4): Likewise.
1712         (R_D5): Likewise.
1713         (R_D6): Likewise.
1714         (R_D7): Likewise.
1715         (R_A0): Likewise.
1716         (R_A1): Likewise.
1717         (R_A2): Likewise.
1718         (R_A3): Likewise.
1719         (R_A4): Likewise.
1720         (R_A5): Likewise.
1721         (R_A6): Likewise.
1722         (R_A7): Likewise.
1723         (R_SP): Likewise.
1724         (R_PC): Likewise.
1725         (R_PS): Likewise.
1726         (fpregset_t): Likewise.
1727         (MCONTEXT_VERSION): Likewise.
1728         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
1729         Likewise.
1730         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
1731         (REG_R1): Likewise.
1732         (REG_R2): Likewise.
1733         (REG_R3): Likewise.
1734         (REG_R4): Likewise.
1735         (REG_R5): Likewise.
1736         (REG_R6): Likewise.
1737         (REG_R7): Likewise.
1738         (REG_R8): Likewise.
1739         (REG_R9): Likewise.
1740         (REG_R10): Likewise.
1741         (REG_R11): Likewise.
1742         (REG_R12): Likewise.
1743         (REG_R13): Likewise.
1744         (REG_R14): Likewise.
1745         (REG_R15): Likewise.
1746         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
1747         of <arch/abi.h> on [__USE_MISC].
1748         (greg_t): Condition on [__USE_MISC].
1749         (NGREG): Likewise.
1750         (gregset_t): Likewise.
1752 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1754         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1755         (__pthread_rwlock_arch_t): Remove __data definition.
1756         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1757         (__pthread_rwlock_arch_t): Likewise.
1759 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1761         * resolv/inet_pton.c: Reformat in GNU style.  Remove
1762         internal_function on static functions.
1764 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1766         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
1767         from format_ai_flags.
1768         (format_ai_flags): New function.  Incorporate flag formatting code
1769         from format_ai_one.
1770         (format_ai_canonname): New function.
1771         (format_ai_one): Remove flags parameter.
1772         (format_ai_family): Likewise.
1773         (support_format_addrinfo): Call format_ai_flags,
1774         format_ai_canonname.
1775         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
1776         check_ai.
1777         (check_ai): Call check_ai_hints.
1778         (do_test): Add AI_CANONNAME tests.
1780 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1782         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
1783         (gaih_inet): Likewise.
1785 2017-05-10  Andreas Schwab  <schwab@suse.de>
1787         * nptl/tst-fork1.c: Include <support/test-driver.c>.
1788         (main): Rename to do_test and make static.
1790 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
1792         * string/rawmemchr.c: Include <libc-diag.h>.
1793         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
1794         with size (size_t)-1.
1796 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1798         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
1799         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1800         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1802         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
1803         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
1804         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
1805         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
1806         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
1807         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
1808         * sysdeps/unix/sysv/linux/kernel-features.h
1809         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
1810         socket syscalls.
1811         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1812         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1813         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1814         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1815         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1816         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1817         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1818         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1819         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1820         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1821         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1822         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1823         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1824         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1825         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1827 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1829         * posix/Makefile (headers): Add pthreadtypes-arch.h and
1830         thread-shared-types.h.
1831         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
1832         specific thread definition.
1833         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
1834         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
1835         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
1836         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
1837         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
1838         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
1839         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
1840         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
1841         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
1842         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1843         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
1844         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
1845         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
1846         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
1847         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
1848         thread definition between POSIX and C11.
1849         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
1850         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
1851         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
1852         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
1853         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
1854         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
1855         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
1856         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
1857         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
1858         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
1859         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
1860         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
1861         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
1862         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
1863         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
1864         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
1865         definitions shared across all architectures.
1867 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1869         * sysdeps/unix/sysv/linux/kernel-features.h
1870         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
1871         (__ASSUME_SENDMMSG): Likewise.
1872         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
1873         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
1874         sendmmsg syscall if that can be assumed to be present, socketcall
1875         otherwise, with no fallback for runtime failure.
1877         * sysdeps/unix/sysv/linux/kernel-features.h
1878         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
1879         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
1880         (__ASSUME_RECVMMSG): Likewise.
1881         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
1882         recvmmsg syscall if it can be assumed to be present, socketcall
1883         otherwise, with no fallback for runtime failure.
1885 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1886             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1888         * bits/libc-header-start.h:
1889         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
1890         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
1891         * manual/creature.texi: Likewise.
1893 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1894             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1896         * math/Makefile:
1897         (type-float128-suffix): New variable
1898         (type-float128-routines): Likewise
1899         (type-float128-yes): Likewise
1900         (types): Append float128 if supported
1901         (types-basic): New variable to control the use of templates for
1902         float, double, and long double, but not for float128 or newer types.
1903         (type-basic-foreach): Likewise.
1905         * sysdeps/ieee754/float128/Makeconfig: New file.
1906         * sysdeps/ieee754/float128/Versions: New file.
1908 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1910         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
1911         Remove macro.
1912         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
1913         prlimit64 is always available and does not give an ENOSYS error.
1914         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
1915         unconditional.
1916         [!__NR_prlimit64]: Remove conditional code.
1917         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
1918         prlimit64 is always available and does not give an ENOSYS error.
1919         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
1921 2017-05-09  Zack Weinberg  <zackw@panix.com>
1923         * sunrpc/tst-xdrmem2.c: Include stdint.h.
1925 2017-05-09  Florian Weimer  <fweimer@redhat.com>
1927         [BZ #21474]
1928         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
1929         (__res_maybe_init): Likewise.
1931 2017-05-09  Zack Weinberg  <zackw@panix.com>
1933         * extra-modules.mk: Delete file.
1934         * cppflags-iterator.mk: Rename to ...
1935         * libof-iterator.mk: ...this.  Adjust comments.
1937         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
1938         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
1939         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
1940         Use libof-iterator.mk instead of cppflags-iterator.mk or
1941         extra-modules.mk.
1943         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
1944         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
1946 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1948         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1950 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
1952         * stdio-common/vfprintf.c (EXTSIZ): Define.
1953         (vfprintf): Use EXTSIZ.
1954         (printf_positional): Likewise.
1956 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1958         * sysdeps/unix/sysv/linux/kernel-features.h
1959         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
1960         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
1961         <kernel-features.h>.
1962         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
1964         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1965         (__ASSUME_GETCPU_SYSCALL): Remove macro.
1967 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1969         Prevent multiple deletion of temporary files.
1970         * support/temp_file.c (struct temp_name_list): Add owner member.
1971         (add_temp_file): Record owner.
1972         (support_delete_temp_files): Delete file only if owner matches.
1973         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
1974         (do_prepare): Use create_temp_file instead of add_temp_file.
1975         Initialize temp_fd1, temp_fd2.
1976         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
1977         framework remove the temporary files.
1978         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
1979         (do_prepare): Use create_temp_file instead of add_temp_file.
1980         Initialize temp_fd1, temp_fd2, temp_fd3.
1981         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
1982         the test framework remove the temporary files.
1983         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
1984         deletion.
1985         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
1986         temporary directory.  It is removed by the test framework.
1987         * dirent/tst-scandir.c (do_test): Likewise.
1989 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1991         Delete temporary files in LIFO order.
1992         * support/temp_file.c (struct temp_name_list): Replace q member
1993         with next.
1994         (add_temp_file): Add new file to front of linked list.
1995         (support_delete_temp_files): Use next member.
1996         (support_print_temp_files): Likewise.
1998 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2000         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2001         sys/ultrasound.h.
2002         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2004 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2006         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2007         Remove.
2008         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2009         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2010         (arch_minimum_kernel): Remove.
2011         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2012         * README: Update statement about Linux kernel requirements.
2014 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2016         * manual/llio.texi: Add preadv and pwritev documentation.
2018 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2020         [BZ #21455]
2021         * bits/stdint-intn.h: New file.
2022         * bits/stdint-uintn.h: Likewise.
2023         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2024         bits/stdint-uintn.h.
2025         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2026         <stdint.h>.
2027         * posix/sys/types.h: Include <bits/stdint-intn.h>.
2028         (__int8_t_defined): Do not define here.
2029         (int8_t): Likewise.
2030         (int16_t): Likewise.
2031         (int32_t): Likewise.
2032         (int64_t): Likewise.
2033         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2034         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2035         <stdint.h>.
2036         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2037         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2038         <bits/stdint-uintn.h>.
2039         (int8_t): Do not define here.
2040         (int16_t): Likewise.
2041         (int32_t): Likewise.
2042         (int64_t): Likewise.
2043         (uint8_t): Likewise.
2044         (uint16_t): Likewise.
2045         (uint32_t): Likewise.
2046         (uint64_t): Likewise.
2047         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2048         variable.
2049         (test-xfail-XPG42/netdb.h/conform): Likewise.
2050         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2051         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2052         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2053         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2055 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2057         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2058         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2059         the above.
2060         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2061         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2063 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2065         [BZ #21445]
2066         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2068         [BZ #21457]
2069         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2070         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2071         __glibc_reserved1.
2072         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2073         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2074         (struct _fpxreg): Likewise.
2075         [!__x86_64__] (struct _fpstate): Rename field reserved to
2076         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2077         [__x86_64__] (struct _fpstate): Rename field padding to
2078         __glibc_reserved1.
2079         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2080         Rename field reserved2 to __glibc_reserved2.
2081         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2082         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2083         __glibc_reserved1.
2084         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2085         __glibc_reserved1.
2087 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2089         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2090         variable name.
2092 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2094         [BZ #21391]
2095         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2096         Only call init_cpu_features.
2097         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2098         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2099         * sysdeps/i386/dl-procinfo.h: Removed.
2100         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2101         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2102         <sysdeps/x86/dl-procinfo.h>.
2103         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2104         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2105         Include <sysdeps/x86/dl-procinfo.h> instead of
2106          <sysdeps/generic/dl-procinfo.h>.
2107         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2108         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2109         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2110         (bit_cpu_MOVBE): Likewise.
2111         (bit_cpu_BMI1): Likewise.
2112         (bit_cpu_BMI2): Likewise.
2113         (index_cpu_BMI1): Likewise.
2114         (index_cpu_BMI2): Likewise.
2115         (index_cpu_LZCNT): Likewise.
2116         (index_cpu_MOVBE): Likewise.
2117         (index_cpu_POPCNT): Likewise.
2118         (reg_BMI1): Likewise.
2119         (reg_BMI2): Likewise.
2120         (reg_LZCNT): Likewise.
2121         (reg_MOVBE): Likewise.
2122         (reg_POPCNT): Likewise.
2123         * sysdeps/x86/dl-hwcap.h: New file.
2124         * sysdeps/x86/dl-procinfo.h: Likewise.
2125         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2126         (_dl_x86_platforms): Likewise.
2128 2017-05-03  DJ Delorie  <dj@redhat.com>
2130         [BZ #21411]
2131         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2133 2017-05-03  Phil Blundell  <pb@pbcl.net>
2135         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2136         comments.
2138 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2140         [BZ #20116]
2141         * nptl/pthread_create.c: Expand comments to describe
2142         semaphore-like and mutex-like uses of PD->lock.
2144 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2146         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2147         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2148         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2149         auto-generation list.
2150         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2151         epoll_wait.
2152         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2153         Remove epoll_wait.
2155         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2156         osf_select.
2157         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2158         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2159         osf_select from auto-generation list.
2160         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2161         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2162         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2163         * sysdeps/unix/sysv/linux/select.c: New file.
2165         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2166         * sysdeps/unix/sysv/linux/poll.c: New file.
2167         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2168         auto-generation list.
2170 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2172         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2173         New macro.
2175 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2177         [BZ #21179]
2178         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2179         R_SPARC_REGISTER relocations.
2181 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2183         * include/unistd.h (__pread): Add libc_hidden_proto.
2184         (__pread64): Likewise.
2185         (__pwrite): Likewise.
2186         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2187         (__pread64): Remove.
2188         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2189         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2190         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2192 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2196 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2198         * nptl/tst-cancel4-common.c: Use libsupport.
2199         * nptl/tst-cancel4-common.h: Likewise.
2200         * nptl/tst-cancel4.c (tf_read): Likewise.
2201         (tf_readv): Likewise.
2202         (tf_write): Likewise.
2203         (tf_writev): Likewise.
2204         (tf_sleep): Likewise.
2205         (tf_usleep): Likewise.
2206         (tf_nanosleep): Likewise.
2207         (tf_select): Likewise.
2208         (tf_pselect): Likewise.
2209         (tf_poll): Likewise.
2210         (tf_ppoll): Likewise.
2211         (tf_wait): Likewise.
2212         (tf_waitpid): Likewise.
2213         (tf_waitid): Likewise.
2214         (tf_sigpause): Likewise.
2215         (tf_sigsuspend): Likewise.
2216         (tf_sigwait): Likewise.
2217         (tf_sigwaitinfo): Likewise.
2218         (tf_sigtimedwait): Likewise.
2219         (tf_pause): Likewise.
2220         (tf_accept): Likewise.
2221         (tf_send): Likewise.
2222         (tf_recv): Likewise.
2223         (tf_recvfrom): Likewise.
2224         (tf_recvmsg): Likewise.
2225         (tf_open): Likewise.
2226         (tf_close): Likewise.
2227         (tf_pread): Likewise.
2228         (tf_pwrite): Likewise.
2229         (tf_preadv): Likewise.
2230         (tf_pwritev): Likewise.
2231         (tf_fsync): Likewise.
2232         (tf_fdatasync): Likewise.
2233         (tf_msync): Likewise.
2234         (tf_sendto): Likewise.
2235         (tf_sendmsg): Likewise.
2236         (tf_creat): Likewise.
2237         (tf_connect): Likewise.
2238         (tf_tcdrain): Likewise.
2239         (tf_msgrcv): Likewise.
2240         (tf_msgsnd): Likewise.
2241         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2242         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2244         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2245         expected arguments.
2246         (do_test): Adapt to use libsupport.
2248 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
2250         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2252         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2253         (PF_MAX): Set to 44.
2254         (AF_SMC): New macro.
2256         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2257         kernel version to 4.11.
2259 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2261         [BZ #21280]
2262         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2263         signal of subnormals and adjust the exponent of power of 2 down
2264         when low part has opposite sign.
2266 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2268         * sysdeps/powerpc/powerpc64le/Implies: New file.
2269         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2270         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2271         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2272         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2273         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2274         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2275         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2276         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2277         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2278         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2279         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2280         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2281         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2282         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2283         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2284         * sysdeps/powerpc/preconfigure: New file.
2285         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2286         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2288 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
2290         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2291         inclusion.
2292         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
2293         Remove.
2295 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
2297         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
2298         (XPG3): Rename standard to XPG4.
2299         * conform/Makefile: Likewise.
2300         * conform/list-header-symbols.pl: Likewise.
2301         * conform/data/aio.h-data: Likewise.
2302         * conform/data/arpa/inet.h-data: Likewise.
2303         * conform/data/complex.h-data: Likewise.
2304         * conform/data/ctype.h-data: Likewise.
2305         * conform/data/dlfcn.h-data: Likewise.
2306         * conform/data/fcntl.h-data: Likewise.
2307         * conform/data/fenv.h-data: Likewise.
2308         * conform/data/float.h-data: Likewise.
2309         * conform/data/fmtmsg.h-data: Likewise.
2310         * conform/data/ftw.h-data: Likewise.
2311         * conform/data/grp.h-data: Likewise.
2312         * conform/data/inttypes.h-data: Likewise.
2313         * conform/data/iso646.h-data: Likewise.
2314         * conform/data/langinfo.h-data: Likewise.
2315         * conform/data/libgen.h-data: Likewise.
2316         * conform/data/limits.h-data: Likewise.
2317         * conform/data/locale.h-data: Likewise.
2318         * conform/data/math.h-data: Likewise.
2319         * conform/data/mqueue.h-data: Likewise.
2320         * conform/data/ndbm.h-data: Likewise.
2321         * conform/data/net/if.h-data: Likewise.
2322         * conform/data/netdb.h-data: Likewise.
2323         * conform/data/netinet/in.h-data: Likewise.
2324         * conform/data/poll.h-data: Likewise.
2325         * conform/data/pthread.h-data: Likewise.
2326         * conform/data/pwd.h-data: Likewise.
2327         * conform/data/sched.h-data: Likewise.
2328         * conform/data/search.h-data: Likewise.
2329         * conform/data/semaphore.h-data: Likewise.
2330         * conform/data/signal.h-data: Likewise.
2331         * conform/data/spawn.h-data: Likewise.
2332         * conform/data/stdbool.h-data: Likewise.
2333         * conform/data/stdint.h-data: Likewise.
2334         * conform/data/stdio.h-data: Likewise.
2335         * conform/data/stdlib.h-data: Likewise.
2336         * conform/data/string.h-data: Likewise.
2337         * conform/data/strings.h-data: Likewise.
2338         * conform/data/stropts.h-data: Likewise.
2339         * conform/data/sys/mman.h-data: Likewise.
2340         * conform/data/sys/resource.h-data: Likewise.
2341         * conform/data/sys/select.h-data: Likewise.
2342         * conform/data/sys/socket.h-data: Likewise.
2343         * conform/data/sys/stat.h-data: Likewise.
2344         * conform/data/sys/statvfs.h-data: Likewise.
2345         * conform/data/sys/time.h-data: Likewise.
2346         * conform/data/sys/timeb.h-data: Likewise.
2347         * conform/data/sys/types.h-data: Likewise.
2348         * conform/data/sys/uio.h-data: Likewise.
2349         * conform/data/sys/un.h-data: Likewise.
2350         * conform/data/sys/wait.h-data: Likewise.
2351         * conform/data/syslog.h-data: Likewise.
2352         * conform/data/termios.h-data: Likewise.
2353         * conform/data/tgmath.h-data: Likewise.
2354         * conform/data/time.h-data: Likewise.
2355         * conform/data/ucontext.h-data: Likewise.
2356         * conform/data/unistd.h-data: Likewise.
2357         * conform/data/utmpx.h-data: Likewise.
2358         * conform/data/varargs.h-data: Likewise.
2359         * conform/data/wchar.h-data: Likewise.
2360         * conform/data/wctype.h-data: Likewise.
2362 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
2364         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
2365         version to 7 branch.
2367 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
2369         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
2370         earlyclobber to output operand of sqrt insn.
2371         (__ieee754_sqrtf): Ditto.
2373 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
2375         [BZ #21426]
2376         * misc/bits/types/struct_iovec.h: New file.
2377         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
2378         * include/bits/types/struct_iovec.h: New file.
2379         * bits/uio.h (struct iovec): Replace by inclusion of
2380         <bits/types/struct_iovec.h>.
2381         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
2382         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
2383         of <sys/uio.h>.
2384         * nptl/tst-cancel4.c: Include <sys/uio.h>
2385         * posix/test-errno.c: Likewise.
2386         * support/resolv_test.c: Likewise.
2387         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
2388         Remove.
2389         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2390         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2391         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2393         * conform/data/sys/socket.h-data (*_t): Allow.
2395 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2397         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
2398         assignment.
2400 2017-04-24  Daurnimator  <quae@daurnimator.com>
2401             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2403         [BZ #21340]
2404         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
2405         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
2406         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
2407         valid flags.
2408         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
2409         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
2410         POSIX_SPAWN_SETSID.
2411         * sysdeps/posix/spawni.c (__spawni): Likewise.
2412         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2413         * NEWS: Add note about POSIX_SPAWN_SETSID support.
2415 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2417         * sysdeps/generic/math_private.h: Move the declaration of many
2418         functions to sysdeps/generic/math_private_calls.h.
2419         * sysdeps/generic/math_private_calls.h: New file with the
2420         declarations of the functions removed from math_private.h
2421         macroized by floating-point type.
2423 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2425         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
2426         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
2427         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2428         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2429         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2430         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2432 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2434         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
2435         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
2436         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
2437         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
2438         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
2439         New Define.
2441 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2443         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
2444         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
2445         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2446         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2447         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2448         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2450 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2452         * sysdeps/s390/multiarch/ifunc-resolve.h
2453         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
2454         * sysdeps/s390/multiarch/8bit-generic.c
2455         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
2456         define ifunc resolvers.
2458 2017-04-21  Florian Weimer  <fweimer@redhat.com>
2460         [BZ #20424]
2461         * manual/memory.texi (Replacing malloc): New section.
2462         (Allocating Storage For Program Data): Reference it.
2463         (The GNU Allocator): Likewise.
2465 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
2467         * stdlib/Versions (__strtod_internal): List explicitly, not as
2468         wildcard.
2469         (__strtof_internal): Likewise.
2470         (__strtold_internal): Likewise.
2471         (__strtol_internal): Likewise.
2472         (__strtoll_internal): Likewise.
2473         (__strtoul_internal): Likewise.
2474         (__strtoull_internal): Likewise.
2475         (__strtoq_internal): Likewise.
2476         (__strtouq_internal): Likewise.
2477         * wcsmbs/Versions (__wcstod_internal): Likewise.
2478         (__wcstof_internal): Likewise.
2479         (__wcstold_internal): Likewise.
2480         (__wcstol_internal): Likewise.
2481         (__wcstoll_internal): Likewise.
2482         (__wcstoul_internal): Likewise.
2483         (__wcstoull_internal): Likewise.
2485 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2487         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
2488         struct timespec definition.
2490 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2492         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
2494 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2496         * inet/rcmd.c (rresvport_af): Fix typo in comment.
2497         * inet/rexec.c (rexec_af): Likewise.
2499 2017-04-19  Zack Weinberg  <zackw@panix.com>
2501         * posix/tst-mmap-offset.c: Include stdint.h.
2502         * resolv/tst-ns_name_compress.c: Include string.h.
2503         * resolv/tst-resolv-edns.c: Include resolv.h.
2505 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2507         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
2508         with __glibc_likely.
2509         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
2510         Replace __builtin_expect with __glibc_unlikely.
2511         * resolv/res_init.c (__res_vinit): Likewise.
2512         * resolv/res_query.c (__libc_res_nquery): Likewise.
2513         * resolv/res_send.c (__libc_res_nsend): Likewise.
2515 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2517         [BZ #15722]
2518         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
2519         with SOCK_CLOEXEC.
2520         * resolv/res_send.c (send_vc, reopen): Likewise.
2521         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2522         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
2523         Likewise.
2524         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
2525         * inet/rexec.c (rexec_af): Add comment.
2526         * inet/rcmd.c (rresvport_af): Likewise.
2528 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2530         * nscd/connections.c (have_accept4): Removed definition.
2531         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
2532         accept4 works.
2533         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
2534         ia64 because that was the first version with accept4 support.
2535         * support/Makefile (libsupport-routines): Add xaccept4.
2536         * support/xsocket.h (xaccept4): Declare.
2537         * support/xaccept4.c: New file.
2538         * socket/tst-accept4.c: New file.
2539         * socket/Makefile (tests): Add tst-accept4.
2540         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
2541         definition.
2542         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
2543         comment.
2544         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
2545         implementation is available.
2546         (accept4): Use the system call if available, otherwise use the
2547         socket call.
2548         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
2549         Set to 3.2.18.
2550         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2551         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
2552         accept4 is unconditionally available in later 3.2 stable kernels.
2553         (__ASSUME_ACCEPT4_SYSCALL): Define.
2554         * sysdeps/unix/sysv/linux/kernel-features.h
2555         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
2556         definitions.
2557         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2558         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
2560 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
2562         * conform/Makefile (tests-special): Do not make addition of
2563         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
2564         (generated): Do not make addition of $(conformtest-header-base)
2565         conditional on [$(cross-compiling) = no].
2567         [BZ #21267]
2568         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
2569         if defined by <asm/socket.h> and not previously defined.
2570         (IOCSIZE_SHIFT): Likewise.
2571         (IOC_IN): Likewise.
2572         (IOC_INOUT): Likewise.
2573         (IOC_OUT): Likewise.
2575 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2577         [BZ #21396]
2578         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2579         Prefer_No_AVX512 if AVX512ER isn't available.
2580         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
2581         (index_arch_Prefer_No_AVX512): Likewise.
2582         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
2583         AVX512 version if Prefer_No_AVX512 is set.
2584         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
2585         Likewise.
2586         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
2587         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
2588         Likewise.
2589         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2590         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
2591         Likewise.
2592         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
2593         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
2594         Likewise.
2596 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2598         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2599         Prefer_No_VZEROUPPER if AVX512ER is available.
2600         * sysdeps/x86/cpu-features.h
2601         (bit_cpu_AVX512PF): New.
2602         (bit_cpu_AVX512ER): Likewise.
2603         (bit_cpu_AVX512CD): Likewise.
2604         (bit_cpu_AVX512BW): Likewise.
2605         (bit_cpu_AVX512VL): Likewise.
2606         (index_cpu_AVX512PF): Likewise.
2607         (index_cpu_AVX512ER): Likewise.
2608         (index_cpu_AVX512CD): Likewise.
2609         (index_cpu_AVX512BW): Likewise.
2610         (index_cpu_AVX512VL): Likewise.
2611         (reg_AVX512PF): Likewise.
2612         (reg_AVX512ER): Likewise.
2613         (reg_AVX512CD): Likewise.
2614         (reg_AVX512BW): Likewise.
2615         (reg_AVX512VL): Likewise.
2617 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2619         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
2620         O_CLOEXEC is defined.
2621         * include/fcntl.h (__have_o_cloexec): Remove declaration.
2622         * io/Makefile (aux): Remove.
2623         * io/have_o_cloexec.c: Remove file.
2624         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2625         defined and works.
2626         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2627         defined.
2628         * login/utmp_file.c (O_flags): Remove definition.
2629         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
2630         O_CLOEXEC works.
2631         (pututline_file): Likewise.
2632         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2633         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2634         definition.
2635         (internal_setgrent): Assume that O_CLOEXEC works.
2636         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2637         Remove definition.
2638         (internal_setgrent): Assume that O_CLOEXEC works.
2639         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2640         definition.
2641         (internal_setpwent): Assume that O_CLOEXEC works.
2642         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2643         definition.
2644         (internal_setspent): Assume that O_CLOEXEC works.
2645         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2646         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2647         O_CLOEXEC is defined and works.
2648         * nss/Makefile (libnss_files-routines): Remove
2649         files-have_o_cloexec.
2650         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2651         defined.
2652         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2653         O_CLOEXEC is defined and works.
2654         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2655         * nss/nss_files/files-have_o_cloexec.c: Remove.
2656         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2657         defined.
2658         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2659         and works.
2660         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2661         definition.
2662         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2663         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2664         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2665         (__opendirat, __opendir): Adjust opendir_oflags call.
2666         (check_have_o_cloexec): Remove.
2667         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2668         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2669         defined.
2670         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2671         Remove definition.
2673 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2675         * include/unistd.h (__have_dup3): Remove declaration.
2676         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2677         dup3 is available.
2678         * libio/freopen64.c (freopen64): Likewise.
2679         * socket/Makefile (aux): Remove have_sock_cloexec.
2680         * socket/have_sock_cloexec.c: Remove file.
2681         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
2682         definition.
2683         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
2684         Likewise.
2685         * sysdeps/nacl/kernel-features.h: Update comment.
2687 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2689         * include/unistd.h (__have_pipe2): Remove declaration.
2690         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
2691         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
2692         available.
2693         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
2694         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
2695         Remove definition.
2697 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2699         * malloc/malloc.c (cfree): Turn into compat symbol.
2700         (__cfree): Remove alias.
2701         * stdlib/stdlib.h (cfree): Remove declaration.
2702         * malloc/malloc.h (cfree): Likewise.
2703         * manual/memory.texi (Freeing after Malloc): Remove cfree.
2704         * malloc/Versions (GLIBC_2.26): Add.
2706 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2708         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2709         (sysdep_routines): Add strrchr-power8.
2710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2711         (strrchr): Add __strrchr_power8 to list of strrchr functions.
2712         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
2713         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
2714         (strrchr): Add __strrchr_power8 to ifunc list.
2715         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
2717 2017-04-17  Rabin Vincent  <rabinv@axis.com>
2719         [BZ #21357]
2720         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
2721         Call free() outside of mutex.
2723 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2725         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
2726         is defined.
2727         * elf/rtld.c (process_envvars): Likewise.
2728         * sysdeps/posix/shm_open.c (shm_open): Likewise.
2729         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
2730         O_NOFOLLOW directly.
2731         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
2733 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2735         [BZ #21369]
2736         Remove EDNS fallback.
2737         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
2738         handling.
2739         * resolv/res_send.c (send_dg): Likewise.
2740         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
2741         "tcp." prefixes.
2742         (do_test): Send a "formerr."-prefixed query in an attempt to
2743         trigger EDNS fallback.
2745 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2747         [BZ #21361]
2748         Limit EDNS buffer size to 1200 bytes.
2749         * include/resolv.h (__res_nopt): Remove declaration.
2750         * resolv/Makefile (tests): tst-resolv-edns.
2751         (tst-resolv-edns): Link with -lresolv, -lpthread.
2752         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
2753         interval [512, 1200].
2754         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
2755         we can resize the buffer.
2756         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
2757         (__res_nopt): Declare.
2758         * resolv/tst-resolv-edns.c: New file.
2759         * resolv/resolv_test.h (struct resolv_edns_info): Define.
2760         (struct resolv_response_context): Add edns member.
2761         * resolv/resolv_test.c (struct query_info): Add edns member.
2762         (parse_query): Extract EDNS information from the query.
2763         (server_thread_udp_process_one): Propagate EDNS data.
2764         (server_thread_tcp_client): Likewise.
2766 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2768         [BZ #21359]
2769         * resolv/ns_name.c (ns_name_pack): Do not require an additional
2770         byte in the destination buffer.  Avoid out-of-bounds pointer
2771         arithmetic.
2772         * resolv/Makefile (tests): Add tst-ns_name_compress.
2773         (tst-ns_name_compress): Link with -lresolv.
2774         * resolv/tst-ns_name_compress.c: New file.
2775         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
2776         (response): Recognize LONG_NAME.
2777         (do_test): Add LONG_NAME tests.
2778         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
2779         for ns_name_unpack.  Add tests for ns_name_pton and
2780         ns_name_compress.
2782 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2784         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
2785         (res_nisourserver): Remove definition.
2786         (p_section, res_npquery, res_nisourserver): Remove declaration.
2787         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
2788         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
2789         ... here.
2790         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
2791         <resolv.h>.
2792         * resolv/res_query.c: Likewise.
2793         * resolv/res_debug.c (p_section): Define as static.
2795 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2797         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
2798         strncat-power8.
2799         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
2800         __strncat_power8 to ifunc list.
2801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2802         (strncat): Add __strncat_power8 to list of strncat functions.
2803         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
2805 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2807         [BZ #21270]
2808         * posix/tst-mmap-offset.c (do_prepare): New function.
2809         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
2810         (do_test_bz21270): New function.
2811         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
2812         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
2813         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
2814         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
2815         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
2816         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2817         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
2818         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
2819         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
2820         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
2821         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
2822         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2823         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2824         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2825         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
2826         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
2827         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2828         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
2829         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
2830         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
2831         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
2832         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
2833         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
2834         from auto-generation list.
2835         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
2836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2837         * sysdeps/unix/sysv/linux/mmap.c: New file.
2838         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
2839         offsets and support for mmap2 syscall.
2841         * posix/globtest.sh: Add cleanup routine on trap 0.
2843 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2845         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
2846         implementation-specific function name and remove unneeded
2847         macros definition.
2848         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
2849         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
2850         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
2851         name if not defined and pass as parameter to macros accordingly.
2852         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2853         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2855         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
2856         implementation-specific function name and remove unneeded
2857         macros definition.
2858         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
2859         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
2860         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
2861         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
2862         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2863         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
2864         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
2865         name if not defined and pass as parameter to macros accordingly.
2866         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2867         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2868         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2869         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2870         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2871         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2873         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
2874         implementation-specific function name and remove unneeded macros
2875         definition.
2876         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
2877         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
2878         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
2879         function name if not defined and pass as parameter to macros
2880         accordingly.
2881         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2882         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2884         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
2885         implementation-specific function name and remove unneeded macros
2886         definition.
2887         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2888         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2889         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
2890         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2891         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
2892         not defined and pass as parameter to macros accordingly.
2893         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2894         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2895         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2896         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2898         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
2899         strcasestr implementation name and remove unneeded macros definition.
2900         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2901         strstr implementation name and remove unneeded macros definition.
2902         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
2903         name if not defined and pass as parameter to macros accordingly.
2904         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2906         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
2907         implementation-specific function name and remove unneeded macros
2908         definition.
2909         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
2910         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
2911         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
2912         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
2913         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
2914         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
2915         function name if not defined and pass as parameter to macros
2916         accordingly.
2917         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2918         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2919         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2920         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2922         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
2923         the strlen implementation name and remove unneeded macros definition.
2924         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
2925         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2926         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
2927         the strnlen implementation name and remove unneeded macros definition.
2928         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
2929         name if not defined and pass as parameter to macros accordingly.
2930         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2931         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2932         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2934         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
2935         the implementation-specific function name and remove unneeded
2936         macros definition.
2937         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
2938         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
2939         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2940         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2941         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
2942         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
2943         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2944         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2945         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2946         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
2947         name if not defined and pass as parameter to macros accordingly.
2948         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2949         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2950         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2951         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2952         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2953         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2954         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2955         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2957         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
2958         implementation-specific function name and remove unneeded macros
2959         definition.
2960         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2961         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2962         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
2963         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
2964         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2965         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
2966         function name if not defined.
2967         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2968         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2970 2017-04-11  Paul Clarke  <pc@us.ibm.com>
2972         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
2973         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
2974         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
2975         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
2977 2017-04-11  Florian Weimer  <fweimer@redhat.com>
2978             Zack Weinberg  <zackw@panix.com>
2980         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
2981         readdir64 as thread-safe.  Update warning about readdir_r.
2983 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2985         * sysdeps/unix/sysv/linux/x86/Implies: New file.
2986         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
2987         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
2988         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
2989         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
2990         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
2991         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2993 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2995         * sysdeps/i386/dl-procinfo.c: Include
2996         <sysdeps/x86/dl-procinfo.c>.
2997         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2998         * sysdeps/x86/dl-procinfo.c: New file.
3000 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3002         * sysdeps/generic/math_private.h: Remove declarations of
3003         many functions that are already declared in math.h.
3004         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3005         declaration for __frexpl.
3006         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3007         the declarations for __scalbnl and fabsl.
3009 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
3011         [BZ #20831]
3012         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3013         of __mprotect to change protection on the excess portion
3014         to disallow all access.
3016 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3018         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3019         HAS_CPU_FEATURE to check for SSE.
3020         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3021         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3022         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3023         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3024         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3025         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3026         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3027         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3028         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3029         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3030         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3031         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3032         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3033         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3034         (index_cpu_SSE): Likewise.
3035         (reg_SSE): Likewise.
3037 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
3039         * posix/getopt1.c: Include <config.h>, not "config.h".
3041 2017-04-07  Zack Weinberg  <zackw@panix.com>
3043         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3044         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3045         Mention in top-of-file boilerplate that these files are shared
3046         with gnulib.
3047         * posix/getopt.h, posix/bits/getopt_posix.h:
3048         Mention in top-of-file boilerplate that these files are NOT shared
3049         with gnulib, unlike the rest of the getopt implementation.
3051         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3052         New files, intended to be shared with gnulib.
3053         * posix/bits/getopt_posix.h:
3054         New file, not intended to be shared with gnulib.
3055         * posix/getopt.h: Now just includes features.h,
3056         bits/getopt_core.h, and bits/getopt_ext.h.  Will
3057         no longer be shared with gnulib.
3058         * include/bits/getopt_core.h, include/bits/getopt_ext.h
3059         * include/bits/getopt_posix.h: New wrappers.
3060         * posix/Makefile: Install new headers.
3061         * posix/unistd.h, libio/stdio.h:
3062         Include bits/getopt_posix.h instead of getopt.h.
3064         * include/libc-symbols.h: For gnulib compatibility, define
3065         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3066         _GL_ATTRIBUTE_CONST.
3067         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3068         parameters with _GL_UNUSED.
3070         * posix/getopt.c: When used standalone, define __libc_use_alloca
3071         as always false and alloca to abort if called.
3072         (process_long_option): Rewrite handling of ambiguous long options
3073         to use a single boolean vector, not a linked list; use
3074         __libc_use_alloca to decide whether to allocate this using alloca.
3075         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3077         * posix/getopt.c (process_long_option): New function split out
3078         from _getopt_internal_r.
3079         (_getopt_internal_r): Replace both copies of the long-option
3080         processing code with calls to process_long_option.
3081         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3082         (do_test): Differentiate argv[0] in the two subtests.
3084         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3085         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3086         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3088         * posix/getopt.h: Add backup definition of __nonnull for
3089         consistency with gnulib.  Define __getopt_argv_const to const
3090         if not already defined.
3091         (getopt): Update doc comment from gnulib.  Prototype
3092         unconditionally.  Add __nonnull annotation.
3093         (__posix_getopt): Add __nonnull annotation.
3094         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3095         prototypes for consistency with gnulib.  Add __nonnull
3096         annotations.
3097         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3098         (getopt_internal): Change 'argv' argument to type 'char **'.
3099         Remove now-unnecessary casts.
3100         (getopt, __posix_getopt): Eliminate repetition with a macro.
3101         Cast 'argv' to 'char **' when calling _getopt_internal.
3102         * posix/getopt1.c (getopt_long, getopt_long_only):
3103         Use __getopt_argv_const for consistency with gnulib.
3104         Cast 'argv' to 'char **' when calling _getopt_internal.
3105         (_getopt_long_r, _getopt_long_only_r):
3106         Change 'argv' argument to type 'char **'.
3107         (main): Constify 'long_options'.
3108         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3109         (_getopt_long_r, _getopt_long_only_r):
3110         Change 'argv' argument to type 'char **'.
3112         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3113         (locked_vfxprintf): New helper function. Handle arbitrary
3114         multibyte strings, not just ASCII.
3115         * include/stdio.h: Declare __fxprintf_nocancel.
3116         * posix/getopt.c: When _LIBC is defined, define fprintf to
3117         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3118         to _IO_funlockfile.  When neither _LIBC nor
3119         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3120         funlockfile as no-ops.
3121         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3122         the standalone error-printing code can now be used for libc as
3123         well.  Add an flockfile/funlockfile pair around one case where
3124         the error message is printed in several chunks.  Don't use fputc.
3125         * posix/tst-getopt-cancel.c: New test.
3126         * posix/Makefile: Run it.
3128         * posix/getopt.c (_getopt_internal_r): Don't increment
3129         d->optind a second time when reporting ambiguous -W options.
3131         * posix/getopt_int.h: Include getopt.h.
3132         Use impl-namespace names for all arguments to _getopt_internal and
3133         _getopt_internal_r.
3134         Declare __ordering enum outside the struct.
3135         Harmonize comments with gnulib.
3136         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3137         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3138         #ifdef TEST block and make unconditional.  Do not define NULL.
3139         * posix/getopt.c: Partial merge from gnulib, covering the
3140         initial includes and global declarations, commentary, and
3141         a couple of semantically-neutral code changes.
3143         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3144         Use '...' instead of `...' for quotation marks inside
3145         comments and strings.
3147         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3148         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3149         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3150         * posix/getopt_int.h: Likewise.
3151         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3152         __libc_argc and __libc_argv externs, which were only used by
3153         #ifdef USE_NONOPTION_FLAGS blocks.
3154         * posix/getopt_init.c: Remove file.
3155         * posix/Makefile (routines): Remove getopt_init.
3156         * include/getopt.h: Don't declare __getopt_initialize_environment.
3157         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3158         a comment.
3160 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3162         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3164 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3166         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3167         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3168         to __wrap_.udiv.
3169         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3170         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3172         * sysdeps/i386/symbol-hacks.h: New file.
3173         * sysdeps/m68k/symbol-hacks.h: New file.
3174         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3175         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3176         * sysdeps/unix/sysv/linux/i386/Makefile
3177         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3178         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3179         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3180         * sysdeps/unix/sysv/linux/m68k/Makefile
3181         [$(subdir) = csu] (sysdep_routines): Likewise.
3182         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3183         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3185         [$(subdir) = csu] (sysdep_routines): Likewise.
3186         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3187         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3188         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3189         [$(subdir) = csu] (sysdep_routines): Likewise.
3190         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3191         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3192         * sysdeps/wordsize-32/Makefile: Remove file.
3193         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3194         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3196 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
3198         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3199         (TEST_FUNCTION_ARGV): New.
3201 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3203         * elf/next.c: Import support/test-driver.c instead of
3204         test-skeleton.c and delete TEST_FUNCTION macro definition.
3205         * elf/nodelete.c: Likewise.
3206         * elf/order2.c: Likewise.
3207         * elf/tst-_dl_addr_inside_object.c: Likewise.
3208         * elf/tst-addr1.c: Likewise.
3209         * elf/tst-align.c: Likewise.
3210         * elf/tst-align2.c: Likewise.
3211         * elf/tst-audit11.c: Likewise.
3212         * elf/tst-audit12.c: Likewise.
3213         * elf/tst-audit2.c: Likewise.
3214         * elf/tst-audit9.c: Likewise.
3215         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3216         * elf/tst-deep1.c: Likewise.
3217         * elf/tst-dl-iter-static.c: Likewise.
3218         * elf/tst-dlmodcount.c: Likewise.
3219         * elf/tst-dlmopen1.c: Likewise.
3220         * elf/tst-dlmopen2.c: Likewise.
3221         * elf/tst-dlmopen3.c: Likewise.
3222         * elf/tst-dlopen-aout.c: Likewise.
3223         * elf/tst-dlopenrpath.c: Likewise.
3224         * elf/tst-dlsym-error.c: Likewise.
3225         * elf/tst-execstack-needed.c: Likewise.
3226         * elf/tst-execstack-prog.c: Likewise.
3227         * elf/tst-execstack.c: Likewise.
3228         * elf/tst-global1.c: Likewise.
3229         * elf/tst-gnu2-tls1.c: Likewise.
3230         * elf/tst-latepthread.c: Likewise.
3231         * elf/tst-leaks1.c: Likewise.
3232         * elf/tst-linkall-static.c: Likewise.
3233         (do_test): New function.
3234         * elf/tst-nodelete-opened.c: Likewise.
3235         * elf/tst-nodelete.cc: Likewise.
3236         * elf/tst-nodelete2.c: Likewise.
3237         * elf/tst-noload.c: Likewise.
3238         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3239         * elf/tst-order-main.c: Likewise.
3240         * elf/tst-pathopt.c: Likewise.
3241         * elf/tst-pie2.c: Likewise.
3242         * elf/tst-piemod1.c: Likewise.
3243         * elf/tst-prelink.c: Likewise.
3244         * elf/tst-protected1a.c: Likewise.
3245         * elf/tst-protected1b.c: Likewise.
3246         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3247         and define _GNU_SOURCE macro.
3248         (cmdline_process_function): New function.
3249         * elf/tst-relsort1.c: Likewise.
3250         * elf/tst-stackguard1.c: Likewise, import getopt.h,
3251         and define _GNU_SOURCE macro.
3252         (cmdline_process_function): New function.
3253         * elf/tst-thrlock.c: Likewise.
3254         * elf/tst-tls-dlinfo.c: Likewise.
3255         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3256         * elf/tst-tls1.c: Likewise.
3257         * elf/tst-tls10.c: Likewise.
3258         * elf/tst-tls11.c: Likewise.
3259         * elf/tst-tls12.c: Likewise.
3260         * elf/tst-tls13.c: Likewise.
3261         * elf/tst-tls14.c: Likewise.
3262         * elf/tst-tls15.c: Likewise.
3263         * elf/tst-tls16.c: Likewise.
3264         * elf/tst-tls17.c: Likewise.
3265         * elf/tst-tls18.c: Likewise.
3266         * elf/tst-tls19.c: Likewise.
3267         * elf/tst-tls2.c: Likewise.
3268         * elf/tst-tls3.c: Likewise.
3269         * elf/tst-tls4.c: Likewise.
3270         * elf/tst-tls5.c: Likewise.
3271         * elf/tst-tls6.c: Likewise.
3272         * elf/tst-tls7.c: Likewise.
3273         * elf/tst-tls8.c: Likewise.
3274         * elf/tst-tls9.c: Likewise.
3275         * elf/tst-tlsalign-extern.c: Likewise.
3276         * elf/tst-tlsalign.c: Likewise.
3277         * elf/tst-unique1.c: Likewise.
3278         * elf/tst-unique2.c: Likewise.
3279         * elf/vismain.c: Likewise.
3281 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3283         * string/test-strnlen.c (do_page_tests): New function
3284         to check length of strings ending at the page boundary.
3285         (test_main): Added call to the do_page_tests function.
3287 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3288             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3290         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3291         (sysdep_routines): Add strnlen-power8.
3292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3293         (strnlen): Add __strnlen_power8 to list of strnlen functions.
3294         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
3295         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
3296         (__strnlen): Add __strnlen_power8 to ifunc list.
3297         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
3299 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3301         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
3302         the TEST_FUNCTION macro definition.
3303         * wcsmbs/tst-mbrtowc2.c: Likewise.
3304         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3305         * wcsmbs/tst-wchar-h.c: Likewise.
3306         * wcsmbs/tst-wcpncpy.c: Likewise.
3307         * wcsmbs/tst-wcrtomb.c: Likewise.
3308         * wcsmbs/tst-wcsnlen.c: Likewise.
3309         * wcsmbs/tst-wcstof.c: Likewise.
3311 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3313         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
3314         CALL_THREAD_FCT macro usage.
3315         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
3316         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
3317         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
3319         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
3320         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3321         (__ASSUME_REQUEUE_PI): Likewise.
3322         * sysdeps/unix/sysv/linux/kernel-features.h
3323         (__ASSUME_REQUEUE_PI): Likewise.
3324         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3325         (__ASSUME_REQUEUE_PI): Likewise.
3326         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3327         (__ASSUME_REQUEUE_PI): Likewise.
3328         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3329         (__ASSUME_REQUEUE_PI): Likewise.
3331 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3333         * resolv/tst-resolv-canonname.c: New file.
3334         * resolv/Makefile (tests): Add tst-resolv-canonname.
3335         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
3337 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3339         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
3340         Declare.
3341         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
3342         (NS_MAXCDNAME): Remove definition.
3343         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3344         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
3345         (NS_MAXCDNAME): Remove definition.
3346         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3348 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3350         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
3351         call whose result is not used.
3353 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3355         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
3356         * resolv/Makefile (tests): Add tst-ns_name.
3357         (tst-ns_name): Link with -lresolv.
3358         (tst-ns_name.out): Depend on the input data file.
3360 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3362         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
3363         Clobber also r14.
3365 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
3367         [BZ #21253]
3368         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
3369         slack space by 32KiB.
3371 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
3373         [BZ #21338]
3374         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
3375         instead of incorrect do_set_arena_test
3377 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3379         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
3380         * math/bits/math-finite.h: Likewise.
3382 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
3384         [BZ #21289]
3385         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
3387 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3389         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
3390         non expected inotify_add_watch and quotactl return.
3392 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3394         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
3395         to int32_t.
3396         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
3397         as returning int32_t.
3399 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3401         * math/math.h: Include bits/math-finite.h once per
3402         floating-point type.
3403         * math/bits/math-finite.h: Macroize all declarations by
3404         floating-point type.
3406 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3408         [BZ #21182]
3409         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
3410         near end of a page.
3411         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
3412         overflow calculation.
3414 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3416         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
3417         (IMPL) Call with 1 instead of 0 as argument.
3419 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3421         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3422         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3423         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3424         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3425         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3426         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3427         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3428         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3429         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3430         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3431         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3432         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3433         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3434         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3435         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3436         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3437         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3438         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3439         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3440         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3441         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3442         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3443         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3444         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3445         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3446         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3447         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3448         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3449         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3450         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3451         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3452         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3453         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3454         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3455         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3456         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3457         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3458         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3459         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3460         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3461         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3462         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3463         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3464         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3465         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3466         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3467         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3468         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3469         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3470         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3471         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3472         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3473         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3474         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3475         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3476         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3477         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3478         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3479         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3480         defined.
3481         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3482         __NR_setgroups32 if defined.
3483         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3484         if defined.
3485         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3486         __NR_setresgid32 is defined.
3487         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3488         __NR_setresuid32 if defined.
3489         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3490         __NR_setreuid32 if defined.
3491         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3492         defined.
3493         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3494         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3495         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3496         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3497         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3498         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3499         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3500         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3501         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3502         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3503         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3504         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3505         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3506         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3507         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3508         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3509         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3510         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3511         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3512         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3513         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3514         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3515         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3516         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3517         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3518         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3519         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3520         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3521         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3522         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3523         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3524         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3525         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3526         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3527         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3528         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3529         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3530         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3531         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3532         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3533         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3534         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3535         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3536         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3537         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3538         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3539         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3540         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3541         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3542         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3543         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3544         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3545         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3546         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3547         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3548         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3549         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3550         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3551         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3552         defined.
3553         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3554         __NR_setgroups32 if defined.
3555         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3556         if defined.
3557         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3558         __NR_setresgid32 is defined.
3559         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3560         __NR_setresuid32 if defined.
3561         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3562         __NR_setreuid32 if defined.
3563         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3564         defined.
3566 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
3568         [BZ #21277]
3569         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
3570         unconditionally.
3571         (IMAXBEL): Likewise.
3572         (IUTF8): Likewise.
3574 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3576         * sysdeps/aarch64/libm-test-ulps: Update.
3578 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
3580         * README.tunables: Updated descriptions.
3581         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
3582         * scripts/gen-tunables.awk: Updated the code related to the
3583         commit.
3585 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
3587         * benchtests/Makefile (string-benchset): Add memcpy-random.
3588         * benchtests/bench-memcpy-random.c: New file.
3590 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3592         * stdio-common/printf.h (register_printf_modifier): Change the
3593         order of __wur and __THROW.
3594         (register_printf_type): Likewise.
3596 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3598         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
3599         test_main ().
3600         (CMDLINE_PROCESS): Use function instead of defined macro.
3601         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
3602         <suppport/support.h> to use set_fortify_handler().
3603         * string/bug-envz1.c: Import support/test-driver.c instead of
3604         test-skeleton.c.
3605         * string/bug-strcoll2.c: Likewise.
3606         * string/bug-strtok1.c: Likewise.
3607         * string/stratcliff.c: Likewise.
3608         * string/test-ffs.c: Likewise.
3609         * string/test-memccpy.c: Likewise.
3610         * string/test-memchr.c: Likewise.
3611         * string/test-memcmp.c: Likewise.
3612         * string/test-memcpy.c: Likewise.
3613         * string/test-memmem.c: Likewise.
3614         * string/test-memmove.c: Likewise.
3615         * string/test-memrchr.c: Likewise.
3616         * string/test-memset.c: Likewise.
3617         * string/test-rawmemchr.c: Likewise.
3618         * string/test-strcasecmp.c: Likewise.
3619         * string/test-strcasestr.c: Likewise.
3620         * string/test-strcat.c: Likewise.
3621         * string/test-strchr.c: Likewise.
3622         * string/test-strcmp.c: Likewise.
3623         * string/test-strcpy.c: Likewise.
3624         * string/test-string.h: Likewise.
3625         * string/test-strlen.c: Likewise.
3626         * string/test-strncasecmp.c: Likewise.
3627         * string/test-strncat.c: Likewise.
3628         * string/test-strncmp.c: Likewise.
3629         * string/test-strncpy.c: Likewise.
3630         * string/test-strnlen.c: Likewise.
3631         * string/test-strpbrk.c: Likewise.
3632         * string/test-strrchr.c: Likewise.
3633         * string/test-strspn.c: Likewise.
3634         * string/test-strstr.c: Likewise.
3635         * string/tst-bswap.c: Likewise.
3636         * string/tst-cmp.c: Likewise.
3637         * string/tst-endian.c: Likewise.
3638         * string/tst-inlcall.c: Likewise.
3639         * string/tst-strcoll-overflow.c: Likewise.
3640         * string/tst-strfry.c: Likewise.
3641         * string/tst-strlen.c: Likewise.
3642         * string/tst-strtok.c: Likewise.
3643         * string/tst-strtok_r.c: Likewise.
3644         * string/tst-strxfrm.c: Likewise.
3645         * string/tst-strxfrm2.c: Likewise.
3646         * string/tst-svc.c: Likewise.
3647         * string/tst-svc2.c: Likewise.
3649 2017-03-22  Zack Weinberg  <zackw@panix.com>
3651         * stdio-common/bug25.c: Include stdlib.h.
3652         * support/tst-support_format_dns_packet.c: Include stdio.h,
3653         stdlib.h, and string.h.
3654         * support/tst-support_record_failure.c: Include string.h.
3655         * support/tst-support_record_failure-2.sh: Adjust line number
3656         expectations and correct a typo in an error message.
3658 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3660         [BZ #21258]
3661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3662         Define only if _dl_runtime_resolve is defined to
3663         _dl_runtime_resolve_sse_vex.
3664         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3665         Fallthrough to _dl_runtime_resolve_sse_vex.
3667 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3669         * INSTALL: Regenerated.
3671 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
3673         * config.h.in: Add LINK_OBSOLETE_NSL.
3674         * config.make.in: Add build-obsolete-nsl.
3675         * configure.ac: Add obsolete-nsl option.
3676         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3677         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3678         * include/rpcsvc/nislib.h: Likewise.
3679         * include/rpcsvc/ypclnt.h: Likewise.
3680         * manual/install.texi: Document --enable-obsolete-nsl.
3681         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
3682         * nis/nis_add.c: Replace libnsl_hidden_def with
3683         libnsl_hidden_nolink_def.
3684         * nis/nis_addmember.c: Likewise.
3685         * nis/nis_call.c: Likewise.
3686         * nis/nis_clone_obj.c: Likewise.
3687         * nis/nis_defaults.c: Likeise.
3688         * nis/nis_domain_of_r.c: Likewise.
3689         * nis/nis_error.c: Likewise.
3690         * nis/nis_file.c: Likewise.
3691         * nis/nis_free.c: Likewise.
3692         * nis_local_names.c: Likewise.
3693         * nis/nis_lookup.c: Likewise.
3694         * nis/nis_modify.c: Likewise.
3695         * nis/nis_print.c: Likewise.
3696         * nis/nis_remove.c: Likewise.
3697         * nis/nis_table.c: Likewise.
3698         * nis/nis_util.c: Likewise.
3699         * nis/nis_xdr.c: Likewise.
3700         * nis/yp_xdr.c: Likewise.
3701         * nis/ypclnt.c: Likewise.
3702         * nis/ypupdate_xdr.c: Likewise.
3703         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
3704         * nis/nis_clone_dir.c: Likewise.
3705         * nis/nis_clone_res.c: Likewise.
3706         * nis/nis_creategroup.c: Likewise.
3707         * nis/nis_destroygroup.c: Likewise.
3708         * nis/nis_domain_of.c: Likewise.
3709         * nis/nis_getservlist.c: Likewise.
3710         * nis/nis_ismember.c: Likewise.
3711         * nis/nis_mkdir.c: Likewise.
3712         * nis/nis_ping.c: Likewise.
3713         * nis/nis_print_group_entry.c: Likewise.
3714         * nis/nis_removemember.c: Likewise.
3715         * nis/nis_rmdir.c: Likewise.
3716         * nis/nis_server.c: Likewise.
3717         * nis/nis_subr.c: Likewise.
3718         * nis/nis_verifygroup.c: Likewise.
3720 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3722         * malloc/tst-interpose-aux.c (check_for_allocations):
3723         Move compiler barrier before free.
3725 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
3727         [BZ #21279]
3728         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3729         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3730         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
3731         x86_64-x32-linux.
3732         (mq_attr.mq_maxmsg): Likewise.
3733         (mq_attr.mq_msgsize): Likewise.
3734         (mq_attr.mq_curmsgs): Likewise.
3736         [BZ #21278]
3737         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
3738         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3739         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
3740         mips-o32-linux.
3742         [BZ #21268]
3743         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
3744         if [__USE_MISC]
3745         (NL3): Likewise.
3747 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
3749         [BZ #21275]
3750         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
3751         __stack to __stackbase.
3752         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
3753         checks so we can include defined(__ia64__) first.
3755 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
3757         * sysdeps/unix/sysv/linux/ttyname.h: New file.
3758         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
3759         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
3760         Call is_pty when the link does not exist or does not match, fail
3761         with ENODEV when it returns true.
3762         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
3763         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
3764         Call is_pty when the link does not exist or does not match, fail
3765         with ENODEV when it returns true.
3767 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
3769         [BZ #16437]
3770         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3771         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3772         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
3773         x86_64-x32-linux.
3774         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
3775         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
3776         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
3778         [BZ #21261]
3779         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
3780         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
3781         names for all fields.
3782         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
3783         for jmp_buf field renaming.
3784         (_JMPBUF_UNWINDS_ADJ): Likewise.
3786         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
3787         with allow-header.
3789 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
3791         * malloc/malloc.c (unlink): Add consistency check between size and
3792         next->prev->size, to further harden against 1-byte overflows.
3794 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
3796         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
3797         CPU_FEATURES_CPU_P.
3799 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
3801         [BZ #21259]
3802         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
3803         unconditionally, not just for [__USE_MISC].
3805         [BZ #17786]
3806         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
3807         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
3808         mips-o32-linux.
3810         [BZ #21260]
3811         * sysdeps/unix/sysv/linux/alpha/Makefile
3812         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3813         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
3815         * conform/conformtest.pl ($cross): New variable.
3816         (--cross): New command-line option.
3817         (runtest): Skip test execution when cross-compiling.
3818         * conform/Makefile (conformtest-cross): New variable.
3819         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
3820         conformtest.pl.
3822         * conform/conformtest.pl ($xfail_str): New variable.
3823         (--xfail=): New command-line option.
3824         (top level): Handle expectations starting xfail[cond]-.
3825         * conform/Makefile (conformtest-xfail): New variable.
3826         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
3827         conformtest.pl.
3829 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3831         * conform/conformtest.pl: Use compilation instead of execution
3832         tests for testing values of constants and usability in #if.
3834 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3836         * math/auto-libm-test-in: Mark some catan and catanh as
3837         xfail-rounding:ibm128-libgcc.
3838         * math/auto-libm-test-out-catan: Regenerate.
3839         * math/auto-libm-test-out-catanh: Likewise.
3841 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3843         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
3844         (__END_NAMESPACE_STD): Likewise.
3845         (__USING_NAMESPACE_STD): Likewise.
3846         (__BEGIN_NAMESPACE_C99): Likewise.
3847         (__END_NAMESPACE_C99): Likewise.
3848         (__USING_NAMESPACE_C99): Likewise.
3849         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
3850         undefine macro.
3851         (_Mdouble_END_NAMESPACE): Likewise.
3852         * ctype/ctype.h: Do not handle C++ namespaces.
3853         * libio/bits/stdio-ldbl.h: Likewise.
3854         * libio/stdio.h: Likewise.
3855         * locale/locale.h: Likewise.
3856         * math/bits/mathcalls.h: Likewise.
3857         * setjmp/setjmp.h: Likewise.
3858         * signal/signal.h: Likewise.
3859         * stdlib/bits/stdlib-float.h: Likewise.
3860         * stdlib/bits/stdlib-ldbl.h: Likewise.
3861         * stdlib/stdlib.h: Likewise.
3862         * string/string.h: Likewise.
3863         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3864         * time/bits/types/clock_t.h: Likewise.
3865         * time/bits/types/struct_tm.h: Likewise.
3866         * time/bits/types/time_t.h: Likewise.
3867         * time/time.h: Likewise.
3868         * wcsmbs/bits/wchar-ldbl.h: Likewise.
3869         * wcsmbs/uchar.h: Likewise.
3870         * wcsmbs/wchar.h: Likewise.
3871         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
3872         * wctype/wctype.h: Do not handle C++ namespaces.
3873         * scripts/begin-end-check.pl: Remove.
3874         * Makefile (installed-headers): Likewise.
3875         (tests-special): Do not add $(objpfx)begin-end-check.out.
3876         ($(objpfx)begin-end-check.out): Remove.
3878 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
3879             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3881         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
3882         (DL_PLATFORM_INIT): New define.
3883         (dl_platform_init): New function.
3884         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
3885         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
3886         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
3887         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
3888         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
3890 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
3892         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
3893         instead of PIC.
3895 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3897         [BZ #21094]
3898         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3899         24+24+24-bit pi for wider range of values around pi/2.
3900         * math/auto-libm-test-in: Add more tests of cos and tan.
3901         * math/auto-libm-test-out-cos: Regenerated.
3902         * math/auto-libm-test-out-tan: Likewise.
3904 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
3906         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
3907         (RTLD_START): Don't record stack end address in _dl_start_user.
3909 2017-03-15  Alexey Neyman  <stilor@att.net>
3911         [BZ #21088]
3912         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
3913         around definitions match those around use.
3915 2017-03-15  Alexey Neyman  <stilor@att.net>
3917         * configure.ac: Avoid empty subexpression in grep.
3918         * configure: Regenerate.
3920 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3922         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
3923         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
3924         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
3925         (test_wrp_rv): Fix format.
3926         (test_wrp_rv2): New macro.
3927         (do_test): Handle mlock return on 64 bits kernels with 32 bits
3928         binaries.
3930 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3932         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
3933         Use a union when storing pointers.
3934         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
3935         cast result when passing to INIT_VEC_PTRS_LOOP.
3936         (VECTOR_WRAPPER_fFF_3): Likewise.
3937         (VECTOR_WRAPPER_fFF_4): Likewise.
3939 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3941         * include/bits/mathcalls-helper-functions.h: New file.
3942         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
3943         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
3944         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
3945         math/bits/mathcalls-helper-functions.h.
3946         * math/bits/mathcalls-helper-functions.h: New file.
3947         * math/math.h: Include bits/mathcalls-helper-functions.h for
3948         float, double, and long double.
3950 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3952         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
3953         instead of feraiseexcept.
3955 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3957         [BZ #21243]
3958         * support/temp_file.c (support_delete_temp_files): Add comment
3959         about ignored errors.
3961 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3963         [BZ #21244]
3964         * support/xclose.c: New file.
3965         * support/Makefile (libsupport-routines): Add xclose.
3966         * support/xunistd.h (xclose): Declare.
3967         * support/resolv_test.c (server_thread_tcp_client)
3968         (server_thread_tcp, make_server_sockets, resolv_test_start)
3969         (resolv_test_end): Call xclose instead of close.
3970         * support/support_enter_network_namespace.c
3971         (support_enter_network_namespace): Likewise.
3972         * support/support_run_diff.c (write_to_temp_file): Likewise.
3974 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3976         * support/support_format_dns_packet.c (support_format_dns_packet):
3977         Handle CNAME records in the response.  Extract RDATA names from
3978         rdata, not the whole packet.  Check AAAA record length.
3979         * support/tst-support_format_dns_packet.c: New file.
3980         * support/Makefile (tests): Add tst-support_format_dns_packet.
3981         (tst-support_format_dns_packet): Link against libresolv.
3983 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3985         [BZ #21232]
3986         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
3987         posix_fadvise64 weak_alias for static build.
3989 2017-03-14  Andreas Schwab  <schwab@suse.de>
3991         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
3992         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
3993         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
3994         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
3995         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
3996         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
3997         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
3998         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4000 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4002         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4003         posix error code.
4004         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4006 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4008         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4009         no_isolate usage for SH.
4011 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
4013         [BZ #15105]
4014         [BZ #19463]
4015         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4016         * inet/rcmd.c (rcmd_af): Likewise.
4017         * inet/rexec.c   (rexec_af): Likewise.
4018         * intl/dcigettext.c (_LIBC): Likewise.
4019         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4020         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4021         * locale/setlocale.c (setlocale): Likewise.
4022         * posix/spawn_faction_addopen.c
4023         (posix_spawn_file_actions_addopen): Likewise.
4024         * stdlib/putenv.c (putenv): Use __strndup.
4025         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4027         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4028         (__Need_M_And_C) Remove define/undef.
4029         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4030         (__malloc_and_calloc_defined): Remove define.
4031         * string/bits/string2.h (__strdup): Remove define.
4032         (strdup): Likewise.
4033         (__strndup): Likewise.
4034         (strndup): Likewise.
4036 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
4038         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4039         macro.
4040         (IPV6_ADDR_PREFERENCES): Likewise.
4041         (IPV6_MINHOPCOUNT): Likewise.
4042         (IPV6_ORIGDSTADDR): Likewise.
4043         (IPV6_RECVORIGDSTADDR): Likewise.
4044         (IPV6_TRANSPARENT): Likewise.
4045         (IPV6_UNICAST_IF): Likewise.
4046         (IPV6_RECVFRAGSIZE): Likewise.
4048 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
4050         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4052 2017-03-12  Alexey Neyman <stilor@att.net>
4054         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4055         in R_SH_DIR32 case is always false when inlined from
4056         dl-conflict.c. Ifdef out to prevent GCC from insertin an
4058 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
4060         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4061         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4062         __ASSUME_SEND_SYSCALL.
4064 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4066         * sunrpc/Makefile: don't build and install rpcsvc header
4067         files, rpcgen and librpcsvc.a by default.
4069 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4071         * math/auto-libm-test-out-catan: Regenerated.
4072         * math/auto-libm-test-out-catanh: Likewise.
4073         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4075 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4077         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4078         for long double with corrected test expectations.
4080 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4082         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4083         Define.
4084         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4085         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4086         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4087         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4088         * sysdeps/unix/sysv/linux/tile/sysdep.h
4089         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4090         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4091         (__ASSUME_RECV_SYSCALL): Define.
4092         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4093         (__ASSUME_RECV_SYSCALL): Likewise.
4094         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4095         (__ASSUME_RECV_SYSCALL): Likewise.
4096         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4097         (__ASSUME_RECV_SYSCALL): Likewise.
4098         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4099         (__ASSUME_RECV_SYSCALL): Likewise.
4100         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4101         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4102         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4103         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4104         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4105         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4106         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4107         auto-generation list.
4108         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4109         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4110         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4111         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4112         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4113         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4114         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4115         __ASSUME_SENDTO_SYSCALL.
4116         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4117         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4118         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4120         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4121         auto-generation list.
4122         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4123         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4124         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4125         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4126         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4127         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4128         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4129         * sysdeps/unix/sysv/linux/kernel-features.h
4130         (__ASSUME_SENDTO_SYSCALL): Define by default.
4131         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4132         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4133         __NR_sendto.
4134         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4135         (__ASSUME_SENDTO_SYSCALL): Likewise.
4136         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4137         (__ASSUME_SENDTO_SYSCALL): Likewise.
4138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4139         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4140         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4141         (__ASSUME_SENDTO_SYSCALL): Likewise.
4142         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4143         (__ASSUME_SENDTO_SYSCALL): Likewise.
4144         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4146         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4147         auto-generation list.
4148         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4149         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4150         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4151         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4152         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4153         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4154         (__ASSUME_RECV_SYSCALL): New define.
4155         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4156         (__ASSUME_RECV_SYSCALL): Likewise.
4157         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4158         (__ASSUME_RECV_SYSCALL): Likewise.
4159         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4160         (__ASSUME_RECV_SYSCALL): Likewise.
4161         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4162         (__ASSUME_RECV_SYSCALL): Likewise.
4163         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4164         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4165         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4166         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4167         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4168         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4169         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4170         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4171         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4172         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4173         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4174         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4176         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4177         auto-generation list.
4178         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4179         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4180         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4181         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4182         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4183         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4184         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4185         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4186         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4187         * sysdeps/unix/sysv/linux/kernel-features.h
4188         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4189         __NR_recvfrom.
4190         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4191         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4192         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4193         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4194         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4195         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4196         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4197         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4198         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4199         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4200         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4201         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4202         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4204         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4205         auto-generation list.
4206         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4207         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4208         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4209         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4210         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4211         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4212         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4213         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4214         * sysdeps/unix/sysv/linux/kernel-features.h
4215         (__ASSUME_CONNECT_SYSCALL): Define.
4216         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4217         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4218         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4219         (__ASSUME_CONNECT_SYSCALL): Likewise.
4220         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4221         (__ASSUME_CONNECT_SYSCALL): Likewise.
4222         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4223         (__ASSUME_CONNECT_SYSCALL): Likewise.
4225         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4226         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4227         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4228         auto-generation list.
4229         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4230         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4231         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4232         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4233         * sysdeps/unix/sysv/linux/mips/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/i386/kernel-features.h
4237         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4238         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4239         * sysdeps/unix/sysv/linux/kernel-features.h
4240         (__ASSUME_ACCEPT_SYSCALL): New define.
4241         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4242         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4243         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4244         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4245         (__ASSUME_ACCEPT_SYSCALL): Define.
4246         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4247         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4248         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4249         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4250         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4251         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4252         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4253         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4254         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4256 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
4257             Zack Weinberg  <zackw@panix.com>
4259         * posix/test-errno.c: New file.
4260         * posix/Makefile (tests): Add test-errno.
4261         * sysdeps/unix/sysv/linux/test-errno.c: New file.
4262         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4264 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
4266         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4268 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4270         * time/tzset.c (compute_offset): Open-code min macro.
4271         (min, max, sign): Remove.
4273 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4275         [BZ #15576]
4276         Remove TZNAME_MAX limit from sysconf.
4277         * include/time.h (__tzname_cur_max, __tzname_max): Remove
4278         declaration.
4279         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4280         compute_tzname_max.
4281         (compute_tzname_max): Remove.
4282         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4283         (update_vars): Do not update __tzname_cur_max.
4284         (tzset_internal): Remove argument.
4285         (__tzset): Adjust call to tzset_internal.
4286         (__tz_convert): Likewise.
4288         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4289         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4290         * manual/conf.texi (Sysconf Definition): Update comment.
4292 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4294         [BZ #21209]
4295         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
4296         AT_SECURE processes.
4297         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
4298         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
4299         (test_child): Likewise.
4300         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
4302 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4304         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
4306 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4308         * sysdeps/s390/atomic-machine.h
4309         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
4310         (__arch_compare_and_exchange_val_8_acq,
4311         __arch_compare_and_exchange_val_16_acq,
4312         __arch_compare_and_exchange_val_32_acq,
4313         __arch_compare_and_exchange_val_64_acq):
4314         Delete macro.
4315         (atomic_compare_and_exchange_val_acq,
4316         atomic_compare_and_exchange_val_rel,
4317         atomic_compare_and_exchange_bool_acq,
4318         catomic_compare_and_exchange_bool_acq,
4319         atomic_exchange_acq, atomic_exchange_rel,
4320         atomic_exchange_and_add_acq,
4321         atomic_exchange_and_add_rel,
4322         catomic_exchange_and_add, atomic_or_val,
4323         atomic_or, catomic_or, atomic_bit_test_set,
4324         atomic_and_val, atomic_and, catomic_and):
4325         Define macros with help of C11 atomic builtins.
4327 2017-03-03  Justus Winter <justus@gnupg.org>
4329         * sysdeps/mach/hurd/ftruncate64.c: New file.
4330         * sysdeps/mach/hurd/truncate64.c: Likewise.
4332 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4334         * time/tzfile.c (NOID): Do not define.
4335         * time/tzset.c (NOID): Likewise.
4337 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4339         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
4341 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4343         * elf/get-dynamic-info.h: Remove header file inclusion guard.
4345 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4347         [BZ #21015]
4348         * manual/install.texi (Configuring and compiling): Document
4349         --enable-bind-now.
4350         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
4351         (build-shlib-helper): Use $(LDFLAGS-lib.so).
4352         (format.lds): Likewise.
4353         [bind-now] (LDFLAGS-c.so): Remove.
4354         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
4355         be R_X86_64_GLOB_DAT.
4356         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
4357         relocation can be R_386_GLOB_DAT.
4358         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
4359         relocaiton can be R_ALPHA_GLOB_DAT.
4360         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
4362 2017-03-01  Zack Weinberg  <zackw@panix.com>
4364         * include/libc-pointer-arith.h: New file.  Define
4365         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
4366         PTR_ALIGN_DOWN here.
4367         * include/libc-internal.h: Definitions of above macros
4368         moved from here.  Don't include libc-diag.h anymore either.
4369         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
4370         Don't include libc-internal.h.
4372         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
4373         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
4374         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
4375         * string/strcoll_l.c, sysdeps/nacl/brk.c
4376         * sysdeps/unix/clock_settime.c
4377         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
4378         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
4379         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4380         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
4381         Don't include libc-internal.h.
4383         * elf/get-dynamic-info.h, iconv/loop.c
4384         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
4385         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
4386         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
4387         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
4388         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4389         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
4390         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4391         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
4392         * sysdeps/ieee754/ldbl-128/k_tanl.c
4393         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4394         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4395         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
4396         Include libc-diag.h instead of libc-internal.h.
4398         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
4399         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
4400         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
4401         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
4402         * sysdeps/unix/sysv/linux/spawni.c
4403         * sysdeps/x86_64/nptl/tls.h:
4404         Include libc-pointer-arith.h instead of libc-internal.h.
4406         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
4407         * sysdeps/x86_64/atomic-machine.h:
4408         Add multiple include guard.
4410         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
4411         * string/strcasestr.c: No need to include config.h.
4412         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
4413         sys/auxv.h. Don't include sysdep.h.
4414         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
4416         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
4417         DL_LOOKUP_ADDRESS.
4418         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
4419         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
4420         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
4421         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
4422         of ARTIFICIAL_LIMIT.
4423         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
4424         declaration of __clone2.
4426 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4428         * scripts/backport-support.sh (latest_commit): New file.
4430 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4432         [BZ #20257]
4433         * inet/Makefile (routines): Add deadline.
4434         (tests-static): Add tst-deadline.
4435         * inet/net-internal.h (struct deadline_current_time)
4436         (__deadline_current_time, struct deadline, __deadline_is_infinite)
4437         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
4438         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
4439         * inet/deadline.c: New file.
4440         * inet/tst-deadline.c: Likewise.
4441         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
4442         tst-udp-timeout, tst-udp-garbage.
4443         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
4444         explicitly.
4445         (tst-udp-garbage): Likewise.  Also link against thread library.
4446         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
4447         struct layout is part of the ABI.
4448         (clntudp_call): Rework timeout handling.
4449         * sunrpc/tst-udp-garbage.c: New file.
4450         * sunrpc/tst-udp-nonblocking.c: Likewise.
4451         * sunrpc/tst-udp-timeout.c: Likewise.
4453 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4455         [BZ #5010]
4456         * sunrpc/svc.c (svc_is_mapped): Remove.
4457         (svc_unregister): Obtain mapped status while the service is still
4458         registered.
4459         * sunrpc/Makefile [have-thread-library] (tests): Add
4460         tst-svc_register.
4461         (tst-svc_register): Link against libc.so explicitly and the thread
4462         library.
4463         * sunrpc/tst-svc_register.c: New file.
4465 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
4467         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
4468         * sysdeps/pthread/bits/sigthread.h: Likewise.
4470 2017-02-27  Florian Weimer  <fweimer@redhat.com>
4472         [BZ #21115]
4473         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
4474         * sunrpc/Makefile (tests): Add tst-udp-error.
4475         (tst-udp-error): Link against libc.so explicitly.
4476         * sunrpc/tst-udp-error: New file.
4478 2017-02-25  Zack Weinberg  <zackw@panix.com>
4480         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
4481         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
4483         * sysdeps/generic/math_ldbl.h
4484         * sysdeps/ia64/fpu/math_ldbl.h
4485         * sysdeps/ieee754/ldbl-128/math_ldbl.h
4486         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4487         * sysdeps/ieee754/ldbl-96/math_ldbl.h
4488         * sysdeps/powerpc/fpu/math_ldbl.h
4489         * sysdeps/x86_64/fpu/math_ldbl.h:
4490         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
4491         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
4492         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
4493         Add copyright notices.
4495         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4496         Don't use EXTRACT_WORDS64.
4498         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
4499         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
4500         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
4501         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
4502         Include math_ldbl.h, not math_private.h.
4504 2017-02-25  Zack Weinberg  <zackw@panix.com>
4506         * include/libc-diag.h: New file.  Define ignore_value,
4507         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
4508         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
4510         * include/libc-internal.h: Definitions of above macros moved from
4511         here.  Include libc-diag.h.  Add copyright notice.
4513         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
4514         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
4515         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
4516         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
4517         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
4518         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
4519         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
4520         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
4521         Include libc-diag.h instead of libc-internal.h.
4523         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
4524         call to unsetenv (NULL).
4525         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
4526         call to pthread_mutexattr_destroy (NULL).
4528 2017-02-25  Zack Weinberg  <zackw@panix.com>
4530         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
4531         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
4532         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
4533         gets was removed from C++ in C++14.
4534         * include/stdio.h: Remove redundant declaration of gets.
4535         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
4536         be declared, since we are testing it.
4537         * stdio-common/Makefile (tst-gets.c): Compile with
4538         -Wno-deprecated-declarations.
4539         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
4540         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
4541         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
4542         Compile with -Wno-deprecated-declarations.
4544 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4546         * math/libm-test-support.c (check_ulp): Use LIT() around literal
4547         numbers.
4549 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4551         * resolv/tst-resolv-qtypes.c (domain):
4552         Change type to const pointer to const char.
4554 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
4556         * math/Makefile (libm-tests-generated): Remove variable.
4557         (libm-tests-base-normal): New variable.
4558         (libm-tests-base-finite): Likewise.
4559         (libm-tests-base-inline): Likewise.
4560         (libm-tests-base): Likewise.
4561         (libm-tests-normal): Likewise.
4562         (libm-tests-finite): Likewise.
4563         (libm-tests-inline): Likewise.
4564         (libm-tests-vector): Likewise.
4565         (libm-tests): Define in terms of these new variables.
4566         (libm-tests-for-type): New variable.
4567         (libm-tests.o): Move definition.
4568         (tests): Move addition of $(libm-tests).
4569         (generated): Update for new and removed libm test files.
4570         ($(objpfx)libm-test.c): Remove target.
4571         ($(objpfx)libm-have-vector-test.h): Likewise.
4572         (CFLAGS-test-double-vlen2.c): Remove variable.
4573         (CFLAGS-test-double-vlen4.c): Likewise.
4574         (CFLAGS-test-double-vlen8.c): Likewise.
4575         (CFLAGS-test-float-vlen4.c): Likewise.
4576         (CFLAGS-test-float-vlen8.c): Likewise.
4577         (CFLAGS-test-float-vlen16.c): Likewise.
4578         (CFLAGS-test-float.c): Likewise.
4579         (CFLAGS-test-float-finite.c): Likewise.
4580         (CFLAGS-libm-test-support-float.c): Likewise.
4581         (CFLAGS-test-double.c): Likewise.
4582         (CFLAGS-test-double-finite.c): Likewise.
4583         (CFLAGS-libm-test-support-double.c): Likewise.
4584         (CFLAGS-test-ldouble.c): Likewise.
4585         (CFLAGS-test-ldouble-finite.c): Likewise.
4586         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4587         (libm-test-inline-cflags): New variable.
4588         (CFLAGS-test-ifloat.c): Remove variable.
4589         (CFLAGS-test-idouble.c): Likewise.
4590         (CFLAGS-test-ildouble.c): Likewise.
4591         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
4592         dependencies.
4593         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
4594         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
4595         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
4596         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
4597         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
4598         Likewise.
4599         (dependencies on libm-test-support-*.o): Remove.
4600         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
4601         rules using iterators.
4602         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
4603         Likewise.
4604         ($(objpfx)libm-test-support-$(o).o): Likewise.
4605         ($(addprefix $(objpfx),$(filter-out $(tests-static)
4606         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
4607         instead.
4608         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
4609         define rule instead.
4610         * math/README.libm-test: Update.
4611         * math/libm-test-acos.inc: Include libm-test-driver.c.
4612         (do_test): New function.
4613         * math/libm-test-acosh.inc: Include libm-test-driver.c.
4614         (do_test): New function.
4615         * math/libm-test-asin.inc: Include libm-test-driver.c.
4616         (do_test): New function.
4617         * math/libm-test-asinh.inc: Include libm-test-driver.c.
4618         (do_test): New function.
4619         * math/libm-test-atan.inc: Include libm-test-driver.c.
4620         (do_test): New function.
4621         * math/libm-test-atan2.inc: Include libm-test-driver.c.
4622         (do_test): New function.
4623         * math/libm-test-atanh.inc: Include libm-test-driver.c.
4624         (do_test): New function.
4625         * math/libm-test-cabs.inc: Include libm-test-driver.c.
4626         (do_test): New function.
4627         * math/libm-test-cacos.inc: Include libm-test-driver.c.
4628         (do_test): New function.
4629         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4630         (do_test): New function.
4631         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4632         (do_test): New function.
4633         * math/libm-test-carg.inc: Include libm-test-driver.c.
4634         (do_test): New function.
4635         * math/libm-test-casin.inc: Include libm-test-driver.c.
4636         (do_test): New function.
4637         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4638         (do_test): New function.
4639         * math/libm-test-catan.inc: Include libm-test-driver.c.
4640         (do_test): New function.
4641         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4642         (do_test): New function.
4643         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4644         (do_test): New function.
4645         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4646         (do_test): New function.
4647         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4648         (do_test): New function.
4649         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4650         (do_test): New function.
4651         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4652         (do_test): New function.
4653         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4654         (do_test): New function.
4655         * math/libm-test-clog.inc: Include libm-test-driver.c.
4656         (do_test): New function.
4657         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4658         (do_test): New function.
4659         * math/libm-test-conj.inc: Include libm-test-driver.c.
4660         (do_test): New function.
4661         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4662         (do_test): New function.
4663         * math/libm-test-cos.inc: Include libm-test-driver.c.
4664         (do_test): New function.
4665         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4666         (do_test): New function.
4667         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4668         (do_test): New function.
4669         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4670         (do_test): New function.
4671         * math/libm-test-creal.inc: Include libm-test-driver.c.
4672         (do_test): New function.
4673         * math/libm-test-csin.inc: Include libm-test-driver.c.
4674         (do_test): New function.
4675         * math/libm-test-csinh.inc: Include libm-test-driver.c.
4676         (do_test): New function.
4677         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4678         (do_test): New function.
4679         * math/libm-test-ctan.inc: Include libm-test-driver.c.
4680         (do_test): New function.
4681         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
4682         (do_test): New function.
4683         * math/libm-test-erf.inc: Include libm-test-driver.c.
4684         (do_test): New function.
4685         * math/libm-test-erfc.inc: Include libm-test-driver.c.
4686         (do_test): New function.
4687         * math/libm-test-exp.inc: Include libm-test-driver.c.
4688         (do_test): New function.
4689         * math/libm-test-exp10.inc: Include libm-test-driver.c.
4690         (do_test): New function.
4691         * math/libm-test-exp2.inc: Include libm-test-driver.c.
4692         (do_test): New function.
4693         * math/libm-test-expm1.inc: Include libm-test-driver.c.
4694         (do_test): New function.
4695         * math/libm-test-fabs.inc: Include libm-test-driver.c.
4696         (do_test): New function.
4697         * math/libm-test-fdim.inc: Include libm-test-driver.c.
4698         (do_test): New function.
4699         * math/libm-test-floor.inc: Include libm-test-driver.c.
4700         (do_test): New function.
4701         * math/libm-test-fma.inc: Include libm-test-driver.c.
4702         (do_test): New function.
4703         * math/libm-test-fmax.inc: Include libm-test-driver.c.
4704         (do_test): New function.
4705         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
4706         (do_test): New function.
4707         * math/libm-test-fmin.inc: Include libm-test-driver.c.
4708         (do_test): New function.
4709         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
4710         (do_test): New function.
4711         * math/libm-test-fmod.inc: Include libm-test-driver.c.
4712         (do_test): New function.
4713         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
4714         (do_test): New function.
4715         * math/libm-test-frexp.inc: Include libm-test-driver.c.
4716         (do_test): New function.
4717         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
4718         (do_test): New function.
4719         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
4720         (do_test): New function.
4721         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
4722         (do_test): New function.
4723         * math/libm-test-hypot.inc: Include libm-test-driver.c.
4724         (do_test): New function.
4725         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
4726         (do_test): New function.
4727         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
4728         (do_test): New function.
4729         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
4730         (do_test): New function.
4731         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
4732         (do_test): New function.
4733         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
4734         (do_test): New function.
4735         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
4736         (do_test): New function.
4737         * math/libm-test-isinf.inc: Include libm-test-driver.c.
4738         (do_test): New function.
4739         * math/libm-test-isless.inc: Include libm-test-driver.c.
4740         (do_test): New function.
4741         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
4742         (do_test): New function.
4743         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
4744         (do_test): New function.
4745         * math/libm-test-isnan.inc: Include libm-test-driver.c.
4746         (do_test): New function.
4747         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
4748         (do_test): New function.
4749         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
4750         (do_test): New function.
4751         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
4752         (do_test): New function.
4753         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
4754         (do_test): New function.
4755         * math/libm-test-iszero.inc: Include libm-test-driver.c.
4756         (do_test): New function.
4757         * math/libm-test-j0.inc: Include libm-test-driver.c.
4758         (do_test): New function.
4759         * math/libm-test-j1.inc: Include libm-test-driver.c.
4760         (do_test): New function.
4761         * math/libm-test-jn.inc: Include libm-test-driver.c.
4762         (do_test): New function.
4763         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
4764         (do_test): New function.
4765         * math/libm-test-llogb.inc: Include libm-test-driver.c.
4766         (do_test): New function.
4767         * math/libm-test-llrint.inc: Include libm-test-driver.c.
4768         (do_test): New function.
4769         * math/libm-test-llround.inc: Include libm-test-driver.c.
4770         (do_test): New function.
4771         * math/libm-test-log.inc: Include libm-test-driver.c.
4772         (do_test): New function.
4773         * math/libm-test-log10.inc: Include libm-test-driver.c.
4774         (do_test): New function.
4775         * math/libm-test-log1p.inc: Include libm-test-driver.c.
4776         (do_test): New function.
4777         * math/libm-test-log2.inc: Include libm-test-driver.c.
4778         (do_test): New function.
4779         * math/libm-test-logb.inc: Include libm-test-driver.c.
4780         (do_test): New function.
4781         * math/libm-test-lrint.inc: Include libm-test-driver.c.
4782         (do_test): New function.
4783         * math/libm-test-lround.inc: Include libm-test-driver.c.
4784         (do_test): New function.
4785         * math/libm-test-modf.inc: Include libm-test-driver.c.
4786         (do_test): New function.
4787         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
4788         (do_test): New function.
4789         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
4790         (do_test): New function.
4791         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
4792         (do_test): New function.
4793         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
4794         (do_test): New function.
4795         * math/libm-test-nextup.inc: Include libm-test-driver.c.
4796         (do_test): New function.
4797         * math/libm-test-pow.inc: Include libm-test-driver.c.
4798         (do_test): New function.
4799         * math/libm-test-remainder.inc: Include libm-test-driver.c.
4800         (do_test): New function.
4801         * math/libm-test-remquo.inc: Include libm-test-driver.c.
4802         (do_test): New function.
4803         * math/libm-test-rint.inc: Include libm-test-driver.c.
4804         (do_test): New function.
4805         * math/libm-test-round.inc: Include libm-test-driver.c.
4806         (do_test): New function.
4807         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
4808         (do_test): New function.
4809         * math/libm-test-scalb.inc: Include libm-test-driver.c.
4810         (do_test): New function.
4811         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
4812         (do_test): New function.
4813         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
4814         (do_test): New function.
4815         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
4816         (do_test): New function.
4817         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
4818         (do_test): New function.
4819         * math/libm-test-signbit.inc: Include libm-test-driver.c.
4820         (do_test): New function.
4821         * math/libm-test-significand.inc: Include libm-test-driver.c.
4822         (do_test): New function.
4823         * math/libm-test-sin.inc: Include libm-test-driver.c.
4824         (do_test): New function.
4825         * math/libm-test-sincos.inc: Include libm-test-driver.c.
4826         (do_test): New function.
4827         * math/libm-test-sinh.inc: Include libm-test-driver.c.
4828         (do_test): New function.
4829         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
4830         (do_test): New function.
4831         * math/libm-test-tan.inc: Include libm-test-driver.c.
4832         (do_test): New function.
4833         * math/libm-test-tanh.inc: Include libm-test-driver.c.
4834         (do_test): New function.
4835         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
4836         (do_test): New function.
4837         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
4838         (do_test): New function.
4839         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
4840         (do_test): New function.
4841         * math/libm-test-trunc.inc: Include libm-test-driver.c.
4842         (do_test): New function.
4843         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
4844         (do_test): New function.
4845         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
4846         (do_test): New function.
4847         * math/libm-test-y0.inc: Include libm-test-driver.c.
4848         (do_test): New function.
4849         * math/libm-test-y1.inc: Include libm-test-driver.c.
4850         (do_test): New function.
4851         * math/libm-test-yn.inc: Include libm-test-driver.c.
4852         (do_test): New function.
4853         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
4854         (HAVE_VECTOR): Remove macro.
4855         (START): Do not call HAVE_VECTOR.
4856         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
4857         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
4858         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
4859         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
4860         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
4861         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
4862         * math/test-math-vector.h (FUNC_TEST): New macro.
4863         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
4864         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
4865         (double-vlen4-funcs): Likewise.
4866         (double-vlen4-avx2-funcs): Likewise.
4867         (double-vlen8-funcs): Likewise.
4868         (float-vlen4-funcs): Likewise.
4869         (float-vlen8-funcs): Likewise.
4870         (float-vlen8-avx2-funcs): Likewise.
4871         (float-vlen16-funcs): Likewise.
4872         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
4873         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
4874         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
4875         macro.
4876         (TEST_VECTOR_sin): Likewise.
4877         (TEST_VECTOR_sincos): Likewise.
4878         (TEST_VECTOR_log): Likewise.
4879         (TEST_VECTOR_exp): Likewise.
4880         (TEST_VECTOR_pow): Likewise.
4881         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
4882         Likewise.
4883         (TEST_VECTOR_sin): Likewise.
4884         (TEST_VECTOR_sincos): Likewise.
4885         (TEST_VECTOR_log): Likewise.
4886         (TEST_VECTOR_exp): Likewise.
4887         (TEST_VECTOR_pow): Likewise.
4888         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
4889         Likewise.
4890         (TEST_VECTOR_sinf): Likewise.
4891         (TEST_VECTOR_sincosf): Likewise.
4892         (TEST_VECTOR_logf): Likewise.
4893         (TEST_VECTOR_expf): Likewise.
4894         (TEST_VECTOR_powf): Likewise.
4895         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
4896         Likewise.
4897         (TEST_VECTOR_sinf): Likewise.
4898         (TEST_VECTOR_sincosf): Likewise.
4899         (TEST_VECTOR_logf): Likewise.
4900         (TEST_VECTOR_expf): Likewise.
4901         (TEST_VECTOR_powf): Likewise.
4902         * math/gen-libm-have-vector-test.sh: Remove file.
4903         * math/libm-test.inc: Likewise.
4904         * math/libm-test-support-double.c: Likewise.
4905         * math/libm-test-support-float.c: Likewise.
4906         * math/libm-test-support-ldouble.c: Likewise.
4907         * math/test-double-finite.c: Likewise.: Likewise.
4908         * math/test-double.c: Likewise.
4909         * math/test-float-finite.c: Likewise.
4910         * math/test-float.c: Likewise.
4911         * math/test-idouble.c: Likewise.
4912         * math/test-ifloat.c: Likewise.
4913         * math/test-ildouble.c: Likewise.
4914         * math/test-ldouble-finite.c: Likewise.
4915         * math/test-ldouble.c: Likewise.
4916         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4917         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
4918         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4919         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4920         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4921         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4922         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4923         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
4924         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4925         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4927 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4928            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4930         * math/Makefile: Add wrappers to gen-libm-calls.
4931         * math/w_acos_template.c: New file.
4932         * math/w_acosh_template.c: Likewise.
4933         * math/w_asin_template.c: Likewise.
4934         * math/w_atan2_template.c: Likewise.
4935         * math/w_atanh_template.c: Likewise.
4936         * math/w_cosh_template.c: Likewise.
4937         * math/w_exp10_template.c: Likewise.
4938         * math/w_exp2_template.c: Likewise.
4939         * math/w_exp_template.c: Likewise.
4940         * math/w_fmod_template.c: Likewise.
4941         * math/w_hypot_template.c: Likewise.
4942         * math/w_j0_template.c: Likewise.
4943         * math/w_j1_template.c: Likewise.
4944         * math/w_jn_template.c: Likewise.
4945         * math/w_lgamma_r_template.c: Likewise.
4946         * math/w_lgamma_template.c: Likewise.
4947         * math/w_log10_template.c: Likewise.
4948         * math/w_log2_template.c: Likewise.
4949         * math/w_log_template.c: Likewise.
4950         * math/w_pow_template.c: Likewise.
4951         * math/w_remainder_template.c: Likewise.
4952         * math/w_sinh_template.c: Likewise.
4953         * math/w_sqrt_template.c: Likewise.
4954         * math/w_tgamma_template.c: Likewise.: Likewise.
4955         * sysdeps/generic/math-type-macros-double.h
4956         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
4957         the new wrappers.
4958         * sysdeps/generic/math-type-macros-float.h: Likewise.
4959         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4961 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
4963         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
4964         New enum constant and macro.
4966         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4967         kernel version to 4.10.
4969 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
4971         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
4973 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4977 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4979         * sysdeps/powerpc/tst-set_ppr.c: New file.
4980         Implement test cases for __ppc_set_ppr_* functions.
4981         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
4982         in the list of tests.
4984 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4986         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
4987         instead of test-skeleton.c.
4988         (do_test): Replaced pthread_create and pthread_join with
4989         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
4990         Removed unneeded status variable.
4991         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
4992         instead of test-skeleton.c.
4993         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
4995 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
4997         [BZ #20313]
4998         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4999         201605L, for Unicode 9.
5001 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
5003         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5004         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5005         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5006         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5007         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5008         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5010 2017-02-19  Zack Weinberg  <zackw@panix.com>
5012         * rt/tst-mqueue4.c: Include stdint.h.
5014 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5016         * sysdeps/arm/libm-test-ulps: Update.
5017         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5018         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5019         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5021 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5023         [BZ #21029]
5024         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5025         * sysdeps/unix/sysv/linux/i386/Makefile
5026         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5027         (uses-6-syscall-arguments): Remove.
5028         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5029         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5030         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5031         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5032         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5033         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5034         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5035         [$(subdir) = misc] (cflags-pselect.o): Likewise.
5036         [$(subdir) = misc] (cflags-pselect.os): Likewise.
5037         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5038         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5039         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5040         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5041         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5042         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5043         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5044         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5045         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5046         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5047         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5048         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5049         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5050         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5051         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5052         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5053         Likewise.
5054         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5055         Likewise.
5056         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5057         Likewise.
5058         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5059         Likewise.
5060         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5061         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5062         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5063         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5064         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5065         ebp on inline assembly.
5066         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5067         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5068         Set if CAN_USE_REGISTER_ASM_EBP is set.
5070 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5072         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5073         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5075 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5077         * math/auto-libm-test-in: Add tests of catan and catanh.
5078         * math/auto-libm-test-out-catan: New generated file.
5079         * math/auto-libm-test-out-catanh: Likewise.
5080         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5081         Move tests with finite inputs, except divide-by-zero cases, to
5082         auto-libm-test-in.
5083         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5084         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5085         (libm-test-funcs-noauto): Remove catan and catanh.
5086         * sysdeps/i386/fpu/libm-test-ulps: Update.
5087         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5090         * math/auto-libm-test-in: Add tests of casin and casinh.
5091         * math/auto-libm-test-out-casin: New generated file.
5092         * math/auto-libm-test-out-casinh: Likewise.
5093         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5094         Move tests with finite inputs to auto-libm-test-in.
5095         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5096         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5097         (libm-test-funcs-noauto): Remove casin and casinh.
5098         * sysdeps/i386/fpu/libm-test-ulps: Update.
5099         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5102         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5103         * math/auto-libm-test-out-cacos: New generated file.
5104         * math/auto-libm-test-out-cacosh: Likewise.
5105         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5106         Move tests with finite inputs to auto-libm-test-in.
5107         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5108         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5109         (libm-test-funcs-noauto): Remove cacos and cacosh.
5110         * sysdeps/i386/fpu/libm-test-ulps: Update.
5111         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5114         Revert:
5115         2017-02-16  Zack Weinberg  <zackw@panix.com>
5117         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5118         Don't include init-arch.h.
5119         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5120         Don't include init-arch.h.
5122 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5124         [BZ #21171]
5125         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5126         +Inf and raise divide-by-zero when x is negative.
5127         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5128         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5129         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5130         -Inf and raise divide-by-zero when x = +-0.
5131         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5132         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5133         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5134         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5135         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5136         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5137         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5139 2017-02-16  Zack Weinberg  <zackw@panix.com>
5141         * scripts/build-many-glibcs.py (bot_build_mail): If the
5142         bot_config does not contain all of the necessary email-
5143         related settings, just print a warning and continue.
5145 2017-02-16  Zack Weinberg  <zackw@panix.com>
5147         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5148         * dirent/opendir-tst1.c: Include sys/stat.h.
5149         * dirent/tst-fdopendir.c: Include sys/stat.h.
5150         * dirent/tst-fdopendir2.c: Include stdlib.h.
5151         * dirent/tst-scandir.c: Include stdbool.h.
5152         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5153         * elf/tst-tls15.c: Include stdlib.h.
5154         * elf/tst-tls16.c: Include stdlib.h.
5155         * elf/tst-tls17.c: Include stdlib.h.
5156         * elf/tst-tls18.c: Include stdlib.h.
5157         * iconv/tst-iconv6.c: Include endian.h.
5158         * iconvdata/bug-iconv11.c: Include limits.h.
5159         * io/test-utime.c: Include stdint.h.
5160         * io/tst-faccessat.c: Include sys/stat.h.
5161         * io/tst-fchmodat.c: Include sys/stat.h.
5162         * io/tst-fchownat.c: Include sys/stat.h.
5163         * io/tst-fstatat.c: Include sys/stat.h.
5164         * io/tst-futimesat.c: Include sys/stat.h.
5165         * io/tst-linkat.c: Include sys/stat.h.
5166         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5167         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5168         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5169         * io/tst-openat.c: Include stdbool.h.
5170         * io/tst-readlinkat.c: Include sys/stat.h.
5171         * io/tst-renameat.c: Include sys/stat.h.
5172         * io/tst-symlinkat.c: Include sys/stat.h.
5173         * io/tst-unlinkat.c: Include stdbool.h.
5174         * libio/bug-memstream1.c: Include stdlib.h.
5175         * libio/bug-wmemstream1.c: Include stdlib.h.
5176         * libio/tst-fwrite-error.c: Include stdlib.h.
5177         * libio/tst-memstream1.c: Include stdlib.h.
5178         * libio/tst-memstream2.c: Include stdlib.h.
5179         * libio/tst-memstream3.c: Include stdlib.h.
5180         * malloc/tst-interpose-aux.c: Include stdint.h.
5181         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5182         * nptl/tst-basic7.c: Include limits.h.
5183         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5184         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5185         * nptl/tst-cancel4_1.c: Include stddef.h.
5186         * nptl/tst-cancel4_2.c: Include stddef.h.
5187         * nptl/tst-cond16.c: Include limits.h.
5188         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5189         * nptl/tst-cond18.c: Include limits.h.
5190         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5191         * nptl/tst-cond4.c: Include stdint.h.
5192         * nptl/tst-cond6.c: Include stdint.h.
5193         * nptl/tst-stack2.c: Include limits.h.
5194         * nptl/tst-stackguard1.c: Include stddef.h.
5195         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5196         * nptl/tst-tls4moda.c: Include stddef.h.
5197         Don't include stdio.h, unistd.h, or tls.h.
5198         * nptl/tst-tls4modb.c: Include stddef.h.
5199         Don't include stdio.h, unistd.h, or tls.h.
5200         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5201         * posix/tst-getaddrinfo2.c: Include stdio.h.
5202         * posix/tst-getaddrinfo5.c: Include stdio.h.
5203         * posix/tst-pathconf.c: Include sys/stat.h.
5204         * posix/tst-posix_fadvise-common.c: Include stdint.h.
5205         * posix/tst-preadwrite-common.c: Include sys/stat.h.
5206         * posix/tst-regex.c: Include stdint.h.
5207         Don't include spawn.h or spawn_int.h.
5208         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5209         * posix/tst-vfork3.c: Include sys/stat.h.
5210         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5211         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5212         * resolv/tst-resolv-search.c: Include stdlib.h.
5213         * stdio-common/tst-fmemopen2.c: Include stdint.h.
5214         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5215         * stdlib/test-canon.c: Include sys/stat.h.
5216         * stdlib/tst-tls-atexit.c: Include stdbool.h.
5217         * string/test-memchr.c: Include stdint.h.
5218         * string/tst-cmp.c: Include stdint.h.
5219         * sysdeps/pthread/tst-timer.c: Include stdint.h.
5220         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5221         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5222         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5223         Don't include init-arch.h.
5224         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5225         Don't include init-arch.h.
5226         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5227         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5228         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5229         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5230         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5231         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5232         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5233         * time/clocktest.c: Include stdint.h.
5234         * time/tst-posixtz.c: Include stdint.h.
5235         * timezone/tst-timezone.c: Include stdint.h.
5237 2017-02-16  Zack Weinberg  <zackw@panix.com>
5239         * string/string.h [__USE_MISC]: Include strings.h.
5240         (__bzero, bcmp, bcopy, bzero, index, rindex)
5241         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5242         (ffs, ffsl, ffsll): Don't declare.
5243         * string/strings.h: Do not suppress the file if string.h has
5244         already been included.
5245         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5246         annotations.
5247         (index, rindex): Define inline forwarders even if
5248         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5249         (ffs): Use __attribute_const__.
5250         (ffsl, ffsll): Declare here.
5251         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5252         have now been standardized.
5253         * include/string.h (__bzero): Declare here.
5255         * bits/types.h: Move to posix/bits.
5256         * include/bits/types.h: New wrapper.
5258 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5260         * string/bits/string2.h (strcmp): Remove define.
5261         (__strcmp_cg): Likewise.
5262         (strncmp): Likewise.
5264 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5266         * include/string.h: Add __cplusplus check.
5268 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5270         [BZ #21134]
5271         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5272         "divide by zero" exception when the input is zero.
5273         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5274         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5275         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5276         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5277         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5279 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
5281         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5282         and include ...
5283         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
5284         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5285         to, and include ...
5286         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
5287         file.
5288         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5289         and include ...
5290         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
5291         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
5292         and include ...
5293         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
5294         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
5295         and include ...
5296         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
5297         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
5298         and include ...
5299         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
5300         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
5301         to, and include ...
5302         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
5303         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
5304         and include ...
5305         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
5307 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
5309         * math/libm-test-support.h: Do not include <math-tests-arch.h>
5310         here.
5311         * math/libm-test-support.c (libm_test_init): Do not call
5312         INIT_ARCH_EXT here.
5313         * math/libm-test-driver.c: Include <math-tests-arch.h>.
5314         (main): Call INIT_ARCH_EXT.
5316 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5318         [BZ #21130]
5319         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
5320         with the "invalid" exception raised when x is -Inf.
5321         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5323 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
5325         * string/bits/string2.h (strchr): Remove define.
5327 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
5329         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
5330         tst-avx512.
5331         (test-extras): Add tst-avx-aux and tst-avx512-aux.
5332         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
5333         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
5334         ($(objpfx)tst-sse): New rule.
5335         ($(objpfx)tst-avx): Likewise.
5336         ($(objpfx)tst-avx512): Likewise.
5337         (CFLAGS-tst-avx-aux.c): New.
5338         (CFLAGS-tst-avxmod.c): Likewise.
5339         (CFLAGS-tst-avx512-aux.c): Likewise.
5340         (CFLAGS-tst-avx512mod.c): Likewise.
5341         * sysdeps/x86_64/tst-avx-aux.c: New file.
5342         * sysdeps/x86_64/tst-avx.c: Likewise.
5343         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
5344         * sysdeps/x86_64/tst-avx512.c: Likewise.
5345         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
5346         * sysdeps/x86_64/tst-avxmod.c: Likewise.
5347         * sysdeps/x86_64/tst-sse.c: Likewise.
5348         * sysdeps/x86_64/tst-ssemod.c: Likewise.
5350 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5352         * math/auto-libm-test-in: Add more tests of csin and csinh.
5353         * math/auto-libm-test-out-csin: Regenerated.
5354         * math/auto-libm-test-out-csinh: Likewise.
5355         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
5356         auto-libm-test-in.
5357         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
5359 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5361         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
5362         libm-compat-calls-auto.
5363         (libm-compat-calls): Likewise.
5364         (libm-compat-calls-auto): Rename to libm-compat-calls and add
5365         w_lgamma_compatF and k_standardF (merged from the items above).
5366         (libm-routines): Use libm-compat-calls, instead of
5367         libm-compat-calls-auto, with type-foreach.
5369 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5371         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
5372         macro.
5373         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
5374         (CFLAGS-test-ifloat.c): ... this.  Remove
5375         -U__LIBC_INTERNAL_MATH_INLINES.
5376         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
5377         (CFLAGS-test-idouble.c): ... this.  Remove
5378         -U__LIBC_INTERNAL_MATH_INLINES.
5379         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
5380         (CFLAGS-test-ildouble.c): ... this.  Remove
5381         -U__LIBC_INTERNAL_MATH_INLINES.
5383 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
5385         * math/libm-test-support.c: New file.  Content from
5386         math/libm-test-driver.c.
5387         * math/libm-test-support.h: Likewise.
5388         * math/libm-test-support-double.c: New file.
5389         * math/libm-test-support-float.c: Likewise.
5390         * math/libm-test-support-ldouble.c: Likewise.
5391         * math/libm-test-driver.c: Remove main comment and header
5392         includes.  Include libm-test-support.h.
5393         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
5394         (flag_test_errno): Remove static.
5395         (flag_test_exceptions): Likewise.
5396         (flag_test_finite): Likewise.
5397         (flag_test_inline): Likewise.
5398         (flag_test_mathvec): Likewise.
5399         (test_msg): Likewise.
5400         (NO_EXCEPTION): Remove.
5401         (INVALID_EXCEPTION): Likewise.
5402         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5403         (OVERFLOW_EXCEPTION): Likewise.
5404         (UNDERFLOW_EXCEPTION): Likewise.
5405         (INEXACT_EXCEPTION): Likewise.
5406         (INVALID_EXCEPTION_OK): Likewise.
5407         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5408         (OVERFLOW_EXCEPTION_OK): Likewise.
5409         (UNDERFLOW_EXCEPTION_OK): Likewise.
5410         (NO_INEXACT_EXCEPTION): Likewise.
5411         (EXCEPTIONS_OK): Likewise.
5412         (IGNORE_ZERO_INF_SIGN): Likewise.
5413         (TEST_NAN_SIGN): Likewise.
5414         (TEST_NAN_PAYLOAD): Likewise.
5415         (NO_TEST_INLINE): Likewise.
5416         (XFAIL_TEST): Likewise.
5417         (ERRNO_UNCHANGED): Likewise.
5418         (ERRNO_EDOM): Likewise.
5419         (ERRNO_ERANGE): Likewise.
5420         (IGNORE_RESULT): Likewise.
5421         (NON_FINITE): Likewise.
5422         (TEST_SNAN): Likewise.
5423         (NO_TEST_MATHVEC): Likewise.
5424         (__CONCATX): Likewise.
5425         (TYPE_MIN): Likewise.
5426         (TYPE_TRUE_MIN): Likewise.
5427         (TYPE_MAX): Likewise.
5428         (MIN_EXP): Likewise.
5429         (MAX_EXP): Likewise.
5430         (MANT_DIG): Likewise.
5431         (FSTR_MAX): Likewise.
5432         (ulp_idx): Likewise.
5433         (qtype_str): Remove static.
5434         (TEST_COND_binary32): Remove.
5435         (TEST_COND_binary64): Likewise.
5436         (TEST_COND_binary128): Likewise.
5437         (TEST_COND_ibm128): Likewise.
5438         (TEST_COND_intel96): Likewise.
5439         (TEST_COND_m68k96): Likewise.
5440         (TEST_COND_ibm128_libgcc): Likewise.
5441         (XFAIL_IBM128_LIBGCC): Likewise.
5442         (PAYLOAD_DIG): Likewise.
5443         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5444         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5445         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5446         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5447         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5448         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5449         (TEST_COND_long32): Likewise.
5450         (TEST_COND_long64): Likewise.
5451         (TEST_COND_before_rounding): Likewise.
5452         (TEST_COND_after_rounding): Likewise.
5453         (ulps_file_name): Likewise.
5454         (ulps_file): Likewise.
5455         (output_ulps): Likewise.
5456         (output_dir): Likewise.
5457         (noErrors): Likewise.
5458         (noTests): Likewise.
5459         (noExcTests): Likewise.
5460         (noErrnoTests): Likewise.
5461         (verbose): Likewise.
5462         (output_max_error): Likewise.
5463         (output_points): Likewise.
5464         (ignore_max_ulp): Likewise.
5465         (max_error): Likewise.
5466         (real_max_error): Likewise.
5467         (imag_max_error): Likewise.
5468         (prev_max_error): Likewise.
5469         (prev_real_max_error): Likewise.
5470         (prev_imag_max_error): Likewise.
5471         (max_valid_error): Likewise.
5472         (TYPE_DECIMAL_DIG): Likewise.
5473         (TYPE_HEX_DIG): Likewise.
5474         (fmt_ftostr): Likewise.
5475         (compare_ulp_data): Likewise.
5476         (find_ulps): Likewise.
5477         (init_max_error): Likewise.
5478         (set_max_error): Likewise.
5479         (print_float): Likewise.
5480         (print_screen): Likewise.
5481         (print_screen_max_error): Likewise.
5482         (update_stats): Likewise.
5483         (print_function_ulps): Likewise.
5484         (print_complex_function_ulps): Likewise.
5485         (fpstack_test): Likewise.
5486         (print_max_error): Likewise.
5487         (print_complex_max_error): Likewise.
5488         (test_single_exception): Likewise.
5489         (test_exceptions): Likewise.
5490         (test_single_errno): Likewise.
5491         (test_errno): Likewise.
5492         (ULPDIFF): Likewise.
5493         (ulp): Likewise.
5494         (check_float_internal): Likewise.
5495         (check_float): Likewise.
5496         (check_complex): Likewise.
5497         (check_int): Likewise.
5498         (check_long): Likewise.
5499         (check_bool): Likewise.
5500         (check_longlong): Likewise.
5501         (check_intmax_t): Likewise.
5502         (check_uintmax_t): Likewise.
5503         (enable_test): Likewise.
5504         (matherr): Likewise.
5505         (initialize): Likewise.
5506         (options): Likewise.
5507         (doc): Remove static.
5508         (argp): Likewise.
5509         (parse_opt): Remove.
5510         (check_ulp): Likewise.
5511         (libm_test_init): Likewise.
5512         (libm_test_finish): Likewise.
5513         * math/Makefile (libm-test-support): New variable.
5514         (test-extras): Add libm-test-support files.
5515         (extra-test-objs): Likewise.
5516         (CFLAGS-libm-test-support-float.c): New variable.
5517         (CFLAGS-libm-test-support-double.c): Likewise.
5518         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5519         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
5520         libm-test-support objects.
5522 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5524         * math/Makefile (libm-calls): Move w_exp...
5525         (libm-compat-calls-auto): Here.
5527         * math/w_expl.c: Add suffix "_compat" to filename.
5528         * sysdeps/ia64/fpu/w_expl.c: Likewise.
5529         * sysdeps/ia64/fpu/w_expf.c: Likewise.
5530         * sysdeps/ia64/fpu/w_exp.c: Likewise.
5531         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5532         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5533         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5534         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5535         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5537         * math/w_expl_compat.c: New file, copied from above.
5538         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
5539         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
5540         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
5541         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5542         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5543         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5544         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5545         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5547         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
5548         to filename.
5549         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
5551         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
5552         copied from above and adjusted for the new filenames.
5553         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5555 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5557         * math/Makefile (libm-calls): Move w_lgammaF...
5558         (libm-compat-calls-auto): Here.
5560         * math/w_lgamma.c: Add suffix "_compat2" to filename.
5561         * math/w_lgammaf.c: Likewise.
5562         * math/w_lgammal.c: Likewise.
5564         * math/w_lgamma_compat2.c: New file, copied from above.
5565         * math/w_lgammaf_compat2.c: Likewise.
5566         * math/w_lgammal_compat2.c: Likewise.
5568 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5570         * math/Makefile (libm-calls): Move w_lgammaF_r...
5571         (libm-compat-calls-auto): Here.
5573         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
5574         * math/w_lgammaf_r.c: Likewise.
5575         * math/w_lgammal_r.c: Likewise.
5576         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
5577         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
5578         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
5580         * math/w_lgamma_r_compat.c: New file, copied from above.
5581         * math/w_lgammaf_r_compat.c: Likewise.
5582         * math/w_lgammal_r_compat.c: Likewise.
5583         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
5584         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
5585         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
5587         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
5588         to filename.
5589         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
5591         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
5592         copied from above and adjusted for the new filenames.
5593         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5595 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
5597         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
5598         calculation in SYSCALL_ERROR_HANDLER().
5600 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
5602         * manual/contrib.texi: Fix typo.
5604 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5606         [BZ #21109]
5607         * elf/dl-tunable-types.h (tunable_callback_t): Accept
5608         tunable_val_t as argument.
5609         * elf/dl-tunables.c (__tunable_set_val): Add comment.
5610         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
5611         argument.
5612         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
5614 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
5616         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
5617         Add PTRACE_EVENT_STOP.
5618         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5619         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5620         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5621         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5622         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5623         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5625 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
5627         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5628         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5629         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5630         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5631         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5632         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5633         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5634         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5635         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5636         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5638         [BZ #21112]
5639         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5640         12 bits zero.
5641         (cp_l): Update for new value of cp_h.
5642         * math/auto-libm-test-in: Add another test of pow.
5643         * math/auto-libm-test-out-pow: Regenerated.
5645 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5647         * manual/contrib.texi: Fix typo.
5649 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5651         [BZ #15998]
5652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5653         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5656 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5658         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5659         STRCHR as __strchr_power8.
5660         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5661         strlen as __strlen_power8.
5663 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5665         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5666         unaligned load for shorter strings.
5667         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5669 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5671         * math/libm-test-driver.c (flag_test_errno): New variable.
5672         (flag_test_exceptions): Likewise.
5673         (flag_test_finite): Likewise.
5674         (flag_test_inline): Likewise.
5675         (flag_test_mathvec): Likewise.
5676         (test_msg): Likewise.
5677         (ulp_idx): Likewise.
5678         (qtype_str): Likewise.
5679         (ULP_IDX): Remove macro.
5680         (QTYPE_STR): Likewise.
5681         (find_ulps): Use ulp_idx not ULP_IDX.
5682         (print_function_ulps): Use qtype_str, printed with %s, not
5683         QTYPE_STR, printed with concatentation to format string.
5684         (print_complex_function_ulps): Likewise.
5685         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
5686         (test_errno): Use flag_test_errno not TEST_ERRNO.
5687         (enable_test): Use flag_test_inline, flag_test_finite and
5688         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
5689         TEST_MATHVEC.
5690         (libm_test_init): New function.  Factored out of main.
5691         (libm_test_finish): Likewise.
5692         (main): Call libm_test_init and libm_test_finish and move most
5693         code to those functions.
5695         * math/libm-test-driver.c (STRX): New macro.
5696         (STR): Likewise.
5697         (STR_FLOAT): Likewise.
5698         (STR_VEC_LEN): Likewise.
5699         (TEST_MSG): Likewise.  Define here instead of expecting to be
5700         defined by including file.
5701         * math/test-double-finite.c (TEST_MSG): Remove macro.
5702         * math/test-double-vlen2.h (TEST_MSG): Likewise.
5703         * math/test-double-vlen4.h (TEST_MSG): Likewise.
5704         * math/test-double-vlen8.h (TEST_MSG): Likewise.
5705         * math/test-double.c (TEST_MSG): Likewise.
5706         * math/test-float-finite.c (TEST_MSG): Likewise.
5707         * math/test-float-vlen16.h (TEST_MSG): Likewise.
5708         * math/test-float-vlen4.h (TEST_MSG): Likewise.
5709         * math/test-float-vlen8.h (TEST_MSG): Likewise.
5710         * math/test-float.c (TEST_MSG): Likewise.
5711         * math/test-idouble.c (TEST_MSG): Likewise.
5712         * math/test-ifloat.c (TEST_MSG): Likewise.
5713         * math/test-ildouble.c (TEST_MSG): Likewise.
5714         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
5715         * math/test-ldouble.c (TEST_MSG): Likewise.
5717         * math/libm-test.inc: Move all tests of individual functions to
5718         libm-test-*.inc and #include libm-test-*.c files.
5719         (acos_test_data): Remove.
5720         (acos_test): Likewise.
5721         (acosh_test_data): Likewise.
5722         (acosh_test): Likewise.
5723         (asin_test_data): Likewise.
5724         (asin_test): Likewise.
5725         (asinh_test_data): Likewise.
5726         (asinh_test): Likewise.
5727         (atan_test_data): Likewise.
5728         (atan_test): Likewise.
5729         (atanh_test_data): Likewise.
5730         (atanh_test): Likewise.
5731         (atan2_test_data): Likewise.
5732         (atan2_test): Likewise.
5733         (cabs_test_data): Likewise.
5734         (cabs_test): Likewise.
5735         (cacos_test_data): Likewise.
5736         (cacos_test): Likewise.
5737         (cacosh_test_data): Likewise.
5738         (cacosh_test): Likewise.
5739         (canonicalize_test_data): Likewise.
5740         (canonicalize_test): Likewise.
5741         (carg_test_data): Likewise.
5742         (carg_test): Likewise.
5743         (casin_test_data): Likewise.
5744         (casin_test): Likewise.
5745         (casinh_test_data): Likewise.
5746         (casinh_test): Likewise.
5747         (catan_test_data): Likewise.
5748         (catan_test): Likewise.
5749         (catanh_test_data): Likewise.
5750         (catanh_test): Likewise.
5751         (cbrt_test_data): Likewise.
5752         (cbrt_test): Likewise.
5753         (ccos_test_data): Likewise.
5754         (ccos_test): Likewise.
5755         (ccosh_test_data): Likewise.
5756         (ccosh_test): Likewise.
5757         (ceil_test_data): Likewise.
5758         (ceil_test): Likewise.
5759         (cexp_test_data): Likewise.
5760         (cexp_test): Likewise.
5761         (cimag_test_data): Likewise.
5762         (cimag_test): Likewise.
5763         (clog_test_data): Likewise.
5764         (clog_test): Likewise.
5765         (clog10_test_data): Likewise.
5766         (clog10_test): Likewise.
5767         (conj_test_data): Likewise.
5768         (conj_test): Likewise.
5769         (copysign_test_data): Likewise.
5770         (copysign_test): Likewise.
5771         (cos_test_data): Likewise.
5772         (cos_test): Likewise.
5773         (cosh_test_data): Likewise.
5774         (cosh_test): Likewise.
5775         (cpow_test_data): Likewise.
5776         (cpow_test): Likewise.
5777         (cproj_test_data): Likewise.
5778         (cproj_test): Likewise.
5779         (creal_test_data): Likewise.
5780         (creal_test): Likewise.
5781         (csin_test_data): Likewise.
5782         (csin_test): Likewise.
5783         (csinh_test_data): Likewise.
5784         (csinh_test): Likewise.
5785         (csqrt_test_data): Likewise.
5786         (csqrt_test): Likewise.
5787         (ctan_test_data): Likewise.
5788         (ctan_test): Likewise.
5789         (ctanh_test_data): Likewise.
5790         (ctanh_test): Likewise.
5791         (erf_test_data): Likewise.
5792         (erf_test): Likewise.
5793         (erfc_test_data): Likewise.
5794         (erfc_test): Likewise.
5795         (exp_test_data): Likewise.
5796         (exp_test): Likewise.
5797         (exp10_test_data): Likewise.
5798         (exp10_test): Likewise.
5799         (pow10_test): Likewise.
5800         (exp2_test_data): Likewise.
5801         (exp2_test): Likewise.
5802         (expm1_test_data): Likewise.
5803         (expm1_test): Likewise.
5804         (fabs_test_data): Likewise.
5805         (fabs_test): Likewise.
5806         (fdim_test_data): Likewise.
5807         (fdim_test): Likewise.
5808         (floor_test_data): Likewise.
5809         (floor_test): Likewise.
5810         (fma_test_data): Likewise.
5811         (fma_test): Likewise.
5812         (fmax_test_data): Likewise.
5813         (fmax_test): Likewise.
5814         (fmaxmag_test_data): Likewise.
5815         (fmaxmag_test): Likewise.
5816         (fmin_test_data): Likewise.
5817         (fmin_test): Likewise.
5818         (fminmag_test_data): Likewise.
5819         (fminmag_test): Likewise.
5820         (fmod_test_data): Likewise.
5821         (fmod_test): Likewise.
5822         (fpclassify_test_data): Likewise.
5823         (fpclassify_test): Likewise.
5824         (frexp_test_data): Likewise.
5825         (frexp_test): Likewise.
5826         (fromfp_test_data): Likewise.
5827         (fromfp_test): Likewise.
5828         (fromfpx_test_data): Likewise.
5829         (fromfpx_test): Likewise.
5830         (getpayload_test_data): Likewise.
5831         (getpayload_test): Likewise.
5832         (hypot_test_data): Likewise.
5833         (hypot_test): Likewise.
5834         (ilogb_test_data): Likewise.
5835         (ilogb_test): Likewise.
5836         (iscanonical_test_data): Likewise.
5837         (iscanonical_test): Likewise.
5838         (iseqsig_test_data): Likewise.
5839         (iseqsig_test): Likewise.
5840         (isfinite_test_data): Likewise.
5841         (isfinite_test): Likewise.
5842         (finite_test): Likewise.
5843         (isgreater_test_data): Likewise.
5844         (isgreater_test): Likewise.
5845         (isgreaterequal_test_data): Likewise.
5846         (isgreaterequal_test): Likewise.
5847         (isinf_test_data): Likewise.
5848         (isinf_test): Likewise.
5849         (isless_test_data): Likewise.
5850         (isless_test): Likewise.
5851         (islessequal_test_data): Likewise.
5852         (islessequal_test): Likewise.
5853         (islessgreater_test_data): Likewise.
5854         (islessgreater_test): Likewise.
5855         (isnan_test_data): Likewise.
5856         (isnan_test): Likewise.
5857         (isnormal_test_data): Likewise.
5858         (isnormal_test): Likewise.
5859         (issignaling_test_data): Likewise.
5860         (issignaling_test): Likewise.
5861         (issubnormal_test_data): Likewise.
5862         (issubnormal_test): Likewise.
5863         (isunordered_test_data): Likewise.
5864         (isunordered_test): Likewise.
5865         (iszero_test_data): Likewise.
5866         (iszero_test): Likewise.
5867         (j0_test_data): Likewise.
5868         (j0_test): Likewise.
5869         (j1_test_data): Likewise.
5870         (j1_test): Likewise.
5871         (jn_test_data): Likewise.
5872         (jn_test): Likewise.
5873         (lgamma_test_data): Likewise.
5874         (lgamma_test): Likewise.
5875         (gamma_test): Likewise.
5876         (llogb_test_data): Likewise.
5877         (llogb_test): Likewise.
5878         (lrint_test_data): Likewise.
5879         (lrint_test): Likewise.
5880         (llrint_test_data): Likewise.
5881         (llrint_test): Likewise.
5882         (log_test_data): Likewise.
5883         (log_test): Likewise.
5884         (log10_test_data): Likewise.
5885         (log10_test): Likewise.
5886         (log1p_test_data): Likewise.
5887         (log1p_test): Likewise.
5888         (log2_test_data): Likewise.
5889         (log2_test): Likewise.
5890         (logb_test_data): Likewise.
5891         (logb_test): Likewise.
5892         (lround_test_data): Likewise.
5893         (lround_test): Likewise.
5894         (llround_test_data): Likewise.
5895         (llround_test): Likewise.
5896         (modf_test_data): Likewise.
5897         (modf_test): Likewise.
5898         (nearbyint_test_data): Likewise.
5899         (nearbyint_test): Likewise.
5900         (nextafter_test_data): Likewise.
5901         (nextafter_test): Likewise.
5902         (nextup_test_data): Likewise.
5903         (nextup_test): Likewise.
5904         (nextdown_test_data): Likewise.
5905         (nextdown_test): Likewise.
5906         (nexttoward_test_data): Likewise.
5907         (nexttoward_test): Likewise.
5908         (pow_test_data): Likewise.
5909         (pow_test): Likewise.
5910         (remainder_test_data): Likewise.
5911         (remainder_test): Likewise.
5912         (drem_test): Likewise.
5913         (remquo_test_data): Likewise.
5914         (remquo_test): Likewise.
5915         (rint_test_data): Likewise.
5916         (rint_test): Likewise.
5917         (round_test_data): Likewise.
5918         (round_test): Likewise.
5919         (roundeven_test_data): Likewise.
5920         (roundeven_test): Likewise.
5921         (scalb_test_data): Likewise.
5922         (scalb_test): Likewise.
5923         (scalbn_test_data): Likewise.
5924         (scalbn_test): Likewise.
5925         (ldexp_test): Likewise.
5926         (scalbln_test_data): Likewise.
5927         (scalbln_test): Likewise.
5928         (setpayload_test_data): Likewise.
5929         (setpayload_test): Likewise.
5930         (setpayloadsig_test_data): Likewise.
5931         (setpayloadsig_test): Likewise.
5932         (signbit_test_data): Likewise.
5933         (signbit_test): Likewise.
5934         (sin_test_data): Likewise.
5935         (sin_test): Likewise.
5936         (sincos_test_data): Likewise.
5937         (sincos_test): Likewise.
5938         (sinh_test_data): Likewise.
5939         (sinh_test): Likewise.
5940         (sqrt_test_data): Likewise.
5941         (sqrt_test): Likewise.
5942         (tan_test_data): Likewise.
5943         (tan_test): Likewise.
5944         (tanh_test_data): Likewise.
5945         (tanh_test): Likewise.
5946         (tgamma_test_data): Likewise.
5947         (tgamma_test): Likewise.
5948         (totalorder_test_data): Likewise.
5949         (totalorder_test): Likewise.
5950         (totalordermag_test_data): Likewise.
5951         (totalordermag_test): Likewise.
5952         (trunc_test_data): Likewise.
5953         (trunc_test): Likewise.
5954         (ufromfp_test_data): Likewise.
5955         (ufromfp_test): Likewise.
5956         (ufromfpx_test_data): Likewise.
5957         (ufromfpx_test): Likewise.
5958         (y0_test_data): Likewise.
5959         (y0_test): Likewise.
5960         (y1_test_data): Likewise.
5961         (y1_test): Likewise.
5962         (yn_test_data): Likewise.
5963         (yn_test): Likewise.
5964         (significand_test_data): Likewise.
5965         (significand_test): Likewise.
5966         * math/Makefile (auto-libm-test-out-files): Remove variable.
5967         (libm-test-funcs-noauto): New variable.
5968         (libm-test-funcs-all): Likewise.
5969         (libm-test-c-auto): Likewise.
5970         (libm-test-c-noauto): Likewise.
5971         (libm-tests-generated): Add $(libm-test-c-auto) and
5972         $(libm-test-c-noauto).
5973         (generated): Do not add auto-libm-test-out.
5974         (libm-test-c-auto-obj): New variable.
5975         (libm-test-c-noauto-obj): Likewise.
5976         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
5977         ($(libm-test-c-noauto-obj)): New static pattern rule.
5978         ($(libm-test-c-auto-obj)): Likewise.
5979         (libm-test-incs): New variable.
5980         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
5981         and pass it to gen-libm-have-vector-test.sh.
5982         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
5983         be passed on command line.
5984         * math/libm-test-acos.inc: New file.  Content from
5985         math/libm-test.inc.
5986         * math/libm-test-acosh.inc: Likewise.
5987         * math/libm-test-asin.inc: Likewise.
5988         * math/libm-test-asinh.inc: Likewise.
5989         * math/libm-test-atan.inc: Likewise.
5990         * math/libm-test-atan2.inc: Likewise.
5991         * math/libm-test-atanh.inc: Likewise.
5992         * math/libm-test-cabs.inc: Likewise.
5993         * math/libm-test-cacos.inc: Likewise.
5994         * math/libm-test-cacosh.inc: Likewise.
5995         * math/libm-test-canonicalize.inc: Likewise.
5996         * math/libm-test-carg.inc: Likewise.
5997         * math/libm-test-casin.inc: Likewise.
5998         * math/libm-test-casinh.inc: Likewise.
5999         * math/libm-test-catan.inc: Likewise.
6000         * math/libm-test-catanh.inc: Likewise.
6001         * math/libm-test-cbrt.inc: Likewise.
6002         * math/libm-test-ccos.inc: Likewise.
6003         * math/libm-test-ccosh.inc: Likewise.
6004         * math/libm-test-ceil.inc: Likewise.
6005         * math/libm-test-cexp.inc: Likewise.
6006         * math/libm-test-cimag.inc: Likewise.
6007         * math/libm-test-clog.inc: Likewise.
6008         * math/libm-test-clog10.inc: Likewise.
6009         * math/libm-test-conj.inc: Likewise.
6010         * math/libm-test-copysign.inc: Likewise.
6011         * math/libm-test-cos.inc: Likewise.
6012         * math/libm-test-cosh.inc: Likewise.
6013         * math/libm-test-cpow.inc: Likewise.
6014         * math/libm-test-cproj.inc: Likewise.
6015         * math/libm-test-creal.inc: Likewise.
6016         * math/libm-test-csin.inc: Likewise.
6017         * math/libm-test-csinh.inc: Likewise.
6018         * math/libm-test-csqrt.inc: Likewise.
6019         * math/libm-test-ctan.inc: Likewise.
6020         * math/libm-test-ctanh.inc: Likewise.
6021         * math/libm-test-erf.inc: Likewise.
6022         * math/libm-test-erfc.inc: Likewise.
6023         * math/libm-test-exp.inc: Likewise.
6024         * math/libm-test-exp10.inc: Likewise.
6025         * math/libm-test-exp2.inc: Likewise.
6026         * math/libm-test-expm1.inc: Likewise.
6027         * math/libm-test-fabs.inc: Likewise.
6028         * math/libm-test-fdim.inc: Likewise.
6029         * math/libm-test-floor.inc: Likewise.
6030         * math/libm-test-fma.inc: Likewise.
6031         * math/libm-test-fmax.inc: Likewise.
6032         * math/libm-test-fmaxmag.inc: Likewise.
6033         * math/libm-test-fmin.inc: Likewise.
6034         * math/libm-test-fminmag.inc: Likewise.
6035         * math/libm-test-fmod.inc: Likewise.
6036         * math/libm-test-fpclassify.inc: Likewise.
6037         * math/libm-test-frexp.inc: Likewise.
6038         * math/libm-test-fromfp.inc: Likewise.
6039         * math/libm-test-fromfpx.inc: Likewise.
6040         * math/libm-test-getpayload.inc: Likewise.
6041         * math/libm-test-hypot.inc: Likewise.
6042         * math/libm-test-ilogb.inc: Likewise.
6043         * math/libm-test-iscanonical.inc: Likewise.
6044         * math/libm-test-iseqsig.inc: Likewise.
6045         * math/libm-test-isfinite.inc: Likewise.
6046         * math/libm-test-isgreater.inc: Likewise.
6047         * math/libm-test-isgreaterequal.inc: Likewise.
6048         * math/libm-test-isinf.inc: Likewise.
6049         * math/libm-test-isless.inc: Likewise.
6050         * math/libm-test-islessequal.inc: Likewise.
6051         * math/libm-test-islessgreater.inc: Likewise.
6052         * math/libm-test-isnan.inc: Likewise.
6053         * math/libm-test-isnormal.inc: Likewise.
6054         * math/libm-test-issignaling.inc: Likewise.
6055         * math/libm-test-issubnormal.inc: Likewise.
6056         * math/libm-test-isunordered.inc: Likewise.
6057         * math/libm-test-iszero.inc: Likewise.
6058         * math/libm-test-j0.inc: Likewise.
6059         * math/libm-test-j1.inc: Likewise.
6060         * math/libm-test-jn.inc: Likewise.
6061         * math/libm-test-lgamma.inc: Likewise.
6062         * math/libm-test-llogb.inc: Likewise.
6063         * math/libm-test-llrint.inc: Likewise.
6064         * math/libm-test-llround.inc: Likewise.
6065         * math/libm-test-log.inc: Likewise.
6066         * math/libm-test-log10.inc: Likewise.
6067         * math/libm-test-log1p.inc: Likewise.
6068         * math/libm-test-log2.inc: Likewise.
6069         * math/libm-test-logb.inc: Likewise.
6070         * math/libm-test-lrint.inc: Likewise.
6071         * math/libm-test-lround.inc: Likewise.
6072         * math/libm-test-modf.inc: Likewise.
6073         * math/libm-test-nearbyint.inc: Likewise.
6074         * math/libm-test-nextafter.inc: Likewise.
6075         * math/libm-test-nextdown.inc: Likewise.
6076         * math/libm-test-nexttoward.inc: Likewise.
6077         * math/libm-test-nextup.inc: Likewise.
6078         * math/libm-test-pow.inc: Likewise.
6079         * math/libm-test-remainder.inc: Likewise.
6080         * math/libm-test-remquo.inc: Likewise.
6081         * math/libm-test-rint.inc: Likewise.
6082         * math/libm-test-round.inc: Likewise.
6083         * math/libm-test-roundeven.inc: Likewise.
6084         * math/libm-test-scalb.inc: Likewise.
6085         * math/libm-test-scalbln.inc: Likewise.
6086         * math/libm-test-scalbn.inc: Likewise.
6087         * math/libm-test-setpayload.inc: Likewise.
6088         * math/libm-test-setpayloadsig.inc: Likewise.
6089         * math/libm-test-signbit.inc: Likewise.
6090         * math/libm-test-significand.inc: Likewise.
6091         * math/libm-test-sin.inc: Likewise.
6092         * math/libm-test-sincos.inc: Likewise.
6093         * math/libm-test-sinh.inc: Likewise.
6094         * math/libm-test-sqrt.inc: Likewise.
6095         * math/libm-test-tan.inc: Likewise.
6096         * math/libm-test-tanh.inc: Likewise.
6097         * math/libm-test-tgamma.inc: Likewise.
6098         * math/libm-test-totalorder.inc: Likewise.
6099         * math/libm-test-totalordermag.inc: Likewise.
6100         * math/libm-test-trunc.inc: Likewise.
6101         * math/libm-test-ufromfp.inc: Likewise.
6102         * math/libm-test-ufromfpx.inc: Likewise.
6103         * math/libm-test-y0.inc: Likewise.
6104         * math/libm-test-y1.inc: Likewise.
6105         * math/libm-test-yn.inc: Likewise.
6106         * math/README.libm-test: Update.
6108         * math/gen-auto-libm-tests.c: Update comment about use of program.
6109         (generate_output): Add argument FUNCTION.
6110         (main): Require extra argument.  Pass function name to
6111         generate_output.
6112         * math/Makefile (generated): Add auto-libm-test-out.
6113         (libm-test-funcs-auto): New variable.
6114         (auto-libm-test-out-files): New variable.
6115         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6116         Concatenate those files to form $(objpfx)auto-libm-test-out and
6117         use it as input to gen-libm-test.pl.
6118         * math/README.libm-test: Update.
6119         * math/auto-libm-test-out: Remove.
6120         * math/auto-libm-test-out-acos: New generated file.
6121         * math/auto-libm-test-out-acosh: Likewise.
6122         * math/auto-libm-test-out-asin: Likewise.
6123         * math/auto-libm-test-out-asinh: Likewise.
6124         * math/auto-libm-test-out-atan: Likewise.
6125         * math/auto-libm-test-out-atan2: Likewise.
6126         * math/auto-libm-test-out-atanh: Likewise.
6127         * math/auto-libm-test-out-cabs: Likewise.
6128         * math/auto-libm-test-out-carg: Likewise.
6129         * math/auto-libm-test-out-cbrt: Likewise.
6130         * math/auto-libm-test-out-ccos: Likewise.
6131         * math/auto-libm-test-out-ccosh: Likewise.
6132         * math/auto-libm-test-out-cexp: Likewise.
6133         * math/auto-libm-test-out-clog: Likewise.
6134         * math/auto-libm-test-out-clog10: Likewise.
6135         * math/auto-libm-test-out-cos: Likewise.
6136         * math/auto-libm-test-out-cosh: Likewise.
6137         * math/auto-libm-test-out-cpow: Likewise.
6138         * math/auto-libm-test-out-csin: Likewise.
6139         * math/auto-libm-test-out-csinh: Likewise.
6140         * math/auto-libm-test-out-csqrt: Likewise.
6141         * math/auto-libm-test-out-ctan: Likewise.
6142         * math/auto-libm-test-out-ctanh: Likewise.
6143         * math/auto-libm-test-out-erf: Likewise.
6144         * math/auto-libm-test-out-erfc: Likewise.
6145         * math/auto-libm-test-out-exp: Likewise.
6146         * math/auto-libm-test-out-exp10: Likewise.
6147         * math/auto-libm-test-out-exp2: Likewise.
6148         * math/auto-libm-test-out-expm1: Likewise.
6149         * math/auto-libm-test-out-fma: Likewise.
6150         * math/auto-libm-test-out-hypot: Likewise.
6151         * math/auto-libm-test-out-j0: Likewise.
6152         * math/auto-libm-test-out-j1: Likewise.
6153         * math/auto-libm-test-out-jn: Likewise.
6154         * math/auto-libm-test-out-lgamma: Likewise.
6155         * math/auto-libm-test-out-log: Likewise.
6156         * math/auto-libm-test-out-log10: Likewise.
6157         * math/auto-libm-test-out-log1p: Likewise.
6158         * math/auto-libm-test-out-log2: Likewise.
6159         * math/auto-libm-test-out-pow: Likewise.
6160         * math/auto-libm-test-out-sin: Likewise.
6161         * math/auto-libm-test-out-sincos: Likewise.
6162         * math/auto-libm-test-out-sinh: Likewise.
6163         * math/auto-libm-test-out-sqrt: Likewise.
6164         * math/auto-libm-test-out-tan: Likewise.
6165         * math/auto-libm-test-out-tanh: Likewise.
6166         * math/auto-libm-test-out-tgamma: Likewise.
6167         * math/auto-libm-test-out-y0: Likewise.
6168         * math/auto-libm-test-out-y1: Likewise.
6169         * math/auto-libm-test-out-yn: Likewise.
6171         * math/Makefile (generated): Do not include libm-test.stmp.
6172         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6173         on $(objpfx)libm-test.stmp.
6174         ($(objpfx)libm-test.stmp): Remove rule.
6175         ($(objpfx)libm-test-ulps.h): New rule.
6176         ($(objpfx)libm-test.c): Likewise.
6177         ($(objpfx)libm-have-vector-test.h): Likewise.
6178         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6179         individual generated files, not libm-test.stmp.
6181         * math/gen-libm-test.pl ($output_dir): Remove variable.
6182         ($srcdir): Likewise.
6183         ($opt_a): New variable.
6184         ($opt_c): Likewise.
6185         ($opt_C): Likewise.
6186         ($opt_H): Likewise.
6187         (-n): Make option take argument and use it as NewUlps output.
6188         (-a): New option.  Use its argument for auto-libm-test-out input.
6189         (-c): New option.  Use its argument for libm-test.inc input.
6190         (-C): New option.  Use its argument for libm-test.c output.
6191         (-H): New option.  Use its argument for libm-test-ulps.h output.
6192         (top level): Only process inputs needed to generate outputs
6193         specified by command-line options.  Only generate outputs
6194         specified by command-line options.
6195         * math/README.libm-test: Update example gen-libm-test.pl command.
6196         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6197         commands.
6198         (regen-ulps): Likewise.
6200 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
6202         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6203         * include/string.h (index): Remove define.
6204         (rindex): Likewise.
6205         * misc/getttyent.c (__getttyent): Rename index to strchr.
6206         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6207         * sunrpc/rpc_main.c (mkfile_output): Likewise.
6209 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6211         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
6212         * math/libm-test.inc: Move all contents, other than tests of
6213         individual functions, to libm-test-driver.c.
6214         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6215         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6216         [!FE_UPWARD] (FE_UPWARD): Likewise.
6217         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6218         (NO_EXCEPTION): Likewise.
6219         (INVALID_EXCEPTION): Likewise.
6220         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6221         (OVERFLOW_EXCEPTION): Likewise.
6222         (UNDERFLOW_EXCEPTION): Likewise.
6223         (INEXACT_EXCEPTION): Likewise.
6224         (INVALID_EXCEPTION_OK): Likewise.
6225         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6226         (OVERFLOW_EXCEPTION_OK): Likewise.
6227         (UNDERFLOW_EXCEPTION_OK): Likewise.
6228         (NO_INEXACT_EXCEPTION): Likewise.
6229         (EXCEPTIONS_OK): Likewise.
6230         (IGNORE_ZERO_INF_SIGN): Likewise.
6231         (TEST_NAN_SIGN): Likewise.
6232         (TEST_NAN_PAYLOAD): Likewise.
6233         (NO_TEST_INLINE): Likewise.
6234         (XFAIL_TEST): Likewise.
6235         (ERRNO_UNCHANGED): Likewise.
6236         (ERRNO_EDOM): Likewise.
6237         (ERRNO_ERANGE): Likewise.
6238         (IGNORE_RESULT): Likewise.
6239         (NON_FINITE): Likewise.
6240         (TEST_SNAN): Likewise.
6241         (NO_TEST_MATHVEC): Likewise.
6242         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6243         (__CONCATX): Likewise.
6244         (TYPE_MIN): Likewise.
6245         (TYPE_TRUE_MIN): Likewise.
6246         (TYPE_MAX): Likewise.
6247         (MIN_EXP): Likewise.
6248         (MAX_EXP): Likewise.
6249         (MANT_DIG): Likewise.
6250         (FSTR_MAX): Likewise.
6251         (ULP_IDX): Likewise.
6252         (QTYPE_STR): Likewise.
6253         (TEST_COND_binary32): Likewise.
6254         (TEST_COND_binary64): Likewise.
6255         (TEST_COND_binary128): Likewise.
6256         (TEST_COND_ibm128): Likewise.
6257         (TEST_COND_intel96): Likewise.
6258         (TEST_COND_m68k96): Likewise.
6259         (TEST_COND_ibm128_libgcc): Likewise.
6260         (XFAIL_IBM128_LIBGCC): Likewise.
6261         (PAYLOAD_DIG): Likewise.
6262         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6263         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6264         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6265         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6266         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6267         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6268         (TEST_COND_long32): Likewise.
6269         (TEST_COND_long64): Likewise.
6270         (TEST_COND_before_rounding): Likewise.
6271         (TEST_COND_after_rounding): Likewise.
6272         (lit_pi_3_m_4_d): Likewise.
6273         (lit_pi_3_m_4_ln10_m_d): Likewise.
6274         (lit_pi_2_ln10_m_d): Likewise.
6275         (lit_pi_4_ln10_m_d): Likewise.
6276         (lit_pi_ln10_d): Likewise.
6277         (lit_pi_2_d): Likewise.
6278         (lit_pi_4_d): Likewise.
6279         (lit_pi): Likewise.
6280         (lit_e): Likewise.
6281         (ulps_file_name): Likewise.
6282         (ulps_file): Likewise.
6283         (output_ulps): Likewise.
6284         (output_dir): Likewise.
6285         (noErrors): Likewise.
6286         (noTests): Likewise.
6287         (noExcTests): Likewise.
6288         (noErrnoTests): Likewise.
6289         (verbose): Likewise.
6290         (output_max_error): Likewise.
6291         (output_points): Likewise.
6292         (ignore_max_ulp): Likewise.
6293         (plus_zero): Likewise.
6294         (minus_zero): Likewise.
6295         (plus_infty): Likewise.
6296         (minus_infty): Likewise.
6297         (qnan_value_pl): Likewise.
6298         (qnan_value): Likewise.
6299         (snan_value_pl): Likewise.
6300         (snan_value): Likewise.
6301         (max_value): Likewise.
6302         (min_value): Likewise.
6303         (min_subnorm_value): Likewise.
6304         (snan_value_ld): Likewise.
6305         (max_error): Likewise.
6306         (real_max_error): Likewise.
6307         (imag_max_error): Likewise.
6308         (prev_max_error): Likewise.
6309         (prev_real_max_error): Likewise.
6310         (prev_imag_max_error): Likewise.
6311         (max_valid_error): Likewise.
6312         (TYPE_DECIMAL_DIG): Likewise.
6313         (TYPE_HEX_DIG): Likewise.
6314         (fmt_ftostr): Likewise.
6315         (compare_ulp_data): Likewise.
6316         (find_ulps): Likewise.
6317         (init_max_error): Likewise.
6318         (set_max_error): Likewise.
6319         (print_float): Likewise.
6320         (print_screen): Likewise.
6321         (print_screen_max_error): Likewise.
6322         (update_stats): Likewise.
6323         (print_function_ulps): Likewise.
6324         (print_complex_function_ulps): Likewise.
6325         (fpstack_test): Likewise.
6326         (print_max_error): Likewise.
6327         (print_complex_max_error): Likewise.
6328         (test_single_exception): Likewise.
6329         (test_exceptions): Likewise.
6330         (test_single_errno): Likewise.
6331         (test_errno): Likewise.
6332         (ULPDIFF): Likewise.
6333         (ulp): Likewise.
6334         (check_float_internal): Likewise.
6335         (check_float): Likewise.
6336         (check_complex): Likewise.
6337         (check_int): Likewise.
6338         (check_long): Likewise.
6339         (check_bool): Likewise.
6340         (check_longlong): Likewise.
6341         (check_intmax_t): Likewise.
6342         (check_uintmax_t): Likewise.
6343         (enable_test): Likewise.
6344         (struct test_f_f_data): Likewise.
6345         (struct test_ff_f_data): Likewise.
6346         (struct test_fj_f_data): Likewise.
6347         (struct test_fi_f_data): Likewise.
6348         (struct test_fl_f_data): Likewise.
6349         (struct test_if_f_data): Likewise.
6350         (struct test_fff_f_data): Likewise.
6351         (struct test_fiu_M_data): Likewise.
6352         (struct test_fiu_U_data): Likewise.
6353         (struct test_c_f_data): Likewise.
6354         (struct test_f_f1_data): Likewise.
6355         (struct test_fF_f1_data): Likewise.
6356         (struct test_ffI_f1_data): Likewise.
6357         (struct test_c_c_data): Likewise.
6358         (struct test_cc_c_data): Likewise.
6359         (struct test_f_i_data): Likewise.
6360         (struct test_ff_i_data): Likewise.
6361         (struct test_f_l_data): Likewise.
6362         (struct test_f_L_data): Likewise.
6363         (struct test_fFF_11_data): Likewise.
6364         (struct test_Ff_b1_data): Likewise.
6365         (IF_ROUND_INIT_): Likewise.
6366         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6367         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6368         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6369         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6370         (ROUND_RESTORE_): Likewise.
6371         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6372         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6373         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6374         (ROUND_RESTORE_FE_UPWARD): Likewise.
6375         (RM_): Likewise.
6376         (RM_FE_DOWNWARD): Likewise.
6377         (RM_FE_TONEAREST): Likewise.
6378         (RM_FE_TOWARDZERO): Likewise.
6379         (RM_FE_UPWARD): Likewise.
6380         (COMMON_TEST_SETUP): Likewise.
6381         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6382         (COMMON_TEST_CLEANUP): Likewise.
6383         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6384         (RUN_TEST_f_f): Likewise.
6385         (RUN_TEST_LOOP_f_f): Likewise.
6386         (RUN_TEST_fp_f): Likewise.
6387         (RUN_TEST_LOOP_fp_f): Likewise.
6388         (RUN_TEST_2_f): Likewise.
6389         (RUN_TEST_LOOP_2_f): Likewise.
6390         (RUN_TEST_ff_f): Likewise.
6391         (RUN_TEST_LOOP_ff_f): Likewise.
6392         (RUN_TEST_LOOP_fj_f): Likewise.
6393         (RUN_TEST_fi_f): Likewise.
6394         (RUN_TEST_LOOP_fi_f): Likewise.
6395         (RUN_TEST_fl_f): Likewise.
6396         (RUN_TEST_LOOP_fl_f): Likewise.
6397         (RUN_TEST_if_f): Likewise.
6398         (RUN_TEST_LOOP_if_f): Likewise.
6399         (RUN_TEST_fff_f): Likewise.
6400         (RUN_TEST_LOOP_fff_f): Likewise.
6401         (RUN_TEST_fiu_M): Likewise.
6402         (RUN_TEST_LOOP_fiu_M): Likewise.
6403         (RUN_TEST_fiu_U): Likewise.
6404         (RUN_TEST_LOOP_fiu_U): Likewise.
6405         (RUN_TEST_c_f): Likewise.
6406         (RUN_TEST_LOOP_c_f): Likewise.
6407         (RUN_TEST_f_f1): Likewise.
6408         (RUN_TEST_LOOP_f_f1): Likewise.
6409         (RUN_TEST_fF_f1): Likewise.
6410         (RUN_TEST_LOOP_fF_f1): Likewise.
6411         (RUN_TEST_fI_f1): Likewise.
6412         (RUN_TEST_LOOP_fI_f1): Likewise.
6413         (RUN_TEST_ffI_f1_mod8): Likewise.
6414         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
6415         (RUN_TEST_Ff_b1): Likewise.
6416         (RUN_TEST_LOOP_Ff_b1): Likewise.
6417         (RUN_TEST_Ffp_b1): Likewise.
6418         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6419         (RUN_TEST_c_c): Likewise.
6420         (RUN_TEST_LOOP_c_c): Likewise.
6421         (RUN_TEST_cc_c): Likewise.
6422         (RUN_TEST_LOOP_cc_c): Likewise.
6423         (RUN_TEST_f_i): Likewise.
6424         (RUN_TEST_LOOP_f_i): Likewise.
6425         (RUN_TEST_f_i_tg): Likewise.
6426         (RUN_TEST_LOOP_f_i_tg): Likewise.
6427         (RUN_TEST_ff_b): Likewise.
6428         (RUN_TEST_LOOP_ff_b): Likewise.
6429         (RUN_TEST_ff_i_tg): Likewise.
6430         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6431         (RUN_TEST_f_b): Likewise.
6432         (RUN_TEST_LOOP_f_b): Likewise.
6433         (RUN_TEST_f_b_tg): Likewise.
6434         (RUN_TEST_LOOP_f_b_tg): Likewise.
6435         (RUN_TEST_f_l): Likewise.
6436         (RUN_TEST_LOOP_f_l): Likewise.
6437         (RUN_TEST_f_L): Likewise.
6438         (RUN_TEST_LOOP_f_L): Likewise.
6439         (RUN_TEST_fFF_11): Likewise.
6440         (RUN_TEST_LOOP_fFF_11): Likewise.
6441         (VEC_SUFF): Likewise.
6442         (STR_CONCAT): Likewise.
6443         (STR_CON3): Likewise.
6444         (HAVE_VECTOR): Likewise.
6445         (START): Likewise.
6446         (END): Likewise.
6447         (END_COMPLEX): Likewise.
6448         (ALL_RM_TEST): Likewise.
6449         (matherr): Likewise.
6450         (initialize): Likewise.
6451         (options): Likewise.
6452         (doc): Likewise.
6453         (parse_opt): Likewise.
6454         (argp): Likewise.
6455         (check_ulp): Likewise.
6456         (main): Likewise.
6457         (do_test): New function.  Call tests of individual functions
6458         previously called from main.
6460         * math/libm-test.inc: Remove comment listing functions tested and
6461         not tested.
6463 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6465         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
6466         (allocate_stack): Remove COLORING_INCREMENT usage.
6467         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
6468         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
6470 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6472         * manual/libm-err-tab.pl (@all_functions): Change to
6473         %all_functions.  Initialize as empty.
6474         (parse_ulps): Add to %all_functions based on functions found in
6475         ulps files.  Ignore results for non-default rounding modes and
6476         vector functions.
6477         (print_platforms): Use %all_platforms.
6478         * manual/math.texi (Errors in Math Functions): Document omissions
6479         from the table.
6481         * math/Makefile (before-compile): Remove.
6483 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
6485         [BZ #21075]
6486         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
6487         unused assignment.
6488         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6490 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6492         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
6493         Add __glibc_unlikely hint.
6495 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6497         [BZ #16640]
6498         * sysdeps/i386/i686/strtok.S: Remove file.
6499         * sysdeps/i386/i686/strtok_r.S: Likewise.
6500         * sysdeps/i386/strtok.S: Likewise.
6501         * sysdeps/i386/strtok_r.S: Likewise.
6502         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
6503         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
6504         * sysdeps/x86_64/strtok.S: Likewise.
6505         * sysdeps/x86_64/strtok_r.S: Likewise.
6507         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
6508         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6509         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6510         (__ASSUME_FADVISE64_AS_64_64): Define.
6511         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
6512         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
6513         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
6514         __ALIGNMENT_ARG usage.
6515         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
6516         __NR_fadvise64_64 if it is not defined.
6518 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6520         * version.h (RELEASE): Set to "development"
6521         (VERSION): Set to 2.25.90.
6522         * NEWS: Add 2.26 section.
6524         * version.h (RELEASE): Set to "stable"
6525         (VERSION): Set to 2.25.
6526         * include/features.h (__GLIBC_MINOR__): Set to 25.
6528         * manual/contrib.texi: Add more contributors from this release
6529         and past releases.
6531         * NEWS (2.25): Add list of bugs fixed.
6533         * NEWS: Add missing news items.
6535 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6537         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
6538         parent if child exited in that manner.  Print WEXITSTATUS
6539         instead of the raw status.
6540         (do_test_prep): Rename to do_test.
6541         (do_test): Return the result of run_executable_sgid.
6542         (TEST_FUNCTION_ARGV): Adjust.
6544 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
6545             Florian Weimer  <fweimer@redhat.com>
6546             Carlos O'Donell  <carlos@redhat.com>
6548         [BZ #20915]
6549         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
6550         Do not initialize DTV.
6551         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6553 2017-02-03  David S. Miller  <davem@davemloft.net>
6555         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
6556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
6558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
6560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
6562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6563         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6564         (libm-sysdep_routines): Update.
6565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
6566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
6567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
6569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6570         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
6571         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
6572         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
6573         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
6574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
6575         Likewise.
6576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
6578         Likewise.
6579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
6581         Likewise.
6582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
6584         Likewise.
6585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6587         (libm-sysdep_routines): Update.
6589 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
6591         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6592         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
6593         against unrelocated shared library.
6594         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6596 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6598         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
6599         * elf/tst-env-setuid-tunables.c
6600         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
6601         GLIBC_TUNABLES is removed in a setgid process.
6603         [BZ #21073]
6604         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
6605         * elf/dl-tunables.c (tunables_strdup): Remove.
6606         (get_next_env): Also return the previous envp.
6607         (parse_tunables): Erase tunables of category
6608         TUNABLES_SECLEVEL_SXID_ERASE.
6609         (maybe_enable_malloc_check): Make MALLOC_CHECK_
6610         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
6611         (__tunables_init)[TUNABLES_FRONTEND ==
6612         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
6613         after parsing.
6614         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
6615         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
6616         * elf/dl-tunables.h (struct _tunable): Change member is_secure
6617         to security_level.
6618         * elf/dl-tunables.list: Add security_level annotations for all
6619         tunables.
6620         * scripts/gen-tunables.awk: Recognize and generate enum values
6621         for security_level.
6622         * elf/tst-env-setuid.c: New test case.
6623         * elf/tst-env-setuid-tunables: new test case.
6624         * elf/Makefile (tests-static): Add them.
6626 2017-02-01  Richard Henderson  <rth@twiddle.net>
6628         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6629         adjusting the byte count.
6631 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6633         * conform/Makefile (linknamespace-libs): Define.
6635         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6636         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6637         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6638         operands.
6640 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6642         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6644 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6646         [BZ #21081]
6647         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6648         (L(stosb)): Add VZEROUPPER before ret.
6650 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6651             Alexey Makhalov <amakhalov@vmware.com>
6652             Florian Weimer <fweimer@redhat.com>
6654         [BZ #20116]
6655         * nptl/pthread_create.c: Document concurrency notes.
6656         Enhance thread creation notes.
6657         (create_thread): Use bool *stopped_start.
6658         (START_THREAD_DEFN): Comment ownership of PD.
6659         (__pthread_create_2_1): Add local bool stopped_start and use
6660         that instead of pd->stopped_start where appropriate.
6661         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6662         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6663         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6664         * nptl/tst-create-detached.c: New file.
6665         * nptl/Makefile (tests): Add tst-create-detached.
6666         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6667         Reference the enhanced thread creation notes.
6668         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6669         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6670         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6671         (__pthread_current_priority): Likewise.
6672         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6673         xpthread_attr_init, xpthread_attr_setdetachstate, and
6674         xpthread_attr_setstacksize.
6675         * support/xpthread_attr_destroy.c: New file.
6676         * support/xpthread_attr_init.c: New file.
6677         * support/xpthread_attr_setdetachstate.c: New file.
6678         * support/xpthread_attr_setstacksize.c: New file.
6679         * support/xthread.h: Define prototypes for xpthread_attr_destroy
6680         xpthread_attr_init, xpthread_attr_setdetachstate, and
6681         xpthread_attr_setstacksize.
6683 2017-01-27  Florian Weimer  <fweimer@redhat.com>
6685         * nptl/Makefile (tests): Add tst-robust-fork.
6686         * nptl/tst-robust-fork.c: New file.
6687         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
6688         xpthread_mutex_consistent, xpthread_mutex_destroy,
6689         xpthread_mutex_init, xpthread_mutexattr_destroy,
6690         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
6691         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
6692         xpthread_mutexattr_settype.
6693         * support/xmmap.c: New file.
6694         * support/xmunmap.c: Likewise.
6695         * support/xpthread_mutex_consistent.c: Likewise.
6696         * support/xpthread_mutex_destroy.c: Likewise.
6697         * support/xpthread_mutex_init.c: Likewise.
6698         * support/xpthread_mutexattr_destroy.c: Likewise.
6699         * support/xpthread_mutexattr_init.c: Likewise.
6700         * support/xpthread_mutexattr_setprotocol.c: Likewise.
6701         * support/xpthread_mutexattr_setpshared.c: Likewise.
6702         * support/xpthread_mutexattr_setrobust.c: Likewise.
6703         * support/xpthread_mutexattr_settype.c: Likewise.
6704         * support/xthread.h (xpthread_mutexattr_destroy)
6705         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
6706         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
6707         (xpthread_mutexattr_settype, xpthread_mutex_init)
6708         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
6709         * support/xunistd.h (xmmap, xmunmap): Likewise.
6711 2017-01-25  Florian Weimer  <fweimer@redhat.com>
6713         * string/Makefile (xtests): Add comment.
6714         (LOCALES): Add en_GB.UTF-8.
6715         (tst-strcoll-overflow.out): Depend on generated locales.
6716         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
6717         (SIZE, TIMEOUT): Update comments.
6718         (do_test): Define as static.  Fail test if setlocale fails.
6719         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
6720         messages.
6721         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
6722         TIMEOUT at 300 seconds should be enough to run this test
6723         successfully.
6725 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
6727         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6728         /* FALLTHRU */ comments.
6730 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
6732         [BZ #21053]
6733         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
6734         constants instead of the old R* ones.
6735         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6736         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
6737         (NGREG): ... to this, to fit in with other architectures.
6738         (gpregset_t): Use new NGREG macro.
6739         [__USE_GNU]: Remove condition; all architectures other than tile
6740         are unconditional.
6741         (R*): Rename to REG_R*.
6743 2017-01-20  DJ Delorie  <dj@redhat.com>
6745         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
6746         (tunable_set_val_if_valid_range_signed) ... this, and ...
6747         (tunable_set_val_if_valid_range_unsigned) ... this.
6748         (tunable_initialize): Call the correct one of the above based on type.
6750 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
6752         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
6753         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6754         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6755         * sysdeps/microblaze/libm-test-ulps: Likewise.
6756         * sysdeps/sh/libm-test-ulps: Likewise.
6758         * math/README.libm-test: Update list of characters for input and
6759         output types.
6761 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6763         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6764         (__lll_unlock_elision): Fix adapt_count decrement.
6766 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
6768         * README.pretty-printers (Known issues): Warn about printers not
6769         always covering everything.
6770         * nptl/nptl-printers.py (MutexPrinter): Change output.
6771         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
6773 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6775         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
6776         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6777         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
6778         (__lll_lock_elision): Do not test futex before starting a
6779         transaction.  Use __glibc_likely instead of __builtin_expect.
6780         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
6781         (__lll_trylock_elision): Do not test futex before starting a
6782         transaction.  Use __glibc_likely instead of __builtin_expect.
6784 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6786         * po/Makefile (update-translations): New target.
6788 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6790         [BZ #21061]
6791         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
6793 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6795         * elf/dl-tunables (get_next_env): Always advance envp.
6796         * stdlib/tst-empty-env.c: New test case.
6797         * stdlib/Makefile (tests): Use it.
6799 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6801         [BZ #21047]
6802         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
6803         name for instruction.
6804         [!__SOFTFP__] (_FPU_SETCW): Likewise.
6806 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6808         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
6809         for make install.
6811 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6813         * po/bg.po: Merge from Translation Project.
6814         * po/fr.po: Likewise.
6815         * po/ko.po: Likewise.
6816         * po/nl.po: Likewise.
6817         * po/sv.po: Likewise.
6819 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6821         * manual/install.texi (Tools for Compilation): Update GCC version
6822         known to work to build glibc.
6823         * INSTALL: Regenerated.
6825 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6827         [BZ #21006]
6828         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
6830 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
6832         [BZ #21045]
6833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6834         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6835         to __sigprocmask.
6837 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
6839         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
6840         wrap-around.
6841         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
6843         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
6845 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6847         * NEWS: Fix typo.
6849 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6851         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
6852         barriers and comments.
6853         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
6854         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6855         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6857 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6859         [BZ #19402]
6860         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
6861         mutexes.
6863 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6865         [BZ #20985]
6866         * nptl/Makefile: Adapt.
6867         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6868         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6869         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6870         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6871         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
6872         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
6873         lll_robust* functions and adapt.
6874         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6875         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
6876         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6877         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6878         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
6879         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6880         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
6881         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6882         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
6883         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6884         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6885         * nptl/lowlevelrobustlock.c: Remove file.
6886         * nptl/lowlevelrobustlock.sym: Likewise.
6887         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
6888         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
6890 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6892         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6894 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6896         * po/cs.po: Merge translations from the Translation Project.
6897         * po/de.po: Likewise.
6898         * po/pl.po: Likewise.
6899         * po/ru.po: Likewise.
6900         * po/tr.po: Likewise.
6901         * po/uk.po: Likewise.
6902         * po/vi.po: Likewise.
6903         * po/zh_CN.po: Likewise.
6905 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
6907         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
6909         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
6910         object.
6912 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6914         [BZ #16458]
6915         * bits/uintn-identity.h: New file.
6916         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
6917         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
6918         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
6919         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
6920         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
6921         * string/endian.h: Include <bits/uintn-identity.h>.
6922         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
6923         __uint16_identity.
6924         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
6925         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
6926         __uint32_identity.
6927         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
6928         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
6929         __uint64_identity.
6930         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
6931         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
6932         __uint16_identity.
6933         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
6934         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
6935         __uint32_identity.
6936         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
6937         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
6938         __uint64_identity.
6939         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
6940         * string/Makefile (headers): Add bits/uintn-identity.h.
6941         (tests): Add test-endian-types.
6942         * string/test-endian-types.c: New file.
6943         * inet/Makefile (tests): Add test-hnto-types.
6944         * inet/test-hnto-types.c: New file.
6946 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6948         * po/be.po: Update from Translation Project.
6949         * po/bg.po: Likewise.
6950         * po/ca.po: Likewise.
6951         * po/cs.po: Likewise.
6952         * po/da.po: Likewise.
6953         * po/de.po: Likewise.
6954         * po/el.po: Likewise.
6955         * po/eo.po: Likewise.
6956         * po/es.po: Likewise.
6957         * po/fi.po: Likewise.
6958         * po/fr.po: Likewise.
6959         * po/gl.po: Likewise.
6960         * po/hr.po: Likewise.
6961         * po/hu.po: Likewise.
6962         * po/ia.po: Likewise.
6963         * po/id.po: Likewise.
6964         * po/it.po: Likewise.
6965         * po/ja.po: Likewise.
6966         * po/ko.po: Likewise.
6967         * po/lt.po: Likewise.
6968         * po/nb.po: Likewise.
6969         * po/nl.po: Likewise.
6970         * po/pl.po: Likewise.
6971         * po/pt_BR.po: Likewise.
6972         * po/ru.po: Likewise.
6973         * po/rw.po: Likewise.
6974         * po/sk.po: Likewise.
6975         * po/sl.po: Likewise.
6976         * po/sv.po: Likewise.
6977         * po/tr.po: Likewise.
6978         * po/uk.po: Likewise.
6979         * po/vi.po: Likewise.
6980         * po/zh_CN.po: Likewise.
6981         * po/zh_TW.po: Likewise.
6983 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6985         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
6986         -Wformat-truncation instead of -Wformat-length.
6987         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
6988         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
6989         GCC 7.
6990         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
6991         (do_test): Ignore -Wformat-truncation for GCC 7.
6993         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
6994         buffer used to print long int value.
6996         * elf/sotruss-lib.c (init): Increase space allocated for pid by
6997         one byte.  Print it with %ld, cast to long int.
6999 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7001         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7002         (re.fullmatch, subprocess.run): Likewise.
7004 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7006         * po/libc.pot: Regenerate.
7008 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7010         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7011         (min_strlen): Likewise.
7012         (disable_tunable): Likewise.
7013         (maybe_disable_malloc_check): Rename to
7014         maybe_enable_malloc_check.
7015         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7016         if /etc/suid-debug file exists.
7017         (__tunables_init): Update caller.
7018         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7019         secure.
7021 2016-01-10  Torvald Riegel  <triegel@redhat.com>
7023         * nptl/DESIGN-rwlock.txt: Remove.
7024         * nptl/lowlevelrwlock.sym: Remove.
7025         * nptl/Makefile: Add new tests.
7026         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
7027         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7028         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7029         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7030         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7031         PTHREAD_RWLOCK_FUTEX_USED): New.
7032         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7033         implementation.
7034         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7035         (__pthread_rwlock_rdlock): Adapt.
7036         * nptl/pthread_rwlock_timedrdlock.c
7037         (pthread_rwlock_timedrdlock): Adapt.
7038         * nptl/pthread_rwlock_timedwrlock.c
7039         (pthread_rwlock_timedwrlock): Adapt.
7040         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7041         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7042         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7043         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7044         (__pthread_rwlock_wrlock): Adapt.
7045         * nptl/tst-rwlock10.c: Adapt.
7046         * nptl/tst-rwlock11.c: Adapt.
7047         * nptl/tst-rwlock17.c: New file.
7048         * nptl/tst-rwlock18.c: New file.
7049         * nptl/tst-rwlock19.c: New file.
7050         * nptl/tst-rwlock2b.c: New file.
7051         * nptl/tst-rwlock8.c: Adapt.
7052         * nptl/tst-rwlock9.c: Adapt.
7053         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7054         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7055         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7056         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7057         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7058         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7059         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7060         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7061         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7062         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7063         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7064         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7065         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7066         (pthread_rwlock_t): Adapt.
7067         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7068         (pthread_rwlock_t): Adapt.
7069         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7070         * nptl/nptl-printers.py (): Adapt.
7071         * nptl/nptl_lock_constants.pysym: Adapt.
7072         * nptl/test-rwlock-printers.py: Adapt.
7073         * nptl/test-rwlockattr-printers.c: Adapt.
7074         * nptl/test-rwlockattr-printers.py: Adapt.
7076 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7078         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7079         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7080         (fma_test_data): Likewise.
7081         (hypot_test_data): Likewise.
7082         (log1p_test_data): Likewise.
7083         (modf_test_data): Likewise.
7084         (pow_test_data): Likewise.
7085         (remainder_test_data): Likewise.
7086         (remquo_test_data): Likewise.
7087         (scalb_test_data): Likewise.
7088         (scalbn_test_data): Likewise.
7089         (scalbln_test_data): Likewise.
7090         * math/gen-libm-test.pl (parse_args): Transform
7091         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7092         on the rounding mode.
7094 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7096         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7097         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7098         and those that can underflow to zero.
7099         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7100         add others.
7101         * math/auto-libm-test-out: Regenerated.
7103         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7104         supported.
7105         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7106         modes support if not supported.
7108         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7109         Add libc.so PLT entry.
7110         (__tls_get_addr): Make ld.so PLT entry optional.
7112 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7114         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7115         * string/bits/string3.h: ... here.
7117 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7119         [BZ #21028]
7120         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7121         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7122         if EXCEPTION_TESTS returns false.
7124 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7126         [BZ #20558]
7127         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7128         strings_fortified.h.
7129         [__USE_MISC] (bzero): Likewise.
7130         [__USE_MISC] (explicit_bzero): Likewise.
7131         * string/strings.h: Include strings_fortified.h.
7132         * string/Makefile (headers): Add strings_fortified.h.
7133         * string/bits/strings_fortified.h: New file.
7134         * include/bits/strings_fortified.h: Likewise.
7136 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7138         * elf/tst-tls13.c (TIMEOUT): Remove.
7139         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7140         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7141         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7142         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7143         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7145         [BZ #21026]
7146         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7147         (readahead): New syscall entry.
7149 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7151         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7152         around tests of strncat with large sizes.
7154         * malloc/tst-malloc.c: Include <libc-internal.h>.
7155         (do_test): Disable -Walloc-size-larger-than= around tests of
7156         malloc with negative sizes.
7157         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7158         (do_test): Disable -Walloc-size-larger-than= around tests of
7159         malloc and realloc with negative sizes.
7160         * malloc/tst-realloc.c: Include <libc-internal.h>.
7161         (do_test): Disable -Walloc-size-larger-than= around tests of
7162         realloc with negative sizes.
7164         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7165         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7166         allowed to 16 ulps.
7167         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7168         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7169         * math/auto-libm-test-out: Regenerated.
7171 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7173         * math/Makefile (libm-calls): Move wrappers...
7174         (libm-compat-call-auto): Here.
7175         (libm-routines): Add items in libm-compat-calls-auto.
7176         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7177         the filenames of the wrappers that have been renamed.
7178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7181         * math/w_acos.c: Add _compat suffix to filename.
7182         * math/w_acosf.c: Likewise.
7183         * math/w_acosh.c: Likewise.
7184         * math/w_acoshf.c: Likewise.
7185         * math/w_acoshl.c: Likewise.
7186         * math/w_acosl.c: Likewise.
7187         * math/w_asin.c: Likewise.
7188         * math/w_asinf.c: Likewise.
7189         * math/w_asinl.c: Likewise.
7190         * math/w_atan2.c: Likewise.
7191         * math/w_atan2f.c: Likewise.
7192         * math/w_atan2l.c: Likewise.
7193         * math/w_atanh.c: Likewise.
7194         * math/w_atanhf.c: Likewise.
7195         * math/w_atanhl.c: Likewise.
7196         * math/w_cosh.c: Likewise.
7197         * math/w_coshf.c: Likewise.
7198         * math/w_coshl.c: Likewise.
7199         * math/w_exp10.c: Likewise.
7200         * math/w_exp10f.c: Likewise.
7201         * math/w_exp10l.c: Likewise.
7202         * math/w_exp2.c: Likewise.
7203         * math/w_exp2f.c: Likewise.
7204         * math/w_exp2l.c: Likewise.
7205         * math/w_fmod.c: Likewise.
7206         * math/w_fmodf.c: Likewise.
7207         * math/w_fmodl.c: Likewise.
7208         * math/w_hypot.c: Likewise.
7209         * math/w_hypotf.c: Likewise.
7210         * math/w_hypotl.c: Likewise.
7211         * math/w_j0.c: Likewise.
7212         * math/w_j0f.c: Likewise.
7213         * math/w_j0l.c: Likewise.
7214         * math/w_j1.c: Likewise.
7215         * math/w_j1f.c: Likewise.
7216         * math/w_j1l.c: Likewise.
7217         * math/w_jn.c: Likewise.
7218         * math/w_jnf.c: Likewise.
7219         * math/w_jnl.c: Likewise.
7220         * math/w_log10.c: Likewise.
7221         * math/w_log10f.c: Likewise.
7222         * math/w_log10l.c: Likewise.
7223         * math/w_log2.c: Likewise.
7224         * math/w_log2f.c: Likewise.
7225         * math/w_log2l.c: Likewise.
7226         * math/w_log.c: Likewise.
7227         * math/w_logf.c: Likewise.
7228         * math/w_logl.c: Likewise.
7229         * math/w_pow.c: Likewise.
7230         * math/w_powf.c: Likewise.
7231         * math/w_powl.c: Likewise.
7232         * math/w_remainder.c: Likewise.
7233         * math/w_remainderf.c: Likewise.
7234         * math/w_remainderl.c: Likewise.
7235         * math/w_scalb.c: Likewise.
7236         * math/w_scalbf.c: Likewise.
7237         * math/w_scalbl.c: Likewise.
7238         * math/w_sinh.c: Likewise.
7239         * math/w_sinhf.c: Likewise.
7240         * math/w_sinhl.c: Likewise.
7241         * math/w_sqrt.c: Likewise.
7242         * math/w_sqrtf.c: Likewise.
7243         * math/w_sqrtl.c: Likewise.
7244         * math/w_tgamma.c: Likewise.
7245         * math/w_tgammaf.c: Likewise.
7246         * math/w_tgammal.c: Likewise.
7248         * math/w_acos_compat.c: New file copied from above and
7249         adjusted for new #includes path
7250         * math/w_acosf_compat.c: Likewise.
7251         * math/w_acosh_compat.c: Likewise.
7252         * math/w_acoshf_compat.c: Likewise.
7253         * math/w_acoshl_compat.c: Likewise.
7254         * math/w_acosl_compat.c: Likewise.
7255         * math/w_asin_compat.c: Likewise.
7256         * math/w_asinf_compat.c: Likewise.
7257         * math/w_asinl_compat.c: Likewise.
7258         * math/w_atan2_compat.c: Likewise.
7259         * math/w_atan2f_compat.c: Likewise.
7260         * math/w_atan2l_compat.c: Likewise.
7261         * math/w_atanh_compat.c: Likewise.
7262         * math/w_atanhf_compat.c: Likewise.
7263         * math/w_atanhl_compat.c: Likewise.
7264         * math/w_cosh_compat.c: Likewise.
7265         * math/w_coshf_compat.c: Likewise.
7266         * math/w_coshl_compat.c: Likewise.
7267         * math/w_exp10_compat.c: Likewise.
7268         * math/w_exp10f_compat.c: Likewise.
7269         * math/w_exp10l_compat.c: Likewise.
7270         * math/w_exp2_compat.c: Likewise.
7271         * math/w_exp2f_compat.c: Likewise.
7272         * math/w_exp2l_compat.c: Likewise.
7273         * math/w_fmod_compat.c: Likewise.
7274         * math/w_fmodf_compat.c: Likewise.
7275         * math/w_fmodl_compat.c: Likewise.
7276         * math/w_hypot_compat.c: Likewise.
7277         * math/w_hypotf_compat.c: Likewise.
7278         * math/w_hypotl_compat.c: Likewise.
7279         * math/w_j0_compat.c: Likewise.
7280         * math/w_j0f_compat.c: Likewise.
7281         * math/w_j0l_compat.c: Likewise.
7282         * math/w_j1_compat.c: Likewise.
7283         * math/w_j1f_compat.c: Likewise.
7284         * math/w_j1l_compat.c: Likewise.
7285         * math/w_jn_compat.c: Likewise.
7286         * math/w_jnf_compat.c: Likewise.
7287         * math/w_jnl_compat.c: Likewise.
7288         * math/w_log10_compat.c: Likewise.
7289         * math/w_log10f_compat.c: Likewise.
7290         * math/w_log10l_compat.c: Likewise.
7291         * math/w_log2_compat.c: Likewise.
7292         * math/w_log2f_compat.c: Likewise.
7293         * math/w_log2l_compat.c: Likewise.
7294         * math/w_log_compat.c: Likewise.
7295         * math/w_logf_compat.c: Likewise.
7296         * math/w_logl_compat.c: Likewise.
7297         * math/w_pow_compat.c: Likewise.
7298         * math/w_powf_compat.c: Likewise.
7299         * math/w_powl_compat.c: Likewise.
7300         * math/w_remainder_compat.c: Likewise.
7301         * math/w_remainderf_compat.c: Likewise.
7302         * math/w_remainderl_compat.c: Likewise.
7303         * math/w_scalb_compat.c: Likewise.
7304         * math/w_scalbf_compat.c: Likewise.
7305         * math/w_scalbl_compat.c: Likewise.
7306         * math/w_sinh_compat.c: Likewise.
7307         * math/w_sinhf_compat.c: Likewise.
7308         * math/w_sinhl_compat.c: Likewise.
7309         * math/w_sqrt_compat.c: Likewise.
7310         * math/w_sqrtf_compat.c: Likewise.
7311         * math/w_sqrtl_compat.c: Likewise.
7312         * math/w_tgamma_compat.c: Likewise.
7313         * math/w_tgammaf_compat.c: Likewise.
7314         * math/w_tgammal_compat.c: Likewise.
7316         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
7317         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7318         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7319         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7320         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7321         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7322         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7323         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7324         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7325         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
7326         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
7327         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
7328         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7329         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7330         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7331         * sysdeps/ia64/fpu/w_powl.c: Likewise.
7332         * sysdeps/ia64/fpu/w_powf.c: Likewise.
7333         * sysdeps/ia64/fpu/w_pow.c: Likewise.
7334         * sysdeps/ia64/fpu/w_logl.c: Likewise.
7335         * sysdeps/ia64/fpu/w_logf.c: Likewise.
7336         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7337         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7338         * sysdeps/ia64/fpu/w_log2.c: Likewise.
7339         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7340         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7341         * sysdeps/ia64/fpu/w_log10.c: Likewise.
7342         * sysdeps/ia64/fpu/w_log.c: Likewise.
7343         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7344         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7345         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7346         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7347         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7348         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7349         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7350         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7351         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7352         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7353         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7354         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7355         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7356         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7357         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7358         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7359         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7360         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7361         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7362         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7363         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7364         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7365         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7366         * sysdeps/ia64/fpu/w_asin.c: Likewise.
7367         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7368         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7369         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7370         * sysdeps/ia64/fpu/w_acos.c: Likewise.
7371         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7372         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7373         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7374         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
7375         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
7376         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
7377         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
7378         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
7379         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
7380         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
7381         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
7382         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
7383         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
7384         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
7385         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
7386         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
7387         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
7388         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
7389         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
7390         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
7391         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
7392         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
7393         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
7394         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
7395         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
7396         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
7397         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
7398         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
7399         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
7400         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
7401         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
7402         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
7403         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
7404         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
7405         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
7406         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
7407         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
7408         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
7409         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
7410         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
7411         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
7412         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
7413         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
7414         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
7415         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
7416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
7417         Likewise.
7418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
7419         Likewise.
7420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
7421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
7422         Likewise.
7423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
7424         Likewise.
7425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
7426         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7427         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7428         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7429         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7430         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7431         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
7433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
7435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7436         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7437         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7438         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7439         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7441         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
7442         and adjusted for new #includes path
7443         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
7444         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
7445         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
7446         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
7447         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
7448         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
7449         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
7450         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
7451         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
7452         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
7453         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
7454         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
7455         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
7456         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
7457         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
7458         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
7459         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
7460         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
7461         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
7462         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
7463         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
7464         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
7465         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
7466         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
7467         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
7468         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
7469         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
7470         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
7471         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
7472         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
7473         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
7474         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
7475         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
7476         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
7477         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
7478         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
7479         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
7480         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
7481         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
7482         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
7483         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
7484         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
7485         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
7486         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
7487         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
7488         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
7489         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
7490         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
7491         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
7492         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
7493         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
7494         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
7495         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
7496         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
7497         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
7498         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
7499         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
7500         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
7501         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
7502         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7503         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7504         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
7505         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7506         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
7507         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7508         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
7509         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7510         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
7511         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7512         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
7513         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
7514         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
7515         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7516         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
7517         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7518         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
7519         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7520         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
7521         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7522         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
7523         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7524         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
7525         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7526         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
7527         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7528         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
7529         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7530         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
7531         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7532         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
7533         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7534         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
7535         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
7536         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
7537         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7538         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
7539         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7540         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
7541         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7543         Likewise.
7544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7545         Likewise.
7546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7547         Likewise.
7548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7549         Likewise.
7550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7551         Likewise.
7552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7553         Likewise.
7554         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7555         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7556         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7557         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7558         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
7559         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7561         Likewise.
7562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
7563         Likewise.
7564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7565         Likewise.
7566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
7567         Likewise.
7568         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
7569         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7570         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7571         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7573 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7575         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
7576         __jmp_buf_internal_tag.
7578         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
7579         preserve NaN payload if [__mips_nan2008].
7580         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
7582         [BZ #21022]
7583         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
7585 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7587         * sysdeps/i386/fpu/libm-test-ulps: Update.
7589 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7591         * sysdeps/ia64/strcat.c: Remove file.
7592         * sysdeps/powerpc/strcat.c: Likewise.
7593         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
7594         C implementation.
7595         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
7596         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
7598 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7599             Steven Munroe  <sjmunroe@us.ibm.com>
7600             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7602         [BZ #20822]
7603         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7604         (__lll_lock_elision): Access adapt_count via C11 atomics.
7605         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7606         (__lll_trylock_elision): Likewise.
7607         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7608         (__lll_unlock_elision):  Update adapt_count variable inside the
7609         critical section using C11 atomics.
7611 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7613         * math/test-fenvinline.c (do_test): Disable tests of raised
7614         exceptions if !EXCEPTION_TESTS (FLOAT).
7616 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7618         [BZ #19390]
7619         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
7620         maximum string size.
7621         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
7622         in pointer addition.
7623         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7624         Likewise.
7626 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7628         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7629         passed to tst-ldconfig-X.sh.
7631 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7633         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7635 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7637         [BZ #21019]
7638         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7639         New syscall entry.
7640         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7641         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7642         lseek.
7644         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7645         power4 glibc for powerpc-linux-gnu.
7647 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7649         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7650         semctl.
7652 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7654         * math/test-nearbyint-except.c: Include <stdbool.h>.
7655         (any_supported): New variable.
7656         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7657         set any_supported.
7658         (do_test): Return 77 if no floating-point type supported
7659         exceptions.
7661         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7662         condition on [__mips_hard_float].
7664 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7666         [BZ #21014]
7667         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7668         in pointer addition.
7669         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7671 2017-01-02  Torvald Riegel  <triegel@redhat.com>
7673         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7674         new condvar.
7676 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7678         * scripts/build-many-glibcs.py (Context.checkout): Default
7679         binutils version to 2.28 branch.
7681 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7683         * support/support_format_netent.c (support_format_netent): Work
7684         around alpha struct netent definition difference.
7686 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7688         * support/xwrite.c (xwrite): Use %td for pointer difference.
7690 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7692         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
7693         have-tunables only.
7694         (tests-static): Add tst-malloc-usable-static-tunables for
7695         have-tunables only.
7697 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
7699         * scripts/config.guess: Update to version 2017-01-01.
7700         * scripts/config.sub: Update to version 2017-01-01.
7702         * NEWS: Update copyright dates.
7703         * catgets/gencat.c (print_version): Likewise.
7704         * csu/version.c (banner): Likewise.
7705         * debug/catchsegv.sh: Likewise.
7706         * debug/pcprofiledump.c (print_version): Likewise.
7707         * debug/xtrace.sh (do_version): Likewise.
7708         * elf/ldconfig.c (print_version): Likewise.
7709         * elf/ldd.bash.in: Likewise.
7710         * elf/pldd.c (print_version): Likewise.
7711         * elf/sotruss.sh: Likewise.
7712         * elf/sprof.c (print_version): Likewise.
7713         * iconv/iconv_prog.c (print_version): Likewise.
7714         * iconv/iconvconfig.c (print_version): Likewise.
7715         * locale/programs/locale.c (print_version): Likewise.
7716         * locale/programs/localedef.c (print_version): Likewise.
7717         * login/programs/pt_chown.c (print_version): Likewise.
7718         * malloc/memusage.sh (do_version): Likewise.
7719         * malloc/memusagestat.c (print_version): Likewise.
7720         * malloc/mtrace.pl: Likewise.
7721         * manual/libc.texinfo: Likewise.
7722         * nptl/version.c (banner): Likewise.
7723         * nscd/nscd.c (print_version): Likewise.
7724         * nss/getent.c (print_version): Likewise.
7725         * nss/makedb.c (print_version): Likewise.
7726         * posix/getconf.c (main): Likewise.
7727         * scripts/test-installation.pl: Likewise.
7728         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7730         * All files with FSF copyright notices: Update copyright dates
7731         using scripts/update-copyrights.
7732         * intl/plural.c: Regenerated.
7733         * locale/programs/charmap-kw.h: Likewise.
7734         * locale/programs/locfile-kw.h: Likewise.
7736 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7738         [BZ #20593]
7739         Update DNS RR type definitions.
7740         * scripts/gen-rrtypes.py: New file.
7741         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
7742         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
7743         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
7744         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
7745         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
7746         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
7747         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
7748         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
7749         ns_t_ta, ns_t_dlv.
7750         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
7751         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
7752         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
7753         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
7754         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
7755         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
7756         Define.
7757         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
7758         entry for ns_t_zxfr.
7760 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7762         [BZ #18784]
7763         CVE-2015-5180
7764         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
7765         T_UNSPEC.  Adjust value.
7766         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
7767         * resolv/res_query.c (__libc_res_nquery): Likewise.
7768         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
7769         QTYPEs.
7770         * resolv/tst-resolv-qtypes.c: New file.
7771         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
7772         (tst-resolv-qtypes): Link against libresolv and libpthread.
7774 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7776         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
7778 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7780         * manual/tunables.texi: New chapter.
7781         * manual/Makefile (chapters): Add it.
7782         * manual/probes.texi (@node): Point to the Tunables chapter.
7784         * Makeconfig (have-tunables): Check for non-negative instead
7785         of positive.
7786         * configure.ac: Add 'valstring' as a valid value for
7787         --enable-tunables.
7788         * configure: Regenerate.
7789         * elf/Makefile (have-tunables): Check for non-negative instead
7790         of positive.
7791         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
7792         dl-tunables.c.
7793         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
7794         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7795         (tunables_strdup): Likewise.
7796         (disable_tunables): Likewise.
7797         (parse_tunables): Likewise.
7798         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
7799         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7800         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
7801         (TUNABLES_FRONTEND_yes): New macro, define as
7802         TUNABLES_FRONTEND_valstring by default.
7803         * manual/install.texi: Document new acceptable values for
7804         --enable-tunables.
7805         * INSTALL: Regenerate.
7807         * config.make.in (have-loop-to-function): Define.
7808         * elf/Makefile (CFLAGS-dl-tunables.c): Add
7809         -fno-tree-loop-distribute-patterns.
7810         * elf/dl-tunables.c: Include libc-internals.h.
7811         (GLIBC_TUNABLES): New macro.
7812         (tunables_strdup): New function.
7813         (parse_tunables): New function.
7814         (min_strlen): New function.
7815         (__tunables_init): Use the new functions and macro.
7816         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
7817         * malloc/tst-malloc-usable-tunables.c: New test case.
7818         * malloc/tst-malloc-usable-static-tunables.c: New test case.
7819         * malloc/Makefile (tests, tests-static): Add tests.
7821         * manual/install.texi: Add --enable-tunables option.
7822         * INSTALL: Regenerate.
7823         * README.tunables: New file.
7824         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
7825         (before-compile): Generate dl-tunable-list.h early.
7826         * config.h.in: Add HAVE_TUNABLES.
7827         * config.make.in: Add have-tunables.
7828         * configure.ac: Add --enable-tunables option.
7829         * configure: Regenerate.
7830         * csu/init-first.c (__libc_init_first): Move
7831         __libc_init_secure earlier...
7832         * csu/init-first.c (LIBC_START_MAIN):... to here.
7833         Include dl-tunables.h, libc-internal.h.
7834         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
7835         binaries.
7836         * elf/Makefile (dl-routines): Add dl-tunables.
7837         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
7838         namespace.
7839         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
7840         only when !HAVE_TUNABLES.
7841         * elf/rtld.c (process_envvars): Likewise.
7842         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
7843         (_dl_sysdep_start): Call __tunables_init.
7844         * elf/dl-tunable-types.h: New file.
7845         * elf/dl-tunables.c: New file.
7846         * elf/dl-tunables.h: New file.
7847         * elf/dl-tunables.list: New file.
7848         * malloc/tst-malloc-usable-static.c: New test case.
7849         * malloc/Makefile (tests-static): Add it.
7850         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
7851         Define TUNABLE_NAMESPACE.
7852         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
7853         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
7854         callback functions.
7855         (ptmalloc_init): Set tunable values.
7856         * scripts/gen-tunables.awk: New file.
7857         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
7858         (_dl_sysdep_start): Call __tunables_init.
7860 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7862         * resolv/resolv.h (RES_BLAST): Deprecate.
7863         * resolv/res_debug.c (p_option): Remove RES_BLAST.
7864         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
7865         to RES_BLAST.
7867 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7869         [BZ #19582]
7870         Deprecate RES_USE_INET6.
7871         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
7872         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
7873         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
7874         RES_USE_INET6.
7875         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
7876         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
7877         (_nss_nisplus_gethostbyaddr_r): Likewise.
7878         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
7879         of res_use_inet6.
7880         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
7881         instead of RES_USE_INET6.
7882         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
7883         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
7884         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
7885         Likewise.
7886         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
7887         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
7888         Likewise.
7889         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
7890         (_nss_dns_gethostbyname_r): Likewise.
7891         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
7892         alternate RES_USE_INET6 handling.
7893         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
7894         instead of RES_USE_INET6.
7895         * resolv/res_init.c (res_setoptions): Likewise.
7896         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
7897         * resolv/resolv-internal.h: New file.
7898         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
7899         make the deprecation warning non-fatal.
7900         * resolv/README (Using the resolver in multi-threaded code): Drop
7901         reference to RES_USE_INET6.
7902         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
7903         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
7905 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7907         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
7908         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
7909         tst-resolv-search.
7910         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
7911         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
7912         with libresolv and libpthread.
7913         * resolv/tst-bug18665.c: New file.
7914         * resolv/tst-bug18665-tcp: Likewise.
7915         * resolv/tst-res_use_inet6: Likewise.
7916         * resolv/tst-resolv-basic: Likewise.
7917         * resolv/tst-resolv-network: Likewise.
7918         * resolv/tst-resolv-search: Likewise.
7919         * support/Makefile (libsupport-routines): Add check_addrinfo,
7920         check_dns_packet, check_hostent, check_netent, resolv_test,
7921         support_format_address_family, support_format_addrinfo,
7922         support_format_dns_packet, support_format_herrno,
7923         support_format_hostent, support_format_netent, support_run_diff,
7924         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
7925         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
7926         xstrdup, xwrite.
7927         * support/check_addrinfo.c: New file.
7928         * support/check_dns_packet.c: Likewise.
7929         * support/check_hostent.c: Likewise.
7930         * support/check_netent.c: Likewise.
7931         * support/check_nss.h: Likewise.
7932         * support/format_nss.h: Likewise.
7933         * support/resolv_test.c: Likewise.
7934         * support/resolv_test.h: Likewise.
7935         * support/run_diff.h: Likewise.
7936         * support/support_format_address_family.c: Likewise.
7937         * support/support_format_addrinfo.c: Likewise.
7938         * support/support_format_dns_packet.c: Likewise.
7939         * support/support_format_herrno.c: Likewise.
7940         * support/support_format_hostent.c: Likewise.
7941         * support/support_format_netent.c: Likewise.
7942         * support/support_run_diff.c: Likewise.
7943         * support/xaccept.c: Likewise.
7944         * support/xbind.c: Likewise.
7945         * support/xconnect.c: Likewise.
7946         * support/xfclose.c: Likewise.
7947         * support/xfopen.c: Likewise.
7948         * support/xgetsockname.c: Likewise.
7949         * support/xlisten.c: Likewise.
7950         * support/xmemstream.c: Likewise.
7951         * support/xmemstream.h: Likewise.
7952         * support/xpoll.c: Likewise.
7953         * support/xpthread_once.c: Likewise.
7954         * support/xrecvfrom.c: Likewise.
7955         * support/xsendto.c: Likewise.
7956         * support/xsetsockopt.c: Likewise.
7957         * support/xstdio.h: Likewise.
7958         * support/xstrdup.c: Likewise.
7959         * support/support.h (xstrdup): Declare.
7960         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
7961         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
7962         * support/xthread.h (xpthread_once): Likwise.
7963         * support/xunistd.h (xwrite): Declare.
7965 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7967         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
7968         (test_verbose): Declare.
7969         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
7970         * support/support_test_main.c (default_options): Likewise.
7971         (usage, support_test_main): Handle 'v'.
7972         (test_verbose): Define.
7973         * support/tst-support_record_failure.c (do_test): Use
7974         test_verbose.
7975         * support/tst-support_record_failure-2.sh (different_status): Add
7976         --verbose test.
7978 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7980         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
7981         test failures are recorded.
7982         * support/check.c (support_print_failure_impl): Call
7983         support_record_failure.
7984         (support_exit_failure_impl): Call support_record_failure if status
7985         indicates failure.
7986         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
7987         * support/xasprintf.c (xasprintf): Likewise.
7988         * support/xfork.c (xfork): Likewise.
7989         * support/xpthread_check_return.c (xpthread_check_return):
7990         Likewise.
7991         * support/xsocket.c (xsocket): Likeweise.
7992         * support/xwaitpid.c (xwaitpid): Likewise.
7993         * support/support_record_failure.c (struct test_failures): Adjust
7994         to coding style.
7995         * support/support_test_verify_impl.c (support_test_verify_impl):
7996         Adjust error messages.
7997         * support/tst-support_record_failure-2.sh (different_status):
7998         Adjust error messages.
8000 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8002         * support/namespace.h: New file.
8003         * support/support_become_root.c: Likewise.
8004         * support/support_enter_network_namespace.c: Likewise.
8005         * support/tst-support-namespace.c: Likewise.
8006         * support/xsocket.c: Likewise.
8007         * support/xsocket.h: Likewise.
8008         * support/Makefile (libsupport-routines): Add support_become_root,
8009         support_enter_network_namespace, xsocket.
8010         (tests): Add tst-support-namespace.
8012 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8014         [BZ #17252]
8015         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8016         __USE_GNU.
8018 2016-12-31  Torvald Riegel  <triegel@redhat.com>
8020         [BZ #13165]
8021         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8022         use new algorithm.
8023         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8024         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8025         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8026         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8027         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8028         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8029         __condvar_cleanup_waiting, __condvar_dec_grefs,
8030         __pthread_cond_wait_common): New.
8031         (__condvar_cleanup): Remove.
8032         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8033         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8034         Likewise.
8035         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8036         Likewise.
8037         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8038         * nptl/tst-cond1.c: Add comment.
8039         * nptl/tst-cond20.c (do_test): Adapt.
8040         * nptl/tst-cond22.c (do_test): Likewise.
8041         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8042         structure.
8043         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8044         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8045         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8046         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8047         Likewise.
8048         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8049         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8050         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8051         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8052         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8053         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8054         Likewise.
8055         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8056         Likewise.
8057         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8058         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8059         (COND_CLOCK_BITS): Adapt.
8060         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8061         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8062         __PTHREAD_COND_SHARED_MASK): New.
8063         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8064         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8065         * nptl/nptl_lock_constants.pysym: Adapt.
8066         * nptl/test-cond-printers.py: Adapt.
8067         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8068         cond_compat_check_and_clear): Adapt.
8069         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8070         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8071         (__pthread_cond_timedwait): ... and move here.
8072         * nptl/DESIGN-condvar.txt: Remove file.
8073         * nptl/lowlevelcond.sym: Likewise.
8074         * nptl/pthread_cond_timedwait.c: Likewise.
8075         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8076         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8077         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8078         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8079         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8080         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8081         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8083         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8084         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8085         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8086         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8087         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8088         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8089         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8092 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8094         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8095         (fromfp): New declaration.
8096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8099         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8104         * math/math.h: Include <bits/types.h>.
8105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8106         constant and macro.
8107         (FP_INT_DOWNWARD): Likewise.
8108         (FP_INT_TOWARDZERO): Likewise.
8109         (FP_INT_TONEARESTFROMZERO): Likewise.
8110         (FP_INT_TONEAREST): Likewise.
8111         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8112         (fromfpf): Likewise.
8113         (fromfpl): Likewise.
8114         (ufromfp): Likewise.
8115         (ufromfpf): Likewise.
8116         (ufromfpl): Likewise.
8117         (fromfpx): Likewise.
8118         (fromfpxf): Likewise.
8119         (fromfpxl): Likewise.
8120         (ufromfpx): Likewise.
8121         (ufromfpxf): Likewise.
8122         (ufromfpxl): Likewise.
8123         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8124         s_fromfpxF and s_ufromfpxF.
8125         * math/gen-fromfp-tests.py: New file.
8126         * math/gen-fromfp-tests-inputs: Likewise.
8127         * math/libm-test.inc: Include <stdint.h>
8128         (check_intmax_t): New function.
8129         (check_uintmax_t): Likewise.
8130         (struct test_fiu_M_data): New type.
8131         (struct test_fiu_U_data): Likewise.
8132         (RUN_TEST_fiu_M): New macro.
8133         (RUN_TEST_LOOP_fiu_M): Likewise.
8134         (RUN_TEST_fiu_U): Likewise.
8135         (RUN_TEST_LOOP_fiu_U): Likewise.
8136         (fromfp_test_data): New array.
8137         (fromfp_test): New function.
8138         (fromfpx_test_data): New array.
8139         (fromfpx_test): New function.
8140         (ufromfp_test_data): New array.
8141         (ufromfp_test): New function.
8142         (ufromfpx_test_data): New array.
8143         (ufromfpx_test): New function.
8144         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8145         ufromfpx_test.
8146         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8147         characters.
8148         * math/test-tgmath-ret.c: Include <stdint.h>.
8149         (rm): New variable.
8150         (width): Likewise.
8151         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8152         called function.
8153         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8154         CHECK_RET_CONST_TYPE.
8155         (CHECK_RET_CONST_DOUBLE): Likewise.
8156         (CHECK_RET_CONST_LDOUBLE): Likewise.
8157         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8158         macros.
8159         (fromfp): New CHECK_RET_CONST call.
8160         (ufromfp): Likewise.
8161         (fromfpx): Likewise.
8162         (ufromfpx): Likewise.
8163         (do_test): Call check_return_fromfp, check_return_ufromfp,
8164         check_return_fromfpx and check_return_ufromfpx.
8165         * math/test-tgmath.c: Include <stdint.h>
8166         (NCALLS): Increase to 138.
8167         (F(compile_test)): Initialize i.  Call fromfp functions.
8168         (F(fromfp)): New function.
8169         (F(fromfpx)): Likewise.
8170         (F(ufromfp)): Likewise.
8171         (F(ufromfpx)): Likewise.
8172         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8173         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8174         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8175         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8176         ufromfpxl.
8177         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8178         ufromfp and ufromfpx.
8179         * math/fromfp.h: New file.
8180         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8181         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8182         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8183         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8184         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8185         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8186         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8187         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8188         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8189         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8190         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8191         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8192         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8193         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8194         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8195         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8196         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8197         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8198         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8199         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8200         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8201         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8202         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8203         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8204         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8205         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8206         ufromfp, fromfpx and ufromfpx.
8207         (CFLAGS-nldbl-fromfp.c): New variable.
8208         (CFLAGS-nldbl-fromfpx.c): Likewise.
8209         (CFLAGS-nldbl-ufromfp.c): Likewise.
8210         (CFLAGS-nldbl-ufromfpx.c): Likewise.
8211         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8212         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8213         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8214         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8215         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8216         * sysdeps/nacl/libm.abilist: Update.
8217         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8218         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8219         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8220         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8221         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8222         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8223         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8224         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8225         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8226         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8227         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8228         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8230         Likewise.
8231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8232         Likewise.
8233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8234         Likewise.
8235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8236         Likewise.
8237         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8240         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8241         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8243         Likewise.
8244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8245         Likewise.
8246         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8247         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8248         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8250 2016-12-30  Florian Weimer  <fweimer@redhat.com>
8252         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8253         compat-gethnamaddr.
8254         (CPPFLAGS): Remove.
8255         * resolv/gethnamaddr.c: Rename ...
8256         * resolv/compat-gethnamaddr.c: ... to this file.
8257         (_endhtent): Make static.
8258         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
8259         symbol.
8260         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
8261         compat symbol.
8262         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
8263         symbol.
8264         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8265         Turn into compat symbol.
8266         * include/resolv.h (_endhtent): Remove declaration.
8268 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
8270         * bits/types.h (__intmax_t): New typedef.
8271         (__uintmax_t): Likewise.
8272         * sysdeps/generic/stdint.h: Include <bits/types.h>.
8273         (intmax_t): Define using __intmax_t.
8274         (uintmax_t): Define using __uintmax_t.
8276         * support/Makefile (tests-special): Make definition conditional on
8277         [$(run-built-tests) = yes].
8278         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8279         on [$(run-built-tests) = yes].
8281 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8283         * Rules (tests): Add tests-printers-programs to tests to be
8284         built.
8286 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8288         * sysvipc/Makefile (tests): Add test-sysvshm.
8289         * sysvipc/test-sysvshm.c: New file.
8291         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
8292         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
8293         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
8294         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
8295         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
8296         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
8297         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
8298         Likewise.
8299         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
8300         Likewise.
8301         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
8302         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
8303         is defined.
8305         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
8306         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
8307         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
8308         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
8309         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
8310         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
8311         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
8312         Likewise.
8313         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
8314         Likewise.
8315         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
8316         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
8317         defined.
8319         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8320         oldshmctl.
8321         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
8322         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
8323         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
8324         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
8325         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
8326         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
8327         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
8328         Likewise.
8329         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
8330         Likewise.
8331         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
8332         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
8333         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
8334         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
8335         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
8336         implementation.
8337         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
8338         if it is defined.
8340         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
8341         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
8342         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
8343         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
8344         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
8345         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
8346         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
8347         Likewise.
8348         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
8349         Likewise.
8350         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
8351         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
8352         Define to __NR_osf_shmat.
8353         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
8354         defined.
8356         * sysvipc/Makefile (tests): Add test-sysvsem.
8357         * sysvipc/test-sysvsem.c: New file.
8359         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
8360         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
8361         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
8362         Likewise.
8363         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
8364         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
8365         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
8366         Likewise.
8367         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
8368         Likewise.
8369         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
8370         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
8371         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
8372         add a comment about s390 syscall difference from default one.
8373         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
8374         syscall if it is defined.
8376         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
8377         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
8378         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
8379         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
8380         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
8381         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
8382         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
8383         Likewise.
8384         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
8385         Likewise.
8386         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
8387         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
8388         defined.
8390         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
8391         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
8392         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
8393         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
8394         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
8395         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
8396         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
8397         Likewise.
8398         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
8399         Likewise.
8400         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
8401         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
8402         if it is defined.
8404         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8405         oldsemctl.
8406         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
8407         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
8408         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
8409         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
8410         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
8411         implementation.
8412         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
8413         syscall if it is defined.
8414         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
8415         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
8416         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
8417         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
8418         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
8419         Likewise.
8420         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
8422         * sysvipc/Makefile (tests): Add test-sysvmsg.
8423         * sysvipc/test-sysvmsg.c: New file.
8424         * support/check.h (FAIL_UNSUPPORTED): New define.
8426         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
8427         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
8428         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
8429         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
8430         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
8431         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
8432         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
8433         Likewise.
8434         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
8435         Likewise.
8436         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
8437         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
8438         define.
8440         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
8441         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
8442         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
8443         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
8444         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
8445         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
8446         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
8447         Likewise.
8448         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
8449         Likewise.
8450         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
8451         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
8452         if defined.
8454         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
8455         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
8456         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8457         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8458         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8459         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
8460         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8461         Likewise.
8462         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
8463         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
8464         Likewise.
8465         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
8466         if defined.
8467         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
8469         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8470         oldmsgctl.
8471         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
8472         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
8473         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
8474         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
8475         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8476         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8477         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8478         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8479         Likewise.
8480         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
8481         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
8482         implementation.
8483         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
8484         if defined.
8486         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
8487         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
8488         definition and define its own.
8489         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
8490         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
8491         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
8492         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
8493         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
8494         definitions to common header.
8495         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
8496         operation from ipc_ops.h.
8498         * sysdeps/unix/sysv/linux/kernel-features.h
8499         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
8500         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8501         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
8502         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8503         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8504         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8505         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8506         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8507         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8508         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8509         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8510         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8511         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8512         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8513         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8515 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8517         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
8518         overflow in pointer addition.
8520 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8522         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8523         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
8524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8525         (strchr): Add __strchr_power8 to list of strchr functions.
8526         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
8527         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
8528         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
8529         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
8530         (strchr): Add __strchr_power8 to ifunc list.
8531         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
8532         (__strchrnul): Add __strchrnul_power8 to ifunc list.
8533         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
8534         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
8536 2016-12-28  Florian Weimer  <fweimer@redhat.com>
8538         * support/Makefile (libsupport-routines): Add
8539         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
8540         (tests): Add tst-support_record_failure.
8541         (tests-special): tst-support_record_failure-2.
8542         (tst-support_record_failure-2.out): Depend on
8543         tst-support_record_failure-2.sh and tst-support_record_failure.
8544         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
8545         (support_test_verify_impl, support_record_failure)
8546         (support_report_failure, support_report_failure_reset): Declare.
8547         * support/support_test_main.c (adjust_exit_status): New function.
8548         (support_test_main): Call it to incorporate record test failures.
8549         * support/support_test_verify_impl.c: New file.
8550         * support/support_record_failure.c: Likewise.
8551         * support/tst-support_record_failure.c: Likewise.
8552         * support/tst-support_record_failure-2.sh: Likewise.
8553         * support/xunistd.h: Likewise.
8554         * support/xfork.c: Likewise.
8555         * support/xwaitpid.c: Likewise.
8557 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
8559         * scripts/check-c++-types.sh: Add comments.
8561 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
8563         [BZ #19514]
8564         * resolv/res_send.c: Fix typo in comment.
8565         * sysdeps/i386/i386-mcount.S: Likewise.
8566         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8567         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8568         * sysdeps/sparc/sparc-mcount.S: Likewise.
8570 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8572         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
8573         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
8574         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
8575         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
8576         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
8577         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
8578         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
8579         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
8581 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8583         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
8585 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8587         [BZ #17252]
8588         * posix/unistd.h (getentropy): Declare.
8590 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8592         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
8593         Remove.
8594         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
8595         (cmd): Remove spoof, nospoof, spoofalert.
8596         (parse_line): Ignore spoof-related lines.
8597         (do_init): Do not process RESOLV_SPOOF_CHECK.
8599 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8601         [BZ #20964]
8602         sunrpc: Always obtain AF_INET addresses from NSS.
8603         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
8604         * sunrpc/rpc_gethostbyname.c: New file.
8605         * sunrpc/Makefile (routines): Add it.
8606         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
8607         * sunrpc/clnt_simp.c (callrpc): Likewise.
8608         * sunrpc/getrpcport.c (getrpcport): Likewise.
8610 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8612         * sunrpc/rpcinfo.c: Remove.
8613         * sunrpc/Makefile: Remove comments referring to rpcinfo.
8615 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8617         [BZ #19387]
8618         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
8619         addition.
8620         * string/test-memchr.c (do_test): Remove alignment limitation.
8621         (test_main): Add test that trigger BZ #19387.
8623 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8625         [BZ #7065]
8626         Enable stack protectore if requested by ./configure.
8627         * Makeconfig (+stack-protector): New variable.
8628         (+cflags): Use it.
8630 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8632         [BZ #7065]
8633         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8634         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8635         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8636         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8637         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8639 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8641         [BZ #7065]
8642         * login/Makefile (pt_chown-cflags): Remove.
8643         * nscd/Makefile (CFLAGS-nscd): Likewise.
8644         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8646 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8648         [BZ #7065]
8649         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8650         non-libc-linking testcase.
8652 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8653             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8654             Florian Weimer  <fweimer@redhat.com>
8656         [BZ #7065]
8657         PLT avoidance for __stack_chk_fail*.
8658         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8659         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8660         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8661         __stack_chk_fail_local alias.
8662         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8663         (__stack_chk_fail): Turn into hidden reference to
8664         __stack_chk_fail_local.
8666 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8668         [BZ #7065]
8669         * configure.ac: Add check for unsupported stack-protection level.
8670         (libc_cv_predef_stack_protector): Remove.
8671         (no_ssp): New variable.
8672         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8673         (stack_protector): Set to -fno-stack-protector similarly.
8674         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8675         (libc_cv_asm_set_directive): Likewise.
8676         (libc_cv_protected_data): Likewise.
8677         (libc_cv_z_combreloc): Likewise.
8678         (libc_cv_hashstyle): Likewise.
8679         (libc_cv_has_glob_dat): Likewise.
8680         (libc_cv_output_format): Likewise.
8681         (libc_cv_output_format): Likewise.
8682         (libc_cv_ehdr_start): Likewise.
8683         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
8684         (LIBC_LINKER_FEATURE): Likewise.
8685         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
8687 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8689         [BZ #7065]
8690         * elf/Makefile (dummy-stack-chk-fail): New.
8691         (librtld.map): Use it.
8693 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8695         [BZ #7065]
8696         Compile the dynamic linker without stack protection.
8697         * elf/Makefile (elide-stack-protector): New.
8698         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
8699         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
8700         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
8701         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
8703 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8705         [BZ #7065]
8706         * config.make.in (have-ssp, no-stack-protector): New.
8707         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
8708         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
8709         (CFLAGS-sbrk.op): Likewise.
8710         (CFLAGS-brk.o): Likewise.
8711         (CFLAGS-brk.op): Likewise.
8712         * string/Makefile (CFLAGS-memcpy.c): Likewise.
8713         (CFLAGS-wordcopy.c): Likewise.
8715 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8717         [BZ #7065]
8718         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
8719         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
8720         * include/libc-symbols.h (inhibit_stack_protector): New macro.
8721         (__ifunc_resolver): Use it.
8722         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
8723         inhibit_stack_protector.
8724         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
8725         * elf/ifuncmain7.c (foo_ifunc): Likewise.
8726         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
8727         (foo_protected_ifunc): Likewise.
8728         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
8729         (foo_protected_ifunc): Likewise.
8730         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8731         * sysdeps/nacl/nacl_interface_query.c
8732         (nacl_interface_query_ifunc): Likewise.
8733         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8734         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
8735         Likewise.
8736         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
8737         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
8738         the generated vDSO syscall resolver.
8740 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8741             Florian Weimer  <fweimer@redhat.com>
8743         [BZ #7065]
8744         Initialize the stack guard earlier when linking statically.
8745         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
8746         (__pthread_initialize_minimal): Declare.
8747         * csu/libc-start.c (__pthread_initialize_minimal): Remove
8748         declaration.
8749         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
8750         stack canary and apply_irel initialization up.  Call
8751         __pthread_initialize_minimal only if linked in.
8752         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
8753         constant values.
8754         (__pthread_initialize_minimal): Remove.
8755         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
8756         (__pthread_initialize_minimal_internal): Do not call
8757         __libc_setup_tls.
8759 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8761         [BZ #7065]
8762         * configure.ac (libc_cv_ssp): Move up.
8763         (libc_cv_ssp_strong): Likewise.
8764         (libc_cv_ssp_all): New.
8765         (stack_protector): Augment, adding -fstack-protector-all.
8766         (no_stack_protector): New.
8767         (STACK_PROTECTOR_LEVEL): New.
8768         (AC_ARG_ENABLE(stack-protector)): New configure flag.
8769         * manual/install.texi (--enable-stack-protector): Document it.
8770         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
8772 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
8774         * README.pretty-printers: Must specify CPPFLAGS-* also.
8775         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
8776         (CPPFLAGS-test-mutex-printers.c): Define.
8777         (CPPFLAGS-test-condattr-printers.c): Define.
8778         (CPPFLAGS-test-cond-printers.c): Define.
8779         (CPPFLAGS-test-rwlockattr-printers.c): Define.
8780         (CPPFLAGS-test-rwlock-printers.c): Define.
8782         * nss/Makefile [ifeq (yes,$(have-thread-library))]
8783         (tests): Add tst-cancel-getpwuid_r.
8784         * nss/tst-cancel-getpwuid_r.c: New file.
8786         [BZ #11941]
8787         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
8788         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
8789         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
8790         tst-nodelete-dlclose.
8791         (modules-names): Add tst-nodelete-dlclose-dso and
8792         tst-nodelete-dlclose-plugin.
8793         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
8794         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
8795         ($(objpfx)tst-nodelete-dlclose): Define.
8796         ($(objpfx)tst-nodelete-dlclose.out): Define.
8798 2016-12-23  Florian Weimer  <fweimer@redhat.com>
8800         * scripts/test_printers_common.py: Log GDB output in case of
8801         Python detection failure.
8803 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8805         * configure.ac: Check for python3 or python.
8806         * configure: Regenerated.
8807         * config.make.in (PYTHON): New variable.
8808         * benchtests/Makefile: Don't define PYTHON.
8809         (bench): Define target only if PYTHON was defined.
8810         * Rules: Don't define PYTHON.
8811         Define pretty printer targets only if PYTHON was defined.
8812         (tests-printers): Add to tests-unsupported if PYTHON is not
8813         found.
8814         (python-flags, python-invoke): Remove.
8815         (tests-printers-out): Use PYTHON instead of python-invoke.
8817 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8819         [BZ #20978]
8820         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8821         Compare name == NULL, not name != NULL.
8823         * manual/texinfo.tex: Update to version 2016-09-18.18 with
8824         trailing whitespace removed.
8825         * scripts/config.guess: Update to version 2016-10-02.
8826         * scripts/config.sub: Update to version 2016-11-19.
8827         * scripts/install-sh: Update to version 2016-01-11.22.
8828         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
8829         * scripts/move-if-change: Update to version 2016-01-11 22:04.
8831 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
8833         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
8834         (do_one_test) Restore original string so iteration works.
8835         * string/string-inlines.c (do_test): Create better input strings.
8836         (test_main) Reduce number of testruns.
8837         * string/string-inlines.c (__old_strsep_1c): New function.
8838         (__old_strsep_2c): Likewise.
8839         (__old_strsep_3c): Likewise.
8840         * string/strsep.c (__strsep): Remove case of small delim string.
8841         Call strcspn directly rather than strpbrk.
8842         * string/bits/string2.h (__strsep): Remove define.
8843         (__strsep_1c): Remove.
8844         (__strsep_2c): Remove.
8845         (__strsep_3c): Remove.
8846         (strsep): Remove.
8847         * sysdeps/unix/sysv/linux/internal_statvfs.c
8848         (__statvfs_getflags): Rename to __strsep.
8850 2016-12-21  Florian Weimer  <fweimer@redhat.com>
8852         * csu/libc-tls.c (_dl_tls_setup): Remove.
8853         * elf/dl-tls.c (_dl_tls_setup): Likewise.
8854         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
8855         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
8857 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8859         [BZ #7065]
8860         * sysdeps/x86_64/Makefile [$(subdir) = elf]
8861         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
8863 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8864             Florian Weimer  <fweimer@redhat.com>
8866         [BZ #7065]
8867         * csu/Makefile (tests): Empty assignment and document it.
8868         (tests-static): Remove.
8869         * csu/tst-empty.c: Move to...
8870         * misc/tst-empty.c: ... here.  Switch to new test driver.
8871         * csu/tst-atomic.c: Move to...
8872         * misc/tst-atomic.c: ... here.  Switch to new test driver.
8873         * csu/tst-atomic-long.c: Move to...
8874         * misc/tst-atomic-long.c: ... here.
8875         * misc/Makefile (tests): Add tst-empty, tst-atomic,
8876         tst-atomic-long.
8877         (tests-static): Add tst-empty.
8879 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
8881         * manual/nss.texi: Change incorrect @vtable to @table.
8882         * manual/arith.texi: Convert @tables of variables to @vtables
8883         and remove unnecessary indexing.
8884         * manual/filesys.texi: Likewise.
8885         * manual/llio.texi: Likewise.
8886         * manual/memory.texi: Likewise.
8887         * manual/process.texi: Likewise.
8888         * manual/resource.texi: Likewise.
8889         * manual/search.texi: Likewise.
8890         * manual/signal.texi: Likewise.
8891         * manual/socket.texi: Likewise.
8892         * manual/stdio.texi: Likewise.
8893         * manual/sysinfo.texi: Likewise.
8894         * manual/syslog.texi: Likewise.
8895         * manual/terminal.texi: Likewise.
8896         * manual/time.texi: Likewise.
8897         * manual/users.texi: Likewise.
8899 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8901         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8902         (roundeven): New declaration.
8903         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
8904         macro.
8905         * math/Versions (roundeven): New libm symbol at version
8906         GLIBC_2.25.
8907         (roundevenf): Likewise.
8908         (roundevenl): Likewise.
8909         * math/Makefile (libm-calls): Add s_roundevenF.
8910         * math/libm-test.inc (roundeven_test_data): New array.
8911         (roundeven_test): New function.
8912         (main): Call roundeven_test.
8913         * math/test-tgmath.c (NCALLS): Increase to 134.
8914         (F(compile_test)): Call roundeven.
8915         (F(roundeven)): New function.
8916         * manual/arith.texi (Rounding Functions): Document roundeven,
8917         roundevenf and roundevenl.
8918         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
8919         * include/math.h (roundeven): Use libm_hidden_proto.
8920         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
8921         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
8922         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
8923         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
8924         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
8925         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
8926         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8927         roundeven.
8928         (CFLAGS-nldbl-roundeven.c): New variable.
8929         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
8930         * sysdeps/nacl/libm.abilist: Update.
8931         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8932         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8933         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8934         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8935         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8936         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8937         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8938         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8939         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8940         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8941         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8942         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8944         Likewise.
8945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8946         Likewise.
8947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8948         Likewise.
8949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8950         Likewise.
8951         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8952         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8953         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8954         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8955         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8957         Likewise.
8958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8959         Likewise.
8960         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8961         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8962         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8964 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8966         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
8967         preprocessor indentation inside #if.
8969 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8971         * math/libm-test.inc (fmt_ftostr): New function.
8972         (print_float, check_float_internal): Replace some uses of
8973         FTOSTR with uses of fmt_ftostr.
8974         (print_max_error, print_complex_max_error, print_function_ulps)
8975         (print_complex_function_ulps): Remove uses of the macros
8976         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
8977         * math/test-double.h (FTOSTR): Define to strfromd.
8978         (PRINTF_EXPR): Delete.
8979         (PRINTF_XEXPR): Likewise.
8980         (PRINTF_NEXPR): Likewise.
8981         * math/test-float.h (FTOSTR): Define to strfromf.
8982         (PRINTF_EXPR): Delete.
8983         (PRINTF_XEXPR): Likewise.
8984         (PRINTF_NEXPR): Likewise.
8985         * math/test-ldouble.h (FTOSTR): Define to strfroml.
8986         (PRINTF_EXPR): Delete.
8987         (PRINTF_XEXPR): Likewise.
8988         (PRINTF_NEXPR): Likewise.
8990 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8992         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8993         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
8994         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8995         (__lll_lock_elision): Decrement adapt_count while unlocking
8996         instead of before locking.
8997         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8998         (__lll_trylock_elision): Likewise.
8999         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9000         (__lll_unlock_elision): Likewise.
9002 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9004         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9005         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9006         Use __libc_tbegin_retry macro.
9008 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9010         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9011         Add -msoft-float.
9012         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9013         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9014         Use __libc_t* transaction macros instead of __builtin_t*.
9015         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9016         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9018 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9020         * sysdeps/unix/sysv/linux/s390/elision-lock.c
9021         (__lll_lock_elision): Use atomics to load / store adapt_count.
9022         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9023         (__lll_trylock_elision): Likewise.
9025 2016-12-20  Florian Weimer  <fweimer@redhat.com>
9027         Do not require memset elimination in explicit_bzero test.
9028         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9029         (enum test_expectation): Add NO_EXPECTATIONS.
9030         (subtests): NO_EXPECTATIONS for ordinary clear.
9031         (check_test_buffer): Handle NO_EXPECTATIONS.
9032         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9034 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9036         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9037         (fmaxmag): New declaration.
9038         (fminmag): Likewise.
9039         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9040         macro.
9041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9042         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9043         (fmaxmagf): Likewise.
9044         (fmaxmagl): Likewise.
9045         (fminmag): Likewise.
9046         (fminmagf): Likewise.
9047         (fminmagl): Likewise.
9048         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9049         * math/s_fmaxmag_template.c: New file.
9050         * math/s_fminmag_template.c: Likewise.
9051         * math/libm-test.inc (fmaxmag_test_data): New array.
9052         (fmaxmag_test): New function.
9053         (fminmag_test_data): New array.
9054         (fminmag_test): New function.
9055         (main): Call fmaxmag_test and fminmag_test.
9056         * math/test-tgmath.c (NCALLS): Increase to 132.
9057         (F(compile_test)): Call fmaxmag and fminmag.
9058         (F(fminmag)): New function.
9059         (F(fmaxmag)): Likewise.
9060         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9061         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9062         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9063         fminmag.
9064         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9065         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9066         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9067         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9068         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9069         and fminmag.
9070         (CFLAGS-nldbl-fmaxmag.c): New variable.
9071         (CFLAGS-nldbl-fminmag.c): Likewise.
9072         * sysdeps/nacl/libm.abilist: Update.
9073         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9074         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9075         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9076         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9077         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9078         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9079         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9080         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9081         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9082         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9083         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9084         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9086         Likewise.
9087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9088         Likewise.
9089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9090         Likewise.
9091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9092         Likewise.
9093         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9094         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9095         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9096         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9097         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9099         Likewise.
9100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9101         Likewise.
9102         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9103         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9104         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9106 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9108         [BZ #20973]
9109         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9110         wake-up in robust mutexes.
9111         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9113 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9115         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9116         (CFLAGS-bench-fmaxf.c): New rule.
9117         (CFLAGS-bench-fminf.c): Likewise.
9118         * benchtests/fmaxf-inputs: New file.
9119         * benchtests/fminf-inputs: Likewise.
9121         * benchtests/Makefile (bench-math): Add fmin and fmax.
9122         (CFLAGS-bench-fmax.c): New rule.
9123         (CFLAGS-bench-fmin.c): Likewise.
9124         * benchtests/fmax-inputs: New file.
9125         * benchtests/fmin-inputs: Likewise.
9127         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9128         parenthesis.
9129         (CMDLINE_PROCESS): Define using function instead of macro.
9130         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9131         of test-skeleton.
9132         * benchtests/bench-memchr.c: Likewise.
9133         * benchtests/bench-memcmp.c: Likewise.
9134         * benchtests/bench-memcpy-large.c: Likewise.
9135         * benchtests/bench-memcpy.c: Likewise.
9136         * benchtests/bench-memmem.c: Likewise.
9137         * benchtests/bench-memmove-large.c: Likewise.
9138         * benchtests/bench-memmove.c: Likewise.
9139         * benchtests/bench-memset-large.c: Likewise.
9140         * benchtests/bench-memset.c: Likewise.
9141         * benchtests/bench-rawmemchr.c: Likewise.
9142         * benchtests/bench-strcasecmp.c: Likewise.
9143         * benchtests/bench-strcasestr.c: Likewise.
9144         * benchtests/bench-strcat.c: Likewise.
9145         * benchtests/bench-strchr.c: Likewise.
9146         * benchtests/bench-strcmp.c: Likewise.
9147         * benchtests/bench-strcpy.c: Likewise.
9148         * benchtests/bench-strcpy_chk.c: Likewise.
9149         * benchtests/bench-strlen.c: Likewise.
9150         * benchtests/bench-strncasecmp.c: Likewise.
9151         * benchtests/bench-strncmp.c: Likewise.
9152         * benchtests/bench-strncpy.c: Likewise.
9153         * benchtests/bench-strnlen.c: Likewise.
9154         * benchtests/bench-strpbrk.c: Likewise.
9155         * benchtests/bench-strrchr.c: Likewise.
9156         * benchtests/bench-strsep.c: Likewise.
9157         * benchtests/bench-strspn.c: Likewise.
9158         * benchtests/bench-strstr.c: Likewise.
9159         * benchtests/bench-strtok.c: Likewise.
9161 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9163         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9164         stepping identification.
9165         (init_cpu_features): Add handle of Haswell.
9167 2016-11-25  Jim Meyering  <meyering@fb.com>
9169         [BZ #20386]
9170         Let gcc detect assert(a = 1) errors.
9171         * assert/assert.h (assert): Rewrite, retaining the old definintion
9172         when required, but otherwise putting the expression as-is in an "if"
9173         expression (hence, with no added parentheses) within a statement
9174         expression.
9176 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9178         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9179         DSO.
9181 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9183         * Rules (python-flags, python-invoke): New.
9184         ($(test-printers-out)): Use $(python-flags).
9186 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9188         * manual/arith.texi (Math Error Reporting): Document that sNaN
9189         arguments are not considered domain errors.
9191 2016-12-16  Zack Weinberg <zackw@panix.com>
9192             Florian Weimer <fweimer@redhat.com>
9193             Nick Mathewson <nickm@torproject.org>
9195         * string/explicit_bzero.c: New routine.
9196         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9197         * string/Makefile (routines, strop-tests, tests): Add them.
9198         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9199         * string/string.h [__USE_MISC]: Declare explicit_bzero.
9201         * debug/explicit_bzero_chk.c: New routine.
9202         * debug/Makefile (routines): Add it.
9203         * debug/tst-chk1.c: Test fortification of explicit_bzero.
9204         * string/bits/string3.h: Fortify explicit_bzero.
9206         * manual/string.texi: Document explicit_bzero.
9207         * NEWS: Mention addition of explicit_bzero.
9209         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9210         data before returning, using explicit_bzero.
9211         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9212         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9213         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9215         * include/string.h: Redirect internal uses of explicit_bzero
9216         to __explicit_bzero_chk[_internal].
9217         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9218         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9219         * sysdeps/arm/nacl/libc.abilist
9220         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9221         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9222         * sysdeps/unix/sysv/linux/arm/libc.abilist
9223         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9224         * sysdeps/unix/sysv/linux/i386/libc.abilist
9225         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9226         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9227         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9228         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9229         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9230         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9231         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9232         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9233         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9238         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9239         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9240         * sysdeps/unix/sysv/linux/sh/libc.abilist
9241         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9242         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9245         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9246         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9247         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9248         Add entries for explicit_bzero and __explicit_bzero_chk.
9250 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9252         * math/fenv.h
9253         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9254         (FE_SNANS_ALWAYS_SIGNAL): New macro.
9255         * math/test-fe-snans-always-signal.c: New file.
9256         * math/Makefile (tests): Add test-fe-snans-always-signal.
9257         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9258         * manual/arith.texi (Infinity and NaN): Document
9259         FE_SNANS_ALWAYS_SIGNAL.
9261 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9263         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9264         bracket.
9266 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9268         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9269         before calling execv.
9271 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9273         [BZ #20971]
9274         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9275         overflow in pointer addition.
9276         * string/test-memchr.c (do_test): Add an argument to pass as
9277         the size on memchr.
9278         (test_main): Add check for SIZE_MAX.
9280 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9282         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9283         (libm-calls): Add w_scalblnF.
9284         * math/w_scalbln.c: Remove.
9285         * math/w_scalblnf.c: Likewise.
9286         * math/w_scalblnl.c: Likewise.
9287         * math/w_scalbln_template.c: New file with type-generic
9288         implementation based on math/w_scalbln.c.
9289         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9290         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
9292 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9294         [BZ #20947]
9295         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
9296         either is a signaling NaN.
9297         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
9298         follow fmaxl more closely.
9299         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9300         when either is a signaling NaN.
9301         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
9302         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
9303         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
9304         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
9305         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
9306         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
9307         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
9308         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
9309         (fmin_test_data): Likewise.
9311 2016-12-15  Andreas Schwab  <schwab@suse.de>
9313         * support/support_test_main.c (support_test_main): Don't shadow
9314         file-local variable test_pid.
9316 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9318         [BZ #20947]
9319         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
9320         either is a signaling NaN.
9321         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
9323 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9325         [BZ #20947]
9326         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
9327         when either is a signaling NaN.
9328         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
9330         * bits/long-double.h: New file.
9331         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
9332         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
9333         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
9334         * sysdeps/mips/bits/long-double.h: Likewise.
9335         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
9336         * math/Makefile (headers): Add bits/long-double.h.
9337         * misc/sys/cdefs.h: Include <bits/long-double.h>.
9338         * stdlib/strtold.c: Include <bits/long-double.h> instead of
9339         <bits/wordsize.h>.
9340         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
9341         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
9342         * math/math.h: Do not include <bits/mathdef.h>.
9343         * sysdeps/aarch64/bits/mathdef.h: Remove file.
9344         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
9345         inclusion.
9346         * sysdeps/ia64/bits/mathdef.h: Remove file.
9347         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
9348         * sysdeps/mips/bits/mathdef.h: Likewise.
9349         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9350         * sysdeps/s390/bits/mathdef.h: Likewise.
9351         * sysdeps/sparc/bits/mathdef.h: Likewise.
9352         * sysdeps/x86/bits/mathdef.h: Likewise.
9353         * sysdeps/s390/s390-32/bits/wordsize.h
9354         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
9355         conditional code.
9356         * sysdeps/s390/s390-64/bits/wordsize.h
9357         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9358         Likewise.
9359         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
9360         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9361         Likewise.
9362         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
9363         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9364         Likewise.
9365         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9366         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9367         Likewise.
9369         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
9370         <linux/falloc.h>.
9371         (FALLOC_FL_KEEP_SIZE): Remove.
9372         (FALLOC_FL_PUNCH_HOLE): Likewise.
9373         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
9374         (FALLOC_FL_ZERO_RANGE): Likewise.
9376 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9378         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
9380 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9382         * sysdeps/unix/sysv/linux/renameat.c: New file.
9383         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
9385         * sysdeps/unix/sysv/linux/rename.c: New file.
9386         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
9388 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9390         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
9391         * string/strtok.c (strtok): Change to tailcall __strtok_r.
9392         * string/strtok_r.c (__strtok_r): Optimize for performance.
9393         * string/string-inlines.c (__old_strtok_r_1c): New function.
9394         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
9396 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9398         * math/Makefile (gen-libm-calls): Add w_log1pF.
9399         (libm-calls): Remove w_log1pF.
9400         * math/w_log1p.c: Remove.
9401         * math/w_log1pf.c: Likewise.
9402         * math/w_log1pl.c: Likewise.
9403         * math/w_log1p_template.c: New file with type-generic
9404         implementation based on math/w_log1p.c.
9405         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
9406         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
9408 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9410         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
9412 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9414         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9415         kernel version to 4.9.
9417 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
9419         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
9420         ($(inst_libdir)/libm.a): Fix rule to create the target only.
9422 2016-12-13  Andreas Schwab  <schwab@suse.de>
9424         * sysdeps/powerpc/dl-procinfo.c: Don't define
9425         _dl_powerpc_platforms.
9426         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
9427         constants instead of referencing _dl_powerpc_platforms.
9428         (_dl_platform_string): Remove.
9430 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9432         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
9434 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9436         * Rules (binaries-shared-tests, binaries-pie-tests)
9437         (binaries-static-tests): Link with $(link-extra-libs-tests).
9438         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
9439         Remove $(link-extra-libs-tests).
9441 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9443         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9444         (sysdep_routines): Add strncmp_power9.
9445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9446         (strncmp): Add __strncmp_power9 to list of strncmp functions.
9447         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
9448         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9449         (strncmp): Add __strncmp_power9 to ifunc list.
9450         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
9452 2016-12-12  Florian Weimer  <fweimer@redhat.com>
9454         [BZ #17252]
9455         Add getentropy, getrandom.
9456         * stdlib/sys/random.h: New file.
9457         (headers): Add it.
9458         * stdlib/Makefile (routines): Add getentropy, getrandom.
9459         (tests): Add tst-getrandom.
9460         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
9461         * stdlib/getentropy.c: New file.
9462         * stdlib/getrandom.c: Likewise.
9463         * stdlib/tst-getrandom.c: Likewise.
9464         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
9465         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
9466         * manual/crypt.texi (Unpredictable Bytes): New section.
9467         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
9468         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
9469         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9470         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9471         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9472         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9473         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9474         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9475         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9476         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9477         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9478         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9479         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9480         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9481         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9482         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9484         Likewise.
9485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9486         Likewise.
9487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9489         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9490         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9491         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9492         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9493         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9496         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9497         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9498         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9500 2016-12-10  Florian Weimer  <fweimer@redhat.com>
9502         [BZ #20956]
9503         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
9504         as additional compiler barriers.
9505         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
9506         (fn2, do_test): Declare with external linkage.
9507         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
9508         (do_test): Declare with external linkage.
9509         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
9510         (do_test): Declare with external linkage.
9511         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
9512         (do_test): Declare with external linkage.
9514 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
9516         * support/support_test_main.c (support_test_main): Use correct
9517         timeout.
9519 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
9520             Florian Weimer  <fweimer@redhat.com>
9522         [BZ #16421]
9523         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
9524         and __u6_addr32 members.
9525         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
9526         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
9527         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
9528         Use __u6_addr32.
9529         * inet/tst-checks.c: Use <support/test-driver.c>
9530         * inet/tst-checks-posix.c: New file.
9531         * inet/Makefile (tests): Add it.
9532         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
9534 2016-12-09  Florian Weimer  <fweimer@redhat.com>
9536         New subdirectory support for build and test infrastructure.
9537         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
9538         setting install-lib.
9539         * Makeconfig (link-extra-libs-tests): Define.
9540         (+link-pie-tests, +link-static-tests, +link-tests): Use
9541         link-extra-libs-tests.
9542         (rpath-dirs, all-subdirs): Add support.
9543         (built-modules): Add libsupport.
9544         (libsupport): Define.
9545         * support: New directory.
9546         * support/Makefile: New file.
9547         * support/check.c: Likewise.
9548         * support/check.h: Likewise.
9549         * support/delayed_exit.c: Likewise.
9550         * support/ignore_stderr.c: Likewise.
9551         * support/oom_error.c: Likewise.
9552         * support/set_fortify_handler.c: Likewise.
9553         * support/support.h: Likewise.
9554         * support/temp_file-internal.h: Likewise.
9555         * support/temp_file.c: Likewise.
9556         * support/test-driver.c: Likewise.
9557         * support/test-driver.h: Likewise.
9558         * support/test_main.c: Likewise.
9559         * support/write_message.c: Likewise.
9560         * support/xasprintf.c: Likewise.
9561         * support/xcalloc.c: Likewise.
9562         * support/xmalloc.c: Likewise.
9563         * support/xpthread_barrier_destroy.c: Likewise.
9564         * support/xpthread_barrier_init.c: Likewise.
9565         * support/xpthread_barrier_wait.c: Likewise.
9566         * support/xpthread_cancel.c: Likewise.
9567         * support/xpthread_check_return.c: Likewise.
9568         * support/xpthread_cond_wait.c: Likewise.
9569         * support/xpthread_create.c: Likewise.
9570         * support/xpthread_detach.c: Likewise.
9571         * support/xpthread_join.c: Likewise.
9572         * support/xpthread_mutex_lock.c: Likewise.
9573         * support/xpthread_mutex_unlock.c: Likewise.
9574         * support/xpthread_sigmask.c: Likewise.
9575         * support/xpthread_spin_lock.c: Likewise.
9576         * support/xpthread_spin_unlock.c: Likewise.
9577         * support/xrealloc.c: Likewise.
9578         * support/xsignal.h: Likewise.
9579         * support/xthread.h: Likewise.
9580         * support_tempfile.h: Likewise.
9581         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
9582         (TEST_DATA_LIMIT): Remove unused macro.
9583         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
9584         <support/check.h>.
9585         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
9586         (ignore_stderr, set_fortify_handler): Remove.  Now in
9587         <support/support.h>.
9588         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
9589         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
9590         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
9591         (xpthread_join): Remove.  Now in <support/xthread.h>.
9592         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
9593         Introduce legacy wrappers.
9594         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
9595         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
9596         (write_message): Remove.
9597         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
9598         test-skeleton.c.
9599         * io/test-open-tmpfile: Likewise.
9600         * io/tst-posix_fallocate-common.c: Likewise.
9601         * libio/tst-fseek.c: Likewise.
9602         * malloc/tst-malloc-backtrace.c: Likewise.
9603         * malloc/tst-malloc-fork-deadlock.c: Likewise.
9604         * malloc/tst-malloc-thread-exit.c: Likewise.
9605         * nptl/tst-cancel7.c: Likewise.
9606         * nptl/tst-cleanup0.c: Likewise.
9607         * posix/tst-posix_fadvise-common.c: Likewise.
9608         * rt/tst-shm.c: Likewise.
9609         * time/bug-getdate1.c: Likewise.
9610         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9611         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
9612         * elf/Makefile (tst-piemod1.so): Link against libsupport.
9614 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
9616         * Rules [$(run-built-tests) != no] (tests-expected): Add
9617         $(tests-printers).
9618         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
9620 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9622         [BZ #20539]
9623         * math/Makefile (install-lib-ldscripts): Add libm.a.
9624         (install_subdir): Remove.
9625         (install-others): Add.
9626         ($(inst_libdir)/libm.a): Add rule for installation as
9627         linker script.
9628         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9630 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9632         * INSTALL: Regenerated.
9633         * Makeconfig: Add comments and whitespace to make the control flow
9634         clearer.
9635         (+link-printers-tests, +link-pie-printers-tests,
9636         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9637         built-rtld-LDFLAGS, link-libc-rpath,
9638         link-libc-tests-after-rpath-link,
9639         link-libc-printers-tests): New.
9640         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9641         link-libc-tests): Use the new variables as required.
9642         * Makerules ($(py-const)): New rule.
9643         generated: Add $(py-const).
9644         * README.pretty-printers: New file.
9645         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9646         (others): Depend on $(py-const).
9647         (tests): Depend on $(tests-printers-programs) or
9648         $(tests-printers-out),
9649         as required.  Pass $(tests-printers) to merge-test-results.sh.
9650         * manual/install.texi: Add requirements for testing the pretty
9651         printers.
9652         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9653         tests-printers, CFLAGS-test-mutexattr-printers.c
9654         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9655         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9656         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9657         * nptl/nptl-printers.py: New file.
9658         * nptl/nptl_lock_constants.pysym: Likewise.
9659         * nptl/test-cond-printers.c: Likewise.
9660         * nptl/test-cond-printers.py: Likewise.
9661         * nptl/test-condattr-printers.c: Likewise.
9662         * nptl/test-condattr-printers.py: Likewise.
9663         * nptl/test-mutex-printers.c: Likewise.
9664         * nptl/test-mutex-printers.py: Likewise.
9665         * nptl/test-mutexattr-printers.c: Likewise.
9666         * nptl/test-mutexattr-printers.py: Likewise.
9667         * nptl/test-rwlock-printers.c: Likewise.
9668         * nptl/test-rwlock-printers.py: Likewise.
9669         * nptl/test-rwlockattr-printers.c: Likewise.
9670         * nptl/test-rwlockattr-printers.py: Likewise.
9671         * scripts/gen-py-const.awk: Likewise.
9672         * scripts/test_printers_common.py: Likewise.
9673         * scripts/test_printers_exceptions.py: Likewise.
9675 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9677         * scripts/build-many-glibcs.py (Context.__init__): Take strip
9678         argument.
9679         (Glibc.build_glibc): Strip installed shared libraries if
9680         requested.
9681         (get_parser): Add --strip option.
9682         (main): Update Context call.
9684 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9685             Dominik Vogt  <vogt@linux.vnet.ibm.com>
9687         [BZ #20847]
9688         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9689         array bounds for else branch.
9690         (__execvpe): Style fixes.
9691         * posix/tst-vfork3.c (run_script): New function.
9692         (create_script): Likewise.
9693         (do_test): Use run_script internal function.
9694         (do_prepare): Use create_script internal function.
9696 2016-12-07  Andreas Schwab  <schwab@suse.de>
9698         * sysdeps/unix/sysv/linux/x86/elision-conf.h
9699         (__elision_available): Don't declare.
9700         * sysdeps/unix/sysv/linux/x86/elision-conf.c
9701         (__elision_available): Don't define.
9702         (elision_init): Don't set __elision_available.
9704 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9706         [BZ #20940]
9707         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
9708         return Inf for arguments Inf and sNaN.
9709         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
9710         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9711         Likewise.
9712         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9713         Likewise.
9714         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9715         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
9716         for arguments Inf and sNaN.  When returning a NaN, compute it by
9717         arithmetic on the arguments.
9718         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
9719         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
9720         arguments.
9722 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
9724         [BZ #20916]
9725         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
9726         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
9727         to compute result.
9728         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9729         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
9731 2016-12-05  Torvald Riegel  <triegel@redhat.com>
9733         * include/atomic.h (__atomic_check_size_ls): New.
9734         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
9735         atomic_store_release): Use it.
9736         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
9737         (elision_adapt, ELIDE_LOCK): Use atomics.
9738         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
9739         atomics and improve code comments.
9740         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
9741         (__lll_trylock_elision): Likewise.
9743 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9745         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
9746         programs.
9748 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9750         [BZ #20916]
9751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
9752         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
9753         arguments to compute result.
9754         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
9755         1 for arguments (sNaN, 0) or (1, sNaN).
9756         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9757         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9759         [BZ #20919]
9760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
9761         NaN first argument when raised to power 0.
9762         * math/w_pow.c (__pow): Do not check for NaN or zero results from
9763         raising to power zero.
9764         * math/w_powf.c (__powf): Likewise.
9765         * math/w_powl.c (__powl): Likewise.
9766         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
9767         pow (0, 0) or pow (NaN, 0).
9769 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
9771         [BZ #20918]
9772         * configure.ac: Test for static NSS cryptographic libraries and set
9773         libc_cv_static_nss_crypt.
9774         * configure: Regenerate.
9775         * config.make.in (static-nss-crypt): Define.
9776         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
9777         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
9778         (CFLAGS-tst-linkall-static.c): Define.
9779         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
9780         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
9781         ($(objpfx)tst-linkall-static): Define.
9782         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
9783         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
9785 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9787         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
9788         (one-hundred, tst-tls-many-dynamic-modules): Define.
9789         (modules-names): Add $(tst-tls-many-dynamic-modules).
9790         (tst-tls-manydynamic%mod.os): Build with special preprocessor
9791         macros.
9792         (tst-tls-manydynamic): Link against libdl, libpthread.
9793         (tst-tls-manydynamic.out): The test needs the test modules at run
9794         time.
9795         * elf/tst-tls-manydynamic.c: New file.
9796         * elf/tst-tls-manydynamic.h: Likewise.
9797         * elf/tst-tls-manydynamicmod.c: Likewise.
9799 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9801         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
9802         (TLS_DTV_UNALLOCATED): Add.
9803         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
9804         offsets.
9806 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9808         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9810 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9812         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
9813         Add -fno-optimize-sibling-calls.
9815 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9817         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
9818         New declaration.
9819         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
9820         macro.
9821         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
9822         New macro.
9823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
9824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
9825         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
9826         (llogbf): Likewise.
9827         (llogbl): Likewise.
9828         * math/Makefile (gen-libm-calls): Add w_llogbF.
9829         (tests): Add test-fp-llogb-constants.
9830         * math/w_llogb_template.c: New file.  Based on
9831         math/w_ilogb_template.c.
9832         * math/libm-test.inc (llogb_test_data): New array.
9833         (llogb_test): New function.
9834         (main): Call llogb_test.
9835         * math/test-fp-llogb-constants.c: New file.  Based on
9836         math/test-fp-ilogb-constants.c.
9837         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
9838         (do_test): Call check_return_llogb.
9839         * math/test-tgmath.c (NCALLS): Increase to 126.
9840         (F(compile_test)): Call llogb.
9841         (F(llogb)): New function.
9842         * manual/math.texi (Exponents and Logarithms): Document llogb,
9843         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
9844         * manual/libm-err-tab.pl (@all_functions): Add llogb.
9845         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
9846         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
9847         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
9848         (CFLAGS-nldbl-llogb.c): New variable.
9849         * sysdeps/nacl/libm.abilist: Update.
9850         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9851         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9852         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9853         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9854         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9855         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9856         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9857         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9858         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9859         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9860         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9861         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9863         Likewise.
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9865         Likewise.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9867         Likewise.
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9869         Likewise.
9870         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9871         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9872         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9873         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9874         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9876         Likewise.
9877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9878         Likewise.
9879         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9880         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9881         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9883 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9885         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
9886         _Float128 instead of long double.
9887         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
9889         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
9890         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
9891         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
9892         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9893         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
9894         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
9895         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
9896         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
9897         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
9898         Likewise.
9900 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9902         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
9903         Remove redirection to __strrchr_ppc.
9905 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9907         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9908         (sysdep_routines): Add strcmp_power9.
9909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9910         (strcmp): Add __strcmp_power9 to list of strcmp functions.
9911         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
9912         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9913         (strcmp): Add __strcmp_power9 to ifunc list.
9914         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
9916 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9918         * bits/fp-logb.h: New file.
9919         * sysdeps/ia64/bits/fp-logb.h: Likewise.
9920         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
9921         * sysdeps/x86/bits/fp-logb.h: Likewise.
9922         * math/Makefile (headers): Add bits/fp-logb.h.
9923         * math/math.h: Include <bits/fp-logb.h>.
9924         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
9925         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
9926         * bits/mathdef.h (FP_ILOGB0): Remove.
9927         (FP_ILOGBNAN): Likewise.
9928         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
9929         (FP_ILOGBNAN): Likewise.
9930         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
9931         (FP_ILOGBNAN): Likewise.
9932         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
9933         (FP_ILOGBNAN): Likewise.
9934         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
9935         (FP_ILOGBNAN): Likewise.
9936         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
9937         (FP_ILOGBNAN): Likewise.
9938         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
9939         (FP_ILOGBNAN): Likewise.
9940         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
9941         (FP_ILOGBNAN): Likewise.
9942         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
9943         (FP_ILOGBNAN): Likewise.
9944         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
9945         (FP_ILOGBNAN): Likewise.
9947         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
9948         time module.
9949         (Context.__init__): Initialize self.logsdir_old.
9950         (Context.run_builds): Handle bot action.
9951         (Context.bot_cycle): Copy logs directory before running builds.
9952         (Context.bot_run_self): Take argument for whether to check
9953         subprocess result.  Flush stdout before running subprocess.
9954         (Context.bot): New function.
9955         (get_parser): Allow bot action.
9957 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
9959         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
9960         Import email.mime.text, email.utils and smtplib modules.
9961         (Context.__init__): Initialize self.bot_config_json.
9962         (Context.run_builds): Handle bot-cycle action.
9963         (Context.load_bot_config_json): New function.
9964         (Context.part_build_old): Likewise.
9965         (Context.bot_cycle): Likewise.
9966         (Context.bot_build_mail): Likewise.
9967         (Context.bot_run_self): Likewise.
9968         (get_parser): Allow bot-cycle action.
9970 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9972         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
9973         Remove redirection to __stpcpy_ppc.
9975 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9977         Remove __libc_memalign from ld.so because it is unused.
9978         * elf/dl-minimal.c: Update comment on the malloc implementation.
9979         (malloc): Renamed from __libc_memalign, replacing the original
9980         malloc implementation.  Replace the align parameter with
9981         MALLOC_ALIGNMENT.
9982         * elf/Versions (ld): Update comment and remove __libc_memalign.
9983         * sysdeps/nacl/ld.abilist: Likewise.
9984         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9985         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9986         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9987         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9988         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9989         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9990         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9991         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9992         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9993         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9994         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9995         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9996         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10000         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10001         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10002         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10003         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10004         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10007         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10008         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10009         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10010         * sysdeps/generic/localplt.data (ld.so): Likewise.
10011         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10012         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10013         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10014         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10015         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10016         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10017         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10018         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10019         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10021         (ld.so): Likewise.
10022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10023         (ld.so): Likewise.
10024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10025         Likewise.
10026         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10027         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10028         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10029         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10030         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10032 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10034         [BZ #16628]
10035         Implement _dl_catch_error, _dl_signal_error in libc.so.
10036         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10037         (catch_hook): Define as thread-local or regular variable,
10038         depending on DL_ERROR_BOOTSTRAP.
10039         (CATCH_HOOK): Remove.
10040         (dl_signal_error, _dl_catch_error): Use
10041         catch_hook.  Add hidden definition for libc.
10042         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
10043         for DL_ERROR_BOOTSTRAP only.
10044         * elf/dl-error.c: New file.
10045         * elf/dl-error-minimal.c: Likewise.
10046         * elf/tst-latepthread.c: Likewise.
10047         * elf/tst-latepthreadmod.c: Likewise.
10048         * elf/Makefile (routines): Add dl-error.
10049         (dl-routines): Remove dl-error.
10050         (rtld-routines): Add dl-error-minimal.
10051         [build-shared] (tests): Add tst-latepthread.
10052         (module-names): Add tst-latepthreadmod.
10053         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10054         symbol.
10055         (tst-latepthreadmod.so): Link against libpthread.
10056         (tst-latepthread): Link against libdbl.
10057         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10058         _dl_catch_error.
10059         [ld] (GLIBC_PRIVATE): Likewise.
10060         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10061         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10062         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10063         directly.
10064         * elf/dl-tsd.c: Remove file.
10065         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10066         _dl_catch_error, _dl_signal_error.
10067         (_dl_initial_error_catch_tsd): Remove definition.
10068         (do_preload): Remove initialization of dl_error_catch_tsd.
10069         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10070         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10071         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10072         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10073         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10074         set dl_error_catch_tsd.
10075         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10076         _dl_error_catch_tsd member.
10077         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10078         members.
10079         (_dl_initial_error_catch_tsd): Remove declaration.
10080         (_dl_dprintf): Provide definition for use outside of ld.so.
10081         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10082         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10083         prototype for libc.
10084         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10085         _dl_catch_error.
10086         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10087         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10088         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10089         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10090         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10091         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10092         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10093         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10094         Likewise.
10095         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10097         (ld.so): Likewise.
10098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10099         (ld.so): Likewise.
10100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10101         Likewise.
10102         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10103         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10104         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10105         Likewise.
10106         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10107         Likewise.
10108         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10110 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10112         [BZ #4099]
10113         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10114         _IO_BUFSIZ (8192).
10116 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10118         * PROJECTS: Remove file.
10120 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10122         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10124 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10125             Steve Ellcey  <sellcey@caviumnetworks.com>
10127         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10128         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10129         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10130         fxstatat.
10131         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10132         lxstat.
10133         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10134         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10135         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10136         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10137         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10138         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10139         __xstat.
10141 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10143         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10144         Define.
10145         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10146         definition.
10148 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10150         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10151         version and turn into strong alias.  Remove compat symbol.
10153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10154         (__longjmp): Remove.
10156 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10158         * bits/fp-fast.h: New file.
10159         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10160         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10161         * math/Makefile (headers): Add bits/fp-fast.h.
10162         * math/math.h: Include <bits/fp-fast.h>.
10163         * bits/mathdef.h (FP_FAST_FMA): Remove.
10164         (FP_FAST_FMAF): Likewise.
10165         (FP_FAST_FMAL): Likewise.
10166         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10167         (FP_FAST_FMAF): Likewise.
10168         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10169         (FP_FAST_FMAF): Likewise.
10170         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10171         (FP_FAST_FMAF): Likewise.
10172         (FP_FAST_FMAL): Likewise.
10173         * sysdeps/arm/bits/mathdef.h: Remove file.
10174         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10175         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10176         * sysdeps/tile/bits/mathdef.h: Likewise.
10178 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10180         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10181         * math/w_ilogb.c: Remove.
10182         * math/w_ilogbf.c: Likewise.
10183         * math/w_ilogbl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10185         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10186         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10187         (libm-calls): Remove w_ilogbF.
10188         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10189         (LDOUBLE_ilogbl_libm_version): New macro.
10191         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10193         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10194         [!__STRICT_ANSI__ && !__cplusplus].
10196 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10198         [BZ #20750]
10199         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10200         of PIC.
10202 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10203             Yury Norov  <ynorov@caviumnetworks.com>
10204             Steve Ellcey  <sellcey@caviumnetworks.com>
10206         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10207         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10208         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10209         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10210         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10211         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10212         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10213         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10214         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10215         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10216         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10217         to get correct reg name for ILP32.
10218         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10219         (RELA_SIZE): New Macro.
10220         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10221         to support ILP32.
10222         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10223         cast for ILP32 mode.
10224         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10225         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10226         * sysdeps/aarch64/memset.S (__memset): Ditto.
10227         * sysdeps/aarch64/strchr.S (strchr): Ditto.
10228         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10229         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10230         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10231         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10232         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10233         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10234         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10235         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10236         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10237         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10238         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10239         change PTR_MANGLE call to use register numbers instead of names.
10240         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10241         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10242         ILP32 mode, change PTR_MANGLE calls to use register numbers.
10243         * sysdeps/aarch64/start.S (_start): Ditto.
10244         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10245         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10246         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10247         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10248         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10249         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10250         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10251         Make defined values dependent on __ILP32__.
10252         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10253         (sem_t): Change __align type.
10254         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10255         PTR_SIZE): New Macros.
10256         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10257         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10258         Set when in ILP32 mode.
10259         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10260         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10261         Set elf flags for ILP32.
10262         (add_system_dir): Set ILP32 library directories.
10263         * sysdeps/unix/sysv/linux/aarch64/init-first.c
10264         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10265         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10266         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10267         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10268         New Macros.
10269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10271 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
10273         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10274         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10275         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10277 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10279         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10280         <asm/cachectl.h>.
10282 2016-11-27  Zack Weinberg  <zackw@panix.com>
10284         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10285         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10287 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10289         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10290         error_t to fix usage in C++ programs.
10292 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
10294         * scripts/build-many-glibcs.py: Import datetime module.
10295         (Context.__init__): Load JSON build state.  Initialize list of
10296         status logs.
10297         (Context.run_builds): Update saved build state.
10298         (Context.add_makefile_cmdlist): Update list of status logs.
10299         (Context.load_build_state_json): New function.
10300         (Context.store_build_state_json): Likewise.
10301         (Context.clear_last_build_state): Likewise.
10302         (Context.update_build_state): Likewise.
10303         (CommandList.status_logs): Likewise.
10305 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
10307         * scripts/build-many-glibcs.py (Context.__init__): Save text of
10308         script being executed.
10309         (Context.get_script_text): New function.
10310         (Context.exec_self): Likewise.
10311         (Context.checkout): Re-exec script if changed by checkout process.
10313 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10315         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10316         (setpayloadsig): New declaration.
10317         * math/Versions (setpayloadsig): New libm symbol at version
10318         GLIBC_2.25.
10319         (setpayloadsigf): Likewise.
10320         (setpayloadsigl): Likewise.
10321         * math/Makefile (libm-calls): Add s_setpayloadsigF.
10322         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
10323         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
10324         (setpayloadsig_test_data): New array.
10325         (setpayloadsig_test): New function.
10326         (main): Call setpayloadsig_test.
10327         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
10328         setpayloadsigf and setpayloadsigl.
10329         * manual/libm-err-tab.pl: Update comment on interfaces without
10330         ulps tabulated.
10331         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
10332         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
10333         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
10334         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
10335         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
10336         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
10337         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10338         setpayloadsig.
10339         (CFLAGS-nldbl-setpayloadsig.c): New variable.
10340         * sysdeps/nacl/libm.abilist: Update.
10341         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10342         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10343         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10344         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10345         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10346         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10347         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10348         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10349         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10352         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10354         Likewise.
10355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10356         Likewise.
10357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10358         Likewise.
10359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10360         Likewise.
10361         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10362         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10363         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10364         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10365         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10367         Likewise.
10368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10369         Likewise.
10370         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10371         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10372         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10374         * scripts/build-many-glibcs.py: Import json module.
10375         (Context.__init__): Take replace_sources argument.  Load
10376         versions.json.
10377         (Context.load_versions_json): New function.
10378         (Context.store_json): Likewise.
10379         (Context.store_versions_json): Likewise.
10380         (Context.set_component_version): Likewise.
10381         (Context.checkout): Update versions.json.  Check for and handle
10382         changes of version.  Prefer previously explicitly specified
10383         version to default version.
10384         (Context.checkout_vcs): Return a revision identifier.
10385         (Context.git_checkout): Likewise.
10386         (Context.gcc_checkout): Likewise.
10387         (get_parser): Add --replace-sources option.
10388         (main): Pass replace_sources argument to Context call.
10390 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10392         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
10393         * nptl/allocatestack.c (allocate_stack): Likewise.
10394         (__reclaim_stacks): Likewise.
10395         (setxid_signal_thread): Obtain pid through syscall.
10396         * nptl/nptl-init.c (sigcancel_handler): Likewise.
10397         (sighandle_setxid): Likewise.
10398         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
10399         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10400         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10401         Likewise.
10402         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10403         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
10404         comment.
10405         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
10406         * nptl/descr.h (struct pthread): Change comment about pid value.
10407         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
10408         pid assert.
10409         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
10410         Do not set pid value.
10411         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
10412         pid cache check.
10413         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
10414         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
10415         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
10416         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
10417         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
10418         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10419         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
10420         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
10421         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
10422         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
10423         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
10424         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10425         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
10426         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10427         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
10428         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
10429         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10430         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
10431         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
10432         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
10433         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
10434         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10435         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
10436         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
10437         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
10438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10440         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10441         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10442         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10443         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
10444         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
10445         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
10446         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10447         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
10448         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10449         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
10450         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10451         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
10452         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
10453         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10454         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
10455         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
10456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10458         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10459         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10460         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10461         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10462         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10463         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
10464         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10465         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
10466         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
10467         struct access.
10468         (clone_test): Remove function.
10469         (do_test): Rewrite to take in consideration pid is not cached anymore.
10471 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10473         * bits/flt-eval-method.h: New file.
10474         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
10475         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
10476         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
10477         * math/Makefile (headers): Add bits/flt-eval-method.h.
10478         * math/math.h: Include <bits/flt-eval-method.h>.
10479         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
10480         [__USE_ISOC99] (double_t): Likewise.
10481         * bits/mathdef.h (float_t): Remove.
10482         (double_t): Likewise.
10483         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
10484         (double_t): Likewise.
10485         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
10486         (double_t): Likewise.
10487         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
10488         (double_t): Likewise.
10489         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
10490         (double_t): Likewise.
10491         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
10492         (double_t): Likewise.
10493         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
10494         (double_t): Likewise.
10495         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
10496         (double_t): Likewise.
10497         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
10498         (double_t): Likewise.
10499         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
10500         (double_t): Likewise.
10501         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
10502         (double_t): Likewise.
10503         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
10504         (double_t): Likewise.
10505         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
10506         (double_t): Likewise.
10507         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
10508         (double_t): Likewise.
10510 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
10512         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
10513         instead of PIC.
10515 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10517         [BZ #20859]
10518         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
10519         (-0x7fffffff) instead of 0x80000001.
10520         * math/test-fp-ilogb-constants.c: New file.
10521         * math/Makefile (tests): Add test-fp-ilogb-constants.
10523 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
10525         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
10526         (_init): Use it in place of hardcoded R_MIPS_JALR.
10527         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
10528         (_init): Use it in place of hardcoded R_MIPS_JALR.
10529         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
10530         (_init): Use it in place of hardcoded R_MIPS_JALR.
10532 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10534         [BZ #20787]
10535         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
10536         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
10537         (double_t): Do not define to double if [__x86_64__] when
10538         __FLT_EVAL_METHOD__ is nonzero.
10539         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
10540         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
10541         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10542         test-flt-eval-method-387 and test-flt-eval-method-sse.
10543         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
10544         variable.
10545         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
10547 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
10549         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
10550         use of -fno-isolate-erroneous-paths options for tilepro.
10552 2016-11-23  Florian Weimer  <fweimer@redhat.com>
10554         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
10555         structure initialization is no longer needed.
10557 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10559         [BZ #20855]
10560         * bits/mathdef.h (float_t): Define to float.
10561         * math/test-flt-eval-method.c: New file.
10562         * math/Makefile (tests): Add test-flt-eval-method.
10563         (CFLAGS-test-flt-eval-method.c): New variable.
10565 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
10567         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
10568         and __fstatfs.  Make them aliases of __fstatfs64 if
10569         STATFS_IS_STATFS64 is set to non-zero.
10570         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
10571         and __statfs64.
10572         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
10573         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
10574         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
10575         for __statfs and statfs.
10576         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
10577         to 0.
10578         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
10579         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
10580         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
10581         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10582         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10583         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
10586         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
10587         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10588         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
10589         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
10591 2016-11-22  Andreas Schwab  <schwab@suse.de>
10593         * misc/mkstemp.c: Include <fcntl.h>.
10594         * misc/mkstemps.c: Likewise.
10595         * misc/mkostemp.c: Likewise.
10596         * misc/mkostemps.c: Likewise.
10598 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
10600         [BZ #20847]
10601         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10602         array bounds.
10603         (__execvpe): Likewise.
10605 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
10607         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
10608         -fno-isolate-erroneous-paths options for tilepro.
10610 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
10612         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
10613         to 0 when in 32 bit mode.
10614         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
10615         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10616         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10617         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10619         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10620         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
10621         XSTAT_IS_XSTAT64 test.
10622         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10623         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10624         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10625         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10626         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10627         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10628         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10629         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10630         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10631         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10632         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10634 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10636         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10637         (setpayload): New declaration.
10638         * math/Versions (setpayload): New libm symbol at version
10639         GLIBC_2.25.
10640         (setpayloadf): Likewise.
10641         (setpayloadl): Likewise.
10642         * math/Makefile (libm-calls): Add s_setpayloadF.
10643         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10644         test_Ff_b1_data.
10645         (RUN_TEST_Ff_b1): New macro.
10646         (RUN_TEST_LOOP_Ff_b1): Likewise.
10647         (canonicalize_test_data): Update type.
10648         (setpayload_test_data): New array.
10649         (setpayload_test): New function.
10650         (main): Call setpayload_test.
10651         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10652         setpayloadf and setpayloadl.
10653         * manual/libm-err-tab.pl: Update comment on interfaces without
10654         ulps tabulated.
10655         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10656         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10657         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10658         Likewise.
10659         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10660         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10661         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10662         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10663         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10664         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10665         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10666         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10667         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10668         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10669         setpayload.
10670         (CFLAGS-nldbl-setpayload.c): New variable.
10671         * sysdeps/nacl/libm.abilist: Update.
10672         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10673         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10674         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10675         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10676         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10677         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10678         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10679         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10680         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10681         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10682         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10683         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10685         Likewise.
10686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10687         Likewise.
10688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10689         Likewise.
10690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10691         Likewise.
10692         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10693         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10694         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10695         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10696         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10698         Likewise.
10699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10700         Likewise.
10701         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10702         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10703         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10705 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10707         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
10708         * include/unistd.h: Extend comment about __access_noerrno return
10709         semantics.
10710         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
10711         (access_common): Correct typo for EACCES.
10713 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
10715         * sysdeps/tile/math-tests.h: New file.
10717         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
10718         (__old_set_dataplane): Rename from set_dataplane and make a
10719         compatibility symbol.
10720         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
10721         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
10722         sys/dataplane.h.
10724 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
10726         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
10727         script quote words in command output to log suitably for input to
10728         the shell.
10730 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
10731             Maciej W. Rozycki  <macro@imgtec.com>
10733         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
10734         `.Lno_weak_fn' label.
10735         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
10736         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
10738 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10739             Yury Norov  <ynorov@caviumnetworks.com>
10741         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
10742         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
10743         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10744         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
10745         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
10747         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10748         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10749         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10750         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
10751         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10752         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
10753         (sysdep_routines): Remove oldgetrlimit64.
10754         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
10755         (sysdep_routines): Likewise.
10756         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
10757         (sysdep_routines): Likewise.
10758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10759         [$(subdir) = resource] (sysdep_routines): Likewise.
10760         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
10761         [$(subdir) = resource] (sysdep_routines): Likewise.
10762         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
10763         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
10764         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
10765         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
10766         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
10767         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10768         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10769         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
10770         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
10771         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
10772         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
10773         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
10774         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
10775         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
10776         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
10777         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
10778         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
10779         setrlimit and getrlimit.
10780         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
10781         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10782         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
10783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
10785         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10786         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
10787         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10788         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10789         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
10790         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
10791         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
10792         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
10793         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
10794         (__old_getrlimit64): Add compatibility symbol.
10795         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
10797 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
10799         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
10800         newly built gmp, mpfr and mpc.
10802         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
10804 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10806         * conform/Makefile (linknamespace-libs): Rename to
10807         linknamespace-libs-thr.
10808         (linknamespace-libs-posix): New variable.
10809         (linknamespace-libs-xsi): Likewise.
10810         (linknamespace-libs-XPG3): Include libcrypt.a.
10811         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
10812         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
10813         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
10814         (linknamespace-libs-XOPEN2K): Likewise.
10815         (linknamespace-libs-XOPEN2K8): Likewise.
10816         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
10818         [BZ #20829]
10819         * stdio-common/Versions (__snprintf): Add to version
10820         GLIBC_PRIVATE.
10821         * include/stdio.h (__snprintf): Use libc_hidden_proto.
10822         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
10823         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
10824         of snprintf.
10825         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10827 2016-11-16  Zack Weinberg  <zackw@panix.com>
10829         * string/string.h: Remove obsolete comment stating that
10830         strcoll_l and strxfrm_l have not yet been standardized.
10832 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10834         * hurd/hurd.h (__hurd_fail_noerrno): New function.
10835         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
10836         __access_noerrno.
10837         * io/access.c (__access_noerrno): New function.
10838         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
10839         (hurd_fail_seterrno): Likewise.
10840         (access_common): Likewise.
10841         (__access_noerrno): Likewise.
10842         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
10843         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
10844         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
10845         macro.
10847 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10849         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
10850         Only declare fpregs if [__SH_FPU_ANY__].
10852 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
10854         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
10855         Make code unconditional.
10856         [!(__SH4__ || __SH4A__)]: Remove conditional code.
10858 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
10860         * manual/sysinfo.texi (S_APPEND): Delete.
10861         (S_IMMUTABLE): Likewise.
10863 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
10864             Magnus Granberg  <zorry@gentoo.org>
10865             Mike Frysinger  <vapier@gentoo.org>
10867         [BZ #20662]
10868         * configure.ac (libc_cv_predef_stack_protector): Also check for
10869         __stack_chk_fail_local symbols.
10870         * configure: Regenerated.
10872 2016-11-15  Florian Weimer  <fweimer@redhat.com>
10874         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10875         (libc_hidden_def): Remove redefinition.
10876         (__sigsetjmp): Add hidden definition.
10877         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10878         (libc_hidden_def): Remove redefinition.
10879         (__sigsetjmp): Add hidden definition.
10881 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
10883         * scripts/build-many-glibcs.py (os.path): Do not import.
10884         (Context): Inherit explicitly from object.  Remove blank line
10885         between class and docstring.
10886         (Config): Likewise.
10887         (Glibc): Likewise.
10888         (Command): Likewise.
10889         (CommandList): Likewise.
10890         (Context.write_files): Store chmod mode in a variable.
10892         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
10893         LIBC_SLIBDIR_RTLDDIR for tilegx32.
10894         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
10896 2016-11-14  Zack Weinberg  <zackw@panix.com>
10898         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
10899         creating or re-creating it.
10901         * string/bits/string2.h: Fix typo in comment.
10903 2016-11-14  Zack Weinberg  <zackw@panix.com>
10905         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
10906         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
10907         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
10908         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
10909         of redirected function names.
10911         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
10912         as well.  Document that MESSAGE must be a single string literal.
10914 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
10916         * scripts/build-many-glibcs.py: New file.
10918         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
10919         (do_test): Disable -Wmaybe-uninitialized around uses of
10920         except_mask.
10922         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
10924 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
10926         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
10927         (atomic_store_release): Provide tilepro-specific implementations.
10929 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
10931         * math/math.h (__MATH_TG): New macro.
10932         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
10933         [__USE_ISOC99] (signbit): Likewise.
10934         [__USE_ISOC99] (isfinite): Likewise.
10935         [__USE_ISOC99] (isnan): Likewise.
10936         [__USE_ISOC99] (isinf): Likewise.
10937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
10938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
10939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
10940         __MATH_TG and __MATH_EVAL_FMT2.
10941         * sysdeps/generic/math_private.h (fabs_tg): Define using
10942         __MATH_TG.
10943         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10944         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
10945         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
10946         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
10947         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
10948         macro.
10949         (__iscanonical): Likewise.
10950         (iscanonical): Define using __MATH_TG.
10952 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10954         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
10955         guards.
10957         * sysdeps/unix/sysv/linux/access.c: New file.
10958         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
10960 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
10962         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
10963         and __WORDSIZE32_PTRDIFF_LONG.
10965 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10967         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10969 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10971         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
10972         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
10973         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
10974         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
10975         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
10976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
10977         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
10978         * sysdeps/unix/sysv/linux/truncate.c: New file.
10979         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
10980         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10981         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
10982         Remove.
10983         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
10984         Likewise.
10986         * posix/tst-truncate-common.c: New file.
10987         * posix/tst-truncate.c: Use tst-truncate-common.c.
10988         * posix/tst-truncate64.c: Likewise and add LFS tests.
10989         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
10990         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
10991         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
10992         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
10993         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
10995         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
10996         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
10997         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
10998         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10999         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11000         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11001         Remove.
11002         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11003         Likewise.
11005 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
11007         [BZ #20790]
11008         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11009         to MAXLINESIZE.
11010         * sunrpc/bug20790.x: New file.
11011         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11012         variable.
11013         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11014         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11016         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11018         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11020         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11021         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
11022         calloc, realloc, free, memalign and __libc_memalign rather than
11023         making them optional.
11025         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11026         for libc.so.
11028 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11030         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11031         ptw-lseek64.
11032         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11033         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
11034         Likewise.
11035         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11036         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11037         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11038         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11039         * sysdeps/unix/sysv/linux/lseek.c: New file.
11040         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11041         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11042         __libc_lseek64 from auto-generation.
11043         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11044         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11046 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11048         * nptl/tst-basic1.c (tf, do_test): Use write_message.
11049         * nptl/tst-cleanup1.c (do_test): Likewise.
11050         * nptl/tst-cleanup3.c (do_test): Likewise.
11051         * nptl/tst-key1.c (do_test): Likewise.
11052         * nptl/tst-key2.c (tf, do_test): Likewise.
11053         * nptl/tst-key3.c (tf, do_test): Likewise.
11054         * nptl/tst-stdio1.c (do_test): Likewise.
11055         * nptl/tst-stdio2.c (do_test): Likewise.
11057         * nptl/tst-kill3.c (handler): Use write_message in place of write.
11058         * nptl/tst-kill6.c (handler): Likewise.
11059         * nptl/tst-tls2.c (CB): Likewise.
11060         * nptl/tst-tls3.c (CB): Likewise.
11062 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11064         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11066 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11067             Steve Ellcey  <sellcey@caviumnetworks.com>
11069         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11070           __ASSUME_ST_INO_64_BIT as 0
11071         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11072         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11073           over the code where __ASSUME_ST_INO_64_BIT is used.
11074         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11075         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11076         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11078 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11080         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11081         Document ABI exposure of the __kind offset.
11082         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11083         Mention reason for the __kind offset exposure in the ABI.
11084         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11085         Likewise.
11086         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11087         Likewise.
11088         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11089         Likewise.
11090         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11091         (struct __pthread_mutex_s): Likewise.
11092         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11093         Likewise.
11094         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11095         Likewise.
11096         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11097         Likewise.
11098         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11099         Likewise.
11100         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11101         Likewise.
11102         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11103         Likewise.
11104         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11105         (struct __pthread_mutex_s): Likewise.
11106         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11107         (struct __pthread_mutex_s): Likewise.
11108         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11109         Likewise.
11111 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11113         * test-skeleton.c: Document do_test usage.
11115 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11117         * iconv/gconv.h (__gconv_info): Define __data element using a
11118         zero-length array.
11120 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11122         * math/test-tgmath2.c: Split up test function.
11124 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11126         * Rules (tests-expected): New variable, depending on
11127         $(run-built-tests).
11128         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11129         $(tests).
11131         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11132         $(tests-unsupported).
11134 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11136         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11137         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11139 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11141         [BZ #20768]
11142         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11143         __fegetenv instead of fegetenv.
11145         [BZ #14139]
11146         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11147         (find_files): Obtain platform name from libm-test-ulps-name and
11148         store in %pplatforms.
11149         (canonicalize_platform): Remove.
11150         (print_platforms): Use $pplatforms directly.
11151         (by_platforms): Do not allow for platforms missing from
11152         %pplatforms.
11153         * sysdeps/aarch64/libm-test-ulps-name: New file.
11154         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11155         * sysdeps/arm/libm-test-ulps-name: Likewise.
11156         * sysdeps/generic/libm-test-ulps-name: Likewise.
11157         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11158         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11159         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11160         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11161         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11162         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11163         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11164         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11165         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11166         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11167         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11168         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11169         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11170         * sysdeps/sh/libm-test-ulps-name: Likewise.
11171         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11172         * sysdeps/tile/libm-test-ulps-name: Likewise.
11173         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11175         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11177         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11178         (test-xfail-check-execstack): New variable.
11180         * sysdeps/mips/localplt.data: New file.
11182 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11183             Steve Ellcey  <sellcey@caviumnetworks.com>
11185         * bits/wordsize.h: Add documentation.
11186         * sysdeps/aarch64/bits/wordsize.h : New file
11187         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11188         definitions.
11189         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11190         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11191         with #if instead of #ifdef.
11192         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11193         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11194         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11195         Add or change defines.
11196         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11197         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11198         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11199         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11200         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11201         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11202         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11203         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11204         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11205         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11206         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11207         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11208         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11209         * sysdeps/x86/bits/wordsize.h: Likewise.
11211 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
11212             Kevin Petit  <kevin.petit@arm.com>
11214         * sysdeps/aarch64/memchr.S (__memchr): New file.
11216 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11218         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11220 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
11222         [BZ #19398]
11223         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11224         $(linknamespace-symlists-tests).
11226 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
11228         * time/tst-strptime2.c: Ignore -Wformat-length warning.
11230 2016-11-02  Florian Weimer  <fweimer@redhat.com>
11231             Carlos O'Donell  <carlos@redhat.com>
11233         [Bug #20729]
11234         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11235         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
11236         for -Os related change.
11238 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
11240         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11242 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
11244         [BZ #19673]
11245         * manual/math.texi (Exponents and Logarithms): Correct description
11246         of clog10.
11248 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
11250         [Bz #20729]
11251         * locale/weight.h: Include libc-internal.h.
11252         * locale/weightwc.h: Likewise.
11253         * nptl/nptl_dbP.h: Likewise.
11255 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
11257         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11258         when it is MACH_PORT_NULL.
11260 2016-10-31  Andreas Schwab  <schwab@suse.de>
11262         [BZ #20707]
11263         * posix/glob.c (glob): Initialize pglob before checking for
11264         GLOB_BRACE.  Don't call glob recursively if pattern contains no
11265         valid brace expression despite GLOB_BRACE.
11266         * posix/globtest.sh: Test it.
11268 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11270         [BZ #20729]
11271         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11272         Define.
11273         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11274         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11275         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11276         for seq2.back_us and seq1.back_us only for -Os compiles.
11277         * locale/weightwc.h (findix): Likewise.
11278         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11279         DB_GET_FIELD_ADDRESS only for -Os compiles.
11280         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11281         for slen only for -Os compiles.
11282         * string/strcoll_l.c (get_next_seq): Ignore
11283         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11284         for -Os compiles.
11286         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11287         * include/crypt.h: New file.
11289 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11291         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
11292         from test-skeleton.c.
11293         (statclass): Replace calls to write with calls to write_message.
11295 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11297         * math/math.h
11298         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
11299         New macro.
11300         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
11301         Likewise.
11302         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
11303         Likewise.
11304         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
11305         SNANL.
11306         * math/test-double.h (snan_value_MACRO): New macro.
11307         * math/test-float.h (snan_value_MACRO): Likewise.
11308         * math/test-ldouble.h (snan_value_MACRO): Likewise.
11309         * math/libm-test.inc (issignaling_test_data): Add tests of
11310         snan_value_MACRO.
11312 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11314         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
11315         behavior when eliding a lock not held by the current thread.
11316         * sysdeps/powerpc/nptl/elide.h: Likewise.
11318 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11320         [BZ #20728]
11321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
11322         branch to _exit() by a function call.
11324 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11326         * malloc/malloc.c: Update chunk layout comments.
11327         (chunk_main_arena): Update comment.
11329 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11331         * crypt/sha256.c, crypt/sha256-block.c,
11332         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
11333         sha256_process_block to __sha256_process_block.
11334         * crypt/sha512.c, crypt/sha512-block.c,
11335         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
11336         sha512_process_block to __sha512_process_block.
11338 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11340         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
11342         * math/test-nan-overflow.c: Include stdlib.h for malloc.
11344 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
11346         [BZ #20019]
11347         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
11348         definition in unrelocated shared library.
11349         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11351 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11353         [BZ #20729]
11354         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
11355         * sysdeps/unix/sysv/linux/i386/Makefile
11356         (uses-6-syscall-arguments): Define.
11357         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
11358         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
11359         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
11360         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
11361         Likewise.
11362         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
11363         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
11364         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
11365         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
11366         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
11367         (CFLAGS-fallocate64.os): Likewise.
11368         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
11369         (CFLAGS-pthread_rwlock_timedrdlock.os)
11370         (CFLAGS-pthread_rwlock_timedwrlock.o)
11371         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
11372         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
11373         (CFLAGS-sem_timedwait.os): Likewise.
11375 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11377         * elf/tst-linkall-static.c: New file.
11378         * elf/Makefile (tests-static): Add tst-linkall-static.
11379         (tst-linkall-static): Link against static libraries.
11381 2016-10-27  Florian Weimer  <fweimer@redhat.com>
11383         * malloc/malloc.c (sysmalloc): Initialize previous size field of
11384         mmaped chunks.
11386 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11388         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
11389         members to mchunk_prev_size, mchunk_size.
11390         (chunk_main_arena): Reverse sense and rename from
11391         chunk_non_main_arena.
11392         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
11393         mchunk_size instead of size.
11394         (set_non_main_arena): Define.
11395         (chunksize): Use chunksize_nomask instead of direct member access.
11396         (chunksize_nomask): Define.
11397         (next_chunk): Use chunksize instead of direct member access.
11398         (prev_size, set_prev_size): Define.
11399         (prev_chunk): Use prev_size instead of direct member access.
11400         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
11401         (inuse_bit_at_offset, set_inuse_bit_at_offset)
11402         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
11403         (mchunk_prev_size, mchunk_size): Poison tokens.
11404         (unlink): Use chunksize_nomask, prev_size accessors.
11405         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
11406         (do_check_free_chunk): Use prev_size accessor.
11407         (sysmalloc): Use set_prev_size, set_head accessors.
11408         (munmap_chunk, mremap_chunk): Use prev_size accessor.
11409         (__libc_free): Use chunksize_nomask accessor.
11410         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
11411         chunk_main_arena accessors.
11412         (_int_free): Use chunksize_nomask, prev_size accessors.
11413         (malloc_consolidate): Use chunksize, prev_size accessors.
11414         (_int_realloc): Use chunksize_nomask accessor.
11415         (_int_memalign): Use set_prev_size accessor.
11416         (__malloc_info): Use chunksize_nomask accessor.
11417         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
11418         accessors.
11419         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
11420         (heap_trim): Use chunksize_nomask, prev_size accessors.
11422 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11424         [BZ #19380]
11425         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
11426         for inexact results.
11427         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
11428         of inexact result where mpfr_subnormalize is the only inexact
11429         step.
11430         * stdlib/tst-strtod-round-data.h: Regenerated.
11431         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
11432         Define to 0.
11433         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
11435 2016-10-27  David S. Miller  <davem@davemloft.net>
11437         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
11439 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11441         * malloc/malloc.c (do_set_mallopt_check): New function.
11442         (do_set_mmap_threshold): Likewise.
11443         (do_set_mmaps_max): Likewise.
11444         (do_set_top_pad): Likewise.
11445         (do_set_perturb_byte): Likewise.
11446         (do_set_trim_threshold): Likewise.
11447         (do_set_arena_max): Likewise.
11448         (do_set_arena_test): Likewise.
11449         (__libc_mallopt): Use them.
11451 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
11453         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11454         (canonicalize): New declaration.
11455         * math/Versions (canonicalize): New libm symbol at version
11456         GLIBC_2.25.
11457         (canonicalizef): Likewise.
11458         (canonicalizel): Likewise.
11459         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
11460         * math/s_canonicalize_template.c: New file.
11461         * math/libm-test.inc: Update comment on functions tested and
11462         testing of NaN payloads.
11463         (TEST_NAN_PAYLOAD): New macro.
11464         (NO_TEST_INLINE): Update value.
11465         (XFAIL_TEST): Likewise.
11466         (ERRNO_UNCHANGED): Likewise.
11467         (ERRNO_EDOM): Likewise.
11468         (ERRNO_ERANGE): Likewise.
11469         (IGNORE_RESULT): Likewise.
11470         (NON_FINITE): Likewise.
11471         (TEST_SNAN): Likewise.
11472         (NO_TEST_MATHVEC): Likewise.
11473         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
11474         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
11475         (struct test_Ffp_b1_data): New type.
11476         (RUN_TEST_Ffp_b1): New macro.
11477         (RUN_TEST_LOOP_Ffp_b1): Likewise.
11478         (canonicalize_test_data): New array.
11479         (canonicalize_test): New function.
11480         (main): Call canonicalize_test.
11481         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
11482         canonicalizef and canonicalizel.
11483         * manual/libm-err-tab.pl: Update comment on interfaces without
11484         ulps tabulated.
11485         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
11486         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
11487         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11488         canonicalize.
11489         (CFLAGS-nldbl-canonicalize.c): New variable.
11490         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
11491         to ...
11492         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
11493         ... here.
11494         (do_test): Also test canonicalizel.
11495         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
11496         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
11497         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
11498         file.
11499         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
11500         Use libm_hidden_def.
11501         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
11502         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
11503         (do_test): Also test canonicalizel.
11504         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
11505         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
11506         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
11507         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
11508         libm_hidden_def.
11509         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
11510         macro.
11511         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
11512         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
11513         * sysdeps/nacl/libm.abilist: Update.
11514         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11515         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11516         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11517         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11518         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11519         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11520         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11521         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11522         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11523         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11524         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11525         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11527         Likewise.
11528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11529         Likewise.
11530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11531         Likewise.
11532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11533         Likewise.
11534         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11535         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11536         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11537         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11538         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11540         Likewise.
11541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11542         Likewise.
11543         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11544         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11545         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11547         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
11548         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11549         getpayload.
11550         (CFLAGS-nldbl-getpayload.c): New variable.
11552 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11554         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
11555         integer from the format string.
11557 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11559         [BZ #19473]
11560         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
11561         declarations.
11562         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
11563         weak aliases.
11564         * malloc/hooks.c (__malloc_get_state): Remove definition.
11565         (malloc_get_state): New stub implementation as
11566         compatibility symbol.
11567         (malloc_set_state): Rename from __malloc_set_state.  Turn into
11568         compat symbol.
11569         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
11570         malloc_set_state.
11571         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
11573 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11575         * iconvdata/iso646.c (enum variant): Drop illegal_var.
11576         (names): Turn into concatenation of strings.
11577         (gconv_init): Adapt iteration over names.
11579 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11581         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
11582         make const.
11583         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
11584         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
11585         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
11586         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
11587         character in sbconv.
11588         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
11589         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
11590         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
11592 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11594         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
11596         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
11597         (M_TRIM_THRESHOLD): Likewise.
11599         * manual/memory.texi (M_ARENA_TEST): Add documentation.
11600         (M_ARENA_MAX): Likewise.
11601         * malloc/malloc.c: Remove obsolete comment.
11603         * manual/memory.texi: Add environment variable alternatives to
11604         setting mallopt parameters.
11606 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
11608         * include/atomic.h
11609         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
11610         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
11612 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11614         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
11615         * stdlib/tst-strfrom.h: New file.
11616         * stdlib/tst-strfrom.c: New file.
11617         * stdlib/tst-strfrom-locale.c: New file.
11619         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
11620         * stdlib/bug-strtod2.c: Likewise.
11621         * stdlib/tst-strtod-round-skeleton.c: Likewise.
11622         * stdlib/tst-strtod6.c: Likewise.
11623         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11625 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11627         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11628         * manual/arith.texi: Document strfromd, strfromf, strfroml.
11629         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11630         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11631         * stdlib/stdlib.h (strfromd): New declaration.
11632         (strfromf): Likewise.
11633         (strfroml): Likewise.
11634         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11635         strfrom.
11636         * stdlib/strfromd.c: New file.
11637         * stdlib/strfromf.c: Likewise.
11638         * stdlib/strfroml.c: Likewise.
11639         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11640         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11641         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11642         * sysdeps/arm/nacl/libc.abilist: Update.
11643         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11644         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11645         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11646         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11647         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11648         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11649         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11650         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11651         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11652         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11653         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11654         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11655         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11656         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11661         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11662         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11663         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11664         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11665         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11668         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11669         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11670         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11672 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
11674         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11675         instead of cmpli.
11676         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11677         instead of cmpli.
11679 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
11681         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
11682         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11683         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
11684         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11685         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11686         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11688 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11690         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
11691         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11692         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
11693         SYSCALL_LL64_PRW.
11694         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11695         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
11696         __ASSUME_PRW_DUMMY_ARG.
11697         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
11698         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11699         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11700         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11701         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
11702         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
11704 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
11706         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
11708 2016-10-22  Florian Weimer  <fweimer@redhat.com>
11710         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
11711         "C++", to override a potential extern "C" directive around the
11712         header file inclusion.
11714 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
11716         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
11718 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11720         * sysdeps/powerpc/fpu/fenv_private.h:
11721         (_FPU_MASK_ALL): Rename to...
11722         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
11723         XE FPSCR bits.
11725         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
11727         (_FPU_MASK_ROUNDING): Rename to...
11728         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
11729         NI bits.
11731         (_FPU_MASK_EXCEPT_ROUND): Rename to...
11732         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
11733         bits and rounding bits.
11735         (__libc_feholdbits_ppc): New inline function to mask, set,
11736         and pontentially clear FSPCR bits, and change MSR[FE] bits.
11737         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
11738         (libc_feholdexcept_setround_ppc): Likewise.
11740         (__libc_femergeenv_ppc): New function to dynamically mask both
11741         old and new FP environments and merge.
11742         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
11743         (libc_feresetround_ppc): Likewise.
11744         (libc_feupdateenv_test_ppc): Likewise.
11745         (libc_feupdateenv_ppc): Likewise.
11747         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
11748         of ISA RN bits, and update macro names.
11749         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
11750         effectively the same as the previously mentioned function.
11752         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
11753         usage with fe_resetround_ppc.
11755         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
11756         to be used.
11757         (libc_feholdexcept_setround_ctxf): Likewise.
11758         (libc_feholdexcept_setround_ctxl): Likewise.
11760 2016-10-21  Florian Weimer  <fweimer@redhat.com>
11762         [BZ #20715]
11763         * math/math.h [__cplusplus] (iszero): Define as function template.
11764         * math/Makefile [CXX] (tests): Add test-math-iszero.
11765         (CFLAGS-test-math-iszero.cc): Set.
11766         * math/test-math-iszero.cc: New file.
11768 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
11770         [BZ #20660]
11771         * sysdeps/arm/e_sqrt.c: New file.
11772         * sysdeps/arm/e_sqrtf.c: Likewise.
11774 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
11776         [BZ #20718]
11777         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11778         not use floating-point comparisons to test sign.
11779         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
11780         Likewise.
11782         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11783         (getpayload): New declaration.
11784         * math/Versions (getpayload): New libm symbol at version
11785         GLIBC_2.25.
11786         (getpayloadf): Likewise.
11787         (getpayloadl): Likewise.
11788         * math/Makefile (libm-calls): Add s_getpayloadF.
11789         * math/libm-test.inc: Include <nan-high-order-bit.h>.
11790         (struct test_f_f_data): Add comment.
11791         (RUN_TEST_fp_f): New macro.
11792         (RUN_TEST_LOOP_fp_f): Likewise.
11793         (getpayload_test_data): New array.
11794         (getpayload_test): New function.
11795         (main): Call getpayload_test.
11796         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
11797         descriptor.
11798         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
11799         getpayloadf and getpayloadl.
11800         * manual/libm-err-tab.pl: Update comment on interfaces without
11801         ulps tabulated.
11802         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
11803         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
11804         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
11805         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
11806         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
11807         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
11808         * sysdeps/nacl/libm.abilist: Update.
11809         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11810         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11811         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11812         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11813         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11814         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11815         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11816         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11817         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11818         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11819         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11820         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11822         Likewise.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11824         Likewise.
11825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11826         Likewise.
11827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11828         Likewise.
11829         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11830         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11831         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11832         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11833         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11835         Likewise.
11836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11837         Likewise.
11838         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11839         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11840         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11842 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11844         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
11845         tst-fallocate{64}.
11846         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
11847         on syscall return.
11849 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
11851         [BZ #20689]
11852         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
11853         usable.
11855 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
11857         * sysdeps/generic/nan-high-order-bit.h: New file.
11858         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
11859         * sysdeps/mips/nan-high-order-bit.h: Likewise.
11860         * sysdeps/hppa/math_private.h: Remove file.
11861         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
11862         not define here.
11863         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
11864         <nan-high-order-bit.h>.
11865         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11866         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
11867         <nan-high-order-bit.h>.
11868         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11869         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
11870         <nan-high-order-bit.h>.
11871         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11872         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
11873         <nan-high-order-bit.h>.
11874         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11875         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11876         <nan-high-order-bit.h>.
11877         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11878         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11879         <nan-high-order-bit.h>.
11880         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11881         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
11882         <nan-high-order-bit.h>.
11883         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11884         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
11885         <nan-high-order-bit.h>.
11886         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11887         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
11888         <nan-high-order-bit.h>.
11889         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11890         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
11891         <nan-high-order-bit.h>.
11892         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11893         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11894         <nan-high-order-bit.h>.
11895         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11896         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11897         <nan-high-order-bit.h>.
11898         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11899         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
11900         <nan-high-order-bit.h>.
11901         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11902         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
11903         <nan-high-order-bit.h>.
11904         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11905         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
11906         <nan-high-order-bit.h>.
11907         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11908         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
11909         <nan-high-order-bit.h>.
11910         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11911         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11912         <nan-high-order-bit.h>.
11913         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11914         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11915         <nan-high-order-bit.h>.
11916         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11918 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11920         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
11922 2016-09-22  John David Anglin  <dave.anglin@bell.net>
11924         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
11925         abort-instr.h.
11926         (EFAULT): Remove conditional define.
11927         (ENOSYS): Likewise.
11928         (atomic_compare_and_exchange_val_acq): Use instruction nullification
11929         instead of conditional branch instructions.
11931 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
11933         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11934         (totalordermag): New declaration.
11935         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
11936         New macro.
11937         * math/Versions (totalordermag): New libm symbol at version
11938         GLIBC_2.25.
11939         (totalordermagf): Likewise.
11940         (totalordermagl): Likewise.
11941         * math/Makefile (libm-calls): Add s_totalordermagF.
11942         * math/libm-test.inc (totalordermag_test_data): New array.
11943         (totalordermag_test): New function.
11944         (main): Call totalordermag_test.
11945         * math/test-tgmath.c (NCALLS): Increase to 125.
11946         (F(compile_test)): Call totalordermag.
11947         (F(totalordermag)): New function.
11948         * manual/arith.texi (FP Comparison Functions): Document
11949         totalordermag, totalordermagf and totalordermagl.
11950         * manual/libm-err-tab.pl: Update comment on interfaces without
11951         ulps tabulated.
11952         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
11953         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
11954         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
11955         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
11956         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
11957         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
11958         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
11959         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11960         totalordermag.
11961         (CFLAGS-nldbl-totalordermag.c): New variable.
11962         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
11963         (do_test): Also test totalordermagl.
11964         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
11965         Likewise.
11966         * sysdeps/nacl/libm.abilist: Update.
11967         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11968         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11969         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11970         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11971         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11973         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11974         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11975         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11976         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11977         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11978         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11980         Likewise.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11982         Likewise.
11983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11984         Likewise.
11985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11986         Likewise.
11987         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11989         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11990         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11991         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11993         Likewise.
11994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11995         Likewise.
11996         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11997         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11998         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12000 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
12002         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12003         boolean.
12005 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
12007         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12008         raising FE_INVALID with feraisexcept in case where part of
12009         argument is infinite, subtract that part of argument from itself.
12010         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12011         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12012         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12014 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12016         * math/libm-test.inc (totalorder_test_data): Add more tests.
12018 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12020         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12021         Undefine weak_alias and add a comment why mips64 require
12022         versioning.
12024 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12026         [BZ #20647]
12027         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12028         maximum CPUID level is less than 2.
12030 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12032         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12033         (totalorder): New declaration.
12034         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12035         New macro.
12036         * math/Versions (totalorder): New libm symbol at version
12037         GLIBC_2.25.
12038         (totalorderf): Likewise.
12039         (totalorderl): Likewise.
12040         * math/Makefile (libm-calls): Add s_totalorderF.
12041         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12042         string.
12043         * math/libm-test.inc (PAYLOAD_DIG): New macro.
12044         (qnan_value_pl): Likewise.
12045         (snan_value_pl): Likewise.
12046         (qnan_value): Define using qnan_value_pl.
12047         (snan_value): Define using snan_value_pl.
12048         (struct test_ff_i_data): Add comment about which tests use this
12049         structure.
12050         (RUN_TEST_ff_b): New macro.
12051         (RUN_TEST_LOOP_ff_b): Likewise.
12052         (totalorder_test_data): New array.
12053         (totalorder_test): New function.
12054         (main): Call totalorder_test.
12055         * math/test-tgmath.c (NCALLS): Increase to 122.
12056         (F(compile_test)): Call totalorder.
12057         (F(totalorder)): New function.
12058         * manual/arith.texi (FP Comparison Functions): Document
12059         totalorder, totalorderf and totalorderl.
12060         * manual/libm-err-tab.pl: Update comment on interfaces without
12061         ulps tabulated.
12062         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12063         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12064         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12065         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12066         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12067         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12068         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12069         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12070         totalorder.
12071         (CFLAGS-nldbl-totalorder.c): New variable.
12072         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12073         file.
12074         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12075         Add test-totalorderl-ldbl-128ibm.
12076         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12077         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12078         test-totalorderl-ldbl-96.
12079         * sysdeps/nacl/libm.abilist: Update.
12080         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12081         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12082         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12083         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12084         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12085         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12086         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12087         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12088         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12089         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12090         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12091         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12093         Likewise.
12094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12095         Likewise.
12096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12097         Likewise.
12098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12099         Likewise.
12100         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12101         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12102         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12103         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12104         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12106         Likewise.
12107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12108         Likewise.
12109         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12110         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12111         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12113 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12115         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12116         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12117         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12118         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12119         remove ENOSYS implementation.
12120         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12121         Consolidate all Linux implementations.
12123 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12125         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12126         * resolv/herror.c (herror): Cast away const-ness.
12127         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12128         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12130 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12132         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12133         instead of M_NAN + M_NAN.
12134         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12136 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12138         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12139         unused variable 'p'.
12141 2016-10-09  Alan Modra  <amodra@gmail.com>
12142             Andreas Schwab  <schwab@linux-m68k.org>
12144         [BZ #20554]
12145         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12146         [PIC && !SHARED]: Set up PIC register for PLT call.
12148 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12150         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12151         conditional on value of [__FLT_EVAL_METHOD__].
12152         * math/test-iseqsig-excess-precision.c: New file.
12153         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12155 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12157         * math/s_iseqsig_template.c: Include math-private.h.
12159         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12160         * posix/tst-posix_fadvise.c: New file.
12161         * posix/tst-posix_fadvise64.c: Likewise.
12162         * posix/tst-posix_fadvise-common.c: Likewise.
12163         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12164         (__ASSUME_FADVISE64_64_6ARG): Define.
12165         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12166         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12167         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12168         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12169         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12170         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12171         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12172         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12173         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12174         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12175         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12176         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12179         Likewise.
12180         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12181         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12182         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12183         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12184         Alias to __posix_fadvise64_l32.
12185         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12186         Add compat definition to posix_fadvise64.
12187         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12188         Add versioned definition to posix_fadvise64.
12189         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12190         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12191         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12192         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12193         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12195         * io/Makefile (tests): Add tst-posix_fallocate and
12196         tst-posix_fallocate64.
12197         * io/tst-posix_fallocate-common.c: New file.
12198         * io/tst-posix_fallocate.c: Likewise.
12199         * io/tst-posix_fallocate64.c: Likewise.
12200         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12201         file.
12202         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12203         Likewise.
12204         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12205         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12206         Likewise.
12207         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12208         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12209         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12210         SYSCALL_LL to pass both offset and len arguments.
12211         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12212         Likewise.
12213         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12214         __libc_pwrite64 alias used by posix_fallocate64.
12216         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12217         tst-fallocate64.
12218         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12219         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12220         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12221         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12222         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12223         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12224         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12225         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12226         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12227         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12228         macro on offset argument.
12229         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12230         SYSCALL_LL64 on offset argument.
12232         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12233         tst-fallocate64.
12234         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12235         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12236         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12237         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12238         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12239         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12240         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12241         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12242         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12243         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12244         macro on offset argument.
12245         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12246         SYSCALL_LL64 on offset argument.
12247         * test-skeleton.c (FAIL_RET): Add macro.
12248         (FAIL_EXIT): Likewise.
12249         (FAIL_EXIT1): Likewise.
12250         (_FAIL): Likewise.
12252 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12254         [BZ #20629]
12255         resolv: Remove RES_USEBSTRING and its implementation.
12256         * resolv/resolv.h (RES_USEBSTRING): Remove.
12257         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12258         (digitvalue, encode_bitstring, decode_bitstring): Remove.
12259         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12260         (labellen): Remove extended label types support.
12261         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12262         * resolv/res_init.c (res_setoptions): Likewise.
12263         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12265 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12267         resolv: Remove RES_NOIP6DOTINT and its implementation.
12268         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12269         (RES_NOIP6DOTINT): Remove.
12270         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12271         handling.
12272         * resolv/res_debug.c (p_option): Likewise.
12273         * resolv/res_init.c (res_setoptions): Likewise.
12274         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12276 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12278         resolv: Deprecate unimplemented flags.
12279         * misc/sys/cdefs.h (__glibc_macro_warning1)
12280         (__glibc_macro_warning): Define.
12281         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12282         (RES_KEEPTSIG): Mark as deprecated.
12283         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12284         RES_NOCHECKNAME, RES_KEEPTSIG.
12285         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12287 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12289         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12290         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12291         Use strong_alias to create symbols for glibc verison 2.19.
12293 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12295         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
12297 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12299         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
12301 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12303         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
12305 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12307         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12308         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
12309         in header for using it as type for ifunc function because __GI_* symbols
12310         for ppc32 do not target the ifunc symbols.
12311         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12313 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12315         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
12316         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
12317         libc_ifunc_hidden_def.
12318         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
12319         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
12320         Redirect ifunced function in header for using it as type of ifunc'ed
12321         function. Redefine libc_hidden_def to use fallback non ifunc'ed
12322         function for __GI_* symbol.
12323         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12324         * include/libc-symbols.h
12325         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
12327 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12329         [BZ #20478]
12330         * sysdeps/s390/multiarch/ifunc-resolve.h
12331         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
12332         to create ifunc symbols.
12333         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
12334         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
12335         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
12336         for using it as type for ifunc function.
12337         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12338         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12339         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12340         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12341         * sysdeps/s390/multiarch/strcat.c: Likewise.
12342         * sysdeps/s390/multiarch/strchr.c: Likewise.
12343         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12344         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12345         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12346         * sysdeps/s390/multiarch/strlen.c: Likewise.
12347         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12348         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12349         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12350         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12351         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12352         * sysdeps/s390/multiarch/strspn.c: Likewise.
12353         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12354         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12355         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12356         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12357         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12358         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12359         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12360         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
12361         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
12362         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12363         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
12364         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
12366 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12368         * include/libc-symbols.h (__ifunc_resolver):
12369         New macro is used by __ifunc* macros.
12370         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
12371         depending on HAVE_GCC_IFUNC.
12372         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
12373         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
12374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12375         Redirect ifunced function in header for using as type for ifunc function.
12376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
12377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
12378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
12379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
12380         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12381         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12382         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12383         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12384         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12385         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12386         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12387         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12388         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12389         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
12392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
12394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12395         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12396         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12397         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12398         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12399         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12400         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12401         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12402         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12403         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12404         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12405         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12406         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12407         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
12408         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
12410         Add libc_hidden_def() and use libc_ifunc_hidden() macro
12411         instead of libc_ifunc() macro.
12412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
12413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12415 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12417         * config.h.in (HAVE_GCC_IFUNC): New undef.
12418         * configure.ac: Add check if gcc supports attribute ifunc feature.
12419         * configure: Regenerated.
12420         * manual/install.texi: Add recommendation for gcc with
12421         indirect-function support.
12422         * INSTALL: Regenerated.
12424 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
12426         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
12427         macro.
12428         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12429         (__iseqsig): New declaration.
12430         * math/s_iseqsig_template.c: New file.
12431         * math/Versions (__iseqsigf): New libm symbol at version
12432         GLIBC_2.25.
12433         (__iseqsig): Likewise.
12434         (__iseqsigl): Likewise.
12435         * math/libm-test.inc (iseqsig_test_data): New array.
12436         (iseqsig_test): New function.
12437         (main): Call iseqsig_test.
12438         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
12439         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
12440         * manual/libm-err-tab.pl: Update comment on interfaces without
12441         ulps tabulated.
12442         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
12443         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
12444         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
12445         * sysdeps/nacl/libm.abilist: Update.
12446         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12447         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12448         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12449         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12452         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12453         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12454         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12455         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12459         Likewise.
12460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12461         Likewise.
12462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12463         Likewise.
12464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12465         Likewise.
12466         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12468         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12469         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12470         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12472         Likewise.
12473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12474         Likewise.
12475         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12476         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12477         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12479 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12481         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
12482         do_sincos_2, sloww, sloww1): Update comments.
12484         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
12485         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
12487         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
12488         K boolean and rename it.
12489         (__sin): Adjust.
12490         (__cos): Adjust.
12492 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12493             Siddhesh Poyarekar  <siddhesh@sourceware.org>
12495         * manual/nss.texi: Fix typos in the manual.
12497 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12499         * manual/contrib.texi: Fix typos in the manual.
12501         * manual/maint.texi: Fix typos in the manual.
12503         * manual/install.texi: Fix typos in the manual.
12504         * INSTALL: Regenerated.
12506         * manual/lang.texi: Fix typos in the manual.
12508         * manual/probes.texi: Fix typos in the manual.
12510         * manual/threads.texi: Fix typos in the manual.
12512         * manual/debug.texi: Fix typos in the manual.
12514         * manual/crypt.texi: Fix typos in the manual.
12516         * manual/conf.texi: Fix typos in the manual.
12518         * manual/sysinfo.texi: Fix typos in the manual.
12520         * manual/users.texi: Fix typos in the manual.
12522         * manual/job.texi: Fix typos in the manual.
12524         * manual/process.texi: Fix typos in the manual.
12526         * manual/argp.texi: Fix typos in the manual.
12527         * manual/getopt.texi: Likewise.
12528         * manual/startup.texi: Likewise.
12530         * manual/signal.texi: Fix typos in the manual.
12532         * manual/setjmp.texi: Fix typos in the manual.
12534         * manual/resource.texi: Fix typos in the manual.
12536         * manual/time.texi: Fix typos in the manual.
12538         * manual/arith.texi: Fix typos in the manual.
12540         * manual/math.texi: Fix typos in the manual.
12542         * manual/syslog.texi: Fix typos in the manual.
12544         * manual/terminal.texi: Fix typos in the manual.
12546         * manual/socket.texi: Fix typos in the manual.
12548         * manual/filesys.texi: Fix typos in the manual.
12550         * manual/llio.texi: Fix typos in the manual.
12552         * manual/stdio.text: Fix typos in the manual.
12554 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12556         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
12557         instead of K1.
12559         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
12560         SHIFT_QUADRANT and make it bool.
12561         (do_sincos_2): Likewise.
12562         (sloww): Likewise.
12563         (sloww1): Likewise.
12564         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
12565         (__cos): Likewise.
12567 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12569         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12571 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
12573         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
12574         Define to __WORDSIZE, not conditional on [LONG_MAX ==
12575         0x7fffffffL].
12576         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12578 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12580         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
12581         inline by __inline__.
12582         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
12583         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
12584         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
12585         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
12586         sigset_t from signal.h.
12587         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
12588         which is already required.
12590 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
12592         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12594 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
12596         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
12597         (struct tcp_repair_window): New type.
12599 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12601         * libio/tst-memstream3.c: Include string.h.
12603 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12605         [BZ #18241]
12606         [BZ #20181]
12607         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
12608         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
12609         write position is at the end the buffer.
12610         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
12611         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
12612         (_IO_str_seekoff): Set correct offset from negative displacement and
12613         set EINVAL for invalid ones.
12614         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
12615         buffer length.
12616         (_IO_wstr_switch_to_get_mode): New function.
12617         (_IO_wstr_seekoff): Set correct offset from negative displacement and
12618         set EINVAL for invalid ones.
12619         * libio/tst-memstream3.c: New file.
12620         * libio/tst-wmemstream3.c: Likewise.
12621         * manual/examples/memstrm.c: Remove warning when priting size_t.
12623 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12625         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12626         macro to use __builtin_fma.
12627         * sysdeps/x86_64/fpu/dla.h: Remove file.
12629         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12630         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12631         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12633 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12635         [BZ #20292]
12636         * elf/Makefile (routines): Add dl-addr-obj.
12637         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12638         tst-_dl_addr_inside_object.
12639         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12640         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12641         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12642         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12643         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12644         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12645         * elf/dl-open.c: Likewise.
12646         * elf/dl-addr-obj.c: New file.
12647         * elf/tst-_dl_addr_inside_object.c: New file.
12649 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12651         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12652         <bits/iscanonical.h>.
12653         * bits/iscanonical.h: New file.
12654         * math/s_iscanonicall.c: Likewise.
12655         * math/Versions (__iscanonicall): New libm symbol at version
12656         GLIBC_2.25.
12657         * math/libm-test.inc (iscanonical_test_data): New array.
12658         (iscanonical_test): New function.
12659         (main): Call iscanonical_test.
12660         * math/Makefile (headers): Add bits/iscanonical.h.
12661         (type-ldouble-routines): Add s_iscanonicall.
12662         * manual/arith.texi (Floating Point Classes): Document
12663         iscanonical.
12664         * manual/libm-err-tab.pl: Update comment on interfaces without
12665         ulps tabulated.
12666         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12667         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12668         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12669         Likewise.
12670         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12671         test-iscanonical-ldbl-128ibm.
12672         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12673         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12674         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12675         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12676         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12677         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12678         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12680         Likewise.
12681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12682         Likewise.
12683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12684         Likewise.
12685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12686         Likewise.
12687         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12688         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12690 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12692         * string/bits/string3.h: Remove C++ style comments.
12694 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12696         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
12697         instead of ternary condition.
12698         (do_sincos_2): Likewise.
12699         (__sin): Likewise.
12700         (__cos): Likewise.
12701         (slow): Likewise.
12702         (sloww): Likewise.
12703         (sloww1): Likewise.
12704         (bsloww): Likewise.
12705         (bsloww1): Likewise.
12707         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
12708         instead of ternary condition.
12709         (do_sin_slow): Likewise.
12710         (do_sincos_1): Likewise.
12711         (do_sincos_2): Likewise.
12712         (__cos): Likewise.
12713         (sloww): Likewise.
12714         (sloww1): Likewise.
12715         (sloww2): Likewise.
12716         (bsloww): Likewise.
12717         (bsloww1): Likewise.
12718         (bsloww2): Likewise.
12720         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
12721         check from here...
12722         (slow2): ... and here...
12723         (__sin): ... to here.
12725 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
12727         * math/math.h
12728         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12729         Cast argument to its own type.
12730         * math/test-iszero-excess-precision.c: New file.
12731         * math/Makefile (tests): Add test-iszero-excess-precision.
12732         (CFLAGS-test-iszero-excess-precision.c): New variable.
12734 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
12736         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
12737         field, add err field.
12738         (__spawni_child): Report error through err member instead of pipe.
12739         (__spawnix): Likewise.
12741 2016-09-28  Zack Weinberg  <zackw@panix.com>
12743         * scripts/check-installed-headers.sh: Generalize treatment of
12744         sys/elf.h to all target architectures.
12746         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
12747         deleted typedef ucontext_t.
12749 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12751         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
12752         (__INTERNAL_SYSCALL1): Likewise.
12753         (__INTERNAL_SYSCALL2): Likewise.
12754         (__INTERNAL_SYSCALL3): Likewise.
12755         (__INTERNAL_SYSCALL4): Likewise.
12756         (__INTERNAL_SYSCALL5): Likewise.
12757         (__INTERNAL_SYSCALL6): Likewise.
12758         (__INTERNAL_SYSCALL7): Likewise.
12759         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
12760         (__INTERNAL_SYSCALL_NARGS): Likewise.
12761         (__INTERNAL_SYSCALL_DISP): Likewise.
12762         (INTERNAL_SYSCALL_CALL): Likewise.
12763         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
12764         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
12765         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
12766         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
12767         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
12768         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
12769         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
12770         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
12771         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
12772         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
12773         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
12774         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
12775         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
12777 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
12779         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
12780         macro.
12781         * math/libm-test.inc (iszero_test_data): New array.
12782         (iszero_test): New function.
12783         (main): Call iszero_test.
12784         * manual/arith.texi (Floating Point Classes): Document iszero.
12785         * manual/libm-err-tab.pl: Update comment on interfaces without
12786         ulps tabulated.
12788 2016-09-23  Zack Weinberg  <zackw@panix.com>
12790         * scripts/check-installed-headers.sh: New script.
12791         * Rules: In each directory that defines header files to be installed,
12792         run check-installed-headers.sh on them as a special test.
12793         * Makefile: Likewise for the headers installed at top level.
12795         * include/aliases.h, include/alloca.h, include/argz.h
12796         * include/arpa/nameser.h, include/arpa/nameser_compat.h
12797         * include/elf.h, include/envz.h, include/err.h
12798         * include/execinfo.h, include/fpu_control.h, include/getopt.h
12799         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
12800         * include/link.h, include/malloc.h, include/mcheck.h
12801         * include/mntent.h, include/netinet/ether.h
12802         * include/nss.h, include/obstack.h, include/printf.h
12803         * include/pty.h, include/resolv.h, include/rpc/auth.h
12804         * include/rpc/auth_des.h, include/rpc/auth_unix.h
12805         * include/rpc/clnt.h, include/rpc/des_crypt.h
12806         * include/rpc/key_prot.h, include/rpc/netdb.h
12807         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
12808         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
12809         * include/rpc/rpc_msg.h, include/rpc/svc.h
12810         * include/rpc/svc_auth.h, include/rpc/xdr.h
12811         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
12812         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
12813         * include/rpcsvc/ypupd.h, include/shadow.h
12814         * include/stdio_ext.h, include/sys/epoll.h
12815         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
12816         * include/sys/prctl.h, include/sys/profil.h
12817         * include/sys/statfs.h, include/sys/sysctl.h
12818         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
12819         * sysdeps/arm/nacl/include/bits/setjmp.h
12820         * sysdeps/mips/include/sys/asm.h
12821         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
12822         * sysdeps/unix/sysv/linux/include/sys/timex.h
12823         * sysdeps/x86/fpu/include/bits/fenv.h:
12824         Add #ifndef _ISOMAC guard around internal declarations.
12825         Add multiple-inclusion guard if not already present.
12827 2016-09-23  Zack Weinberg  <zackw@panix.com>
12829         * sysdeps/generic/sys/ucontext.h
12830         * sysdeps/arm/sys/ucontext.h
12831         * sysdeps/i386/sys/ucontext.h
12832         * sysdeps/m68k/sys/ucontext.h
12833         * sysdeps/mips/sys/ucontext.h
12834         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
12835         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
12836         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
12837         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
12838         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
12839         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
12840         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
12841         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
12842         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
12843         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
12844         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
12845         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
12846         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
12847         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
12848         Include both bits/sigcontext.h and bits/sigstack.h.
12849         Fix grammar error in comment, if present.
12851         * bits/sigstack.h
12852         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
12853         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
12854         * sysdeps/unix/sysv/linux/bits/sigstack.h
12855         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
12856         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
12857         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
12858         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
12859         * bits/sigcontext.h
12860         * sysdeps/mach/hurd/i386/bits/sigcontext.h
12861         * sysdeps/unix/sysv/linux/bits/sigcontext.h
12862         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
12863         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
12864         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
12865         as well as signal.h, if this was not already allowed.  Request
12866         definition of size_t if necessary.  Minimize semantically-null
12867         differences across files.
12869 2016-09-23  Zack Weinberg  <zackw@panix.com>
12871         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
12872         Remove all logic conditional on __need macros.  Move all the
12873         conditionally defined types to their own headers...
12874         * time/bits/types/clock_t.h: Define clock_t here.
12875         * time/bits/types/clockid_t.h: Define clockid_t here.
12876         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
12877         * time/bits/types/struct_timespec.h: Define struct timespec here.
12878         * time/bits/types/struct_timeval.h: Define struct timeval here.
12879         * time/bits/types/struct_tm.h: Define struct tm here.
12880         * time/bits/types/time_t.h: Define time_t here.
12881         * time/bits/types/timer_t.h: Define timer_t here.
12882         * time/Makefile: Install the new headers.
12884         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
12885         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
12886         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
12887         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
12888         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
12889         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
12890         * sysdeps/unix/sysv/linux/bits/resource.h
12891         * sysdeps/unix/sysv/linux/bits/timex.h
12892         * sysdeps/unix/sysv/linux/mips/bits/resource.h
12893         * sysdeps/unix/sysv/linux/net/ppp_defs.h
12894         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
12895         * sysdeps/unix/sysv/linux/sys/acct.h
12896         * sysdeps/unix/sysv/linux/sys/timerfd.h
12897         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
12898         * time/sys/time.h, time/sys/timeb.h
12899         Use the new bits/types headers.
12901         * include/time.h: Remove __need logic.
12902         * include/bits/time.h
12903         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
12904         * include/bits/types/time_t.h, include/bits/types/timer_t.h
12905         * include/bits/types/struct_itimerspec.h
12906         * include/bits/types/struct_timespec.h
12907         * include/bits/types/struct_timeval.h
12908         * include/bits/types/struct_tm.h:
12909         New wrapper headers.
12911 2016-09-23  Zack Weinberg  <zackw@panix.com>
12913         * sysdeps/mach/hurd/net/if_ppp.h
12914         * sysdeps/unix/sysv/linux/net/if_ppp.h:
12915         Only define struct ifpppstatsreq and struct ifpppcstatsreq
12916         if __USE_MISC is defined, to ensure struct ifreq is declared.
12918         * inet/netinet/ether.h: Condition all function prototypes
12919         on __USE_MISC, to ensure struct ether_addr is declared.
12921         * socket/bits/types/struct_osockaddr.h: New header.
12922         * include/bits/types/struct_osockaddr.h: New wrapper.
12923         * socket/Makefile: Install the new header.
12924         * socket/sys/socket.h, inet/protocols/talkd.h:
12925         Refer to bits/types/struct_osockaddr.h for the definition of
12926         struct osockaddr.
12928 2016-09-23  Zack Weinberg  <zackw@panix.com>
12930         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
12931         * inet/protocols/routed.h, inet/protocols/talkd.h
12932         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
12933         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
12934         * sysdeps/generic/netinet/if_ether.h
12935         * sysdeps/generic/netinet/in_systm.h
12936         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
12937         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12938         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
12939         * sysdeps/mach/hurd/net/if_arp.h
12940         * sysdeps/mach/hurd/net/if_ppp.h
12941         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
12942         * sysdeps/unix/sysv/linux/bits/in.h
12943         * sysdeps/unix/sysv/linux/net/ethernet.h
12944         * sysdeps/unix/sysv/linux/net/if_arp.h
12945         * sysdeps/unix/sysv/linux/net/if_ppp.h
12946         * sysdeps/unix/sysv/linux/net/if_shaper.h
12947         * sysdeps/unix/sysv/linux/net/route.h
12948         * sysdeps/unix/sysv/linux/netinet/if_ether.h
12949         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12950         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12951         * sysdeps/unix/sysv/linux/netipx/ipx.h
12952         * sysdeps/unix/sysv/linux/sys/acct.h
12953         * include/arpa/nameser.h, include/resolv.h:
12954         Change all uses of u_char to unsigned char,
12955         u_short and ushort to unsigned short, u_int and uint to unsigned int,
12956         u_long and ulong to unsigned long, u_int8_t to uint8_t,
12957         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
12958         and u_int64_t and u_quad_t to uint64_t.
12960         * mach/sys/reboot.h: Remove two casts of integer literals
12961         to the types they already have.
12963         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
12964         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
12965         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
12966         from referring to 'unsigned char' to 'uint8_t' for consistency with
12967         the macro definition below.
12969         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
12970         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
12971         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
12972         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
12973         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
12974         * sysdeps/unix/sysv/linux/sys/acct.h
12975         * include/arpa/nameser.h, include/resolv.h:
12976         Fix indentation disrupted by mechanical edits.
12978         * inet/protocols/talkd.h, resolv/arpa/nameser.h
12979         * sysdeps/generic/netinet/in_systm.h
12980         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12981         * sysdeps/gnu/netinet/udp.h
12982         * sysdeps/unix/sysv/linux/net/ethernet.h
12983         * sysdeps/unix/sysv/linux/net/if_arp.h
12984         * sysdeps/unix/sysv/linux/net/if_ppp.h
12985         * sysdeps/unix/sysv/linux/net/if_shaper.h
12986         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12987         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12988         * sysdeps/unix/sysv/linux/netipx/ipx.h
12989         * sysdeps/unix/sysv/linux/sys/acct.h
12990         Include stdint.h for uintNN_t definitions.
12991         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
12993 2016-09-23  Zack Weinberg  <zackw@panix.com>
12995         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
12996         * sysdeps/unix/sysv/linux/netrose/rose.h:
12997         Include sys/socket.h and netax25/ax25.h.
12999         * inet/netinet/icmp6.h, inet/netinet/ip6.h
13000         * resolv/arpa/nameser_compat.h:
13001         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13003         * sysdeps/unix/sysv/linux/sys/quota.h:
13004         Use __caddr_t instead of caddr_t.
13005         * sysdeps/unix/sysv/linux/sys/timerfd.h:
13006         Use __clockid_t instead of clockid_t.
13008         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13010         * argp/argp.h: Check whether _LIBC is defined before expanding it.
13011         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13012         expanding it.
13014         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13015         Define __glibc_c99_flexarr_available to 1 when the compiler
13016         supports C99-compatible flexible array members, 0 otherwise.
13017         * sysdeps/unix/sysv/linux/bits/socket.h
13018         * sysdeps/mach/hurd/bits/socket.h
13019         * bits/socket.h: Use __glibc_c99_flexarr_available in
13020         definitions of struct cmsghdr and CMSG_DATA.
13022 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13024         * manual/nss.texi (NSS Modules Interface): Adjust function return
13025         type to enum nss_status.  Document errnop argument.  Clarify
13026         h_errnop semantics.  Fix cross-reference formatting.
13027         (NSS Module Function Internals): Mention that *errnop needs to be
13028         set on failure, but not to zero.
13030 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13032         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13033         (get_random_name): New functions.
13034         (check_wrapper_flags_mode): Use linkat to give the new file a name
13035         determined by get_random_name.
13036         (do_test): Add calls to test open64 and openat64.
13038 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13040         * test-skeleton.c: Remove #include <stdarg.h>.
13042 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
13044         [BZ #19826]
13045         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13046         initialization of static TLS entries.
13047         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13048         * nptl/allocatestack.c (init_one_static_tls): Likewise.
13050 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13052         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13053         _hurd_malloc_fork_prepare.
13054         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13055         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13056         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13057         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13058         (_hurd_fork_child_hook): Drop malloc_fork_child.
13059         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13060         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13061         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13062         after locking locks (notably hurd_dtable_lock). Call
13063         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13064         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13065         __malloc_fork_unlock_child.
13066         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13068 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13070         * soft-fp/extendhftf2.c: New.
13071         * soft-fp/fixhfti.c: Likewise.
13072         * soft-fp/fixunshfti.c: Likewise.
13073         * soft-fp/floattihf.c: Likewise.
13074         * soft-fp/floatuntihf.c: Likewise.
13075         * soft-fp/half.h: Likewise.
13076         * soft-fp/trunctfhf2.c: Likewise.
13078 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13080         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13081         macro.
13082         * math/libm-test.inc (issubnormal_test_data): New array.
13083         (issubnormal_test): New function.
13084         * manual/arith.texi (Floating Point Classes): Document
13085         issubnormal.
13086         * manual/libm-err-tab.pl: Update comment on interfaces without
13087         ulps tabulated.
13089         * sysdeps/generic/stdint.h: Define
13090         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13091         <bits/libc-header-start.h> instead of including <features.h>.
13092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13111         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13112         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13113         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13114         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13115         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13116         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13117         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13118         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13119         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13120         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13121         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13122         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13123         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13124         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13125         * manual/arith.texi (Integers): Document these macros for types
13126         specified by width properties.
13127         * manual/lang.texi (Width of Type): Document these macros for
13128         other standard typedefs.
13129         * stdlib/tst-width-stdint.c: New file.
13130         * stdlib/Makefile (tests): Add tst-width-stdint.
13132 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13134         [BZ #20016]
13135         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13136         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13137         Move ...
13138         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13139         ... here, as compatibility symbols in a new file.
13140         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13141         * resolv/res_init.c (__res_vinit): Adjust member names.
13142         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13143         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13144         (res_send_rhook): Remove.
13145         (struct __res_state): Rename qhook, rhook members.
13147 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13149         malloc: Use __libc_lock wrappers.
13150         * malloc/arena.c (list_lock, free_list_lock): Define using
13151         __libc_lock_define_initialized.
13152         (arena_lock): Adjust formatting.
13153         * malloc/malloc.c (struct malloc_state): Define mutex using
13154         __libc_lock_define.
13155         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13156         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13157         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13158         (mutex_unlock, mutex_trylock): Remove.
13159         (__pthread_initialize): Remove unused macro.
13160         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13161         (mutex_unlock, mutex_trylock): Remove.
13163 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13165         [BZ #20592]
13166         Remove RR type classification macros.
13167         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13168         (ns_t_udp_p, ns_t_xfr_p): Remove.
13170 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13172         Remove misleading version information.
13173         * resolv/arpa/nameser.h (__NAMESER): Remove.
13174         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13176 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13178         Remove the always-defined BIND_4_COMPAT macro.
13179         * resolv/arpa/nameser.h: Unconditionally include
13180         <arpa/nameser_compat.h>.
13181         (BIND_4_COMPAT): Remove.
13182         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13184 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13186         [BZ #20591]
13187         Remove obsolete DNSSEC support.
13188         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13189         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13190         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13191         (ns_verify_tcp, ns_verify_tcp_init): Remove.
13192         (ns_cert_types): Add comment.
13193         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13194         separately.
13195         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13196         (dst_s_dns_key_id): Remove.
13197         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13198         variables.
13200 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13202         [BZ #20524]
13203         * manual/string.texi (String/Array Comparison): Clarify the
13204         strverscmp behavior.
13206 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13208         * test-skeleton.c (xasprintf): Add function.
13209         * io/tst-open-tmpfile.c: New test.
13210         * io/Makefile (tests): Add it.
13212 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13214         Avoid running $(CXX) during build to obtain header file paths.
13215         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13216         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13217         * Makerules (cstdlib, cmath): Remove variables.  Use
13218         $(c++-cstdlib-header), $(c++-cmath-header) instead.
13219         * configure: Regenerate.
13221 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13223         * Makeconfig (all-object-suffixes): Include .op only if
13224         $(build-profile).
13226 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13228         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13229         conditionals.  Do not define PATH_MAX.
13231 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13233         * posix/Makefile (tests): Add tst-spawn3.
13234         * posix/tst-spawn3.c: New file.
13235         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13236         if it is already opened for open action.
13238         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13239         all signals when executing the clone vfork child.
13240         (SIGALL_SET): Remove macro.
13242         * nptl/Makefile (tests): Add tst-exec5.
13243         * nptl/tst-exec5.c: New file.
13244         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13245         asynchronous cancellation.
13247 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13249         * hurd/exc2signal.c: #include <hurd/signal.h>
13250         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13251         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
13252         accordingly.
13253         * mach/mach_error.c (mach_error): Fix old-style function definition.
13254         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13256 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13258         * math/Makefile (libm-calls): Remove s_nanF.
13259         (gen-libm-calls): Add s_nanF.
13261         * math/s_nan.c: Refactor into ...
13262         * math/s_nan_template.c: New file.
13264         * math/s_nanf.c: Removed.
13265         * math/s_nanl.c: Removed.
13266         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13267         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13269         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13270         (LDOUBLE_nanl_libm_version): New macro.
13272         * sysdeps/generic/math-type-macros-double.h:
13273         (M_STRTO_NAN): New macro.
13274         * sysdeps/generic/math-type-macros-float.h: Likewise.
13275         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13277         * sysdeps/generic/math-type-macros.h: Document
13278         M_STRTO_NAN.
13280 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13282         * math/s_nanf.c: Remove __nanf undef.
13283         * math/s_nan.c: Remove __nan undef.
13284         * math/s_nanl.c: Remove __nanl undef.
13286         * sysdeps/generic/math_private.h (__nan): Remove macro
13287         override.
13288         (__nanf): Likewise.
13289         (__nanl): Likewise.
13291 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13293         * math/Makefile (gen-all-calls): New variable.
13294         (generated): Replace gen-libm-calls with gen-all-calls.
13295         (gen-libm-templates.stmp): Likewise.  Also, ensure
13296         the output directory exists or is created and add
13297         dependency on the Makefile.
13298         (calls): Move s_ldexpF into gen-calls.
13299         (gen-calls): New variable.
13301         * math/s_ldexpf.c: Removed.
13302         * math/s_ldexpl.c: Removed.
13303         * math/s_ldexp.c: Refactored into ...
13304         * math/s_ldexp_template.c: New file.
13306         * sysdeps/generic/math-type-macros-double.h: Remove
13307         redundant fall-through definition of declare_mgen_alias.
13308         (declare_mgen_alias_2): New macro.
13310         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
13311         New macro for function aliased to two exported symbols.
13313         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
13314         new template file.
13315         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13317 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13319         * Makeconfig (all-object-suffixes): Remove .og.
13320         * Makerules (elide-routines.og): Remove.
13321         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
13322         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
13323         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
13325 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13327         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
13328         .os objects.
13330 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13332         [BZ #20615]
13333         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
13334         fpu directory by non-fpu.
13335         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
13336         on non-fpu directory from a fpu directory.
13338 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
13340         * include/limits.h: Define
13341         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13342         <bits/libc-header-start.h> instead of including <features.h>.
13343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
13344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
13345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
13346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
13347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
13348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
13349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
13350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
13351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
13353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
13354         * manual/lang.texi (Width of Type): Document these macros.
13355         * stdlib/tst-width.c: New file.
13356         * stdlib/Makefile (tests): Add tst-width.
13358 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13360         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
13361         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
13363 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13365         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
13366         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13367         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13369 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13371         [BZ #18243]
13372         * rt/Makefile (test): Add tst-shm-cancel.
13373         * rt/tst-shm-cancel.c: New file.
13374         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
13376         [BZ #18243]
13377         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
13378         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
13379         definition.
13380         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
13381         uncontended case.
13382         * nptl/sem_wait.c (__new_sem_wait): Likewise.
13383         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
13384         (tf): Fix check for uncontended case.
13385         (do_test): Likewise.
13386         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
13387         (tf): Fix check for uncontended case.
13388         (do_test): Likewise.
13389         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
13390         (tf): Fix check for uncontended case.
13391         (do_test): Likewise.
13392         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
13393         (tf): Fix check for uncontended case.
13394         (do_test): Likewise.
13396         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
13397         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
13399         [BZ #15765]
13400         * nptl/Makefile (tests): Add tst-sem16.
13401         * nptl/tst-sem16.c: New file.
13402         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
13404         * nptl/sem_open.c (sem_open): Init pad value to 0.
13405         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13406         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13408 2016-09-15  Florian Weimer  <fweimer@redhat.com>
13410         [BZ #20611]
13411         * inet/Makefile (routines): Add inet6_scopeid_pton.
13412         (tests): Add tst-inet6_scopeid_pton.
13413         * inet/inet6_scopeid_pton.c: New file.
13414         * inet/net-internal.h: Likewise.
13415         * inet/tst-inet6_scopeid_pton.c: New test.
13416         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
13417         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
13418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13420 2016-09-14  Florian Weimer  <fweimer@redhat.com>
13422         Remove support for compiling wrappers with PTW.
13423         * sysdeps/nptl/Makeconfig: Drop ptw- support.
13424         * nptl/Makefile (pthread-compat-wrappers): Define.
13425         (libpthread-routines): Use pthread-compat-wrappers.
13426         * sysdeps/unix/sysv/linux/alpha/Makefile
13427         (libpthread-routines, libpthread-shared-only-routines): Remove
13428         ptw- prefix.
13429         * sysdeps/s390/nptl/Makefile
13430         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13431         * sysdeps/ia64/nptl/Makefile
13432         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13433         * sysdeps/nacl/Makefile (libpthread-routines): Use
13434         pthread-compat-wrappers to filter the routines list instead of the
13435         ptw- prefix.
13437 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13439         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
13440         with L() and remove explicit suffix, convert real literals
13441         which can be equivalentally substituted with integers, and
13442         transform -L(x) to L(-x).
13444         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13445         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13446         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13447         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13448         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13449         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13450         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13451         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13452         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13453         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13454         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13455         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13456         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13457         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13458         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13459         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13460         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13461         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13462         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13463         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13464         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13465         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13466         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13467         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13468         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13469         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13470         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13471         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13472         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13473         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13474         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13475         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13476         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13477         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13478         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13479         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13480         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13481         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13482         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13483         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13484         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13485         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13486         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13487         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13488         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13489         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13490         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13491         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13492         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13493         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13495 2016-09-13  Florian Weimer  <fweimer@redhat.com>
13497         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
13499 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13501         * malloc/Makefile (tests): Remove individual static test names
13502         and just add all of tests-static.
13504         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
13506 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
13508         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
13509         file.
13511         * sysdeps/sparc/fpu/fegetmode.c: New file.
13512         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
13514         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
13515         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
13517         * sysdeps/s390/fpu/fegetmode.c: New file.
13518         * sysdeps/s390/fpu/fesetmode.c: Likewise.
13520         * sysdeps/powerpc/fpu/fegetmode.c: New file.
13521         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
13522         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
13523         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
13524         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
13525         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
13527         * sysdeps/mips/fpu/fegetmode.c: New file.
13528         * sysdeps/mips/fpu/fesetmode.c: Likewise.
13530         * sysdeps/m68k/fpu/fegetmode.c: New file.
13531         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
13533         * sysdeps/ia64/fpu/fegetmode.c: New file.
13534         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
13536         * sysdeps/hppa/fpu/fegetmode.c: New file.
13537         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
13539         * sysdeps/arm/fegetmode.c: New file.
13540         * sysdeps/arm/fesetmode.c: Likewise.
13542         * sysdeps/alpha/fpu/fegetmode.c: New file.
13543         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
13545         * sysdeps/aarch64/fpu/fegetmode.c: New file.
13546         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
13548         * math/fegetmode.c: New file.
13549         * math/fesetmode.c: Likewise.
13550         * sysdeps/i386/fpu/fegetmode.c: Likewise.
13551         * sysdeps/i386/fpu/fesetmode.c: Likewise.
13552         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
13553         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
13554         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
13555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
13556         declaration.
13557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
13558         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
13559         typedef.
13560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13561         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13562         (femode_t): New typedef.
13563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13564         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13565         (femode_t): New typedef.
13566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13567         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13568         (femode_t): New typedef.
13569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13570         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13571         (femode_t): New typedef.
13572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13573         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13574         (femode_t): New typedef.
13575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13576         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13577         (femode_t): New typedef.
13578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13579         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13580         (femode_t): New typedef.
13581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13582         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13583         (femode_t): New typedef.
13584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13585         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13586         (femode_t): New typedef.
13587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13588         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13589         (femode_t): New typedef.
13590         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
13591         declaration.
13592         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13593         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13594         (femode_t): New typedef.
13595         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13596         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13597         (femode_t): New typedef.
13598         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13599         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13600         (femode_t): New typedef.
13601         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13602         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13603         (femode_t): New typedef.
13604         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13605         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13606         (femode_t): New typedef.
13607         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13608         * manual/arith.texi (FE_DFL_MODE): Document macro.
13609         (fegetmode): Document function.
13610         (fesetmode): Likewise.
13611         * math/Versions (fegetmode): New libm symbol at version
13612         GLIBC_2.25.
13613         (fesetmode): Likewise.
13614         * math/Makefile (libm-support): Add fegetmode and fesetmode.
13615         (tests): Add test-femode and test-femode-traps.
13616         * math/test-femode-traps.c: New file.
13617         * math/test-femode.c: Likewise.
13618         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
13619         alias for __fe_dfl_env.
13620         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
13621         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
13622         (__fe_dfl_mode): Likewise.
13623         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13624         version GLIBC_2.25.
13625         * sysdeps/nacl/libm.abilist: Update.
13626         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13627         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13630         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13632         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13633         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13634         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13635         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13636         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13637         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13639         Likewise.
13640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13641         Likewise.
13642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13643         Likewise.
13644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13645         Likewise.
13646         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13647         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13649         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13650         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13652         Likewise.
13653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13654         Likewise.
13655         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13656         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13657         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13659 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13661         [BZ #20495]
13662         [BZ #20508]
13663         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13664         processors, set Use_dl_runtime_resolve_slow and set
13665         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13666         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13667         New.
13668         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13669         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13670         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13671         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13672         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13673         if Use_dl_runtime_resolve_opt is set.  Use
13674         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13675         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13676         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
13677         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13678         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13679         New.
13680         (_dl_runtime_resolve_opt): Likewise.
13681         (_dl_runtime_profile): Define only if _dl_runtime_profile is
13682         defined.
13684 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13686         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
13687         __libc_memalign with "+ RELA R_390_GLOB_DAT".
13689 2016-09-06  Florian Weimer  <fweimer@redhat.com>
13691         Convert malloc to __libc_lock.  Automated part, using this Perl
13692         s/// command:
13693           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
13694             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
13695         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
13696         conversion.
13698 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
13700         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
13701         (linknamespace-symlists-tests): Likewise.
13702         (linknamespace-header-tests): Likewise.
13704 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
13706         [BZ #19810]
13707         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
13708         * elf/tst-noload.c: New test case.
13709         * elf/Makefile (tests): Add tst-noload.
13711 2016-09-02  Roland McGrath  <roland@hack.frob.com>
13713         * sysdeps/nacl/dup.c: Add libc_hidden_def.
13715         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
13716         not any more.
13718         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
13720 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13722         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
13723         (do_cos_slow): Likewise.
13724         (do_sin): Likewise.
13725         (do_sin_slow): Likewise.
13726         (slow): Likewise.
13727         (slow1): Likewise.
13728         (slow2): Likewise.
13729         (sloww): Likewise.
13730         (sloww1): Likewise.
13731         (sloww2): Likewise.
13732         (bsloww): Likewise.
13733         (bsloww1): Likewise.
13734         (bsloww2): Likewise.
13735         (cslow2): Likewise.
13737         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
13739         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
13740         arguments.  Consolidate input partitioning from callers here.
13741         (do_cos_slow): Likewise.
13742         (do_sin): Likewise.
13743         (do_sin_slow): Likewise.
13744         (do_sincos_1): Remove the no longer necessary input partitioning.
13745         (do_sincos_2): Likewise.
13746         (__sin): Likewise.
13747         (__cos): Likewise.
13748         (slow1): Likewise.
13749         (slow2): Likewise.
13750         (sloww1): Likewise.
13751         (sloww2): Likewise.
13752         (bsloww1): Likewise.
13753         (bsloww2): Likewise.
13754         (cslow2): Likewise.
13756 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13758         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
13759         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
13760         outside of allocated array.
13762 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13764         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
13765         instead of MB_CUR_MAX to avoid variable-length array.
13767 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13769         * math/Makefile (libm-calls): Remove k_rem_pio2F.
13770         (type-double-routines): Add k_rem_pio2.
13771         (type-float-routines): Add k_rem_pio2f.
13773         * sysdeps/generic/math_private.h:
13774         (__kernel_rem_pio2l): Removed.
13776         * math/k_rem_pio2l.c: Removed.
13777         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
13778         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
13779         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
13780         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
13782 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13784         * math/Makefile (gen-libm-calls): Add s_fmin
13785         (libm-calls): Remove above.
13787         * math/s_fmin.c: Refactor into ...
13788         * math/s_fmin_template.c: New file.
13790         * math/s_fminf.c: Removed.
13791         * math/s_fminl.c: Removed.
13792         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13793         (LDOUBLE_fmin_libm_version): New macro.
13795         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
13796         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
13798 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13800         * math/Makefile: (gen-libm-calls): Add s_fmax.
13801         (libm-calls): Remove above.
13803         * math/s_fmax.c: Refactor into ...
13804         * math/s_fmax_template.c: New file.
13805         * math/s_fmaxf.c: Removed.
13806         * math/s_fmaxl.c: Removed.
13808         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13809         (LDOUBLE_fmaxl_libm_version): New macro.
13811         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
13812         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
13814         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
13815         s_fmin.c to pick the aarch64 version of the file.
13816         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
13817         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
13819 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13821         * math/Makefile: (gen-libm-calls): Add s_nextdown.
13822         (libm-calls): Remove above.
13824         * math/s_nextdown.c: Refactor into ...
13825         * math/s_nextdown_template.c: New file.
13826         * math/s_nextdownf.c: Removed.
13827         * math/s_nextdownl.c: Removed.
13829         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13831 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13833         * math/Makefile (gen-libm-calls): Add s_fdim.
13834         (libm-calls): Move to above.
13836         * math/s_fdim.c: Renamed and refactored into to ...
13837         * math/s_fdim_template.c: New file.
13838         * math/s_fdiml.c: Removed.
13839         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
13840         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
13842         * sysdeps/generic/math-type-macros-double.h:
13843         (declare_mgen_alias): Don't declare if already declared.
13844         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
13845         Likewise.
13847         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13848         (declare_mgen_alias): Don't declare if already declared.
13849         (M_LIBM_NEED_COMPAT): Likewise.
13850         (declare_mgen_libm_compat): Likewise.
13851         (LDOUBLE_fdiml_libm_version): New macro.
13853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13854         Include math/s_fdim.c now that ldbl-opt version is not needed.
13855         (declare_mgen_alias): New macro to disable aliasing.
13857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
13858         (declare_mgen_alias): Likewise.
13859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
13860         (declare_mgen_alias): Likewise.
13861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
13862         (declare_mgen_alias): Likewise.
13863         (M_LIBM_NEED_COMPAT): Likewise.
13865 2016-09-01  Florian Weimer  <fweimer@redhat.com>
13867         [BZ #20525]
13868         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
13869         Include <linux/quota.h>.
13870         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
13871         and btodb.
13872         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
13873         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
13874         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
13875         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
13876         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
13877         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
13878         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
13879         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
13880         types.
13881         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
13882         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
13884 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13886         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
13887         (gammal_positive): Fix spacing.
13888         (__ieee754_gammal_r): Likewise.
13890 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13892         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
13893         (_Float128): Define as long double, always.
13894         (L): Apply long double type suffix, always.
13896         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
13897         _Float128, excepting comments.
13899         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13900         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13901         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13902         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13903         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13904         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13905         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13906         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13907         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13908         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
13909         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13910         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13911         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13912         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13913         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13914         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13915         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13916         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13917         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13918         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13919         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13920         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13921         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13922         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13923         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13924         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13925         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13926         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13927         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13928         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13929         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13930         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13931         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13932         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13933         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13934         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13935         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13936         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13937         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13938         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13939         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13940         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13941         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13942         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13943         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13944         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13945         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13946         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13947         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13948         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13949         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13950         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13951         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13952         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13953         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13954         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13955         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13956         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13957         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13958         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13959         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13960         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13961         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13962         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13963         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13964         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13965         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13966         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13968         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
13969         _Float128, and include math_private.h.
13970         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13972         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
13973         long double semantics.
13974         (_Float128): Likewise.
13975         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
13976         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13977         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13978         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13980 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13982         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
13983         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
13984         * sysdeps/s390/configure: Regenerated.
13985         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
13986         instruction for raising over-/underflow if z196 zarch is supported
13987         by default.
13988         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
13990 2016-08-30  Svante Signell  <svante.signell@gmail.com>
13992         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
13993         it point to a dumb buffer for RPC to fill it.
13995 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13997         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
13998         instead of if/else.
13999         (do_sin_slow): Likewise.
14000         (do_sincos_1): Use fabs instead of if/else.
14001         (do_sincos_2): Likewise.
14002         (__sin): Likewise.
14003         (__cos): Likewise.
14004         (slow2): Likewise.
14005         (sloww): Likewise.
14006         (sloww1): Likewise.  Drop argument M.
14007         (sloww2): Use fabs instead of if/else.
14008         (bsloww): Likewise.
14009         (bsloww1): Likewise.
14010         (bsloww2): Likewise.
14012         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14013         fall through comment.
14014         (do_sincos_1): Likewise.
14016         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14017         Consolidate switch cases 0 and 2.
14019 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14021         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14022         (libm-calls): Remove the above.
14024         * math/s_cexp_template.c: Update using type-generic macros.
14025         * math/s_clog10_template.c: Likewise.
14026         * math/s_cpow_template.c: Likewise.
14027         * math/s_clog_template.c: Likewise.
14028         * math/s_cproj_template.c: Likewise.
14029         * math/s_csqrt_template.c: Likewise.
14031         * math/s_cexp.c: Removed.
14032         * math/s_cexpf.c: Removed.
14033         * math/s_cexpl.c: Removed.
14034         * math/s_clog10.c: Removed.
14035         * math/s_clog10f.c: Removed.
14036         * math/s_clog10l.c: Removed.
14037         * math/s_cpow.c: Removed.
14038         * math/s_cpowf.c: Removed.
14039         * math/s_cpowl.c: Removed.
14040         * math/s_clog.c: Removed.
14041         * math/s_clogf.c: Removed.
14042         * math/s_clogl.c: Removed.
14043         * math/s_cproj.c: Removed.
14044         * math/s_cprojf.c: Removed.
14045         * math/s_cprojl.c: Removed.
14046         * math/s_csqrt.c: Removed.
14047         * math/s_csqrtf.c: Removed.
14048         * math/s_csqrtl.c: Removed.
14050         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14051         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14052         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14053         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14054         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14055         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14057         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14058         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14059         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14060         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14061         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14062         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14063         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14064         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14065         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14066         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14067         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14069         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14070         version.
14072         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14073         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14074         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14075         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14077 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14079         * s_cexp_template.c: Copy of s_cexp.c.
14080         * s_clog_template.c: Copy of s_clog.c.
14081         * s_clog10_template.c: Copy of s_clog10.c.
14082         * s_cpow_template.c: Copy of s_cpow.c.
14083         * s_cproj_template.c: Copy of s_cproj.c.
14084         * s_csqrt_template.c: Copy of s_csqrt.c.
14086 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14088         [BZ #20517]
14089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14090         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14091         exported.
14093 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14095         * math/fetestexceptflag.c: New file.
14096         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14097         Stefan Liebler.
14098         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14099         (fetestexceptflag): New function declaration.
14100         * manual/arith.texi (fetestexceptflag): Document function.
14101         * math/Versions (fetestexceptflag): New libm symbol at version
14102         GLIBC_2.25.
14103         * math/Makefile (libm-support): Add fetestexceptflag.
14104         (tests): Add test-fetestexceptflag.
14105         * math/test-fetestexceptflag.c: New file.
14106         * sysdeps/nacl/libm.abilist: Update.
14107         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14108         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14109         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14110         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14111         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14112         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14113         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14114         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14115         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14116         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14117         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14118         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14120         Likewise.
14121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14122         Likewise.
14123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14124         Likewise.
14125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14126         Likewise.
14127         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14128         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14129         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14130         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14131         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14133         Likewise.
14134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14135         Likewise.
14136         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14137         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14138         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14140 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14142         [BZ #20432]
14143         Avoid strong references to malloc-internal symbols when linking
14144         statically, to support statically interposed mallocs.
14145         * include/libc-symbols.h (call_function_static_weak): New macro.
14146         * malloc/Makefile (tests): Add tst-interpose-nothread,
14147         tst-interpose-thread, tst-interpose-static-nothread,
14148         tst-interpose-static-thread.
14149         (tests-static): Add tst-interpose-static-nothread,
14150         tst-interpose-static-thread.
14151         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14152         tst-interpose-aux-thread.o.
14153         (test-extras): Add tst-interpose-aux-nothread,
14154         tst-interpose-aux-thread.
14155         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14156         tst-interpose-aux-nothread.o.
14157         (tst-interpose-thread, tst-interpose-static-thread): Link with
14158         tst-interpose-aux-thread.o and libthread.
14159         * malloc/tst-interpose-aux-nothread.c: New file.
14160         * malloc/tst-interpose-aux-thread.c: Likewise.
14161         * malloc/tst-interpose-aux.c: Likewise.
14162         * malloc/tst-interpose-aux.h: Likewise.
14163         * malloc/tst-interpose-nothread.c: Likewise.
14164         * malloc/tst-interpose-skeleton.c: Likewise.
14165         * malloc/tst-interpose-static-nothread.c: Likewise.
14166         * malloc/tst-interpose-static-thread.c: Likewise.
14167         * malloc/tst-interpose-thread.c: Likewise.
14168         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14169         * sysdeps/mach/hurd/fork.c (__fork): Only call
14170         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14171         __malloc_fork_unlock_child if defined.
14172         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14174 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14176         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14177         timespec C99 designated initialization.
14179 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14181         [BZ #19946]
14182         Avoid expected SIGALRM signals.
14183         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14184         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14185         (xpthread_create, xpthread_detach, xpthread_join)
14186         (delayed_exit_thread, delayed_exit): New functions.
14187         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14188         (tf): Use xpthread_cond_wait.
14189         (do_test): Likewise.  Replace alarm with delayed_exit.
14190         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14191         (do_test): Call delayed_exit.  Report failure.
14192         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14193         (do_test): Call delayed_exit.
14194         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14195         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
14196         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14197         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
14198         error.
14199         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14200         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
14201         error.
14202         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14203         (do_test): Call delayed_exit.
14204         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14205         (do_test): Call delayed_exit.
14206         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14207         (do_test): Call delayed_exit instead of alarm.  Use
14208         xpthread_mutex_lock.
14209         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14210         (do_test): Call delayed_exit instead of alarm.  Use
14211         xpthread_mutex_lock.
14212         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14213         (do_test): Call delayed_exit instead of alarm.
14214         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14215         (do_test): Call delayed_exit instead of alarm.  Use
14216         xpthread_spin_lock.
14217         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14218         (do_test): Call delayed_exit instead of alarm.  Use
14219         xpthread_join.
14221 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14223         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14224         adjust CFA when allocating register save area on re-aligned
14225         stack.
14227 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14229         * string/tst-cmp.c: New test.
14230         * string/Makefile (tests): Add it.
14232 2016-08-25  Mark Wielaard  <mark@klomp.org>
14234         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14235         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
14236         (check_tree_recurse): Use newly defined accessors.
14237         (check_tree): Likewise.
14238         (maybe_split_for_insert): Likewise.
14239         (__tfind): Likewise.
14240         (__tdelete): Likewise.
14241         (trecurse): Likewise.
14242         (tdestroy_recurse): Likewise.
14243         (__tsearch): Likewise. And add asserts for malloc alignment.
14244         (__twalk): Cast root to node in case CHECK_TREE is defined.
14246 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14248         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14250 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14252         * math/Makefile (libm-gen-calls): Add
14253         catan, catanh, ctan, ctanh.
14254         (libm-calls): Remove the above.
14256         * math/s_catan_template.c: Update using type-generic macros.
14257         * math/s_catanh_template.c: Likewise.
14258         * math/s_ctan_template.c: Likewise.
14259         * math/s_ctanh_template.c: Likewise.
14261         * math/s_catanf.c: Removed.
14262         * math/s_catan.c: Removed.
14263         * math/s_catanl.c: Removed.
14264         * math/s_catanhf.c: Removed.
14265         * math/s_catanh.c: Removed.
14266         * math/s_catanhl.c: Removed.
14267         * math/s_ctanf.c: Removed.
14268         * math/s_ctan.c: Removed.
14269         * math/s_ctanl.c: Removed.
14270         * math/s_ctanhf.c: Removed.
14271         * math/s_ctanh.c: Removed.
14272         * math/s_ctanhl.c: Removed.
14274         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14275         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14276         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14277         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14278         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14279         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14281         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14282         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14283         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14284         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14286 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14288         * s_catan_template.c: Copy of s_catan.c.
14289         * s_catanh_template.c: Copy of s_catanh.c.
14290         * s_ctan_template.c: Copy of s_ctan.c.
14291         * s_ctanh_template.c: Copy of s_ctanh.c.
14293 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14295         * math/Makefile (gen-libm-calls): Move
14296         casin, casinh, csin, csinh here.
14297         (libm-calls): Remove the above.
14299         * math/s_casin_template.c: Update using type-generic macros.
14300         * math/s_casinh_template.c: Likewise.
14301         * math/s_csin_template.c: Likewise.
14302         * math/s_csinh_template.c: Likewise.
14303         * math/k_casinh_template.c: Likewise.
14305         * math/s_casinf.c: Removed.
14306         * math/s_casin.c: Removed.
14307         * math/s_casinl.c: Removed.
14308         * math/s_casinh.c: Removed.
14309         * math/s_casinhf.c: Removed.
14310         * math/s_casinhl.c: Removed.
14311         * math/s_csin.c: Removed.
14312         * math/s_csinf.c: Removed.
14313         * math/s_csinl.c: Removed.
14314         * math/s_csinh.c: Removed.
14315         * math/s_csinhf.c: Removed.
14316         * math/s_csinhl.c: Removed.
14317         * math/k_casinh.c: Removed.
14318         * math/k_casinhf.c: Removed.
14319         * math/k_casinhl.c: Removed.
14321         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
14322         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14323         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14324         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14326         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
14327         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
14328         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
14329         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
14330         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
14331         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
14332         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
14333         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
14335         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
14336         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
14337         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
14338         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
14340         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
14341         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
14342         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
14343         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
14345 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14347         * s_casin_template.c: Copy of s_casin.c.
14348         * s_casinh_template.c: Copy of s_casinh.c.
14349         * s_csin_template.c: Copy of s_csin.c.
14350         * s_csinh_template.c: Copy of s_csinh.c.
14351         * k_casinh_template.c: Copy of k_casinh.c.
14353 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14355         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
14357 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14359         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
14360         (mul_split) Remove, rename as mul_splitl, remove
14361         redundant float.h include, and include via mul_splitl.h
14363         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14364         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14365         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14366         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14367         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14369         * math/mul_splitl.h: New file.
14371         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
14372         Move into mul_split.h, and remove redundant float.h include.
14374         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14375         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
14376         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14377         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
14379         * math/mul_split.h: New file.
14381 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14383         * math/Makefile (libm-gen-calls): Move
14384         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
14385         (libm-calls): Remove above.
14387         * math/s_cacos_template.c: Update using type-generic macros.
14388         * math/s_cacosh_template.c: Likewise.
14389         * math/s_ccos_template.c: Likewise.
14390         * math/s_ccosh_template.c: Likewise.
14392         * math/s_cacosf.c: Removed.
14393         * math/s_cacos.c: Removed.
14394         * math/s_cacosl.c: Removed.
14395         * math/s_cacoshf.c: Removed.
14396         * math/s_cacosh.c: Removed.
14397         * math/s_cacoshl.c: Removed.
14398         * math/s_ccosf.c: Removed.
14399         * math/s_ccos.c: Removed.
14400         * math/s_ccosl.c: Removed.
14401         * math/s_ccoshf.c: Removed.
14402         * math/s_ccosh.c: Removed.
14403         * math/s_ccoshl.c: Removed.
14405         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
14406         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
14407         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
14408         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
14409         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
14410         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
14412         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
14413         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
14414         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
14415         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
14417         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
14418         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
14419         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
14420         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
14422 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14424         * s_cacos_template.c: Copy of s_cacos.c.
14425         * s_cacosh_template.c: Copy of s_cacosh.c.
14426         * s_ccos_template.c: Copy of s_ccos.c.
14427         * s_ccosh_template.c: Copy of s_ccosh.c.
14429 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14431         * stdlib/tst-strtod-round-skeleton.c:
14432         Refactored from tst-strtod-round.c.
14434         (L_): New macro to apply literal modifier.
14435         (FNPFX): New macro to select str or wcs prefix.
14436         (CHAR): New macro to choose wchar_t or char.
14437         (STRM): New macro to choose printf for tested character type.
14439         (STRTO): New macro to choose appropriate string -> real function.
14440         (FNPFXS): Stringitized version of FNPFX.
14441         (STR): Support for above macro.
14442         (STRX): Likewise.
14444         (TEST): Update with above macros.
14445         (test): Likewise.
14446         (GEN_ONE_TEST): Likewise.
14447         (test_in_one_mode): Likewise.
14449         * stdlib/tst-strtod-round.c: New file.
14450         * wcsmbs/tst-wcstod-round.c: New file.
14452         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
14453         (tst-wcstod-round): Add libm depencency for fesetround.
14455 2016-08-19  Zack Weinberg  <zackw@panix.com>
14457         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
14459 2016-08-18  Torvald Riegel  <triegel@redhat.com>
14461         [BZ #20477]
14462         * resolv/res_hconf.c (do_init): Use atomic access.
14463         * resolv/res_hconf.h: Add comments.
14464         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
14465         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
14466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14468 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14470         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14471         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
14472         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14473         Likewise.
14475 2016-08-18  Florian Weimer  <fweimer@redhat.com>
14477         [BZ #16907]
14478         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
14479         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
14480         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
14481         (__attribute__): Remove definition.
14483 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14485         * sysdeps/ieee754/ldbl-128/e_asinl.c:
14486         Remove unused sqrtl declaration.
14488 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14490         * math/Makefile: (gen-libm-templates.stmp): New rule.
14491         (libm-calls): Move carg conj cimag and cabs into ...
14492         (gen-libm-calls): New variable.
14493         (generated): Inform Make objects from gen-libm-calls
14494         may be generated.
14496         * sysdeps/generic/math-type-macros.h: New file.
14497         * sysdeps/generic/math-type-macros-float.h: Likewise.
14498         * sysdeps/generic/math-type-macros-double.h: Likewise.
14499         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14500         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
14501         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
14503         * math/cabs.c: Refactor into
14504         * math/cabs_template.c: new file.
14505         * math/cabsf.c: Removed.
14506         * math/cabsl.c: Removed.
14507         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
14508         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
14510         * math/carg.c: Refactor into
14511         * math/carg_template.c: new file.
14512         * math/cargf.c: Removed.
14513         * math/cargl.c: Removed.
14514         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
14515         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
14517         * math/conj.c: Refactor into
14518         * math/conj_template.c: new file.
14519         * math/conjf.c: Removed.
14520         * math/conjl.c: Removed.
14521         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
14522         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
14524         * math/cimag.c: Refactor into
14525         * math/cimag_template.c: new file.
14526         * math/cimagf.c: Removed.
14527         * math/cimagl.c: Removed.
14528         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14529         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14531         * math/cimag.c: Refactor into
14532         * math/cimag_template.c: new file.
14533         * math/cimagf.c: Removed.
14534         * math/cimagl.c: Removed.
14535         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14536         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14538 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14540         Reduce time to expected nptl/tst-once5 failure.
14541         * nptl/tst-once5.cc (TIMEOUT): Define.
14543 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14545         [BZ #20452]
14546         Avoid additional copies of objects in libc.a in static libraries.
14547         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
14548         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
14549         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
14550         rt-sysdep.
14551         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
14552         Add nptl-sysdep.
14553         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
14554         Add ptw-sysdep.
14555         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
14556         rt-sysdep.
14557         * sysdeps/unix/sysv/linux/alpha/Makefile
14558         (libpthread-shared-only-routines): Add ptw-sysdep,
14559         ptw-sigprocmask, ptw-rt_sigaction.
14560         * sysdeps/unix/sysv/linux/ia64/Makefile
14561         (librt-shared-only-routines): Add rt-sysdep.
14562         * sysdeps/unix/sysv/linux/i386/Makefile
14563         (libpthread-shared-only-routines): Add libc-do-syscall.
14564         * sysdeps/unix/sysv/linux/microblaze/Makefile
14565         (libpthread-shared-only-routines): Add sysdep.
14566         * sysdeps/unix/sysv/linux/powerpc/Makefile
14567         (librt-shared-only-routines): Add rt-sysdep.
14568         (libpthread-shared-only-routines): Add sysdep.
14569         * sysdeps/unix/sysv/linux/s390/Makefile
14570         (librt-shared-only-routines): Add rt-sysdep.
14571         * sysdeps/unix/sysv/linux/sparc/Makefile
14572         (librt-shared-only-routines): Add rt-sysdep.
14573         (libpthread-shared-only-routines): Add sysdep.
14574         * sysdeps/unix/sysv/linux/tile/Makefile
14575         (libpthread-shared-only-routines): Likewise.
14577 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
14579         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
14580         Mask implicit bit out of unpacked value.
14581         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
14582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
14583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
14585         * sysdeps/sparc/fpu/fesetexcept.c: New file.
14587         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
14589         * sysdeps/s390/fpu/fesetexcept.c: New file.
14591         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
14592         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
14593         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
14595         * sysdeps/mips/fpu/fesetexcept.c: New file.
14597         * sysdeps/m68k/fpu/fesetexcept.c: New file.
14599         * sysdeps/ia64/fpu/fesetexcept.c: New file.
14601         * sysdeps/hppa/fpu/fesetexcept.c: New file.
14603         * sysdeps/arm/fesetexcept.c: New file.
14605         * sysdeps/alpha/fpu/fesetexcept.c: New file.
14607         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
14609         * math/fesetexcept.c: New file.
14610         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
14611         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
14612         * math/fenv.h: Define
14613         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14614         <bits/libc-header-start.h> instead of including <features.h>.
14615         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
14616         declaration.
14617         * manual/arith.texi (fesetexcept): Document function.
14618         * math/Versions (fesetexcept): New libm symbol at version
14619         GLIBC_2.25.
14620         * math/Makefile (libm-support): Add fesetexcept.
14621         (tests): Add test-fesetexcept and test-fesetexcept-traps.
14622         * math/test-fesetexcept.c: New file.
14623         * math/test-fesetexcept-traps.c: Likewise.
14624         * sysdeps/nacl/libm.abilist: Update.
14625         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14626         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14627         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14628         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14629         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14630         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14631         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14632         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14633         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14634         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14635         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14636         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14638         Likewise.
14639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14640         Likewise.
14641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14642         Likewise.
14643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14644         Likewise.
14645         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14646         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14647         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14648         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14649         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14651         Likewise.
14652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14653         Likewise.
14654         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14655         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14656         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14658 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14660         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14661         New.
14662         (do_test): Apply default_stack_size_in_mb if not set.
14663         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14665 2016-08-15  Andreas Schwab  <schwab@suse.de>
14667         [BZ #20435]
14668         CVE-2016-6323
14669         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14670         as .cantunwind.
14672 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
14674         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14675         comment from fraiseexcpt.c.
14677         * math/test-fexcept.c (feraiseexcept_exact): New function.
14678         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14679         (test_except): Likewise.
14681 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
14683         [BZ #20455]
14684         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
14685         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
14686         to be restored.
14688         * math/test-fexcept-traps.c: New file.
14689         * math/test-fexcept.c: Likewise.
14690         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
14691         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
14692         macro.
14693         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14694         (EXCEPTION_SET_FORCES_TRAP): Likewise.
14696 2016-08-09  Torvald Riegel  <triegel@redhat.com>
14698         * include/atomic.h (atomic_fetch_and_relaxed,
14699         atomic_fetch_and_release, atomic_fetch_or_release,
14700         atomic_fetch_xor_release): New.
14702 2016-08-06  Christian Seiler  <christian@iwakd.de>
14704         [BZ #20444]
14705         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
14706         MACH_PORT_NULL.
14708 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14710         * math/s_fdim.c: Avoid alias renamed.
14711         * math/s_fdimf.c: Likewise.
14712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14713         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14714         Add s_fdimf-vis3, s_fdim-vis3.
14715         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14716         (CFLAGS-s_fdim-vis3.c): Likewise.
14717         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
14718         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
14720 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14723         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14724         Remove s_fdimf-vis3, s_fdim-vis3.
14725         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
14726         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
14727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
14728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
14729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
14730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
14731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
14732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
14733         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
14734         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
14736 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14738         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
14739         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
14740         -Wa,-Av9a -mvis.
14742 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14744         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
14745         LIT() to individual constants in simple expressions
14746         after splitting on spaces.
14747         (_apply_lit): Rename replaced version, and use it to
14748         apply to what appears to be a token.
14750         * math/libm-test.inc: Fix many, many issues with
14751         spacing.
14753 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
14755         * math/math.h: Move comment about <bits/mathdef.h> definitions
14756         above inclusion of <bits/mathdef.h>.  Do not mention
14757         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
14759 2016-08-05  Torvald Riegel  <triegel@redhat.com>
14761         * include/atomic.h (atomic_exchange_relaxed): New.
14763 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
14765         * math/e_scalb.c: Do not include <fenv.h>.
14766         (invalid_fn): Do calculation resulting in NaN instead of raising
14767         FE_INVALID and returning a NaN explicitly.
14768         * math/e_scalbf.c: Do not include <fenv.h>.
14769         (invalid_fn): Do calculation resulting in NaN instead of raising
14770         FE_INVALID and returning a NaN explicitly.
14771         * math/e_scalbl.c: Do not include <fenv.h>.
14772         (invalid_fn): Do calculation resulting in NaN instead of raising
14773         FE_INVALID and returning a NaN explicitly.
14775 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
14777         * po/de.po: Updated from Translation Project.
14778         * po/fi.po: Likewise.
14779         * po/sv.po: Likewise.
14781 2016-08-04  Florian Weimer  <fweimer@redhat.com>
14783         [BZ #20452]
14784         Use sysdep.o from libc.a in static libraries.
14785         * sysdeps/unix/sysv/linux/i386/Makefile
14786         (libpthread-shared-only-routines): Add sysdep.
14787         (librt-shared-only-routines): Likewise.
14789 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14791         * math/tgmath.h (nextdown): Define if
14792         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
14793         (nextup): Likewise.
14795         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
14796         macro.
14797         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14798         Document.
14799         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14800         Document macro.
14801         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
14802         (exp10f): Likewise.
14803         (exp10l): Likewise.
14804         * math/bits/mathcalls.h (exp10): Declare if
14805         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14807         * manual/arith.texi (nextup): Fix typo in last change.
14809 2016-08-03  Zack Weinberg  <zackw@panix.com>
14811         [BZ #19239]
14812         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
14813         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
14814         define major, minor, and makedev to issue deprecation warnings on use.
14815         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
14816         previously-activated deprecation warnings for these macros and prevent
14817         subsequent inclusions of this header from having any effect.
14818         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
14819         including <sys/sysmacros.h>, and undefine it again afterward.
14821 2016-08-03  Zack Weinberg  <zackw@panix.com>
14823         * sysdeps/generic/sys/sysmacros.h: Delete file.
14824         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
14825         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
14826         * bits/sysmacros.h: ... here; this encoding is now the generic
14827         encoding.  Now defines only the following macros:
14828         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
14829         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
14830         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
14832         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
14833         bits/sysmacros.h and the above new macros to generate the
14834         public implementations of major, minor, and makedev.
14835         * misc/tst-makedev.c: New test.
14836         * include/sys/sysmacros.h: New wrapper.
14838         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
14839         (routines): Add makedev.
14840         (tests): Add tst-makedev.
14841         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
14842         gnu_dev_makedev.
14843         * posix/Makefile (headers): Remove sys/sysmacros.h.
14844         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
14846         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
14847         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
14848         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
14849         * sysdeps/unix/sysv/linux/alpha/libc.abilist
14850         * sysdeps/unix/sysv/linux/arm/libc.abilist
14851         * sysdeps/unix/sysv/linux/hppa/libc.abilist
14852         * sysdeps/unix/sysv/linux/i386/libc.abilist
14853         * sysdeps/unix/sysv/linux/ia64/libc.abilist
14854         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14855         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
14856         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
14857         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14858         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14859         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14860         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14861         * sysdeps/unix/sysv/linux/nios2/libc.abilist
14862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14866         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
14867         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14868         * sysdeps/unix/sysv/linux/sh/libc.abilist
14869         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14870         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14873         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
14874         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
14875         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
14876         Add GLIBC_2.25.
14878         * include/features.h (__glibc_clang_prereq): New macro.
14879         * misc/sys/cdefs.h (__glibc_clang_has_extension)
14880         (__attribute_deprecated_msg__): New macros.
14882 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14884         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
14885         macro.
14886         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
14887         * manual/arith.texi (issignaling): Document as ISO from TS
14888         18661-1:2014.
14889         (nextup): Likewise.
14890         (nextupf): Likewise.
14891         (nextupl): Likewise.
14892         (nextdown): Likewise.
14893         (nextdownf): Likewise.
14894         (nextdownl): Likewise.
14895         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
14896         macro.
14897         * math/math.h: Define
14898         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14899         <bits/libc-header-start.h> instead of including <features.h>.
14900         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
14901         [__USE_GNU].
14902         * math/bits/mathcalls.h (nextdown): Declare if
14903         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
14904         (nextup): Likewise.
14905         (__issignaling): Likewise.
14907 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14909         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
14910         check, and remove __glibc_likely hint
14911         from FP_INFINITE check.
14912         * s_csinhf.c (__csinhf): Likewise.
14914         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
14915         hint from FP_INFINITE check.
14916         * s_csinhl.c (__csinhl): Likewise.
14918 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14920         * math/Makefile (libm-calls): Insert F placeholder into
14921         object names.  Move w_lgamma_compat* routines into
14922         (libm-compat-calls): New variable.
14923         (libm-compat-calls-ldouble-yes): New variable.
14924         (calls): Insert F placeholder.
14925         (generated): Redefine using new type-foreach macro call.
14926         (routines): Likewise.
14928         (types): New variable to hold a list of symbolic names
14929         for each type supported by the target machine.
14930         (libm-routines): Redefine using new types variable.
14931         (type-foreach): macro to replace fooF with the
14932         appropriately suffixed foo for each types.
14934         (type-ldouble-suffix): New variable.
14935         (type-ldouble-routines): Likewise.
14936         (type-ldouble-yes): Likewise.
14937         (type-double-suffix): Likewise.
14938         (type-double-routines): Likewise.
14939         (type-float-suffix): Likewise.
14940         (type-float-routines): Likewise.
14942         (dbl-only-routines): Remove.
14943         (long-c-yes): Likewise.
14944         (long-m-routines): Likewise.
14945         (long-m-support): Likewise.
14946         (long-m-yes): Likewise.
14947         (test-longdouble-yes): Likewise.
14949         (test-float.o): Simplify by increasing the scope of the
14950         recipe which adds libm-test.stmp to the vector types.
14951         (test-ifloat.o): Likewise.
14952         (test-float-finite.o): Likewise.
14953         (test-double.o): Likewise
14954         (test-idouble.o): Likewise.
14955         (test-double-finite.o): Likewise.
14956         (test-ldouble.o): Likewise
14957         (test-ildoubl.o): Likewise.
14958         (test-ldouble-finite.o): Likewise.
14960         (libm-tests): Redefine type tests using foreach and the
14961         list of types in types.
14963         (CPPFLAGS-test-ildoubl.c): Rename to
14964         (CPPFLAGS-test-ildouble.c): New variable
14966         * math/test-ildoubl.c: Rename to
14967         * math/test-ildouble.c: New file.
14969 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14971         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
14972         Use fabsl instead of fabs.
14973         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
14974         Likewise.
14975         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
14976         Add long double suffix to constant to ensure proper
14977         promotion to long double.
14979 2016-08-03  Tom Tromey  <tom@tromey.com>
14981         [BZ #20311]
14982         * nptl_db/Makefile (headers): Add proc_service.h.
14983         * nptl_db/proc_service.h: Add include guard.  Use
14984         __BEGIN/__END_DECLS.
14985         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
14986         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
14987         arguments.
14990 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14992         [BZ #17730]
14993         Avoid using memalign for TCB allocations.
14994         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
14995         (_dl_allocate_tls_storage): Use malloc and manual alignment.
14996         Avoid alignment gap in the TLS_DTV_AT_TP case.
14997         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
14998         determine the pointer to free.
14999         * nptl/tst-tls3-malloc.c: New test.
15000         * nptl/Makefile (tests): Add it.
15001         (tst-tls3-malloc): Link with libdl, libpthread.
15002         (LDFLAGS-tst-tls3-malloc): Set.
15003         (tst-tls3-malloc.out): Depend on DSO used in test.
15005 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15007         [BZ #17730]
15008         Avoid using memalign for TLS allocations.
15009         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
15010         is_static member with to_free member.
15011         (union dtv): Use struct dtv_pointer.
15012         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15013         dtv_pointer instead of is_static.
15014         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15015         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15016         instead of val.
15017         (allocate_dtv_entry): New function.
15018         (allocate_and_init): Return struct dtv_pointer.  Call
15019         allocate_dtv_entry instead of __libc_memalign.
15020         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15021         instead of val.
15022         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15023         instead of is_static.  Adjust call to allocate_and_init.
15024         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15025         struct dtv_pointer instead of val.
15027 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15029         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15030         (MALLOC_ALIGN_MASK): Move ...
15031         * malloc/malloc-internal.h: ... to here.
15032         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15034 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15036         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15037         (UDP_ENCAP_GTP1U): Likewise.
15039         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15040         (PF_MAX): Update value.
15041         (AF_QIPCRTR): New macro.
15043 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15045         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15046         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15047         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15048         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15049         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15050         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15051         s_truncf-vis3, s_trunc-vis3.
15052         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15053         (CFLAGS-s_ceil-vis3.c): Likewise.
15054         (CFLAGS-s_floorf-vis3.c): Likewise.
15055         (CFLAGS-s_floor-vis3.c): Likewise.
15056         (CFLAGS-s_truncf-vis3.c): Likewise.
15057         (CFLAGS-s_trunc-vis3.c): Likewise.
15058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15062         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15063         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15064         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15065         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15066         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15067         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15068         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15069         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15071 2016-08-02  David S. Miller  <davem@davemloft.net>
15073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15074         (__nearbyint_vis3): Don't check for sNaN before float register is
15075         loaded with the incoming argument.
15076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15077         (__nearbyintf_vis3): Likewise.
15078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15079         Likewise.
15080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15081         Likewise.
15083         * string/test-strncmp.c (do_test_limit): Make sure the test data
15084         stream is aligned as required for the type "CHAR".
15085         (do_test): Likewise.
15087 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15089         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15090         by beq instructions jumping to the end of the function.
15091         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15092         clobber list. Use "i" constraint instead of "X".
15093         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15094         of "X".
15096 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15098         * bits/libc-header-start.h: New file.
15099         * Makefile (headers): Add bits/libc-header-start.h.
15100         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15101         (__GLIBC_USE): New macro.
15102         * libio/stdio.h: Define
15103         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15104         <bits/libc-header-start.h> instead of including <features.h>.
15105         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15106         (open_memstream): Likewise.
15107         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15108         (__asprintf): Likewise.
15109         (asprintf): Likewise.
15110         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15111         (getdelim): Likewise.
15112         (getline): Likewise.
15113         * string/string.h: Define
15114         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15115         <bits/libc-header-start.h> instead of including <features.h>.
15116         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15117         (strndup): Likewise.
15118         * wcsmbs/wchar.h: Define
15119         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15120         <bits/libc-header-start.h> instead of including <features.h>.
15121         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15122         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15124 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15126         Support linking against compatibility symbols, for use in tests.
15127         * include/libc-symbols.h (symbol_version_reference): New macro.
15128         (symbol_version): Use it.
15129         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15130         (compat_symbol): Use compat_symbol_reference.
15131         (compat_symbol_1, compat_symbol_2): Remove.
15132         (compat_symbol_reference, compat_symbol_reference_1)
15133         (compat_symbol_reference_2): New macro.  Use
15134         symbol_version_reference.
15136 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15138         [BZ #19469]
15139         * malloc/Makefile (CPPFLAGS): Compile tests with
15140         -DTEST_NO_MALLOPT.
15141         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15143 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15145         [BZ #20033]
15146         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15147         finite version.
15148         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15149         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15150         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15151         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15152         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15153         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15154         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15155         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15156         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15157         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15158         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15159         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15160         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15161         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15162         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15163         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15164         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15165         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15166         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15167         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15168         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15169         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15170         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15171         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15172         in zero power.
15174 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15176         [BZ #20370]
15177         * malloc/arena.c (get_free_list): Update comment.  Assert that
15178         arenas on the free list have no attached threads.
15179         (remove_from_free_list): New function.
15180         (reused_arena): Call it.
15182 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15184         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15185         when it is a NaN.
15186         [_IEEE_FP_INEXACT] Remove.
15187         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15188         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15189         when it is a NaN.
15190         [_IEEE_FP_INEXACT] Remove.
15191         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15192         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15193         when it is a NaN.
15194         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15195         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15196         when its absolute value is greater than 0x1.0p52.
15197         [_IEEE_FP_INEXACT] Remove.
15198         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15199         when its absolute value is greater than 0x1.0p23.
15200         [_IEEE_FP_INEXACT] Remove.
15202 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
15204         * version.h (RELEASE): Set to "development"
15205         (VERSION): Set to 2.24.90.
15206         * NEWS: Add 2.25 section.
15208         * version.h (RELEASE): Set to "stable"
15209         (VERSION): Set to 2.24.
15210         * include/features.h (__GLIBC_MINOR__): Set to 24.
15212         * NEWS: Add 2.24 fixed bugs.
15213         * po/libc.pot: Regenerate.
15215 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
15217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15218         [$(subdir) = math] (libm-sysdep_routines): Remove.
15219         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15220         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15221         s_truncf-vis3, s_trunc-vis3.
15222         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15224         file.
15225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15248         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15254         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15255         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15258         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15259         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15260         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15261         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15262         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15263         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15264         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15265         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15266         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15267         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15269 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
15271         [BZ #20384]
15272         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15273         test-double-libmvec-sincos-avx-main.o,
15274         test-double-libmvec-sincos-avx2-main.o,
15275         test-double-libmvec-sincos-main.o,
15276         test-float-libmvec-sincosf-avx-main.o,
15277         test-float-libmvec-sincosf-avx2-main.o and
15278         test-float-libmvec-sincosf-main.o.
15279         test-float-libmvec-sincosf-avx512-main.o.
15280         ($(objpfx)test-double-libmvec-sincos): Also link with
15281         $(objpfx)test-double-libmvec-sincos-main.o.
15282         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15283         $(objpfx)test-double-libmvec-sincos-avx-main.o.
15284         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15285         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15286         ($(objpfx)test-float-libmvec-sincosf): Also link with
15287         $(objpfx)test-float-libmvec-sincosf-main.o.
15288         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15289         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15290         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15291         test-double-libmvec-sincos-avx512-main.o and
15292         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
15293         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
15294         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
15295         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
15296         (CFLAGS-test-double-libmvec-sincos.c): Removed.
15297         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
15298         (CFLAGS-test-double-libmvec-sincos-main.c): New.
15299         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
15300         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
15301         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
15302         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
15303         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
15304         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
15305         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
15306         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
15307         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
15308         -DREQUIRE_AVX2.
15309         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
15310         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
15311         -DREQUIRE_AVX512F.
15312         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
15313         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
15314         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15315         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
15316         file.
15317         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
15318         Likewise.
15319         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
15320         Likewise.
15321         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
15322         Likewise.
15323         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
15324         Likewise.
15325         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
15326         Likewise.
15327         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
15328         Likewise.
15329         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
15330         Likewise.
15332 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
15334         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
15336 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
15338         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
15339         and typo in a comment about AT_HWCAP entry.
15341 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15343         * sysdeps/aarch64/libm-test-ulps: Updated.
15345 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15347         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
15348         of r13 as it is not restored in mvcle case.
15350 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
15352         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
15353         Rename "ret" to "__ret".
15354         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
15355         inline_syscall5, inline_syscall6): Likewise.
15357 2016-07-19   Will Newton  <will.newton@gmail.com>
15359         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
15360         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
15361         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
15362         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
15363         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
15365 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
15367         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
15368         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
15369         -mfpmath=387 with $(rtld-CFLAGS).
15370         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
15371         $(rtld-CFLAGS).
15373 2016-07-18   Ross Burton  <ross.burton@intel.com>
15374              Khem Raj  <raj.khem@gmail.com>
15376         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
15377         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
15378         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
15379         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
15380         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
15381         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
15382         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
15383         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
15384         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
15385         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
15386         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
15387         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
15388         R_METAG_TLS_DTPOFF): New.
15390 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15391             Matt Clay  <mclay@lycos.com>
15393         [BZ #20357]
15394         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
15395         to call __mpsin/__mpcos and to negate values.
15396         * math/auto-libm-test-in: Add test.
15397         * math/auto-libm-test-out: Regenerate.
15399 2016-07-18  Zack Weinberg  <zackw@panix.com>
15401         * grp/Makefile: Don't install the internal header grp-merge.h.
15403 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15405         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15407 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15409         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
15411 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15413         [BZ #15368]
15414         * sysdeps/unix/sysv/linux/nptl-signals.h
15415         (__nptl_clear_internal_signals): New function.
15416         (__libc_signal_block_all): Likewise.
15417         (__libc_signal_block_app): Likewise.
15418         (__libc_signal_restore_set): Likewise.
15419         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
15420         implementation.
15421         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
15422         the cached pid/tid value in pthread structure.
15424 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
15426         [BZ #20347]
15427         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15429 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15431         [BZ #20348]
15432         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
15433         preadv64, pwrite64 and pwritev64.
15435 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15437         [BZ #20350]
15438         * posix/tst-preadwrite.c: Renamed to ...
15439         * posix/tst-preadwrite-common.c: This.
15440         (PREAD): Removed.
15441         (PWRITE): Likewise.
15442         (STRINGIFY): Likewise.
15443         (STRINGIFY2): Likewise.
15444         (do_prepare): Make it static and remove function arguments.
15445         (do_test): Likewise.
15446         (PREPARE): Updated.
15447         (TEST_FUNCTION): New.
15448         (name): Make it static.
15449         (fd): Likewise.
15450         (do_prepare): Use create_temp_file.
15451         (do_test): Renamed to ...
15452         (do_test_with_offset): This.  Make it static and accept offset.
15453         Properly check return value of PWRITE and PREAD.  Return bytes
15454         read.  Don't close fd nor unlink name.
15455         * posix/tst-preadwrite.c: Rewrite.
15456         * posix/tst-preadwrite64.c: Likewise.
15458 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15460         [BZ #20309]
15461         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
15462         -mtls-dialect=gnu2 works.
15463         * configure: Regenerated.
15464         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
15465         (tests): Add tst-gnu2-tls1.
15466         (modules-names): Add tst-gnu2-tls1mod.
15467         ($(objpfx)tst-gnu2-tls1): New.
15468         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
15469         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
15470         * elf/tst-gnu2-tls1.c: New file.
15471         * elf/tst-gnu2-tls1mod.c: Likewise.
15472         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
15473         bytes for push in the PLT entry to align the stack.
15475 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15477         [BZ #20349]
15478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
15480 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15482         [BZ #18707]
15483         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
15484         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
15486 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15488         * sysdeps/unix/sysv/linux/sysdep.h
15489         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
15490         guards.
15491         * misc/tst-preadvwritev-common.c: New file.
15492         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
15493         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
15494         a check for files larger than 2GB.
15496         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15497         (__ASSUME_OFF_DIFF_OFF64): Remove define.
15498         * sysdeps/unix/sysv/linux/pread.c
15499         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
15500         __OFF_T_MATCHES_OFF64_T.
15501         * sysdeps/unix/sysv/linux/pread64.c
15502         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
15503         * sysdeps/unix/sysv/linux/preadv.c
15504         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
15505         * sysdeps/unix/sysv/linux/preadv64.c
15506         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
15507         * sysdeps/unix/sysv/linux/pwrite.c
15508         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
15509         * sysdeps/unix/sysv/linux/pwrite64.c
15510         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
15511         * sysdeps/unix/sysv/linux/pwritev.c
15512         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
15513         * sysdeps/unix/sysv/linux/pwritev64.c
15514         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
15516 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
15518         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15519         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
15521 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15523         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
15525 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15527         [BZ #20240]
15528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15529         (CFLAGS-s_modf-ppc32.c): New variable.
15530         (CFLAGS-s_modff-ppc32.c): Likewise.
15531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15532         (CFLAGS-s_modf-ppc64.c): Likewise.
15533         (CFLAGS-s_modff-ppc64.c): Likewise.
15535 2016-07-07  Andreas Schwab  <schwab@suse.de>
15537         [BZ #20263]
15538         * nptl/tst-robust10.c: New test.
15539         * nptl/Makefile (tests): Add tst-robust10.
15541 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
15543         [BZ #20263]
15544         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
15546 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15548         * sysdeps/s390/linkmap.h (struct link_map_machine):
15549         Remove member gotplt and add member jmprel.
15550         * sysdeps/s390/s390-32/dl-machine.h
15551         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
15552         instead of gotplt with &got[3].
15553         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
15554         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15556 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
15558         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
15560 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15562         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
15563         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
15564         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15565         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
15566         * libio/vtables.c (_IO_vtable_check)
15567         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15568         * libio/libioP.h (IO_set_accept_foreign_vtables)
15569         [!PTR_MANGLE]: Do not call PTR_MANGLE.
15571 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
15573         [BZ #20314]
15574         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
15575         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
15576         $(common-objpfx)cmath.
15577         ($(common-objpfx)cstdlib): New target.
15578         ($(common-objpfx)cmath): Likewise.
15580 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
15582         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
15584 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15586         [BZ #20327]
15587         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
15588         are not part of the string.
15590 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15592         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
15593         * nptl/tst-cancel4-common.h (fifoname): New variable.
15594         (fifofd): Likewise.
15595         (cl_fifo): New function.
15596         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
15597         SIGINT.
15598         (tf_open): Add early cancel test.
15600 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15602         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15604 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
15606         * sysdeps/generic/ldsodefs.h
15607         (dl_symbol_visibility_binds_local_p): New inline function.
15608         * elf/dl-addr.c (determine_info): Treat hidden and internal
15609         symbols as local.
15610         * elf/dl-lookup.c (do_lookup_x): Likewise.
15611         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
15613 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
15615         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
15616         invalid exception for a sNaN input.
15617         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15618         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15619         (__nearbyint_vis3): Likewise
15620         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15621         (__nearbyintf_vis3): Likewise
15622         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15623         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15624         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15625         Likewise.
15626         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15627         Likewise.
15629 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
15631         [BZ #20139]
15632         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15633         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15634         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15635         2.24 or above.
15636         (HAVE_AVX512_ASM_SUPPORT): Removed.
15637         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15638         * sysdeps/x86_64/configure: Regenerated.
15639         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15640         check unconditional.
15641         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15642         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15643         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15644         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15645         Likewise.
15646         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15647         Likewise.
15648         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15649         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15650         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15651         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15652         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15653         Likewise.
15654         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15655         Likewise.
15656         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15657         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15659         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15660         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15661         Likewise.
15662         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15663         Likewise.
15664         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15665         Likewise.
15666         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15667         Likewise.
15668         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15669         Likewise.
15670         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15671         Likewise.
15672         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15673         Likewise.
15674         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15675         Likewise.
15676         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15677         Likewise.
15678         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15679         Likewise.
15680         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15681         Likewise.
15683 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
15685         [BZ #20024]
15686         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
15687         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
15688         of this implementation of vector function.
15689         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15690         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15691         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15692         Likewise.
15693         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15694         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15695         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
15696         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
15697         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
15698         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
15699         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15700         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
15701         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
15702         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
15703         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
15704         for testing vector sincos with fixed ABI.
15705         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15706         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15707         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15708         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15709         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15710         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15711         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15712         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
15713         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
15714         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
15715         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
15716         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
15717         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
15718         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
15719         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15720         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15722 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15724         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
15726 2016-06-30  Anton Blanchard  <anton@samba.org>
15728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15729         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
15730         s_sinf-ppc64.
15731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
15732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
15733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
15734         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15736 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15740         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
15741         e_expf-ppc64.
15742         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
15743         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
15744         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
15745         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
15747 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
15749         [BZ #20277]
15750         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
15751         when SHARED is defined.
15753 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
15755         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
15756         (index_arch_Prefer_ERMS): Likewise.
15757         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
15758         __memcpy_erms for Prefer_ERMS.
15759         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15760         (__memmove_erms): Enabled for libc.a.
15761         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
15762         __memmove_erms or Prefer_ERMS.
15763         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
15764         __mempcpy_erms for Prefer_ERMS.
15765         * sysdeps/x86_64/multiarch/memset.S (memset): Return
15766         __memset_erms for Prefer_ERMS.
15768 2016-06-30  Andreas Schwab  <schwab@suse.de>
15770         [BZ #20262]
15771         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
15772         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
15773         of memory.
15775 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
15777         [BZ #18645]
15778         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
15779         (test-extras): Add tst-cleanupx4aux.
15780         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
15781         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
15782         tst-cleanupx4aux.o.
15783         * nptl/tst-cleanupx4aux.c: New file.
15785 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15787         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15789 2016-06-29  Andreas Schwab  <schwab@suse.de>
15791         [BZ #20260]
15792         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
15793         address before the beginning of the string as an integer to avoid
15794         array-bounds warning.
15796 2016-06-28  Richard Henderson  <rth@redhat.com>
15798         * elf/elf.h (EM_BPF): New.
15799         (EM_NUM): Update.
15800         (R_BPF_NONE, R_BPF_MAP_FD): New.
15802         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
15803         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
15804         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
15805         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
15806         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
15807         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
15808         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
15809         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
15810         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
15811         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
15812         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
15813         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
15814         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
15815         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
15816         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
15817         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
15818         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
15819         (EM_NUM): Update.
15821 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
15823         [BZ #18960]
15824         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
15825         Set _nl_current_LC_CATEGORY_used to two instead of one.
15827 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
15829         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
15830         (do_test): ... this.
15831         (TEST_FUNCTION): New macro.
15832          Include test-skeleton.c.
15833         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
15834         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
15836 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
15838         [BZ #15479]
15839         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
15840         floating-point environment rather than just control word.
15841         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15842         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
15843         floating-point environment, with "invalid" exceptions merged in,
15844         rather than just control word.
15845         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
15846         * math/libm-test.inc (trunc_test_data): Do not allow spurious
15847         "inexact" exceptions.
15849         [BZ #15479]
15850         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
15851         floating-point environment rather than just control word.
15852         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15853         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
15854         floating-point environment, with "invalid" exceptions merged in,
15855         rather than just control word.
15856         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
15857         * math/libm-test.inc (floor_test_data): Do not allow spurious
15858         "inexact" exceptions.
15860         [BZ #15479]
15861         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
15862         floating-point environment rather than just control word.
15863         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15864         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
15865         floating-point environment, with "invalid" exceptions merged in,
15866         rather than just control word.
15867         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
15868         * math/libm-test.inc (ceil_test_data): Do not allow spurious
15869         "inexact" exceptions.
15871 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
15873         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
15874         __libc_vfork.
15875         (__vfork) [IS_IN (libc)]: Remove alias.
15876         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
15877         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15878         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15880 2016-06-24  Torvald Riegel  <triegel@redhat.com>
15882         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
15883         of atomic_compare_and_exchange_bool_rel.
15884         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15885         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
15886         catomic_compare_and_exchange_bool_rel): Remove.
15887         * sysdeps/aarch64/atomic-machine.h
15888         (atomic_compare_and_exchange_bool_rel): Likewise.
15889         * sysdeps/alpha/atomic-machine.h
15890         (atomic_compare_and_exchange_bool_rel): Likewise.
15891         * sysdeps/arm/atomic-machine.h
15892         (atomic_compare_and_exchange_bool_rel): Likewise.
15893         * sysdeps/mips/atomic-machine.h
15894         (atomic_compare_and_exchange_bool_rel): Likewise.
15895         * sysdeps/microblaze/atomic-machine.h
15896         ( __arch_compare_and_exchange_bool_8_rel,
15897         __arch_compare_and_exchange_bool_16_rel): Likewise.
15898         * sysdeps/powerpc/atomic-machine.h
15899         ( __arch_compare_and_exchange_bool_8_rel,
15900         __arch_compare_and_exchange_bool_16_rel): Likewise.
15901         * sysdeps/powerpc/powerpc32/atomic-machine.h
15902         ( __arch_compare_and_exchange_bool_32_rel,
15903         __arch_compare_and_exchange_bool_64_rel): Likewise.
15904         * sysdeps/powerpc/powerpc64/atomic-machine.h
15905         ( __arch_compare_and_exchange_bool_32_rel,
15906         __arch_compare_and_exchange_bool_64_rel): Likewise.
15907         * sysdeps/tile/atomic-machine.h
15908         (atomic_compare_and_exchange_bool_rel): Likewise.
15910 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
15912         [BZ #20296]
15913         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
15914         when either argument is a NaN.
15915         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15916         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
15918         * math/libm-test.inc (snan_value_ld): New macro.
15919         (isgreater_test_data): Add sNaN tests.
15920         (isgreaterequal_test_data): Likewise.
15921         (isless_test_data): Likewise.
15922         (islessequal_test_data): Likewise.
15923         (islessgreater_test_data): Likewise.
15924         (isunordered_test_data): Likewise.
15925         (nextafter_test_data): Likewise.
15926         (nexttoward_test_data): Likewise.
15927         (remainder_test_data): Likewise.
15928         (remquo_test_data): Likewise.
15929         (significand_test_data): Likewise.
15930         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
15932 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15934         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
15935         environment macros are defined.
15936         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
15938 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15940         [BZ #20191]
15941         Implement vtable verification in libio.
15942         * Makerules (shlib.lds): Place __libc_IO_vtables section.
15943         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
15944         * debug/vdprintf_chk.c (__vdprintf_chk): Call
15945         _IO_new_file_init_internal instead of _IO_file_init.
15946         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
15947         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
15948         * libio/Makefile (routines): Add vtables.
15949         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
15950         (_IO_init): Remove, not for internal use.
15951         (_IO_init_internal): Declare, internal replacement for _IO_init.
15952         (_IO_file_init): Remove, not for internal use.
15953         (_IO_new_file_init): Remove, not for internal use.
15954         (_IO_new_file_init_internal): Declare, internal replacement for
15955         _IO_new_file_init.
15956         (_IO_old_file_init): Remove, not for internal use.
15957         (_IO_old_file_init_internal): Declare, internal replacement for
15958         _IO_old_file_init.
15959         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
15960         internal use.
15961         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
15962         Declare.
15963         (libio_vtable): New macro.
15964         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
15965         functions.
15966         * libio/fileops.c (_IO_new_file_init_internal): Rename from
15967         _IO_new_file_init.
15968         (_IO_new_file_init): New externally visible wrapper which disables
15969         vtable verification.
15970         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
15971         Define as vtables.
15972         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
15973         (_IO_init): New externally visible wrapper which disables
15974         vtable verification.
15975         * libio/iofdopen.c (_IO_new_fdopen): Call
15976         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
15977         comment.
15978         * libio/iofopen.c (__fopen_internal): Call
15979         _IO_new_file_init_internal instead of _IO_file_init.
15980         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
15981         Define as vtables.
15982         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
15983         _IO_new_file_init_internal instead of _IO_file_init.
15984         * libio/iopopen.c (_IO_new_popen): Likewise.
15985         (_IO_proc_jumps): Define as vtable.
15986         * libio/iovdprintf.c (_IO_vdprintf): Call
15987         _IO_new_file_init_internal instead of _IO_file_init.
15988         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
15989         (__open_memstream): Call _IO_init_internal instead of _IO_init.
15990         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
15991         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
15992         _IO_old_file_init.
15993         (_IO_old_file_init): New externally visible wrapper which disables
15994         vtable verification.
15995         (_IO_old_file_jumps): Define as vtable.
15996         * libio/oldiofdopen.c (_IO_old_fdopen): Call
15997         _IO_old_file_init_internal instead of _IO_old_file_init.
15998         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15999         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16000         (_IO_old_proc_jumps): Define as vtable.
16001         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16002         Define as vtables.
16003         * libio/vtables.c: New file.
16004         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16005         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16006         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16007         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16008         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16009         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16010         instead of _IO_init.
16012 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16014         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16016 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16018         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16019         potentially unused.
16021 2016-06-22  Florian Weimer  <fweimer@redhat.com>
16023         * test-skeleton.c (write_message): New function.
16024         * malloc/tst-mallocfork2.c (write_message): Remove.
16025         * debug/tst-longjmp_chk2.c (write_indented): New function.
16026         (write_message): Remove.
16027         (stackoverflow_handler): Call write_indented.
16029 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
16031         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16032         "inexact" exceptions after fnstenv.
16033         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16034         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16035         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16037 2015-06-22  Zack Weinberg  <zackw@panix.com>
16039         * sysdeps/generic/bits/hwcap.h: Moved to ...
16040         * bits/hwcap.h: Here.
16042 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
16044         * sysdeps/aarch64/memcpy.S (memcpy):
16045         Further tuning for performance.
16047 2016-06-21  Florian Weimer  <fweimer@redhat.com>
16049         [BZ #20284]
16050         * malloc/arena.c (reused_arena): Do not return NULL if we start
16051         out with a non-corrupted arena.
16053 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16055         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16056         * misc/tst-preadvwritev.c: New file.
16057         * misc/tst-preadvwritev64.c: Likewise.
16058         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16059         usage.
16060         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16061         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16062         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16063         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16065 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16067         [BZ #19654]
16068         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16069         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16070         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16071         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16072         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16073         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16074         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16075         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16076         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16077         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16078         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16079         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16080         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16081         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16082         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16083         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16084         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16085         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16086         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16087         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16088         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16089         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16090         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16091         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16092         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16093         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16095 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16097         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16098         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16100 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16102         * sysdeps/aarch64/memcpy.S (memcpy):
16103         Rewrite of optimized memcpy and memmove.
16104         * sysdeps/aarch64/memmove.S (memmove): Remove
16105         memmove code (merged into memcpy.S).
16107 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16109         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16110         * sysdeps/generic/dl-dtv.h: New file.
16111         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16112         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16113         (dtv_t): Remove.
16114         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16115         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16116         (dtv_t): Remove.
16117         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16118         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16119         (dtv_t): Remove.
16120         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16121         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16122         (dtv_t): Remove.
16123         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16124         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16125         (dtv_t): Remove.
16126         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16127         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16128         (dtv_t): Remove.
16129         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16130         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16131         (dtv_t): Remove.
16132         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16133         (dtv_t): Remove.
16134         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16135         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16136         (dtv_t): Remove.
16137         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16138         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16139         (dtv_t): Remove.
16140         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16141         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16142         (dtv_t): Remove.
16143         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16144         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16145         (dtv_t): Remove.
16146         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16147         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16148         (dtv_t): Remove.
16149         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16150         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16151         (dtv_t): Remove.
16152         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16153         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16154         (dtv_t): Remove.
16155         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16156         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16157         (dtv_t): Remove.
16159 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16161         Revert symbol poisoning of  __malloc_initialize_hook.
16162         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16163         poisoning.
16164         * malloc/Makefile: Remove un-poisoning.
16165         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16166         instead of old__malloc_initialize_hook.
16167         * malloc/malloc-hooks.h: Likewise.
16168         * malloc/malloc.c: Likewise.
16169         * malloc/mcheck-init.c: Likewise.
16171 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16173         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16175 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16177         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16178         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16179         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16180         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16182 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16184         * NEWS: Mention addition of nextup and nextdown.
16185         * manual/arith.texi: Document nextup and nextdown.
16186         * manual/libm-err-tab.pl: Add nextup and nextdown.
16187         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16188         * math/Versions (libm): Add GLIBC_2.24.
16189         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16190         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16191         Add new test.
16192         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16193         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16194         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16195         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16196         (nextup_test_data): Likewise.
16197         (nextdown_test_data): Likewise.
16198         * math/s_nextdown.c: New file.
16199         * math/s_nextdownf.c: Likewise.
16200         * math/s_nextdownl.c: Likewise.
16201         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16202         F(nextup): New function.
16203         F(nextdown): Likewise.
16204         * math/tgmath.h: Add nextup and nextdown.
16205         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16206         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16207         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16208         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16209         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16210         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16211         Add nextup and nextdown.
16212         (CFLAGS-nldbl-nextup.c): New variable.
16213         (CFLAGS-nldbl-nextdown.c): Likewise.
16214         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16215         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16216         * sysdeps/nacl/libm.abilist: Update.
16217         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16218         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16219         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16220         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16221         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16222         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16223         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16224         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16225         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16226         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16227         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16228         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16231         Likewise.
16232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16234         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16235         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16236         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16237         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16238         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16241         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16242         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16243         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16244         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16246 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16248         * manual/pattern.texi: Fix typos & grammar errors.
16250 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16252         * manual/search.texi: Fix typos & grammar errors.
16254 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16256         * manual/message.texi: Fix typos & grammar errors.
16258 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
16260         * manual/contrib.texi: Fix spelling typos.
16261         * manual/crypt.texi: Likewise.
16262         * manual/filesys.texi: Likewise.
16263         * manual/locale.texi: Likewise.
16264         * manual/message.texi: Likewise.
16265         * manual/nss.texi: Likewise.
16266         * manual/string.texi: Likewise.
16268 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16270         * manual/locale.texi: Fix typos & grammar errors.
16272 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16274         * manual/charset.texi: Fix typos & grammar errors.
16276 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16278         * manual/string.texi: Fix typos.
16280 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16282         * manual/ctype.texi: Fix typos.
16284 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16286         * manual/memory.texi: Fix various typos & grammar errors.
16288 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
16290         [BZ #20255]
16291         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
16292         * math/libm-test.inc (fdim_test_data): Add another test.
16294         [BZ #6796]
16295         [BZ #20255]
16296         [BZ #20256]
16297         * math/s_fdim.c: Include <math_private.h>.
16298         (__fdim): Use math_narrow_eval on result.
16299         * math/s_fdimf.c: Include <math_private.h>.
16300         (__fdimf): Use math_narrow_eval on result.
16301         * sysdeps/i386/fpu/s_fdim.S: Remove file.
16302         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16303         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
16304         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
16305         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
16306         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
16307         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
16308         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
16309         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
16310         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
16311         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
16312         * math/libm-test.inc (fdim_test_data): Expect errno setting on
16313         overflow.  Add sNaN tests.
16315         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
16316         fpclassify.
16317         * math/s_fdimf.c (__fdimf): Likewise.
16318         * math/s_fdiml.c (__fdiml): Likewise.
16320 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16322         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16323         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
16324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16325         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16326         ifunc'ed strcasecmp/strncasecmp.
16327         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
16328         [EALIGN]: Removed.
16329         [END]: Likewise.
16330         [__strcasecmp]: Define instead of the above to control symbol name.
16331         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
16332         for __strcasecmp_power8.
16333         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
16334         for __strncasecmp_power8.
16335         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
16336         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
16337         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16338         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
16339         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
16340         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
16342 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
16344         [BZ #20252]
16345         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
16346         arguments when second argument is a NaN.
16347         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
16348         qNaN tests.
16350         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
16351         (conj_test_data): Likewise.
16352         (copysign_test_data): Likewise.
16353         (creal_test_data): Likewise.
16354         (fma_test_data): Likewise.
16355         (fmod_test_data): Likewise.
16357         [BZ #20250]
16358         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
16359         itself.
16360         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
16361         zero input to itself.
16362         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
16363         Likewise.
16364         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
16365         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16366         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16367         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16368         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
16370 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16372         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
16373         * nptl/tst-cancel4-common.c: New file.
16374         * nptl/tst-cancel4-common.h: Likewise.
16375         * nptl/tst-cancel4.c: Move common definitions to
16376         tst-cancel4-common.{c,h} file.
16377         * nptl/tst-cancel4_1.c: New test.
16378         * nptl/tst-cancel4_2.c: New test.
16380 2016-06-13  Florian Weimer  <fweimer@redhat.com>
16382         [BZ #20248]
16383         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
16384         (write_message): New function.
16385         (stackoverflow_handler): Call it instead of printf, to avoid
16386         excessive stack usage by printf.
16387         (do_test): Restore SIGSEGV, SIGBUS default handlers.
16389 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16391         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
16392         (prio_inherit_missing): Remove define.
16393         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16394         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16395         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
16396         Likewise.
16397         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16398         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16399         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16400         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16401         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16402         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16404 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16406         [BZ #19670]
16407         [BZ #19672]
16409         * io/test-lfs.c (do_prepare): Use xmalloc.
16410         * io/tst-fcntl.c (do_prepare): Likewise.
16411         * libio/tst-fopenloc.c (do_bz17916): Likewise.
16412         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
16413         * login/tst-utmp.c (do_prepare): Likewise.
16414         * posix/tst-exec.c (do_prepare): Likewise.
16415         * posix/tst-pathconf.c (prepare): Likewise.
16416         * posix/tst-spawn.c (do_prepare): Likewise.
16417         * posix/tst-truncate.c (do_prepare): Likewise.
16418         * rt/tst-aio.c (do_prepare): Likewise.
16419         * rt/tst-aio64.c (do_prepare): Likewise.
16421 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16423         [BZ #20237]
16424         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
16425         (get*ent): Set entidx to NULL during initialization.  If entidx is
16426         NULL, start iteration from the beginning.
16428 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16430         * malloc/malloc.c (musable): Return correct size for dumped fake
16431         mmapped chunk.
16433 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16435         [BZ #20222]
16436         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
16437         (_IO_cookie_write): Likewise.
16438         (_IO_cookie_seek): Likewise.
16439         (_IO_cookie_close): Likewise.
16440         (_IO_old_cookie_seek): Likewise.
16441         (set_callbacks): New function.
16442         (_IO_cookie_init): Call set_callbacks to copy callbacks.
16444 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
16446         * locale/programs/localedef.c (oldstyle_tables): Remove.
16447         * locale/programs/localedef.h (oldstyle_tables): Likewise.
16449 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
16451         [BZ #20240]
16452         * math/Makefile (CFLAGS-s_modf.c): New variable.
16453         (CFLAGS-s_modff.c): Likewise.
16454         (CFLAGS-s_modfl.c): Likewise.
16455         * math/libm-test.inc (modf_test_data): Add sNaN tests.
16457 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
16459         [BZ #20215]
16460         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
16461         [!__GNUC_PREREQ (3,2)]: Likewise.
16463 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
16465         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
16466         (msghdr.msg_controllen): Likewise.
16467         (cmsghdr.cmsg_len): Likewise.
16468         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
16469         ptw-oldsendmsg.
16470         (CFLAGS-oldrecvmsg.c): Remove rule.
16471         (CFLAGS-oldsendmsg.c): Likewise.
16472         (CFLAGS-recvmsg.c): Add rule.
16473         (CFLAGS-sendmsg.c): Likewise.
16474         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
16475         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
16476         (CFLAGS-recvmsg.c): Remove rule.
16477         (CFLAGS-sendmsg.c): Likewise.
16478         (CFLAGS-oldrecvmsg.c): Likewise.
16479         (CFLAGS-oldsendmsg.c): Likewise.
16480         (CFLAGS-recvmmsg.c): Likewise.
16481         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
16482         to kernel defined interfaces.
16483         (msghdr.msg_controllen): Likewise.
16484         (cmsghdr.cmsg_len): Likewise.
16485         (msghdr.__glibc_reserved1): Remove member.
16486         (msghdr.__glibc_reserved2): Likewise.
16487         (cmsghdr.__glibc_reserved1): Likewise.
16488         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
16489         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
16490         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16491         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16492         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
16493         version.
16494         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16495         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
16496         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16497         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
16498         Remove recvmsg and sendmsg.
16499         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
16500         Likewise.
16501         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16502         Likewise.
16503         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16504         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16505         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16506         Likewise.
16507         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16508         Likewise.
16509         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
16510         [libc] (GLIBC_2.24): Likewise.
16511         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16512         Likewise.
16513         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16514         Likewise.
16515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16516         [libc] (GLIBC_2.24): Likewise.
16517         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16518         Likewise.
16519         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16520         Likewise.
16521         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16522         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16523         Likewise.
16524         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16525         Likewise.
16526         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16527         Likewise.
16528         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
16529         Likewise.
16530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
16531         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
16532         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
16533         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
16534         version for {recv,send,recm,sendm}msg.
16535         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16536         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16537         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16538         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16539         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16540         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16541         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16542         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16543         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16544         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16545         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16546         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16548         Likewise.
16549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16550         Likewise.
16551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16553         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16554         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16555         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16556         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16557         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16558         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16561         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16562         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16563         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16565 2016-06-10  Florian Weimer  <fweimer@redhat.com>
16567         [BZ #19564]
16568         Remove __malloc_initialize_hook from the API.
16569         * malloc/malloc.h (__malloc_initialize_hook): Remove.
16570         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
16571         #pragma GCC poison.
16572         * malloc/malloc-hooks.h: New file.
16573         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
16574         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
16575         (old__malloc_initialize_hook): Rename from
16576         __malloc_initialize_hook to evade poisoning.  Turn into compat
16577         symbol.
16578         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
16579         __malloc_initialize_hook.
16580         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
16581         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
16582         * manual/memory.texi (Hooks for Malloc): Remove
16583         __malloc_initialize_hook.  Adjust hook example.
16585 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
16587         [BZ #20235]
16588         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
16589         itself.
16590         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16591         * math/libm-test.inc (log2_test_data): Add sNaN tests.
16593         [BZ #20234]
16594         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
16595         infinity or NaN input to itself.
16597         [BZ #20233]
16598         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
16599         to itself.
16601         [BZ #20232]
16602         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
16603         itself.
16605 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16607         * sysdeps/x86_64/start.S (_start): Always indirect branch to
16608         __libc_start_main via GOT.
16610 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16612         * sysdeps/x86_64/memcopy.h: New file.
16613         * sysdeps/x86_64/wordcopy.c: Likewise.
16615 2016-06-09  Florian Weimer  <fweimer@redhat.com>
16617         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
16618         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
16619         <cstdlib>.
16620         (optimization_barrier): New.
16621         (do_test): Use it.  Call quick_exit in the global namespace.
16622         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16623         instead of <cstdlib>, <thread>.
16624         (optimization_barrier): New.
16625         (non_main_thread): Adjust declaration.  Call optimization_barrier.
16626         Call quick_exit in the global namespace.
16627         (do_test): Call optimization_barrier.  Use pthread_create,
16628         pthread_join instead of std::thread.
16630 2016-06-09  Andreas Schwab  <schwab@suse.de>
16632         [BZ #19755]
16633         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16634         new entries in auto-propagate mode.
16635         * nscd/grpcache.c (cache_addgr): Likewise.
16637 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16639         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16640         New functions.
16641         (add_temp_file): Use them.
16643 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16645         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16647 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16649         [BZ #20229]
16650         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16651         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16652         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16654         [BZ #20228]
16655         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16656         itself.
16657         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16658         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16660         [BZ #20227]
16661         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16662         itself.
16663         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16664         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16665         * math/libm-test.inc (log_test_data): Add sNaN tests.
16667         [BZ #20226]
16668         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16669         itself.
16670         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16671         * math/libm-test.inc (exp_test_data): Add sNaN tests.
16672         (exp10_test_data): Likewise.
16673         (expm1_test_data): Likewise.
16675         [BZ #20225]
16676         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16677         itself.
16678         * math/s_ldexpf.c (__ldexpf): Likewise.
16679         * math/s_ldexpl.c (__ldexpl): Likewise.
16680         * math/w_scalbln.c (__w_scalbln): Likewise.
16681         * math/w_scalblnf.c (__w_scalblnf): Likewise.
16682         * math/w_scalblnl.c (__w_scalblnl): Likewise.
16683         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
16684         (scalbln_test_data): Likewise.
16686         [BZ #20224]
16687         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
16688         argument to itself.
16689         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
16691 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16693         [BZ #19776]
16694         * sysdeps/x86_64/memcpy.S: Make it dummy.
16695         * sysdeps/x86_64/mempcpy.S: Likewise.
16696         * sysdeps/x86_64/memmove.S: New file.
16697         * sysdeps/x86_64/memmove_chk.S: Likewise.
16698         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16699         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16700         * sysdeps/x86_64/memmove.c: Removed.
16701         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16702         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16703         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
16704         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16705         Likewise.
16706         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16707         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16708         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16709         memcpy-sse2-unaligned, memmove-avx-unaligned,
16710         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
16711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16712         (__libc_ifunc_impl_list): Replace
16713         __memmove_chk_avx512_unaligned_2 with
16714         __memmove_chk_avx512_unaligned.  Remove
16715         __memmove_chk_avx_unaligned_2.  Replace
16716         __memmove_chk_sse2_unaligned_2 with
16717         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
16718         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
16719         with __memmove_avx512_unaligned.  Replace
16720         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
16721         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
16722         with __memcpy_chk_avx512_unaligned.  Remove
16723         __memcpy_chk_avx_unaligned_2.  Replace
16724         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
16725         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
16726         Replace __memcpy_avx512_unaligned_2 with
16727         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
16728         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
16729         with __mempcpy_chk_avx512_unaligned.  Remove
16730         __mempcpy_chk_avx_unaligned_2.  Replace
16731         __mempcpy_chk_sse2_unaligned_2 with
16732         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
16733         Replace __mempcpy_avx512_unaligned_2 with
16734         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
16735         Replace __mempcpy_sse2_unaligned_2 with
16736         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
16737         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
16738         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
16739         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
16740         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
16741         (ENTRY): Removed.
16742         (END): Likewise.
16743         (ENTRY_CHK): Likewise.
16744         (libc_hidden_builtin_def): Likewise.
16745         Don't include ../memcpy.S.
16746         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
16747         __memcpy_chk_avx512_unaligned_erms and
16748         __memcpy_chk_avx512_unaligned.  Use
16749         __memcpy_chk_avx_unaligned_erms and
16750         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16751         Default to __memcpy_chk_sse2_unaligned.
16752         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16753         Change function suffix from unaligned_2 to unaligned.
16754         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
16755         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
16756         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
16757         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
16758         (ENTRY): Removed.
16759         (END): Likewise.
16760         (ENTRY_CHK): Likewise.
16761         (libc_hidden_builtin_def): Likewise.
16762         Don't include ../mempcpy.S.
16763         (mempcpy): New.  Add a weak alias.
16764         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
16765         __mempcpy_chk_avx512_unaligned_erms and
16766         __mempcpy_chk_avx512_unaligned.  Use
16767         __mempcpy_chk_avx_unaligned_erms and
16768         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16769         Default to __mempcpy_chk_sse2_unaligned.
16771 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16773         [BZ #19881]
16774         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
16775         into ...
16776         * sysdeps/x86_64/memset.S: This.
16777         (__bzero): Removed.
16778         (__memset_tail): Likewise.
16779         (__memset_chk): Likewise.
16780         (memset): Likewise.
16781         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
16782         defined.
16783         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
16784         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
16785         (__memset_zero_constant_len_parameter): Check SHARED instead of
16786         PIC.
16787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16788         memset-avx2 and memset-sse2-unaligned-erms.
16789         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16790         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
16791         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
16792         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16793         (__bzero): Enabled.
16794         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
16795         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
16796         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
16797         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
16798         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16799         (memset): Removed.
16800         (__memset_chk): Likewise.
16801         (MEMSET_SYMBOL): New.
16802         (libc_hidden_builtin_def): Replace __memset_sse2 with
16803         __memset_sse2_unaligned.
16804         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
16805         __memset_chk_sse2 and __memset_chk_avx2 with
16806         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
16807         Use __memset_chk_sse2_unaligned_erms or
16808         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
16809         __memset_chk_avx512_unaligned_erms and
16810         __memset_chk_avx512_unaligned.
16812 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16814         * math/gen-auto-libm-test.c (fp_format_desc): remove
16815         suffix member.
16816         (output_generic_value): Remove usage of suffix member,
16817         and the resulting unuse of the fp_format argument.
16818         (output_for_one_input_case): Remove unused fp_format
16819         parameter.
16821         * math/auto-libm-test-out: Regenerate.
16823         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
16824         usage with TEST_COND_ibm128.
16825         (TEST_COND_flt_32): Remove.
16826         (TEST_COND_dbl_64): Remove.
16827         (TEST_COND_ldbl_96_intel): Remove.
16828         (TEST_COND_ldbl_96_m68k): Remove.
16829         (TEST_COND_ldbl_128): Remove.
16831 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16833         * auto-libm-test-in:
16834         Replace flt-32 usage with binary32.
16835         Replace dbl-64 usage with binary64.
16836         Replace ldbl-intel-96 usage with intel96.
16837         Replace ldbl-m68k-96 usage with m68k96.
16838         Replace ldbl-128ibm usage with ibm128.
16839         Replace ldbl-128 usage with binary128.
16841         * auto-libm-test-out: Regenerate.
16843 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16845         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
16846         (parse_ulps): Dynamically generate type name matching
16847         string from all_floats.
16848         (get_ulps): Generate the ulps as an array instead.
16849         (output_ulps): Dynamically compose the type based
16850         on the number of supported formats, and print
16851         the indices as type specific helper macros.
16853         * math/libm-test.inc: Remove comment about CHOOSE.
16854         (ulp_data): Generate the type in libm-test-ulps.h.
16855         (ULP_IDX): New macro.
16856         (find_ulps): Update usage of max_ulp.
16858         * math/test-double-vlen2.h (CHOOSE): Remove.
16859         * math/test-double-vlen4.h (CHOOSE): Likewise.
16860         * math/test-double-vlen8.h (CHOOSE): Likewise.
16861         * math/test-float.c (CHOOSE): Likewise.
16862         * math/test-float-finite.c (CHOOSE): Likewise.
16863         * math/test-double.c (CHOOSE): Likewise.
16864         * math/test-double-finite.c (CHOOSE): Likewise.
16865         * math/test-idouble.c (CHOOSE): Likewise.
16866         * math/test-ifloat.c (CHOOSE): Likewise.
16867         * math/test-ildoubl.c (CHOOSE): Likewise.
16868         * math/test-ldouble-finite.c (CHOOSE): Likewise.
16869         * math/test-ldouble.c (CHOOSE): Likewise.
16871         * math/test-float.h (TEST_FLOAT): Remove.
16872         * math/test-double.h (TEST_DOUBLE): Likewise.
16873         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
16875 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16877         * math/gen-libm-test.pl: (apply_lit): New subroutine.
16878         (parse_args): Strip C suffix from floating point literals
16879         typed with 'f' and wrap them with LIT().
16881         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
16882         (test_ff_f_data_nexttoward): Rename to
16883         (test_fj_f_data): New struct.
16884         (nexttoward_test_data): Relabel tests as
16885         TEST_fj_f instead of TEST_ff_f.
16887 2016-06-08  Florian Weimer  <fweimer@redhat.com>
16889         Emacs bug 23726.
16890         * malloc/malloc.c (dumped_main_arena_start): Update comment.
16891         (__libc_realloc): Correct size computation for dumped fake mmapped
16892         chunks.
16894 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
16896         [BZ #20219]
16897         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
16898         to itself.
16899         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
16901         [BZ #20218]
16902         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
16903         to itself.
16904         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
16906 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
16908         [BZ #20195]
16909         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
16910         check to ...
16911         (init_cpu_features): Here.
16913 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
16915         [BZ #20214]
16916         * sysdeps/unix/sysv/linux/bits/in.h
16917         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16918          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
16919         Define to 1.
16920         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16921          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
16922         Define to 0.
16923         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
16924         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
16926 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
16928         [BZ #20198]
16929         * stdlib/Makefile (tests): Add tst-quick_exit, and
16930         tst-thread-quick_exit.
16931         [ifeq ($(have-cxx-thread_local),yes)]
16932         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
16933         (CFLAGS-tst-thread-quick_exit.o): Likewise.
16934         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
16935         (LDLIBS-tst-thread-quick_exit): Likewise.
16936         [ifneq ($(have-cxx-thread_local),yes)]
16937         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
16938         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
16939         If run_dtors is true call __call_tls_dtors.
16940         (exit): Call __run_exit_handlers with run_dtors set to true.
16941         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
16942         definition.
16943         * stdlib/quick_exit.c (quick_exit): Remove function.
16944         (__new_quick_exit): New function.
16945         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
16946         function.
16947         * stdlib/tst-quick_exit.cc: New file.
16948         * stdlib/tst-thread-quick_exit.cc: New file.
16949         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
16950         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
16951         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
16952         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
16953         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
16954         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
16955         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
16956         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
16957         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
16958         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
16959         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
16960         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
16961         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
16962         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
16963         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
16964         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
16966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
16967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
16968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
16969         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
16970         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
16971         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
16972         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
16973         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
16974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
16975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
16976         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
16977         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
16978         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
16980 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16982         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
16983         a typo in comments.
16985 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16987         [BZ #20213]
16988         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
16989         argument to itself.
16990         * math/libm-test.inc (asin_test_data): Add sNaN tests.
16992 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16994         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
16995         required flags.
16996         (CFLAGS-pwritev64.c): Likewise.
16997         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
16998         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16999         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17000         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17001         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17002         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17003         syscall from auto-generation.
17004         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17005         [WORDSIZE == 64] (pwritev64): Remove macro.
17006         [!PWRITEV] (PWRITEV): Likewise.
17007         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17008         [!PWRITEV] (PWRITE): Likewise.
17009         [!PWRITEV] (OFF_T): Likewise.
17010         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17011         (LO_HI_LONG): Remove macro.
17012         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17013         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17014         (PWRITEV): Remove macro.
17015         (PWRITEV_REPLACEMENTE): Likewise.
17016         (PWRITE): Likewise.
17017         (OFF_T): Likewise.
17018         (pwritev64): New function.
17019         * nptl/tst-cancel4.c (tf_writev): Add test.
17021         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17022         required flags.
17023         (CFLAGS-preadv64.c): Likewise.
17024         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17025         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17026         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17027         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17028         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17029         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17030         syscall from auto-generation.
17031         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17032         [WORDSIZE == 64] (preadv64): Remove macro.
17033         [!PREADV] (PREADV): Likewise.
17034         [!PREADV] (PREADV_REPLACEMENT): Likewise.
17035         [!PREADV] (PREAD): Likewise.
17036         [!PREADV] (OFF_T): Likewise.
17037         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17038         (LO_HI_LONG): Remove macro.
17039         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17040         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17041         (PREADV): Remove macro.
17042         (PREADV_REPLACEMENTE): Likewise.
17043         (PREAD): Likewise.
17044         (OFF_T): Likewise.
17045         (preadv64): New function.
17046         * nptl/tst-cancel4.c (tf_preadv): Add test.
17048 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17050         [BZ #20212]
17051         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17052         argument to itself.
17053         * math/libm-test.inc (acos_test_data): Add sNaN tests.
17055 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17057         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17058         New symbol defined as libc_hidden_def.
17059         (strcasestr): Became a weak alias to __strcasestr.
17060         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17061         according to multi-arch support.  Move __stpncpy hidden
17062         definition from here to...
17063         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17064         symbol stpncpy.
17065         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17066         libc_hidden_builtin_def.
17067         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17068         memset symbol to use when multi-arch support is available.
17070 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17072         * dlfcn/tst-rec-dlopen.c: Include string.h.
17074 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17076         * manual/install.texi: Remove mention of --without-tls
17077         * INSTALL: Regenerate.
17079 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17081         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17082         Remove.
17083         (call_function, interposed_malloc_called): New variables.
17084         (malloc): New function.
17085         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17086         and clear call_function as needed.
17088 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17090         * include/wchar.h (__wmemset): Use __typeof.
17092 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17094         * include/wchar.h (__wmemset): Declare function without typeof.
17096 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17098         [BZ #20205]
17099         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17100         exponent when incrementing negative subnormal with low mantissa
17101         word zero.
17102         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17103         Add another test.
17105 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17107         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17108         __wmemset instead of wmemset.
17110 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17112         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17113         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17114         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17115         __USE_KERNEL_IPV6_DEFS to 0.
17116         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17117         Update comment.
17119 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17121         [BZ #19861]
17122         Do not use IFUNC resolver with potentially unrelocated symbol.
17123         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17124         (DEFINE_FORK): Remove macro and inline definition.
17125         (fork_alias): Renamed from fork_ifunc.
17126         (__fork_alias): Renamed from __fork_ifunc.
17128 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17130         [BZ 19653]
17131         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17132         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17134 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17136         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17137         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17138         i386-linux-gnu).
17139         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17140         Set to no.
17141         * sysdeps/mach/hurd/configure: Refresh.
17143 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17145         [BZ #20178]
17146         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17147         on failure instead of exit.
17149 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17151         [BZ #3629]
17152         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17153         of POSIX.1-2008.
17155 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17157         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17158           Use PLT entry for calling _hurd_self_sigstate.
17160 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17162         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17163         available logical processors with SMT level type sharing L2
17164         cache for Intel processors.
17166 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17168         [BZ #20160]
17169         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17170         argument to itself before returning the result.
17171         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17172         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17173         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17175         Likewise.
17176         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17177         Likewise.
17178         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17179         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17180         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17181         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17182         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17183         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17185         [BZ #20160]
17186         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17187         argument to itself before returning the result.
17188         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17189         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17190         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17191         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17192         Likewise.
17193         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17194         Likewise.
17195         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17196         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17197         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17198         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17199         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17200         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17202 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17204         * libm-test.inc: Replace usage of M_El with
17205         (lit_e): New macro.
17207 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17209         * libm-test.inc: Replace usage of M_PI_4l with
17210         (lit_pi_4_d): New macro.
17212 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17214         * libm-test.inc: Replace usage of M_PIl with
17215         (lit_pi): New macro.
17217 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17219         * libm-test.inc: Replace usage of M_PI2l with
17220         (lit_pi_2_d): New macro.
17222         * math/test-double.h (LITM): New macro.
17223         * math/test-float.h (LITM): Likewise.
17224         * math/test-ldouble.h (LITM): Likewise.
17226 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17228         * libm-test.inc (M_PI_34l): Rename to
17229         (lit_pi_3_m_4_d): New Macro.
17230         (M_PI_34_LOG10El): Rename to
17231         (lit_pi_3_m_4_ln10_m_d): New Macro.
17232         (M_PI2_LOG10El): Rename to
17233         (lit_pi_2_ln10_m_d):  New Macro.
17234         (M_PI4_LOG10El): Rename to
17235         (lit_pi_4_ln10_m_d):  New Macro.
17236         (M_PI_LOG10El): Rename to
17237         (lit_pi_ln10_d):  New Macro.
17239 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17241         [BZ #20157]
17242         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17243         determine whether to negate low half if [_ARCH_PPCGR], and integer
17244         comparison otherwise.
17245         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17246         determine whether to negate low half.
17248         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17249         (NO_TEST_INLINE_DOUBLE): Likewise.
17250         (TEST_COND_x86_64): Likewise.
17251         (TEST_COND_x86): Likewise.
17252         (M_PI_6l): Likewise.
17254 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17256         * math/libm-test.inc:
17257         (TEST_FLOAT): Change usage to TEST_COND_binary32.
17258         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17259         (TEST_LDOUBLE): Update usage to evaluate as true if
17260         the guarded tests match the property being tested.
17261         (LDBL_MAX_EXP): Change to MAX_EXP.
17262         (LDBL_MIN_EXP): Change to MIN_EXP.
17263         (LDBL_MANT_DIG): Change to MANT_DIG, except for
17264         nexttoward tests.
17266 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17268         * math/libm-test.inc:
17269         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17270         (TYPE_MIN): Likewise.
17271         (TYPE_TRUE_MIN): Likewise.
17272         (TYPE_MAX): Likewise.
17273         (MIN_EXP): Likewise.
17274         (MAX_EXP): Likewise.
17275         (MANT_DIG): Likewise.
17277         (FSTR_MAX): New macro.
17278         (__CONCATX): Likewise.
17279         (QTYPE_STR): Likewise.
17280         (TEST_COND_binary32): Likewise.
17281         (TEST_COND_binary64): Likewise.
17282         (TEST_COND_binary128): Likewise.
17283         (TEST_COND_ibm128): Likewise.
17284         (TEST_COND_intel96): Likewise.
17285         (TEST_COND_m68k96): Likewise.
17287         (TEST_COND_flt_32): Redefine as equivalent format test macro.
17288         (TEST_COND_dbl_64): Likewise.
17289         (TEST_COND_ldbl_96_intel): Likewise.
17290         (TEST_COND_ldbl_96_m68k): Likewise.
17291         (TEST_COND_ldbl_128): Likewise.
17292         (TEST_COND_ldbl_128ibm): Likewise.
17294         (plus_zero): Redefine using LIT macro.
17295         (minus_zero): Likewise.
17296         (plus_infty): Redefine as (INF).
17297         (minux_infty): Redefine as (-INF).
17298         (max_value): Redefine as TYPE_MAX.
17299         (min_value): Redefine as TYPE_MIN.
17300         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
17302         (print_float): Refactor to use snprintf to convert FLOAT values
17303         to string. This brings it closer to dropin replacement of strtof
17304         for the TS 18661 defined types.
17305         (update_stats): Likewise.
17306         (print_complex_function_ulps): Likewise.
17307         (print_max_error): Likewise.
17308         (print_complex_max_error): Likewise.
17309         (check_float_internal): Likewise.
17311         * math/test-float.h (PREFIX): New macro.
17312         (LIT): Likewise.
17313         (TYPE_STR): Likewise.
17314         (FTOSTR): Likewise.
17316         * math/test-double.h (PREFIX): New macro.
17317         (LIT): Likewise.
17318         (TYPE_STR): Likewise.
17319         (FTOSTR): Likewise.
17321         * math/test-ldouble.h (PREFIX): New macro.
17322         (LIT): Likewise.
17323         (TYPE_STR): Likewise.
17324         (FTOSTR): Likewise.
17326 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17328         [BZ #20156]
17329         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
17330         to itself when zero or not finite.
17331         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
17332         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17333         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
17334         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
17336 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
17338         [BZ #20153]
17339         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
17340         x * x + x for infinities and NaNs.
17342         [BZ #20151]
17343         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
17344         argument to itself before returning result.
17345         (__ieee754_y0l): Likewise.
17346         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17347         (__ieee754_y1l).
17349         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
17350         (atan_test_data): Likewise.
17351         (ceil_test_data): Likewise.
17352         (cos_test_data): Likewise.
17353         (cosh_test_data): Likewise.
17354         (erf_test_data): Likewise.
17355         (exp2_test_data): Likewise.
17356         (fabs_test_data): Likewise.
17357         (floor_test_data): Likewise.
17358         (ilogb_test_data): Likewise.
17359         (j0_test_data): Likewise.
17360         (j1_test_data): Likewise.
17361         (jn_test_data): Likewise.
17362         (lgamma_test_data): Likewise.
17363         (lrint_test_data): Likewise.
17364         (llrint_test_data): Likewise.
17365         (logb_test_data): Likewise.
17366         (lround_test_data): Likewise.
17367         (llround_test_data): Likewise.
17368         (nearbyint_test_data): Likewise.
17369         (rint_test_data): Likewise.
17370         (round_test_data): Likewise.
17371         (sin_test_data): Likewise.
17372         (sincos_test_data): Likewise.
17373         (sinh_test_data): Likewise.
17374         (sqrt_test_data): Likewise.
17375         (tan_test_data): Likewise.
17376         (tanh_test_data): Likewise.
17377         (tgamma_test_data): Likewise.
17378         (trunc_test_data): Likewise.
17379         (y0_test_data): Likewise.
17380         (y1_test_data): Likewise.
17381         (yn_test_data): Likewise.
17383         * math/libm-test.inc: Update comment about NaN testing.
17384         (TEST_SNAN): New macro.
17385         (snan_value): Likewise.
17386         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
17387         (fpclassify_test_data): Add sNaN tests.
17388         (isfinite_test_data): Likewise.
17389         (isinf_test_data): Likewise.
17390         (isnan_test_data): Likewise.
17391         (isnormal_test_data): Likewise.
17392         (issignaling_test_data): Likewise.
17393         (signbit_test_data): Likewise.
17394         * math/gen-libm-test.pl (%beautify): Add snan_value.
17395         (show_exceptions): Add argument $test_snan.
17396         (parse_args): Handle snan_value as non-finite.  Update call to
17397         show_exceptions.
17398         * math/Makefile (libm-test-no-inline-cflags): Add
17399         -fsignaling-nans.
17401 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17403         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
17404         (CFLAGS-oldsendmsg.c): Add rule.
17405         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17406         Correct recvmsg symbol name.
17407         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
17408         Likewise.
17410 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17412         * sysdeps/unix/sysv/linux/Makefile
17413         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
17414         oldsendmmsg.
17415         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
17416         sendmmsg.
17417         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17418         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17419         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17420         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17422         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17423         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17425         Likewise.
17426         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17427         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
17428         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17429         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
17430         iovlen and controllen fields to adjust to POSIX specification.
17431         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17433         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
17434         and change to correct expected type.
17435         (msghdr.msg_controllen): Likewise.
17436         (cmsghdr.cmsg_len): Likewise.
17437         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
17438         expected POSIX assumption about the size.
17439         (msghdr.msg_controllen): Likewise.
17440         (msghdr.__glibc_reserved1): Likewise.
17441         (msghdr.__glibc_reserved2): Likewise.
17442         (cmsghdr.cmsg_len): Likewise.
17443         (cmsghdr.__glibc_reserved1): Likewise.
17444         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
17445         Add ptw-oldrecvmsg and ptw-oldsendmsg.
17446         (CFLAGS-sendmsg.c): Remove rule.
17447         (CFLAGS-recvmsg.c): Likewise.
17448         (CFLAGS-oldsendmsg.c): Add rule.
17449         (CFLAGS-oldrecvmsg.c): Likewise.
17450         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
17451         recvmsg and sendmsg.
17452         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
17453         Likewise.
17454         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
17455         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
17456         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17457         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
17458         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17459         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17460         Likewise.
17461         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17462         Likewise.
17463         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
17464         Likewise.
17465         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
17466         Likewise.
17467         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17468         Likewise.
17469         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17470         Likewise.
17471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
17472         (GLIBC_2.24): Likewise.
17473         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17474         Likewise.
17475         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17476         Likewise.
17477         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17478         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17479         Likewise.
17480         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17481         Likewise.
17482         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17483         Likewise.
17484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
17485         (GLIBC_2.24): Likewise.
17486         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
17487         Likewise.
17488         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
17489         Likewise.
17490         * sysdeps/unix/sysv/linux/Makefile
17491         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
17492         (CFLAGS-sendmsg.c): Add rule.
17493         (CFLAGS-recvmsg.c): Likewise.
17494         (CFLAGS-oldsendmsg.c): Likewise.
17495         (CFLAGS-oldrecvmsg.c): Likewise.
17496         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
17497         initialization.
17498         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17499         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17500         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
17501         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17502         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
17503         iovlen and controllen fields to adjust to POSIX specification.
17504         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
17505         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
17506         added recvmsg and sendmsg.
17507         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17508         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17509         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17510         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17511         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17512         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17513         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17514         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17515         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17516         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17517         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17518         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17520         Likewise.
17521         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
17522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17523         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17524         Likewise.
17525         Likewise.
17526         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17527         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17528         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17529         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17530         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17531         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17533         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17535         Likewise.
17536         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17537         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17539         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
17540         from auto-generation.
17541         (sendmsg): Likewise.
17542         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
17543         (sendmsg): Likewise.
17544         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
17545         (sendmsg): Likewise.
17546         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
17547         (sendmsg): Likewise.
17548         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
17549         (sendmsg): Likewise.
17550         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
17551         (sendmsg): Likewise.
17552         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
17553         Likewise.
17554         (sendmsg): Likewise.
17555         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
17556         (sendmsg): Likewise.
17557         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17559         Remove.
17560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17561         Likewise.
17562         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17563         Undefine.
17564         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17565         Likewise.
17566         * sysdeps/unix/sysv/linux/kernel-features.h
17567         (__ASSUME_SENDMSG_SYSCALL): Define.
17568         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17569         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17570         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17571         Remove.
17572         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17573         Likewise.
17574         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17575         Undefine.
17576         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17577         Likewise.
17578         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17579         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17580         Remove.
17581         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17582         Likewise.
17583         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17584         Undefine.
17585         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17586         Likewise.
17587         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17588         (__ASSUME_SENDMSG_SYSCALL): Undefine.
17589         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17590         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17591         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17592         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17593         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17594         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17595         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17597 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17599         * stdlib/gen-tst-strtod-round.c: Add backslash to
17600         compile command in comment.
17601         (printfp): Remove the literal suffix, and define an infinite
17602         value as INF to avoid expansion clash with INFINITY.
17603         (round_str): Remove the literal suffix.
17604         (round_for_all): Likewise, remove the now duplicate ldbl-64
17605         entry, and remove some magic constants.
17607         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
17608         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
17609         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
17610         (_CONCAT): New macro.
17611         (CONCAT): Likewise.
17612         (CHOOSE_ld): Likewise.
17613         (CHOOSE_f): Likewise.
17614         (CHOOSE_d): Likewise.
17615         (FTYPE_MEMBER): Likewise.
17616         (BOOL_MEMBER): Likewise.
17617         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
17618         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
17619         (_XNTRY): Likewise.
17620         (XNTRY): Likewise.
17621         (_ENTRY): Likewise.
17622         (ENTRY): Likewise.
17623         (test_exactness): Generate members via macro.
17624         (test_results): Likewise.
17625         (test): Update members.
17626         (TEST): Redefine using new macros.
17627         (INF): New macro.
17628         (fetestmodes): New structure.
17629         (do_test): Refactor to be type generic.
17630         (test_in_one_mode): Refactor duplicate code into
17631         (GEN_ONE_TEST): New macro.
17633         * stdlib/tst-strtod-round-data.h: Regenerate.
17635         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17636         Extend to pass additional arbitrary parameters to
17637         generators.
17639 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17641         [BZ #15479]
17642         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17643         floating-point state after first floating-point operation on
17644         input.  Restore full floating-point state instead of just rounding
17645         mode.
17646         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17647         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17648         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17649         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17650         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17652         [BZ #15479]
17653         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17654         floating-point state after first floating-point operation on
17655         input.  Restore full floating-point state instead of just rounding
17656         mode.
17657         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17658         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17659         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17660         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17661         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17663 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17665         [BZ #19727]
17666         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17667         valid high surrogate.
17668         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17669         of an utf16 surrogate.
17670         * iconv/gconv_simple.c (BODY): Likewise.
17671         * iconvdata/bug-iconv12.c: New file.
17672         * iconvdata/Makefile (tests): Add bug-iconv12.
17674 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17676         [BZ #19726]
17677         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17678         outptrp in case of an illegal input.
17679         * iconv/tst-iconv6.c: New file.
17680         * iconv/Makefile (tests): Add tst-iconv6.
17682 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17684         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
17685         an error in case of a value in range of an utf16 low surrogate.
17687 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17689         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17690         an error in case of a value in range of an utf16 low surrogate.
17692 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17694         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
17695         Move to ...
17696         * sysdeps/s390/Makefile: ... here.
17697         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
17698         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
17699         (BRANCH_ON_COUNT): New define.
17700         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
17701         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
17702         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
17703         run on s390-32, too.
17704         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
17705         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
17706         run on s390-32, too.
17707         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17708         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
17709         run on s390-32, too.
17711 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17713         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
17714         etf3eh or new vector loop-variant.
17716 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17718         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
17719         etf3eh or new vector loop-variant.
17721 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17723         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
17724         or new vector loop-variant.
17726 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17728         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
17729         Rename to TR_LOOP and usage of tr instead of troo instruction.
17731 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17733         * sysdeps/s390/multiarch/gconv_simple.c: New File.
17734         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
17736 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17738         * sysdeps/s390/multiarch/8bit-generic.c: New File.
17739         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
17740         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
17741         New override define.
17742         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
17744 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17746         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17747         * sysdeps/s390/configure.ac: Add test for S390 vector register
17748         support in gcc.
17749         * sysdeps/s390/configure: Regenerated.
17751 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17753         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
17754         Install file from $(objpfx)gconv-modules.
17755         ($(objpfx)gconv-modules): Concatenate architecture specific file
17756         in variable sysdeps-gconv-modules and gconv-modules in src dir.
17757         * sysdeps/s390/gconv-modules: New file.
17758         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
17759         Deleted.
17760         ($(objpfx)gconv-modules-s390): Deleted.
17761         (sysdeps-gconv-modules): New variable.
17763 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17765         [BZ #15479]
17766         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
17767         of immediate operand to rounding instruction.
17768         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
17769         Likewise.
17770         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
17771         Likewise.
17772         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
17773         Likewise.
17775 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17777         * math/libm-test.inc (MIN_EXP): Directly define as
17778         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
17780 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17782         * math/libm-test.inc (MANT_DIG): Directly define as
17783         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
17785 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17787         * stdlib/gen-tst-strtod-round.c (main):
17788           Change usage to more closely match the generated
17789           output.  Add usage and compilation instructions.
17790           (string_to_fp): Add and use FILE* parameter as
17791           output target.
17792           (print_fp): Likewise.
17793           (round_str): Likewise.
17794           (round_for_all): Likewise.
17795         * stdlib/tst-strtod-round.c (tests): Move into
17796         * stdlib/tst-strtod-round-data.h: New file.
17798 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17800         [BZ #15479]
17801         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
17802         (__round): Do not force "inexact" exception.
17803         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
17804         variable.
17805         (__round): Do not force "inexact" exception.
17806         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
17807         (__roundf): Do not force "inexact" exception.
17808         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
17809         (__roundl): Do not force "inexact" exception.
17810         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
17811         (__roundl): Do not force "inexact" exception.
17812         * math/libm-test.inc (round_test_data): Do not allow spurious
17813         "inexact" exceptions.
17815         [BZ #15479]
17816         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
17817         exception in comment.
17818         (huge): Remove variable.
17819         (__floor): Do not force "inexact" exception.
17820         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
17821         "inexact" exception in comment.
17822         (huge): Remove variable.
17823         (__floor): Do not force "inexact" exception.
17824         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
17825         exception in comment.
17826         (huge): Remove variable.
17827         (__floorf): Do not force "inexact" exception.
17828         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
17829         exception in comment.
17830         (huge): Remove variable.
17831         (__floorl): Do not force "inexact" exception.
17833         [BZ #15479]
17834         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
17835         exception in comment.
17836         (huge): Remove variable.
17837         (__ceil): Do not force "inexact" exception.
17838         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
17839         "inexact" exception in comment.
17840         (huge): Remove variable.
17841         (__ceil): Do not force "inexact" exception.
17842         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
17843         (__ceilf): Do not force "inexact" exception.
17844         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
17845         exception in comment.
17846         (huge): Remove variable.
17847         (__ceill): Do not force "inexact" exception.
17849 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17851         * config.h.in (BIND_NOW): New.
17852         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
17853         * configure: Regenerated.
17854         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
17855         indirect branch via the GOT slot.
17857 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17859         [BZ #19765]
17860         * sysdeps/s390/mempcpy.S: New File.
17861         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
17862         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
17863         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17864         Add mempcpy variants.
17865         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
17866         (memcpy): Adjust to be usable from mempcpy entry point.
17867         (__memcpy_mvcle): Likewise.
17868         * sysdeps/s390/s390-64/memcpy.S: Likewise.
17869         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
17870         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
17871         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
17872         (__memcpy_z10): Likewise.
17873         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17875 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17877         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
17878         Remove __GI_ symbol.
17879         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
17880         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
17881         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
17882         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17883         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
17884         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
17886 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17888         * sysdeps/s390/s390-64/memcpy.S (memcpy):
17889         Use cghi instead of chi to compare 64bit value.
17891 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17893         * sysdeps/s390/s390-32/memcpy.S (memcpy):
17894         Jump to 1MB check before executing mvc-loop.
17896 2016-05-24  Florian Weimer  <fweimer@redhat.com>
17898         [BZ #6527]
17899         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
17900         unconditionally.
17901         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
17903 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17905         * stdlib/tst-strtod6.c (do_test): Use new type generic
17906         invocation of the test function.
17907         (test): Refactor into ...
17908         (TEST_STRTOD): New macro base function.
17910 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17912         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
17913         (TEST_STRTOD): New macro.
17914         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
17916 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17918         * stdlib/tst-strtod6.c (do_test): Use new type generic
17919         invocation of the test function.
17920         (test): Refactor into ...
17921         (TEST_STRTOD): New macro base function.
17923 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17925         CVE-2016-4429
17926         [BZ #20112]
17927         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
17928         payload.
17930 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17932         [BZ #20111]
17933         * bits/sockaddr.h (_SS_SIZE): Define.
17934         * bits/socket.h (_SS_SIZE): Remove.
17935         (_SS_PADSIZE): Adjust to account for all padding.
17936         (struct sockaddr_storage): Update comment.  Avoid implicit
17937         padding.
17938         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
17939         (_SS_PADSIZE): Adjust to account for all padding.
17940         (struct sockaddr_storage): Update comment.  Avoid implicit
17941         padding.
17942         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
17943         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
17944         (_SS_PADSIZE): Adjust to account for all padding.
17945         (struct sockaddr_storage): Update comment.  Avoid implicit
17946         padding.
17947         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
17948         __SS_SIZE is 126 in this version.
17949         * inet/tst-sockaddr.c: New file.
17950         * inet/Makefile (tests): Add tst-sockaddr.c
17951         (tst-sockaddr.c): Compile with non-strict aliasing.
17953 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
17955         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
17956         [XPG3 || XPG4].
17957         (NL_ARGMAX): Also expect for [XPG3].
17958         (NL_LANGMAX): Likewise.
17959         (NL_MSGMAX): Likewise.
17960         (NL_NMAX): Likewise.
17961         (NL_SETMAX): Likewise.
17962         (NL_TEXTMAX): Likewise.
17963         (NZERO): Likewise.
17964         (TMP_MAX): Likewise.
17965         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
17966         variable.
17968         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
17969         (PF_MAX): Update value.
17970         (AF_KCM): New macro.
17971         (SOL_NETBEUI): Likewise.
17972         (SOL_LLC): Likewise.
17973         (SOL_DCCP): Likewise.
17974         (SOL_NETLINK): Likewise.
17975         (SOL_TIPC): Likewise.
17976         (SOL_RXRPC): Likewise.
17977         (SOL_PPPOL2TP): Likewise.
17978         (SOL_BLUETOOTH): Likewise.
17979         (SOL_PNPIPE): Likewise.
17980         (SOL_RDS): Likewise.
17981         (SOL_IUCV): Likewise.
17982         (SOL_CAIF): Likewise.
17983         (SOL_ALG): Likewise.
17984         (SOL_NFC): Likewise.
17985         (SOL_KCM): Likewise.
17986         (MSG_BATCH): New enum value and macro.
17988 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
17990         [BZ #18185]
17991         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
17992         sharing L2 cache to 2 for Knights Landing.
17994 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
17996         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
17997         (FTW_DP): Do not expect for [XPG3 || XPG4].
17998         (FTW_SL): Do not expect for [XPG3].
17999         (FTW_SLN): Likewise.
18000         (FTW_PHYS): Likewise.
18001         (FTW_MOUNT): Likewise.
18002         (FTW_DEPTH): Likewise.
18003         (FTW_CHDIR): Likewise.
18004         (nftw): Likewise.
18005         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18006         variable.
18008 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18010         * manual/errno.texi: Fix various typos & grammar errors.
18012 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18014         * manual/intro.texi: Fix duplicated typo.
18016 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18018         [BZ #13304]
18019         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18020         <float.h>, <math_private.h> and <stdlib.h>.
18021         (add_split): New function.
18022         (mul_split): Likewise.
18023         (ext_val): New typedef.
18024         (store_ext_val): New function.
18025         (mul_ext_val): New function.
18026         (compare): New function.
18027         (add_split_ext): New function.
18028         (__fmal): After checking for Inf, NaN and zero, compute result as
18029         an exact sum of scaled double values in round-to-nearest before
18030         adding those up and adjusting for other rounding modes.
18031         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18032         tests of fma.
18033         * math/auto-libm-test-out: Regenerated.
18035 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18037         [BZ #20119]
18038         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18039         processor level type mask for CPUID with EAX == 11.
18041 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18043         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18044         logical threads if the HTT bit is 0.
18045         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18046         (index_cpu_HTT): Likewise.
18047         (reg_HTT): Likewise.
18049 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18051         [BZ #20115]
18052         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18053         Remove alignments on jump targets.
18055 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18057         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18058         (getpwent): Likewise.
18059         (setpwent): Likewise.
18060         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18061         variable.
18063         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18064         (remque): Likewise.
18065         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18066         variable.
18068 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18070         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18071         not being tested.
18073 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18075         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18076         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18077         call.
18078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18079         (__condvar_cleanup1): Likewise.
18081 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18083         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18084         New
18085         (__pthread_unwind): Renamed to ...
18086         (PTHREAD_UNWIND): This.
18087         (__pthread_enable_asynccancel): Replace
18088         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18090 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18092         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18093         (CLONE_NEWCGROUP): New macro.
18095         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18096         (Q_GETNEXTQUOTA): New macro.
18098 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18100         [BZ #19907]
18101         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18102         buffer updated by the previous run.
18103         * string/test-memcpy.c (do_one_test): Likewise.
18104         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18105         * string/test-memmove.c (do_one_test): Likewise.
18107 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18109         [BZ #20094]
18110         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18111         not [__USE_XOPEN].
18112         (unlockpt): Likewise.
18113         (ptsname): Likewise.
18114         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18115         variable.
18117         [BZ #20076]
18118         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18119         instead of [__USE_UNIX98].
18120         (S_ISSOCK): Likewise.
18121         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18122         variable.
18124         [BZ #20074]
18125         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18126         [__USE_POSIX].
18127         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18128         variable.
18130         [BZ #20051]
18131         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18132         (ttyslot): Do not declare.
18133         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18134         (ttyslot): New prototype.
18135         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18136         variable.
18137         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18139 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18141         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18143 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18145         Fix race condition in tst-mallocfork2, use fewer resources.
18146         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18147         to current process group.
18148         (signal_sender): Yield in the non-sleeping case.
18150 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18152         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18153         (ecvt): Likewise.
18154         (fcvt): Likewise.
18155         (gcvt): Likewise.
18156         (getsubopt): Likewise.
18157         (grantpt): Likewise.
18158         (initstate): Likewise.
18159         (l64a): Likewise.
18160         (mktemp): Likewise.
18161         (mkstemp): Likewise.
18162         (ptsname): Likewise.
18163         (random): Likewise.
18164         (realpath): Likewise.
18165         (setstate): Likewise.
18166         (srandom): Likewise.
18167         (ttyslot): Likewise.
18168         (unlockpt): Likewise.
18169         (valloc): Likewise.
18171         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18172         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18173         variable.
18175 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18177         [BZ #20072]
18178         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18179         init_cpu_features only if SHARED is defined.
18180         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18182 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18184         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18185         non-inclusive caches on Intel processors.
18187 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18189         * malloc/malloc.c (dumped_main_arena_start)
18190         (dumped_main_arena_end): New variables.
18191         (DUMPED_MAIN_ARENA_CHUNK): New macro.
18192         (do_check_chunk): Skip dumped fake mmapped chunks.
18193         (munmap_chunk): Likewise.
18194         (__libc_free): Do not adjust statistics for fake mmapped chunks.
18195         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
18196         mmapped chunks.
18197         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18198         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18199         and dumped_main_arena_end to cover the dumped heap.
18201 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
18203         * conform/data/time.h-data (getdate_err): Do not expect for
18204         [XPG3].
18205         (getdate): Likewise.
18206         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18207         variable.
18209         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18210         (F_ULOCK): Likewise.
18211         (F_TEST): Likewise.
18212         (F_TLOCK): Likewise.
18213         (useconds_t): Likewise.
18214         (intptr_t): Do not expect for [XPG3] or [XPG4].
18215         (brk): Do not expect for [XPG3]
18216         (fchown): Likewise.
18217         (fchdir): Likewise.
18218         (ftruncate): Likewise.
18219         (getdtablesize): Likewise.
18220         (gethostid): Likewise.
18221         (getpagesize): Likewise.
18222         (getpgid): Likewise.
18223         (getsid): Likewise.
18224         (getwd): Likewise.
18225         (lchown): Likewise.
18226         (lockf): Likewise.
18227         (readlink): Likewise.
18228         (sbrk): Likewise.
18229         (setpgrp): Likewise.
18230         (setregid): Likewise.
18231         (setreuid): Likewise.
18232         (symlink): Likewise.
18233         (sync): Likewise.
18234         (truncate): Likewise.
18235         (ualarm): Likewise.
18236         (usleep): Likewise.
18237         (vfork): Likewise.
18238         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18239         variable.
18241         [BZ #20054]
18242         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18243         not [__USE_UNIX98].
18244         * conform/data/unistd.h-data (gethostname): Do not expect for
18245         [XPG3].
18247         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18248         [!POSIX] (S_IFBLK): Likewise.
18249         [!POSIX] (S_IFCHR): Likewise.
18250         [!POSIX] (S_IFIFO): Likewise.
18251         [!POSIX] (S_IFREG): Likewise.
18252         [!POSIX] (S_IFDIR): Likewise.
18253         [!POSIX] (S_IFLNK): Likewise.
18254         [!POSIX] (S_IFSOCK): Likewise.
18255         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18256         variable.
18257         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18259 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
18261         * sysdeps/aarch64/memset.S (__memset):
18262         Rewrite of optimized memset.
18264 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18266         [BZ #19703]
18267         Partially async-signal-safe fork for single-threaded processes.
18268         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18269         variable.  Do not acquire and reset/release malloc and libio locks
18270         in single-threaded processes.
18271         * malloc/tst-mallocfork2.c: New file.
18272         * malloc/Makefile (tests): Add it.
18274 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18276         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18277         argument.  Use scratch buffer instead of extend_alloca.
18278         (gethosts): Use scratch buffer instead of extend_alloca.
18279         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
18280         extend_alloca.
18281         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18283 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
18285         [BZ #20055]
18286         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18287         instead of [__USE_UNIX98].
18288         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18289         [__USE_UNIX98].
18290         * conform/data/termios.h-data (tcgetsid): Do not expect for
18291         [XPG3].
18292         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
18293         variable.
18294         (test-xfail-XPG4/termios.h/conform): Likewise.
18296 2016-05-11  Florian Weimer  <fweimer@redhat.com>
18298         Do not use mcheck in localedef.
18299         * locale/programs/localedef.c (turn_on_mcheck)
18300         (__malloc_initialize_hook): Remove.
18302 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18304         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
18305         * sysdeps/s390/s390-64/Makefile: Likewise.
18307 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18309         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
18310         Remove ifunc-defines.sym.
18311         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
18312         Likewise.
18313         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
18314         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18315         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
18316         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
18317         rtld-global-offsets.sym.
18318         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
18319         * sysdeps/x86/cpu-features-offsets.sym: This.
18320         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
18321         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
18323 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
18325         [BZ #20073]
18326         * io/sys/stat.h (fchmod): Declare for
18327         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
18328         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
18329         variable.
18331         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
18332         [XPG3] (S_IFSOCK): Likewise.
18333         [XPG3] (S_ISVTX): Likewise.
18334         [XPG3] (S_ISLNK): Likewise.
18335         [XPG3] (S_ISSOCK): Likewise.
18336         [XPG3] (fchmod): Likewise.
18337         [XPG3] (lstat): Likewise.
18338         [XPG3] (mknod): Likewise.
18340         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
18341         [XPG3].  Expect type long and XFAIL for [XPG4].
18342         (st_blocks): Likewise.
18344         [BZ #20044]
18345         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18346         (pthread_atfork): New prototype.
18347         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
18348         variable.
18350         [BZ #20043]
18351         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
18352         prototype.
18354 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18356         [BZ #20017]
18357         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
18358         gmtime.
18360 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18362         [BZ #19994]
18363         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
18364         flag in _res.options.
18366 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
18368         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
18369         [XPG3 || XPG4].
18370         (blksize_t): Likewise.
18371         (clockid_t): Likewise.
18372         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
18373         variable.
18374         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18376 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18378         * sysdeps/unix/sysv/linux/s390/init-first.c:
18379         Add VDSO_SYMBOL(getcpu).
18380         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
18381         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
18382         Add VDSO_SYMBOL(getcpu).
18383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
18384         New define HAVE_GETCPU_VSYSCALL.
18385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18387 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18389         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
18390         instead of <sysdeps/x86_64/cacheinfo.c>.
18391         * sysdeps/x86_64/cacheinfo.c: Moved to ...
18392         * sysdeps/x86/cacheinfo.c: Here.
18394 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18396         * malloc/malloc-internal.h: Adjust header file guard.
18398 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18400         [BZ #19787]
18401         * inet/getnameinfo.c (check_sprintf_result): New function.
18402         (CHECKED_SNPRINTF): New macro.
18403         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
18404         to the host buffer.
18405         (gni_host_local): Use checked_copy to copy the host name.
18406         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
18407         (gni_serv_local): Use checked_copy to copy the service name.
18408         (getnameinfo): Remove unnecessary truncation of result buffers.
18410 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18412         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
18413         in case of inet_ntop failure.
18415 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18417         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
18418         avoid long lines.
18419         (gni_host_inet_numeric): Likewise.  Reduce scope of local
18420         variables.
18421         (gni_host_inet, gni_host_local): Add comment.
18422         (gni_host): Add comment.  Use temporary to avoid long lines.
18424 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18426         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
18427         registers specifiers where general purpose registers specifiers should
18428         have been used.
18430 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18432         [BZ #19779]
18433         CVE-2016-1234
18434         Avoid copying names of directory entries.
18435         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
18436         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
18437         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
18438         (struct readdir_result): New type.
18439         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
18440         (GL_READDIR): New macros.
18441         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
18442         (convert_dirent, convert_dirent64): New functions.
18443         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
18444         convert_dirent64.  Adjust references to the readdir result.
18445         * sysdeps/unix/sysv/linux/i386/glob64.c:
18446         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
18447         * posix/bug-glob2.c (LONG_NAME): Define.
18448         (filesystem): Add LONG_NAME.
18449         (my_DIR): Increase the size of room_for_dirent.
18451 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
18453         [BZ #20041]
18454         * misc/sys/select.h (__need_timespec): Only define if
18455         [__USE_XOPEN2K].
18456         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
18457         variable.
18458         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18459         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18460         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18462 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18463             Segher Boessenkool  <segher@gcc.gnu.org>
18465         [BZ #20004]
18466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
18467         (__novec_swapcontext): Add missing load.
18469 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
18471         [BZ #20023]
18472         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
18473         <time.h>.
18474         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
18475         variable.
18476         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18478 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
18481         flags CLONE_VM compare.
18483 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18485         [BZ #20031]
18486         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
18487         completely empty.
18489 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18491         [BZ #19573]
18492         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
18493         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
18494         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
18495         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
18496         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
18497         (hesiod_free_list): Mark as hidden.
18498         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
18499         res_set, res_get.
18500         * hesiod/hesiod.c: Remove unnecessary forward declarations.
18501         (init, __hesiod_res_get, __hesiod_res_set): Remove.
18502         (hesiod_init): Remove obsolete res_ninit call.
18503         (hesiod_end): Do not free resolver state.  Do not invoke callback.
18504         (hesiod_bind): Do not call init.
18505         (get_txt_records): Use res_mkquery, res_send instead of
18506         res_nmkquery, res_nsend.
18507         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
18508         instead of _nss_hesiod_init.
18509         (_nss_hesiod_initgroups_dyn): Likewise.
18510         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
18511         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
18512         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
18514 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18516         * hesiod/hesiod_p.h (DEF_RHS): Remove.
18517         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
18519 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18521         * hesiod/hesiod.h: Remove RCS keyword.
18522         * hesiod/hesiod_p.h: Likewise.
18524         * hesiod/hesiod.c: Likewise.
18526 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
18528         [BZ #12450]
18529         * locale/iso-639.def: Add Samogitian/sgs.
18531 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18533         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
18535         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
18537 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
18538             Carlos O'Donell  <carlos@redhat.com>
18540         [BZ #19072]
18541         * grp/Makefile (headers): Add grp-merge.h
18542         (routines): Add grp-merge.
18543         * grp/getgrgid_r.c: Include grp-merge.h.
18544         (DEEPCOPY_FN): Define.
18545         (MERGE_FN): Define.
18546         * grp/getgrname_r.c: Include grp-merge.h.
18547         (DEEPCOPY_FN): Define.
18548         (MERGE_FN): Define.
18549         * grp/grp-merge.c: New file.
18550         * grp/grp-merge.h: New file.
18551         * include/grp-merge.h: New file.
18552         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
18553         __copy_grp@GLIBC_PRIVATE.
18554         * manual/nss.texi (Actions in the NSS configuration): Describe
18555         return, continue, and merge.
18556         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
18557         (DEEPCOPY_FN): Define.
18558         (MERGE_FN): Define.
18559         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
18560         (DEEPCOPY_FN): Define.
18561         (MERGE_FN): Define.
18562         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
18563         [!MERGE_FN]: Define __merge_einval.
18564         (CHECK_MERGE): Define.
18565         (REENTRANT_NAME): Process merge if do_merge is true.
18566         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
18567         (__nss_getent_r): Likewise.
18568         * nss/nsswitch.c (nss_parse_service_list): Likewise.
18569         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
18571 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18573         [BZ #20012]
18574         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
18575         length to calculate the buffer to read.
18576         (fmemopen_write): Set the buffer position based on bytes written.
18577         (fmemopen_seek): Return EINVAL for invalid whence modes.
18579         [BZ #19957]
18580         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
18581         tst-getpid2.
18582         (test): Add tst-clone2.
18583         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
18584         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
18585         pid/tid fields for CLONE_VM.
18586         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18587         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18588         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18589         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
18590         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18591         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18592         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18593         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18595         Likewise.
18596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18597         Likewise.
18598         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18599         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18600         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18601         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18602         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18603         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18604         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18605         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
18607 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18609         [BZ #19642]
18610         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
18611         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
18612         (gni_serv_local, gni_serv): New functions extracted from
18613         getnameinfo.
18614         (getnameinfo): Call gni_host and gni_serv to perform the
18615         processing.  Always free scratch buffer.
18617 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18619         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
18620         remaining bytes in the dest string, with zeros.
18622 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18624         [BZ #20010]
18625         CVE-2016-3706
18626         * sysdeps/posix/getaddrinfo.c
18627         (convert_hostent_to_gaih_addrtuple): New function.
18628         (gethosts): Call convert_hostent_to_gaih_addrtuple.
18629         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18630         AF_INET data.
18632 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18634         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18635         callback function gl_readdir.
18636         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18637         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18638         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18639         memcpy to copy the name.
18640         * manual/pattern.texi (Calling Glob): Document requirements for
18641         implementations of the gl_readdir callback function.
18642         * manual/examples/mkdirent.c: New example.
18643         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18644         per the manual guidance.
18645         * posix/tst-gnuglob.c (my_readdir): Likewise.
18647 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18649         [BZ #20014]
18650         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18651         not [__USE_POSIX].
18652         (getchar_unlocked): Likewise.
18653         (putc_unlocked): Likewise.
18654         (putchar_unlocked): Likewise.
18655         (flockfile): Likewise.
18656         (ftrylockfile): Likewise.
18657         (funlockfile): Likewise.
18658         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18659         variable.
18660         (test-xfail-XPG4/stdio.h/conform): Likewise.
18662         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18663         Expect constant.
18664         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18665         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18666         variable.
18667         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18668         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18670         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18671         [__USE_LARGEFILE64] (off64_t): Likewise.
18672         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18673         variable.
18675 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18677         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18679 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18681         * resolv/inet_addr.c: Reindent preprocessor conditionals.
18682         * resolv/res_init.c: Likewise.
18683         * resolv/res_mkquery.c: Likewise.
18685 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18687         * resolv/res_init.c (isascii): Do not define.  Use definition in
18688         <ctype.h>.
18689         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
18690         (LOG_AUTH): Remove.
18691         (SPRINTF): Remove, adjust caller.
18692         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
18694 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18696         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
18697         SUNSECURITY conditional.
18698         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
18700 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18702         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
18703         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
18704         Remove BSD-related preprocessor conditionals.
18705         * conf/portability.h: Remove.
18707 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18709         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
18710         * resolv/res_data.c: Likewise.
18712 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18714         * resolv/res_comp.c: Remove code conditional on __ultrix__.
18715         * resolv/res_data.c: Remove code conditional on ultrix.
18717 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18719         * resolv/res_init.c (RFC1535): Do not define.  Remove
18720         RFC1535 preprocessor conditionals.
18721         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
18722         because there configuration options which make the resolver
18723         behavior different.
18725 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18727         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
18728         RESOLVSORT preprocessor conditionals.
18729         * resolv/nss_dns/dns-host.c: Likewise.
18730         * resolv/res_init.c: Likewise.
18732 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18734         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
18735         is never defined.
18737 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18739         * inet/inet_lnaof.c: Remove SCSS keyword.
18740         * inet/inet_mkadr.c: Likewise.
18741         * inet/inet_net.c: Likewise.
18742         * inet/inet_netof.c: Likewise.
18743         * inet/rcmd.c: Likewise.
18744         * inet/rexec.c: Likewise.
18745         * inet/ruserpass.c: Likewise.
18747 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18749         * resolv/inet_addr.c: Remove _LIBC conditionals.
18750         * resolv/res_data.c: Likewise.
18751         * resolv/res_init.c: Likewise.
18752         * resolv/res_mkquery.c: Likewise.
18753         * resolv/res_libc.c: Update comment.
18754         * resolv/README: Update.
18756 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18758         * resolv/gethnamaddr.c: Remove SCSS keyword.
18759         * resolv/herror.c: Likewise.
18760         * resolv/inet_addr.c: Likewise.
18761         * resolv/inet_net_ntop.c: Likewise.
18762         * resolv/inet_net_pton.c: Likewise.
18763         * resolv/inet_neta.c: Likewise.
18764         * resolv/inet_ntop.c: Likewise.
18765         * resolv/inet_pton.c: Likewise.
18766         * resolv/ns_date.c: Remove RCS keyword.
18767         * resolv/ns_name.c: Likewise.
18768         * resolv/ns_netint.c: Likewise.
18769         * resolv/ns_parse.c: Likewise.
18770         * resolv/ns_print.c: Likewise.
18771         * resolv/ns_samedomain.c: Likewise.
18772         * resolv/ns_ttl.c: Likewise.
18773         * resolv/nsap_addr.c: Likewise.
18774         * resolv/res_comp.c: Remove SCSS and RCS keyword.
18775         * resolv/res_data.c: Remove RCS keyword.
18776         * resolv/res_debug.c: Remove SCSS and RCS keyword.
18777         * resolv/res_init.c: Likewise.
18778         * resolv/res_mkquery.c: Likewise.
18779         * resolv/res_query.c: Likewise.
18780         * resolv/res_send.c: Likewise.
18782 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18784         * conform/data/stdio.h-data (fdopen): Expect also for
18785         [XPG3 || XPG4].
18787         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
18788         (fseeko): Likewise.
18789         (ftello): Likewise.
18790         (ftrylockfile): Likewise.
18791         (funlockfile): Likewise.
18792         (getc_unlocked): Likewise.
18793         (getchar_unlocked): Likewise.
18794         (putc_unlocked): Likewise.
18795         (putchar_unlocked): Likewise.
18797 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18799         [BZ #19868]
18800         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
18801         DNS packet syntax checks (which were not needed before).  Skip
18802         over non-PTR records.
18804 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18806         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
18807         definition.  Include <stddef.h> instead.
18809 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18811         [BZ #19831]
18812         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
18813         function.
18814         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
18815         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
18817 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18819         [BZ #19862]
18820         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
18821         (getanswer_r): Do not call syslog.
18822         (gaih_getanswer_slice): Likewise.
18823         * resolv/gethnamaddr.c (AskedForGot): Remove.
18824         (getanswer): Do not call syslog.
18825         (gethostbyaddr): Likewise.
18827 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18829         * conform/data/signal.h-data (union sigval): Expect also if
18830         [XOPEN2K].
18831         (struct sigevent): Likewise.
18832         (SIGEV_NONE): Likewise.
18833         (SIGEV_SIGNAL): Likewise.
18834         (SIGEV_THREAD): Likewise.
18835         (SIGRTMIN): Likewise.
18836         (SIGRTMAX): Likewise.
18837         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
18838         variable.
18839         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18841 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18843         [BZ #19830]
18844         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
18845         (gaih_getanswer_slice): Likewise.
18846         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
18847         Also check for availability of RR metadata.
18849 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18851         [BZ #19825]
18852         * resolv/res_send.c (send_vc): Remove early *resplen2
18853         initialization.  Set *resplen2 on socket error.  Call
18854         close_and_return_error for other errors.
18856 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18858         * sysdeps/unix/sysv/linux/netiucv/iucv.h
18859         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
18860         (SCM_IUCV_TRGCLS): New define.
18862 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18864         [BZ #20005]
18865         * libio/fmemopen.c (fmemopen_write): Update internal position after
18866         write.
18867         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
18868         * stdio-common/tst-fmemopen4.c: New file..
18870 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
18872         [BZ #19996]
18873         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
18874         not [__USE_XOPEN2K].
18875         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
18876         variable.
18878         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
18879         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
18880         variable.
18882         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
18883         [__USE_XOPEN2K8].
18884         [__USE_LARGEFILE64] (off64_t): Likewise.
18885         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
18886         variable.
18888 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
18890         [BZ #19989]
18891         * libio/stdio.h (cuserid): Do not declare if
18892         [__USE_XOPEN2K && !__USE_GNU].
18893         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
18894         variable.
18896 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18898         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18899         (sysdep_routines): Add P8 and PPC64 strcspn targets.
18900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18901         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18902         ifunc'ed strcspn.
18903         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18904         [EALIGN]: Removed.
18905         [END]: Likewise
18906         [STRSPN]: Define instead of the above to control symbol name.
18907         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
18908         New file.
18909         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
18910         Likewise.
18911         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
18912         Likewise.
18913         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
18914         Likewise.
18915         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18916         [INITIAL_MASK]: New macro.
18917         [STRCSPN]: Likewise.
18918         [UPDATE_MASK]: Likewise.
18919         [USE_AS_STRCSPN]: Likewise.
18921 2016-04-25  Florian Weimer  <fweimer@redhat.com>
18923         [BZ #19931]
18924         * stdio-common/tst-vfprintf-width-prec.c: New file.
18925         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
18926         (tests-special): Add tst-vfprintf-width-prec-mem.out.
18927         (generated): Add mtrace-related files.
18928         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
18929         (tst-%-mem.out): New pattern rule, replaces
18930         tst-printf-bz18872-mem.out.
18931         * stdio-common/vfprintf.c (vfprintf): When handling a precision
18932         specifier, deallocate any previously allocated work buffer.
18934 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18936         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
18937         Add nop before __startcontext, add explaining comments.
18939 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
18941         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
18942         any more. Notably since IPV6_PKTINFO has been reintroduced with a
18943         completely different API.
18945         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
18946         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
18947         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
18948         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
18949         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
18950         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
18951         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
18952         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
18953         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
18954         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
18956 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
18958         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
18960 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
18962         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
18963         when it is the default of 0.
18965 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18967         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
18968         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18969         (sysdep_routines): Add new strcasestr targets.
18970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18971         (__libc_ifunc_impl_list): Likewise.
18972         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
18973         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
18974         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
18975         * sysdeps/powerpc/powerpc64/power8/Makefile:
18976         New file to add strcasestr-ppc64 to sysdep_routines.
18977         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
18978         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
18980 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
18982         * benchtests/Makefile (wcsmbs-benchset): Include only for
18983         native builds and runs.
18984         (LOCALES): Likewise.
18985         (bench-build): Build timing-type here instead of the bench
18986         target.  Generate locale only for native builds.
18987         * benchtests/README: Add note for cross-building.
18989         * benchtests/Makefile (bench-clean): Clean up extra-objs.
18991         * benchtests/README: Update README to include instructions on
18992         using bench-build.
18994         * Makefile.in (bench-build): New target.
18995         * Rules (PHONY): Add bench-build target.
18996         * benchtests/Makefile (bench): Depend on bench-build.
18997         (bench-build): New target.
18999 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19001         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19002         profil_reply_port.
19003         (profile_waiter): Do not initialize profil_reply_port.
19004         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19005         frequency instead of tick length in us.
19007 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
19009         [BZ #18712]
19010         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19011         (__old_mempcpy_small): Likewise.
19012         (__old_strcpy_small): Likewise.
19013         (__old_stpcpy_small): Likewise.
19014         (__old_strpbrk_c2): Fix compat symbol name.
19015         (__old_strpbrk_c3): Likewise.
19016         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19017         (__mempcpy_small): Remove.
19018         (__strcpy_small): Remove.
19019         (__stpcpy_small): Remove.
19021 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
19023         [BZ #19400]
19024         * locale/iso-639.def: Add the Talossan/tzl language.
19026 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19028         [BZ #16983]
19029         * locale/programs/ld-address.c (address_finish): Update postal_fmt
19030         comment.  Add "ln" to strchr check on postal_fmt.
19032 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19034         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19035         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
19036         tel_dom_fmt.
19038 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19040         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19041         (sysdep_routines): Added __strlen_power8.
19042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19043         __strlen_power8 entry.
19044         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19045         Implementation for POWER8.
19046         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19047         for __strlen_power8.
19048         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19049         Implementation for POWER8.
19051 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
19053         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19055 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
19057         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19058         Goldmont and Airmont processors.
19060 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19062         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19063         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19064         (__STRING2_SMALL_GET32): Remove.
19065         (memset): Remove.
19066         (__memset_1): Remove.
19067         (__memset_gc): Remove.
19068         (__mempcpy): Remove.
19069         (mempcpy): Remove.
19070         (__mempcpy_args): Remove.
19071         (strchr): Remove.
19072         (strcpy): Remove.
19073         (strcpy_args): Remove.
19074         (__stpcpy_args): Remove.
19075         (__strcmp_cc): Remove.
19076         (__strcmp_gc): Remove.
19077         (strstr): Remove.
19079 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19081         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19082         * nis/nis_call.c (nis_server_cache_add): Likewise.
19084 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19086         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19088 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19090         * malloc/arena.c (__malloc_fork_lock_parent)
19091         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19092         internal_function attribute.
19094 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19096         * stdio-common/printf_fp.c (__printf_fp_l):
19097         Rename ___printf_fp_l to __printf_fp_l and
19098         remove strong alias. Use libc_hidden_def instead
19099         of ldbl_hidden_def macro.
19101 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19103         Remove malloc hooks from fork handler.  They are no longer needed
19104         because malloc runs right before fork, and no malloc calls from
19105         other fork handlers are not possible anymore.
19106         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19107         declarations.
19108         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19109         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19110         (atfork_recursive_cntr): Remove.
19111         (__malloc_fork_lock_parent): Do not override malloc hooks and
19112         thread_arena.
19113         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19114         thread_arena.
19115         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19116         thread_arena instead of save_arena.
19118 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19120         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19121         (thread_atfork, thread_atfork_static): Remove.
19122         * sysdeps/mach/hurd/malloc-machine.h:
19123         (thread_atfork, thread_atfork_static): Remove.
19125 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19127         [BZ #19431]
19128         Run the malloc fork handler as late as possible to avoid deadlocks.
19129         * malloc/malloc-internal.h: New file.
19130         * malloc/malloc.c: Include it.
19131         * malloc/arena.c (ATFORK_MEM): Remove.
19132         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19133         Update comment.
19134         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19135         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19136         Remove outdated comment.
19137         (ptmalloc_init): Do not call thread_atfork.  Remove
19138         thread_atfork_static.
19139         * malloc/tst-malloc-fork-deadlock.c: New file.
19140         * Makefile (tests): Add tst-malloc-fork-deadlock.
19141         (tst-malloc-fork-deadlock): Link against libpthread.
19142         * manual/memory.texi (Aligned Memory Blocks): Update safety
19143         annotation comments.
19144         * sysdeps/nptl/fork.c (__libc_fork): Call
19145         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19146         __malloc_fork_unlock_child.
19147         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19149 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19151         [BZ #19613]
19152         Remove union wait.
19153         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19154         (w_stopsig, w_stopval): Remove.
19155         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19156         stat_loc argument.
19157         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19158         (__WAIT_STATUS_DEFN): Remove.
19159         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19160         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19161         (wait, wait3, wait4): Use int * for the stat_loc argument.
19162         * posix/wait.c (__wait): Likewise.
19163         * posix/wait3.c (__wait3): Likewise.
19164         * posix/wait4.c (__wait4): Likewise.
19165         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19166         (__WAIT_STATUS_DEFN): Remove.
19167         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19168         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19169         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19170         argument.
19171         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19172         * sysdeps/posix/wait3.c (__wait3): Likewise.
19173         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19174         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19175         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19176         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19177         stat_loc argument.
19178         * manual/process.texi (BSD Wait Functions): Remove union wait.
19180 2016-04-13  Andreas Schwab  <schwab@suse.de>
19182         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19183         (test-extras): Add tst-tlsalign-vars.
19184         * math/Makefile: Wrap long lines.
19185         (libm-vec-test-wrappers): Define.
19186         (test-extras): Add $(libm-vec-test-wrappers).
19187         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19188         * nss/Makefile (extra-test-objs): Add nss_test1.os.
19189         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19190         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19191         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19192         (extra-test-objs): Add corresponding objects.
19194 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
19196         [BZ #19928]
19197         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19198         New.
19199         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19200         times of shared cache size.
19201         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19202         (VMOVNT): New.
19203         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19204         (VMOVNT): Likewise.
19205         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19206         (VMOVNT): Likewise.
19207         (VMOVU): Changed to movups for smaller code sizes.
19208         (VMOVA): Changed to movaps for smaller code sizes.
19209         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19210         comments.
19211         (PREFETCH): New.
19212         (PREFETCH_SIZE): Likewise.
19213         (PREFETCHED_LOAD_SIZE): Likewise.
19214         (PREFETCH_ONE_SET): Likewise.
19215         Rewrite to use forward and backward loops, which move 4 vector
19216         registers at a time, to support overlapping addresses and use
19217         non temporal store if size is above the threshold and there is
19218         no overlap between destination and source.
19220 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
19222         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19223         Include dl-vdso.
19224         * sysdeps/unix/sysv/linux/mips/Versions: Add
19225         __vdso_clock_gettime.
19226         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19227         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19228         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19229         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19230         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19231         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19232         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19233         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19234         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19236 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19238         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19239         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19240         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19242         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19243         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19246         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19248         syscalls generation.
19249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19250         [__NR_pwrite64] (__NR_write): Remove define.
19251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19252         [__NR_pwrite64] (__NR_write): Remove define.
19253         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19254         Remove define.
19255         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19256         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19257         Remove define.
19258         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19259         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19260         Linux implementation as base.
19261         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19263         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19264         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19265         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19269         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19270         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19271         syscall generation.
19272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19273         [__NR_pread64] (__NR_pread): Remove define.
19274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19275         [__NR_pread64] (__NR_pread): Likewise.
19276         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19277         define.
19278         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19279         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19280         Remove define.
19281         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19282         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19283         Linux implementation as base.
19284         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19285         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19286         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19288         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19289         definition.
19290         (__ALIGNMENT_COUNT): Likewise.
19291         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
19292         (__ALIGNMENT_COUNT): Likewise.
19293         (SYSCALL_LL): New define.
19294         (SYSCALL_LL64): Likewise.
19295         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
19296         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
19297         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
19298         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
19300         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19301         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
19302         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19303         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19304         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19305         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19307 2016-04-11  Florian Weimer  <fweimer@redhat.com>
19309         [BZ #19865]
19310         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
19311         original buffer before retry.
19313 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19315         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
19316         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
19317         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
19318         GLRO(dl_auxv) list.
19319         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
19320         including <ldsodefs.h>.
19321         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
19323 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
19325         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
19326         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
19327         $(CPPFLAGS).
19329 2016-04-09  Khem Raj  <raj.khem@gmail.com>
19331         [BZ #17950]
19332         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
19333         Add -mfpmath=387.
19335 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
19337         * sysdeps/i386/configure.ac: Change == to = when calling test.
19338         * sysdeps/x86_64/configure.ac: Likewise.
19339         * sysdeps/i386/configure: Regenerated.
19340         * sysdeps/x86_64/configure: Likewise.
19342 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
19344         [BZ #16137]
19345         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
19346         * benchtests/bench-strcoll.c (input_files): Likewise.
19347         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19348         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
19349         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
19351 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
19353         [BZ #19929]
19354         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
19355         [__USE_XOPEN2K8 && !__USE_GNU].
19356         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
19357         variable.
19359         [BZ #19925]
19360         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
19361         define if [!__USE_MISC && __USE_XOPEN2K].
19362         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
19363         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
19364         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
19365         Likewise.
19366         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
19367         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
19368         variable.
19369         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19371 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19373         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19374         (sysdep_routines): Add new strspn targets.
19375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19376         (__libc_ifunc_impl_list): Add strspn.
19377         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19378         New file.
19379         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
19380         Likewise.
19381         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
19382         Likewise.
19383         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19384         Likewise.
19386 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19388         * misc/hsearch_r.c: Include <limits.h>.
19390 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19392         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
19394 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19396         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19397         (MEMCPY_SYMBOL): New.
19398         (MEMPCPY_SYMBOL): Likewise.
19399         (MEMMOVE_CHK_SYMBOL): Likewise.
19400         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
19401         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
19402         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
19403         Provide alias for memcpy in libc.a and ld.so.
19405 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19407         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19408         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
19409         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
19410         Disabled fro now.
19411         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
19412         symbols.  Properly check USE_MULTIARCH on __memset symbols.
19414 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19416         * benchtests/Makefile (string-benchset): Add memcpy-large,
19417         memmove-large and memset-large.
19418         * benchtests/bench-memcpy-large.c: New file.
19419         * benchtests/bench-memmove-large.c: Likewise.
19420         * benchtests/bench-memmove-large.c: Likewise.
19421         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
19423 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19425         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
19426         32-bit displacement to avoid long nop between instructions.
19428 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19430         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
19431         a comment on VMOVU and VMOVA.
19433 2016-04-04  Florian Weimer  <fweimer@redhat.com>
19435         [BZ #19633]
19436         Use specified locale for number formatting in strfmon_l.
19437         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
19438         (__nl_lookup_word): New inline functions.
19439         * include/printf.h (__print_fp_l): Declare.
19440         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
19441         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
19442         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
19443         (___printf_fp): New function.
19444         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
19445         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
19446         * stdlib/tst-strfmon_l.c (do_test): New test.
19447         * stdlib/Makefile (tests): Add kt.
19448         (LOCALES): Build additional locales.
19449         (tst-strfmon_l.out): Require locales.
19451 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19453         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
19454         if not in libc.
19455         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19456         Likewise.
19457         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
19458         Likewise.
19459         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19460         Likewise.
19462 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19464         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19465         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
19466         with unaligned_erms.
19467         (__memmove_erms): Skip if source == destination.
19468         (__memmove_unaligned_erms): Don't check source == destination
19469         first.
19471 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19473         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
19474         bit_arch_Fast_Copy_Backward for Intel Core proessors.
19476 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19478         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
19479         * string/strspn.c (strspn): Likewise.
19481 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19483         * benchtests/bench-memset.c (do_test): Support 64-byte
19484         alignment.
19485         (test_main): Test 64-byte alignment.
19487 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19489         * benchtests/bench-memmove.c (test_main): Test 64-byte
19490         alignment.
19492 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19494         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
19496 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19498         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
19499         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
19500         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
19502         * string/strpbrk.c (strpbrk): Rewrite function.
19503         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
19504         (__strpbrk_c2): Likewise.
19505         (__strpbrk_c3): Likewise.
19506         * string/string-inlines.c
19507         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
19508         Likewise.
19509         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
19510         Likewise.
19512         * string/strspn.c (strcspn): Rewrite function.
19513         * string/bits/string2.h (strspn): Use __builtin_strcspn.
19514         (__strspn_c1): Remove inline function.
19515         (__strspn_c2): Likewise.
19516         (__strspn_c3): Likewise.
19517         * string/string-inlines.c
19518         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
19519         compatibility symbol.
19520         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
19521         Likewise.
19522         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
19523         Likewise.
19524         * string/string-inlines.c: Include generic version.
19526 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
19527             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19529         * string/Version (libc): Add GLIBC_2.24.
19530         * string/strcspn.c (strcspn): Rewrite function.
19531         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
19532         (__strcspn_c1): Remove inline function.
19533         (__strcspn_c2): Likewise.
19534         (__strcspn_c3): Likewise.
19535         * string/string-inline.c
19536         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
19537         compatibility symbol.
19538         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
19539         Likewise.
19540         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
19541         Likewise.
19542         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
19544 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19546         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19547         Use ahi instead of aghi to adjust stack pointer.
19549 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19551         [BZ #19853]
19552         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
19553         TEST to take significant digits as second parameter.
19554         [TEST]: Redefine in terms of TEST_N taking 30
19555         significant digits.
19556         (do_test): Add test case to demonstrate precision
19557         failure in the ldbl-128ibm printf.
19558         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
19559         (__mpn_extract_long_double): Carry 7 extra intermediate
19560         bits of precision to aide computing difference when
19561         signs differ.
19563 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19565         [BZ #19881]
19566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19567         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
19568         memset-avx512-unaligned-erms.
19569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19570         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
19571         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
19572         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
19573         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
19574         __memset_sse2_unaligned_erms, __memset_erms,
19575         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
19576         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19577         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
19578         file.
19579         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19580         Likewise.
19581         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
19582         Likewise.
19583         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
19584         Likewise.
19586 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19588         [BZ #19776]
19589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19590         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
19591         memmove-avx512-unaligned-erms.
19592         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19593         (__libc_ifunc_impl_list): Test
19594         __memmove_chk_avx512_unaligned_2,
19595         __memmove_chk_avx512_unaligned_erms,
19596         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
19597         __memmove_chk_sse2_unaligned_2,
19598         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
19599         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
19600         __memmove_avx512_unaligned_erms, __memmove_erms,
19601         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
19602         __memcpy_chk_avx512_unaligned_2,
19603         __memcpy_chk_avx512_unaligned_erms,
19604         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
19605         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
19606         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
19607         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
19608         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
19609         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
19610         __mempcpy_chk_avx512_unaligned_erms,
19611         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
19612         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
19613         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
19614         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
19615         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
19616         __mempcpy_erms.
19617         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
19618         file.
19619         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19620         Likewise.
19621         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19622         Likewise.
19623         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19624         Likewise.
19626 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19628         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19629         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19630         (La_s390_64_regs): Likewise.
19631         (La_s390_32_retval): Append vector register lrv_v24.
19632         (La_s390_64_retval): Likeweise.
19633         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19634         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19635         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19636         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19638 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19640         [BZ #19916]
19641         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19642         to create a non-vector/vector version for _dl_runtime_resolve and
19643         _dl_runtime_profile. Move implementation to ...
19644         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19645         (_dl_runtime_resolve) Save and restore fpr/vrs.
19646         (_dl_runtime_profile) Save and restore vrs and fix some issues
19647         if _dl_call_pltexit is called.
19648         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19649         Choose the correct resolver function if running on a machine with vx.
19650         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19651         to create a non-vector/vector version for _dl_runtime_resolve and
19652         _dl_runtime_profile. Move implementation to ...
19653         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19654         (_dl_runtime_resolve) Save and restore fpr/vrs.
19655         (_dl_runtime_profile) Save and restore vrs and fix some issues
19656         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19657         Choose the correct resolver function if running on a machine with vx.
19659 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19661         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19663 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19665         [BZ #19509]
19666         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19667         skip_map != NULL.
19668         * elf/tst-dlsym-error.c: New file.
19669         * elf/Makefile (tests): Add tst-dlsym-error.
19670         (tst-dlsym-error): Link against libdl.
19672 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
19674         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19675         (__ASSUME_FUTIMESAT): Remove macro.
19676         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19678 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19680         [BZ #19879]
19681         CVE-2016-3075
19682         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
19683         copy name.
19685 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19687         [BZ #19837]
19688         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
19689         error if parse_line fails.
19691 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19693         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
19694         (index_cpu_ERMS): Likewise.
19695         (reg_ERMS): Likewise.
19697 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
19699         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
19700         PER_LINUX_FDPIC): Add.
19702 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19705         memcpy-avx512-no-vzeroupper.
19706         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
19707         to ...
19708         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
19709         (MEMCPY): Don't define.
19710         (MEMCPY_CHK): Likewise.
19711         (MEMPCPY): Likewise.
19712         (MEMPCPY_CHK): Likewise.
19713         (MEMPCPY_CHK): Renamed to ...
19714         (__mempcpy_chk_avx512_no_vzeroupper): This.
19715         (MEMPCPY_CHK): Renamed to ...
19716         (__mempcpy_chk_avx512_no_vzeroupper): This.
19717         (MEMCPY_CHK): Renamed to ...
19718         (__memmove_chk_avx512_no_vzeroupper): This.
19719         (MEMCPY): Renamed to ...
19720         (__memmove_avx512_no_vzeroupper): This.
19721         (__memcpy_avx512_no_vzeroupper): New alias.
19722         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
19724 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19726         [BZ #18858]
19727         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19728         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
19729         and mempcpy-avx512-no-vzeroupper.
19730         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
19731         New.
19732         (MEMPCPY): Likewise.
19733         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
19734         (MEMPCPY_CHK): New.
19735         (MEMPCPY): Likewise.
19736         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
19737         (MEMPCPY): Likewise.
19738         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
19739         (MEMPCPY): Likewise.
19740         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
19741         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
19742         Likewise.
19743         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
19744         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
19746 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19747              Amit Pawar  <Amit.Pawar@amd.com>
19749         [BZ #19583]
19750         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19751         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
19752         processors.  Set Fast_Copy_Backward for AMD Excavator
19753         processors.
19754         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
19755         New.
19756         (index_arch_Fast_Unaligned_Copy): Likewise.
19757         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
19758         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
19760 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19762         [BZ #19791]
19763         * resolv/res_send.c (close_and_return_error): New function.
19764         (send_dg): Initialize *resplen2 after reopen failure.  Call
19765         close_and_return_error for error returns.  On error paths without
19766         __res_iclose, initialze *resplen2 explicitly.  Update comment for
19767         successful return.
19769 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19771         [BZ #19860]
19772         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
19773         zero if the compiler does not provide the AVX512F bit.
19775 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
19777         [BZ #19848]
19778         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
19779         from 8 to 4.
19780         (__ieee754_powl): Compare integer exponent against 4 not 8.
19781         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
19782         from 8 to 4.
19783         (__ieee754_powl): Compare integer exponent against 4 not 8.
19784         * math/auto-libm-test-in: Add more tests of pow.
19785         * math/auto-libm-test-out: Regenerated.
19786         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19789 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19791         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
19792         Make code unconditional.
19793         [!__NR_utimensat]: Remove conditional code.
19794         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
19795         Make code unconditional.
19796         [!__NR_utimensat]: Remove conditional code.
19797         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
19798         Make code unconditional.
19799         [!__NR_utimensat]: Remove conditional code.
19801 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19803         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
19804         Make code unconditional.
19806 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
19808         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
19809         call-clobbered %eax on retry path.
19810         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19812 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19814         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
19815         Don't set %rcx twice before "rep movsb".
19817 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19819         [BZ #19583]
19820         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
19821         inline.  Check family before setting family, model and
19822         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
19823         bits here.
19824         (init_cpu_features): Replace HAS_CPU_FEATURE and
19825         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
19826         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
19827         for Intel processors with usable AVX2.  Call get_common_indeces
19828         for other processors with family == NULL.
19829         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
19830         (CPU_FEATURES_ARCH_P): Likewise.
19831         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
19832         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
19834 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19836         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
19837         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
19838         $(shared-thread-library) instead of hardcoding the path to libpthread.
19840 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
19842         * sysdeps/unix/sysv/linux/kernel-features.h
19843         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
19844         * sysdeps/unix/sysv/linux/getdents.c
19845         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
19846         [!have_no_getdents64_defined]: Likewise.
19847         (__GETDENTS): Remove __have_no_getdents64 conditional.
19849 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
19851         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
19852         Remove macro.
19853         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
19854         <kernel-features.h>.
19855         (signalfd) [__NR_signalfd4]: Make code unconditional.
19856         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
19858 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19860         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
19861         style.
19863 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19865         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
19866         (__pthread_enable_asynccancel): Use JUMPTARGET to call
19867         __pthread_unwind.
19868         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19869         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
19870         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19871         (__condvar_cleanup1): Likewise.
19873 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
19875         [BZ #19822]
19876         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
19877         move it to the final $@ location.
19879 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19881         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
19882         access where posix_spawn success and pid argument is null.
19883         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
19884         success case.
19886 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
19888         * sysdeps/mach/hurd/i386/c++-types.data: New file.
19890         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
19892         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
19893         and __fcntl.
19894         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
19895         __fcntl only.
19896         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
19897         adding attribute_hidden to __open and __fcntl.
19899         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
19900         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
19901         depend on libc-modules.h,
19902         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
19904 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
19906         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
19907         Remove macro.
19908         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
19909         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
19910         entry.
19912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
19913         Remove macro.
19914         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
19915         include <kernel-features.h>.
19916         [!__ASSUME_FALLOCATE]: Remove conditional code.
19917         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
19919 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19921         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
19922         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
19923         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
19924         (_ZGVdN4v_cos_avx2): Likewise.
19925         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
19926         (_ZGVdN4v_cos): Likewise.
19927         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
19928         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
19929         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
19930         (_ZGVdN4v_exp_avx2): Likewise.
19931         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
19932         (_ZGVdN4v_exp): Likewise.
19933         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
19934         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
19935         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
19936         (_ZGVdN4v_log_avx2): Likewise.
19937         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
19938         (_ZGVdN4v_log): Likewise.
19939         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
19940         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
19941         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
19942         (_ZGVdN4vv_pow_avx2): Likewise.
19943         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
19944         (_ZGVdN4vv_pow): Likewise.
19945         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
19946         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
19947         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
19948         (_ZGVdN4v_sin_avx2): Likewise.
19949         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
19950         (_ZGVdN4v_sin): Likewise.
19951         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
19952         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
19953         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
19954         (_ZGVdN4vvv_sincos_avx2): Likewise.
19955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
19956         (_ZGVdN4vvv_sincos): Likewise.
19957         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
19958         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
19959         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
19960         (_ZGVbN4v_cosf_sse4): Likewise.
19961         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
19962         (_ZGVdN8v_cosf_avx2): Likewise.
19963         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
19964         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
19965         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
19966         (_ZGVbN4v_expf_sse4): Likewise.
19967         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
19968         (_ZGVdN8v_expf_avx2): Likewise.
19969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
19970         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
19971         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
19972         (_ZGVbN4v_logf_sse4): Likewise.
19973         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
19974         (_ZGVdN8v_logf_avx2): Likewise.
19975         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
19976         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
19977         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
19978         (_ZGVbN4vv_powf_sse4): Likewise.
19979         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
19980         (_ZGVdN8vv_powf_avx2): Likewise.
19981         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19982         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
19983         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19984         (_ZGVbN4vvv_sincosf_sse4): Likewise.
19985         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19986         (_ZGVdN8vvv_sincosf_avx2): Likewise.
19987         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
19988         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
19989         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
19990         (_ZGVbN4v_sinf_sse4): Likewise.
19991         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
19992         (_ZGVdN8v_sinf_avx2): Likewise.
19993         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19994         Use JUMPTARGET to call callee.
19995         (WRAPPER_IMPL_SSE2_ff): Likewise.
19996         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19997         (WRAPPER_IMPL_AVX): Likewise.
19998         (WRAPPER_IMPL_AVX_ff): Likewise.
19999         (WRAPPER_IMPL_AVX_fFF): Likewise.
20000         (WRAPPER_IMPL_AVX512): Likewise.
20001         (WRAPPER_IMPL_AVX512_ff): Likewise.
20002         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20003         Likewise.
20004         (WRAPPER_IMPL_SSE2_ff): Likewise.
20005         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20006         (WRAPPER_IMPL_AVX): Likewise.
20007         (WRAPPER_IMPL_AVX_ff): Likewise.
20008         (WRAPPER_IMPL_AVX_fFF): Likewise.
20009         (WRAPPER_IMPL_AVX512): Likewise.
20010         (WRAPPER_IMPL_AVX512_ff): Likewise.
20011         (WRAPPER_IMPL_AVX512_fFF): Likewise.
20013 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20015         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20016         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20017         qualifier.
20018         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20019         internal_function qualifiers.
20021 2016-03-15  Carlos O'Donell <carlos@redhat.com>
20023         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20024         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20025         * math/atest-exp.c (exp_mpn): Mark chk unused.
20026         * math/atest-exp2.c (exp_mpn): Likewise.
20027         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20028         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20030 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
20032         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20033         Remove macro.
20034         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20035         <kernel-features.h>.
20036         [__NR_ppoll]: Make code unconditional.
20037         [!__ASSUME_PPOLL]: Remove conditional code.
20039         * sysdeps/unix/sysv/linux/kernel-features.h
20040         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20041         (__ASSUME_ACCEPT4): Likewise.
20042         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20043         Define.
20044         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20045         Likewise.
20046         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20047         Likewise.
20048         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20049         Likewise.
20050         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20051         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20052         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20053         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20054         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20055         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20056         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20057         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20058         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20059         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20060         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20061         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20062         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20063         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20064         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20065         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20066         Likewise.
20067         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20068         Likewise.
20069         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20070         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20071         0x040300].
20072         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20073         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20074         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20075         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20076         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20077         0x030300].
20078         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20079         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20080         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20081         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20082         0x040300].
20083         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20084         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20085         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20086         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20087         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20088         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20089         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20090         0x030300].
20091         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20092         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20093         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20094         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20095         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20096         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20097         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20098         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20099         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20100         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20101         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20102         0x040300].
20103         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20104         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20105         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20106         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20107         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20108         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20109         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20110         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20111         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20112         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20113         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20114         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20115         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20116         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20117         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20118         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20119         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20120         Likewise.
20121         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20122         Likewise.
20124 2016-03-15  Andreas Schwab  <schwab@suse.de>
20126         [BZ #19257]
20127         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20128         statp->_u._ext.nscount as loop count.
20130 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20132         * math/test-signgam-finite-c99.c: Also #undef
20133         __LIBC_INTERNAL_MATH_INLINES.
20134         * math/test-signgam-main.c: Likewise.
20136 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20138         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20139         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20140         (MADV_FREE): Likewise.
20141         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20142         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20143         EPOLLEXCLUSIVE.
20145 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20147         * timezone/README: Remove mention of checktab.awk. Mention wiki
20148         SharedSourceFiles.
20150 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20152         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20153         WUNTRACED.
20155 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20157         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20158         order to match the type of p when calling atomic_exchange_acq().
20160 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20162         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20163         cfi_offset calls.
20164         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20165         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20166         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20167         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20168         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20170 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20172         * timezone/checktab.awk: Removed.
20174 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20176         * manual/math.texi (Errors in Math Functions): Document relaxed
20177         accuracy goals for IBM long double.
20178         * math/libm-test.inc (test_exceptions): Always allow spurious
20179         "underflow" and "inexact" exceptions for IBM long double.
20181 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20183         [BZ #19762]
20184         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20185         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20186         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20187         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20188         (bit_arch_*): This for feature array.
20189         (bit_*): Renamed to ...
20190         (bit_cpu_*): This for cpu array.
20191         (index_*): Renamed to ...
20192         (index_arch_*): This for feature array.
20193         (index_*): Renamed to ...
20194         (index_cpu_*): This for cpu array.
20195         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20196         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20197         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20198         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20199         bit_##name with index_cpu_##name and bit_cpu_##name.
20200         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20201         bit_##name with index_arch_##name and bit_arch_##name.
20203 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
20205         [BZ #19792]
20206         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20207         Terminate FDE before return label.
20209 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
20211         [BZ #19790]
20212         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20213         (rintl): Define as macro.
20214         [USE_AS_NEARBYINTL] (__rintl): Likewise.
20215         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20216         of fesetround.  Ensure results are evaluated before end of scope.
20217         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20218         USE_AS_NEARBYINTL and include s_rintl.c.
20219         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20220         Disable exception traps in new environment.
20221         (libc_feholdsetround_ppc_ctx): Likewise.
20223 2016-03-08  Roland McGrath  <roland@hack.frob.com>
20225         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20226         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20227         (tst_audit10_aux) [__AVX512F__]: ... here.
20229 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
20231         * include/sys/auxv.h: New file.
20233 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20235         [BZ #19759]
20236         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20238 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20240         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20241         operand modifier.
20242         (feclearexcept): Likewise.
20244 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20246         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20247         to reflect the entire 32-bit HWCAP.
20248         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20249         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
20251 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20253         [BZ #19783]
20254         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20255         $(test-via-rtld-prefix).
20256         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20258 2016-03-08  Florian Weimer  <fweimer@redhat.com>
20260         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20261         union wait.  Report any non-zero exit status as error.
20263 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20265         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20266         configured with --enable-hardcoded-path-in-tests.
20268 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
20270         [BZ #19677]
20271         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20272         (__ieee754_remainderl): Put zero low parts in canonical form.
20273         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20274         file.  Based on
20275         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20276         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20277         with wrapper round test-fmodrem-ldbl-128ibm.c.
20278         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20279         file.
20280         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20281         Likewise.
20282         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20283         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20285 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20287         [BZ #19610]
20288         * elf/ldconfig.c (opt_link): Update comment.
20289         (options): Update help string for option -X.
20290         (search_dir): Unlink stale symbolic link only if updating symbolic
20291         links.
20292         * elf/tst-ldconfig-X.sh: New file.
20293         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
20294         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
20296 2016-03-07  Andreas Schwab  <schwab@suse.de>
20298         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
20299         needed arguments.
20301 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
20303         [BZ #15333]
20304         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
20305         to lstat64.
20307 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20309         * libio/filedoalloc.c (isatty): Remove.
20310         (local_isatty): Add comment.  Call __isatty directly.
20311         (_IO_file_doallocate): Update comment.  Assume _LIBC.
20312         * libio/wfiledoalloc.c (isatty): Remove.
20313         (_IO_wfile_doallocate): Update comment.
20315 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20317         [BZ #19269]
20318         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
20319         tst-audit4-aux.o.
20320         (tst-audit10): Depend on tst-audit10-aux.o.
20321         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
20322         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
20323         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
20324         instead of inline AVX code.
20325         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
20326         instead of inline AVX512 code.
20327         * sysdeps/x86_64/tst-audit4-aux.c: New file
20328         * sysdeps/x86_64/tst-audit10-aux.c: New file
20330         [BZ #19648]
20331         * test-skeleton.c (main): Do not set RLIMIT_DATA.
20333 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20335         [BZ #14750]
20336         [BZ #10354]
20337         [BZ #18433]
20338         * include/sched.h (__clone): Add hidden prototype.
20339         (__clone2): Likewise.
20340         * include/unistd.h (__dup): Likewise.
20341         * posix/Makefile (tests): Add tst-spawn2.
20342         * posix/tst-spawn2.c: New file.
20343         * sysdeps/posix/dup.c (__dup): Add hidden definition.
20344         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
20345         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20346         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20347         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20348         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20349         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
20350         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20351         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
20352         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20353         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20355         Likewise.
20356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20357         Likewise.
20358         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20359         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20360         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20361         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20362         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20363         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20364         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20365         * sysdeps/unix/sysv/linux/nptl-signals.h
20366         (____nptl_is_internal_signal): New function.
20367         * sysdeps/unix/sysv/linux/spawni.c: New file.
20369         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
20370         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
20371         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
20372         * posix/tst-execvp2.c (do_test): Likewise.
20373         * posix/tst-execvp3.c (do_test): Likewise.
20374         * posix/tst-execvp4.c (do_test): Likewise.
20375         * posix/tst-execvpe1.c: New file.
20376         * posix/tst-execvpe2.c: Likewise.
20377         * posix/tst-execvpe3.c: Likewise.
20378         * posix/tst-execvpe4.c: Likewise.
20379         * posix/tst-execvpe5.c: Likewise.
20380         * posix/tst-execvpe6.c: Likewise.
20382         [BZ #19534]
20383         * posix/execl.c (execl): Remove dynamic memory allocation.
20384         * posix/execle.c (execle): Likewise.
20385         * posix/execlp.c (execlp): Likewise.
20387 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20389         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
20390         Replace .text with .text.avx512.
20391         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
20392         Likewise.
20394 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
20396         * sysdeps/generic/libnsl.abilist: New file.
20397         * sysdeps/generic/libutil.abilist: New file.
20399 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20401         [BZ #19762]
20402         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
20403         HAS_ARCH_FEATURE with Fast_Rep_String.
20404         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
20405         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
20406         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
20407         Likewise.
20408         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
20409         Likewise.
20410         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
20411         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
20412         Likewise.
20413         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
20414         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
20415         Likewise.
20417 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20419         [BZ #19745]
20420         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
20421         with *%rax in call.
20423 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20425         [BZ #19745]
20426         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
20427         with *__libc_start_main@GOTPCREL(%rip) in call.
20429 2016-03-04  Roland McGrath  <roland@hack.frob.com>
20431         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
20432         inside conditional for nonempty $(CXX).
20434         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
20435         nonempty.
20437         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
20438         to test for empty $(CXX) rather than $(CXX) of "no".
20440 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20442         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
20444 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
20445             H.J. Lu  <hongjiu.lu@intel.com>
20447         [BZ #18880]
20448         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
20449         instead of Slow_BSF, and also check for Fast_Copy_Backward to
20450         enable __memcpy_ssse3_back.
20452 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20454         [BZ #19758]
20455         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20456         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
20458 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
20460         [BZ #19490]
20461         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
20462         (__fentry__): Likewise.
20464 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20466         * gmon/Makefile (noprof): Add $(sysdep_noprof).
20467         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
20469 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20471         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
20472         __mcount_internal directly.
20473         (C_LABEL(__fentry__)): Likewise.
20474         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
20475         directly.
20477 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20479         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20480         (__start_context): Call __setcontext directly.
20482 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
20484         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20485         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20486         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
20487         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20488         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20489         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20490         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
20491         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20492         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20493         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
20494         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20495         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20496         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20497         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20498         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20499         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20500         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
20501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20502         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20503         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20504         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
20505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20506         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20507         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20508         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
20509         Remove conditional code.
20510         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20511         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
20512         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20513         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20514         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
20515         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20516         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20517         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20518         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20519         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20520         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20521         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20523 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
20525         * NEWS (2.23): Fix typo in bug 19048 text.
20527 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
20529         [BZ #14259]
20530         * Makeconfig: Rename msgcatdir to localedir.
20531         Rename inst_msgcatdir to inst_localedir.
20532         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
20533         * config.make.in: Add localedir.
20534         * elf/Makefile ($(objpfx)sotruss): Use localedir.
20535         (ldd-rewrite): Likewise.
20536         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
20537         (install-others): Use inst_localedir.
20538         (CPPFLAGS): Use localedir.
20539         * locale/Makefile (locale-CPPFLAGS): Likewise.
20540         * po/Makefile (mo-installed): Use inst_localedir.
20542         [BZ #19575]
20543         * localedata/charmaps/GB18030: Update comments regarding PAU to
20544         non-PUA mappings.
20546 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
20548         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
20549         test for header.
20550         * sysdeps/unix/sysv/linux/configure: Regenerated.
20551         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
20552         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
20553         Remove conditional code.
20554         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
20556         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20557         Define to 3.2.0.
20558         (arch_minimum_kernel): Likewise.
20559         * sysdeps/unix/sysv/linux/configure: Regenerated.
20560         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
20561         Define to 2.6.32.
20562         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
20563         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
20564         (arch_minimum_kernel): Define to 2.6.32.
20565         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
20566         * README: Document Linux 3.2 requirement.
20567         * manual/install.texi (Linux): Document Linux 3.2 headers
20568         requirement.
20569         * INSTALL: Regenerated.
20571 2016-02-24  Andreas Schwab  <schwab@suse.de>
20573         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
20574         if !NO_LONG_DOUBLE.
20576 2016-02-22  Roland McGrath  <roland@hack.frob.com>
20578         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
20579         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
20581 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
20583         [BZ #19512]
20584         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
20586 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20588         * posix/tst-dir.c: Include libc-internal.h.
20590 2016-02-20  Florian Weimer  <fweimer@redhat.com>
20592         [BZ #19056]
20593         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
20594         * manual/filesys.texi (Reading/Closing Directory): Mention
20595         deprecaion.
20596         * posix/tst-dir.c (main): Disable deprecation warning in test.
20598 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
20600         [BZ #19679]
20601         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
20602         Renamed to ...
20603         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
20604         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20605         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
20606         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20607         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20608         * sysdeps/x86_64/dl-trampoline.h
20609         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20610         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20612 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20614         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
20616 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20618         * elf/elf.h (R_386_GOT32X): New.
20619         (R_386_NUM): Update.
20620         (R_X86_64_GOTPCRELX: New.
20621         (R_X86_64_REX_GOTPCRELX): New.
20622         (R_X86_64_NUM): Update.
20624 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
20626         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20628 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
20630         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20631         assign attr->stackaddr to it, and adjust it down when
20632         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20633         [_STACK_GROWS_UP]: Delete assert.
20634         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20635         Implement stack grows up logic.
20636         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20637         stack grows up logic.
20639 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20641         * NEWS: Update with 2.24 template.
20643 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20645         [BZ #19678]
20646         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20647         Ensure +0.0 is returned when taking the next value below the least
20648         positive value.
20650 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20652         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20653         available.  Do not define NO_THREADS.
20654         * malloc/malloc.c: Do not check NO_THREADS.
20655         * malloc/arena.c: Likewise.
20657 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20659         * malloc/malloc.c (__libc_mallinfo): Update comment.
20660         (struct malloc_par): Remove max_total_mem member, it was always 0.
20661         (int_mallinfo): Store 0 into usmblks (no functional change).
20662         * malloc/hooks.c (struct malloc_state): Document that
20663         max_total_mem is always 0.
20664         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20665         always 0.
20666         * manual/memory.texi (Statistics of Malloc): Likewise.
20668 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20670         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20671         * malloc/arena.c (arena_max): Remove.
20672         (heap_trim, _int_new_arena): Do not update arena_max.
20674 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20676         * resolv/res_init.c (res_ninit): Update comment.
20678 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20680         [BZ #19505]
20681         * posix/spawn_int.h: Add headers and include guard.
20682         (__spawn_valid_fd): New function.
20683         * posix/spawn_faction_addopen.c
20684         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
20685         * posix/spawn_faction_addclose.c
20686         (posix_spawn_file_actions_addclose): Likewise.
20687         * posix/spawn_faction_adddup2.c
20688         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
20689         second file descriptor.
20690         * posix/spawn_valid_fd.c: New file.
20691         * posix/tst-posix_spawn-fd.c: New file.
20692         * posix/Makefile (routines): Add spawn_valid_fd.
20693         (tests): Add tst-posix_spawn-fd.
20695 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20697         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
20698         (do_test): Limit the number of arenas, so that we can use fewer
20699         outer threads.  Limit timeout to 3 seconds, in preparation for a
20700         larger TIMEOUT value.
20702 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20704         [BZ #19674]
20705         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
20706         sign in overflowing and underflowing results when overflow or
20707         underflow is detected early.  Include sign in result before rather
20708         than after scaling.
20710         [BZ #19603]
20711         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20712         (__ieee754_remainderl): Adjust sign of integer version of low part
20713         when taking absolute value of high part.
20714         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20715         * math/libm-test.inc (remainder_test_data): Add another test.
20716         (remquo_test_data): Likewise.
20718 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
20720         [BZ #19602]
20721         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
20722         equal high parts and both low parts zero specially.
20723         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
20724         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
20725         Add test-fmodl-ldbl-128ibm.
20727         [BZ #19595]
20728         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
20729         common logic for all cases of shifting subnormal results.  Do not
20730         insert sign bit in shifted mantissa.  Always pass -1023 as biased
20731         exponent to ldbl_insert_mantissa in subnormal case.
20733         [BZ #19594]
20734         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
20735         on high and low parts then adjust result and use
20736         ldbl_canonicalize_int if needed.
20738         [BZ #19593]
20739         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
20740         on high part and __floor or __ceil on low part then use
20741         ldbl_canonicalize_int if needed.
20743         [BZ #19592]
20744         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
20745         high and low parts then use ldbl_canonicalize_int if needed.
20747         [BZ #17899]
20748         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
20749         New function.
20750         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
20751         on high and low parts then use ldbl_canonicalize_int if needed.
20753 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20755         * configure: Regenerated.
20757         * po/libc.pot: Regenerated.
20759         * po/be.po: Updated translation.
20760         * po/bg.po: Likewise.
20761         * po/ca.po: Likewise.
20762         * po/cs.po: Likewise.
20763         * po/da.po: Likewise.
20764         * po/el.po: Likewise.
20765         * po/eo.po: Likewise.
20766         * po/es.po: Likewise.
20767         * po/fi.po: Likewise.
20768         * po/fr.po: Likewise.
20769         * po/gl.po: Likewise.
20770         * po/hr.po: Likewise.
20771         * po/hu.po: Likewise.
20772         * po/ia.po: Likewise.
20773         * po/id.po: Likewise.
20774         * po/it.po: Likewise.
20775         * po/ja.po: Likewise.
20776         * po/lt.po: Likewise.
20777         * po/nb.po: Likewise.
20778         * po/nl.po: Likewise.
20779         * po/pt_BR.po: Likewise.
20780         * po/rw.po: Likewise.
20781         * po/sk.po: Likewise.
20782         * po/sl.po: Likewise.
20783         * po/sv.po: Likewise.
20784         * po/tr.po: Likewise.
20785         * po/zh_CN.po: Likewise.
20786         * po/zh_TW.po: Likewise.
20788         * version.h (RELEAES): Set to "development".
20789         (VERSION): Set to 2.23.90.
20791         * version.h (RELEASE): Set to "stable".
20792         (VERSION): Set to 2.23.
20793         * include/feature.h (__GLIBC_MINOR__): Set to 23.
20795         * NEWS: Updated fixed bugs.
20797 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
20798             Wilco Dijkstra  <wdijkstr@arm.com>
20800         [BZ #19462]
20801         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
20802         (_STRING_INLINE_unaligned): This.
20803         * include/string.h: Include <string_private.h>.
20804         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
20805         _STRING_INLINE_unaligned.
20806         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
20807         (_STRING_INLINE_unaligned): New.
20808         * sysdeps/aarch64/string_private.h: New file.
20809         * sysdeps/generic/string_private.h: Likewise.
20810         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
20811         * sysdeps/s390/string_private.h: Likewise.
20812         * sysdeps/x86/string_private.h: Likewise.
20813         * sysdeps/m68k/m680x0/m68020/bits/string.h
20814         (_STRING_ARCH_unaligned): Renamed to ...
20815         (_STRING_INLINE_unaligned): This.
20816         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
20817         to ...
20818         (_STRING_INLINE_unaligned): This.
20819         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
20820         to ...
20821         (_STRING_INLINE_unaligned): This.
20822         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
20823         to ...
20824         (_STRING_INLINE_unaligned): This.
20826 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20827             H.J. Lu  <hongjiu.lu@intel.com>
20829         [BZ #19590]
20830         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
20831         relocation.
20833 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
20835         [BZ #18665]
20836         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
20837         *herrno_p.
20838         (gaih_getanswer): Document functional behviour. Return tryagain
20839         if any result is tryagain.
20840         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
20841         when freed.
20842         * resolv/res_send.c: Add copyright text.
20843         (__libc_res_nsend): Document that MAXPACKET is expected.
20844         (send_vc): Document. Remove buffer reuse.
20845         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
20846         size of the buffer. Add Dprint for truncated UDP buffer.
20848 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
20850         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
20851         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
20852         * INSTALL: Regenerate.
20854 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
20855             Jonathan Wakely  <jwakely@redhat.com>
20856             Carlos O'Donell  <carlos@redhat.com>
20858         [BZ 19439]
20859         * math/Makefile (tests): Add test-math-isinff.
20860         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
20861         * math/bits/mathcalls.h [__USE_MISC]: Use
20862         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
20863         functions not in C++11 and which don't conflict e.g. isinff,
20864         isinfl etc.
20865         * math/test-math-isinff.cc: New file.
20867 2016-02-12  Florian Weimer  <fweimer@redhat.com>
20869         * misc/bug18240.c (do_test): Set RLIMIT_AS.
20871 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20873         [BZ #19529]
20874         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
20876 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20878         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20880 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
20882         [BZ #19550]
20883         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
20884         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
20885         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
20886         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
20887         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
20888         New syscall entry.
20889         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
20890         New syscall entry.
20891         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
20892         syscall entry.
20894 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
20896         [BZ #18240]
20897         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
20898         unsigned int wraparound.
20900 2016-01-27  Florian Weimer  <fweimer@redhat.com>
20902         [BZ #18240]
20903         * misc/bug18240.c: New test.
20904         * misc/Makefile (tests): Add it.
20906 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
20907             Joseph Myers  <joseph@codesourcery.com>
20909         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
20910         load in branch delay slot when less than a word of input left.
20912 2016-01-27  Andreas Schwab  <schwab@suse.de>
20914         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
20915         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
20916         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
20917         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
20919 2016-01-26  David S. Miller  <davem@davemloft.net>
20921         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
20923 2016-01-25  David S. Miller  <davem@davemloft.net>
20925         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
20926         __sqrtl_finite.
20927         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
20928         instead using versioned_symbol.
20929         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
20930         of entries.
20932         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
20933         __sqrtl_finite to GLIBC_2.23
20935 2016-01-25  Ricchard Henderson  <rth@redhat.com>
20937         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20939 2016-01-25  Andreas Schwab  <schwab@suse.de>
20941         [BZ #17514]
20942         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
20943         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
20944         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
20945         * nptl/tst-mutex-errorcheck.c: New file.
20947 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20949         [BZ #18560]
20950         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
20951         (IPCOP_semop): Likewise.
20952         (IPCOP_semget): Likewise.
20953         (IPCOP_semctl): Likewise.
20954         (IPCOP_msgsnd): Likewise.
20955         (IPCOP_msgrcv): Likewise.
20956         (IPCOP_msgget): Likewise.
20957         (IPCOP_msgctl): Likewise.
20958         (IPCOP_shmat): Likewise.
20959         (IPCOP_shmdt): Likewise.
20960         (IPCOP_shmget): Likewise.
20961         (IPCOP_shmctl): Likewise.
20963 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20965         * string/tst-endian.c: Include <libc-internal.h>.
20966         (do_test): Ignore tautological-compare warnings around
20967         "htobeXX (beXXtoh (i)) != i" and
20968         "htoleXX (leXXtoh (i)) != i" if-statements.
20970 2016-01-24  David S. Miller  <davem@davemloft.net>
20972         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
20973         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
20974         alias.
20975         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
20976         __sqrtl_finite.
20978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20980 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
20982         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
20983         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
20984         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20986 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20988         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
20989         (thread_func): Use new function to simplify barrier check.
20990         (do_test): Use new function to simplify checking barrier exit
20991         code, and actually join the child thread.
20993 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20995         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
20996         semicolon.
20997         (__libc_tend): Likewise.
20998         (__libc_tabort): Likewise.
21000 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
21002         * sysdeps/nios2/libm-test-ulps: Update.
21003         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21004         (__gtsf2): Likewise.
21005         (__unorddf2): Likewise.
21006         (__unordsf2): Likewise.
21007         (__ledf2): Likewise.
21009 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
21011         * nis/nis_table.c (__follow_path): Disable diagnostic for
21012         uninitialized variable that is a false positive for gcc 4.7.
21013         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21015 2016-01-20  Roland McGrath  <roland@hack.frob.com>
21017         * sysdeps/nacl/lowlevellock-futex.h
21018         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21019         Always evaluate PRIVATE argument.
21021 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
21023         [BZ #19490]
21024         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21025         (pthread_cond_broadcast): Use ENTRY/END
21026         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21027         (pthread_cond_signal): Likewise.
21028         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21029         Likewise.
21030         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21031         Likewise.
21032         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21033         Likewise.
21035 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
21037         * sysdeps/ieee754/dbl-64/s_finite.c
21038         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21039         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21040         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21041         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21042         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21045         (__gtsf2): Add as optional for libc.so.
21046         (__unordsf2): Likewise.
21047         (__signbit): Remove for libc.so.
21048         (__signbitl): Likewise.
21050 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21052         * iconvdata/bug-iconv11.c (test_ibm93x):
21053         Use %zu printf format specifier for size_t argument.
21055 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
21057         * math/gen-libm-test.pl (parse_ulps): Do not reduce
21058         already-recorded ulps.
21059         * sysdeps/arm/libm-test-ulps: Regenerated.
21060         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21061         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21062         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21064 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21065             Paul Pluzhnikov  <ppluzhnikov@google.com>
21067         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21068         assembler not supporting AVX-512.
21070 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21072         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21074 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21076         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21077         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21079         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21081         * sysdeps/arm/libm-test-ulps: Regenerated.
21083 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21085         [BZ #19451]
21086         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21088 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21090         [BZ #19486]
21091         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21092         * sysdeps/generic/fix-fp-int-convert-overflow.h
21093         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21094         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21095         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21096         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21097         Likewise.
21098         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21099         Avoid conversions to long int where inexact exceptions
21100         could be raised.
21101         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21102         Likewise.
21103         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21104         Avoid conversions to long long int where inexact exceptions
21105         could be raised.
21106         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21107         Likewise.
21109 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21111         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21112         * configure: Regenerated.
21114 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21116         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21118 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21120         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21121         outside of comment.
21123 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21125         * nptl/tst-barrier1.c: Add description on first line.
21126         * nptl/tst-barrier2.c: Likewise.
21127         * nptl/tst-barrier3.c: Likewise.
21128         * nptl/tst-barrier4.c: Likewise.
21129         * nptl/tst-barrier5.c: Likewise.
21131 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21133         [BZ #18868]
21134         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21136 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21139         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21140         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21141         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21142         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21143         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21144         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21145         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21146         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21147         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21148         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21150 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21152         [BZ #13065]
21153         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21154         new implementation.
21155         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21156         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21157         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21158         (BARRIER_IN_THRESHOLD): New macro.
21159         * nptl/pthread_barrierattr_setpshared.c
21160         (pthread_barrierattr_setpshared): Clean up.
21161         * nptl/tst-barrier4.c: Correct comment.
21162         * nptl/tst-barrier5.c: New file.
21163         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21164         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21165         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21166         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21167         * nptl/lowlevelbarrier.sym: Remove.
21168         * nptl/DESIGN-barrier.txt: Remove.
21169         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21170         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21171         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21172         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21173         error.
21174         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21175         implementation.
21177 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21179         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21180         (do_child): Mask SIGRTMIN while thr is running.
21182 2016-01-15  Martin Sebor  <msebor@redhat.com>
21184         [BZ #19432]
21185         * iconvdata/Makefile: Add bug-iconv11.
21186         * iconvdata/bug-iconv11.c: New test.
21187         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21188         * iconvdata/ibm933.c: Same.
21189         * iconvdata/ibm935.c: Same.
21190         * iconvdata/ibm937.c: Same.
21191         * iconvdata/ibm939.c: Same.
21193 2016-01-15  Martin Sebor  <msebor@redhat.com>
21195         [BZ #19443]
21196         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21197         [DEBUG] (_ufc_set_bits): Declare used.
21198         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21199         [DEBUG] (print_all): Declare used.
21200         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21201         operands of the ternary ?: expression to target type.
21202         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21203         calling the undeclared abort.
21204         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21206 2016-01-15  Martin Sebor  <msebor@redhat.com>
21208         [BZ #18755]
21209         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21210         warnings.
21211         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21212         (__gai_create_helper_thread): Same.
21213         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21214         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21215         to suppress -Wmaybe-uninitialized warnings.
21217 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
21219         [BZ #19465]
21220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21221         inside if.
21222         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21223         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21226 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
21228         [BZ #19466]
21229         * time/tst-mktime2.c (time_t_max): Removed.
21230         (time_t_min): Likewise.
21231         (TYPE_SIGNED): New.
21232         (TYPE_MINIMUM): Likewise.
21233         (TYPE_MAXIMUM): Likewise.
21234         (TIME_T_MIN): Likewise.
21235         (TIME_T_MAX): Likewise.
21236         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21237         and TIME_T_MIN.
21238         (do_test): Likewise.
21240 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
21242         [BZ #19467]
21243         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21244         index_Fast_Unaligned_Load flag for Excavator family CPUs.
21246 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
21248         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21250 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
21252         * benchtests/Makefile (PYTHON): Define.
21253         (bench-func): Use $(PYTHON) to run python scripts.
21254         ($(objpfx)bench-%.c): Likewise.
21256 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
21258         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21259         leading slash when `file_name' is "/".
21261 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
21263         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21264         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21265         Likewise.
21266         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21267         Likewise.
21268         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21269         Likewise.
21270         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21271         enum constant and macro.
21272         (PTRACE_SETSIGMASK): Likewise.
21273         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21274         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21275         (PTRACE_GETSIGMASK): Likewise.
21276         (PTRACE_SETSIGMASK): Likewise.
21277         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21278         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21279         Likewise.
21280         (PTRACE_SETSIGMASK): Likewise.
21281         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21282         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21283         (PTRACE_GETSIGMASK): Likewise.
21284         (PTRACE_SETSIGMASK): Likewise.
21285         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21286         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21287         Likewise.
21288         (PTRACE_SETSIGMASK): Likewise.
21289         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21290         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21291         Likewise.
21292         (PTRACE_SETSIGMASK): Likewise.
21293         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21294         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
21295         Likewise.
21296         (PTRACE_SETSIGMASK): Likewise.
21297         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21299 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
21300             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21302         [BZ #19439]
21303         * math/bits/mathcalls.h
21304         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
21305         prototype.
21306         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
21308 2016-01-11  Andreas Schwab  <schwab@suse.de>
21310         [BZ #19253]
21311         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
21312         cache when TZDEFRULES was used.
21313         * time/tst-tzname.c: New file.
21314         * time/Makefile (test): Add tst-tzname.
21315         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
21316         * timezone/Makefile (test-zones): Add $(posixrules-file).
21317         ($(testdata)/$(posixrules-file)): New rule.
21319 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
21321         Fix doc quoting problems with Texinfo 5
21322         Without this change, in the info file output, Texinfo 5 quotes code
21323         in text with undirected single quotes 'like this' and generates
21324         code examples that with many PDF readers cannot be cut out of PDFs
21325         and pasted into code.
21326         * manual/libc.texinfo: Configure the libc manual like the GNU
21327         Emacs manual, by using @documentencoding and setting
21328         txicodequoteundirected and txicodequotebacktick.  This way,
21329         Texinfo 5 quotes code in text with directed single quotes ‘like
21330         this’ and produces examples that can be cut out of PDFs.  This
21331         change causes Texinfo 5 to generate info files that contain UTF-8
21332         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
21333         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
21335 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21337         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
21338         __libc_tabort, __libc_tend): New wrappers that enforce compiler
21339         barriers to their respective compiler built-ins.
21340         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
21341         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
21342         * sysdeps/powerpc/sysdep.h: Likewise.
21343         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
21344         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
21345         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
21347 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
21349         * scripts/config.guess: Revert previous shebang change.
21350         * scripts/config.sub: Likewise.
21351         * scripts/mkinstalldirs: Likewise.
21353 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21355         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
21356         PPC_FEATURE2_HAS_IEEE128.
21357         * sysdeps/powerpc/dl-procinfo.c:
21358         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
21360 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
21362         [BZ #19415]
21363         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
21364         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
21365         (_dl_lookup_address): Rewrite using function resolver trampoline.
21366         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
21367         two bits in address.
21369 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21371         * longlong.h: Change !__SHMEDIA__ to
21372         (!defined (__SHMEDIA__) || !__SHMEDIA__).
21373         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
21375 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
21376             Joseph Myers  <joseph@codesourcery.com>
21377             Mark Shinwell  <shinwell@codesourcery.com>
21378             Andrew Stubbs  <ams@codesourcery.com>
21379             Rich Felker <dalias@libc.org>
21381         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
21383 2016-01-07  Richard Henderson  <rth@redhat.com>
21385         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
21387 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21389         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
21390         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
21391         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21392         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21393         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
21395 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
21396             Joseph Myers  <joseph@codesourcery.com>
21398         * timezone/private.h: Update from tzcode 2015g.
21399         * timezone/tzfile.h: Likewise.
21400         * timezone/tzselect.ksh: Likewise.
21401         * timezone/zdump.c: Likewise.
21402         * timezone/zic.c: Likewise.
21403         * timezone/ialloc.c: Remove file.
21404         * timezone/scheck.c: Likewise.
21405         * timezone/Makefile (extra-objs): Remove variable.
21406         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
21407         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
21408         -Wno-maybe-uninitialized.
21409         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
21410         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
21411         (CFLAGS-ialloc.c): Remove variable.
21412         (CFLAGS-scheck.c): Likewise.
21413         * timezone/README: Update list of files from tzcode.
21415 2016-01-07  Khem Raj  <raj.khem@gmail.com>
21417         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
21418         instead of __fxprintf when _LIBC is undefined.
21420 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
21422         * catgets/test-gencat.sh: Remove space after shebang.
21423         * conform/GlibcConform.pm: Likewise.
21424         * conform/check-header-lists.sh: Likewise.
21425         * conform/conformtest.pl: Likewise.
21426         * conform/linknamespace.pl: Likewise.
21427         * conform/list-header-symbols.pl: Likewise.
21428         * debug/catchsegv.sh: Likewise.
21429         * elf/genrtldtbl.awk: Likewise.
21430         * elf/tst-pathopt.sh: Likewise.
21431         * elf/tst-rtld-load-self.sh: Likewise.
21432         * grp/tst_fgetgrent.sh: Likewise.
21433         * iconvdata/gen-8bit-gap-1.sh: Likewise.
21434         * iconvdata/gen-8bit-gap.sh: Likewise.
21435         * iconvdata/gen-8bit.sh: Likewise.
21436         * iconvdata/run-iconv-test.sh: Likewise.
21437         * intl/tst-gettext.sh: Likewise.
21438         * intl/tst-gettext2.sh: Likewise.
21439         * intl/tst-gettext4.sh: Likewise.
21440         * intl/tst-gettext6.sh: Likewise.
21441         * intl/tst-translit.sh: Likewise.
21442         * io/ftwtest-sh: Likewise.
21443         * libio/test-freopen.sh: Likewise.
21444         * locale/gen-translit.pl: Likewise.
21445         * malloc/tst-mtrace.sh: Likewise.
21446         * manual/check-safety.sh: Likewise.
21447         * manual/libc-texinfo.sh: Likewise.
21448         * manual/tsort.awk: Likewise.
21449         * manual/xtract-typefun.awk: Likewise.
21450         * nptl/tst-cancel-wrappers.sh: Likewise.
21451         * nptl/tst-tls6.sh: Likewise.
21452         * posix/globtest.sh: Likewise.
21453         * posix/tst-getconf.sh: Likewise.
21454         * posix/wordexp-tst.sh: Likewise.
21455         * scripts/check-c++-types.sh: Likewise.
21456         * scripts/check-local-headers.sh: Likewise.
21457         * scripts/config.guess: Likewise.
21458         * scripts/config.sub: Likewise.
21459         * scripts/cpp: Likewise.
21460         * scripts/cross-test-ssh.sh: Likewise.
21461         * scripts/documented.sh: Likewise.
21462         * scripts/evaluate-test.sh: Likewise.
21463         * scripts/gen-libc-abis: Likewise.
21464         * scripts/gen-sorted.awk: Likewise.
21465         * scripts/list-fixed-bugs.py: Likewise.
21466         * scripts/merge-test-results.sh: Likewise.
21467         * scripts/mkinstalldirs: Likewise.
21468         * scripts/rellns-sh: Likewise.
21469         * scripts/test-installation.pl: Likewise.
21470         * scripts/update-copyrights: Likewise.
21471         * stdio-common/tst-printf.sh: Likewise.
21472         * stdio-common/tst-unbputc.sh: Likewise.
21473         * stdlib/tst-fmtmsg.sh: Likewise.
21474         * stdlib/tst-setcontext3.sh: Likewise.
21475         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
21476         * sysdeps/unix/make-syscalls.sh: Likewise.
21478 2016-01-06  John David Anglin  <dave.anglin@bell.net>
21480         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
21481         asm stw with atomic_exchange_rel.  Add explanatory comment.
21482         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21483         Likewise.
21485 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21487         [BZ #19122]
21488         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
21489         * sysdeps/generic/dl-unistd.h: New file.
21490         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
21492 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21494          [BZ #19122]
21495          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
21496          * sysdeps/generic/dl-mman.h: New file.
21497          * sysdeps/mach/hurd/dl-mman.h: Likewise.
21499 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
21501         * manual/texinfo.tex: Update to version 2016-01-04.21 with
21502         trailing whitespace removed.
21503         * scripts/config.guess: Update to version 2016-01-01.
21504         * scripts/config.sub: Update to version 2016-01-01.
21505         * scripts/move-if-change: Update from gnulib.
21507 2016-01-04  Anton Blanchard  <anton@samba.org>
21509         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
21510         for array indices.
21511         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
21513 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
21515         * NEWS: Update copyright dates.
21516         * catgets/gencat.c (print_version): Likewise.
21517         * csu/version.c (banner): Likewise.
21518         * debug/catchsegv.sh: Likewise.
21519         * debug/pcprofiledump.c (print_version): Likewise.
21520         * debug/xtrace.sh (do_version): Likewise.
21521         * elf/ldconfig.c (print_version): Likewise.
21522         * elf/ldd.bash.in: Likewise.
21523         * elf/pldd.c (print_version): Likewise.
21524         * elf/sotruss.sh: Likewise.
21525         * elf/sprof.c (print_version): Likewise.
21526         * iconv/iconv_prog.c (print_version): Likewise.
21527         * iconv/iconvconfig.c (print_version): Likewise.
21528         * locale/programs/locale.c (print_version): Likewise.
21529         * locale/programs/localedef.c (print_version): Likewise.
21530         * login/programs/pt_chown.c (print_version): Likewise.
21531         * malloc/memusage.sh (do_version): Likewise.
21532         * malloc/memusagestat.c (print_version): Likewise.
21533         * malloc/mtrace.pl: Likewise.
21534         * manual/libc.texinfo: Likewise.
21535         * nptl/version.c (banner): Likewise.
21536         * nscd/nscd.c (print_version): Likewise.
21537         * nss/getent.c (print_version): Likewise.
21538         * nss/makedb.c (print_version): Likewise.
21539         * posix/getconf.c (main): Likewise.
21540         * scripts/test-installation.pl: Likewise.
21541         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21543         * All files with FSF copyright notices: Update copyright dates
21544         using scripts/update-copyrights.
21545         * intl/plural.c: Regenerated.
21546         * locale/programs/charmap-kw.h: Likewise.
21547         * locale/programs/locfile-kw.h: Likewise.
21549 2016-01-02  Helge Deller  <deller@gmx.de>
21551         [BZ #19285]
21552         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
21553         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
21554         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
21555         (MADV_xxK_PAGES): Remove.
21557 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
21559         [BZ #15421]
21560         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
21561         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
21562         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
21563         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
21565 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
21567         [BZ #19408]
21568         * sysdeps/unix/sysv/linux/personality.c: New file.
21569         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
21570         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
21571         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
21572         (sysdep_routines): Add personality.
21573         (tests): Add tst-personality.
21574         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
21575         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
21576         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
21577         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
21578         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
21579         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
21580         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
21581         Likewise.
21582         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
21583         Likewise.
21584         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
21585         Likewise.
21586         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
21587         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
21588         Likewise.
21590 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
21592         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
21593         (PATH_ARM_SYSTYPE): Remove.
21594         (PATH_CPUINFO): Likewise.
21595         (IO_BASE_FOOTBRIDGE): Likewise.
21596         (IO_SHIFT_FOOTBRIDGE): Likewise.
21597         (struct platform): Likewise.
21598         (init_iosys): Remove compatibility code for 2.4 kernels.
21599         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
21601 2015-12-29  Florian Weimer  <fweimer@redhat.com>
21603         * malloc/tst-malloc-thread-fail.c: New file.
21604         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
21605         (tst-malloc-thread-fail): Link against libpthread.
21607 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
21609         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
21610         (get_parser): New function.
21611         (main): New function.
21613 2015-12-29  Rob Wu  <rob@robwu.nl>
21615         [BZ #19369]
21616         * resolv/res_init.c (__res_vinit): Reset defdname before use.
21618 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
21620         [BZ #19270]
21621         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21623 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
21625         [BZ #15421]
21626         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21628 2015-12-23  Torvald Riegel  <triegel@redhat.com>
21630         [BZ #13690]
21631         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21632         after releasing it.
21633         (__lll_robust_unlock): Likewise.
21634         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21635         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21636         (lll_robust_unlock): Likewise.
21637         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21638         Prevent warnings in callers.
21640 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21642         * malloc/arena.c (list_lock): Update comment.
21644 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21646         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21647         __parse_hwcap_and_convert_at_platform to libc.a.
21649 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21651         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21652         platform and feature support for POWER9.
21653         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21654         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21655         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21656         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21657         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21658         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21659         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21660         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21662 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21664         Harmonize generic stdio-lock support with nptl
21666         This fixes build when _IO_funlockfile is a macro, fixes build where
21667         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21668         stack unwind.
21670         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21671         _IO_release_lock ): Use cleanup attribute on new
21672         _IO_acquire_lock_file variable instead of assuming that
21673         _IO_release_lock will be called.
21674         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21675         _IO_acquire_lock_needs_exceptions_enabled.
21676         (_IO_acquire_lock_clear_flags2): New macro.
21678 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21680         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21682 2015-12-21  Florian Weimer  <fweimer@redhat.com>
21684         [BZ #19182]
21685         * malloc/arena.c (list_lock): Document lock ordering requirements.
21686         (free_list_lock): New lock.
21687         (ptmalloc_lock_all): Comment on free_list_lock.
21688         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
21689         (detach_arena): Update comment.  free_list_lock is now needed.
21690         (_int_new_arena): Use free_list_lock around detach_arena call.
21691         Acquire arena lock after list_lock.  Add comment, including FIXME
21692         about incorrect synchronization.
21693         (get_free_list): Switch to free_list_lock.
21694         (reused_arena): Acquire free_list_lock around detach_arena call
21695         and attached threads counter update.  Add two FIXMEs about
21696         incorrect synchronization.
21697         (arena_thread_freeres): Switch to free_list_lock.
21698         * malloc/malloc.c (struct malloc_state): Update comments to
21699         mention free_list_lock.
21701 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21703         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
21704         Remove functions.
21705         (sloww, sloww1): Accept argument to offset quadrant.
21706         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
21707         quadrant.
21708         (__sin, __cos): Consolidate common code into new functions.
21709         (reduce_sincos_1, do_sincos_1): New functions.
21710         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21712         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
21713         code to new functions.
21714         (reduce_sincos_2, do_sincos_2): New functions.
21715         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21717         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
21718         common code for sincos.
21719         (__cos) [!IN_SINCOS]: Likewise.
21720         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
21721         New function.
21722         (__sincos): Use it.
21724 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
21726         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
21727         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
21728         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21730 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21732         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
21733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
21734         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21735         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
21736         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21737         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
21738         index_Prefer_No_VZEROUPPER): New feature.
21739         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
21740         Prefer_No_VZEROUPPER for Knights Landing.
21742 015-12-18  Torvald Riegel  <triegel@redhat.com>
21744         * math/atest-exp2.c (mp_exp_m1): Remove.
21746 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21748         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
21749         syscalls.
21750         (__SYSCALL0): New macro.
21751         (__SYSCALL1): Likewise.
21752         (__SYSCALL2): Likewise.
21753         (__SYSCALL3): Likewise.
21754         (__SYSCALL4): Likewise.
21755         (__SYSCALL5): Likewise.
21756         (__SYSCALL6): Likewise.
21757         (__SYSCALL_CONCAT_X): Likewise.
21758         (__SYSCALL_CONCAT): Likewise.
21759         (__SYSCALL_DIST): Likewise.
21760         (__SYSCALL_CALL): Likewise.
21762 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
21764         [BZ #19363]
21765         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
21767 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21769         [BZ #19375]
21770         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
21771         negative subnormals.
21773 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
21775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21776         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
21777         (INTERNAL_SYSCALL_NCS): Use it.
21778         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21780 2015-12-16  Florian Weimer  <fweimer@redhat.com>
21782         [BZ #19243]
21783         * malloc/arena.c (get_free_list): Remove assert and adjust
21784         reference count handling.  Add comment about reused_arena
21785         interaction.
21786         (reused_arena): Add comments abount get_free_list interaction.
21787         * malloc/tst-malloc-thread-exit.c: New file.
21788         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
21789         (tst-malloc-thread-exit): Link against libpthread.
21791 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21793         [BZ #19367]
21794         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
21795         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
21796         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
21797         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
21798         (index_Prefer_MAP_32BIT_EXEC): Likewise.
21800 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21802         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
21803         Silvermont optimizations for Knights Landing.
21805 2015-12-15  Andreas Schwab  <schwab@suse.de>
21807         [BZ #17197]
21808         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
21809         immediately after emitting SI.
21810         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
21811         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
21812         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
21813         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
21814         * iconvdata/bug-iconv10.c: New file.
21815         * iconvdata/Makefile (tests): Add bug-iconv10.
21816         ($(objpfx)bug-iconv10.out): New rule.
21818 2015-12-15  Florian Weimer  <fweimer@redhat.com>
21820         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
21821         aliasing violation.
21823 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
21825         [BZ #18472]
21826         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
21827         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
21828         conditionals for them.
21829         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
21830         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
21831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
21832         sys/kdaemon.h.
21833         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
21834         compat-only syscall, obsoleted in glibc 2.23.
21835         (create_module): Likewise.
21836         (get_kernel_syms): Likewise.
21837         (query_module): Likewise.
21838         (uselib): Likewise.
21839         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
21841 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
21843         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
21844         <linux/version.h>.
21845         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
21846         conditional code.
21847         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
21848         and ioshift_name initialization.
21850 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21852         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21853         Fix indentation.
21855 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21857         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
21859 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21861         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
21863 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
21864             Jakub Wilk  <jwilk@debian.org>
21866         [BZ #19347]
21867         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
21868         to change the group of the device to the tty group.
21870 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
21872         Split large string section; add truncation advice
21873         * manual/examples/strncat.c: Remove.
21874         This example was misleading, as the code would have undefined
21875         behavior if "hello" was longer than SIZE.  Anyway, the manual
21876         shouldn't encourage strncpy+strncat for this sort of thing.
21877         * manual/string.texi (Copying Strings and Arrays): Split into
21878         three sections Copying Strings and Arrays, Concatenating Strings,
21879         and Truncating Strings, as this section was way too long.  All
21880         cross-referenced changed.  Add advice about string-truncation
21881         functions.  Remove misleading strncat example.
21883 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
21885         * manual/nss.texi (NSS Modules Interface): Document
21886         NSS_STATUS_NOTFOUND and SUCCESS.
21888 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21890         [BZ 18568]
21891         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21892         201505L, for Unicode 8.
21894 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
21896         * locale/C-translit.h: Regenerate.
21898 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21900         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
21901         and U+0153.
21903 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
21905         [BZ #19351]
21906         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
21907         expanding log(1+z), compare z rather than its square with epsilon
21908         to determine when to avoid evaluating the expansion.
21910         [BZ #19350]
21911         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21912         Increase overflow threshold.
21914         [BZ #19349]
21915         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
21916         when small.
21918         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21919         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21920         New macro.
21921         [__LINUX_KERNEL_VERSION >= 0x040300]
21922         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21923         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21924         Likewise.
21925         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21926         Likewise.
21927         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21928         Likewise.
21929         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21930         Likewise.
21931         [__LINUX_KERNEL_VERSION >= 0x040300]
21932         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21933         [__LINUX_KERNEL_VERSION >= 0x040300]
21934         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21935         [__LINUX_KERNEL_VERSION >= 0x040300]
21936         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21937         [__LINUX_KERNEL_VERSION >= 0x040300]
21938         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21939         [__LINUX_KERNEL_VERSION >= 0x040300]
21940         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21941         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21942         Likewise.
21943         [__LINUX_KERNEL_VERSION >= 0x040300]
21944         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21945         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21946         Likewise.
21947         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21948         Likewise.
21949         [__LINUX_KERNEL_VERSION >= 0x040300]
21950         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21951         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21952         Likewise.
21953         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21954         Likewise.
21955         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21956         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
21957         Likewise.
21958         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
21959         Likewise.
21960         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21961         Likewise.
21962         [__LINUX_KERNEL_VERSION >= 0x040300]
21963         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21964         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21965         Likewise.
21966         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21967         Likewise.
21968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21969         Likewise.
21970         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21971         Likewise.
21972         [__LINUX_KERNEL_VERSION >= 0x040300]
21973         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21974         [__LINUX_KERNEL_VERSION >= 0x040300]
21975         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21976         [__LINUX_KERNEL_VERSION >= 0x040300]
21977         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21978         [__LINUX_KERNEL_VERSION >= 0x040300]
21979         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21980         [__LINUX_KERNEL_VERSION >= 0x040300]
21981         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21982         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21983         Likewise.
21984         [__LINUX_KERNEL_VERSION >= 0x040300]
21985         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21986         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21987         Likewise.
21988         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21989         Likewise.
21990         [__LINUX_KERNEL_VERSION >= 0x040300]
21991         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21992         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21993         Likewise.
21994         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21995         Likewise.
21996         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21997         (__ASSUME_SOCKET_SYSCALL): Likewise.
21998         (__ASSUME_BIND_SYSCALL): Likewise.
21999         (__ASSUME_CONNECT_SYSCALL): Likewise.
22000         (__ASSUME_LISTEN_SYSCALL): Likewise.
22001         (__ASSUME_ACCEPT_SYSCALL): Likewise.
22002         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22003         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22004         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22005         (__ASSUME_SEND_SYSCALL): Likewise.
22006         (__ASSUME_SENDTO_SYSCALL): Likewise.
22007         (__ASSUME_RECV_SYSCALL): Likewise.
22008         (__ASSUME_RECVFROM_SYSCALL): Likewise.
22009         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22010         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22011         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22012         (__ASSUME_SENDMSG_SYSCALL): Likewise.
22013         (__ASSUME_RECVMSG_SYSCALL): Likewise.
22014         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22015         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22016         Likewise.
22017         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22018         Likewise.
22019         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22020         Likewise.
22021         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22022         Likewise.
22023         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22024         Likewise.
22025         [__LINUX_KERNEL_VERSION >= 0x020625]
22026         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22027         [__LINUX_KERNEL_VERSION >= 0x020625]
22028         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22029         [__LINUX_KERNEL_VERSION >= 0x020625]
22030         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22031         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22032         Likewise.
22033         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22034         Likewise.
22035         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22036         Likewise.
22037         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22038         Likewise.
22039         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22040         Likewise.
22041         [__LINUX_KERNEL_VERSION >= 0x020625]
22042         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22043         [__LINUX_KERNEL_VERSION >= 0x020625]
22044         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22045         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22046         Likewise.
22047         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22048         Likewise.
22050 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22052         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22053         record the current if the current ABI and CPU support the FP64
22054         extension.
22055         (has-modd-spreg): Define to record the current if the current ABI and
22056         CPU support 32-bit floating point values in odd FPU registers.
22057         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22058         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22059         $(has-modd-spreg) equals yes.
22060         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22061         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22062         $(has-modd-spreg) equal yes.
22064 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22066         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22067         basename.
22069 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22071         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22072         (bench-string): ... here.
22073         (bench): Add bench-string.
22074         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22075         to *-benchset to reflect what they are.
22076         (benchset): Adjust.
22078         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22079         cos-inputs.
22081 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22083         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22084         __attribute__ ((__simd__)) for vector math function declarations.
22086 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22088         Fix typo in strncat, wcsncat manual entries
22089         * manual/string.texi (Copying and Concatenation): Fix typos in
22090         sample implementations of strncat and wcsncat, by having them use
22091         the old value of the destination length, not the new one.
22093 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22095         [BZ #16961]
22096         [BZ #16962]
22097         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22098         string on the stack for strtod.
22099         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22100         a string on the stack for strtof.
22101         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22102         constructing a string on the stack for strtold.
22103         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22104         __strtold_nan to GLIBC_PRIVATE.
22105         * math/test-nan-overflow.c: New file.
22106         * math/test-nan-payload.c: Likewise.
22107         * math/Makefile (tests): Add test-nan-overflow and
22108         test-nan-payload.
22110 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22112         Consistency about byte vs character in string.texi
22113         * manual/string.texi (String and Array Utilities):
22114         Distinguish more carefully among bytes, multibyte characters,
22115         and wide characters.  Use "byte" when talking about C 'char',
22116         to distinguish it more clearly from multibyte characters.
22117         Say "wide character" or "multibyte character" instead of
22118         "character", when a wide or multibyte character is intended.
22119         Similarly for "multibyte string" versus "string".
22120         Define these terms more carefully.
22122 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22124         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22125         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22126         Likewise.
22127         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22128         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22129         * sysdeps/sh/math_private.h: New file.
22130         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22131         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22132         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22133         long double function name.
22134         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22135         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22136         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22137         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22138         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22140         Remove __finitel, __isinfl, and __isnanl.
22141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22142         Likewise.
22143         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22145         Remove __finitel.
22146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22147         Likewise.
22148         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22150 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22152         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22153         installed libmvec_nonshared.a.
22155 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22157         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22158         (sysdep_routines): Likewise.
22159         (sysdep-rtld-routines): Likewise.
22160         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22161         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22162         * sysdeps/powerpc/Versions: Added new
22163         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22164         * sysdeps/powerpc/hwcapinfo.c: New file.
22165         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22166         and parse hwcap, hwcap2 and platform number information.
22167         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22168         to store HWCAP+HWCAP2 and platform number.
22169         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22170         for HWCAP+HWCAP2 and platform number in the TCB.
22171         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22172         the HWCAP, HWCAP2 and platform number in the TCB.
22173         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22174         (TLS_INIT_TP): Included calls to add the hwcap and
22175         at_platform values in the TCB in TP initialization.
22176         (TLS_DEFINE_INIT_TP): Likewise.
22177         (THREAD_GET_HWCAP): New macro.
22178         (THREAD_SET_HWCAP): Likewise.
22179         (THREAD_GET_AT_PLATFORM): Likewise.
22180         (THREAD_SET_AT_PLATFORM): Likewise.
22181         * sysdeps/powerpc/powerpc32/dl-machine.h:
22182         (dl_platform_init): New function that calls
22183         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22184         powerpc32.
22185         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22186         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22187         this functionality, static linking case.
22188         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
22189         linking case.
22190         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22191         __parse_hwcap_and_convert_at_platform for the static linking case.
22192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22193         Included the new __parse_hwcap_and_convert_at_platform symbol in the
22194         ABI list for GLIBC 2.23.
22195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22196         Likewise.
22197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22198         Likewise.
22200 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
22202         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22203         * configure: Regenerate.
22204         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22205         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
22207 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
22209         * iconvdata/ibm930.c: Add comment explaining encoding uses.
22210         * iconvdata/ibm933.c: Likewise.
22211         * iconvdata/ibm935.c: Likewise.
22212         * iconvdata/ibm937.c: Likewise.
22213         * iconvdata/ibm939.c: Likewise.
22215 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22217         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22218         pthread_join.
22219         * nptl/tst-cancel21.c (tf): Likewise.
22221 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22223         [BZ #19313]
22224         * bits/typesizes.h (__CPU_MASK_TYPE): New.
22225         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22226         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22227         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22228         Likewise.
22229         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22230         Likewise.
22231         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22232         Likewise.
22233         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22234         Likewise.
22235         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22236         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22237         unsigned long int with __CPU_MASK_TYPE.
22239 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22241         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22243 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
22245         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22246         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22247         t512.x.
22248         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22250 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
22252         [BZ #19214]
22253         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22254         argument to return extended model.  Update family and model
22255         with extended family and model when family == 0x0f.
22256         (init_cpu_features): Updated.
22258 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22260         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22261         signed off_t, so 32bit bigger than 2GiB values are fine actually.
22263         * sysdeps/mach/hurd/mmap64.c: New file.
22265 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
22267         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22268         rights for its main user thread in NEWTASK.
22270 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
22272         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22273         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22275 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
22277         [BZ #14259]
22278         * Makeconfig: Rename localedir to complocaledir.
22279         Rename inst_localedir to inst_complocaledir.
22280         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22281         * config.make.in: Use complocaledir and libc_cv_complocaledir.
22282         * configure.ac: Use libc_cv_complocaledir.
22283         * configure: Regenerate.
22284         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22285         -DCOMPLOCALEDIR.
22286         * locale/findlocale.c: Use COMPLOCALEDIR.
22287         * locale/loadarchive.c: Likewise.
22288         * locale/programs/locale.c: Likewise.
22289         * locale/programs/localedef.c: Likewise.
22290         * locale/programs/locarchive.c: Likewise.
22291         * localedata/Makefile: Use inst_complocaledir.
22292         * sysdeps/gnu/configure: Regenerate.
22293         * sysdeps/hppa/configure: Regenerate.
22294         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22295         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22297         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22298         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22299         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22300         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22302 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
22304         [BZ #19058]
22305         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
22306         AS_NEEDED.
22307         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
22308         workaround.
22309         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
22310         libmvec-static-only-routines): Added new file.
22311         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
22313 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22315         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
22316         of interrupted RPC instead of restoring it.
22318         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
22319         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
22320         libc_hidden_def.
22321         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
22322         into initialized data instead of common. Define rtld_hidden_data_def.
22323         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
22324         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
22325         libc_hidden_def.
22326         (if_freenameindex): Add libc_hidden_weak.
22327         (if_nameindex): Add libc_hidden_weak.
22328         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
22329         __open64.
22330         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
22331         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
22332         * sysdeps/mach/nanosleep.c: Include <time.h>
22333         (__nanosleep): Rename to __libc_nanosleep.
22334         (__nanosleep): Add weak_alias.
22335         (nanosleep): Update alias.
22337 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
22339         * stdlib/strtod_nan.c: New file.
22340         * stdlib/strtod_nan_double.h: Likewise.
22341         * stdlib/strtod_nan_float.h: Likewise.
22342         * stdlib/strtod_nan_main.c: Likewise.
22343         * stdlib/strtod_nan_narrow.h: Likewise.
22344         * stdlib/strtod_nan_wide.h: Likewise.
22345         * stdlib/strtof_nan.c: Likewise.
22346         * stdlib/strtold_nan.c: Likewise.
22347         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
22348         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
22349         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
22350         * wcsmbs/wcstod_nan.c: Likewise.
22351         * wcsmbs/wcstof_nan.c: Likewise.
22352         * wcsmbs/wcstold_nan.c: Likewise.
22353         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
22354         strtold_nan.
22355         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
22356         wcstof_nan.
22357         * include/stdlib.h (__strtof_nan): Declare and use
22358         libc_hidden_proto.
22359         (__strtod_nan): Likewise.
22360         (__strtold_nan): Likewise.
22361         (__wcstof_nan): Likewise.
22362         (__wcstod_nan): Likewise.
22363         (__wcstold_nan): Likewise.
22364         * include/wchar.h (____wcstoull_l_internal): Declare.
22365         * stdlib/strtod_l.c: Do not include <ieee754.h>.
22366         (____strtoull_l_internal): Remove declaration.
22367         (STRTOF_NAN): Define macro.
22368         (SET_MANTISSA): Remove macro.
22369         (STRTOULL): Likewise.
22370         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
22371         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
22372         (STRTOF_NAN): Define macro.
22373         (SET_MANTISSA): Remove macro.
22374         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
22375         (SET_MANTISSA): Remove macro.
22376         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
22377         macro.
22378         (SET_MANTISSA): Remove macro.
22379         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
22380         macro.
22381         (SET_MANTISSA): Remove macro.
22382         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
22383         (SET_MANTISSA): Remove macro.
22384         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
22385         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
22386         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
22388         [BZ #19266]
22389         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
22390         upper case and lower case letters inside NAN(), not using TOLOWER.
22391         * stdlib/tst-strtod-nan-locale-main.c: New file.
22392         * stdlib/tst-strtod-nan-locale.c: Likewise.
22393         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
22394         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
22395         Depend on $(gen-locales).
22396         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
22397         * wcsmbs/tst-wcstod-nan-locale.c: New file.
22398         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
22399         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
22400         Depend on $(gen-locales).
22401         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
22403 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
22405         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
22407         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
22409         __finitel, __isinfl, and __isnanl.
22410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22411         Likewise.
22412         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
22414         __finitel.
22415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22416         Likewise.
22417         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22419 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22421         * malloc/memusage.c (me): Remove redundant getenv call.
22423 2015-10-24  Florian Weimer  <fweimer@redhat.com>
22425         [BZ #19143]
22426         [BZ #19164]
22427         * nptl/check-cpuset.h: Remove.
22428         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22429         Remove CPU set size check.
22430         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22431         Likewise.
22432         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
22433         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22434         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
22435         (__pthread_setaffinity_new): Remove CPU set size check.
22436         * sysdeps/unix/sysv/linux/sched_setaffinity.c
22437         (__kernel_cpumask_size): Remove.
22438         (__sched_setaffinity_new): Remove CPU set size check.
22439         * manual/threads.texi (Default Thread Attributes): Remove stale
22440         reference to check_cpuset_attr, determine_cpumask_size in comment.
22441         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
22442         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
22443         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
22444         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
22445         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
22446         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
22447         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
22448         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
22449         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
22450         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
22451         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
22452         skeleton test file.
22453         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
22454         tst-affinity-pid.
22456 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22458         * scripts/update-abilist.sh: New file.
22459         * Makefile (+subdir_targets): Add subdir_update-all-abi.
22460         * Makerules (update-all-abi-%, update-all-abi)
22461         (subdir_update-all-abi): New targets.
22462         * elf/Makefile (update-all-abi): New target.
22464 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22466         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
22467         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
22468         (__libc_lock_define_initialized): Use it.
22469         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
22470         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
22471         * malloc/malloc.c (main_arena): Likewise.
22472         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22473         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22475 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
22477         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22478         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
22479         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22480         (PTRACE_O_MASK): Update value.
22481         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
22482         New value in enum __ptrace_setoptions.
22483         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22484         (PTRACE_O_MASK): Update value.
22485         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22486         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22487         (PTRACE_O_MASK): Update value.
22488         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
22489         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22490         (PTRACE_O_MASK): Update value.
22491         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
22492         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22493         (PTRACE_O_MASK): Update value.
22494         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
22495         New value in enum __ptrace_setoptions.
22496         (PTRACE_O_MASK): Update value.
22497         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
22498         New value in enum __ptrace_setoptions.
22499         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22500         (PTRACE_O_MASK): Update value.
22502         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
22503         New macro.
22504         (PACKET_AUXDATA): Likewise.
22505         (PACKET_ORIGDEV): Likewise.
22506         (PACKET_VERSION): Likewise.
22507         (PACKET_HDRLEN): Likewise.
22508         (PACKET_RESERVE): Likewise.
22509         (PACKET_TX_RING): Likewise.
22510         (PACKET_LOSS): Likewise.
22511         (PACKET_VNET_HDR): Likewise.
22512         (PACKET_TX_TIMESTAMP): Likewise.
22513         (PACKET_TIMESTAMP): Likewise.
22514         (PACKET_FANOUT): Likewise.
22515         (PACKET_TX_HAS_OFF): Likewise.
22516         (PACKET_QDISC_BYPASS): Likewise.
22517         (PACKET_ROLLOVER_STATS): Likewise.
22518         (PACKET_FANOUT_DATA): Likewise.
22519         (PACKET_MR_UNICAST): Likewise.
22521         [BZ #19242]
22522         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
22523         (TOUPPER): Likewise.
22524         * stdlib/tst-strtol-locale-main.c: New file.
22525         * stdlib/tst-strtol-locale.c: Likewise.
22526         * stdlib/Makefile (tests): Add tst-strtol-locale.
22527         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
22528         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
22529         Depend on $(gen-locales).
22530         * wcsmbs/tst-wcstol-locale.c: New file.
22531         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
22532         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
22533         tr_TR.ISO-8859-9.
22534         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
22535         Depend on $(gen-locales).
22537 2015-11-20  Roland McGrath  <roland@hack.frob.com>
22539         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
22540         __glibc_likely instead of __builtin_expect.  After falling back to
22541         dyncode_create in a non-ET_DYN case, use the allocate_code_data
22542         system interface to register the code pages as occupied.
22544 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
22546         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22547         [!ARM_MATH_PRIVATE_H].
22548         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
22549         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22550         [!HPPA_MATH_PRIVATE_H].
22551         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
22552         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
22553         to [!I386_MATH_PRIVATE_H].
22554         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
22555         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
22556         Change guard to [!M68K_MATH_PRIVATE_H].
22557         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
22558         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
22559         guard to [!MICROBLAZE_MATH_PRIVATE_H].
22560         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
22561         macro.
22562         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22563         [!MIPS_MATH_PRIVATE_H].
22564         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
22565         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22566         [!NIO2_MATH_PRIVATE_H].
22567         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
22568         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22569         [!TILE_MATH_PRIVATE_H].
22570         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
22572         [BZ #15421]
22573         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
22574         initialize with 0 and define as weak alias of __signgam.
22575         * include/math.h [!_ISOMAC] (__signgam): Declare.
22576         * math/Makefile (libm-calls): Add w_lgamma_compat.
22577         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
22578         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
22579         test-signgam-ullong-init.
22580         (tests-static): Add test-signgam-uchar-static,
22581         test-signgam-uchar-init-static, test-signgam-uint-static,
22582         test-signgam-uint-init-static, test-signgam-ullong-static and
22583         test-signgam-ullong-init-static.
22584         (CFLAGS-test-signgam-uchar.c): New variable.
22585         (CFLAGS-test-signgam-uchar-init.c): Likewise.
22586         (CFLAGS-test-signgam-uchar-static.c): Likewise.
22587         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22588         (CFLAGS-test-signgam-uint.c): Likewise.
22589         (CFLAGS-test-signgam-uint-init.c): Likewise.
22590         (CFLAGS-test-signgam-uint-static.c): Likewise.
22591         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22592         (CFLAGS-test-signgam-ullong.c): Likewise.
22593         (CFLAGS-test-signgam-ullong-init.c): Likewise.
22594         (CFLAGS-test-signgam-ullong-static.c): Likewise.
22595         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22596         * math/Versions (libm): Add GLIBC_2.23.
22597         * math/lgamma-compat.h: New file.
22598         * math/test-signgam-main.c: Likewise.
22599         * math/test-signgam-uchar-init-static.c: Likewise.
22600         * math/test-signgam-uchar-init.c: Likewise.
22601         * math/test-signgam-uchar-static.c: Likewise.
22602         * math/test-signgam-uchar.c: Likewise.
22603         * math/test-signgam-uint-init-static.c: Likewise.
22604         * math/test-signgam-uint-init.c: Likewise.
22605         * math/test-signgam-uint-static.c: Likewise.
22606         * math/test-signgam-uint.c: Likewise.
22607         * math/test-signgam-ullong-init-static.c: Likewise.
22608         * math/test-signgam-ullong-init.c: Likewise.
22609         * math/test-signgam-ullong-static.c: Likewise.
22610         * math/test-signgam-ullong.c: Likewise.
22611         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
22612         wrapper of w_lgamma_main.c.
22613         * math/w_lgamma_compat.c: New file.
22614         * math/w_lgamma_compatf.c: Likewise.
22615         * math/w_lgamma_compatl.c: Likewise.
22616         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
22617         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22618         defining compatibility symbols.
22619         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
22620         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
22621         wrapper of w_lgammaf_main.c.
22622         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
22623         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22624         defining compatibility symbols.
22625         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
22626         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22627         wrapper of w_lgammal_main.c.
22628         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
22629         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22630         defining compatibility symbols.
22631         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22632         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22633         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22634         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22635         <lgamma-compat.h>.
22636         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22637         (__ieee754_gamma): Define as alias.
22638         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22639         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22640         <lgamma-compat.h>.
22641         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22642         (__ieee754_gammaf): Define as alias.
22643         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22644         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22645         <lgamma-compat.h>.
22646         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22647         (__ieee754_gammal): Define as alias.
22648         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22649         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22650         <math/w_lgamma_compat.c>.
22651         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22652         Define as alias of __lgamma_compat and use in defining lgammal.
22653         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22654         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22655         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22656         (USE_AS_COMPAT): New macro.
22657         (LGAMMA_OLD_VER): Undefine and redefine.
22658         (lgammal): Do not define here.
22659         (gammal): Only define here if [GAMMA_ALIAS].
22660         * conform/linknamespace.pl (@whitelist): Remove signgam.
22661         * sysdeps/nacl/libm.abilist: Update.
22662         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22663         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22664         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22665         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22666         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22667         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22668         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22669         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22670         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22671         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22672         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22673         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22675         Likewise.
22676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22677         Likewise.
22678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22679         Likewise.
22680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22681         Likewise.
22682         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22683         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22684         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22685         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22686         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22688         Likewise.
22689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22690         Likewise.
22691         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22692         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22693         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22695 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22697         [BZ #16364]
22698         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
22699         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
22701 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22703         * sysdeps/s390/fpu/bits/mathinline.h:
22704         Use __asm__ [__volatile__] instead of asm [volatile].
22705         * sysdeps/s390/abort-instr.h: Likewise.
22706         * sysdeps/s390/atomic-machine.h: Likewise.
22707         * sysdeps/s390/bits/string.h: Likewise.
22708         * sysdeps/s390/dl-tls.h: Likewise.
22709         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22710         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22711         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22712         * sysdeps/s390/fpu/fesetround.c: Likewise.
22713         * sysdeps/s390/fpu/fpu_control.h: Likewise.
22714         * sysdeps/s390/fpu/s_fma.c: Likewise.
22715         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
22716         * sysdeps/s390/memusage.h: Likewise.
22717         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
22718         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
22719         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
22720         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
22721         * sysdeps/s390/nptl/tls.h: Likewise.
22722         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
22723         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22724         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22725         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
22726         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22727         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22728         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
22729         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22730         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22731         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
22732         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
22733         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22734         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22735         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
22736         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22737         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22738         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
22739         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22740         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
22741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22742         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
22743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22744         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
22746 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22747             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22749         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22750         Add lwarx hint, and use macro for acquire instruction.
22751         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22752         Likewise.
22753         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
22754         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
22755         update to use new atomic macros.
22757 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22759         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22760         (__lll_trylock_elision): Fix setting of adapt_count.
22761         * sysdeps/unix/sysv/linux/powerpc/htm.h
22762         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
22763         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
22764         (_ABORT_SYSCALL): Renumber, and clarify definition.
22765         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
22767 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22769         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
22770         after system headers to prevent MIN/MAX redefinition.  Define
22771         HAVE_ALLOCA to preserve builtin alloca usage.
22773 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22775         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
22776         static and don't set or restore rounding.
22777         (__cos)[IN_SINCOS]: Likewise.
22778         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
22779         (__sincos): Set and restore rounding mode.  Remove check for infinite
22780         or NaN input.
22782         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
22784         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
22785         as used.
22787 2015-11-16  Florian Weimer  <fweimer@redhat.com>
22789         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
22791 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22793         * config.make.in (have-glob-dat-reloc): New.
22794         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
22795         target supports GLOB_DAT relocaton. AC_SUBST.
22796         * configure: Regenerated.
22797         * elf/Makefile (tests): Add tst-prelink.
22798         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22799         (tst-prelink-ENV): New.
22800         ($(objpfx)tst-prelink-conflict.out): Likewise.
22801         ($(objpfx)tst-prelink-cmp.out): Likewise.
22802         * sysdeps/x86/tst-prelink.c: Moved to ...
22803         * elf/tst-prelink.c: Here.
22804         * sysdeps/x86/tst-prelink.exp: Moved to ...
22805         * elf/tst-prelink.exp: Here.
22806         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
22807         (tst-prelink-ENV): Removed.
22808         ($(objpfx)tst-prelink-conflict.out): Likewise.
22809         ($(objpfx)tst-prelink-cmp.out): Likewise.
22810         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
22812 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
22814         [BZ #14551]
22815         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
22816         (__mpn_construct_long_double): If high part overflows to infinity,
22817         set errno and recompute overflowed result of the correct sign.
22818         * sysdeps/ieee754/ldbl-128ibm/Makefile
22819         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
22820         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
22821         $(libm).
22822         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
22824 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
22826         [BZ #15479]
22827         [BZ #19238]
22828         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
22829         floating-point state after first operation on input.  Restore full
22830         state rather than just rounding mode.
22831         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
22832         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
22833         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
22835         [BZ #19235]
22836         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
22837         add 0.5 to integer arguments.
22838         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
22839         Likewise.
22840         (.LC2): New object.
22842 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
22844         * scripts/pylintrc (reports): Set to no.
22846 2015-11-10  Roland McGrath  <roland@hack.frob.com>
22848         * elf/dl-load.c (open_verify): Take new argument FD.
22849         Skip __open call if passed FD is not -1.
22850         (_dl_map_object, open_path): Update callers.
22851         * elf/dl-sysdep-open.h: New file.
22852         * elf/dl-load.c: Include it.
22853         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
22854         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
22855         * sysdeps/nacl/dl-sysdep-open.h: New file.
22856         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
22857         from libc to rtld.
22859 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22861         [BZ #19228]
22862         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
22863         and restore full floating-point state.
22864         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22865         Likewise.
22866         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
22867         Likewise.
22868         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
22869         Likewise.
22870         * math/test-nearbyint-except-2.c: New file.
22871         * math/Makefile (tests): Add test-nearbyint-except-2.
22873 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
22875         [BZ #19178]
22876         * sysdeps/x86/Makefile (tests): Add tst-prelink.
22877         (tst-prelink-ENV): New.
22878         ($(objpfx)tst-prelink-conflict.out): Likewise.
22879         ($(objpfx)tst-prelink-cmp.out): Likewise.
22880         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22881         * sysdeps/x86/tst-prelink.c: New file.
22882         * sysdeps/x86/tst-prelink.exp: Likewise.
22884 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22886         * math/auto-libm-test-in: Add another test of pow.
22887         * math/auto-libm-test-out: Regenerated.
22888         * math/libm-test.inc (pow_test_data): Add another test.
22890 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22892         [BZ #19219]
22893         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
22894         weak_alias to nearbyintl.
22896 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22898         * sysdeps/aarch64/bits/string.h: New file.
22899         (_STRING_ARCH_unaligned): Define.
22901 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22903         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
22904         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22905         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22906         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
22907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
22909 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
22911         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
22912         for original name of the DSO.  Add it to the name list of the DSO
22913         if it is actually given.
22914         (_dl_map_object): Keep track of whether an audit module rewrote
22915         the file name.  If yes, pass the original name to
22916         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
22917         debugging is enabled, log the change of the file name.
22918         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
22919         _dl_map_object_from_fd.
22920         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
22921         * elf/tst-audit11.c: New file
22922         * elf/tst-auditmod11.c: New file.
22923         * elf/tst-audit11mod1.c: New file.
22924         * elf/tst-audit11mod2.c: New file.
22925         * elf/tst-audit11mod2.map: New file.
22926         * elf/tst-audit12.c: New file
22927         * elf/tst-auditmod12.c: New file.
22928         * elf/tst-audit12mod1.c: New file.
22929         * elf/tst-audit12mod2.c: New file.
22930         * elf/tst-audit12mod2.map: New file.
22931         * elf/tst-audit12mod3.c: New file.
22933 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22935         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
22936         Don't create weak aliases,
22937         because versioned symbols are created later.
22938         * sysdeps/s390/s390-32/setjmp.S
22939         (setjmp, _setjmp): Remove weak and rename to an unique name
22940         in SHARED case due to existing versioned symbols.
22941         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22942         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
22943         (getcontext): Create weak alias only in non SHARED case.
22944         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22946 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22948         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
22949         (__ASSUME_*_SYSCALL) Define new macros.
22950         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
22951         Remove socketcall syscalls.
22952         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
22953         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
22954         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
22955         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
22956         * sysdeps/unix/sysv/linux/send.c (__libc_send):
22957         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
22959 2015-11-09  Florian Weimer  <fweimer@redhat.com>
22961         [BZ #12926]
22962         Terminate process on invalid netlink response.
22963         * sysdeps/unix/sysv/linux/netlinkaccess.h
22964         (__netlink_assert_response): Declare.
22965         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
22966         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
22967         (sysdep_routines): Add netlink_assert_response.
22968         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
22969         __netlink_assert_response.
22970         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
22971         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
22972         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
22973         __netlink_assert_response.
22975 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22977         [BZ #19178]
22978         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
22979         (RTYPE_CLASS_PLT): Likewise.
22980         (RTYPE_CLASS_COPY): Likewise.
22981         (RTYPE_CLASS_TLS): Likewise.
22982         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
22983         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
22984         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
22985         DL_DEBUG_PRELINK.
22987 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
22989         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
22990         calls with argument -0.5.
22991         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
22993         * configure.ac (libc_cv_z_nodelete): Remove configure test.
22994         (libc_cv_z_nodlopen): Likewise.
22995         (libc_cv_z_initfirst): Likewise.
22996         * configure: Regenerated.
22998 2015-11-06  Florian Weimer  <fweimer@redhat.com>
23000         Simplify abilist format to be line-based.
23001         * scripts/abilist.awk: Collect descriptors in the descs variable.
23002         (emit): Write descs variable and sort it
23003         externally, with sort.
23004         * sysdeps/**/*.abilist: Convert to new format.
23006 2015-11-06  Mark Wielaard  <mjw@redhat.com>
23008         [BZ #11460]
23009         * io/Makefile (routines): Add fts64.
23010         (tests): Add tst-fts and tst-fts-lfs.
23011         (CFLAGS-fts64.c): New.
23012         * io/Versions (GLIBC_2.23): New.
23013         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23014         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23015         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23016         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23017         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23018         (FTSENT64): Likewise.
23019         (fts64_children): Likewise.
23020         (fts64_close): Likewise.
23021         (fts64_open): Likewise.
23022         (fts64_read): Likewise.
23023         (fts64_set): Likewise.
23024         * io/fts64.c: New file.
23025         * io/tst-fts.c: New test.
23026         * io/tst-fts-lfs.c: Likewise.
23027         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23028         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23029         fts64_set.
23030         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23031         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23032         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23033         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23034         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23035         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23036         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23037         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23038         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23039         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23040         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23041         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23042         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23044         Likewise.
23045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23046         Likewise.
23047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23049         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23050         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23051         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23052         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23053         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23056         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23057         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23058         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23059         * sysdeps/wordsize-64/fts.c: New file.
23060         * sysdeps/wordsize-64/fts64.c: Likewise.
23061         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23062         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23063         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23064         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23066 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23068         * math/libm-test.inc (NON_FINITE): New macro.
23069         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23070         * math/gen-libm-test.pl (show_exceptions): Add argument
23071         $non_finite.
23072         (parse_args): Update call to show_exceptions.
23073         * math/test-math-finite.h: New file.
23074         * math/test-math-no-finite.h: Likewise.
23075         * math/test-double-finite.c: Likewise.
23076         * math/test-float-finite.c: Likewise.
23077         * math/test-ldouble-finite.c: Likewise.
23078         * math/test-double.c: Include "test-math-no-finite.h".
23079         * math/test-float.c: Include "test-math-no-finite.h".
23080         * math/test-ldouble.c: Include "test-math-no-finite.h".
23081         * math/test-math-inline.h (TEST_FINITE): New macro.
23082         * math/test-math-vector.h (TEST_FINITE): Likewise.
23083         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23084         (libm-tests): Add test-float-finite and test-double-finite.
23085         ($(objpfx)test-float-finite.o): New dependency on
23086         $(objpfx)libm-test.stmp.
23087         ($(objpfx)test-double-finite.o): Likewise.
23088         ($(objpfx)test-ldouble-finite.o): Likewise.
23089         (libm-test-no-inline-cflags): New variable.
23090         (libm-test-finite-cflags): Likewise.
23091         (CFLAGS-test-float-finite.c): Likewise.
23092         (CFLAGS-test-double-finite.c): Likewise.
23093         (CFLAGS-test-ldouble-finite.c): Likewise.
23094         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23095         (CFLAGS-test-double.c): Likewise.
23096         (CFLAGS-test-ldouble.c): Likewise.
23098 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23100         * io/fcntl.c (__fcntl): Add ... to prototype.
23101         * misc/ioctl.c (__ioctl): Likewise.
23102         * misc/syscall.c (syscall): Likewise.
23104 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23106         * scripts/list-fixed-bugs.py: New file.
23108         [BZ #19213]
23109         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23110         returned for argument 1.
23111         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23112         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23113         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23114         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23115         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23116         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23118         [BZ #19211]
23119         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23120         __USE_XOPEN], not if [!__USE_ISOC99].
23121         (lgammaf): Likewise.
23122         (lgammal): Likewise.
23123         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23124         (gammaf): Likewise.
23125         (gammal): Likewise.
23126         * math/test-signgam-finite-c11.c: New file.
23127         * math/test-signgam-finite-c99.c: Likewise.
23128         * math/test-signgam-finite.c: Likewise.
23129         * math/Makefile (tests): Add test-signgam-finite,
23130         test-signgam-finite-c99 and test-signgam-finite-c11.
23131         (CFLAGS-test-signgam-finite.c): New variable.
23132         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23133         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23135         [BZ #19212]
23136         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23137         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23138         500].
23139         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23140         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23141         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23142         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23143         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23144         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23145         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23146         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23147         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23148         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23150         [BZ #19209]
23151         * math/bits/math-finite.h (ldexp): Remove declaration.
23152         (ldexpf): Likewise.
23153         (ldexpl): Likewise.
23155         [BZ #19205]
23156         * math/bits/math-finite.h (acosf): Condition declaration on
23157         [__USE_ISOC99].
23158         (acosl): Likewise.
23159         (acoshf): Likewise.
23160         (acoshl): Likewise.
23161         (asinf): Likewise.
23162         (asinl): Likewise.
23163         (atan2f): Likewise.
23164         (atan2l): Likewise.
23165         (atanhf): Likewise.
23166         (atanhl): Likewise.
23167         (coshf): Likewise.
23168         (coshl): Likewise.
23169         (expf): Likewise.
23170         (expl): Likewise.
23171         (fmodf): Likewise.
23172         (fmodl): Likewise.
23173         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23174         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23175         (j0l): Likewise.
23176         (y0f): Likewise.
23177         (y0l): Likewise.
23178         (j1f): Likewise.
23179         (j1l): Likewise.
23180         (y1f): Likewise.
23181         (y1l): Likewise.
23182         (jnf): Likewise.
23183         (jnl): Likewise.
23184         (ynf): Likewise.
23185         (ynl): Likewise.
23186         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23187         (lgammal_r): Likewise.
23188         (__lgamma_r_finite): New declaration.
23189         (__lgammaf_r_finite): Likewise.
23190         (__lgammal_r_finite): Likewise.
23191         (lgamma): Use __lgamma_r_finite.
23192         (lgammaf): Condition definition on [__USE_ISOC99].  Use
23193         __lgammaf_r_finite.
23194         (lgammal): Condition definition on [__USE_ISOC99].  Use
23195         __lgammal_r_finite.
23196         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
23197         __lgamma_r_finite.
23198         (gammaf): Condition definition on [__USE_ISOC99].  Use
23199         __lgammaf_r_finite.
23200         (gammal): Condition definition on [__USE_ISOC99].  Use
23201         __lgammal_r_finite.
23202         (logf): Condition declaration on [__USE_ISOC99].
23203         (logl): Likewise.
23204         (log10f): Likewise.
23205         (log10l): Likewise.
23206         (ldexpf): Likewise.
23207         (ldexpl): Likewise.
23208         (powf): Likewise.
23209         (powl): Likewise.
23210         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23211         __USE_ISOC99].
23212         (remainderf): Condition declaration on [__USE_ISOC99].
23213         (remainderl): Likewise.
23214         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23215         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23216         (scalbl): Likewise.
23217         (sinhf): Condition declaration on [__USE_ISOC99].
23218         (sinhl): Likewise.
23219         (sqrtf): Likewise.
23220         (sqrtl): Likewise.
23222 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23224         * sysdeps/arm/atomic-machine.h
23225         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23226         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23227         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23228         Remove conditional code.
23229         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23230         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23231         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23232         Change conditional to [__ASSEMBLER__].
23233         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23234         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23235         [!__ASSEMBLER__].
23236         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23237         code.
23238         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23239         conditional macro definitions.
23240         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23241         (__arch_compare_and_exchange_val_16_acq): Likewise.
23242         (__arch_compare_and_exchange_val_32_acq): Likewise.
23243         (atomic_exchange_and_add): Likewise.
23244         (atomic_add): Likewise.
23245         (atomic_add_negative): Likewise.
23246         (atomic_add_zero): Likewise.
23247         (atomic_bit_set): Likewise.
23248         (atomic_bit_test_set): Likewise.
23249         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23250         code unconditional.
23251         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23253         * math/test-math-errno.h: New file.
23254         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23255         empty.
23256         (TEST_ERRNO): New macro.
23257         (TEST_EXCEPTIONS): Likewise.
23258         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23259         (TEST_EXCEPTIONS): Likewise.
23260         * math/test-math-vector.h (TEST_ERRNO): Likewise.
23261         * math/test-double.c: Include "test-math-errno.h".
23262         * math/test-float.c: Likewise.
23263         * math/test-ldouble.c: Likewise.
23264         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23265         code unconditional.
23266         (test_exceptions): Only run code if TEST_EXCEPTIONS.
23267         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23268         unconditional.
23269         (test_errno): Only run code if TEST_ERRNO.
23270         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23272 2015-11-04  Florian Weimer  <fweimer@redhat.com>
23274         * nptl/tst-once5.cc: Remove attribution.
23276 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23278         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23279         sqrt, tan, tanh, y0, y1 and yn.
23280         * math/auto-libm-test-out: Regenerated.
23281         * math/libm-test.inc (scalb_test_data): Add more tests.
23282         (scalbn_test_data): Likewise.
23283         (scalbln_test_data): Likewise.
23284         (signbit_test_data): Likewise.
23285         (sin_test_data): Likewise.
23286         (sincos_test_data): Likewise.
23287         (sinh_test_data): Likewise.
23288         (sqrt_test_data): Likewise.
23289         (tan_test_data): Likewise.
23290         (tanh_test_data): Likewise.
23291         (tgamma_test_data): Likewise.
23292         (y0_test_data): Likewise.
23293         (y1_test_data): Likewise.
23294         (yn_test_data): Likewise.
23295         (significand_test_data): Likewise.
23296         * sysdeps/i386/fpu/libm-test-ulps: Update.
23298 2015-11-03  David Kastrup  <dak@gnu.org>
23300         [BZ #18604]
23301         * assert/assert.h (assert): Don't macro-expand failed assertion
23302         expression in error message.
23303         * malloc/malloc.c (assert): Likewise.
23305 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
23307         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
23308         test.
23309         * configure: Regenerated.
23311 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
23313         * math/libm-test.inc (modf_test_data): Add more tests.
23314         (nearbyint_test_data): Likewise.
23315         (nextafter_test_data): Likewise.
23316         (nexttoward_test_data): Likewise.
23317         (pow_test_data): Likewise.
23318         (remainder_test_data): Likewise.
23319         (remquo_test_data): Likewise.
23320         (rint_test_data): Likewise.
23322         [BZ #19201]
23323         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23324         Check for zero remainder in case of large exponents and ensure
23325         correct sign of result in that case.
23326         * math/libm-test.inc (remainder_test_data): Add more tests.
23328         [BZ #6799]
23329         * math/s_nextafter.c: Include <errno.h>.
23330         (__nextafter): Set errno on overflow and underflow.
23331         * math/s_nexttowardf.c: Include <errno.h>.
23332         (__nexttowardf): Set errno on overflow and underflow.
23333         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
23334         (__nextafterl): Set errno on overflow and underflow.
23335         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
23336         (__nexttoward): Set errno on overflow and underflow.
23337         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
23338         (__nexttowardf): Set errno on overflow and underflow.
23339         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
23340         (__nextafterf): Set errno on overflow and underflow.
23341         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
23342         (__nextafterl): Set errno on overflow and underflow.
23343         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
23344         (__nexttoward): Set errno on overflow and underflow.
23345         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
23346         (__nexttowardf): Set errno on overflow and underflow.
23347         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
23348         (__nextafterl): Set errno on overflow and underflow.
23349         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
23350         (__nexttoward): Set errno on overflow and underflow.
23351         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
23352         (__nexttowardf): Set errno on overflow and underflow.
23353         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
23354         (__nexttoward): Set errno on overflow and underflow.
23355         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
23356         (__nexttowardf): Set errno on overflow and underflow.
23357         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
23358         (__nldbl_nexttowardf): Set errno on overflow and underflow.
23359         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
23360         (__nextafterl): Set errno on overflow and underflow.
23361         * math/libm-test.inc (nextafter_test_data): Do not allow errno
23362         setting to be missing on overflow.  Add more tests.
23363         (nexttoward_test_data): Likewise.
23365         * configure.ac (libc_cv_initfini_array): Remove configure test.
23366         * configure: Regenerated.
23368 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
23370         [BZ #19189]
23371         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
23372         non-finite argument handle arguments with negative sign.
23374         * math/libm-test.inc (j0_test_data): Do not test sign of zero
23375         result from infinite argument.
23376         (j1_test_data): Likewise.
23377         (jn_test_data): Likewise.
23378         (y0_test_data): Likewise.
23379         (y1_test_data): Likewise.
23380         (yn_test_data): Likewise.
23382         [BZ #16171]
23383         * math/w_remainder.c (drem): Define as weak alias of __remainder.
23384         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
23385         * math/w_remainderf.c (dremf): Define as weak alias of
23386         __remainderf.
23387         * math/w_remainderl.c (dreml): Define as weak alias of
23388         __remainderl.
23389         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
23390         __remainder.
23391         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
23392         __remainderf.
23393         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
23394         __remainderl.
23395         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
23396         weak alias of remainderl.
23397         * sysdeps/ieee754/ldbl-opt/w_remainder.c
23398         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
23399         alias of __remainder.
23400         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
23401         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
23402         strong alias of __remainderl.
23403         (dreml): Use long_double_symbol.
23404         * math/Makefile (libm-calls): Remove w_drem.
23405         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
23406         (CFLAGS-nldbl-drem.c): Remove variable.
23407         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
23408         * math/w_drem.c: Remove file.
23409         * math/w_dremf.c: Likewise.
23410         * math/w_dreml.c: Likewise.
23411         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
23412         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
23413         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
23415         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
23416         * sysdeps/i386/configure: Regenerated.
23417         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
23418         * sysdeps/x86_64/configure: Regenerated.
23420         * configure.ac (libc_cv_asm_protected_directive): Remove configure
23421         test.
23422         (libc_cv_visibility_attribute): Likewise.
23423         (libc_cv_protected_data): Test unconditionally.
23424         (libc_cv_broken_visibility_attribute): Remove configure test.
23425         (libc_cv_have_sdata_section): Test unconditionally.
23426         * configure: Regenerated.
23428         * include/libc-internal.h (libc_max_align_t): Remove typedef.
23429         * include/scratch_buffer.h: Include <stddef.h> instead of
23430         <libc-internal.h>.
23431         (struct scratch_buffer): Use max_align_t instead of
23432         libc_max_align_t.
23434 2015-10-29  Florian Weimer  <fweimer@redhat.com>
23436         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
23437         instead of extend_alloca.  Change control flow to avoid a goto.
23438         Remove assert which is trivially always true.
23440 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23442         [BZ #16068]
23443         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
23444         (FE_ALL_EXCEPT_X86): New macro.
23445         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23446         FE_ALL_EXCEPT.  Ensure precision control is included in
23447         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23448         handle "denormal operand exception" and clear FZ and DAZ bits.
23449         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
23450         (FE_ALL_EXCEPT_X86): New macro.
23451         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23452         FE_ALL_EXCEPT.  Ensure precision control is included in
23453         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23454         handle "denormal operand exception" and clear FZ and DAZ bits.
23455         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
23456         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
23457         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23458         test-fenv-x87 and test-fenv-sse-2.
23459         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
23461         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
23462         * math/test-double.h (BUILD_COMPLEX): New macro.
23463         * math/test-float.h (BUILD_COMPLEX): Likewise.
23464         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
23466         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
23467         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
23468         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
23469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
23470         instead of DBL_DENORM_MIN in comment.
23471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
23472         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23473         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
23474         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
23475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
23476         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23478 2015-10-28  Florian Weimer  <fweimer@redhat.com>
23480         [BZ #19048]
23481         * malloc/malloc.c (struct malloc_state): Update comment.  Add
23482         attached_threads member.
23483         (main_arena): Initialize attached_threads.
23484         * malloc/arena.c (list_lock): Update comment.
23485         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
23486         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
23487         (deattach_arena): New function.
23488         (_int_new_arena): Initialize arena reference count and deattach
23489         replaced arena.
23490         (get_free_list, reused_arena): Update reference count and deattach
23491         replaced arena.
23492         (arena_thread_freeres): Update arena reference count and only put
23493         unreferenced arenas on the free list.
23495 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23497         [BZ #19181]
23498         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
23499         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
23500         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
23501         * math/test-fenv-clear-main.c: New file.
23502         * math/test-fenv-clear.c: Likewise.
23503         * math/Makefile (tests): Add test-fenv-clear.
23504         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
23505         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23506         test-fenv-clear-sse.
23507         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
23509         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
23510         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
23511         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
23513 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23515         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
23516         static libc.
23518 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23520         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
23521         test.
23522         * sysdeps/i386/configure: Regenerated.
23523         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
23524         test.
23525         * sysdeps/x86_64/configure: Regenerated.
23526         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
23527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23528         memset-avx2 unconditionally instead of conditionally on
23529         [$(config-cflags-avx2) = yes].
23530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23531         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
23532         unconditional.
23533         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
23534         * sysdeps/x86_64/multiarch/memset_chk.S
23535         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
23536         to [IS_IN (libc) && SHARED].
23538 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23540         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
23541         configure test.
23542         * sysdeps/arm/configure: Regenerated.
23543         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
23544         Define variable if not already defined.
23546         [BZ #17404]
23547         * sysdeps/mips/atomic-machine.h
23548         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
23549         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
23550         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23552         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
23553         unconditional.
23554         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
23555         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23556         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
23557         unconditional.
23558         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23559         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
23560         unconditional.
23561         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23562         * stdlib/setenv.c
23563         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
23564         code unconditional.
23565         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
23566         Remove conditional code.
23567         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23568         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
23569         unconditional.
23570         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23571         code.
23572         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23573         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
23574         unconditional.
23575         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23576         code.
23577         * sysdeps/ieee754/ldbl-128/k_tanl.c
23578         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23579         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23580         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
23581         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23582         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23583         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
23584         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
23585         unconditional.
23586         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23587         code.
23588         * sysdeps/ieee754/ldbl-96/k_tanl.c
23589         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23590         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23592         * nptl/tst-initializers1-c11.c: New file.
23593         * nptl/tst-initializers1-gnu11.c: Likewise.
23594         * nptl/Makefile (tests): Add these new tests.
23595         (CFLAGS-tst-initializers1-c11.c): New variable.
23596         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23598         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
23599         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
23600         instead of -std=gnu99.
23601         * configure.ac (systemtap): Test with -std=gnu11 instead of
23602         -std=gnu99.
23603         * configure: Regenerated.
23604         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
23605         in compilation command in comment.
23607         * sysdeps/nptl/configure.ac: Remove file.
23608         * sysdeps/nptl/configure: Remove generated file.
23609         * configure.ac (libc_cv_forced_unwind): Do not substitute.
23610         * configure: Regenerated.
23611         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
23612         * config.make.in (have-forced-unwind): Remove variable.
23613         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23614         unconditional.
23615         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
23616         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
23617         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
23618         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
23619         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23620         unconditional.
23622 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23624         [BZ #19174]
23625         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23626         .skip_lock_out_of_tbegin_retries.
23627         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23628         (__lll_lock_elision): Likewise, and respect a value of
23629         try_tbegin <= 0.
23631 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23633         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23634         statement.
23636 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23638         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23639         variable.
23640         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23641         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23643         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23644         of -std=c1x -D_ISOC11_SOURCE.
23646         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23647         * configure: Regenerated.
23648         * manual/install.texi (Tools for Compilation): Document
23649         requirement for GCC 4.7 or later.
23650         * INSTALL: Regenerated.
23652 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23654         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23655         on CNT to a conditional jump to 'puntdata'.
23657 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23659         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23660         (libc_cv_gcc_tls_model_attr): Likewise.
23661         * configure: Regenerated.
23663         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23664         * configure: Regenerated.
23665         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23667 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23669         * configure.ac (old_glibc_headers): Remove configure test.
23670         * configure: Regenerated.
23671         * config.make.in (old-glibc-headers): Remove variable.
23672         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23673         (install): Remove dependency on remove-old-headers.
23674         (headers2_0): Remove variable.
23675         (remove-old-headers): Remove rule.
23677         * configure.ac (libc_cv_dot_text): Remove configure test.
23678         (libc_cv_asm_set_directive): Use .text instead of
23679         ${libc_cv_dot_text} in configure test.
23680         * configure: Regenerated.
23682 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23684         [BZ #19168]
23685         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23687 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23689         * configure.ac (CXX): Clear the variable if the C++ toolchain does
23690         not support static linking.
23691         * configure: Regenerate.
23693 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
23695         * math/libm-test.inc (check_float_internal): Do not special-case
23696         errors up to 0.5 ulp.
23698         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23699         log2.
23700         * math/auto-libm-test-out: Regenerated.
23701         * math/libm-test.inc (MAX_EXP): New macro.
23702         (ilogb_test_data): Add more tests.
23703         (isfinite_test_data): Likewise.
23704         (isgreater_test_data): Likewise.
23705         (isgreaterequal_test_data): Likewise.
23706         (isinf_test_data): Likewise.
23707         (isless_test_data): Likewise.
23708         (islessequal_test_data): Likewise.
23709         (islessgreater_test_data): Likewise.
23710         (isnan_test_data): Likewise.
23711         (isnormal_test_data): Likewise.
23712         (issignaling_test_data): Likewise.
23713         (isunordered_test_data): Likewise.
23714         (j0_test_data): Likewise.
23715         (j1_test_data): Likewise.
23716         (jn_test_data): Likewise.
23717         (lgamma_test_data): Likewise.
23718         (log_test_data): Likewise.
23719         (log10_test_data): Likewise.
23720         (log1p_test_data): Likewise.
23721         (log2_test_data): Likewise.
23722         (logb_test_data): Likewise.
23723         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23725         [BZ #18611]
23726         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
23727         avoid excess range and precision on underflow.
23728         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23729         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
23730         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23731         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
23732         underflow.
23733         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23734         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23735         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23736         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23737         * math/auto-libm-test-in: Do not allow missing errno setting for
23738         tests of j1 and jn.
23739         * math/auto-libm-test-out: Regenerated.
23741 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
23743         [BZ #15491]
23744         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
23745         floating-point environment instead of clearing all exceptions.
23746         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
23747         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
23748         merging in "invalid" exceptions from frndint.
23749         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
23750         * math/test-nearbyint-except.c: New file.
23751         * math/Makefile (tests): Add test-nearbyint-except.
23753 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
23755         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
23757         * sysdeps/tile/libm-test-ulps: Regenerated.
23759 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
23762         (__NR_sync_file_range2): Assume it is always defined.
23763         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23764         (__NR_sync_file_range): Assume it is always defined.
23766 2015-10-22  Andreas Schwab  <schwab@suse.de>
23768         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23769         INTERNAL_SYSCALL_ERRNO.
23770         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23771         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23772         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23773         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23774         Likewise.
23775         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23777 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23779         * io/tst-fcntl.c (fd): New static variable.
23780         (do_prepare): Open temporary file here....
23781         (do_test): ...not here.
23783         * io/ftwtest-sh: Also trap on exit to remove temporary files.
23785 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23787         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
23788         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23789         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23790         Moved before "#ifdef __ASSEMBLER__".
23792 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23794         [BZ #19156]
23795         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
23796         arguments very close to 0.
23798 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
23800         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
23801         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
23803 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23805         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23806         New.  Defined for GCC 5 and above when not compiling for
23807         profiling.
23808         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23810         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23811         Renamed to ...
23812         (CFLAGS-epoll_pwait.o): This.
23813         (CFLAGS-mmap.c): Renamed to ...
23814         (CFLAGS-mmap.o): This.
23815         (CFLAGS-mmap64.c): Renamed to ...
23816         (CFLAGS-mmap64.o): This.
23817         (CFLAGS-epoll_pwait.os): New.
23818         (CFLAGS-mmap.os): Likewise.
23819         (CFLAGS-mmap64.os): Likewise.
23820         (CFLAGS-semtimedop.os): Likewise.
23821         (CFLAGS-semtimedop.c): Renamed to ...
23822         (CFLAGS-semtimedop.o): This.
23824 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23826         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
23827         warning message.
23829 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23831         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
23832         * Makefile ($(objpfx)c++-types-check.out): Filter out
23833         $(+gccwarn-c) instead of -Wstrict-prototypes.
23835         * io/fts.c (fts_open): Convert to prototype-style function
23836         definition.
23837         * malloc/mcheck.c (mcheck): Likewise.
23838         (mcheck_pedantic): Likewise.
23839         * posix/regexec.c (re_search_2_stub): Likewise.  Use
23840         internal_function.
23841         (re_search_internal): Likewise.
23842         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
23843         prototype-style function definition.
23844         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23845         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
23846         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
23847         (xdr_utmpptr): Likewise.
23848         (xdr_utmparr): Likewise.
23849         (xdr_utmpidle): Likewise.
23850         (xdr_utmpidleptr): Likewise.
23851         (xdr_utmpidlearr): Likewise.
23853         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
23854         log, log10 and log2.
23855         * math/auto-libm-test-out: Regenerated.
23856         * math/libm-test.inc (fmod_test_data): Add more tests.
23857         (fpclassify_test_data): Likewise.
23858         (frexp_test_data): Likewise.
23859         (hypot_test_data): Likewise.
23860         (ilogb_test_data): Likewise.
23862 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
23864         * debug/fortify_fail.c (__fortify_fail): Convert to
23865         prototype-style function definition.  Use internal_function.
23866         * libio/genops.c (save_for_backup): Convert to prototype-style
23867         function definition.
23868         * libio/wgenops.c (save_for_wbackup): Likewise.
23869         * login/grantpt.c (grantpt): Likewise.
23870         * login/ptsname.c (ptsname): Likewise.
23871         (__ptsname_r): Likewise.
23872         * login/unlockpt.c (unlockpt): Likewise.
23873         * mach/msgserver.c (__mach_msg_server): Likewise.
23874         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
23875         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
23876         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
23877         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
23878         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
23879         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
23880         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
23881         Likewise.
23882         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
23883         internal_function.
23884         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
23885         prototype-style function definition.
23886         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
23887         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
23888         (__pthread_create_2_0): Likewise.
23889         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
23890         * nptl/register-atfork.c (__register_atfork): Likewise.
23891         * posix/glob.c (glob): Likewise.
23892         * posix/regcomp.c (re_comp): Likewise.
23893         * posix/regexec.c (re_exec): Likewise.
23894         * stdlib/add_n.c [__STDC__]: Make code unconditional.
23895         [!__STDC__]: Remove conditional code.
23896         * stdlib/cmp.c [__STDC__]: Make code unconditional.
23897         [!__STDC__]: Remove conditional code.
23898         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
23899         [!__STDC__]: Remove conditional code.
23900         * stdlib/divrem.c [__STDC__]: Make code unconditional.
23901         [!__STDC__]: Remove conditional code.
23902         * stdlib/lshift.c [__STDC__]: Make code unconditional.
23903         [!__STDC__]: Remove conditional code.
23904         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
23905         [!__STDC__]: Remove conditional code.
23906         * stdlib/mul.c [__STDC__]: Make code unconditional.
23907         [!__STDC__]: Remove conditional code.
23908         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
23909         [!__STDC__]: Remove conditional code.
23910         * stdlib/rshift.c [__STDC__]: Make code unconditional.
23911         [!__STDC__]: Remove conditional code.
23912         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
23913         function definition.
23914         (STRTOF): Likewise.
23915         * stdlib/strtod_l.c (__STRTOF): Likewise.
23916         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
23917         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
23918         (__strtol_l): Likewise.
23919         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
23920         [!__STDC__]: Remove conditional code.
23921         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
23922         definition.
23923         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23924         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23925         type.
23926         (__strcasecmp): Convert to prototype-style function definition.
23927         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
23928         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23929         type.
23930         (__strncasecmp): Convert to prototype-style function definition.
23931         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
23932         * sunrpc/xdr.c (xdr_union): Likewise.
23933         * sunrpc/xdr_array.c (xdr_array): Likewise.
23934         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
23935         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
23936         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
23937         Likewise.
23938         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
23939         Likewise.
23940         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
23941         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23942         Likewise.
23943         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
23944         (LOCALE_PARAM_PROTO): Likewise.
23945         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
23946         argument type.
23947         (ut_argument_spec): Remove macro.
23948         (ut_argument_spec_iso): Rename to ut_argument_spec.
23949         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
23950         prototype-style function definition.
23951         (memcpy_uppcase): Likewise.
23952         (__strftime_internal): Likewise.
23953         (my_strftime): Likewise.
23954         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
23955         (LOCALE_PARAM_DECL): Likewise.
23956         [_LIBC] (LOCALE_PARAM): Include argument type.
23957         (__strptime_internal): Convert to prototype-style function
23958         definition.
23959         (strptime): Likewise.
23960         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23961         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23962         type.
23963         (__wcscasecmp): Convert to prototype-style function definition.
23964         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
23965         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23966         type.
23967         (__wcsncasecmp): Convert to prototype-style function definition.
23969         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
23970         function definition.
23971         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23972         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23973         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
23974         * elf/dl-minimal.c (_itoa): Likewise.
23975         * hurd/hurdmalloc.c (malloc): Likewise.
23976         (free): Likewise.
23977         (realloc): Likewise.
23978         * inet/inet6_option.c (inet6_option_space): Likewise.
23979         (inet6_option_init): Likewise.
23980         (inet6_option_append): Likewise.
23981         (inet6_option_alloc): Likewise.
23982         (inet6_option_next): Likewise.
23983         (inet6_option_find): Likewise.
23984         * io/ftw.c (FTW_NAME): Likewise.
23985         (NFTW_NAME): Likewise.
23986         (NFTW_NEW_NAME): Likewise.
23987         (NFTW_OLD_NAME): Likewise.
23988         * libio/iofwide.c (_IO_fwide): Likewise.
23989         * libio/strops.c (_IO_str_init_static_internal): Likewise.
23990         (_IO_str_init_static): Likewise.
23991         (_IO_str_init_readonly): Likewise.
23992         (_IO_str_overflow): Likewise.
23993         (_IO_str_underflow): Likewise.
23994         (_IO_str_count): Likewise.
23995         (_IO_str_seekoff): Likewise.
23996         (_IO_str_pbackfail): Likewise.
23997         (_IO_str_finish): Likewise.
23998         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
23999         (_IO_wstr_overflow): Likewise.
24000         (_IO_wstr_underflow): Likewise.
24001         (_IO_wstr_count): Likewise.
24002         (_IO_wstr_seekoff): Likewise.
24003         (_IO_wstr_pbackfail): Likewise.
24004         (_IO_wstr_finish): Likewise.
24005         * locale/programs/localedef.c (normalize_codeset): Likewise.
24006         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24007         (add_locales_to_archive): Likewise.
24008         (delete_locales_from_archive): Likewise.
24009         * malloc/malloc.c (__libc_mallinfo): Likewise.
24010         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24011         * misc/tsearch.c (__tfind): Likewise.
24012         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24013         * nptl/pthread_attr_getdetachstate.c
24014         (__pthread_attr_getdetachstate): Likewise.
24015         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24016         Likewise.
24017         * nptl/pthread_attr_getinheritsched.c
24018         (__pthread_attr_getinheritsched): Likewise.
24019         * nptl/pthread_attr_getschedparam.c
24020         (__pthread_attr_getschedparam): Likewise.
24021         * nptl/pthread_attr_getschedpolicy.c
24022         (__pthread_attr_getschedpolicy): Likewise.
24023         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24024         Likewise.
24025         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24026         Likewise.
24027         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24028         Likewise.
24029         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24030         Likewise.
24031         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24032         (__pthread_attr_init_2_0): Likewise.
24033         * nptl/pthread_attr_setdetachstate.c
24034         (__pthread_attr_setdetachstate): Likewise.
24035         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24036         Likewise.
24037         * nptl/pthread_attr_setinheritsched.c
24038         (__pthread_attr_setinheritsched): Likewise.
24039         * nptl/pthread_attr_setschedparam.c
24040         (__pthread_attr_setschedparam): Likewise.
24041         * nptl/pthread_attr_setschedpolicy.c
24042         (__pthread_attr_setschedpolicy): Likewise.
24043         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24044         Likewise.
24045         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24046         Likewise.
24047         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24048         Likewise.
24049         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24050         Likewise.
24051         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24052         Likewise.
24053         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24054         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24055         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24056         use internal_function.
24057         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24058         prototype-style function definition.
24059         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24060         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
24061         internal_function.
24062         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24063         Convert to prototype-style function definition.
24064         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24065         Likewise.
24066         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24067         Likewise.
24068         (__pthread_mutex_unlock): Likewise.
24069         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24070         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24071         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24072         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24073         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24074         * nss/makedb.c (process_input): Likewise.
24075         * posix/fnmatch.c (__strchrnul): Likewise.
24076         (__wcschrnul): Likewise.
24077         (fnmatch): Likewise.
24078         * posix/fnmatch_loop.c (FCT): Likewise.
24079         * posix/glob.c (globfree): Likewise.
24080         (__glob_pattern_type): Likewise.
24081         (__glob_pattern_p): Likewise.
24082         * posix/regcomp.c (re_compile_pattern): Likewise.
24083         (re_set_syntax): Likewise.
24084         (re_compile_fastmap): Likewise.
24085         (regcomp): Likewise.
24086         (regerror): Likewise.
24087         (regfree): Likewise.
24088         * posix/regexec.c (regexec): Likewise.
24089         (re_match): Likewise.
24090         (re_search): Likewise.
24091         (re_match_2): Likewise.
24092         (re_search_2): Likewise.
24093         (re_search_stub): Likewise.  Use internal_function
24094         (re_copy_regs): Likewise.
24095         (re_set_registers): Convert to prototype-style function
24096         definition.
24097         (prune_impossible_nodes): Likewise.  Use internal_function.
24098         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24099         prototype-style function definition.
24100         (inet_net_pton_ipv4): Likewise.
24101         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24102         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24103         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24104         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24105         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24106         Make variadic.
24107         * time/strptime_l.c (localtime_r): Convert to prototype-style
24108         function definition.
24109         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24110         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24111         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24112         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24114         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24115         definition.
24116         (_ufc_doit_r): Likewise.
24117         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24118         (_ufc_output_conversion_r): Likewise.
24119         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24120         * inet/rcmd.c (rcmd_af): Likewise.
24121         (rcmd): Likewise.
24122         (ruserok_af): Likewise.
24123         (ruserok): Likewise.
24124         (ruserok2_sa): Likewise.
24125         (ruserok_sa): Likewise.
24126         (iruserok_af): Likewise.
24127         (iruserok): Likewise.
24128         (__ivaliduser): Likewise.
24129         (__validuser2_sa): Likewise.
24130         * inet/rexec.c (rexec_af): Likewise.
24131         (rexec): Likewise.
24132         * inet/ruserpass.c (ruserpass): Likewise.
24133         * locale/programs/xmalloc.c (xcalloc): Likewise.
24134         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24135         * math/w_drem.c (__drem): Likewise.
24136         * math/w_dremf.c (__dremf): Likewise.
24137         * math/w_dreml.c (__dreml): Likewise.
24138         * misc/daemon.c (daemon): Likewise.
24139         * resolv/res_debug.c (p_fqnname): Likewise.
24140         * stdlib/div.c (div): Likewise.
24141         * string/memcmp.c (memcmp_bytes): Likewise.
24142         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24143         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24145         * crypt/cert.c (main): Convert to prototype-style function
24146         definition.
24147         * io/pipe.c (__pipe): Likewise.
24148         * io/pipe2.c (__pipe2): Likewise.
24149         * misc/futimesat.c (futimesat): Likewise.
24150         * misc/utimes.c (__utimes): Likewise.
24151         * posix/execve.c (__execve): Likewise.
24152         * posix/execvp.c (execvp): Likewise.
24153         * posix/execvpe.c (__execvpe): Likewise.
24154         * posix/fexecve.c (fexecve): Likewise.
24155         * socket/socketpair.c (socketpair): Likewise.
24156         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24157         * stdlib/erand48.c (erand48): Likewise.
24158         * stdlib/erand48_r.c (__erand48_r): Likewise.
24159         * stdlib/jrand48.c (jrand48): Likewise.
24160         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24161         * stdlib/lcong48.c (lcong48): Likewise.
24162         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24163         * stdlib/nrand48.c (nrand48): Likewise.
24164         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24165         * stdlib/seed48.c (seed48): Likewise.
24166         * stdlib/seed48_r.c (__seed48_r): Likewise.
24167         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24168         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24169         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24171 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24173         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24174         * configure: Regenerated.
24175         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24176         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24177         unconditional.
24178         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24179         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24180         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24181         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24182         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24183         unconditional.
24184         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24186         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24187         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24189         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24190         function definition.
24191         * crypt/crypt_util.c (__encrypt_r): Likewise.
24192         * libio/genops.c (_IO_no_init): Likewise.
24193         * libio/iofopncook.c (_IO_fopencookie): Likewise.
24194         (_IO_old_fopencookie): Likewise.
24195         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24196         * libio/iogetline.c (_IO_getline): Likewise.
24197         (_IO_getline_info): Likewise.
24198         * libio/iogetwline.c (_IO_getwline): Likewise.
24199         (_IO_getwline_info): Likewise.
24200         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24201         * libio/vswprintf.c (_IO_vswprintf): Likewise.
24202         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24203         (find_entry): Likewise.
24204         (iterate_table): Likewise.
24205         (lookup): Likewise.
24206         * login/forkpty.c (forkpty): Likewise.
24207         * misc/hsearch_r.c (__hsearch_r): Likewise.
24208         * misc/select.c (__select): Likewise.
24209         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24210         Likewise.
24211         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24212         Likewise.
24213         * nptl/old_pthread_cond_timedwait.c
24214         (__pthread_cond_timedwait_2_0): Likewise.
24215         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24216         * nptl/pthread_barrierattr_getpshared.c
24217         (pthread_barrierattr_getpshared): Likewise.
24218         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24219         Likewise.
24220         * nptl/pthread_mutex_setprioceiling.c
24221         (pthread_mutex_setprioceiling): Likewise.
24222         * nptl/pthread_mutexattr_getprioceiling.c
24223         (pthread_mutexattr_getprioceiling): Likewise.
24224         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24225         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24226         Likewise.
24227         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24228         Likewise.
24229         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24230         Likewise.
24231         * socket/recvfrom.c (__recvfrom): Likewise.
24232         * socket/sendto.c (__sendto): Likewise.
24233         * socket/setsockopt.c (__setsockopt): Likewise.
24234         * stdio-common/_itoa.c (_itoa): Likewise.
24235         * stdio-common/_itowa.c (_itowa): Likewise.
24236         * stdio-common/reg-printf.c (__register_printf_specifier):
24237         Likewise.
24238         (__register_printf_function): Likewise.
24239         * stdio-common/tempname.c (__path_search): Likewise.
24240         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24241         * stdlib/mul_1.c (mpn_mul_1): Likewise.
24242         * stdlib/random_r.c (__initstate_r): Likewise.
24243         * stdlib/setenv.c (__add_to_environ): Likewise.
24244         * stdlib/submul_1.c (mpn_submul_1): Likewise.
24245         * streams/getpmsg.c (getpmsg): Likewise.
24246         * streams/putmsg.c (putmsg): Likewise.
24247         * streams/putpmsg.c (putpmsg): Likewise.
24248         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24249         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24250         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24251         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24252         * sunrpc/pm_getport.c (pmap_getport): Likewise.
24253         * sunrpc/svc_udp.c (cache_get): Likewise.
24254         * sunrpc/xdr_array.c (xdr_vector): Likewise.
24255         * sysdeps/mach/hurd/getcwd.c
24256         (__canonicalize_directory_name_internal): Likewise.
24257         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24258         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24259         * sysdeps/mach/hurd/select.c (__select): Likewise.
24260         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24261         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24262         * sysdeps/sparc/nptl/pthread_barrier_init.c
24263         (__pthread_barrier_init): Likewise.
24264         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24265         (__pthread_cond_timedwait): Likewise.
24266         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24267         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24268         Likewise.
24269         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24270         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24271         Likewise.
24272         * sysvipc/semtimedop.c (semtimedop): Likewise.
24273         * time/setitimer.c (__setitimer): Likewise.
24274         * time/strftime_l.c (emacs_strftime): Likewise.
24276 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24278         * config.make.in (have-ssp): Delete.
24279         (stack-protector): New variable.
24280         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
24281         cache test for -fstack-protector-strong.  Export stack_protector to
24282         the best ssp flag.
24283         * configure: Regenerated.
24284         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24285         * nscd/Makefile (CFLAGS-nscd): Likewise.
24286         * resolv/Makefile (CFLAGS-libresolv): Likewise.
24288 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
24290         [BZ #19122]
24291         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
24292         attribute_hidden.
24294 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24296         [BZ #18743]
24297         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
24298         code to...
24299         (ELIDE_LOCK): ...here.
24300         (__get_new_count): New function with part of the code from
24301         __elide_lock that updates the value of adapt_count after a
24302         transaction abort.
24303         (__elided_trylock): Moved this code to...
24304         (ELIDE_TRYLOCK): ...here.
24306 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24308         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
24309         * configure: Regenerate.
24310         * INSTALL: Regenerate.
24311         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
24312         and tweak grammar.
24314 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
24316         * login/programs/pt_chown.c: Include signal.h
24317         (main): Clear any signal mask from the parent process.
24319 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24321         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
24322         * configure: Regenerated.
24323         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
24324         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
24325         $(gnu89-inline-CFLAGS).
24327         * configure.ac (libc_cv_asm_weak_directive): Remove configure
24328         test.
24329         (libc_cv_asm_weakext_directive): Likewise.
24330         * configure: Regenerated.
24331         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
24332         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
24333         * include/libc-symbols.h
24334         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
24335         #error.
24336         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
24337         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
24339         * sysdeps/arm/backtrace.c (__backtrace): Convert to
24340         prototype-style function definition.
24341         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24342         * sysdeps/i386/ffs.c (__ffs): Likewise.
24343         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24344         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
24345         Likewise.
24346         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24347         Likewise.
24348         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24349         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24350         Likewise.
24351         * sysdeps/m68k/ffs.c (__ffs): Likewise.
24352         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
24353         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
24354         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
24355         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
24356         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
24357         * sysdeps/mach/hurd/access.c (__access): Likewise.
24358         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
24359         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
24360         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
24361         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
24362         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
24363         (cthread_getspecific): Likewise.
24364         (cthread_setspecific): Likewise.
24365         (__libc_getspecific): Likewise.
24366         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
24367         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
24368         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
24369         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
24370         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
24371         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
24372         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
24373         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
24374         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
24375         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
24376         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
24377         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
24378         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
24379         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
24380         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
24381         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
24382         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
24383         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
24384         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
24385         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
24386         * sysdeps/mach/hurd/link.c (__link): Likewise.
24387         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
24388         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
24389         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
24390         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
24391         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24392         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
24393         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
24394         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
24395         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24396         * sysdeps/mach/hurd/rename.c (rename): Likewise.
24397         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
24398         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24399         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
24400         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
24401         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
24402         * sysdeps/mach/hurd/send.c (__send): Likewise.
24403         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
24404         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
24405         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
24406         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
24407         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
24408         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
24409         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
24410         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
24411         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
24412         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
24413         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
24414         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
24415         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
24416         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
24417         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
24418         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24419         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
24420         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24421         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
24422         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24423         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
24424         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
24425         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
24426         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
24427         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
24428         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
24429         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
24430         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
24431         * sysdeps/posix/alarm.c (alarm): Likewise.
24432         * sysdeps/posix/cuserid.c (cuserid): Likewise.
24433         * sysdeps/posix/dirfd.c (dirfd): Likewise.
24434         * sysdeps/posix/dup.c (__dup): Likewise.
24435         * sysdeps/posix/dup2.c (__dup2): Likewise.
24436         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
24437         (main): Likewise.
24438         * sysdeps/posix/flock.c (__flock): Likewise.
24439         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
24440         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
24441         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
24442         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
24443         * sysdeps/posix/isatty.c (__isatty): Likewise.
24444         * sysdeps/posix/killpg.c (killpg): Likewise.
24445         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24446         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
24447         * sysdeps/posix/raise.c (raise): Likewise.
24448         * sysdeps/posix/remove.c (remove): Likewise.
24449         * sysdeps/posix/rename.c (rename): Likewise.
24450         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
24451         * sysdeps/posix/seekdir.c (seekdir): Likewise.
24452         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24453         * sysdeps/posix/sigignore.c (sigignore): Likewise.
24454         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
24455         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
24456         * sysdeps/posix/sigset.c (sigset): Likewise.
24457         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
24458         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
24459         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
24460         * sysdeps/posix/time.c (time): Likewise.
24461         * sysdeps/posix/ttyname.c (getttyname): Likewise.
24462         (ttyname): Likewise.
24463         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
24464         * sysdeps/posix/utime.c (utime): Likewise.
24465         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
24466         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24467         Likewise.
24468         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
24469         (pthread_spin_trylock): Likewise.
24470         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
24471         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
24472         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
24473         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
24474         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
24475         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
24476         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
24477         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
24478         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
24479         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
24480         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
24481         * sysdeps/s390/ffs.c (__ffs): Likewise.
24482         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
24483         Likewise.
24484         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24485         Likewise.
24486         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
24487         Likewise.
24488         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
24489         (pthread_barrier_destroy): Likewise.
24490         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24491         (__pthread_barrier_wait): Likewise.
24492         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
24493         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24494         (__pthread_barrier_wait): Likewise.
24495         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
24496         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
24497         (memcmp_not_common_alignment): Likewise.
24498         (MEMCMP): Likewise.
24499         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
24500         (_wordcopy_fwd_dest_aligned): Likewise.
24501         (_wordcopy_bwd_aligned): Likewise.
24502         (_wordcopy_bwd_dest_aligned): Likewise.
24503         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
24504         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
24505         * sysdeps/unix/bsd/stty.c (stty): Likewise.
24506         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
24507         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
24508         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
24509         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
24510         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
24511         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
24512         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
24513         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
24514         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
24515         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
24516         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
24517         * sysdeps/unix/stime.c (stime): Likewise.
24518         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
24519         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
24520         Likewise.  Use internal_function.
24521         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
24522         Convert to prototype-style function definition.
24523         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24524         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24525         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
24526         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24527         Likewise.  Use internal_function.
24528         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
24529         prototype-style function definition
24530         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24531         Likewise.
24532         (__getlogin_r): Likewise.
24533         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
24534         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
24535         (__pthread_cond_broadcast): Likewise.
24536         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
24537         (__pthread_cond_destroy): Likewise.
24538         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
24539         (__pthread_cond_init): Likewise.
24540         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
24541         (__pthread_cond_signal): Likewise.
24542         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
24543         (__pthread_cond_wait): Likewise.
24544         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
24545         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24546         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
24547         Likewise.
24548         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
24549         Likewise.
24550         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24551         Likewise.
24552         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
24553         Likewise.
24554         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
24555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
24556         (__ftruncate64): Likewise.
24557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
24558         (truncate64): Likewise.
24559         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
24560         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
24561         (pthread_getcpuclockid): Likewise.
24562         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
24563         Likewise.
24564         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
24565         Likewise.
24566         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
24567         Likewise.
24568         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
24569         Likewise.
24570         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
24571         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
24572         (__libc_sigaction): Likewise.
24573         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
24574         Likewise.
24575         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24576         (__sigprocmask): Likewise.
24577         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
24578         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
24579         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
24580         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24581         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24582         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
24583         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24584         Likewise.
24585         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
24586         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
24587         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24588         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
24589         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
24590         Likewise.
24591         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24592         (__sigprocmask): Likewise.
24593         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
24594         (cfgetispeed): Likewise.
24595         (cfsetospeed): Likewise.
24596         (cfsetispeed): Likewise.
24597         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
24598         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
24599         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24600         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24601         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
24602         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
24603         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
24604         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
24605         Likewise.
24606         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
24607         Likewise.
24608         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
24609         Likewise.
24610         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24611         Likewise.
24612         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24614 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24616         sunrpc: Rewrite with explicit TLS access using __thread.
24617         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
24618         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
24619         directly.
24620         (__rpc_thread_variables): Access thread_rpc_vars directly.
24621         Eliminate redundant assignment of the tvp variable.
24623 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24625         malloc: Rewrite with explicit TLS access using __thread.
24626         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24627         (tsd_setspecific, tsd_getspecific): Remove.
24628         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24629         (tsd_setspecific, tsd_getspecific): Likewise.
24630         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24631         (tsd_setspecific, tsd_getspecific): Likewise.
24632         * malloc/arena.c (thread_arena): New TLS variable.
24633         (arena_key): Remove variable.
24634         (arena_get): Use thread_arena.
24635         (arena_lookup): Remove macro.
24636         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24637         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24638         (_int_new_arena, get_free_list, reused_arena)
24639         (arena_thread_freeres): Use thread_arena.
24640         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24641         tsd_getspecific, tsd_setspecific from safety annotations.
24642         (Allocating Cleared Space): Remove arena_lookup from safety
24643         annotations.
24645 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24647         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24648         struct scratch_buffer instead of extend_alloca.
24650 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24652         * sysdeps/unix/sysv/linux/kernel-features.h
24653         (__ASSUME_SOCK_CLOEXEC): Remove.
24654         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24655         (__have_paccept): Remove unused macro.
24656         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24657         * misc/syslog.c (openlog_internal): Remove fallback code for
24658         !__ASSUME_SOCK_CLOEXEC.
24659         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24660         missing SOCK_CLOEXEC.
24661         * nscd/connections.c (have_sock_cloexec): Remove definition.
24662         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24663         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24664         !__ASSUME_SOCK_CLOEXEC.
24665         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24666         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24667         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24668         definition.
24669         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24670         code for !__ASSUME_SOCK_CLOEXEC.
24672 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24674         [BZ #18982]
24675         * manual/stdio.texi (Variable Arguments Output): Add portability
24676         note, explaining that vfprintf clobbers the va_list pointer.
24678 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24680         * math/libm-test.inc (fabs_test_data): Add more tests.
24681         (fdim_test_data): Likewise.
24682         (fma_test_data): Likewise.
24683         (fmax_test_data): Likewise.
24684         (fmin_test_data): Likewise.
24685         (fmod_test_data): Likewise.
24687 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
24689         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
24690         data.
24692 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24694         * math/libm-test.inc (ceil_test_data): Add more tests and more
24695         expectations for "inexact".
24696         (floor_test_data): Add more tests.
24697         (round_test_data): Likewise.
24698         (trunc_test_data): Likewise.
24700         * crypt/cert.c (good_bye): Convert to prototype-style function
24701         definition.
24702         (get8): Likewise.
24703         (put8): Likewise.
24704         * crypt/crypt-entry.c (crypt): Likewise.
24705         (__fcrypt): Likewise.
24706         * crypt/crypt_util.c (_ufc_prbits): Likewise.
24707         (_ufc_set_bits): Likewise.
24708         (_ufc_clearmem): Likewise.
24709         (__init_des_r): Likewise.
24710         (shuffle_sb): Likewise.
24711         (shuffle_sb): Likewise.
24712         (_ufc_setup_salt_r): Likewise.
24713         (_ufc_mk_keytab_r): Likewise.
24714         (_ufc_dofinalperm_r): Likewise.
24715         (encrypt): Likewise.
24716         (__setkey_r): Likewise.
24717         (setkey): Likewise.
24718         * crypt/md5.c (md5_init_ctx): Likewise.
24719         (md5_read_ctx): Likewise.
24720         (md5_finish_ctx): Likewise.
24721         (md5_stream): Likewise.
24722         (md5_buffer): Likewise.
24723         (md5_process_bytes): Likewise.
24724         * crypt/sha256.c (__sha256_init_ctx): Likewise.
24725         (__sha256_finish_ctx): Likewise.
24726         (__sha256_process_bytes): Likewise.
24727         * crypt/sha512.c (__sha512_init_ctx): Likewise.
24728         (__sha512_finish_ctx): Likewise.
24729         (__sha512_process_bytes): Likewise.
24730         * ctype/isctype.c (__isctype): Likewise.
24731         * debug/backtrace.c (__backtrace): Likewise.
24732         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
24733         * debug/fgets_chk.c (__fgets_chk): Likewise.
24734         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
24735         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
24736         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24737         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24738         * debug/memset_chk.c (__memset_chk): Likewise.
24739         * debug/strcat_chk.c (__strcat_chk): Likewise.
24740         * debug/strncat_chk.c (__strncat_chk): Likewise.
24741         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
24742         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
24743         * dirent/dirfd.c (dirfd): Likewise.
24744         * dirent/getdents.c (__getdirentries): Likewise.
24745         * dirent/getdents64.c (getdirentries64): Likewise.
24746         * dirent/rewinddir.c (__rewinddir): Likewise.
24747         * dirent/seekdir.c (seekdir): Likewise.
24748         * dirent/telldir.c (telldir): Likewise.
24749         * elf/sln.c (makesymlinks): Likewise.
24750         (makesymlink): Likewise.
24751         * gmon/gmon.c (__moncontrol): Likewise.
24752         (__monstartup): Likewise.
24753         (write_hist): Likewise.
24754         (write_call_graph): Likewise.
24755         (write_bb_counts): Likewise.
24756         * grp/setgroups.c (setgroups): Likewise.
24757         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24758         * inet/inet_net.c (inet_network): Likewise.
24759         * inet/inet_netof.c (inet_netof): Likewise.
24760         * inet/rcmd.c (rresvport_af): Likewise.
24761         (rresvport): Likewise.
24762         * io/access.c (__access): Likewise.
24763         * io/chdir.c (__chdir): Likewise.
24764         * io/chmod.c (__chmod): Likewise.
24765         * io/chown.c (__chown): Likewise.
24766         * io/close.c (__close): Likewise.
24767         * io/creat.c (creat): Likewise.
24768         * io/creat64.c (creat64): Likewise.
24769         * io/dup.c (__dup): Likewise.
24770         * io/dup2.c (__dup2): Likewise.
24771         * io/dup3.c (__dup3): Likewise.
24772         * io/euidaccess.c (__euidaccess): Likewise.
24773         * io/faccessat.c (faccessat): Likewise.
24774         * io/fchmod.c (__fchmod): Likewise.
24775         * io/fchmodat.c (fchmodat): Likewise.
24776         * io/fchown.c (__fchown): Likewise.
24777         * io/fchownat.c (fchownat): Likewise.
24778         * io/fcntl.c (__fcntl): Likewise.
24779         * io/flock.c (__flock): Likewise.
24780         * io/fts.c (fts_load): Likewise.
24781         (fts_close): Likewise.
24782         (fts_read): Likewise.
24783         (fts_set): Likewise.
24784         (fts_children): Likewise.
24785         (fts_build): Likewise.
24786         (fts_stat): Likewise.
24787         (fts_sort): Likewise.
24788         (fts_alloc): Likewise.
24789         (fts_lfree): Likewise.
24790         (fts_palloc): Likewise.
24791         (fts_padjust): Likewise.
24792         (fts_maxarglen): Likewise.
24793         (fts_safe_changedir): Likewise.
24794         * io/getwd.c (getwd): Likewise.
24795         * io/isatty.c (__isatty): Likewise.
24796         * io/lchown.c (__lchown): Likewise.
24797         * io/link.c (__link): Likewise.
24798         * io/linkat.c (linkat): Likewise.
24799         * io/lseek.c (__libc_lseek): Likewise.
24800         * io/mkdir.c (__mkdir): Likewise.
24801         * io/mkdirat.c (mkdirat): Likewise.
24802         * io/mkfifo.c (mkfifo): Likewise.
24803         * io/mkfifoat.c (mkfifoat): Likewise.
24804         * io/open.c (__libc_open): Likewise.
24805         * io/open64.c (__libc_open64): Likewise.
24806         * io/readlink.c (__readlink): Likewise.
24807         * io/readlinkat.c (readlinkat): Likewise.
24808         * io/rmdir.c (__rmdir): Likewise.
24809         * io/symlink.c (__symlink): Likewise.
24810         * io/symlinkat.c (symlinkat): Likewise.
24811         * io/ttyname.c (ttyname): Likewise.
24812         * io/ttyname_r.c (__ttyname_r): Likewise.
24813         * io/umask.c (__umask): Likewise.
24814         * io/unlink.c (__unlink): Likewise.
24815         * io/unlinkat.c (unlinkat): Likewise.
24816         * io/utime.c (utime): Likewise.
24817         * libio/clearerr.c (clearerr): Likewise.
24818         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
24819         * libio/feof.c (_IO_feof): Likewise.
24820         * libio/feof_u.c (feof_unlocked): Likewise.
24821         * libio/ferror.c (_IO_ferror): Likewise.
24822         * libio/ferror_u.c (ferror_unlocked): Likewise.
24823         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24824         * libio/fileno.c (__fileno): Likewise.
24825         * libio/fputc.c (fputc): Likewise.
24826         * libio/fputc_u.c (fputc_unlocked): Likewise.
24827         * libio/fputwc.c (fputwc): Likewise.
24828         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
24829         * libio/freopen.c (freopen): Likewise.
24830         * libio/freopen64.c (freopen64): Likewise.
24831         * libio/fseek.c (fseek): Likewise.
24832         * libio/fseeko.c (fseeko): Likewise.
24833         * libio/fseeko64.c (fseeko64): Likewise.
24834         * libio/ftello.c (__ftello): Likewise.
24835         * libio/ftello64.c (ftello64): Likewise.
24836         * libio/fwide.c (fwide): Likewise.
24837         * libio/genops.c (_IO_un_link): Likewise.
24838         (_IO_link_in): Likewise.
24839         (_IO_least_marker): Likewise.
24840         (_IO_switch_to_main_get_area): Likewise.
24841         (_IO_switch_to_backup_area): Likewise.
24842         (_IO_switch_to_get_mode): Likewise.
24843         (_IO_free_backup_area): Likewise.
24844         (_IO_switch_to_put_mode): Likewise.
24845         (__overflow): Likewise.
24846         (__underflow): Likewise.
24847         (__uflow): Likewise.
24848         (_IO_setb): Likewise.
24849         (_IO_doallocbuf): Likewise.
24850         (_IO_default_underflow): Likewise.
24851         (_IO_default_uflow): Likewise.
24852         (_IO_default_xsputn): Likewise.
24853         (_IO_sgetn): Likewise.
24854         (_IO_default_xsgetn): Likewise.
24855         (_IO_sync): Likewise.
24856         (_IO_default_setbuf): Likewise.
24857         (_IO_default_seekpos): Likewise.
24858         (_IO_default_doallocate): Likewise.
24859         (_IO_init): Likewise.
24860         (_IO_old_init): Likewise.
24861         (_IO_default_sync): Likewise.
24862         (_IO_default_finish): Likewise.
24863         (_IO_default_seekoff): Likewise.
24864         (_IO_sputbackc): Likewise.
24865         (_IO_sungetc): Likewise.
24866         (_IO_set_column): Likewise.
24867         (_IO_set_column): Likewise.
24868         (_IO_adjust_column): Likewise.
24869         (_IO_get_column): Likewise.
24870         (_IO_init_marker): Likewise.
24871         (_IO_remove_marker): Likewise.
24872         (_IO_marker_difference): Likewise.
24873         (_IO_marker_delta): Likewise.
24874         (_IO_seekmark): Likewise.
24875         (_IO_unsave_markers): Likewise.
24876         (_IO_nobackup_pbackfail): Likewise.
24877         (_IO_default_pbackfail): Likewise.
24878         (_IO_default_seek): Likewise.
24879         (_IO_default_stat): Likewise.
24880         (_IO_default_read): Likewise.
24881         (_IO_default_write): Likewise.
24882         (_IO_default_showmanyc): Likewise.
24883         (_IO_default_imbue): Likewise.
24884         (_IO_iter_next): Likewise.
24885         (_IO_iter_file): Likewise.
24886         * libio/getc.c (_IO_getc): Likewise.
24887         * libio/getwc.c (_IO_getwc): Likewise.
24888         * libio/iofclose.c (_IO_new_fclose): Likewise.
24889         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24890         * libio/iofflush.c (_IO_fflush): Likewise.
24891         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
24892         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
24893         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
24894         * libio/iofgets.c (_IO_fgets): Likewise.
24895         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
24896         * libio/iofgetws.c (fgetws): Likewise.
24897         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24898         * libio/iofopen64.c (_IO_fopen64): Likewise.
24899         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24900         (_IO_cookie_write): Likewise.
24901         (_IO_cookie_seek): Likewise.
24902         (_IO_cookie_close): Likewise.
24903         (_IO_cookie_seekoff): Likewise.
24904         (_IO_old_cookie_seek): Likewise.
24905         * libio/iofputs.c (_IO_fputs): Likewise.
24906         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
24907         * libio/iofputws.c (fputws): Likewise.
24908         * libio/iofputws_u.c (fputws_unlocked): Likewise.
24909         * libio/iofread.c (_IO_fread): Likewise.
24910         * libio/iofread_u.c (__fread_unlocked): Likewise.
24911         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
24912         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
24913         * libio/ioftell.c (_IO_ftell): Likewise.
24914         * libio/iofwrite.c (_IO_fwrite): Likewise.
24915         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24916         * libio/iogets.c (_IO_gets): Likewise.
24917         * libio/iopadn.c (_IO_padn): Likewise.
24918         * libio/iopopen.c (_IO_new_proc_open): Likewise.
24919         (_IO_new_popen): Likewise.
24920         (_IO_new_proc_close): Likewise.
24921         * libio/ioputs.c (_IO_puts): Likewise.
24922         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
24923         (_IO_seekoff): Likewise.
24924         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
24925         (_IO_seekpos): Likewise.
24926         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
24927         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
24928         * libio/ioungetc.c (_IO_ungetc): Likewise.
24929         * libio/ioungetwc.c (ungetwc): Likewise.
24930         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24931         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
24932         * libio/iowpadn.c (_IO_wpadn): Likewise.
24933         * libio/libc_fatal.c (__libc_fatal): Likewise.
24934         * libio/memstream.c (__open_memstream): Likewise.
24935         (_IO_mem_sync): Likewise.
24936         (_IO_mem_finish): Likewise.
24937         * libio/oldfileops.c (_IO_old_file_init): Likewise.
24938         (_IO_old_file_close_it): Likewise.
24939         (_IO_old_file_finish): Likewise.
24940         (_IO_old_file_fopen): Likewise.
24941         (_IO_old_file_attach): Likewise.
24942         (_IO_old_file_setbuf): Likewise.
24943         (_IO_old_do_write): Likewise.
24944         (old_do_write): Likewise.
24945         (_IO_old_file_underflow): Likewise.
24946         (_IO_old_file_overflow): Likewise.
24947         (_IO_old_file_sync): Likewise.
24948         (_IO_old_file_seekoff): Likewise.
24949         (_IO_old_file_write): Likewise.
24950         (_IO_old_file_xsputn): Likewise.
24951         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
24952         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24953         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
24954         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
24955         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24956         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
24957         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
24958         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
24959         (_IO_old_popen): Likewise.
24960         (_IO_old_proc_close): Likewise.
24961         * libio/oldpclose.c (__old_pclose): Likewise.
24962         * libio/pclose.c (__new_pclose): Likewise.
24963         * libio/peekc.c (_IO_peekc_locked): Likewise.
24964         * libio/putc.c (_IO_putc): Likewise.
24965         * libio/putc_u.c (putc_unlocked): Likewise.
24966         * libio/putchar.c (putchar): Likewise.
24967         * libio/putchar_u.c (putchar_unlocked): Likewise.
24968         * libio/putwc.c (putwc): Likewise.
24969         * libio/putwc_u.c (putwc_unlocked): Likewise.
24970         * libio/putwchar.c (putwchar): Likewise.
24971         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
24972         * libio/rewind.c (rewind): Likewise.
24973         * libio/setbuf.c (setbuf): Likewise.
24974         * libio/setlinebuf.c (setlinebuf): Likewise.
24975         * libio/vasprintf.c (_IO_vasprintf): Likewise.
24976         * libio/vscanf.c (_IO_vscanf): Likewise.
24977         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
24978         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
24979         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24980         * libio/wgenops.c (_IO_least_wmarker): Likewise.
24981         (_IO_switch_to_main_wget_area): Likewise.
24982         (_IO_switch_to_wbackup_area): Likewise.
24983         (_IO_wsetb): Likewise.
24984         (_IO_wdefault_pbackfail): Likewise.
24985         (_IO_wdefault_finish): Likewise.
24986         (_IO_wdefault_uflow): Likewise.
24987         (__woverflow): Likewise.
24988         (__wuflow): Likewise.
24989         (__wunderflow): Likewise.
24990         (_IO_wdefault_xsputn): Likewise.
24991         (_IO_wdefault_xsgetn): Likewise.
24992         (_IO_wdoallocbuf): Likewise.
24993         (_IO_wdefault_doallocate): Likewise.
24994         (_IO_switch_to_wget_mode): Likewise.
24995         (_IO_free_wbackup_area): Likewise.
24996         (_IO_switch_to_wput_mode): Likewise.
24997         (_IO_sputbackwc): Likewise.
24998         (_IO_sungetwc): Likewise.
24999         (_IO_adjust_wcolumn): Likewise.
25000         (_IO_init_wmarker): Likewise.
25001         (_IO_wmarker_delta): Likewise.
25002         (_IO_seekwmark): Likewise.
25003         (_IO_unsave_wmarkers): Likewise.
25004         * libio/wmemstream.c (open_wmemstream): Likewise.
25005         (_IO_wmem_sync): Likewise.
25006         (_IO_wmem_finish): Likewise.
25007         * locale/nl_langinfo.c (nl_langinfo): Likewise.
25008         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25009         * locale/programs/simple-hash.c (init_hash): Likewise.
25010         (delete_hash): Likewise.
25011         (insert_entry): Likewise.
25012         (set_entry): Likewise.
25013         (next_prime): Likewise.
25014         (is_prime): Likewise.
25015         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25016         (xmalloc): Likewise.
25017         (xrealloc): Likewise.
25018         * locale/programs/xstrdup.c (xstrdup): Likewise.
25019         * localedata/collate-test.c (xstrcoll): Likewise.
25020         * localedata/xfrm-test.c (xstrcmp): Likewise.
25021         * login/getlogin_r.c (__getlogin_r): Likewise.
25022         * login/getpt.c (__posix_openpt): Likewise.
25023         * login/login_tty.c (login_tty): Likewise.
25024         * login/setlogin.c (setlogin): Likewise.
25025         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25026         (mach_msg_destroy_port): Likewise.
25027         (mach_msg_destroy_memory): Likewise.
25028         * malloc/mcheck.c (flood): Likewise.
25029         * misc/acct.c (acct): Likewise.
25030         * misc/brk.c (__brk): Likewise.
25031         * misc/chflags.c (chflags): Likewise.
25032         * misc/chroot.c (chroot): Likewise.
25033         * misc/fchflags.c (fchflags): Likewise.
25034         * misc/fstab.c (getfsspec): Likewise.
25035         (getfsfile): Likewise.
25036         * misc/fsync.c (fsync): Likewise.
25037         * misc/ftruncate.c (__ftruncate): Likewise.
25038         * misc/ftruncate64.c (__ftruncate64): Likewise.
25039         * misc/getdomain.c (getdomainname): Likewise.
25040         (getdomainname): Likewise.
25041         * misc/gethostname.c (__gethostname): Likewise.
25042         * misc/getpass.c (getpass): Likewise.
25043         * misc/getttyent.c (skip): Likewise.
25044         (value): Likewise.
25045         * misc/gtty.c (gtty): Likewise.
25046         * misc/hsearch.c (hsearch): Likewise.
25047         (hcreate): Likewise.
25048         * misc/hsearch_r.c (__hcreate_r): Likewise.
25049         (__hdestroy_r): Likewise.
25050         * misc/ioctl.c (__ioctl): Likewise.
25051         * misc/mkdtemp.c (mkdtemp): Likewise.
25052         * misc/mkostemp.c (mkostemp): Likewise.
25053         * misc/mkostemp64.c (mkostemp64): Likewise.
25054         * misc/mkostemps.c (mkostemps): Likewise.
25055         * misc/mkostemps64.c (mkostemps64): Likewise.
25056         * misc/mkstemp.c (mkstemp): Likewise.
25057         * misc/mkstemp64.c (mkstemp64): Likewise.
25058         * misc/mkstemps.c (mkstemps): Likewise.
25059         * misc/mkstemps64.c (mkstemps64): Likewise.
25060         * misc/mktemp.c (__mktemp): Likewise.
25061         * misc/preadv.c (preadv): Likewise.
25062         * misc/preadv64.c (preadv64): Likewise.
25063         * misc/pwritev.c (pwritev): Likewise.
25064         * misc/pwritev64.c (pwritev64): Likewise.
25065         * misc/readv.c (__readv): Likewise.
25066         * misc/revoke.c (revoke): Likewise.
25067         * misc/setdomain.c (setdomainname): Likewise.
25068         * misc/setegid.c (setegid): Likewise.
25069         * misc/seteuid.c (seteuid): Likewise.
25070         * misc/sethostid.c (sethostid): Likewise.
25071         * misc/sethostname.c (sethostname): Likewise.
25072         * misc/setregid.c (__setregid): Likewise.
25073         * misc/setreuid.c (__setreuid): Likewise.
25074         * misc/sstk.c (sstk): Likewise.
25075         * misc/stty.c (stty): Likewise.
25076         * misc/syscall.c (syscall): Likewise.
25077         * misc/syslog.c (setlogmask): Likewise.
25078         * misc/truncate.c (__truncate): Likewise.
25079         * misc/truncate64.c (truncate64): Likewise.
25080         * misc/ualarm.c (ualarm): Likewise.
25081         * misc/usleep.c (usleep): Likewise.
25082         * misc/ustat.c (ustat): Likewise.
25083         * misc/writev.c (__writev): Likewise.
25084         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25085         * nptl/old_pthread_cond_broadcast.c
25086         (__pthread_cond_broadcast_2_0): Likewise.
25087         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25088         Likewise.
25089         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25090         Likewise.
25091         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25092         Likewise.
25093         * nptl/pt-raise.c (raise): Likewise.
25094         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25095         Likewise.
25096         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25097         * nptl/pthread_barrierattr_destroy.c
25098         (pthread_barrierattr_destroy): Likewise.
25099         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25100         Likewise.
25101         * nptl/pthread_barrierattr_setpshared.c
25102         (pthread_barrierattr_setpshared): Likewise.
25103         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25104         Likewise.
25105         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25106         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25107         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25108         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25109         Likewise.
25110         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25111         Likewise.
25112         * nptl/pthread_condattr_getpshared.c
25113         (pthread_condattr_getpshared): Likewise.
25114         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25115         Likewise.
25116         * nptl/pthread_condattr_setpshared.c
25117         (pthread_condattr_setpshared): Likewise.
25118         * nptl/pthread_detach.c (pthread_detach): Likewise.
25119         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25120         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25121         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25122         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25123         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25124         Likewise.
25125         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25126         Likewise.
25127         * nptl/pthread_mutex_getprioceiling.c
25128         (pthread_mutex_getprioceiling): Likewise.
25129         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25130         Likewise.
25131         * nptl/pthread_mutexattr_getprotocol.c
25132         (pthread_mutexattr_getprotocol): Likewise.
25133         * nptl/pthread_mutexattr_getpshared.c
25134         (pthread_mutexattr_getpshared): Likewise.
25135         * nptl/pthread_mutexattr_getrobust.c
25136         (pthread_mutexattr_getrobust): Likewise.
25137         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25138         Likewise.
25139         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25140         Likewise.
25141         * nptl/pthread_mutexattr_setprioceiling.c
25142         (pthread_mutexattr_setprioceiling): Likewise.
25143         * nptl/pthread_mutexattr_setprotocol.c
25144         (pthread_mutexattr_setprotocol): Likewise.
25145         * nptl/pthread_mutexattr_setpshared.c
25146         (pthread_mutexattr_setpshared): Likewise.
25147         * nptl/pthread_mutexattr_setrobust.c
25148         (pthread_mutexattr_setrobust): Likewise.
25149         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25150         Likewise.
25151         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25152         Likewise.
25153         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25154         Likewise.
25155         * nptl/pthread_rwlockattr_getkind_np.c
25156         (pthread_rwlockattr_getkind_np): Likewise.
25157         * nptl/pthread_rwlockattr_getpshared.c
25158         (pthread_rwlockattr_getpshared): Likewise.
25159         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25160         Likewise.
25161         * nptl/pthread_rwlockattr_setkind_np.c
25162         (pthread_rwlockattr_setkind_np): Likewise.
25163         * nptl/pthread_rwlockattr_setpshared.c
25164         (pthread_rwlockattr_setpshared): Likewise.
25165         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25166         Likewise.
25167         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25168         Likewise.
25169         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25170         Likewise.
25171         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25172         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25173         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25174         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25175         * nptl/sem_close.c (sem_close): Likewise.
25176         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25177         * nptl/sem_init.c (__old_sem_init): Likewise.
25178         * nptl/sigaction.c (__sigaction): Likewise.
25179         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25180         * posix/_exit.c (_exit): Likewise.
25181         * posix/alarm.c (alarm): Likewise.
25182         * posix/confstr.c (confstr): Likewise.
25183         * posix/fpathconf.c (__fpathconf): Likewise.
25184         * posix/getgroups.c (__getgroups): Likewise.
25185         * posix/getpgid.c (__getpgid): Likewise.
25186         * posix/group_member.c (__group_member): Likewise.
25187         * posix/pathconf.c (__pathconf): Likewise.
25188         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25189         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25190         * posix/setgid.c (__setgid): Likewise.
25191         * posix/setpgid.c (__setpgid): Likewise.
25192         * posix/setuid.c (__setuid): Likewise.
25193         * posix/sleep.c (__sleep): Likewise.
25194         * posix/sysconf.c (__sysconf): Likewise.
25195         * posix/times.c (__times): Likewise.
25196         * posix/uname.c (__uname): Likewise.
25197         * posix/waitid.c (__waitid): Likewise.
25198         * pwd/getpw.c (__getpw): Likewise.
25199         * resolv/base64.c (b64_pton): Likewise.
25200         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25201         * resolv/gethnamaddr.c (Dprintf): Likewise.
25202         (gethostbyname): Likewise.
25203         (gethostbyname2): Likewise.
25204         (gethostbyaddr): Likewise.
25205         (_sethtent): Likewise.
25206         (_gethtbyname): Likewise.
25207         (_gethtbyname2): Likewise.
25208         (_gethtbyaddr): Likewise.
25209         (map_v4v6_address): Likewise.
25210         (map_v4v6_hostent): Likewise.
25211         (addrsort): Likewise.
25212         (ht_sethostent): Likewise.
25213         (ht_gethostbyname): Likewise.
25214         (ht_gethostbyaddr): Likewise.
25215         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25216         (inet_net_ntop_ipv4): Likewise.
25217         * resolv/inet_neta.c (inet_neta): Likewise.
25218         * resolv/inet_ntop.c (inet_ntop): Likewise.
25219         (inet_ntop4): Likewise.
25220         (inet_ntop6): Likewise.
25221         * resolv/inet_pton.c (__inet_pton): Likewise.
25222         (inet_pton4): Likewise.
25223         (inet_pton6): Likewise.
25224         * resolv/res_debug.c (loc_aton): Likewise.
25225         (loc_ntoa): Likewise.
25226         * resource/getpriority.c (__getpriority): Likewise.
25227         * resource/getrusage.c (__getrusage): Likewise.
25228         * resource/nice.c (nice): Likewise.
25229         * resource/setpriority.c (__setpriority): Likewise.
25230         * resource/setrlimit64.c (setrlimit64): Likewise.
25231         * resource/vlimit.c (vlimit): Likewise.
25232         * resource/vtimes.c (vtimes): Likewise.
25233         * rt/aio_error.c (aio_error): Likewise.
25234         * rt/aio_return.c (aio_return): Likewise.
25235         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25236         * signal/kill.c (__kill): Likewise.
25237         * signal/killpg.c (killpg): Likewise.
25238         * signal/raise.c (raise): Likewise.
25239         * signal/sigaction.c (__sigaction): Likewise.
25240         * signal/sigaddset.c (sigaddset): Likewise.
25241         * signal/sigaltstack.c (sigaltstack): Likewise.
25242         * signal/sigandset.c (sigandset): Likewise.
25243         * signal/sigblock.c (__sigblock): Likewise.
25244         * signal/sigdelset.c (sigdelset): Likewise.
25245         * signal/sigempty.c (sigemptyset): Likewise.
25246         * signal/sigfillset.c (sigfillset): Likewise.
25247         * signal/sighold.c (sighold): Likewise.
25248         * signal/sigignore.c (sigignore): Likewise.
25249         * signal/sigintr.c (siginterrupt): Likewise.
25250         * signal/sigisempty.c (sigisemptyset): Likewise.
25251         * signal/sigismem.c (sigismember): Likewise.
25252         * signal/signal.c (signal): Likewise.
25253         * signal/sigorset.c (sigorset): Likewise.
25254         * signal/sigpause.c (__sigpause): Likewise.
25255         * signal/sigpending.c (sigpending): Likewise.
25256         * signal/sigprocmask.c (__sigprocmask): Likewise.
25257         * signal/sigrelse.c (sigrelse): Likewise.
25258         * signal/sigreturn.c (__sigreturn): Likewise.
25259         * signal/sigset.c (sigset): Likewise.
25260         * signal/sigsetmask.c (__sigsetmask): Likewise.
25261         * signal/sigstack.c (sigstack): Likewise.
25262         * signal/sigsuspend.c (__sigsuspend): Likewise.
25263         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25264         * signal/sysv_signal.c (__sysv_signal): Likewise.
25265         * socket/accept.c (accept): Likewise.
25266         * socket/accept4.c (__libc_accept4): Likewise.
25267         * socket/bind.c (__bind): Likewise.
25268         * socket/connect.c (__connect): Likewise.
25269         * socket/getpeername.c (getpeername): Likewise.
25270         * socket/getsockname.c (__getsockname): Likewise.
25271         * socket/getsockopt.c (getsockopt): Likewise.
25272         * socket/listen.c (__listen): Likewise.
25273         * socket/recv.c (__recv): Likewise.
25274         * socket/recvmsg.c (__recvmsg): Likewise.
25275         * socket/send.c (__send): Likewise.
25276         * socket/sendmsg.c (__sendmsg): Likewise.
25277         * socket/shutdown.c (shutdown): Likewise.
25278         * socket/sockatmark.c (sockatmark): Likewise.
25279         * socket/socket.c (__socket): Likewise.
25280         * stdio-common/ctermid.c (ctermid): Likewise.
25281         * stdio-common/cuserid.c (cuserid): Likewise.
25282         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25283         * stdio-common/remove.c (remove): Likewise.
25284         * stdio-common/rename.c (rename): Likewise.
25285         * stdio-common/renameat.c (renameat): Likewise.
25286         * stdio-common/tempname.c (__gen_tempname): Likewise.
25287         * stdio-common/xbug.c (InitBuffer): Likewise.
25288         (AppendToBuffer): Likewise.
25289         (ReadFile): Likewise.
25290         * stdlib/a64l.c (a64l): Likewise.
25291         * stdlib/drand48_r.c (drand48_r): Likewise.
25292         * stdlib/getcontext.c (getcontext): Likewise.
25293         * stdlib/getenv.c (getenv): Likewise.
25294         * stdlib/l64a.c (l64a): Likewise.
25295         * stdlib/llabs.c (llabs): Likewise.
25296         * stdlib/lldiv.c (lldiv): Likewise.
25297         * stdlib/lrand48_r.c (lrand48_r): Likewise.
25298         * stdlib/mrand48_r.c (mrand48_r): Likewise.
25299         * stdlib/putenv.c (putenv): Likewise.
25300         * stdlib/random.c (__srandom): Likewise.
25301         (__initstate): Likewise.
25302         (__setstate): Likewise.
25303         * stdlib/random_r.c (__srandom_r): Likewise.
25304         (__setstate_r): Likewise.
25305         (__random_r): Likewise.
25306         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
25307         * stdlib/setcontext.c (setcontext): Likewise.
25308         * stdlib/setenv.c (setenv): Likewise.
25309         (unsetenv): Likewise.
25310         * stdlib/srand48.c (srand48): Likewise.
25311         * stdlib/srand48_r.c (__srand48_r): Likewise.
25312         * stdlib/swapcontext.c (swapcontext): Likewise.
25313         * stdlib/system.c (__libc_system): Likewise.
25314         * stdlib/tst-strtod.c (expand): Likewise.
25315         * stdlib/tst-strtol.c (expand): Likewise.
25316         * stdlib/tst-strtoll.c (expand): Likewise.
25317         * streams/fattach.c (fattach): Likewise.
25318         * streams/fdetach.c (fdetach): Likewise.
25319         * streams/getmsg.c (getmsg): Likewise.
25320         * streams/isastream.c (isastream): Likewise.
25321         * string/ffs.c (__ffs): Likewise.
25322         * string/ffsll.c (ffsll): Likewise.
25323         * string/memcmp.c (memcmp_common_alignment): Likewise.
25324         (memcmp_not_common_alignment): Likewise.
25325         (MEMCMP): Likewise.
25326         * string/memcpy.c (memcpy): Likewise.
25327         * string/memmove.c (MEMMOVE): Likewise.
25328         * string/memset.c (memset): Likewise.
25329         * string/rawmemchr.c (RAWMEMCHR): Likewise.
25330         * string/strchrnul.c (STRCHRNUL): Likewise.
25331         * string/strerror.c (strerror): Likewise.
25332         * string/strndup.c (__strndup): Likewise.
25333         * string/strverscmp.c (__strverscmp): Likewise.
25334         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
25335         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
25336         (clnttcp_freeres): Likewise.
25337         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
25338         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
25339         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
25340         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
25341         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
25342         (xdr_callhdr): Likewise.
25343         * sunrpc/rpcinfo.c (udpping): Likewise.
25344         (tcpping): Likewise.
25345         (pstatus): Likewise.
25346         (pmapdump): Likewise.
25347         (brdcst): Likewise.
25348         (deletereg): Likewise.
25349         (getprognum): Likewise.
25350         (getvers): Likewise.
25351         (get_inet_address): Likewise.
25352         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
25353         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25354         (svcudp_stat): Likewise.
25355         (svcudp_recv): Likewise.
25356         (svcudp_reply): Likewise.
25357         (svcudp_getargs): Likewise.
25358         (svcudp_freeargs): Likewise.
25359         (svcudp_destroy): Likewise.
25360         * sunrpc/xdr.c (xdr_bytes): Likewise.
25361         (xdr_netobj): Likewise.
25362         (xdr_string): Likewise.
25363         (xdr_wrapstring): Likewise.
25364         * sunrpc/xdr_float.c (xdr_float): Likewise.
25365         (xdr_double): Likewise.
25366         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
25367         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
25368         * sysvipc/ftok.c (ftok): Likewise.
25369         * sysvipc/msgctl.c (msgctl): Likewise.
25370         * sysvipc/msgget.c (msgget): Likewise.
25371         * sysvipc/msgrcv.c (msgrcv): Likewise.
25372         * sysvipc/msgsnd.c (msgsnd): Likewise.
25373         * sysvipc/semget.c (semget): Likewise.
25374         * sysvipc/semop.c (semop): Likewise.
25375         * sysvipc/shmat.c (shmat): Likewise.
25376         * sysvipc/shmctl.c (shmctl): Likewise.
25377         * sysvipc/shmdt.c (shmdt): Likewise.
25378         * sysvipc/shmget.c (shmget): Likewise.
25379         * termios/cfmakeraw.c (cfmakeraw): Likewise.
25380         * termios/speed.c (cfgetospeed): Likewise.
25381         (cfgetispeed): Likewise.
25382         (cfsetospeed): Likewise.
25383         (cfsetispeed): Likewise.
25384         * termios/tcflow.c (tcflow): Likewise.
25385         * termios/tcflush.c (tcflush): Likewise.
25386         * termios/tcgetattr.c (__tcgetattr): Likewise.
25387         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
25388         * termios/tcgetsid.c (tcgetsid): Likewise.
25389         * termios/tcsendbrk.c (tcsendbreak): Likewise.
25390         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
25391         * time/adjtime.c (__adjtime): Likewise.
25392         * time/dysize.c (dysize): Likewise.
25393         * time/ftime.c (ftime): Likewise.
25394         * time/getitimer.c (__getitimer): Likewise.
25395         * time/gettimeofday.c (__gettimeofday): Likewise.
25396         * time/gmtime.c (__gmtime_r): Likewise.
25397         (gmtime): Likewise.
25398         * time/localtime.c (__localtime_r): Likewise.
25399         (localtime): Likewise.
25400         * time/offtime.c (__offtime): Likewise.
25401         * time/settimeofday.c (__settimeofday): Likewise.
25402         * time/stime.c (stime): Likewise.
25403         * time/strftime_l.c (tm_diff): Likewise.
25404         (iso_week_days): Likewise.
25405         * time/strptime.c (strptime): Likewise.
25406         * time/time.c (time): Likewise.
25407         * time/timespec_get.c (timespec_get): Likewise.
25408         * time/tzset.c (tzset_internal): Likewise.
25409         (compute_change): Likewise.
25410         (__tz_compute): Likewise.
25411         * wcsmbs/btowc.c (__btowc): Likewise.
25412         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
25413         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
25414         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
25415         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
25416         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
25417         * wcsmbs/wcscat.c (__wcscat): Likewise.
25418         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25419         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
25420         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
25421         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25422         * wcsmbs/wcsdup.c (wcsdup): Likewise.
25423         * wcsmbs/wcslen.c (__wcslen): Likewise.
25424         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
25425         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
25426         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
25427         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
25428         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25429         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
25430         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25431         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25432         * wcsmbs/wcstok.c (wcstok): Likewise.
25433         * wcsmbs/wctob.c (wctob): Likewise.
25434         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
25435         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25436         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
25437         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
25438         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
25439         * wcsmbs/wmemset.c (__wmemset): Likewise.
25440         * wctype/wcfuncs.c (__towlower): Likewise.
25441         (__towupper): Likewise.
25443         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
25444         (lll_unlock_elision): Add adapt_count parameter.
25446 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25448         * sysdeps/nptl/configure.ac: Do not give errors based on the
25449         results of top-level configure tests.
25450         * sysdeps/nptl/configure: Regenerated.
25452         * configure.ac (libc_cv_Bgroup): Remove configure test.
25453         * configure: Regenerated.
25454         * config.make.in (have-Bgroup): Remove variable.
25456         * configure.ac (sizeof_long_double): Remove configure test.
25457         * configure: Regenerated.
25458         * config.make.in (sizeof-long-double): Remove variable.
25460         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
25461         * configure: Regenerated.
25462         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
25463         variable.
25464         (exceptions): Likewise.
25465         * sysdeps/arm/configure: Regenerated.
25466         * config.make.in (exceptions): Remove variable.
25467         * Makeconfig (uses-callbacks): Use -fexceptions instead of
25468         $(exceptions).
25469         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
25470         (CFLAGS-vdprintf_chk.c): Likewise.
25471         (CFLAGS-printf_chk.c): Likewise.
25472         (CFLAGS-fprintf_chk.c): Likewise.
25473         (CFLAGS-vprintf_chk.c): Likewise.
25474         (CFLAGS-vfprintf_chk.c): Likewise.
25475         (CFLAGS-gets_chk.c): Likewise.
25476         (CFLAGS-fgets_chk.c): Likewise.
25477         (CFLAGS-fgets_u_chk.c): Likewise.
25478         (CFLAGS-fread_chk.c): Likewise.
25479         (CFLAGS-fread_u_chk.c): Likewise.
25480         (CFLAGS-wprintf_chk.c): Likewise.
25481         (CFLAGS-fwprintf_chk.c): Likewise.
25482         (CFLAGS-vwprintf_chk.c): Likewise.
25483         (CFLAGS-vfwprintf_chk.c): Likewise.
25484         (CFLAGS-fgetws_chk.c): Likewise.
25485         (CFLAGS-fgetws_u_chk.c): Likewise.
25486         * libio/Makefile (CFLAGS-fileops.c): Likewise.
25487         (CFLAGS-fputc.c): Likewise.
25488         (CFLAGS-fputwc.c): Likewise.
25489         (CFLAGS-freopen64.c): Likewise.
25490         (CFLAGS-freopen.c): Likewise.
25491         (CFLAGS-fseek.c): Likewise.
25492         (CFLAGS-fseeko64.c): Likewise.
25493         (CFLAGS-fseeko.c): Likewise.
25494         (CFLAGS-ftello64.c): Likewise.
25495         (CFLAGS-ftello.c): Likewise.
25496         (CFLAGS-fwide.c): Likewise.
25497         (CFLAGS-genops.c): Likewise.
25498         (CFLAGS-getc.c): Likewise.
25499         (CFLAGS-getchar.c): Likewise.
25500         (CFLAGS-getwc.c): Likewise.
25501         (CFLAGS-getwchar.c): Likewise.
25502         (CFLAGS-iofclose.c): Likewise.
25503         (CFLAGS-iofflush.c): Likewise.
25504         (CFLAGS-iofgetpos64.c): Likewise.
25505         (CFLAGS-iofgetpos.c): Likewise.
25506         (CFLAGS-iofgets.c): Likewise.
25507         (CFLAGS-iofgetws.c): Likewise.
25508         (CFLAGS-iofputs.c): Likewise.
25509         (CFLAGS-iofputws.c): Likewise.
25510         (CFLAGS-iofread.c): Likewise.
25511         (CFLAGS-iofsetpos64.c): Likewise.
25512         (CFLAGS-iofsetpos.c): Likewise.
25513         (CFLAGS-ioftell.c): Likewise.
25514         (CFLAGS-iofwrite.c): Likewise.
25515         (CFLAGS-iogetdelim.c): Likewise.
25516         (CFLAGS-iogetline.c): Likewise.
25517         (CFLAGS-iogets.c): Likewise.
25518         (CFLAGS-iogetwline.c): Likewise.
25519         (CFLAGS-ioputs.c): Likewise.
25520         (CFLAGS-ioseekoff.c): Likewise.
25521         (CFLAGS-ioseekpos.c): Likewise.
25522         (CFLAGS-iosetbuffer.c): Likewise.
25523         (CFLAGS-iosetvbuf.c): Likewise.
25524         (CFLAGS-ioungetc.c): Likewise.
25525         (CFLAGS-ioungetwc.c): Likewise.
25526         (CFLAGS-oldfileops.c): Likewise.
25527         (CFLAGS-oldiofclose.c): Likewise.
25528         (CFLAGS-oldiofgetpos64.c): Likewise.
25529         (CFLAGS-oldiofgetpos.c): Likewise.
25530         (CFLAGS-oldiofsetpos64.c): Likewise.
25531         (CFLAGS-oldiofsetpos.c): Likewise.
25532         (CFLAGS-peekc.c): Likewise.
25533         (CFLAGS-putc.c): Likewise.
25534         (CFLAGS-putchar.c): Likewise.
25535         (CFLAGS-putwc.c): Likewise.
25536         (CFLAGS-putwchar.c): Likewise.
25537         (CFLAGS-rewind.c): Likewise.
25538         (CFLAGS-wfileops.c): Likewise.
25539         (CFLAGS-wgenops.c): Likewise.
25540         (CFLAGS-oldiofopen.c): Likewise.
25541         (CFLAGS-iofopen.c): Likewise.
25542         (CFLAGS-iofopen64.c): Likewise.
25543         (CFLAGS-oldtmpfile.c): Likewise.
25544         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25545         (CFLAGS-fprintf.c): Likewise.
25546         (CFLAGS-printf.c): Likewise.
25547         (CFLAGS-vfwprintf.c): Likewise.
25548         (CFLAGS-vfscanf.c): Likewise.
25549         (CFLAGS-vfwscanf.c): Likewise.
25550         (CFLAGS-fscanf.c): Likewise.
25551         (CFLAGS-scanf.c): Likewise.
25552         (CFLAGS-isoc99_vfscanf.c): Likewise.
25553         (CFLAGS-isoc99_vscanf.c): Likewise.
25554         (CFLAGS-isoc99_fscanf.c): Likewise.
25555         (CFLAGS-isoc99_scanf.c): Likewise.
25556         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
25557         (CFLAGS-isoc99_fwscanf.c): Likewise.
25558         (CFLAGS-isoc99_vwscanf.c): Likewise.
25559         (CFLAGS-isoc99_vfwscanf.c): Likewise.
25561         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
25562         after mkstemp64.
25563         * login/tst-utmp.c (do_prepare): Likewise.
25564         * rt/tst-aio.c (do_prepare): Likewise.
25565         * rt/tst-aio64.c (do_prepare): Likewise.
25567 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25569         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25570         (__lll_lock_elision): Remove adapt_count decrement...
25571         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25572         (__lll_trylock_elision): Likewise.
25573         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
25574         (__lll_unlock_elision): ... to here. And utilize
25575         new adapt_count parameter.
25576         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25577         (__lll_unlock_elision): Update to include adapt_count
25578         parameter.
25579         (lll_unlock_elision): Pass pointer to adapt_count
25580         variable.
25582 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25584         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
25585         Add elision adapt_count parameter to list of arguments.
25586         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25587         (lll_unlock_elision): Update with new parameter list
25588         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
25589         (lll_unlock_elision): Likewise.
25590         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
25591         (lll_unlock_elision): Likewise.
25593 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25595         [BZ #19122]
25596         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
25597         attribute_hidden.
25599         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
25600         attribute_hidden.
25601         [IS_IN (rtld)] (__strdup): Likewise.
25602         [IS_IN (rtld)] (__strerror_r): Likewise.
25603         [IS_IN (rtld)] (__strsep_g): Likewise.
25604         [IS_IN (rtld)] (memchr): Likewise.
25605         [IS_IN (rtld)] (memcmp): Likewise.
25606         [IS_IN (rtld)] (memcpy): Likewise.
25607         [IS_IN (rtld)] (memmove): Likewise.
25608         [IS_IN (rtld)] (memset): Likewise.
25609         [IS_IN (rtld)] (rawmemchr): Likewise.
25610         [IS_IN (rtld)] (stpcpy): Likewise.
25611         [IS_IN (rtld)] (strchr): Likewise.
25612         [IS_IN (rtld)] (strcmp): Likewise.
25613         [IS_IN (rtld)] (strlen): Likewise.
25614         [IS_IN (rtld)] (strnlen): Likewise.
25615         [IS_IN (rtld)] (strsep): Likewise.
25617         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
25618         attribute_hidden.
25619         [IS_IN (rtld)] (__strtoul_internal): Likewise.
25621         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
25622         attribute_hidden.
25623         [IS_IN (rtld)] (__libc_sigaction): Likewise.
25625         * include/setjmp.h (__longjmp): Add attribute_hidden.
25626         [IS_IN (rtld)] (__sigsetjmp): Likewise.
25628         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25629         Add attribute_hidden.
25631         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25632         [IS_IN (rtld)] (__open): Likewise.
25633         [IS_IN (rtld)] (__fcntl): Likewise.
25635         * include/dirent.h (__opendirat): Add attribute_hidden.
25636         (__getdents): Likewise.
25637         (__getdents64): Likewise.
25638         (__alloc_dir): Likewise.
25639         [IS_IN (rtld)] (__closedir): Likewise.
25640         [IS_IN (rtld)] (__fdopendir): Likewise.
25641         [IS_IN (rtld)] (__readdir): Likewise.
25642         [IS_IN (rtld)] (__readdir64): Likewise.
25643         [IS_IN (rtld)] (__rewinddir): Likewise.
25645         * include/dlfcn.h (_dl_catch_error): Moved to ...
25646         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25647         attribute_hidden.
25649         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25650         (_itoa_word): Likewise.
25652         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25653         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25654         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25655         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25656         (_dl_higher_prime_number): Likewise.
25657         (_dl_debug_printf_c): Likewise.
25658         (_dl_signal_cerror): Likewise.
25659         (_dl_receive_error): Likewise.
25660         (_dl_reloc_bad_type): Likewise.
25661         (_dl_resolve_conflicts): Likewise.
25662         (_dl_check_all_versions): Likewise.
25663         (_dl_check_map_versions): Likewise.
25664         (_dl_sort_fini): Likewise.
25665         (_dl_debug_initialize): Likewise.
25666         (_dl_init_paths): Likewise.
25667         (_dl_show_auxv): Likewise.
25668         (_dl_next_ld_env_entry): Likewise.
25669         (_dl_important_hwcaps): Likewise.
25670         (_dl_load_cache_lookup): Likewise.
25671         (_dl_update_slotinfo): Likewise.
25672         (_dl_show_scope): Likewise.
25674         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25675         attribute_hidden.
25676         (_wordcopy_fwd_dest_aligned): Likewise.
25677         (_wordcopy_bwd_aligned): Likewise.
25678         (_wordcopy_bwd_dest_aligned): Likewise.
25680         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25681         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25682         Likewise.
25683         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25684         Likewise.
25685         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25687 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25689         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
25690         GCC 5 requirement.
25692 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25694         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
25695         test.
25696         * sysdeps/i386/configure: Regenerated.
25697         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
25698         code unconditional.
25700         * configure.ac (libc_cv_asm_previous_directive): Remove configure
25701         test.
25702         (libc_cv_asm_popsection_directive): Likewise.
25703         * configure: Regenerated.
25704         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
25705         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
25706         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
25707         (__make_section_unallocated): Make definition unconditional.
25708         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
25709         Remove conditional definition.
25710         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
25711         (__make_section_unallocated): Likewise.
25713         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
25714         * configure: Regenerated.
25715         * config.make.in (static-libgcc): Remove variable.
25716         * Makerules (build-shlib-helper): Use -static-libgcc instead of
25717         $(static-libgcc).
25718         (build-module-helper): Likewise.
25720         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
25721         * configure: Regenerated.
25723 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25725         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
25726         (struct char_buffer): New type.
25727         (char_buffer_start, char_buffer_size, char_buffer_error)
25728         (char_buffer_rewind, char_buffer_add): New functions.
25729         (ADDW): Remove macro, replaced by the char_buffer_add function.
25730         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
25731         of extend_alloca.  Make control flow more explicit.
25733 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25735         [BZ #19137]
25736         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25737         Add -fomit-frame-pointer.
25738         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
25740 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25742         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
25743         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
25744         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
25745         only if !__GNUC_PREREQ (5,0).
25746         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
25747         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25748         (INTERNAL_SYSCALL_NCS): Likewise.
25749         (LOADREGS_0): New macro for GCC 5.
25750         (ASMARGS_0): Likewise.
25751         (LOADREGS_1): Likewise.
25752         (ASMARGS_1): Likewise.
25753         (LOADREGS_2): Likewise.
25754         (ASMARGS_2): Likewise.
25755         (LOADREGS_3): Likewise.
25756         (ASMARGS_3): Likewise.
25757         (LOADREGS_4): Likewise.
25758         (ASMARGS_4): Likewise.
25759         (LOADREGS_5): Likewise.
25760         (ASMARGS_5): Likewise.
25761         (LOADREGS_6): Likewise.
25762         (ASMARGS_6): Likewise.
25764 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25766         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
25767         -fomit-frame-pointer.
25768         (CFLAGS-mmap64.c): Likewise.
25769         (CFLAGS-semtimedop.c): Likewise.
25770         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
25771         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
25772         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25773         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25775 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25777         [BZ #18928]
25778         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
25779         _dl_pointer_guard member.
25780         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
25781         initializer.
25782         (security_init): Always set up pointer guard.
25783         (process_envvars): Do not process LD_POINTER_GUARD.
25785 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
25787         [BZ #19134]
25788         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
25789         (.LC2): Likewise.
25790         (.LC3): Likewise.
25791         (__lround): Do not add 0.5 to integer or out-of-range arguments.
25793 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25795         [BZ #19129]
25796         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
25797         r0 and r1.
25799 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
25801         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
25803 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
25805         * include/stap-probe.h: Fix macro definition formatting.
25807 2015-10-14  Florian Weimer  <fweimer@redhat.com>
25809         [BZ #19074]
25810         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
25811         load and store num_ifs.
25813 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25815         [BZ #18822]
25816         * sysdeps/unix/sysv/linux/sched_getaffinity.c
25817         (__sched_getaffinity_new): Add libc_hidden_proto and
25818         libc_hidden_def.
25820 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25822         [BZ #19007]
25823         * scripts/localplt.awk: Also allow GOT references.
25824         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
25825         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
25826         with "+ REL R_386_GLOB_DAT".
25827         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
25828         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
25830 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25832         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
25833         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25834         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
25835         Likewise.
25836         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25837         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
25838         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25839         INTERNAL_SYSCALLINTERNAL_SYSCALL and
25840         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25841         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25842         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25843         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25844         Likewise.
25845         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25847 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25849         [BZ #19125]
25850         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
25851         <math_private.h> and <stdint.h>.
25852         (__llround): Avoid conversions to and from long long int, and
25853         subtractions, where those might raise spurious exceptions.
25854         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25855         <math_private.h> and <stdint.h>.
25856         (__llroundf): Avoid conversions to and from long long int, and
25857         subtractions, where those might raise spurious exceptions.
25859 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25861         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
25862         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25863         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25864         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
25865         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25866         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25867         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
25868         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
25869         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
25870         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25871         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25872         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25873         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
25874         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25875         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25876         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
25877         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
25878         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25879         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
25880         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
25881         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25882         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
25883         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
25884         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25885         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
25886         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25887         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
25888         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25889         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25890         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
25891         (__xstat64_conv): Likewise.
25892         (__xstat32_conv): Likewise.
25894 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25896         * sysdeps/unix/sysv/linux/sysdep.h: New file.
25897         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
25898         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
25899         <sysdeps/unix/sysv/linux/sysdep.h>.
25900         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25901         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
25902         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
25903         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25904         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25905         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
25906         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
25907         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
25908         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
25909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25911         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25912         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25913         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25914         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25916         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
25917         (sysdep-dl-routines): Add sysdep.
25918         [$(subdir) == nptl] (libpthread-routines): Likewise.
25919         [$(subdir) == rt] (librt-routines): Likewise.
25920         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
25921         PIC when branching to SYSCALL_ERROR_LABEL.
25922         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
25923         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
25924         <sysdeps/unix/sysv/linux/sysdep.h>.
25925         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
25926         (SYSCALL_ERROR_ERRNO): Removed.
25927         (SYSCALL_ERROR_HANDLER): Changed to empty.
25928         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
25929         (__syscall_error): New prototype.
25930         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
25931         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
25933 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25935         [BZ #19124]
25936         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
25937         (_dl_runtime_resolve_avx512): Make it a hidden alias of
25938         _dl_runtime_resolve_avx.
25939         (_dl_runtime_profile_avx512): Make it a hidden alias of
25940         _dl_runtime_profile_avx.
25942 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25944         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
25945         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
25946         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
25947         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
25949         [BZ #16422]
25950         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
25951         New configure test.
25952         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
25953         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
25954         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
25955         <math_private.h> and <stdint.h>.
25956         (__llrint): Avoid conversions to long long int where those might
25957         raise spurious exceptions.
25958         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25959         <math_private.h> and <stdint.h>.
25960         (__llrintf): Avoid conversions to long long int where those might
25961         raise spurious exceptions.
25963 2015-10-12  Andreas Schwab  <schwab@suse.de>
25965         [BZ #18969]
25966         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
25967         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
25968         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
25969         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
25970         $(gen-locales).
25971         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
25972         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
25973         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
25974         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
25975         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
25976         $(gen-locales).
25977         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
25978         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
25979         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
25980         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
25981         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
25982         ($(objpfx)tst-ftell-active-handler.out)
25983         ($(objpfx)tst-ftell-append.out)
25984         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
25985         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
25986         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
25987         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
25988         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
25989         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
25990         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
25991         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
25992         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
25993         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
25994         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
25995         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
25996         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
25997         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
25998         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
25999         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26000         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26001         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26002         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
26003         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26004         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26005         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26006         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26007         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
26008         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26009         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26010         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26011         $(gen-locales).
26012         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
26013         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26014         $(gen-locales).
26015         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
26016         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26017         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26018         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26019         $(gen-locales).
26020         * libio/tst_wprintf2.c (main): Use explicit locale.
26021         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26023 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26025         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26026         __msg_sig_post.
26027         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26029 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26031         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26032         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26034         * sysdeps/arm/libm-test-ulps: Regenerated.
26036         [BZ #15470]
26037         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26039         [BZ #16399]
26040         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26041         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26042         and <fix-fp-int-convert-overflow.h>.
26043         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26044         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26045         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26046         and <fix-fp-int-convert-overflow.h>.
26047         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26048         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26049         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26050         <fix-fp-int-convert-overflow.h>.
26051         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26052         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26053         * sysdeps/ieee754/dbl-64/s_lround.c: Include
26054         <fix-fp-int-convert-overflow.h>.
26055         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26056         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26057         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26058         and <fix-fp-int-convert-overflow.h>.
26059         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26060         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26061         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26062         <limits.h> and <fix-fp-int-convert-overflow.h>.
26063         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26064         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26065         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26066         and <fix-fp-int-convert-overflow.h>.
26067         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26068         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26069         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26070         and <fix-fp-int-convert-overflow.h>.
26071         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26072         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26073         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26075 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26077         [BZ #18589]
26078         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26079         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26080         $(gen-locales).
26082 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26083             Phil Blundell <pb@pbcl.net>
26085         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26086         * nptl/tst-cancel26.c: New file.
26087         * nptl/tst-cancel27.c: Likewise.
26089 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26091         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26092         __ILP32__ isn't defined.
26093         (lrint): Likewise.
26094         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26095         (lrintf): Likewise.
26096         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26097         (lrintl): Likewise.
26098         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26099         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26100         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26102 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26104         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26105         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26107         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26108         file.
26109         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26110         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26112 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26114         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26115         configure test.
26116         * sysdeps/i386/configure: Regenerated.
26117         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26118         configure test.
26119         * sysdeps/x86_64/configure: Regenerated.
26120         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26121         Make code unconditional.
26123         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26124         test.
26125         * sysdeps/i386/configure: Regenerated.
26126         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26127         test.
26128         * sysdeps/x86_64/configure: Regenerated.
26129         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26130         Make code unconditional.
26131         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26132         Likewise.
26133         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26134         Likewise.
26135         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26136         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26137         code unconditional.
26138         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26139         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26140         code unconditional.
26141         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26142         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26143         code unconditional.
26144         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26145         code unconditional.
26146         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26147         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26148         code unconditional.
26149         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26150         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26151         code unconditional.
26152         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26153         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26154         code unconditional.
26155         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26156         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26157         code unconditional.
26158         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26159         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26161         [BZ #19095]
26162         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26163         mantissa to long int before shifting left.
26165 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26167         [BZ #19094]
26168         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26169         <limits.h>.
26170         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26171         when result overflows but exception would not result from cast.
26172         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26173         <limits.h>.
26174         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26175         when result overflows but exception would not result from cast.
26176         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26177         <limits.h>.
26178         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26179         when result overflows but exception would not result from cast.
26180         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26181         <limits.h>.
26182         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26183         when result overflows but exception would not result from cast.
26184         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26185         <limits.h>.
26186         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26187         when result overflows but exception would not result from cast.
26188         * math/libm-test.inc (lrint_test_data): Add more tests.
26189         (llrint_test_data): Likewise.
26191 2015-10-08  Roland McGrath  <roland@hack.frob.com>
26193         [BZ #18872]
26194         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26195         Move out from under [$(run-built-tests) = yes] conditional.
26196         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26197         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26199 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
26201         [BZ #18589]
26202         * string/Makefile (tests): Add bug-strcoll2.
26203         (LOCALES): Add cs_CZ.UTF-8.
26204         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26206         [BZ #18589]
26207         * string/bug-strcoll2.c: New file.
26208         * locale/categories.def: Revert commit
26209         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26210         * locale/langinfo.h: Likewise.
26211         * locale/localeinfo.h: Likewise.
26212         * locale/C-collate.c: Likewise.
26213         * locale/programs/ld-collate.c (collate_output): Likewise.
26214         * string/strcoll_l.c (STRDIFF): Likewise.
26215         (STRCOLL): Likewise.
26216         * wcsmbs/wcscoll_l.c: Likewise.
26218 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26220         * math/libm-test.inc (lround_test_data): Do not expect the absence
26221         of "inexact" for some tests with non-integer arguments.
26222         (llround_test_data): Likewise.
26224         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26225         test.
26226         (libc_cv_cc_sse2avx): Likewise.
26227         * sysdeps/i386/configure: Regenerated.
26228         * sysdeps/i386/i686/multiarch/Makefile
26229         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26230         [$(subdir) = math].
26231         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26232         code unconditional.
26233         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26234         Likewise.
26235         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26236         Likewise.
26237         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26238         Likewise.
26239         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26240         test.
26241         (libc_cv_cc_sse2avx): Likewise.
26242         * sysdeps/x86_64/configure: Regenerated.
26243         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26244         unconditional.
26245         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26246         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26247         unconditional.
26248         (_dl_runtime_profile)
26249         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26250         conditional code.
26251         * sysdeps/x86_64/fpu/multiarch/Makefile
26252         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26253         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26254         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26255         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26256         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26257         * sysdeps/x86_64/fpu/multiarch/e_log.c
26258         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26259         * sysdeps/x86_64/fpu/multiarch/s_atan.c
26260         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26261         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26262         Likewise.
26263         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26264         Likewise.
26265         * sysdeps/x86_64/fpu/multiarch/s_sin.c
26266         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26267         * sysdeps/x86_64/fpu/multiarch/s_tan.c
26268         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26269         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26270         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26271         (HAVE_SSE2AVX_SUPPORT): Likewise.
26273 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
26275         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26276         instead of #pragma optimize.
26278 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26280         [BZ #17195]
26281         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26282         as is similarly done in systrim and _int_free already.
26284 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26286         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26288 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26290         [BZ #19088]
26291         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
26292         <limits.h>.
26293         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26294         overflows but exception would not result from cast.
26295         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
26296         and <limits.h>.
26297         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26298         overflows but exception would not result from cast.
26299         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
26300         <limits.h>.
26301         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26302         overflows but exception would not result from cast.
26303         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
26304         <limits.h>.
26305         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26306         overflows but exception would not result from cast.
26307         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
26308         <limits.h>.
26309         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26310         overflows but exception would not result from cast.
26311         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
26312         <limits.h>.
26313         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26314         overflows but exception would not result from cast.
26315         * math/libm-test.inc (lround_test_data): Add more tests.
26316         (llround_test_data): Likewise.
26318 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
26320         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
26321         (CFLAGS-ialloc.c): Ditto.
26322         (CFLAGS-scheck.c): Ditto.
26324 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26326         [BZ #19086]
26327         * manual/filesys.texi (Storage Allocation): Fix argument order for
26328         posix_fallocate64.
26330 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26332         [BZ #19085]
26333         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
26334         exponent below 48 inside case for non-overflowing exponent.
26335         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
26337 2015-10-07  Florian Weimer  <fweimer@redhat.com>
26339         * iconvdata/cp737.h (from_idx): Add const.
26340         * iconvdata/cp775.h (from_idx): Likewise.
26342 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26344         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
26345         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
26346         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
26348         [BZ #19079]
26349         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
26350         file, conditioned on [!_LP64].
26351         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
26352         [!_LP64] (__lround): Do not define as function or alias.
26353         [!_LP64] (lround): Likewise.
26354         [!_LP64] (__lroundl): Likewise.
26355         [!_LP64] (lroundl): Likewise.
26356         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
26357         macro.
26358         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26359         Likewise.
26361 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26363         * math/libm-test.inc (lrint_test_data): Add more tests.
26364         (llrint_test_data): Likewise.
26365         (lround_test_data): Likewise.
26366         (llround_test_data): Likewise.
26368         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
26369         (llrint_test_data): Add tests used for lrint.
26371         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
26372         test.
26373         * sysdeps/i386/configure: Regenerated.
26374         * sysdeps/i386/i686/multiarch/Makefile
26375         [$(config-cflags-sse4) = yes]: Make code unconditional.
26376         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26377         Likewise.
26378         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
26379         Likewise.
26380         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
26381         test.
26382         * sysdeps/x86_64/configure: Regenerated.
26383         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
26384         Make code unconditional.
26385         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26386         Likewise.
26387         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
26388         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
26390         * scripts/rpm2dynsym.sh: Remove file.
26392 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26394         * configure.ac (libc_cv_cxx_thread_local): Define.
26395         * configure: Regenerate.
26396         * config.make.in (have-cxx-thread_local): Define.
26397         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
26398         (LDLIBS-tst-thread_local1): Define.
26399         (tests): Add tst-thread_local1.
26400         [have-cxx-thread_local != yes] (tests-unsupported): Add
26401         tst-thread_local1.
26402         * nptl/tst-thread_local1.cc: New file.
26404 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26406         [BZ #19078]
26407         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
26408         (u_thres): Likewise.
26409         (__expl): Determine whether to call __kernel_standard_l based on
26410         value of result, not argument.
26412         * math/libm-test.inc (scalb_test_data): Add more expectations for
26413         the "inexact" exception.
26415         [BZ #19077]
26416         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
26417         0.0L for argument 1.0L.
26419         [BZ #19076]
26420         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
26421         constant 0.0L when computing infinite result.
26423 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26425         [BZ #10432]
26426         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
26427         malloc_usable_size.
26429 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26431         [BZ #19018]
26432         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26433         Mangle function pointer before storing it.
26434         (__call_tls_dtors): Demangle function pointer before calling it.
26436 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26438         [BZ #19012]
26439         * iconv/gconv_db.c (gen_steps): Check for additional errors.
26440         Clean up on failure.
26442 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
26444         [BZ #19071]
26445         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
26446         long int variable to store possibly incremented high part of
26447         mantissa.
26448         * math/libm-test.inc (lround_test_data): Add tests used for
26449         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
26450         for tests requiring 64-bit long.  Do not condition tests on
26451         [TEST_FLOAT] unnecessarily.
26452         (llround_test_data): Add tests used for lround.  Add another
26453         expectation for the "inexact" exception.  Do not condition tests
26454         on [TEST_FLOAT] unnecessarily.
26456         [BZ #887]
26457         [BZ #19049]
26458         [BZ #19050]
26459         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
26460         * sysdeps/ieee754/dbl-64/e_log10.c: Include
26461         <fix-int-fp-convert-zero.h>.
26462         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26463         * sysdeps/ieee754/dbl-64/e_log2.c: Include
26464         <fix-int-fp-convert-zero.h>.
26465         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26466         * sysdeps/ieee754/dbl-64/s_erf.c: Include
26467         <fix-int-fp-convert-zero.h>.
26468         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26469         * sysdeps/ieee754/dbl-64/s_logb.c: Include
26470         <fix-int-fp-convert-zero.h>.
26471         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26472         * sysdeps/ieee754/flt-32/e_log10f.c: Include
26473         <fix-int-fp-convert-zero.h>.
26474         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26475         * sysdeps/ieee754/flt-32/e_log2f.c: Include
26476         <fix-int-fp-convert-zero.h>.
26477         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26478         * sysdeps/ieee754/flt-32/s_erff.c: Include
26479         <fix-int-fp-convert-zero.h>.
26480         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26481         * sysdeps/ieee754/flt-32/s_logbf.c: Include
26482         <fix-int-fp-convert-zero.h>.
26483         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26484         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
26485         <fix-int-fp-convert-zero.h>.
26486         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26487         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
26488         <fix-int-fp-convert-zero.h>.
26489         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26490         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
26491         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
26492         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
26493         file.
26494         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
26496 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
26498         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26500 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
26502         [BZ #19059]
26503         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
26504         overflowing computation.
26505         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26506         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26507         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26508         Likewise.
26509         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26510         Likewise.
26511         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26512         Likewise.
26513         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26514         Likewise.
26515         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26516         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26517         Likewise.
26518         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26519         Likewise.
26520         * math/libm-test.inc (nexttoward_test_data): Add more tests.
26522         * nss/rewrite_field.c (__nss_rewrite_field): Use
26523         internal_function.
26524         * nss/valid_field.c (__nss_valid_field): Likewise.
26525         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26527 2015-10-02  Florian Weimer  <fweimer@redhat.com>
26529         [BZ #18724]
26530         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
26531         (__nss_invalid_field_characters, __nss_valid_field)
26532         (__nss_valid_list_field, __nss_rewrite_field): Declare.
26533         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
26534         tst-field.c: New file.
26535         * nss/Makefile (routines): Add valid_field, rewrite_field.
26536         (tests-static): Define unconditionally.
26537         (tests): Include tests-static.
26538         [build-static-nss] (tests-static): Use append.
26539         [build-static-nss] (tests): Remove modification.
26540         * nss/getent.c (print_group): Call putgrent.  Report error.
26541         (print_gshadow): Call putsgent.  Report error.
26542         (print_passwd): Call putpwent.  Report error.
26543         (print_shadow): Call putspent.  Report error.
26544         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
26545         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
26546         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
26547         name, password, directory, shell fields for valid syntax.  Rewrite
26548         GECOS field to match syntax.
26549         * pwd/Makefile (tests): Add tst-putpwent.
26550         * pwd/tst-putpwent.c: New file.
26551         * grp/putgrent.c (putgrent): Convert to ISO function definition.
26552         Check grName, grpasswd, gr_mem fields for valid syntax.
26553         Change loop variable i to size_t.
26554         * grp/Makefile (tests): Add tst-putgrent.
26555         * grp/tst-putgrent.c: New file.
26556         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
26557         valid syntax.
26558         * shadow/Makefile (tests): Add tst-putspent.
26559         * shadow/tst-putspent.c: New file.
26560         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
26561         sg_mem fields for valid syntax.
26562         * gshadow/Makefile (tests): Add tst-putsgent.
26563         * gshadow/tst-putsgent.c: New file.
26565 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26567         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
26568         assembly instructions.
26570 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26572         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
26573         prefix from operands.
26575 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
26577         [BZ #16347]
26578         [BZ #19046]
26579         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
26580         <libc-internal.h>.
26581         (MAXLGM): Do not use diagnostic control macros.
26582         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
26583         threshold for ldbl-128ibm.
26584         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
26585         instead of multiplying by log then subtracting.
26586         * math/auto-libm-test-in: Add more tests of lgamma.
26587         * math/auto-libm-test-out: Regenerated.
26589         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26590         (TYPE_HEX_DIG): Likewise.
26591         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
26592         precisions when printing floating-point numbers.
26593         (check_float_internal): Likewise.
26595 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26597         [BZ #16620]
26598         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
26599         of log (10) rounded downward to 48 bits.
26600         (log10_low): Use corresponding low part of log (10).
26602         [BZ #19032]
26603         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
26604         compute result as (x - x) / (x - x) not as 0 / 0.
26605         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26606         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
26608         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26609         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
26610         and expm1.
26611         * math/auto-libm-test-out: Regenerated.
26612         * math/libm-test.inc (acos_test_data): Add more tests.
26613         (asin_test_data): Likewise.
26614         (asinh_test_data): Likewise.
26615         (atan_test_data): Likewise.
26616         (atanh_test_data): Likewise.
26617         (atan2_test_data): Likewise.
26618         (cbrt_test_data): Likewise.
26619         (ceil_test_data): Likewise.
26620         (copysign_test_data): Likewise.
26621         (cos_test_data): Likewise.
26622         (cosh_test_data): Likewise.
26623         (erf_test_data): Likewise.
26624         (erfc_test_data): Likewise.
26625         (exp_test_data): Likewise.
26626         (exp10_test_data): Likewise.
26627         (exp2_test_data): Likewise.
26628         (expm1_test_data): Likewise.
26629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26631 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26633         [BZ #19006]
26634         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26635         to ...
26636         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26637         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26638         to ...
26639         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26640         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26641         to ...
26642         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26643         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26644         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26645         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26646         to ...
26647         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26648         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26649         Moved to ...
26650         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26651         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26652         Moved to ...
26653         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26654         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26655         to ...
26656         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26657         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26658         Moved to ...
26659         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26660         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26661         to ...
26662         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26663         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26664         Removed.
26665         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26666         Likewise.
26667         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26668         Likewise.
26669         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26670         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26671         Likewise.
26672         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26673         Likewise.
26674         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26675         Likewise.
26676         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26677         Likewise.
26678         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26679         Likewise.
26680         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26681         Likewise.
26682         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
26683         Likewise.
26684         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
26685         Likewise.
26686         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
26687         Likewise.
26688         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
26689         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
26690         Likewise.
26691         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26692         Likewise.
26693         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26694         Likewise.
26695         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26696         Likewise.
26697         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
26698         Likewise.
26699         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26700         Replace ../i486/pthread_cond_timedwait.S with
26701         ../pthread_cond_timedwait.S.
26703 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26705         * math/libm-test.inc (acos_test_data): Refine expectations for
26706         errno and "inexact" exceptions.
26707         (acosh_test_data): Likewise.
26708         (asin_test_data): Likewise.
26709         (asinh_test_data): Likewise.
26710         (atan_test_data): Likewise.
26711         (atanh_test_data): Likewise.
26712         (atan2_test_data): Likewise.
26713         (cbrt_test_data): Likewise.
26714         (ceil_test_data): Likewise.
26715         (copysign_test_data): Likewise.
26716         (cosh_test_data): Likewise.
26717         (erf_test_data): Likewise.
26718         (erfc_test_data): Likewise.
26719         (exp_test_data): Likewise.
26720         (exp10_test_data): Likewise.
26721         (exp2_test_data): Likewise.
26722         (expm1_test_data): Likewise.
26723         (fabs_test_data): Likewise.
26724         (floor_test_data): Likewise.
26725         (fma_test_data): Likewise.
26726         (fmax_test_data): Likewise.
26727         (fmin_test_data): Likewise.
26728         (fmod_test_data): Likewise.
26729         (fpclassify_test_data): Likewise.
26730         (frexp_test_data): Likewise.
26731         (hypot_test_data): Likewise.
26732         (ilogb_test_data): Likewise.
26733         (isgreater_test_data): Likewise.
26734         (isgreaterequal_test_data): Likewise.
26735         (isinf_test_data): Likewise.
26736         (isless_test_data): Likewise.
26737         (islessequal_test_data): Likewise.
26738         (islessgreater_test_data): Likewise.
26739         (isnan_test_data): Likewise.
26740         (isnormal_test_data): Likewise.
26741         (issignaling_test_data): Likewise.
26742         (isunordered_test_data): Likewise.
26743         (j0_test_data): Likewise.
26744         (j1_test_data): Likewise.
26745         (jn_test_data): Likewise.
26746         (lgamma_test_data): Likewise.
26747         (lrint_test_data): Likewise.
26748         (llrint_test_data): Likewise.
26749         (log_test_data): Likewise.
26750         (log10_test_data): Likewise.
26751         (log1p_test_data): Likewise.
26752         (log2_test_data): Likewise.
26753         (logb_test_data): Likewise.
26754         (lround_test_data): Likewise.
26755         (llround_test_data): Likewise.
26756         (modf_test_data): Likewise.
26757         (nearbyint_test_data): Likewise.
26758         (nextafter_test_data): Likewise.
26759         (nexttoward_test_data): Likewise.
26760         (pow_test_data): Likewise.
26761         (remainder_test_data): Likewise.
26762         (remquo_test_data): Likewise.
26763         (rint_test_data): Likewise.
26764         (round_test_data): Likewise.
26765         (signbit_test_data): Likewise.
26766         (sinh_test_data): Likewise.
26767         (sqrt_test_data): Likewise.
26768         (tanh_test_data): Likewise.
26769         (tgamma_test_data): Likewise.
26770         (trunc_test_data): Likewise.
26771         (y0_test_data): Likewise.
26772         (y1_test_data): Likewise.
26773         (yn_test_data): Likewise.
26774         (significand_test_data): Likewise.
26776 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
26778         * manual/filesys.texi (Storage Allocation): Document that
26779         posix_fallocate emulation fails when fd is open with O_WRONLY.
26781 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
26783         [BZ #19016]
26784         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
26785         allow more cases with X^2 + Y^2 >= 0.5.
26786         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
26787         normal element in sum instead of special-casing based on values of
26788         arguments.
26789         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
26790         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
26791         -1 as normal element in sum instead of special-casing based on
26792         values of arguments.
26793         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
26794         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
26795         (__x2y2m1): Update comment.
26796         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
26797         as normal element in sum instead of special-casing based on values
26798         of arguments.
26799         * math/s_clog.c (__clog): Handle more cases using log1p without
26800         hypot.
26801         * math/s_clog10.c (__clog10): Likewise.
26802         * math/s_clog10f.c (__clog10f): Likewise.
26803         * math/s_clog10l.c (__clog10l): Likewise.
26804         * math/s_clogf.c (__clogf): Likewise.
26805         * math/s_clogl.c (__clogl): Likewise.
26806         * math/auto-libm-test-in: Add more tests of clog and clog10.
26807         * math/auto-libm-test-out: Regenerated.
26808         * sysdeps/i386/fpu/libm-test-ulps: Update.
26809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26811 2015-09-28  Martin Sebor  <msebor@redhat.com>
26813         [BZ #18969]
26814         * string/Makefile (LOCALES): Define.
26815         (gen-locales.mk): Include.
26816         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
26817         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
26818         * string/tst-strxfrm2.c (do_test): Print the name of the locale
26819         on setlocale failure.
26821 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26823         [BZ #18985]
26824         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
26825         (__strftime_internal): Likewise.
26826         * time/tst-strftime.c (do_bz18985): New test.
26827         (do_test): Call it.
26829 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
26831         [BZ #18956]
26832         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
26833         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
26834         extracting high part.
26835         * math/auto-libm-test-in: Add another test of pow.
26836         * math/auto-libm-test-out: Regenerated.
26837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26839 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26841         [BZ #18825]
26842         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
26843         New macro.
26844         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
26845         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26846         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
26847         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
26848         DBL_NARROW_EVAL, reloading the PIC register as needed.
26849         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
26850         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
26851         FLT_NARROW_EVAL.  Use separate return path for case when first
26852         argument is NaN.
26853         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
26854         DEFINE_LDBL_MIN.
26855         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
26856         PIC register.
26857         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
26858         math_check_force_underflow_nonneg.
26859         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
26860         underflow for subnormal result.
26861         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
26862         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
26863         math_check_force_underflow_nonneg.
26864         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
26865         math_check_force_underflow.
26866         * sysdeps/x86_64/fpu/x86_64-math-asm.h
26867         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
26868         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
26869         DEFINE_LDBL_MIN.
26870         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
26871         * math/auto-libm-test-in: Add more tests of pow.
26872         * math/auto-libm-test-out: Regenerated.
26874 2015-09-25  Florian Weimer  <fweimer@redhat.com>
26876         * nss/bug17079.c (init_test_items): Add diagnostic for
26877         inconsistent entries.
26878         (test_buffer_size): Skip inconsistent entries.
26880 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26882         [BZ #13304]
26883         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
26884         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
26885         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
26887         [BZ #13304]
26888         * sysdeps/microblaze/s_fma.c: New file.
26889         * sysdeps/microblaze/s_fmaf.c: Likewise.
26890         * sysdeps/microblaze/sfp-machine.h: Likewise.
26892 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
26894         [BZ #17250]
26895         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
26896         member.
26898 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26900         [BZ #18803]
26901         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
26902         (MO): New macro.
26903         (__ieee754_hypot) [PIC]: Load PIC register.
26904         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
26905         DBL_NARROW_EVAL.
26906         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
26907         math_check_force_underflow_nonneg in case where result might be
26908         tiny.
26909         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26910         Likewise.
26911         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26912         Likewise.
26913         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
26914         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
26915         * math/auto-libm-test-in: Add more tests of hypot.
26916         * math/auto-libm-test-out: Regenerated.
26918 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
26920         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
26922 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26924         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
26925         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
26926         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26927         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26928         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
26929         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26930         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26932         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
26933         LOAD_PIC_REG.
26935         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
26936         (FLT_CHECK_FORCE_UFLOW): Likewise.
26937         (DBL_CHECK_FORCE_UFLOW): Likewise.
26938         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
26939         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
26940         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
26941         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26942         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26943         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26944         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26945         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26946         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
26947         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26948         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
26949         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
26950         (flt_min): Replace with use of DEFINE_FLT_MIN.
26951         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
26952         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
26953         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26954         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
26955         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
26956         (flt_min): Replace with use of DEFINE_FLT_MIN.
26957         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
26958         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
26959         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26960         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
26961         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
26962         (flt_min): Replace with use of DEFINE_FLT_MIN.
26963         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
26964         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
26965         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26966         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26967         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
26968         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26969         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26970         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
26971         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26972         (__atan): Use DBL_CHECK_FORCE_UFLOW.
26973         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
26974         (flt_min): Replace with use of DEFINE_FLT_MIN.
26975         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
26976         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
26977         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26978         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
26979         main computation.
26980         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
26981         (flt_min): Replace with use of DEFINE_FLT_MIN.
26982         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
26983         main computation.
26984         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
26985         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26986         (MO): New macro.
26987         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
26988         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
26989         (flt_min): Replace with use of DEFINE_FLT_MIN.
26990         (MO): New macro.
26991         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
26992         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
26993         (__log1pl): Use MO.
26995         [BZ #19003]
26996         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
26997         $(config-cflags-nofma).
26999 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27001         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27003 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
27005         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27006         (TWO127): Likewise.
27008         * sysdeps/generic/math_private.h (fabs_tg): New macro.
27009         (min_of_type): Likewise.
27010         (math_check_force_underflow): Likewise.
27011         (math_check_force_underflow_nonneg): Likewise.
27012         (math_check_force_underflow_complex): Likewise.
27013         * math/e_exp2l.c (__ieee754_exp2l): Use
27014         math_check_force_underflow_nonneg.
27015         * math/k_casinh.c (__kernel_casinh): Likewise.
27016         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27017         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27018         * math/s_catan.c (__catan): Use
27019         math_check_force_underflow_complex.
27020         * math/s_catanf.c (__catanf): Likewise.
27021         * math/s_catanh.c (__catanh): Likewise.
27022         * math/s_catanhf.c (__catanhf): Likewise.
27023         * math/s_catanhl.c (__catanhl): Likewise.
27024         * math/s_catanl.c (__catanl): Likewise.
27025         * math/s_ccosh.c (__ccosh): Likewise.
27026         * math/s_ccoshf.c (__ccoshf): Likewise.
27027         * math/s_ccoshl.c (__ccoshl): Likewise.
27028         * math/s_cexp.c (__cexp): Likewise.
27029         * math/s_cexpf.c (__cexpf): Likewise.
27030         * math/s_cexpl.c (__cexpl): Likewise.
27031         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27032         * math/s_clog10.c (__clog10): Likewise.
27033         * math/s_clog10f.c (__clog10f): Likewise.
27034         * math/s_clog10l.c (__clog10l): Likewise.
27035         * math/s_clogf.c (__clogf): Likewise.
27036         * math/s_clogl.c (__clogl): Likewise.
27037         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27038         * math/s_csinf.c (__csinf): Likewise.
27039         * math/s_csinh.c (__csinh): Likewise.
27040         * math/s_csinhf.c (__csinhf): Likewise.
27041         * math/s_csinhl.c (__csinhl): Likewise.
27042         * math/s_csinl.c (__csinl): Likewise.
27043         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27044         * math/s_csqrtf.c (__csqrtf): Likewise.
27045         * math/s_csqrtl.c (__csqrtl): Likewise.
27046         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27047         * math/s_ctanf.c (__ctanf): Likewise.
27048         * math/s_ctanh.c (__ctanh): Likewise.
27049         * math/s_ctanhf.c (__ctanhf): Likewise.
27050         * math/s_ctanhl.c (__ctanhl): Likewise.
27051         * math/s_ctanl.c (__ctanl): Likewise.
27052         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27053         instead of volatile.
27054         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27055         math_check_force_underflow.
27056         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27057         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27058         volatile when forcing underflow.
27059         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27060         math_check_force_underflow_nonneg.
27061         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27062         Likewise.
27063         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27064         math_check_force_underflow.
27065         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27066         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27067         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27068         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27069         math_check_force_underflow_nonneg.
27070         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27071         math_check_force_underflow.
27072         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27074         instead of volatile.
27075         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27076         math_check_force_underflow.
27077         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27078         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27079         math_check_force_underflow_nonneg.
27080         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27081         math_check_force_underflow.
27082         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27083         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27084         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27085         math_check_force_underflow_nonneg.
27086         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27087         Likewise.
27088         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27089         math_check_force_underflow.
27090         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27091         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27092         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27093         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27094         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27095         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27096         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27097         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27098         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27099         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27100         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27101         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27102         Likewise.
27103         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27104         math_check_force_underflow_nonneg.
27105         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27106         Likewise.
27107         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27108         math_check_force_underflow.
27109         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27110         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27111         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27112         Likewise.
27113         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27114         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27115         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27116         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27117         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27118         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27120         instead of volatile.
27121         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27122         math_check_force_underflow.
27123         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27124         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27125         math_check_force_underflow.
27126         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27127         Likewise.
27128         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27129         Use math_check_force_underflow_nonneg.
27130         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27131         math_check_force_underflow.
27132         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27133         Likewise.
27134         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27135         Likewise.
27136         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27137         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27138         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27139         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27140         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27141         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27142         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27143         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27144         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27145         math_check_force_underflow_nonneg.
27146         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27147         math_check_force_underflow.
27148         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27149         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27150         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27151         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27152         math_check_force_underflow_nonneg.
27153         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27154         math_check_force_underflow.
27155         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27156         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27157         instead of volatile.
27158         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27159         math_check_force_underflow.
27161         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27162         * stdlib/strtod_l.c: Include <math_private.h>.
27163         (overflow_value): Use math_narrow_eval.
27164         (underflow_value): Likewise.
27165         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27166         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27167         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27168         (__ieee754_gamma_r): Likewise.
27169         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27170         Likewise.
27171         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27172         Likewise.
27173         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27174         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27175         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27176         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27177         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27178         (__ieee754_gammaf_r): Likewise.
27179         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27180         Likewise.
27181         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27182         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27183         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27184         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27185         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27186         volatile.
27187         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27188         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27189         math_narrow_eval.
27190         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27191         Likewise.
27192         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27193         Likewise.
27194         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27195         Likewise.
27196         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27197         volatile.
27198         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27199         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27200         math_narrow_eval.
27201         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27202         Likewise.
27203         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27204         Likewise.
27206 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
27208         * nptl/Versions: Remove ignored symbols.
27210 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27212         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
27213         * nss/Makefile (tests): Update.
27215 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27217         * nss/bug18287.c: New file.
27218         * nss/Makefile (tests): Add bug18287.
27220 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27222         * mach/Versions (__mach_host_self_): Add symbol.
27224 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27226         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27227         vm_page_size.
27229 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27231         Really fix sysdeps/i386/fpu/s_scalbn.S build
27233         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27234         (libc: GLIBC_2_22): Remove unused version set.
27236 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27238         * config.make.in (enable-timezone-tools): New variable.
27239         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27240         (enable_timezone_tools): Export to generated files.
27241         * configure: Regenerate.
27242         * INSTALL: Regenerate.
27243         * manual/install.texi (--disable-timezone-tools): Document new flag.
27244         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27245         ifeq ($(enable-timezone-tools),yes) check.
27247 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27249         * timezone/Makefile: Revert previous change.
27251         [BZ #18980]
27252         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27253         (DEFINE_DBL_MIN): Likewise.
27254         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27255         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27256         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27257         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27258         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27259         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27260         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27261         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27262         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27263         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27264         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27265         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27266         (flt_min): Replace with use of DEFINE_FLT_MIN.
27267         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27268         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27269         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27270         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27271         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27272         (flt_min): Replace with use of DEFINE_FLT_MIN.
27273         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27274         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27275         (flt_min): Replace with use of DEFINE_FLT_MIN.
27276         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27277         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27278         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27279         (__ieee754_hypot): Use DBL_NARROW_EVAL.
27280         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27281         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27282         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27283         (__ieee754_pow): Use DBL_NARROW_EVAL.
27284         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27285         (__ieee754_powf): Use FLT_NARROW_EVAL.
27286         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27287         (__ieee754_expf_sse2): Convert double-precision result to single
27288         precision.
27289         * sysdeps/i386/fpu/libm-test-ulps: Update.
27291 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27293         * timezone/Makefile: Ignore unused variable errors due to private.h
27294         (time_t_min) and (time_t_max).
27295         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
27296         Likewise.
27298 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27300         [BZ #18981]
27301         * sysdeps/i386/fpu/i386-math-asm.h: New file.
27302         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
27303         (__ieee754_scalb): Use DBL_NARROW_EVAL.
27304         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
27305         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
27306         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
27307         (__scalbn): Use DBL_NARROW_EVAL.
27308         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
27309         (__scalbnf): Use FLT_NARROW_EVAL.
27311 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27313         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
27314         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
27315         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
27316         * stdio-common/printf_fp.c (___printf_fp):
27317         Use signbit to get the sign. Use isinf macro to allow inlining.
27318         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
27319         * stdio-common/printf_size.c (__printf_size): Likewise.
27321 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27323         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
27325 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27327         [BZ #18980]
27328         * sysdeps/generic/math_private.h: Include <float.h>.
27329         (math_narrow_eval): New macro.
27330         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
27331         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
27332         math_narrow_eval on overflowing return value.
27333         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
27334         Likewise.
27335         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27336         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
27337         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
27338         Likewise.
27339         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27341 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27343         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
27344         * math/Makefile: Remove isinf_ns.c.
27345         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
27346         * math/multc3.c (__multc3): Likewise.
27347         * math/s_casin.c (__casin): Likewise.
27348         * math/s_casinf.c (__casinf): Likewise.
27349         * math/s_casinl.c (__casinl): Likewise.
27350         * math/s_cproj.c (__cproj): Likewise.
27351         * math/s_cprojf.c (__cprojf): Likewise.
27352         * math/s_cprojl.c (__cprofl): Likewise.
27353         * math/s_ctan.c (__ctan): Likewise.
27354         * math/s_ctanf.c (__ctanf): Likewise.
27355         * math/s_ctanh.c (__ctanh): Likewise.
27356         * math/s_ctanhf.c (__ctanhf): Likewise.
27357         * math/s_ctanhl.c (__ctanhl): Likewise.
27358         * math/s_ctanl.c (__ctanl): Likewise.
27359         * math/w_fmod.c (__fmod): Likewise.
27360         * math/w_fmodf.c (__fmodf): Likewise.
27361         * math/w_fmodl.c (_fmodl): Likewise.
27362         * math/w_remainder.c (__remainder): Likewise.
27363         * math/w_remainderf.c (__remainderf): Likewise.
27364         * math/w_remainderl.c (__remainderl): Likewise.
27365         * math/w_scalb.c (__scalb): Likewise.
27366         * math/w_scalbf.c (__scalbf): Likewise.
27367         * math/w_scalbl.c (__scalbl): Likewise.
27368         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
27369         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
27370         with isinf.
27371         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
27372         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
27373         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
27374         __isinf_nsf with isinf.
27375         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
27376         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
27377         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
27378         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
27379         with isinf.
27380         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
27381         __isinf_nsl with isinf.
27382         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
27383         with isinf.
27384         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
27385         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
27386         __isinf_nsl with isinf.
27387         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
27388         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
27389         with isinf.
27391 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27393         * resolv/base64.c (rcsid): Remove unused static.
27394         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
27395         static.  (tqpi1): Likewise.
27396         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
27397         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
27398         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
27399         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
27400         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
27401         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
27402         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
27403         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
27404         Likewise.
27406 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
27408         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
27409         <nptl/pthreadP.h>.
27410         (_longjmp_unwind): Use __libc_ptf_call.
27411         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
27413 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
27415         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
27416         * sysdeps/arm/__longjmp.S: Likewise.
27418 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27420         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
27421         Use __builtin_signbit.
27422         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
27423         Use __builtin_signbitf.
27424         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
27425         Use __builtin_signbitl.
27426         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27427         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
27429 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27431         [BZ #15367]
27432         [BZ #17441]
27434         * math/Makefile: Build test-snan.c with -fsignaling-nans.
27435         * math/math.h (fpclassify): Use __builtin_fpclassify when
27436         available.  (signbit): Use __builtin_signbit(f/l).
27437         (isfinite): Use__builtin_isfinite.  (isnormal): Use
27438         __builtin_isnormal.  (isnan): Use __builtin_isnan.
27439         (isinf): Use __builtin_isinf_sign.
27441 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27443         * benchtests/Makefile: Add bench-math-inlines, link with libm.
27444         * benchtests/bench-math-inlines.c: New benchmark.
27445         * benchtests/bench-util.h: New file.
27446         * benchtests/bench-util.c: New file.
27447         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
27449 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
27451         * elf/tst-dlmopen1.c: Define TEST_SO.
27452         (do_test): Use TEST_SO.
27454         * elf/dl-load.c: Include libc-internal.h.
27455         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
27457 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27459         [BZ #17887]
27460         * time/strptime_l.c (__strptime_internal): Make %z accept
27461         [+-]HH:MM time zones.
27463 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27465         [BZ #17886]
27466         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
27467         valid time zone.
27469 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
27471         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
27472         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
27473         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27474         (__ASSUME_FDATASYNC): Delete.
27476 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27478         * conform/linknamespace.pl: Require weak undefined symbols to be
27479         in the standard namespace.
27480         (%strong_syms): Rename to %seen_syms.
27481         (%strong_seen): Rename to %seen_where.
27483 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
27485         [BZ #18970]
27486         * misc/error.c (error): Replace pthread_setcancelstate with
27487         __pthread_setcancelstate.
27488         (error_at_line): Likewise.
27489         * posix/wordexp.c (parse_comm): Likewise.
27490         * stdlib/fmtmsg.c (fmtmsg): Likewise.
27491         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
27492         (__pthread_setcancelstate): This.
27493         (pthread_setcancelstate): Add an alias.
27494         * nptl/nptl-init.c (pthread_functions): Replace
27495         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
27496         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
27497         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
27498         hidden_proto.
27499         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
27500         it with hidden_def.
27501         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
27502         (pthread_setcancelstate): Renamed to ...
27503         (__pthread_setcancelstate): This.
27504         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
27505         __libc_ptf_call with __pthread_setcancelstate.
27507 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27508             Andreas Schwab  <schwab@suse.de>
27510         [BZ #17118]
27511         * math/s_ctan.c (__ctan): Determine sign of zero real part of
27512         result when imaginary part of argument is infinite using sine and
27513         cosine.
27514         * math/s_ctanf.c (__ctanf): Likewise.
27515         * math/s_ctanl.c (__ctanl): Likewise.
27516         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
27517         of result when real part of argument is infinite using sine and
27518         cosine.
27519         * math/s_ctanhf.c (__ctanhf): Likewise.
27520         * math/s_ctanhl.c (__ctanhl): Likewise.
27521         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
27522         (ctanh_test_data): Add more tests of ctanh.
27524 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27526         [BZ #15384]
27527         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
27528         bit-mask as in subtraction.
27529         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
27530         Likewise.
27531         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
27532         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
27533         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
27535         [BZ #18951]
27536         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
27537         underflow exception for small results.
27538         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27539         Likewise.
27540         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27541         Likewise.
27542         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27543         Likewise.
27544         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27545         Likewise.
27546         * math/auto-libm-test-in: Add more tests of tgamma.
27547         * math/auto-libm-test-out: Regenerated.
27549 2015-09-17  Andreas Schwab  <schwab@suse.de>
27551         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
27553 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27555         [BZ #18977]
27556         * math/bits/mathcalls.h
27557         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
27558         not declare.
27559         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
27560         Likewise.
27561         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
27562         Likewise.
27563         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
27564         Likewise.
27565         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
27566         Likewise.
27567         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
27568         Likewise.
27569         * conform/data/math.h-data
27570         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
27571         function.
27572         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
27573         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
27574         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
27575         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
27576         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
27577         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
27578         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
27579         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
27580         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
27581         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
27582         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
27584         [BZ #6803]
27585         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
27586         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
27587         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
27588         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
27589         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
27590         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
27591         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
27592         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
27593         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27594         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
27595         Likewise.
27596         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27597         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
27598         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
27599         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
27600         long_double_symbol calls.
27601         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
27602         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
27603         strong alias of __ldexpl.
27604         (scalbnl): Define using long_double_symbol.
27605         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
27606         Remove alias.
27607         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
27608         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
27609         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
27610         (scalbln_test_data): Add more errno expectations.
27612 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
27614         Cache the host port like we cache the task port.  This way we do not
27615         need to call the kernel just to get the port.  Furthermore, we no
27616         longer increase the reference count on every invocation of
27617         `mach_host_self'.
27619         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
27620         Protect declarations against the macro expansion.
27621         * mach/mach_init.c (__mach_host_self_): New variable.
27622         (mach_init): Initialize `__mach_host_self_'.
27623         * mach/mach_init.h (__mach_host_self_): New declaration.
27624         (__mach_host_self, mach_host_self): New macros.
27625         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27626         Release reference.
27628 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27630         [BZ #4404]
27631         * po/de.po: Update from Translation Project.
27633         [BZ #16415]
27634         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27635         (__expm1l): Remove code to handle positive infinity and overflow.
27636         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27637         variable.
27638         (__expm1l): Remove code to handle positive infinity and overflow.
27640 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27641             Paul Pluzhnikov  <ppluzhnikov@google.com>
27643         [BZ #18872]
27644         * stdio-common/Makefile (tst-printf-bz18872): New test.
27645         (tst-printf-bz18872-mem.out): Likewise.
27646         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27647         * stdio-common/vfprintf.c: Fix memory leaks.
27649 2015-09-16  Andreas Schwab  <schwab@suse.de>
27651         [BZ #17244]
27652         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27653         Remove extra va_start/va_end calls.
27655         [BZ #17243]
27656         * posix/execl.c (execl): Add missing va_end.
27657         * posix/execle.c (execle): Likewise.
27658         * posix/execlp.c (execlp): Likewise.
27660 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27662         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27663         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27665 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27667         [BZ #18967]
27668         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27669         undefine around includes of <bits/mathcalls.h>.
27670         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27671         not declare function.
27672         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27673         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27674         (scalb): Likewise.
27675         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27676         not define macro.
27677         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27678         variable.
27679         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27680         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27681         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27683         [BZ #18857]
27684         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
27685         return non-finite argument without doing ordered comparisons on
27686         it.
27688         [BZ #16296]
27689         * math/fenv.h (fegetround): Use __attribute_pure__.
27690         * include/fenv.h (__fegetround): Likewise.
27692         [BZ #18595]
27693         * math/s_ctan.c (__ctan): Force underflow exception for results
27694         whose real or imaginary part has small absolute value.
27695         * math/s_ctanf.c (__ctanf): Likewise.
27696         * math/s_ctanh.c (__ctanh): Likewise.
27697         * math/s_ctanhf.c (__ctanhf): Likewise.
27698         * math/s_ctanhl.c (__ctanhl): Likewise.
27699         * math/s_ctanl.c (__ctanl): Likewise.
27700         * math/auto-libm-test-in: Do not allow missing underflow for ctan
27701         and ctanh.  Add more tests of ctan and ctanh.
27703         [BZ #15918]
27704         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
27705         handling of cases where one argument is an infinity.
27707         [BZ #18875]
27708         [BZ #18966]
27709         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
27710         (MO): New macro.
27711         (__ieee754_exp10): For small results, force underflow exception
27712         and remove excess range and precision from return value.
27713         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
27714         (MO): New macro.
27715         (__ieee754_exp10f): For small results, force underflow exception
27716         and remove excess range and precision from return value.
27717         * math/auto-libm-test-in: Add more tests of exp10.
27718         * math/auto-libm-test-out: Regenerated.
27720 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
27722         [BZ #18875]
27723         [BZ #18961]
27724         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
27725         (MO): New macro.
27726         (__ieee754_exp): For small results, force underflow exception and
27727         remove excess range and precision from return value.
27728         (__exp_finite): Likewise.
27729         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
27730         (MO): New macro.
27731         (__ieee754_expf): For small results, force underflow exception and
27732         remove excess range and precision from return value.
27733         (__expf_finite): Likewise.
27734         * math/auto-libm-test-in: Add more tests of exp.
27735         * math/auto-libm-test-out: Regenerated.
27737         [BZ #16521]
27738         [BZ #18875]
27739         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
27740         small results.
27741         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
27742         (MO): New macro.
27743         (__ieee754_exp2): For small results, force underflow exception and
27744         remove excess range and precision from return value.
27745         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27746         (MO): New macro.
27747         (__ieee754_exp2f): For small results, force underflow exception
27748         and remove excess range and precision from return value.
27749         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
27750         (MO): New macro.
27751         (__ieee754_exp2l): Force underflow exception for small results.
27752         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27753         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27754         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
27755         (MO): New macro.
27756         (__ieee754_exp2l): Force underflow exception for small results.
27757         * math/auto-libm-test-in: Add more tests or exp2.
27758         * math/auto-libm-test-out: Regenerated.
27760 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
27762         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
27764         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
27765         /dev/null.
27767 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27769         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27770         io fs process)): Drop spurious backslash.
27772 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27774         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
27775         Use sysinfo system call instead of parsing /proc/meminfo.
27776         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
27777         Likewise.
27779 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
27781         [BZ #16985]
27782         * programs/localedef.c (main): Display argv[remaining] when
27783         output_path is NULL.
27785 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27787         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27788         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
27789         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
27790         tanh.
27791         * math/auto-libm-test-out: Regenerated.
27792         * sysdeps/i386/fpu/libm-test-ulps: Update.
27793         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27794         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27797 2015-09-11  Roland McGrath  <roland@hack.frob.com>
27799         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
27800         Use 'override' keyword to freeze the value here, preventing
27801         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
27803 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27805         [BZ #14912]
27806         * sysdeps/aarch64/bits/atomic.h: Move to ...
27807         * sysdeps/aarch64/atomic-machine.h: ...here.
27808         (_AARCH64_BITS_ATOMIC_H): Rename macro to
27809         _AARCH64_ATOMIC_MACHINE_H.
27810         * sysdeps/alpha/bits/atomic.h: Move to ...
27811         * sysdeps/alpha/atomic-machine.h: ...here.
27812         * sysdeps/arm/bits/atomic.h: Move to ...
27813         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
27814         * bits/atomic.h: Move to ...
27815         * sysdeps/generic/atomic-machine.h: ...here.
27816         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27817         * sysdeps/i386/bits/atomic.h: Move to ...
27818         * sysdeps/i386/atomic-machine.h: ...here.
27819         * sysdeps/ia64/bits/atomic.h: Move to ...
27820         * sysdeps/ia64/atomic-machine.h: ...here.
27821         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
27822         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
27823         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27824         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
27825         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
27826         * sysdeps/microblaze/bits/atomic.h: Move to ...
27827         * sysdeps/microblaze/atomic-machine.h: ...here.
27828         * sysdeps/mips/bits/atomic.h: Move to ...
27829         * sysdeps/mips/atomic-machine.h: ...here.
27830         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
27831         * sysdeps/powerpc/bits/atomic.h: Move to ...
27832         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
27833         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
27834         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
27835         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
27836         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
27837         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
27838         <atomic-machine.h> instead of <bits/atomic.h>.
27839         * sysdeps/s390/bits/atomic.h: Move to ...
27840         * sysdeps/s390/atomic-machine.h: ...here.
27841         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
27842         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
27843         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27844         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
27845         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
27846         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
27847         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
27848         * sysdeps/tile/bits/atomic.h: Move to ...
27849         * sysdeps/tile/atomic-machine.h: ...here.
27850         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
27851         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
27852         <sysdeps/tile/atomic-machine.h> instead of
27853         <sysdeps/tile/bits/atomic.h>.
27854         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27855         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
27856         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
27857         <sysdeps/tile/atomic-machine.h> instead of
27858         <sysdeps/tile/bits/atomic.h>.
27859         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27860         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
27861         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
27862         <sysdeps/arm/atomic-machine.h> instead of
27863         <sysdeps/arm/bits/atomic.h>.
27864         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
27865         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
27866         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27867         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
27868         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
27869         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27870         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
27871         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
27872         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
27873         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
27874         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
27875         * sysdeps/x86_64/bits/atomic.h: Move to ...
27876         * sysdeps/x86_64/atomic-machine.h: ...here.
27877         * include/atomic.h: Include <atomic-machine.h> instead of
27878         <bits/atomic.h>.
27880         * sysdeps/mips/mips32/libm-test-ulps: Update.
27881         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27883         [BZ #18952]
27884         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
27885         not convert non-integer negative arguments to int to determine the
27886         value of signgam.
27887         * math/auto-libm-test-in: Add more tests of lgamma.
27888         * math/auto-libm-test-out: Regenerated.
27890         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
27891         cosh, csqrt, erfc, expm1 and lgamma.
27892         * math/auto-libm-test-out: Regenerated.
27893         * sysdeps/i386/fpu/libm-test-ulps: Update.
27894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27896 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
27898         [BZ #2542]
27899         [BZ #2543]
27900         [BZ #2558]
27901         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
27902         __lgamma_neg for arguments from -28.0 to -2.0.
27903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
27904         __lgamma_negf for arguments from -15.0 to -2.0.
27905         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27906         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
27907         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
27908         Call __lgamma_negl for arguments from -33.0 to -2.0.
27909         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
27910         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
27911         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
27912         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
27913         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
27914         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
27915         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
27916         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
27917         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
27918         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
27919         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
27920         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
27921         (__lgamma_neg): Likewise.
27922         (__lgamma_negl): Likewise.
27923         (__lgamma_product): Likewise.
27924         (__lgamma_productl): Likewise.
27925         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
27926         * math/auto-libm-test-in: Add more tests of lgamma.
27927         * math/auto-libm-test-out: Regenerated.
27928         * sysdeps/i386/fpu/libm-test-ulps: Update.
27929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27931 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
27933         [BZ #18675]
27934         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
27936 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
27938         [BZ #14912]
27939         * bits/libc-lock.h: Move to ...
27940         * sysdeps/generic/libc-lock.h: ...here.
27941         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27942         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
27943         * sysdeps/mach/hurd/libc-lock.h: ...here.
27944         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27945         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
27946         * sysdeps/mach/bits/libc-lock.h: Move to ...
27947         * sysdeps/mach/libc-lock.h: ...here.
27948         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27949         * sysdeps/nptl/bits/libc-lock.h: Move to ...
27950         * sysdeps/nptl/libc-lock.h: ...here.
27951         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27952         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
27953         * sysdeps/nptl/libc-lockP.h: ...here.
27954         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
27955         * crypt/crypt_util.c: Include <libc-lock.h> instead of
27956         <bits/libc-lock.h>.
27957         * dirent/scandir-tail.c: Likewise.
27958         * dlfcn/dlerror.c: Likewise.
27959         * elf/dl-close.c: Likewise.
27960         * elf/dl-iteratephdr.c: Likewise.
27961         * elf/dl-lookup.c: Likewise.
27962         * elf/dl-open.c: Likewise.
27963         * elf/dl-support.c: Likewise.
27964         * elf/dl-writev.h: Likewise.
27965         * elf/rtld.c: Likewise.
27966         * grp/fgetgrent.c: Likewise.
27967         * gshadow/fgetsgent.c: Likewise.
27968         * gshadow/sgetsgent.c: Likewise.
27969         * iconv/gconv_conf.c: Likewise.
27970         * iconv/gconv_db.c: Likewise.
27971         * iconv/gconv_dl.c: Likewise.
27972         * iconv/gconv_int.h: Likewise.
27973         * iconv/gconv_trans.c: Likewise.
27974         * include/link.h: Likewise.
27975         * inet/getnameinfo.c: Likewise.
27976         * inet/getnetgrent.c: Likewise.
27977         * inet/getnetgrent_r.c: Likewise.
27978         * intl/bindtextdom.c: Likewise.
27979         * intl/dcigettext.c: Likewise.
27980         * intl/finddomain.c: Likewise.
27981         * intl/gettextP.h: Likewise.
27982         * intl/loadmsgcat.c: Likewise.
27983         * intl/localealias.c: Likewise.
27984         * intl/textdomain.c: Likewise.
27985         * libidn/idn-stub.c: Likewise.
27986         * libio/libioP.h: Likewise.
27987         * locale/duplocale.c: Likewise.
27988         * locale/freelocale.c: Likewise.
27989         * locale/newlocale.c: Likewise.
27990         * locale/setlocale.c: Likewise.
27991         * login/getutent_r.c: Likewise.
27992         * login/getutid_r.c: Likewise.
27993         * login/getutline_r.c: Likewise.
27994         * login/utmp-private.h: Likewise.
27995         * login/utmpname.c: Likewise.
27996         * malloc/mtrace.c: Likewise.
27997         * misc/efgcvt.c: Likewise.
27998         * misc/error.c: Likewise.
27999         * misc/fstab.c: Likewise.
28000         * misc/getpass.c: Likewise.
28001         * misc/mntent.c: Likewise.
28002         * misc/syslog.c: Likewise.
28003         * nis/nis_call.c: Likewise.
28004         * nis/nis_callback.c: Likewise.
28005         * nis/nss-default.c: Likewise.
28006         * nis/nss_compat/compat-grp.c: Likewise.
28007         * nis/nss_compat/compat-initgroups.c: Likewise.
28008         * nis/nss_compat/compat-pwd.c: Likewise.
28009         * nis/nss_compat/compat-spwd.c: Likewise.
28010         * nis/nss_nis/nis-alias.c: Likewise.
28011         * nis/nss_nis/nis-ethers.c: Likewise.
28012         * nis/nss_nis/nis-grp.c: Likewise.
28013         * nis/nss_nis/nis-hosts.c: Likewise.
28014         * nis/nss_nis/nis-network.c: Likewise.
28015         * nis/nss_nis/nis-proto.c: Likewise.
28016         * nis/nss_nis/nis-pwd.c: Likewise.
28017         * nis/nss_nis/nis-rpc.c: Likewise.
28018         * nis/nss_nis/nis-service.c: Likewise.
28019         * nis/nss_nis/nis-spwd.c: Likewise.
28020         * nis/nss_nisplus/nisplus-alias.c: Likewise.
28021         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28022         * nis/nss_nisplus/nisplus-grp.c: Likewise.
28023         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28024         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28025         * nis/nss_nisplus/nisplus-network.c: Likewise.
28026         * nis/nss_nisplus/nisplus-proto.c: Likewise.
28027         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28028         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28029         * nis/nss_nisplus/nisplus-service.c: Likewise.
28030         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28031         * nis/ypclnt.c: Likewise.
28032         * nptl/libc_pthread_init.c: Likewise.
28033         * nss/getXXbyYY.c: Likewise.
28034         * nss/getXXent.c: Likewise.
28035         * nss/getXXent_r.c: Likewise.
28036         * nss/nss_db/db-XXX.c: Likewise.
28037         * nss/nss_db/db-netgrp.c: Likewise.
28038         * nss/nss_db/nss_db.h: Likewise.
28039         * nss/nss_files/files-XXX.c: Likewise.
28040         * nss/nss_files/files-alias.c: Likewise.
28041         * nss/nsswitch.c: Likewise.
28042         * posix/regex_internal.h: Likewise.
28043         * posix/wordexp.c: Likewise.
28044         * pwd/fgetpwent.c: Likewise.
28045         * resolv/res_hconf.c: Likewise.
28046         * resolv/res_libc.c: Likewise.
28047         * shadow/fgetspent.c: Likewise.
28048         * shadow/lckpwdf.c: Likewise.
28049         * shadow/sgetspent.c: Likewise.
28050         * socket/opensock.c: Likewise.
28051         * stdio-common/reg-modifier.c: Likewise.
28052         * stdio-common/reg-printf.c: Likewise.
28053         * stdio-common/reg-type.c: Likewise.
28054         * stdio-common/vfprintf.c: Likewise.
28055         * stdio-common/vfscanf.c: Likewise.
28056         * stdlib/abort.c: Likewise.
28057         * stdlib/cxa_atexit.c: Likewise.
28058         * stdlib/fmtmsg.c: Likewise.
28059         * stdlib/random.c: Likewise.
28060         * stdlib/setenv.c: Likewise.
28061         * string/strsignal.c: Likewise.
28062         * sunrpc/auth_none.c: Likewise.
28063         * sunrpc/bindrsvprt.c: Likewise.
28064         * sunrpc/create_xid.c: Likewise.
28065         * sunrpc/key_call.c: Likewise.
28066         * sunrpc/rpc_thread.c: Likewise.
28067         * sysdeps/arm/backtrace.c: Likewise.
28068         * sysdeps/generic/ldsodefs.h: Likewise.
28069         * sysdeps/generic/stdio-lock.h: Likewise.
28070         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28071         * sysdeps/i386/backtrace.c: Likewise.
28072         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28073         * sysdeps/m68k/backtrace.c: Likewise.
28074         * sysdeps/mach/hurd/cthreads.c: Likewise.
28075         * sysdeps/mach/hurd/dirstream.h: Likewise.
28076         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28077         * sysdeps/nptl/malloc-machine.h: Likewise.
28078         * sysdeps/nptl/stdio-lock.h: Likewise.
28079         * sysdeps/posix/dirstream.h: Likewise.
28080         * sysdeps/posix/getaddrinfo.c: Likewise.
28081         * sysdeps/posix/system.c: Likewise.
28082         * sysdeps/pthread/aio_suspend.c: Likewise.
28083         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28084         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28085         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28086         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28087         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28088         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28089         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28090         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28091         * sysdeps/unix/sysv/linux/system.c: Likewise.
28092         * sysdeps/x86_64/backtrace.c: Likewise.
28093         * time/alt_digit.c: Likewise.
28094         * time/era.c: Likewise.
28095         * time/tzset.c: Likewise.
28096         * wcsmbs/wcsmbsload.c: Likewise.
28097         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28098         instead of <bits/libc-lock.h> in comment.
28100 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28102         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28103         Only use .set mips2 if the current ISA is below mips2.
28104         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28105         Likewise.
28106         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28107         mips32r2 if the current ISA is below mips32r2.
28108         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28109         (TLS_IE): Updated to use the TLD_RDHWR macro.
28110         (TLS_LE): Likewise.
28111         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28112         __ASSEMBLER__ condition.
28114 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28116         Fix parallel build of before-compile targets.
28118         * sysdeps/mach/Makefile ($(patsubst
28119         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28120         mach-before-compile target.
28121         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28122         io fs process)): Move rule to dedicated hurd-before-compile target.
28124 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28126         Fix rules generating headers in hurd/ and mach/ when initial make call
28127         has subdir= explicitly set.
28129         * sysdeps/mach/Makefile ($(patsubst
28130         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28131         calling $(MAKE).
28132         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28133         io fs process)): Force subdir to hurd when calling $(MAKE).
28134         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28135         subdir to mach when calling $(MAKE).
28137 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28139         Check sysheaders when looking for Mach and Hurd headers
28141         * sysdeps/mach/configure.ac: Add sysheaders check.
28142         * sysdeps/mach/configure: Regenerate.
28143         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28144         * sysdeps/mach/hurd/configure: Regenerate.
28146 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28148         [BZ #18921]
28149         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28150         Fix inverted sense of test of 'o_directory_works' value.
28151         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28152         Bernhard Voelker <mail@bernhard-voelker.de>.
28154 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28156         [BZ #14912]
28157         * bits/linkmap.h: Move to ...
28158         * sysdeps/generic/linkmap.h: ...here.
28159         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28160         * sysdeps/aarch64/linkmap.h: ...here.
28161         * sysdeps/arm/bits/linkmap.h: Move to ...
28162         * sysdeps/arm/linkmap.h: ...here.
28163         * sysdeps/hppa/bits/linkmap.h: Move to ...
28164         * sysdeps/hppa/linkmap.h: ...here.
28165         * sysdeps/ia64/bits/linkmap.h: Move to ...
28166         * sysdeps/ia64/linkmap.h: ...here.
28167         * sysdeps/mips/bits/linkmap.h: Move to ...
28168         * sysdeps/mips/linkmap.h: ...here.
28169         * sysdeps/s390/bits/linkmap.h: Move to ...
28170         * sysdeps/s390/linkmap.h: ...here.
28171         * sysdeps/sh/bits/linkmap.h: Move to ...
28172         * sysdeps/sh/linkmap.h: ...here.
28173         * sysdeps/x86/bits/linkmap.h: Move to ...
28174         * sysdeps/x86/linkmap.h: ...here.
28175         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28177 2015-09-04  Andreas Schwab  <schwab@suse.de>
28179         [BZ #18635]
28180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28181         (__makecontext): Terminate FDE before return label.
28182         (__novec_makecontext): Likewise.
28184 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28186         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28187         first member of struct sv in syscall macro.
28189 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28191         [BZ #14912]
28192         * bits/stdio-lock.h: Move to ...
28193         * sysdeps/generic/stdio-lock.h: ...here.
28194         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28195         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28196         * sysdeps/nptl/stdio-lock.h: ...here.
28197         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28198         * include/libio.h: Include <stdio-lock.h> instead of
28199         <bits/stdio-lock.h>.
28200         * sysdeps/nptl/fork.c: Likewise.
28201         * sysdeps/pthread/flockfile.c: Likewise.
28202         * sysdeps/pthread/ftrylockfile.c: Likewise.
28203         * sysdeps/pthread/funlockfile.c: Likewise.
28205         [BZ #14912]
28206         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28207         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28208         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28209         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28210         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28211         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28212         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28214 2015-09-03  Roland McGrath  <roland@hack.frob.com>
28216         * elf/Makefile (test-xfail-tst-protected1a): New variable.
28217         (test-xfail-tst-protected1b): New variable.
28219 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
28221         [BZ #14912]
28222         * bits/libc-tsd.h: Move to ...
28223         * sysdeps/generic/libc-tsd.h: ...here.
28224         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28225         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28226         * sysdeps/mach/hurd/libc-tsd.h: ...here.
28227         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28228         * include/ctype.h: Include <libc-tsd.h> instead of
28229         <bits/libc-tsd.h>.
28230         * include/rpc/rpc.h: Likewise.
28231         * locale/localeinfo.h: Likewise.
28232         * sunrpc/rpc_thread.c: Likewise.
28233         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28234         * sysdeps/nptl/malloc-machine.h: Likewise.
28236         * Makefile (headers): Remove bits/libc-lock.h.
28237         * libio/Makefile (headers): Remove bits/stdio-lock.h.
28239         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28240         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28241         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28242         <bits/stdio-lock.h>.
28243         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28244         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28246 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28248         [BZ #18757]
28249         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28250         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28251         BZ #18757.
28253 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28255         * malloc/mtrace.pl: Filter out NULL entries.
28257 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
28259         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28260         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28261         macro.
28263         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28264         (TCP_CC_INFO): Likewise.
28265         (TCP_SAVE_SYN): Likewise.
28266         (TCP_SAVED_SYN): Likewise.
28268 2015-08-31  Brett Neumeier <brett@neumeier.us>
28270         [BZ #18870]
28271         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28273 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
28275         [BZ #18873]
28276         Fix broken overflow check in posix_fallocate
28277         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28278         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28279         Fix parenthesization typo.
28281 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
28283         [BZ #18887]
28284         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28285         tst-mntent-blank-passno.
28286         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28287         * misc/tst-mntent-blank-corrupt.c: New test.
28288         * misc/tst-mntent-blank-passno.c: New test ripped from ...
28289         * misc/tst-mntent.c (do_test): ... here.
28291 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
28293         [BZ #4404]
28294         * po/de.po: Fix SIGALRM typo.
28296 2015-08-28  James Perkins  <james@loowit.net>
28298         * time/tst-strptime2.c (tests): Replace short list of test
28299         strings for strptime %z specifier with code which exhaustively
28300         tests every combination of sign and 0 to 5 digits. Tests for
28301         rejection of invalid strings.
28303 2015-08-28  James Perkins  <james@loowit.net>
28305         [BZ #16141]
28306         * time/strptime_l.c (__strptime_internal): Fix %z minutes
28307         calculation, removing incorrect decimal time rounding, so that
28308         all minute values result in a valid seconds value.
28309         * time/strptime_l.c (__strptime_internal): Extend %z time zone
28310         offset range limits to UTC-99:59 through UTC+99:59 to parse
28311         current and historical use cases.
28312         * time/tst-strptime2.c (tests): Modify and add tests for the
28313         strptime %z input field descriptor, specifically conversion of
28314         minutes to seconds and validating an offset range of -9959 to
28315         +9959.
28317 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28318             Dmitry V. Levin  <ldv@altlinux.org>
28320         [BZ #18877]
28321         * posix/Makefile (tests): Add tst-mmap-offset.
28322         * posix/tst-mmap.c: New file.
28323         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
28324         offset calculation for negative values.
28326 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28328         * sysdeps/i386/init-arch.h: New file.
28329         * sysdeps/i386/i586/init-arch.h: Likewise.
28330         * sysdeps/i386/i686/init-arch.h: Likewise.
28331         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
28332         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
28333         * sysdeps/x86/cpu-features.h (bit_I586): New.
28334         (bit_I686): Likewise.
28335         (bit_CX8): Likewise.
28336         (bit_CMOV): Likewise.
28337         (index_CX8): Likewise.
28338         (index_CMOV): Likewise.
28339         (index_I586): Likewise.
28340         (index_I686): Likewise.
28341         (reg_CX8): Likewise.
28342         (reg_CMOV): Likewise.
28343         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28344         available at compile-time.
28345         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
28346         available at compile-time.
28347         * sysdeps/x86/init-arch.h (USE_I586): New macro.
28348         (USE_I686): Likewise.
28350 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28352         * sysdeps/i386/bcopy.S: New file.
28353         * sysdeps/i386/bzero.S: Likewise.
28354         * sysdeps/i386/memcpy.S: Likewise.
28355         * sysdeps/i386/memmove.S: Likewise.
28356         * sysdeps/i386/mempcpy.S: Likewise.
28357         * sysdeps/i386/memset.S: Likewise.
28358         * sysdeps/i386/bzero.c: Removed.
28359         * sysdeps/i386/memset.c: Likewise.
28360         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
28361         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
28362         * sysdeps/i386/i586/memset_chk.S: Likewise.
28363         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
28364         * sysdeps/i386/memcpy_chk.S: Here.
28365         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
28366         * sysdeps/i386/memmove_chk.S: Here.
28367         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
28368         * sysdeps/i386/mempcpy_chk.S: Likewise.
28369         * sysdeps/i386/i686/memset_chk.S: Moved to ...
28370         * sysdeps/i386/memset_chk.S: Likewise.
28372 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
28374         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
28375         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
28376         file, move DIAG_POP_NEEDS_COMMENT to end of file.
28377         * soft-fp/fmadf4.c: Ditto.
28378         * soft-fp/fmatf4.c: Ditto.
28380 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28382         * sysdeps/i386/i586/Implies: Removed.
28383         * sysdeps/i386/i686/Implies: Likewise.
28385 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28387         * sysdeps/i386/i486/strlen.S: Moved to ...
28388         * sysdeps/i386/strlen.S: Here.
28390 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28392         * sysdeps/i386/i486/strcat.S: Moved to ...
28393         * sysdeps/i386/strcat.S: Here.
28395 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28397         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
28398         * sysdeps/i386/pthread_spin_trylock.S: Here.
28399         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
28400         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
28402 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28404         * sysdeps/i386/i486/string-inlines.c: Moved to ...
28405         * sysdeps/i386/string-inlines.c: Here.
28407 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28409         * sysdeps/i386/i486/htonl.S: Moved ...
28410         * sysdeps/i386/htonl.S: here.
28412 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28414         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
28415         * sysdeps/i386/bits/atomic.h: Here.
28417 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28419         * sysdeps/i386/i486/Versions: Removed.
28421 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28423         [BZ #2898]
28424         * misc/mktemp.c: Add mkdtemp to the link_warning message.
28425         Based on patch by Aurelien Jarno.
28427 2015-08-26  Stan Shebs  <stanshebs@google.com>
28429         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
28430         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28432 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28434         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
28435         * sysdeps/powerpc/dl-procinfo.c:
28436         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
28437         feature so it shows when LD_SHOW_AUXV=1.
28439 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28441         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28442         (__arch_compare_and_exchange_val_32_acq): Remove and use common
28443         definition.  ISA 2.07B no longer requires full sync.
28445 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
28447         [BZ #18863]
28448         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
28449         (si_call_addr): Define.
28450         (si_syscall): Define.
28451         (si_arch): Define.
28453 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
28455         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
28456         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
28457         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
28458         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28459         (__memset_zero_constant_len_parameter): New.
28460         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
28461         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28462         (__memset_zero_constant_len_parameter): Don't define if
28463         __memset_chk or USE_AS_BZERO are defined.
28465         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
28466         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
28467         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
28469         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
28470         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
28471         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
28472         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
28473         comments.
28474         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
28475         -mno-mmx for $(all-rtld-routines).
28476         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
28477         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
28478         i386.
28480 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28482         * sysdeps/generic/unwind.h
28483         (_Unwind_Word): Use __mode__(__unwind_word__)
28484         instead of __mode__(__word__).
28485         (_Unwind_Sword): Likewise.
28487         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28488         (MAX_NEEDED_INPUT): New define.
28489         (MAX_NEEDED_OUTPUT): New define.
28491         * NEWS: New item for IBM z13 string optimizations.
28493         * sysdeps/s390/multiarch/memrchr-c.c: New File.
28494         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
28495         * sysdeps/s390/multiarch/memrchr.c: Likewise.
28496         * sysdeps/s390/multiarch/Makefile
28497         (sysdep_routines): Add memrchr functions.
28498         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28499         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
28501         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
28502         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
28503         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
28504         * sysdeps/s390/multiarch/Makefile
28505         (sysdep_routines): Add wmemcmp functions.
28506         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28507         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
28508         * benchtests/bench-wmemcmp.c: New File.
28509         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
28511         * sysdeps/s390/multiarch/wmemset-c.c: New File.
28512         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
28513         * sysdeps/s390/multiarch/wmemset.c: Likewise.
28514         * sysdeps/s390/multiarch/Makefile
28515         (sysdep_routines): Add wmemset functions.
28516         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28517         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
28518         * wcsmbs/wmemset.c: Use WMEMSET if defined.
28519         * string/test-memset.c: Add wmemset support.
28520         * wcsmbs/test-wmemset.c: New File.
28521         * wcsmbs/Makefile (strop-tests): Add wmemset.
28522         * benchtests/bench-memset.c: Add wmemset support.
28523         * benchtests/bench-wmemset.c: New File.
28524         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
28526         * sysdeps/s390/multiarch/memccpy-c.c: New File.
28527         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
28528         * sysdeps/s390/multiarch/memccpy.c: Likewise.
28529         * sysdeps/s390/multiarch/Makefile
28530         (sysdep_routines): Add memccpy functions.
28531         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28532         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
28533         * string/memccpy.c: Use MEMCCPY if defined.
28535         * sysdeps/s390/multiarch/memchr-vx.S: New File.
28536         * sysdeps/s390/multiarch/memchr.c: Likewise.
28537         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
28538         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
28539         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
28540         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
28541         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
28542         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
28543         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
28544         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
28545         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
28546         and rawmemchr functions.
28547         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28548         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
28549         and wmemchr.
28550         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
28551         * string/test-memchr.c: Add wmemchr support.
28552         * wcsmbs/test-wmemchr.c: New File.
28553         * wcsmbs/Makefile (strop-tests): Add wmemchr.
28554         * benchtests/bench-memchr.c: Add wmemchr support.
28555         * benchtests/bench-wmemchr.c: New File.
28556         * benchtests/Makefile (wcsmbs-bench): wmemchr.
28558         * sysdeps/s390/multiarch/strcspn-c.c: New File.
28559         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
28560         * sysdeps/s390/multiarch/strcspn.c: Likewise.
28561         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
28562         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
28563         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
28564         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
28565         wcscspn functions.
28566         * sysdeps/s390/multiarch/ifunc-impl-list.c
28567         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
28568         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
28569         * string/test-strcspn.c: Add wcscspn support.
28570         * wcsmbs/test-wcscspn.c: New File.
28571         * wcsmbs/Makefile (strop-tests): Add wcscspn.
28572         * benchtests/bench-strcspn.c: Add wcscspn support.
28573         * benchtests/bench-wcscspn.c: New File.
28574         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
28576         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
28577         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
28578         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
28579         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
28580         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
28581         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
28582         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
28583         wcspbrk functions.
28584         * sysdeps/s390/multiarch/ifunc-impl-list.c
28585         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
28586         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
28587         * string/test-strpbrk.c: Add wcspbrk support.
28588         * wcsmbs/test-wcspbrk.c: New File.
28589         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
28590         * benchtests/bench-strpbrk.c: Add wcspbrk support.
28591         * benchtests/bench-wcspbrk.c: New File.
28592         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
28594         * sysdeps/s390/multiarch/strspn-c.c: New File.
28595         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
28596         * sysdeps/s390/multiarch/strspn.c: Likewise.
28597         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
28598         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
28599         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
28600         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
28601         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
28602         wcsspn functions.
28603         * sysdeps/s390/multiarch/ifunc-impl-list.c
28604         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
28605         * string/test-strspn.c: Add wcsspn support.
28606         * wcsmbs/test-wcsspn.c: New File.
28607         * wcsmbs/Makefile (strop-tests): Add wcsspn.
28608         * benchtests/bench-strspn.c: Add wcsspn support.
28609         * benchtests/bench-wcsspn.c: New File.
28610         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
28612         * sysdeps/s390/multiarch/strrchr-c.c: New File.
28613         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
28614         * sysdeps/s390/multiarch/strrchr.c: Likewise.
28615         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
28616         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
28617         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
28618         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
28619         wcsrchr functions.
28620         * sysdeps/s390/multiarch/ifunc-impl-list.c
28621         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
28622         * benchtests/bench-wcsrchr.c: New File.
28623         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28625         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28626         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28627         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28628         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28629         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28630         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28631         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28632         wcschrnul functions.
28633         * sysdeps/s390/multiarch/ifunc-impl-list.c
28634         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28635         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28636         * string/test-strchr.c: Add wcschrnul support.
28637         * wcsmbs/test-wcschrnul.c: New File.
28638         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28639         * benchtests/bench-strchr.c: Add wcschrnul support.
28640         * benchtests/bench-wcschrnul.c: New File.
28641         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28643         * sysdeps/s390/multiarch/strchr-c.c: New File.
28644         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28645         * sysdeps/s390/multiarch/strchr.c: Likewise.
28646         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28647         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28648         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28649         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28650         wcschr functions.
28651         * sysdeps/s390/multiarch/ifunc-impl-list.c
28652         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28653         * string/strchr.c (STRCHR): Define and use macro.
28654         * benchtests/bench-wcschr.c: New File.
28655         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28657         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28658         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28659         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28660         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28661         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28662         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28663         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28664         wcsncmp functions.
28665         * sysdeps/s390/multiarch/ifunc-impl-list.c
28666         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28667         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28668         * benchtests/bench-strncmp.c: Add wcsncmp support.
28669         * benchtests/bench-wcsncmp.c: New File.
28670         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28672         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28673         * sysdeps/s390/multiarch/strcmp.c: Likewise.
28674         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28675         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28676         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28677         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28678         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28679         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28680         wcscmp functions.
28681         * sysdeps/s390/multiarch/ifunc-impl-list.c
28682         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
28683         * string/strcmp.c (STRCMP): Define and use macro.
28684         * benchtests/bench-wcscmp.c: New File.
28685         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
28686         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
28687         instead of _HAVE_STRING_ARCH_memchr.
28689         * sysdeps/s390/multiarch/strncat-c.c: New File.
28690         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
28691         * sysdeps/s390/multiarch/strncat.c: Likewise.
28692         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
28693         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
28694         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
28695         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
28696         wcsncat functions.
28697         * sysdeps/s390/multiarch/ifunc-impl-list.c
28698         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
28699         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
28700         * string/test-strncat.c: Add wcsncat support.
28701         * wcsmbs/test-wcsncat.c: New File.
28702         * wcsmbs/Makefile (strop-tests): Add wcsncat.
28703         * benchtests/bench-strncat.c: Add wcsncat support.
28704         * benchtests/bench-wcsncat.c: New File.
28705         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
28707         * sysdeps/s390/multiarch/strcat-c.c: New File.
28708         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
28709         * sysdeps/s390/multiarch/strcat.c: Likewise.
28710         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
28711         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
28712         * sysdeps/s390/multiarch/wcscat.c: Likewise.
28713         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
28714         wcscat functions.
28715         * sysdeps/s390/multiarch/ifunc-impl-list.c
28716         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
28717         * string/strcat.c (STRCAT): Define and use macro.
28718         * wcsmbs/wcscat.c: Use WCSCAT if defined.
28719         * string/test-strcat.c: Add wcscat support.
28720         * wcsmbs/test-wcscat.c: New File.
28721         * wcsmbs/Makefile (strop-tests): Add wcscat.
28722         * benchtests/bench-strcat.c: Add wcscat support.
28723         * benchtests/bench-wcscat.c: New File.
28724         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
28726         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
28727         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
28728         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
28729         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
28730         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
28731         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
28732         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
28733         wcpncpy functions.
28734         * sysdeps/s390/multiarch/ifunc-impl-list.c
28735         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
28736         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
28737         * string/test-stpncpy.c: Add wcpncpy support.
28738         * wcsmbs/test-wcpncpy.c: New File.
28739         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
28740         * benchtests/bench-stpncpy.c: Add wcpncpy support.
28741         * benchtests/bench-wcpncpy.c: New File.
28742         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
28744         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
28745         * sysdeps/s390/multiarch/strncpy.c: Likewise.
28746         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
28747         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
28748         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
28749         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
28750         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
28751         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
28752         wcsncpy functions.
28753         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
28754         * sysdeps/s390/multiarch/ifunc-impl-list.c
28755         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
28756         * string/test-strncpy.c: Add wcsncpy support.
28757         * wcsmbs/test-wcsncpy.c: New File.
28758         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
28759         * benchtests/bench-strncpy.c: Add wcsncpy support.
28760         * benchtests/bench-wcsncpy.c: New File.
28761         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
28763         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
28764         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
28765         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28766         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28767         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
28768         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
28769         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
28770         wcpcpy functions.
28771         * string/stpcpy.c: Use STPCPY if defined.
28772         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
28773         * sysdeps/s390/multiarch/ifunc-impl-list.c
28774         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
28775         * string/test-stpcpy.c: Add wcpcpy support.
28776         * wcsmbs/test-wcpcpy.c: New File.
28777         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
28778         * benchtests/bench-stpcpy.c: Add wcpcpy support.
28779         * benchtests/bench-wcpcpy.c: New File.
28780         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
28782         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
28783         * sysdeps/s390/multiarch/strcpy.c: Likewise.
28784         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
28785         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
28786         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
28787         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
28788         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
28789         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
28790         wcscpy functions.
28791         * sysdeps/s390/multiarch/ifunc-impl-list.c
28792         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
28793         * benchtests/bench-wcscpy.c: New File.
28794         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
28796         * sysdeps/s390/multiarch/strnlen-c.c: New File.
28797         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
28798         * sysdeps/s390/multiarch/strnlen.c: Likewise.
28799         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
28800         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
28801         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
28802         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
28803         wcsnlen functions.
28804         * sysdeps/s390/multiarch/ifunc-impl-list.c
28805         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
28806         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
28807         * string/test-strnlen.c: Add wcsnlen support.
28808         * wcsmbs/test-wcsnlen.c: New File.
28809         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
28810         * benchtests/bench-strnlen.c: Add wcsnlen support.
28811         * benchtests/bench-wcsnlen.c: New File.
28812         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
28814         * sysdeps/s390/multiarch/Makefile: New File.
28815         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
28816         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
28817         * sysdeps/s390/multiarch/strlen.c: Likewise.
28818         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28819         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
28820         * sysdeps/s390/multiarch/wcslen.c: Likewise.
28821         * string/strlen.c (STRLEN): Define and use macro.
28822         * sysdeps/s390/multiarch/ifunc-impl-list.c
28823         (IFUNC_VX_IMPL): New macro function.
28824         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
28825         * benchtests/Makefile (wcsmbs-bench): New variable.
28826         (string-bench-all): Added wcsmbs-bench.
28827         * benchtests/bench-wcslen.c: New File.
28829         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
28830         s390_vx_libc_ifunc2): New macro function.
28832         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
28833         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
28834         assembler support.
28835         * sysdeps/s390/configure: Regenerated.
28837         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
28838         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28840         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
28841         * sysdeps/s390/dl-procinfo.h: Add vector capability.
28842         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
28844         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
28845         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
28846         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
28847         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
28848         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
28849         (memcmp, bcmp): Use __memcmp_default as alias source.
28850         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
28851         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
28852         Rename to __memcmp_default.
28853         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
28854         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
28855         (memcpy): Use __memcpy_default as alias source.
28856         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
28857         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
28858         Rename to __memcpy_default.
28859         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
28860         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
28861         (memset): Use __memset_default as alias source.
28862         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
28863         * sysdeps/s390/s390-32/memset.S (__memset_g5):
28864         Rename to __memset_default.
28865         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
28866         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
28867         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
28868         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
28869         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
28870         (memcmp, bcmp): Use __memcmp_default as alias source.
28871         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
28872         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
28873         Rename to __memcmp_default.
28874         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
28875         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
28876         (memcpy): Use __memcpy_default as alias source.
28877         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
28878         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
28879         Rename to __memcpy_default.
28880         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
28881         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
28882         (memset): Use __memset_default as alias source.
28883         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
28884         * sysdeps/s390/s390-64/memset.S (__memset_z900):
28885         Rename to __memset_default.
28886         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
28887         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
28889         [BZ #18610]
28890         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
28891         __ieee_instruction_pointer to __unused.
28892         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
28893         __ieee_instruction_pointer.
28894         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
28895         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
28896         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28897         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28898         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
28899         Mark dxc-field as reserved.
28901 2015-08-25  Roland McGrath  <roland@hack.frob.com>
28903         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
28904         if the weak reference is not null.
28906 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28908         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
28910         [BZ #11214]
28911         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
28913 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28915         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
28916         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
28917         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
28918         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
28919         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
28920         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
28921         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
28922         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
28923         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
28924         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
28925         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
28926         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
28927         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
28928         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
28929         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
28930         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
28931         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
28932         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
28934 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28936         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
28937         register other than r0 for tabort, it has special meaning.
28938         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
28939         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
28940         transaction before starting syscall.
28942 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28944         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
28946 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28948         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
28950         * sysdeps/x86_64/rtld-memcmp.c: Removed.
28951         * sysdeps/x86_64/rtld-memset.S: Likewise.
28952         * sysdeps/x86_64/rtld-strchr.S: Likewise.
28953         * sysdeps/x86_64/rtld-strlen.S: Likewise.
28954         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
28955         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28957         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
28959 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
28961         * debug/strcpy_chk.c: Improve performance.
28962         * debug/stpcpy_chk.c: Likewise.
28963         * sysdeps/x86_64/strcpy_chk.S: Remove.
28964         * sysdeps/x86_64/stpcpy_chk.S: Remove.
28966         [BZ #18240]
28967         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
28969 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28971         [BZ #15128]
28972         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
28973         ifuncmain8.
28974         (modules-names): Add ifuncmod8.
28975         ($(objpfx)ifuncmain8): New rule.
28976         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
28977         <cpuid.h>.
28978         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
28979         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
28980         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
28981         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
28982         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
28983         * sysdeps/x86_64/dl-trampoline.h: Likewise.
28984         * sysdeps/x86_64/ifuncmain8.c: New file.
28985         * sysdeps/x86_64/ifuncmod8.c: Likewise.
28986         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
28987         Removed.
28988         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
28989         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
28990         Change rtld_savespace_sse to __glibc_unused2.
28991         (RTLD_CHECK_FOREIGN_CALL): Removed.
28992         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
28993         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
28994         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
28996 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28998         * sysdeps/aarch64/bzero.S (__bzero): Remove.
29000 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29002         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29003         Unconditionally set __fpcr to avoid uninialized warning.
29004         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29006 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29008         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29009         is corrupt.
29011         * malloc/arena.c (arena_get2): Drop unused argument.
29012         (arena_lock): Adjust.
29013         (arena_get_retry): Likewise.
29015 2015-08-24  Andreas Schwab  <schwab@suse.de>
29017         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29018         Don't define.
29019         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29020         (__ASSUME_IPC64): Don't undef.
29021         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29022         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29023         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29024         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29025         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29026         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29027         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29028         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29029         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29030         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29031         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29032         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29033         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29034         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29035         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29036         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29037         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29038         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29039         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29040         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29041         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29043 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
29045         * manual/Makefile (install): Only build manual when perl is available.
29047 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29049         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29050         '#undef memcpy' by '#undef memchr'.
29052 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29054         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29055         memchr not point to the internal __GI_memchr implementation.
29057 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29059         * timezone/Makefile (CFLAGS-zdump.c): Remove
29060         -Wno-strict-prototypes.
29061         (CFLAGS-zic.c): Likewise.
29062         (CFLAGS-ialloc.c): Likewise.
29063         (CFLAGS-scheck.c): Likewise.
29065         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29066         -Wno-error=undef.
29068 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29070         * i386/i686/multiarch/strcasestr-c.c: Removed.
29071         * x86_64/multiarch/strcasestr.c: Likewise.
29072         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29073         Remove strcasestr.
29075 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29077         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29079         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29080         variables for high and low parts before possibly modifying them.
29082 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29084         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29085         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29086         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29087         of "multiarch/init-arch.h".
29088         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29089         * sysdeps/x86/init-arch.h: This.
29091 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29093         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29094         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29096 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29098         [BZ #17787]
29099         * manual/macros.texi: Add twoexp macro.
29100         * manual/filesys.texi: Fix exponents.
29101         * manual/llio.texi: Likewise.
29102         * manual/stdio.texi: Likewise.
29104 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29106         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29107         incorrect use.
29109 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29111         [BZ #18370]
29112         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29113         whose real or imaginary part has small absolute value.
29114         * math/s_csqrtf.c (__csqrtf): Likewise.
29115         * math/s_csqrtl.c (__csqrtl): Likewise.
29116         * math/auto-libm-test-in: Add more tests of csqrt.
29117         * math/auto-libm-test-out: Regenerated.
29118         * sysdeps/i386/fpu/libm-test-ulps: Update.
29120 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29122         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29123         __ppc_set_ppr_very_low): New functions.
29124         * manual/platform.texi: Add documentation about
29125         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29127 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29129         * string/stpncpy.c (stpncpy): Improve performance using
29130         __strnlen/memcpy/memset.
29132 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29134         [BZ #18796]
29135         * scripts/test-installation.pl: Don't add -lmvec to build options if
29136         libmvec wasn't built.
29138 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29140         [BZ #14341]
29141         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29142         case when there is a gap between DT_REL and DT_JMPREL sections.
29143         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29144         (LDFLAGS-tst-split-dynreloc): New.
29145         (tst-split-dynreloc-ENV): Likewise.
29146         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29147         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29149 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29151         [BZ #18822]
29152         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29153         attribute_hidden.
29154         (__xstat64_conv): Likewise.
29155         (__xstat32_conv): Likewise.
29157 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29159         [BZ #18822]
29160         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29161         Don't load %ebx when calling __setcontext.  Call __setcontext
29162         with HIDDEN_JUMPTARGET.
29163         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29164         libc_hidden_def.
29166 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29168         * sysdeps/i386/i686/Makefile
29169         [$(subdir) == string] (sysdep_routines): Moved to ...
29170         * sysdeps/i386/Makefile: Here.
29171         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29172         * sysdeps/i386/cacheinfo.c: Here.
29173         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29174         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29175         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29176         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29178 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29180         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29181         __i586__ is defined.
29182         (HAS_I686): Defined to 1 if __i686__ is defined.
29184 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29186         * elf/Makefile [$(have-z-execstack) = yes]
29187         (CPPFLAGS-tst-execstack.c): New variable.
29189         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29190         conditional to [defined UTMPX || _HAVE_UT_TYPE].
29191         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29192         UTMPX || _HAVE_UT_TV].
29193         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29194         UTMPX || _HAVE_UT_TV - 0].
29196 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
29198         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29199         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29200         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29202 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29204         * sysdeps/powerpc/dl-procinfo.c:
29205         (_dl_powerpc_cap_flags): Added missing strings for some
29206         hwcap features.
29207         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29209 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
29211         Port the 0x7efe...feff pattern to GCC 6.
29212         See Steve Ellcey's bug report in:
29213         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29214         * string/memrchr.c (MEMRCHR):
29215         * string/rawmemchr.c (RAWMEMCHR):
29216         * string/strchr.c (strchr):
29217         * string/strchrnul.c (STRCHRNUL):
29218         Rewrite code to avoid issues with signed shift overflow.
29220 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
29222         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29223         whether cpuid is available only if HAS_CPUID is 0.
29224         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29225         (HAS_I586): Likewise.
29226         (HAS_I686): Likewise.
29228 2015-08-18  Zack Weinberg  <zackw@panix.com>
29230         * misc/Versions (libc): Add GLIBC_2.23.
29232 2015-08-18  Alan Modra  <amodra@gmail.com>
29234         [BZ #18421]
29235         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29236         .Lp__global.
29237         (_start): Load %dp via .Lp__global.
29238         [!SHARED]: Use .section .rodata.
29240 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29242         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29243         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29245 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29247         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29248         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29250 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29252         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29253         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29255 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29257         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29258         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29260 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29262         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29263         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29265 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29267         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29268         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29270 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29272         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29274 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29276         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29277         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
29278         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29279         (__ASSUME_LWS_CAS): Delete.
29281 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29283         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29284         * sysdeps/hppa/configure: Regenerated.
29285         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29286         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29287         * sysdeps/hppa/nptl/tls.h: Likewise.
29289 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
29291         [BZ #18823]
29292         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
29293         for scaling up small arguments.
29294         * math/s_csqrtf.c (__csqrtf): Likewise.
29295         * math/s_csqrtl.c (__csqrtl): Likewise.
29296         * math/auto-libm-test-in: Add more tests of csqrt.
29297         * math/auto-libm-test-out: Regenerated.
29299 2015-08-17  Andreas Schwab  <schwab@suse.de>
29301         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29302         version set GLIBC_2.19.
29304 2015-08-16  Zack Weinberg  <zackw@panix.com>
29306         [BZ #18681]
29307         * misc/regexp.h: This interface is no longer supported.
29308         Remove all contents, leaving only an #error directive.
29309         * misc/regexp.c (loc1, loc2, locs, step, advance):
29310         Demote to compatibility symbols.
29312 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
29314         [BZ #18084]
29315         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
29316         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
29317         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
29318         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
29319         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
29320         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
29321         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
29322         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
29323         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
29325 2015-08-15  Zack Weinberg  <zackw@panix.com>
29327         [BZ #18795]
29328         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
29329         buffer length is known to be too large, not if it's known to be
29330         small enough.
29331         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
29332         overflow at runtime, involving a length parameter, twice: once
29333         with a compile-time constant length parameter, once without.
29335 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
29337         [BZ #18824]
29338         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
29339         scaling x * y up instead of down.
29340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29342         * math/auto-libm-test-in: Add more tests of fma.
29343         * math/auto-libm-test-out: Regenerated.
29345 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29347         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29349 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29351         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
29352         unnecessary movq.
29353         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
29354         Likewise.
29356 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
29358         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29359         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
29360         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
29361         and tgamma.
29362         * math/auto-libm-test-out: Regenerated.
29363         * sysdeps/i386/fpu/libm-test-ulps: Update.
29364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29366         [BZ #16520]
29367         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
29368         (__tanh): Force underflow exception for arguments with small
29369         absolute value.
29370         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
29371         (__tanhf): Force underflow exception for arguments with small
29372         absolute value.
29373         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
29374         (__tanhl): Force underflow exception for arguments with small
29375         absolute value.
29376         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
29377         (__tanhl): Force underflow exception for arguments with small
29378         absolute value.
29379         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
29380         (__tanhl): Force underflow exception for arguments with small
29381         absolute value.
29382         * math/auto-libm-test-in: Add more tests of tanh.
29383         * math/auto-libm-test-out: Regenerated.
29384         * sysdeps/i386/fpu/libm-test-ulps: Update.
29386 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29388         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
29389         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
29391 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29393         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
29394         <cpuid.h>.
29396 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29398         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
29399         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
29401 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29403         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
29404         Remove $(objpfx)init-arch.o.
29405         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
29406         init-arch.
29407         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
29408         (INIT_ARCH_EXT): Defined as empty.
29409         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
29410         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
29411         __init_cpu_features call.  Replace HAS_XXX with
29412         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29413         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
29414         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
29415         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
29416         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
29417         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29418         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
29419         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
29420         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29421         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
29422         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
29423         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29424         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
29425         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
29426         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29427         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
29428         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
29429         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29430         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29431         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
29432         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
29433         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29434         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
29435         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
29436         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29437         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
29438         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
29439         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29440         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
29441         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
29442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29443         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
29444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
29445         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29446         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
29447         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
29449 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29451         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
29452         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29453         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29454         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29455         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
29456         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
29457         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
29458         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
29459         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
29460         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
29461         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
29462         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
29463         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29464         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29465         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29466         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29467         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29468         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29469         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29470         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29471         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29472         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29473         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29474         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29475         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29476         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29477         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29478         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29479         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29480         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29481         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29482         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29483         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29484         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29485         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29486         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29487         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29488         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29489         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29490         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29491         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29492         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29493         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29495 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29497         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
29498         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29499         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29500         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29501         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29502         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29503         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29504         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
29505         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29506         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29507         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29508         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
29509         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
29510         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
29511         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
29512         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
29513         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
29514         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
29515         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
29516         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
29517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
29518         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
29519         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
29520         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29521         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29522         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
29523         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
29524         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
29525         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29526         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29527         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29528         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29529         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29530         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29531         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29532         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29533         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29534         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29535         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29536         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29537         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29538         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29539         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29541 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29543         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
29544         (dl_platform_init): Call init_cpu_features.
29545         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
29546         * sysdeps/i386/i686/cacheinfo.c
29547         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
29548         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
29549         * sysdeps/i386/i686/multiarch/Versions: Removed.
29550         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
29551         Removed.
29552         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
29553         * sysdeps/unix/sysv/linux/x86/Makefile
29554         (libpthread-sysdep_routines): Remove init-arch.
29555         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
29556         <sysdeps/x86_64/dl-procinfo.c> instead of
29557         sysdeps/generic/dl-procinfo.c>.
29558         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
29559         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
29560         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
29561         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
29562         [$(subdir) == elf] (tests-static): Add
29563         tst-get-cpu-features-static.
29564         * sysdeps/x86/Versions: New file.
29565         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
29566         * sysdeps/x86/cpu-features.c: Likewise.
29567         * sysdeps/x86/cpu-features.h: Likewise.
29568         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
29569         * sysdeps/x86/libc-start.c: Likewise.
29570         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
29571         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
29572         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
29573         * sysdeps/x86_64/dl-procinfo.c: Likewise.
29574         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
29575         Assume USE_MULTIARCH is defined and don't check it.
29576         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
29577         (is_amd): Likewise.
29578         (max_cpuid): Likewise.
29579         (intel_check_word): Likewise.
29580         (__cache_sysconf): Don't call __init_cpu_features.
29581         (__x86_preferred_memory_instruction): Removed.
29582         (init_cacheinfo): Don't call __init_cpu_features. Replace
29583         __cpu_features with GLRO(dl_x86_cpu_features).
29584         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
29585         (dl_platform_init): Call init_cpu_features.
29586         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
29587         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
29588         * sysdeps/x86_64/multiarch/Versions: Removed.
29589         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
29590         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
29591         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
29592         Removed.
29593         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
29595 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29597         [BZ #18820]
29598         * libio/Makefile (test-fmemopen-mem): New test.
29599         * libio/test-fmemopen.c (do_bz18820): New test.
29600         * libio/fmemopen.c (__fmemopen): Fix memory leak.
29601         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
29603 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29605         [BZ #16734]
29606         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
29607         (FREE_BUF): Delete.
29608         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
29609         * libio/genops.c (_IO_setb): Use malloc and free directly.
29610         (_IO_default_doallocate, _IO_default_finish): Likewise.
29611         ( _IO_unbuffer_all): Likewise.
29612         ( libc_freeres_fn): Likewise.
29613         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29614         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
29615         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
29616         (_IO_wdefault_doallocate): Likewise.
29618 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29620         [BZ #18086]
29621         * sysdeps/posix/nice.c (nice): Restore old errno.
29622         * posix/tst-nice.c (do_test): Add test for BZ #18086.
29624 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
29626         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29628 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29630         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29631         __bcopy and add a weak_alias to bcopy.
29632         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29633         for static build.
29635         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29636         cleanup macro usage.
29637         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29638         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29639         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29640         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29641         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29642         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29643         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29644         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29645         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29646         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29647         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29648         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29649         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29650         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29651         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29652         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29653         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29654         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29655         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29657         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29658         libc_hidden_def.
29659         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29661         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29662         (sysdep_routines): Add strstr-ppc64.
29663         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29665 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29667         [BZ #18778]
29668         * elf/Makefile (tests): Add Add tst-nodelete2.
29669         (modules-names): Add tst-nodelete2mod.
29670         (tst-nodelete2mod.so-no-z-defs): New.
29671         ($(objpfx)tst-nodelete2): Likewise.
29672         ($(objpfx)tst-nodelete2.out): Likewise.
29673         (LDFLAGS-tst-nodelete2): Likewise.
29674         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29675         out of loop through all loaded libraries.
29676         * elf/tst-nodelete2.c: New file.
29677         * elf/tst-nodelete2mod.c: Likewise.
29678         * elf/tst-znodelete-zlib.cc: Delete.
29680 2015-08-11  Andreas Schwab  <schwab@suse.de>
29682         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
29683         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
29684         (__openat64_nocancel): Likewise.
29686 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
29688         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
29689         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
29690         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
29691         * math/auto-libm-test-out: Regenerated.
29692         * sysdeps/i386/fpu/libm-test-ulps: Update.
29693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29695 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29697         [BZ #18790]
29698         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
29699         threshold for returning +/- 1.
29700         * math/auto-libm-test-in: Add more tests of tanh.
29701         * math/auto-libm-test-out: Regenerated.
29702         * sysdeps/i386/fpu/libm-test-ulps: Update.
29704 2015-08-10  Andreas Schwab  <schwab@suse.de>
29706         [BZ #18781]
29707         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
29708         MORE_OFLAGS to oflag.
29709         * io/test-lfs.c (do_test): Test openat64.
29711 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29713         [BZ #18789]
29714         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
29715         smaller threshold for returning the argument.
29716         * math/auto-libm-test-in: Add more tests of sinh.
29717         * math/auto-libm-test-out: Regenerated.
29718         * sysdeps/i386/fpu/libm-test-ulps: Update.
29720 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29722         [BZ #18674]
29723         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
29724         break.
29726 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
29728         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
29729         (generated): Don't add $(addprefix z.,$(tzfiles)).
29731 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29733         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
29734         * scripts/sysd-rules.awk: Likewise.
29736 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29738         * iconvdata/tst-tables.sh: Change echo -n to printf.
29739         * nss/db-Makefile: Likewise.
29740         * posix/tst-getconf.sh: Likewise.
29741         * stdio-common/tst-unbputc.sh: Likewise.
29743 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29745         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
29746         MADV_*_PAGES defines behind this feature check.
29748 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
29750         [BZ #18480]
29751         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
29752         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
29753         Define.
29754         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
29755         LOAD_REGS_5, LOAD_REGS_6): Update.
29756         (INTERNAL_SYSCALL): Update using new LOAD defines.
29757         (INTERNAL_SYSCALL_NCS): Likewise.
29758         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
29760 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29762         [BZ #16734]
29763         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
29765 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29767         [BZ #17905]
29768         * catgets/Makefile (tst-catgets-mem): New test.
29769         * catgets/catgets.c (catopen): Don't use unbounded alloca.
29770         * catgets/open_catalog.c (__open_catalog): Likewise.
29771         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
29773 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
29775         [BZ #18787]
29776         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
29777         clobber registers.
29778         (atomic_compare_and_exchange_val_acq): Use register asms to assign
29779         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
29780         Cast return to __typeof (oldval).
29782 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
29784         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
29785         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
29786         and delete sys/syscall.h include.
29788 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
29790         [BZ #16517]
29791         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
29792         (tan): Force underflow exception for arguments with small absolute
29793         value.
29794         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
29795         (__kernel_tanf): Force underflow exception for arguments with
29796         small absolute value.
29797         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
29798         (__kernel_tanl): Force underflow exception for arguments with
29799         small absolute value.
29800         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29801         (__kernel_tanl): Force underflow exception for arguments with
29802         small absolute value.
29803         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
29804         (__kernel_tanl): Force underflow exception for arguments with
29805         small absolute value.
29806         * math/auto-libm-test-in: Add more tests of tan.
29807         * math/auto-libm-test-out: Regenerated.
29809 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29811         Fix sysdeps/i386/fpu/s_scalbn.S build
29813         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
29815 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
29817         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29819 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29821         Fix gcrt0.o compilation
29823         When static-start-installed-name is different from
29824         start-installed-name, we must not use the shared objects.
29826         * csu/Makefile
29827         (extra-objs): Add gmon-start.o when building shared library and
29828         $(static-start-installed-name) is different from
29829         $(start-installed-name).
29830         $(objpfx)g$(static-start-installed-name): When building shared
29831         library and $(static-start-installed-name) is different from
29832         $(static-start-installed-name), revert to non-shared rule,
29833         i.e. using $(objpfx)% and gmon-start.o.
29835 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
29837         [BZ #16519]
29838         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
29839         (__ieee754_sinh): Force underflow exception for arguments with
29840         small absolute value.
29841         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
29842         (__ieee754_sinhf): Force underflow exception for arguments with
29843         small absolute value.
29844         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
29845         (__ieee754_sinhl): Force underflow exception for arguments with
29846         small absolute value.
29847         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
29848         (__ieee754_sinhl): Force underflow exception for arguments with
29849         small absolute value.
29850         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
29851         (__ieee754_sinhl): Force underflow exception for arguments with
29852         small absolute value.
29853         * math/auto-libm-test-in: Add more tests of sinh.
29854         * math/auto-libm-test-out: Regenerated.
29855         * sysdeps/i386/fpu/libm-test-ulps: Update.
29857 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29859         * libio/oldfileops.c: Include unistd.h.
29861 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
29863         * stdlib/isomac.c: Include ctype.h.
29865 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
29867         * dirent/tst-seekdir.c (main): Converted to ...
29868         (do_test): ... this.
29869         (TEST_FUNCTION): New macro.
29870         Include test-skeleton.c.
29871         * elf/tst-dlmodcount.c (main): Converted to ...
29872         (do_test): ... this.
29873         (TEST_FUNCTION): New macro.
29874         Include test-skeleton.c.
29875         * elf/tst-order-main.c (main): Converted to ...
29876         (do_test): ... this.
29877         (TEST_FUNCTION): New macro.
29878         Include test-skeleton.c.
29879         * elf/tst-pie2.c (main): Converted to ...
29880         (do_test): ... this.
29881         (TEST_FUNCTION): New macro.
29882         Include test-skeleton.c.
29883         * inet/tst-ether_aton.c (main): Converted to ...
29884         (do_test): ... this.
29885         (TEST_FUNCTION): New macro.
29886         Include test-skeleton.c.
29887         * misc/tst-mntent.c (main): Converted to ...
29888         (do_test): ... this.
29889         (TEST_FUNCTION): New macro.
29890         Include test-skeleton.c.
29891         * misc/tst-tsearch.c (main): Converted to ...
29892         (do_test): ... this.
29893         (TEST_FUNCTION): New macro.
29894         Include test-skeleton.c.
29895         * posix/tst-regexloc.c (main): Converted to ...
29896         (do_test): ... this.
29897         (TEST_FUNCTION): New macro.
29898         Include test-skeleton.c.
29899         * resolv/tst-aton.c (main): Converted to ...
29900         (do_test): ... this.
29901         (TEST_FUNCTION): New macro.
29902         Include test-skeleton.c.
29903         * stdio-common/test-fwrite.c (main): Converted to ...
29904         (do_test): ... this.
29905         (TEST_FUNCTION): New macro.
29906         Include test-skeleton.c.
29907         * stdio-common/tst-ferror.c (main): Converted to ...
29908         (do_test): ... this.
29909         (TEST_FUNCTION): New macro.
29910         Include test-skeleton.c.
29911         * stdio-common/tst-printf.c (main): Converted to ...
29912         (do_test): ... this.
29913         (TEST_FUNCTION): New macro.
29914         Include test-skeleton.c.
29915         * stdio-common/tst-printfsz.c (main): Converted to ...
29916         (do_test): ... this.
29917         (TEST_FUNCTION): New macro.
29918         Include test-skeleton.c.
29919         * stdlib/tst-strtod.c (main): Converted to ...
29920         (do_test): ... this.
29921         (TEST_FUNCTION): New macro.
29922         Include test-skeleton.c.
29923         * string/tst-strlen.c (main): Converted to ...
29924         (do_test): ... this.
29925         (TEST_FUNCTION): New macro.
29926         Include test-skeleton.c.
29927         * string/tst-svc.c (main): Converted to ...
29928         (do_test): ... this.
29929         (TEST_FUNCTION): New macro.
29930         Include test-skeleton.c.
29931         * time/tst-strptime.c (main): Converted to ...
29932         (do_test): ... this.
29933         (TEST_FUNCTION): New macro.
29934         Include test-skeleton.c.
29935         * timezone/tst-timezone.c (main): Converted to ...
29936         (do_test): ... this.
29937         (TEST_FUNCTION): New macro.
29938         Include test-skeleton.c.
29940 2015-08-05  Zack Weinberg  <zackw@panix.com>
29942         * misc/regexp.h: Update comments.
29944 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
29946         [BZ #18635]
29947         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
29948         before return label.
29950 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29952         [BZ #18661]
29953         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
29954         when calling __errno_location.
29955         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
29956         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
29958 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29960         [BZ #18661]
29961         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
29962         (__lll_timedwait_tid): Align stack to 16 bytes when calling
29963         __gettimeofday.
29965 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29967         [BZ #18661]
29968         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29969         (__start_context): Don't use pop to restore %rdi so that stack
29970         is aligned to 16 bytes when calling __setcontext.
29972 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29974         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
29975         only for libc.
29976         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29978 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29980         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
29981         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
29982         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
29984 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29986         * string/memccpy.c (memccpy):
29987         Improve performance by using memchr/memcpy/__mempcpy.
29989 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29991         * string/strncpy.c (strncpy):
29992         Improve performance by using __strnlen/memcpy.
29994 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29996         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29997         Optimize to avoid an unnecessary FPCR read.
29999 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30001         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30002         Optimize to reduce FPCR/FPSR accesses.
30004 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30006         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30007         dead->data[category] != NULL.
30009 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
30011         [BZ #18647]
30012         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30013         and |x| close to 1, use absolute value of x when computing log.
30014         * math/auto-libm-test-in: Add more tests of pow.
30015         * math/auto-libm-test-out: Regenerated.
30017 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30019         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30020         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30021         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30023 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
30025         [BZ #18525]
30026         * locales/km_KH: Remove timezone definition.
30027         * locales/lo_LA: Likewise.
30028         * locales/my_MM: Likewise.
30029         * locales/nan_TW@latin: Likewise.
30030         * locales/th_TH: Likewise.
30031         * locales/uk_UA: Likewise.
30033 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30035         [BZ #18265]
30036         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30037         (wcsncat): Likewise.
30038         (wcscmp): Likewise.
30039         (wcsncmp): Likewise.
30041 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30043         * test-skeleton.c (usage): New function.
30044         (main): Call usage when opt is '?'.
30046 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30048         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30049         before first use.
30051 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30053         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30054         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
30055         in there too.
30057 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
30059         * version.h (RELEASE): Set to "development".
30060         (VERSION): Set to "2.22.90"
30062         * version.h (RELEASE): Set to "stable".
30063         (VERSION): Set to "2.22"
30064         * include/features.h (__GLIBC_MINOR__): Set to 22.
30066 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30068         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30069         Restructure macro to avoid "value computed is not used" warning.
30070         (atomic_compare_and_exchange_val_acq): Likewise.
30072 2015-08-04  Andreas Schwab  <schwab@suse.de>
30074         [BZ #18635]
30075         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30076         ret.
30077         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30079 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30081         * po/pl.po: Updated translation.
30082         * po/uk.po: Likewise.
30083         * po/fi.po: Likewise.
30084         * po/ko.po: Likewise.
30085         * po/ru.po: Likewise.
30086         * po/vi.po: Likewise.
30088 2015-07-31  Zack Weinberg  <zackw@panix.com>
30090         [BZ #18681]
30091         * regexp.h: Add unconditional #warning stating that this header
30092         will be removed soon.  Revise banner comment to match.
30093         (compile): Consistently use ERROR instead of RETURN to report
30094         errors (partial fix for BZ #18681).
30095         * regexp.c: Don't include regexp.h. Remove some unnecessary
30096         declarations.
30098 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30100         * po/libc.pot: Regenerated.
30102 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30104         [BZ #18740]
30105         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30106         float-vlen4-arch-ext-cflags): Removed.
30107         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30108         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30110 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30112         [BZ #14113]
30113         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30114         aligned to __aligned__.
30115         (pthread_cond_t, pthread_rwlock_t): Likewise.
30117 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30119         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30121 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30123         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30124         (struct sigaction): Change sa_flags from a long to an int, and add
30125         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30127 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30129         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30130         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30131         sysdeps/generic/sysdep.h include.
30132         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30133         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30134         sysdeps/hppa/sysdep.h.
30135         (ENTRY, PSEUDO): Undefine before defining.
30137 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30139         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30140         from scratch to use INTERNAL_SYSCALL.
30142 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30144         [BZ #18078]
30145         * scripts/check-localplt.awk: Support alternate relocations.
30146         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30147         sections.
30148         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30149         malloc entries with + REL R_386_GLOB_DAT.
30150         * sysdeps/x86_64/localplt.data: New file.
30152 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30154         [BZ #18731]
30155         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30156         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30157         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30159 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30161         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30163 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30165         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30166         directly in terms of __sync_fetch_and_add and delete (int) cast.
30168 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30170         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30171         the -D_ASM_IA64_CURRENT_H flag.
30173 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30175         [BZ #18641]
30176         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30178 2015-07-27  Andreas Schwab  <schwab@suse.de>
30180         * conform/conformtest.pl (checknamespace): Filter out string
30181         literals while tokenizing.
30183 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30185         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30186         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30187         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30189 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30191         * nptl/tst-join7mod.c: Add #include <string.h>.
30193 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30195         * sysdeps/nios2/libm-test-ulps: Update.
30197 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30199         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30200         Fix order of arguments to the rt_sigprocmask syscall.
30201         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30202         Likewise.
30204 2015-07-24  Roland McGrath  <roland@hack.frob.com>
30206         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30208 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30210         [BZ #18457]
30211         * nptl/Makefile (tests): New test case tst-join7.
30212         (modules-names): New test case module tst-join7mod.
30213         * nptl/tst-join7.c: New file.
30214         * nptl/tst-join7mod.c: New file.
30215         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30216         all translation units in libc.so, libpthread.so and rtld.
30218 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30222 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30225         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30226         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30227         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30228         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30229         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30230         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30231         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30232         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30233         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30234         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30235         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30236         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30237         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30238         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30239         implementation.
30241 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30243         [BZ #17711]
30244         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30245         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30246         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30247         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30248         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30249         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30251 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30253         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30254         instead of just saying load lock in the comments.
30256 2015-07-23  Roland McGrath  <roland@hack.frob.com>
30258         * sysdeps/unix/Subdirs: Moved ...
30259         * sysdeps/posix/Subdirs: ... here.
30260         * login/pty.h (struct termios, struct winsize): Add forward decls.
30261         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30262         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30263         * sysdeps/arm/nacl/libc.abilist: Updated.
30264         * sysdeps/nacl/libutil.abilist: New file.
30266         * bits/signum.h: Update comments to mention 1003.1-2013 too.
30267         (SIGWINCH): New macro.
30269         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30270         * sysdeps/arm/nacl/libc.abilist: Add it.
30272 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30274         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30276 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30278         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30279         Swap __glibc_reserved0 and sa_flags order.
30281 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30283         [BZ #18657]
30284         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30285         are pending TLS destructor calls.
30286         * include/link.h (struct link_map): Add concurrency note for
30287         L_TLS_DTOR_COUNT.
30288         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30289         Don't touch the link map flag.  Atomically increment
30290         l_tls_dtor_count.
30291         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
30292         Avoid taking the load lock and don't touch the link map flag.
30293         * stdlib/tst-tls-atexit-nodelete.c: New test case.
30294         * stdlib/Makefile (tests): Use it.
30295         * stdlib/tst-tls-atexit.c (do_test): dlopen
30296         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
30297         to allow tst-tls-atexit-nodelete test case to use it.
30299 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30301         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
30302         to bits/types.h.
30303         (msgqnum_t): New typedef.
30304         (msglen_t): Likewise.
30305         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
30306         and msg_qbytes type to msglen_t.
30308 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30310         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
30311         pad0 to __glibc_reserved0.
30312         (struct stat64): Likewise.
30314 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30316         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30317         Change sa_flags from a long to an int and add __glibc_reserved0 before
30318         it for padding.
30320 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30322         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
30323         anonymous by deleting "siginfo" name.
30325 2015-07-21  Roland McGrath  <roland@hack.frob.com>
30327         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30328         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
30329         rather than __nacl_irt_filename.
30330         * sysdeps/nacl/xstat.c (__xstat): Likewise.
30332         * NEWS: New item for arm-nacl port.
30333         * sysdeps/arm/nacl/libc.abilist: New file.
30334         * sysdeps/nacl/ld.abilist: New file.
30335         * sysdeps/nacl/libBrokenLocale.abilist: New file.
30336         * sysdeps/nacl/libanl.abilist: New file.
30337         * sysdeps/nacl/libcrypt.abilist: New file.
30338         * sysdeps/nacl/libdl.abilist: New file.
30339         * sysdeps/nacl/libm.abilist: New file.
30340         * sysdeps/nacl/libpthread.abilist: New file.
30341         * sysdeps/nacl/libresolv.abilist: New file.
30342         * sysdeps/nacl/librt.abilist: New file.
30344 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
30346         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
30347         __startcontext to initialize the new context.
30348         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
30349         up CFI directive to forbid further backtracing.
30351 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
30353         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
30354         reference.
30355         * charmaps/ANSI_X3.4-1968: Likewise.
30356         * charmaps/BS_4730: Likewise.
30357         * charmaps/BS_VIEWDATA: Likewise.
30358         * charmaps/CP1250: Likewise.
30359         * charmaps/CP1251: Likewise.
30360         * charmaps/CP1252: Likewise.
30361         * charmaps/CP1253: Likewise.
30362         * charmaps/CP1254: Likewise.
30363         * charmaps/CP1255: Likewise.
30364         * charmaps/CP1256: Likewise.
30365         * charmaps/CSN_369103: Likewise.
30366         * charmaps/EBCDIC-DK-NO: Likewise.
30367         * charmaps/GB_1988-80: Likewise.
30368         * charmaps/GREEK-CCITT: Likewise.
30369         * charmaps/GREEK7: Likewise.
30370         * charmaps/INIS-8: Likewise.
30371         * charmaps/ISIRI-3342: Likewise.
30372         * charmaps/ISO_2033-1983: Likewise.
30373         * charmaps/ISO_5427-EXT: Likewise.
30374         * locales/POSIX: Likewise.
30375         * locales/ar_SA: Likewise.
30376         * locales/be_BY: Likewise.
30377         * locales/be_BY@latin: Likewise.
30378         * locales/ca_ES: Likewise.
30379         * locales/cs_CZ: Likewise.
30380         * locales/da_DK: Likewise.
30381         * locales/de_BE: Likewise.
30382         * locales/de_CH: Likewise.
30383         * locales/de_LU: Likewise.
30384         * locales/en_AU: Likewise.
30385         * locales/en_BW: Likewise.
30386         * locales/en_CA: Likewise.
30387         * locales/en_DK: Likewise.
30388         * locales/en_GB: Likewise.
30389         * locales/en_IE: Likewise.
30390         * locales/en_NZ: Likewise.
30391         * locales/en_ZA: Likewise.
30392         * locales/en_ZW: Likewise.
30393         * locales/es_AR: Likewise.
30394         * locales/es_BO: Likewise.
30395         * locales/es_CL: Likewise.
30396         * locales/es_CO: Likewise.
30397         * locales/es_DO: Likewise.
30398         * locales/es_EC: Likewise.
30399         * locales/es_ES: Likewise.
30400         * locales/es_HN: Likewise.
30401         * locales/es_MX: Likewise.
30402         * locales/es_PA: Likewise.
30403         * locales/es_PE: Likewise.
30404         * locales/es_PY: Likewise.
30405         * locales/es_SV: Likewise.
30406         * locales/es_US: Likewise.
30407         * locales/es_UY: Likewise.
30408         * locales/es_VE: Likewise.
30409         * locales/et_EE: Likewise.
30410         * locales/fa_IR: Likewise.
30411         * locales/fo_FO: Likewise.
30412         * locales/fr_CA: Likewise.
30413         * locales/fr_CH: Likewise.
30414         * locales/gv_GB: Likewise.
30415         * locales/he_IL: Likewise.
30416         * locales/hr_HR: Likewise.
30417         * locales/id_ID: Likewise.
30418         * locales/is_IS: Likewise.
30419         * locales/it_CH: Likewise.
30420         * locales/iw_IL: Likewise.
30421         * locales/kl_GL: Likewise.
30422         * locales/ko_KR: Likewise.
30423         * locales/kw_GB: Likewise.
30424         * locales/lg_UG: Likewise.
30425         * locales/lt_LT: Likewise.
30426         * locales/lv_LV: Likewise.
30427         * locales/mi_NZ: Likewise.
30428         * locales/nhn_MX: Likewise.
30429         * locales/nl_BE: Likewise.
30430         * locales/pl_PL: Likewise.
30431         * locales/sk_SK: Likewise.
30432         * locales/sl_SI: Likewise.
30433         * locales/sv_FI: Likewise.
30434         * locales/tl_PH: Likewise.
30435         * locales/tr_TR: Likewise.
30436         * locales/vi_VN: Likewise.
30438 2015-07-21  Khem Raj  <raj.khem@gmail.com>
30440         [BZ #17475]
30441         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
30442         of tu_IN and bh_IN.
30444 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
30446         [BZ #18694]
30447         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
30448         bits/wordsize.h.
30449         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
30451 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30453         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
30454         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
30455         (spawn_thread): New function.
30456         (load): Rename to reg_dtor_and_close.  Move dlopen to...
30457         (do_test): ... here.  Use IS_LOADED to test for its
30458         availability.
30460 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
30462         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30464 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
30466         [BZ #18696]
30467         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
30468         si_addr_bnd.
30469         (si_lower): New.
30470         (si_upper): Likewise.
30472 2015-07-16  David S. Miller  <davem@davemloft.net>
30474         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
30476 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30478         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
30479         buffer.
30480         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
30481         fail output information.
30483 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
30486         and strstr-ppc64..
30487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30488         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
30489         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
30490         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
30491         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
30493 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30495         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30496         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30497         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30498         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30500 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30502         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30503         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
30504         rtld_hidden_proto.
30505         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
30507 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30509         * tst-nodelete-opened.c (do_test): Add comment to clarify how
30510         the test can fail.
30512         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
30514         [BZ #18676]
30515         * elf/tst-nodelete-opened.c: New test case.
30516         * elf/tst-nodelete-opened-lib.c: New test case module.
30517         * elf/Makefile (tests, modules-names): Use them.
30518         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
30519         early.
30521 2015-07-15  David S. Miller  <davem@davemloft.net>
30523         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
30524         futex-intenal.h
30525         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
30526         * sysdeps/sparc/sparc64/Makefile: Likewise.
30527         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30528         Remove space from macro define.
30529         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
30531 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
30533         [BZ #17475]
30534         * locale/iso-639.def: Update Bhili and Tulu language codes as
30535         per iso639-3.
30537 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
30539         * elf/tst-leaks1.c (main): Converted to ...
30540         (do_test): ... this.
30541         (TEST_FUNCTION): New macro.
30542         Include test-skeleton.c.
30543         * localedata/tst-langinfo.c (main): Converted to ...
30544         (do_test): ... this.
30545         (TEST_FUNCTION): New macro.
30546         Include test-skeleton.c.
30547         * math/test-fpucw.c (main): Converted to ...
30548         (do_test): ... this.
30549         (TEST_FUNCTION): New macro.
30550         Include test-skeleton.c.
30551         * math/test-tgmath.c (main): Converted to ...
30552         (do_test): ... this.
30553         (TEST_FUNCTION): New macro.
30554         Include test-skeleton.c.
30555         * math/test-tgmath2.c (main): Converted to ...
30556         (do_test): ... this.
30557         (TEST_FUNCTION): New macro.
30558         Include test-skeleton.c.
30559         * setjmp/tst-setjmp.c (main): Converted to ...
30560         (do_test): ... this.
30561         (TEST_FUNCTION): New macro.
30562         Include test-skeleton.c.
30563         * stdio-common/tst-sscanf.c (main): Converted to ...
30564         (do_test): ... this.
30565         (TEST_FUNCTION): New macro.
30566         Include test-skeleton.c.
30567         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
30568         (do_test): ... this.
30569         (TEST_FUNCTION): New macro.
30570         Include test-skeleton.c.
30572         * elf/tst-audit9.c (main): Converted to ...
30573         (do_test): ... this.
30574         (TEST_FUNCTION): New macro.
30575         Include test-skeleton.c.
30577 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
30579         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
30581 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30583         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
30584         New variable.
30586 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30588         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30590 2015-07-14  Roland McGrath  <roland@hack.frob.com>
30592         * sysdeps/generic/dl-fileid.h: New file.
30593         * sysdeps/posix/dl-fileid.h: New file.
30594         * sysdeps/nacl/dl-fileid.h: New file.
30595         * include/link.h: Include <dl-fileid.h>.
30596         (struct link_map): Replace l_dev and l_ino with l_file_id.
30597         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
30598         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
30599         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
30601 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30603         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
30605 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30607         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
30608         Add iff $CXX is set.
30609         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
30610         Likewise.
30611         (tst-nodelete-zmodiff): Likewise.
30612         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
30614 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30616         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
30618 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30620         * sysdeps/aarch64/fpu/math_private.h
30621         (define math_opt_barrier): Add AArch64 version.
30622         (math_force_eval): Likewise.
30624 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30626         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30628 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
30630         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30631         %ld with %jd and cast to intmax_t.
30632         (do_test_length_zero): Likewise.
30634 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30636         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30638 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30640         * sysdeps/tile/libm-test-ulps: Regenerated.
30642         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30643         Comment out the whole function, not just its body.
30645 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30647         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30648         locks.
30650         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30652 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30654         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30655         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30657 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30659         * sysdeps/nptl/futex-internal.h: New file.
30660         * sysdeps/nacl/futex-internal.h: New file.
30661         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30662         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30663         error checking.
30664         (setxid_unmark_thread): Likewise.
30665         (__nptl_setxid): Likewise.
30666         (__wait_lookup_done): Likewise.
30667         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30668         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30669         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30670         * nptl/pthread_once.c (clear_once_control): Likewise.
30671         (__pthread_once_slow): Likewise.
30672         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30673         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30674         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30675         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30676         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30677         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30678         Likewise.
30679         (__pthread_rwlock_rdlock): Likewise.
30680         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30681         Likewise.
30682         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30683         Likewise.
30684         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30685         Likewise.
30686         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
30687         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
30688         Likewise.
30689         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
30690         __ASSUME_PRIVATE_FUTEX check.
30691         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
30692         Check that shared futexes are supported.
30693         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
30694         wrappers with error checking.
30695         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
30696         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
30697         * nptl/pthread_barrierattr_setpshared.c
30698         (pthread_barrierattr_setpshared): Check that shared futexes are
30699         supported.
30700         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
30701         Likewise.
30702         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
30703         Likewise.
30704         * nptl/sem_init.c (futex_private_if_supported): Remove.
30705         (__new_sem_init): Adapt and check that shared futexes are supported.
30706         * nptl/sem_open.c (sem_open): Likewise.
30707         * nptl/sem_post.c (futex_wake): Remove.
30708         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
30709         (do_futex_wait): Use futex wrappers with error checking.
30710         * nptl/sem_wait.c: Include lowlevellock.h.
30711         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
30712         Use futex_supports_pshared.
30713         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
30714         Use futex wrappers with error checking.
30715         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
30716         Likewise.
30717         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
30718         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
30719         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
30720         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
30721         (futex_wake): Likewise.
30722         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
30723         (do_futex_wait): Use futex wrappers with error checking.
30724         (__new_sem_wait_slow): Update EINTR handling.
30725         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
30727 2015-07-09  Martin Sebor  <msebor@redhat.com>
30729         [BZ #18435]
30730         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30731         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
30732         * nptl/Makefile (test-xfail-tst-once5): Define.
30734 2015-07-09  Roland McGrath  <roland@hack.frob.com>
30736         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
30737         * elf/dl-minimal.c: For readability, reorder some definitions and
30738         introduce more page breaks.  Include <stdio.h>.
30739         (__libc_fatal): New function.
30741         * include/unistd.h: Add rtld_hidden_proto for _exit.
30742         * posix/_exit.c: Add rtld_hidden_def.
30743         * sysdeps/mach/hurd/_exit.c: Likewise.
30744         * sysdeps/nacl/_exit.c: Likewise.
30745         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
30746         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
30748 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
30750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
30751         bndmov encoding with zero displacement.
30753 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30754             H.J. Lu  <hongjiu.lu@intel.com>
30756         [BZ #18134]
30757         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
30758         * sysdeps/i386/configure: Regenerated.
30759         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30760         (_dl_runtime_profile): Save and restore Intel MPX return bound
30761         registers when calling _dl_call_pltexit.  Add
30762         PRESERVE_BND_REGS_PREFIX before return.
30763         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
30764         (LRV_BND1_OFFSET): Likewise.
30765         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
30766         lrv_bnd1.
30767         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30768         typo in bndmov encoding.
30769         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
30770         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
30771         branch instructions to preserve bounds.
30773 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
30776         [GLIBC_2.22]: Add fmemopen.
30778 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30780         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
30781         returns an error, also try to use host port from __mach_host_self for
30782         the __vm_wire call.
30783         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
30785 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30787         [BZ #18400]
30788         [BZ #18648]
30789         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
30790         Fix pr_uid and pr_gid members.
30791         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
30792         definition to elf_greg_t.
30794 2015-07-08  Roland McGrath  <roland@hack.frob.com>
30796         [BZ #18383]
30797         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
30798         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
30799         * sysdeps/arm/configure: Regenerated.
30800         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
30801         (test-xfail-tst-tlsalign-static): Variable removed.
30803         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
30804         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
30805         rather than explicit 'ln -s'.
30807         * resolv/rpc/netdb.h: New file.
30808         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
30810 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30812         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
30813         length buffers.
30814         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30815         test-skeleton.c.
30817         [BZ #6544]
30818         [BZ #11216]
30819         [BZ #12836]
30820         [BZ #13151]
30821         [BZ #13152]
30822         [BZ #14292]
30823         * include/stdio.h (fmemopen): Remove hidden prototype.
30824         (__fmemopen): Add new hidden prototype.
30825         * libio/Makefile: Add oldfmemopen object.
30826         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
30827         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
30828         compliance.
30829         * libio/oldfmemopen.c: New file: old fmemopen implementation for
30830         symbol compatibility.
30831         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
30832         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
30833         fmemopen.
30834         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
30835         on append and read mode.
30836         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
30837         fmemopen.
30838         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30839         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
30840         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
30841         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
30842         Likewise.
30843         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
30844         [GLIBC_2.22]: Likewise.
30845         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
30846         Likewise.
30847         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
30848         Likewise.
30849         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
30850         [GLIBC_2.22]: Likewise.
30851         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
30852         [GLIBC_2.22]: Likewise.
30853         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
30854         [GLIBC_2.22]: Likewise.
30855         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
30856         [GLIBC_2.22]: Likewise.
30857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
30858         [GLIBC_2.22]: Likewise.
30859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
30860         [GLIBC_2.22]: Likewise.
30861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
30862         [GLIBC_2.22]: Likewise.
30863         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
30864         Likewise.
30865         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
30866         Likewise.
30867         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
30868         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
30869         [GLIBC_2.22]: Likewise.
30870         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
30871         [GLIBC_2.22]: Likewise.
30872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
30873         [GLIBC_2.22]: Likewise.
30874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
30875         [GLIBC_2.22]: Likewise.
30876         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
30877         Likewise.
30878         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
30879         Likewise.
30880         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
30881         Likewise.
30882         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
30883         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
30885 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30887         [BZ #18643]
30888         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
30889         IPV6_PATHMTU, and IPV6_DONTFRAG.
30891 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
30893         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
30894         and _IO_UNBUFFERED.
30895         * libio/oldfileops.c: Likewise.
30896         * libio/wfileops.c: Likewise.
30898 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30900         * nscd/selinux.c: Delete selinux/flask.h include.
30902 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30904         [BZ #18641]
30905         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
30906         (putpwent): Likewise.
30907         (getpwnam): Likewise.
30908         (getpwent_r): Likewise.
30909         (getpwuid_r): Likewise.
30910         (getpwnam_r): Likewise.
30911         (fgetpwent_r): Likewise.
30913 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30915         [BZ #18557]
30916         * inet/rcmd.c (__validuser2_sa): Check user first to
30917         short-circuit host check.
30919 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
30920             Mikhail Ilin  <m.ilin@samsung.com>
30922         [BZ #17833]
30923         * elf/Makefile (tests): Add tst-nodelete.
30924         (modules-names): Add tst-nodelete-uniquemod.
30925         (tst-nodelete-uniquemod.so-no-z-defs): New.
30926         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
30927         (tst-nodelete-zmod.so-no-z-defs): Likewise.
30928         ($(objpfx)tst-nodelete): Likewise.
30929         ($(objpfx)tst-nodelete.out): Likewise.
30930         (LDFLAGS-tst-nodelete): Likewise.
30931         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
30932         * elf/dl-close.c (_dl_close_worker): Add a parameter to
30933         implement forced object deletion.
30934         (_dl_close): Pass false to _dl_close_worker.
30935         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
30936         * elf/tst-nodelete.cc: New file.
30937         * elf/tst-nodeletelib.cc: Likewise.
30938         * elf/tst-znodeletelib.cc: Likewise.
30939         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
30941 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30943         [BZ #18508]
30944         * stdlib/Makefile ($(objpfx)tst-makecontext3):
30945         Depend on $(libdl).
30946         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
30947         is not called infinitely times.
30948         (backtrace_helper): New function.
30949         (trace_arg): New struct.
30950         (st1): Enlarge stack size.
30951         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30952         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
30953         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30954         Likewise.
30956 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30958         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30960 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30962         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
30963         Include sys/types.h instead of bits/types.h.
30964         Remove inclusion of bits/wordsize.h.
30966 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30968         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
30969         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
30970         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
30971         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
30972         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
30973         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
30975 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30977         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
30978         link-defines.sym.
30979         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
30980         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
30981         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
30982         and LR_SIZE.
30983         * sysdeps/i386/link-defines.sym: New file.
30985 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30987         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
30988         (modules-names): Add tst-auditmod3a tst-auditmod3b.
30989         ($(objpfx)tst-audit3): New rule.
30990         ($(objpfx)tst-audit3.out): Likewise.
30991         * sysdeps/i386/tst-audit3.c: New file.
30992         * sysdeps/i386/tst-audit3.h: Likewise.
30993         * sysdeps/i386/tst-auditmod3a.c: Likewise.
30994         * sysdeps/i386/tst-auditmod3b.c: Likewise.
30996 2015-07-07  Torvald Riegel  <triegel@redhat.com>
30998         [BZ #18633]
30999         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31000         pointer in C code.
31001         (__strcat_c): Likewise.
31002         (__strcat_g): Likewise.
31004 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
31006         [BZ #18592]
31007         * misc/sbrk.c: Set errno to ENOMEM on overflow.
31009 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31011         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31012         New function.  (__ieee754_sqrtf): New function.
31013         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31014         New function.
31015         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31016         New function.
31018 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31020         * sysdeps/ieee754/support.c: Remove unused file.
31022 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31024         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31025         registers instead of d ones so the layout is kernel abi compatible.
31026         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31027         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31028         Likewise.
31030 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31032         * sysdeps/aarch64/libm-test-ulps: Regenerated.
31034 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31036         [BZ #18619]
31037         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31038         and return argument in case of subnormal argument.
31040 2015-07-01  Martin Sebor  <msebor@redhat.com>
31042         [BZ #18435]
31043         * nptl/Makefile: Add tst-once5.cc.
31044         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31045         Remove macro redefinitions.
31046         * nptl/tst-once5.cc: New test.
31048 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31050         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31052         * sysdeps/arm/libm-test-ulps: Regenerated.
31054         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31055         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31057 2015-06-30  Torvald Riegel  <triegel@redhat.com>
31059         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31060         lll_lock_wait_private and lll_futex_wake probes.
31062         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31063         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31064         Likewise.
31065         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31066         atomic_spin_nop.
31067         * sysdeps/x86_64/bits/atomic.h: Likewise.
31068         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31069         to atomic_spin_nop and move ...
31070         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31071         ... here and ...
31072         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31073         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31074         atomic_spin_nop instead of BUSY_WAIT_NOP.
31075         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31076         Likewise.
31077         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31078         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31079         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31080         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31081         instead of atomic_delay.
31083 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31085         [BZ #18613]
31086         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31087         X_ADJ not X when adjusting exponent.
31088         (__ieee754_gamma_r): Do intermediate computations in
31089         round-to-nearest then adjust overflowing and underflowing results
31090         as needed.
31091         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31092         of X_ADJ not X when adjusting exponent.
31093         (__ieee754_gammaf_r): Do intermediate computations in
31094         round-to-nearest then adjust overflowing and underflowing results
31095         as needed.
31096         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31097         log of X_ADJ not X when adjusting exponent.
31098         (__ieee754_gammal_r): Do intermediate computations in
31099         round-to-nearest then adjust overflowing and underflowing results
31100         as needed.  Use 1.0L not 1.0f as numerator of division.
31101         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31102         log of X_ADJ not X when adjusting exponent.
31103         (__ieee754_gammal_r): Do intermediate computations in
31104         round-to-nearest then adjust overflowing and underflowing results
31105         as needed.  Use 1.0L not 1.0f as numerator of division.
31106         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31107         of X_ADJ not X when adjusting exponent.
31108         (__ieee754_gammal_r): Do intermediate computations in
31109         round-to-nearest then adjust overflowing and underflowing results
31110         as needed.  Use 1.0L not 1.0f as numerator of division.
31111         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31112         to auto-libm-test-in.
31113         (tgamma_test): Use ALL_RM_TEST.
31114         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31115         tests of tgamma with spurious-overflow.
31116         * math/auto-libm-test-out: Regenerated.
31117         * math/gen-libm-have-vector-test.sh: Do not check for START.
31118         * sysdeps/i386/fpu/libm-test-ulps: Update.
31119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31121         [BZ #18612]
31122         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31123         arguments, just return 0.5 times the argument, with underflow
31124         forced as needed.
31125         * math/auto-libm-test-in: Add more tests of j1.
31126         * math/auto-libm-test-out: Regenerated.
31128         [BZ #16559]
31129         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31130         (__ieee754_j1): Force underflow exception for small results.
31131         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31132         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31133         (__ieee754_j1f): Force underflow exception for small results.
31134         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31135         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31137         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31138         (__ieee754_j1l): Force underflow exception for small results.
31139         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31140         * math/auto-libm-test-in: Add more tests of j1 and jn.
31141         * math/auto-libm-test-out: Regenerated.
31143         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31144         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31145         (PF_MPLS): Likewise.
31146         (AF_IB): Likewise.
31147         (AF_MPLS): Likewise.
31148         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31149         value and macro.
31150         (MS_RMT_MASK): Include MS_LAZYTIME.
31152 2015-06-26  Mel Gorman  <mgorman@suse.de>
31154         [BZ #18502]
31155         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31156         already minimal.
31158 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31160         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31161         (DT_MIPS_NUM): Update.
31162         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31163         DT_MIPS_RLD_MAP_REL.
31165 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31167         [BZ #16559]
31168         [BZ #18602]
31169         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31170         round-to-nearest internally then recompute results that
31171         underflowed to zero in the original rounding mode.
31172         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31173         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31174         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31175         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31176         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31177         * sysdeps/i386/fpu/libm-test-ulps: Update.
31178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31180 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31182         * NEWS: Fixed description of link with vector math library.
31184 2015-06-25  Andreas Schwab  <schwab@suse.de>
31186         [BZ #18549]
31187         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31188         * libio/test-fmemopen.c (do_test): Add test for it.
31190 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31192         [BZ #17841]
31193         * Makeconfig (no-pie-ldflag): New.
31194         (+link): Set to $(+link-pie) if default to PIE.
31195         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31196         * config.make.in (build-pie-default): New.
31197         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
31198         is default.  AC_SUBST.
31199         * configure: Regenerated.
31200         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31202 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31204         * nptl/descr.h (struct pthread): Change type of field setxid_futex
31205         to 'unsigned int'.
31207         * resolv/gai_misc.h (struct waitlist): Change type of field
31208         counterp to 'volatile unsigned int *'.
31209         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31210         FUTEXADDR and OLDVAL.
31211         * resolv/getaddrinfo_a.c (getaddrinfo_a):
31212         Give local variable TOTAL type 'volatile unsigned int'.
31213         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31214         * resolv/gai_suspend.c (gai_suspend):
31215         Give local variable CNTR type 'unsigned int'.
31217         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31218         counterp to 'volatile unsigned int *'.
31219         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31220         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31221         (aio_suspend): Give local variable CNTR type 'unsigned int'.
31222         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31223         Give local variable TOTAL type 'volatile unsigned int'.
31224         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31226 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31228         [BZ #18383]
31229         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31230         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
31231         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31232         comment for i386/x86-64.
31233         (test-xfail-tst-tlsalign-extern-static): Removed.
31235 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31237         * math/test-double.h: New file.
31238         * math/test-float.h: Likewise.
31239         * math/test-ldouble.h: Likewise.
31240         * math/test-math-inline.h: Likewise.
31241         * math/test-math-no-inline.h: Likewise.
31242         * math/test-math-scalar.h: Likewise.
31243         * math/test-math-vector.h: Likewise.
31244         * math/test-vec-loop.h: Remove file.  Contents moved into
31245         test-math-vector.h.
31246         * math/libm-test.inc (MATHCONST): Do not document macro.
31247         * math/test-double.c: Include test-double.h, test-math-no-inline.h
31248         and test-math-scalar.h.
31249         (FUNC): Remove macro.
31250         (FUNC_TEST): Likewise.
31251         (FLOAT): Likewise.
31252         (MATHCONST): Likewise.
31253         (PRINTF_EXPR): Likewise.
31254         (PRINTF_XEXPR): Likewise.
31255         (PRINTF_NEXPR): Likewise.
31256         (TEST_DOUBLE): Likewise.
31257         (TEST_MATHVEC): Likewise.
31258         (__NO_MATH_INLINES): Likewise.
31259         * math/test-float.c: Include test-float.h, test-math-no-inline.h
31260         and test-math-scalar.h.
31261         (FUNC): Remove macro.
31262         (FUNC_TEST): Likewise.
31263         (FLOAT): Likewise.
31264         (MATHCONST): Likewise.
31265         (PRINTF_EXPR): Likewise.
31266         (PRINTF_XEXPR): Likewise.
31267         (PRINTF_NEXPR): Likewise.
31268         (TEST_FLOAT): Likewise.
31269         (TEST_MATHVEC): Likewise.
31270         (__NO_MATH_INLINES): Likewise.
31271         * math/test-idouble.c: Include test-double.h, test-math-inline.h
31272         and test-math-scalar.h.
31273         (FUNC): Remove macro.
31274         (FUNC_TEST): Likewise.
31275         (FLOAT): Likewise.
31276         (MATHCONST): Likewise.
31277         (PRINTF_EXPR): Likewise.
31278         (PRINTF_XEXPR): Likewise.
31279         (PRINTF_NEXPR): Likewise.
31280         (TEST_DOUBLE): Likewise.
31281         (TEST_MATHVEC): Likewise.
31282         (TEST_INLINE): Likewise.
31283         (__NO_MATH_INLINES): Likewise.
31284         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31285         test-math-scalar.h.
31286         (FUNC): Remove macro.
31287         (FUNC_TEST): Likewise.
31288         (FLOAT): Likewise.
31289         (MATHCONST): Likewise.
31290         (PRINTF_EXPR): Likewise.
31291         (PRINTF_XEXPR): Likewise.
31292         (PRINTF_NEXPR): Likewise.
31293         (TEST_FLOAT): Likewise.
31294         (TEST_MATHVEC): Likewise.
31295         (TEST_INLINE): Likewise.
31296         (__NO_MATH_INLINES): Likewise.
31297         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
31298         and test-math-scalar.h.
31299         (FUNC): Remove macro.
31300         (FUNC_TEST): Likewise.
31301         (FLOAT): Likewise.
31302         (MATHCONST): Likewise.
31303         (PRINTF_EXPR): Likewise.
31304         (PRINTF_XEXPR): Likewise.
31305         (PRINTF_NEXPR): Likewise.
31306         (TEST_LDOUBLE): Likewise.
31307         (TEST_MATHVEC): Likewise.
31308         (TEST_INLINE): Likewise.
31309         (__NO_MATH_INLINES): Likewise.
31310         * math/test-ldouble.c: Include test-ldouble.h,
31311         test-math-no-inline.h and test-math-scalar.h.
31312         (FUNC): Remove macro.
31313         (FUNC_TEST): Likewise.
31314         (FLOAT): Likewise.
31315         (MATHCONST): Likewise.
31316         (PRINTF_EXPR): Likewise.
31317         (PRINTF_XEXPR): Likewise.
31318         (PRINTF_NEXPR): Likewise.
31319         (TEST_LDOUBLE): Likewise.
31320         (TEST_MATHVEC): Likewise.
31321         (__NO_MATH_INLINES): Likewise.
31322         * math/test-double-vlen2.h: Include test-double.h,
31323         test-math-no-inline.h and test-math-vector.h.
31324         (FLOAT): Remove macro.
31325         (FUNC): Likewise.
31326         (MATHCONST): Likewise.
31327         (PRINTF_EXPR): Likewise.
31328         (PRINTF_XEXPR): Likewise.
31329         (PRINTF_NEXPR): Likewise.
31330         (TEST_DOUBLE): Likewise.
31331         (TEST_MATHVEC): Likewise.
31332         (__NO_MATH_INLINES): Likewise.
31333         (CNCT): Likewise.
31334         (CONCAT): Likewise.
31335         (WRAPPER_NAME): Likewise.
31336         (WRAPPER_DECL): Likewise.
31337         (WRAPPER_DECL_ff): Likewise.
31338         (WRAPPER_DECL_fFF): Likewise.
31339         (VECTOR_WRAPPER): Likewise.
31340         (VECTOR_WRAPPER_ff): Likewise.
31341         (VECTOR_WRAPPER_fFF): Likewise.
31342         (VEC_LEN): New macro.
31343         * math/test-double-vlen4.h: Include test-double.h,
31344         test-math-no-inline.h and test-math-vector.h.
31345         (FLOAT): Remove macro.
31346         (FUNC): Likewise.
31347         (MATHCONST): Likewise.
31348         (PRINTF_EXPR): Likewise.
31349         (PRINTF_XEXPR): Likewise.
31350         (PRINTF_NEXPR): Likewise.
31351         (TEST_DOUBLE): Likewise.
31352         (TEST_MATHVEC): Likewise.
31353         (__NO_MATH_INLINES): Likewise.
31354         (CNCT): Likewise.
31355         (CONCAT): Likewise.
31356         (WRAPPER_NAME): Likewise.
31357         (WRAPPER_DECL): Likewise.
31358         (WRAPPER_DECL_ff): Likewise.
31359         (WRAPPER_DECL_fFF): Likewise.
31360         (VECTOR_WRAPPER): Likewise.
31361         (VECTOR_WRAPPER_ff): Likewise.
31362         (VECTOR_WRAPPER_fFF): Likewise.
31363         (VEC_LEN): New macro.
31364         * math/test-double-vlen8.h: Include test-double.h,
31365         test-math-no-inline.h and test-math-vector.h.
31366         (FLOAT): Remove macro.
31367         (FUNC): Likewise.
31368         (MATHCONST): Likewise.
31369         (PRINTF_EXPR): Likewise.
31370         (PRINTF_XEXPR): Likewise.
31371         (PRINTF_NEXPR): Likewise.
31372         (TEST_DOUBLE): Likewise.
31373         (TEST_MATHVEC): Likewise.
31374         (__NO_MATH_INLINES): Likewise.
31375         (CNCT): Likewise.
31376         (CONCAT): Likewise.
31377         (WRAPPER_NAME): Likewise.
31378         (WRAPPER_DECL): Likewise.
31379         (WRAPPER_DECL_ff): Likewise.
31380         (WRAPPER_DECL_fFF): Likewise.
31381         (VECTOR_WRAPPER): Likewise.
31382         (VECTOR_WRAPPER_ff): Likewise.
31383         (VECTOR_WRAPPER_fFF): Likewise.
31384         (VEC_LEN): New macro.
31385         * math/test-float-vlen4.h: Include test-float.h,
31386         test-math-no-inline.h and test-math-vector.h.
31387         (FLOAT): Remove macro.
31388         (FUNC): Likewise.
31389         (MATHCONST): Likewise.
31390         (PRINTF_EXPR): Likewise.
31391         (PRINTF_XEXPR): Likewise.
31392         (PRINTF_NEXPR): Likewise.
31393         (TEST_FLOAT): Likewise.
31394         (TEST_MATHVEC): Likewise.
31395         (__NO_MATH_INLINES): Likewise.
31396         (CNCT): Likewise.
31397         (CONCAT): Likewise.
31398         (WRAPPER_NAME): Likewise.
31399         (WRAPPER_DECL): Likewise.
31400         (WRAPPER_DECL_ff): Likewise.
31401         (WRAPPER_DECL_fFF): Likewise.
31402         (VECTOR_WRAPPER): Likewise.
31403         (VECTOR_WRAPPER_ff): Likewise.
31404         (VECTOR_WRAPPER_fFF): Likewise.
31405         (VEC_LEN): New macro.
31406         * math/test-float-vlen8.h: Include test-float.h,
31407         test-math-no-inline.h and test-math-vector.h.
31408         (FLOAT): Remove macro.
31409         (FUNC): Likewise.
31410         (MATHCONST): Likewise.
31411         (PRINTF_EXPR): Likewise.
31412         (PRINTF_XEXPR): Likewise.
31413         (PRINTF_NEXPR): Likewise.
31414         (TEST_FLOAT): Likewise.
31415         (TEST_MATHVEC): Likewise.
31416         (__NO_MATH_INLINES): Likewise.
31417         (CNCT): Likewise.
31418         (CONCAT): Likewise.
31419         (WRAPPER_NAME): Likewise.
31420         (WRAPPER_DECL): Likewise.
31421         (WRAPPER_DECL_ff): Likewise.
31422         (WRAPPER_DECL_fFF): Likewise.
31423         (VECTOR_WRAPPER): Likewise.
31424         (VECTOR_WRAPPER_ff): Likewise.
31425         (VECTOR_WRAPPER_fFF): Likewise.
31426         (VEC_LEN): New macro.
31427         * math/test-float-vlen16.h: Include test-float.h,
31428         test-math-no-inline.h and test-math-vector.h.
31429         (FLOAT): Remove macro.
31430         (FUNC): Likewise.
31431         (MATHCONST): Likewise.
31432         (PRINTF_EXPR): Likewise.
31433         (PRINTF_XEXPR): Likewise.
31434         (PRINTF_NEXPR): Likewise.
31435         (TEST_FLOAT): Likewise.
31436         (TEST_MATHVEC): Likewise.
31437         (__NO_MATH_INLINES): Likewise.
31438         (CNCT): Likewise.
31439         (CONCAT): Likewise.
31440         (WRAPPER_NAME): Likewise.
31441         (WRAPPER_DECL): Likewise.
31442         (WRAPPER_DECL_ff): Likewise.
31443         (WRAPPER_DECL_fFF): Likewise.
31444         (VECTOR_WRAPPER): Likewise.
31445         (VECTOR_WRAPPER_ff): Likewise.
31446         (VECTOR_WRAPPER_fFF): Likewise.
31447         (VEC_LEN): New macro.
31448         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
31449         test-vec-loop.h.
31450         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31451         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31452         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31453         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31454         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31456         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31458 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31460         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
31461         (__getlogin_r): ... this.
31463 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31465         [BZ #18594]
31466         * math/s_ccosh.c (__ccosh): Compare with least normal value
31467         instead of comparing class with FP_SUBNORMAL.
31468         * math/s_ccoshf.c (__ccoshf): Likewise.
31469         * math/s_ccoshl.c (__ccoshl): Likewise.
31470         * math/s_cexp.c (__cexp): Likewise.
31471         * math/s_cexpf.c (__cexpf): Likewise.
31472         * math/s_cexpl.c (__cexpl): Likewise.
31473         * math/s_csin.c (__csin): Likewise.
31474         * math/s_csinf.c (__csinf): Likewise.
31475         * math/s_csinh.c (__csinh): Likewise.
31476         * math/s_csinhf.c (__csinhf): Likewise.
31477         * math/s_csinhl.c (__csinhl): Likewise.
31478         * math/s_csinl.c (__csinl): Likewise.
31479         * math/s_ctan.c (__ctan): Likewise.
31480         * math/s_ctanf.c (__ctanf): Likewise.
31481         * math/s_ctanh.c (__ctanh): Likewise.
31482         * math/s_ctanhf.c (__ctanhf): Likewise.
31483         * math/s_ctanhl.c (__ctanhl): Likewise.
31484         * math/s_ctanl.c (__ctanl): Likewise.
31485         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
31486         csin, csinh, ctan and ctanh.
31487         * math/auto-libm-test-out: Regenerated.
31488         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
31489         * sysdeps/i386/fpu/libm-test-ulps: Update.
31490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31492 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31494         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
31495         return value is wrong, print the expected value too.
31497 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31499         [BZ #18585]
31500         * elf/readlib.c (is_gdb_python_file): New.
31501         (process_file): Don't issue errors on filenames with -gdb.py
31502         suffix.
31504 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31506         * math/auto-libm-test-in: Add more tests of csin and csinh.
31507         * math/auto-libm-test-out: Regenerated.
31508         * math/libm-test.inc (csin_test_data): Remove tests moved to
31509         auto-libm-test-in.
31510         (csinh_test_data): Likewise.
31512         [BZ #18593]
31513         * math/s_csin.c (__csin): Negate before rather than after possibly
31514         overflowing multiplication.
31515         * math/s_csinf.c (__csinf): Likewise.
31516         * math/s_csinh.c (__csinh): Likewise.
31517         * math/s_csinhf.c (__csinhf): Likewise.
31518         * math/s_csinhl.c (__csinhl): Likewise.
31519         * math/s_csinl.c (__csinl): Likewise.
31520         * math/auto-libm-test-in: Add some tests of csin and csinh.
31521         * math/auto-libm-test-out: Regenerated.
31522         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
31523         (csinh_test_data): Likewise.
31524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31526         [BZ #18586]
31527         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
31528         underflow exception for small results.
31530 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31532         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31533         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
31534         variable and included header.
31535         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
31536         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
31537         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
31538         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
31539         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
31540         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
31541         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
31542         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
31543         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
31544         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
31545         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
31546         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
31547         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
31548         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
31549         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
31550         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
31552 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31554         [BZ #16526]
31555         [BZ #16538]
31556         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
31557         (__sin): Force underflow exception for arguments with small
31558         absolute value.
31559         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
31560         (__kernel_sinf): Force underflow exception for arguments with
31561         small absolute value.
31562         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
31563         (__kernel_sincosl): Force underflow exception for arguments with
31564         small absolute value.
31565         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
31566         (__kernel_sinl): Force underflow exception for arguments with
31567         small absolute value.
31568         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
31569         (__kernel_sincosl): Force underflow exception for arguments with
31570         small absolute value.
31571         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
31572         (__kernel_sinl): Force underflow exception for arguments with
31573         small absolute value.
31574         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
31575         (__kernel_sinl): Force underflow exception for arguments with
31576         small absolute value.
31577         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
31578         (__kernel_sinf): Force underflow exception for arguments with
31579         small absolute value.
31580         * math/auto-libm-test-in: Add more tests of sin and sincos.
31581         * math/auto-libm-test-out: Regenerated.
31583         [BZ #18245]
31584         [BZ #18583]
31585         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
31586         (__kernel_standard_l): Use feholdexcept and fesetenv around
31587         conversion to double instead of special-casing overflow and
31588         underflow.
31589         * math/libm-test.inc (fmod_test_data): Add more tests.
31590         (remainder_test_data): Likewise.
31591         (sqrt_test_data): Likewise.
31593 2015-06-23  Torvald Riegel  <triegel@redhat.com>
31595         [BZ #17403]
31596         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
31597         atomic_read_barrier, atomic_write_barrier): Define.
31598         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
31599         atomic_read_barrier, atomic_write_barrier): Define.
31601 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31603         * math/Makefile [$(PERL) != no]
31604         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
31605         dependency on libm-test.stmp below the inclusion of Rules.
31607 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
31609         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31610         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
31611         and included header.
31612         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
31613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
31614         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
31615         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
31616         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
31617         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
31618         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
31619         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
31620         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
31621         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
31622         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31623         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31624         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31625         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31626         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31627         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31628         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31629         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31630         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31632 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31634         [BZ #18371]
31635         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31636         intermediate but not final result might underflow.
31637         * math/s_csqrtf.c (__csqrtf): Likewise.
31638         * math/s_csqrtl.c (__csqrtl): Likewise.
31639         * math/auto-libm-test-in: Add more tests of csqrt.
31640         * math/auto-libm-test-out: Regenerated.
31641         * sysdeps/i386/fpu/libm-test-ulps: Update.
31643         [BZ #18219]
31644         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31645         threshold on absolute value of exponent for which scaling is used.
31646         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31647         * math/auto-libm-test-in: Add more tests of exp2.
31648         * math/auto-libm-test-out: Regenerated.
31650 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31652         [BZ #17977]
31653         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31654         when initializing interface list, based on the bug analysis
31655         and the patch proposed by Eric Newton.
31656         * resolv/tst-res_hconf_reorder.c: New test.
31657         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31658         tst-res_hconf_reorder.
31659         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31660         and $(shared-thread-library).
31661         (tst-res_hconf_reorder-ENV): New variable.
31663         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31664         in comment.
31666 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31668         [BZ #16353]
31669         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31670         (__expm1): Force underflow exception for arguments with small
31671         absolute value.
31672         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31673         (__expm1f): Force underflow exception for arguments with small
31674         absolute value.
31675         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31676         (__expm1): Force underflow exception for arguments with small
31677         absolute value.
31678         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31679         (__expm1f): Force underflow exception for arguments with small
31680         absolute value.
31681         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31682         Check for small arguments before calling __expm1.
31683         * math/auto-libm-test-in: Do not mark underflow exceptions as
31684         possibly missing for bug 16353.
31685         * math/auto-libm-test-out: Regenerated.
31687 2015-06-22  Andreas Schwab  <schwab@suse.de>
31689         [BZ #18513]
31690         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
31691         PTR queries.
31693 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
31695         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
31697         * string/strcoll_l.c: Remove unused struct element idxnow.
31699 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
31701         [BZ #18569]
31702         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
31703         underflow and return argument in case of subnormal argument.
31704         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31705         Likewise.
31706         * math/auto-libm-test-in: Add more tests of expm1.
31707         * math/auto-libm-test-out: Regenerated.
31709         [BZ #16361]
31710         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31711         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31712         tiny results.
31713         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31714         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31715         tiny results.
31716         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
31717         mark underflow exceptions as possibly missing for bug 16361.
31718         * math/auto-libm-test-out: Regenerated.
31720 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
31722         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31723         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
31724         Remove variable.
31725         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31726         (test-xfail-XOPEN2K8/utmpx.h/conform).
31728         * conform/conformtest.pl ($xerrors): New variable.
31729         (note_error): New function.
31730         (compiletest): New argument $xfail.  Use not_error.
31731         (runtest): Likewise.
31732         (top level): Handle xfail- lines.  Update calls to compiletest and
31733         runtest.  Handle xfail- and optional- in headers listed with
31734         allow-header.
31735         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
31736         (O_EXEC): Likewise.
31737         (O_SEARCH): Likewise.
31738         * conform/data/stropts.h-data (ioctl): Likewise.
31739         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
31740         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
31741         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
31742         (msghdr.msg_controllen): Likewise.
31743         (cmsghdr.cmsg_len): Likewise.
31744         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
31745         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
31746         variable.
31747         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31748         (test-xfail-XPG4/stropts.h/conform): Likewise.
31749         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31750         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31751         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31752         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31753         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31754         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31755         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31756         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31757         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31758         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31759         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31760         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31761         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31762         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31763         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31764         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31765         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31766         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31767         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31769 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31771         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
31772         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
31773         definitions for proper unfolding of __MATHDECL_VEC.
31775 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31777         * benchtests/bench-strcoll.c:
31778         Include string.h.
31779         (main): Remove unused variable res.
31781 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31783         * timezone/Makefile (%/UTC %/Universal):
31784         Generate test-result files for UTC and Universal.
31786 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31788         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31790 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
31792         [BZ #16350]
31793         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
31794         for arguments with small absolute value.
31795         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
31796         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
31797         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
31798         (__asinh): Force underflow exception for arguments with small
31799         absolute value.
31800         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
31801         (__asinhf): Force underflow exception for arguments with small
31802         absolute value.
31803         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
31804         (__asinhl): Force underflow exception for arguments with small
31805         absolute value.
31806         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
31807         (__asinhl): Force underflow exception for arguments with small
31808         absolute value.
31809         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
31810         (__asinhl): Force underflow exception for arguments with small
31811         absolute value.
31812         * math/auto-libm-test-in: Do not mark underflow exceptions as
31813         possibly missing for bug 16350.
31814         * math/auto-libm-test-out: Regenerated.
31816         * include/bits/ipc.h: Remove file.
31817         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
31818         variable.
31819         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31820         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31821         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31822         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31823         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31824         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31825         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31826         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31827         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31829         * math/auto-libm-test-in: Remove spurious underflow allowance for
31830         tests of cexp.
31831         * math/auto-libm-test-out: Regenerated.
31833         [BZ #18558]
31834         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
31835         unconditional definition.
31836         (MCAST_BLOCK_SOURCE): Likewise.
31837         (MCAST_UNBLOCK_SOURCE): Likewise.
31838         (MCAST_LEAVE_GROUP): Likewise.
31839         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31840         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31841         (MCAST_MSFILTER): Likewise.
31842         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
31843         Remove variable.
31844         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31845         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31846         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31847         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31848         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31850 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
31852         * NEWS: Mention addition of x86_64 vector sincosf.
31853         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
31854         * math/test-float-vlen4.h: Likewise.
31855         * math/test-float-vlen8.h: Likewise.
31856         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31857         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
31858         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31859         * sysdeps/x86_64/fpu/Versions: New versions added.
31860         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31861         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31862         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31863         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
31864         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
31865         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
31866         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
31867         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
31868         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
31869         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
31870         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
31871         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
31872         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
31873         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
31874         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
31875         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
31876         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
31877         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31878         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31879         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31880         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31881         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31882         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31883         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31885         * NEWS: Mention addition of x86_64 vector sincos.
31886         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
31887         * math/math.h (__MATHDECL_VEC): New macro.
31888         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
31889         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
31890         declaration under condition.
31891         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
31892         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
31893         TEST_VEC_LOOP change.
31894         * math/test-double-vlen4.h: Likewise.
31895         * math/test-double-vlen8.h: Likewise.
31896         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
31897         * math/test-float-vlen4.h: Likewise.
31898         * math/test-float-vlen8.h: Likewise.
31899         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31900         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
31901         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31902         * sysdeps/x86_64/fpu/Versions: New versions added.
31903         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31904         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31905         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31906         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
31907         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
31908         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
31909         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
31910         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
31911         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
31912         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
31913         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
31914         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
31915         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
31916         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
31917         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
31918         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
31919         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
31920         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31921         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31922         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31923         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31924         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31925         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31926         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31928         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31929         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31930         redirections for powf.
31931         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31932         * sysdeps/x86_64/fpu/Versions: New versions added.
31933         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31934         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31935         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31936         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
31937         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
31938         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
31939         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
31940         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
31941         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
31942         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
31943         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
31944         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
31945         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
31946         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
31947         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
31948         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
31949         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
31950         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31951         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31952         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31953         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31954         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31955         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31956         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31957         * math/test-float-vlen16.h: Fixed 2 argument macro.
31958         * math/test-float-vlen4.h: Likewise.
31959         * math/test-float-vlen8.h: Likewise.
31960         * NEWS: Mention addition of x86_64 vector powf.
31962 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
31964         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31965         and redefine.
31966         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31967         and redefine.
31968         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
31969         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31970         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31972         [BZ #18553]
31973         * resource/getpriority.c (getpriority): Rename to __getpriority
31974         and define as weak alias of __getpriority.
31975         * resource/setpriority.c (setpriority): Rename to __setpriority
31976         and define as weak alias of __setpriority.
31977         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
31978         __getpriority and define as weak alias of __getpriority.
31979         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
31980         __setpriority and define as weak alias of __setpriority.
31981         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
31982         strong name.
31983         (setpriority): Use __setpriority as strong name.
31984         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
31985         __getpriority and define as weak alias of __getpriority.
31986         * include/sys/resource.h (__getpriority): Declare.  Use
31987         libc_hidden_proto.
31988         (__setpriority): Likewise.
31989         (getpriority): Don't use libc_hidden_proto.
31990         (setpriority): Likewise.
31991         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
31992         getpriority.  Call __setpriority instead of setpriority.
31993         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
31994         Remove variable.
31996         [BZ #18547]
31997         * misc/getttyent.c (getttynam): Rename to __getttynam and define
31998         as weak alias of __getttynam.  Use prototype function definition.
31999         Call __setttyent, __getttyent and __endttyent instead of
32000         setttyent, getttyent and endttyent.
32001         (getttyent): Rename to __getttyent and define as weak alias of
32002         __getttyent.  Call __setttyent instead of setttyent.  Call
32003         __fgets_unlocked instead of fgets_unlocked.
32004         (setttyent): Rename to __setttyent and define as weak alias of
32005         __setttyent.
32006         (endttyent): Rename to __endttyent and define as weak alias of
32007         __endttyent.
32008         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
32009         (__setttyent): Likewise.
32010         (__endttyent): Likewise.
32011         (getttyent): Don't use libc_hidden_proto.
32012         (setttyent): Likewise.
32013         (endttyent): Likewise.
32014         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32015         __endttyent instead of setttyent, getttyent and endttyent.
32016         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32017         Remove variable.
32019         [BZ #18546]
32020         * socket/recv.c (__recv): Use libc_hidden_def.
32021         * socket/socket.c (__socket): Likewise.
32022         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32023         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32024         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32025         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32026         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32027         libc_hidden_def.
32028         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32029         libc_hidden_weak.
32030         * include/sys/socket.h (__socket): Do not use attribute_hidden.
32031         Use libc_hidden_proto.
32032         (__recv): Likewise.
32033         * socket/Versions (libc): Export __recv and __socket at version
32034         GLIBC_PRIVATE.
32035         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32036         instead of recv.
32037         (init_mq_netlink): Call __socket instead of socket.
32038         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32039         Remove variable.
32041         [BZ #18545]
32042         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32043         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
32044         hidden_weak.
32045         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32046         define as alias of __mq_timedsend.  Use hidden_weak.
32047         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32048         __mq_timedsend as strong name.
32049         (mq_timedreceive): Use __mq_timedreceive as strong name.
32050         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
32051         (__mq_timedreceive): Likewise.
32052         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32053         __mq_timedreceive instead of mq_timedreceive.
32054         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32055         instead of mq_timedsend.
32056         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32057         Remove variable.
32059         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32060         hidden_def and hidden_weak instead of libc_hidden_def and
32061         libc_hidden_weak.
32062         (top level): Refer to hidden_def in comment.
32063         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32064         macro.  Use it instead of libc_hidden_def.
32065         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32066         specify __GI_* name explicitly.
32067         (mq_timedreceive): Likewise.
32068         (mq_setattr): Likewise.
32070         [BZ #18544]
32071         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32072         __pthread_barrier_init and define as weak alias of
32073         __pthread_barrier_init.
32074         * sysdeps/sparc/nptl/pthread_barrier_init.c
32075         (pthread_barrier_init): Likewise.
32076         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32077         __pthread_barrier_wait and define as weak alias of
32078         __pthread_barrier_wait.
32079         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32080         (pthread_barrier_wait): Likewise.
32081         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32082         (pthread_barrier_wait): Likewise.
32083         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32084         (pthread_barrier_wait): Likewise.
32085         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32086         (pthread_barrier_wait): Likewise.
32087         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32088         __pthread_barrier_wait at version GLIBC_PRIVATE.
32089         * include/pthread.h (__pthread_barrier_init): Declare.
32090         (__pthread_barrier_wait): Likewise.
32091         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32092         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32093         (helper_thread): Likewise.
32094         (init_mq_netlink): Call __pthread_barrier_init instead of
32095         pthread_barrier_init.
32097         [BZ #18542]
32098         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32099         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32100         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32101         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32102         vswscanf.
32103         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32104         Remove variable.
32106         [BZ #18540]
32107         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32108         strong alias of _IO_fflush.  Use libc_hidden_def.
32109         * libio/iofflush_u.c (fflush_unlocked): Rename to
32110         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32111         Use libc_hidden_weak.
32112         * include/stdio.h (__fflush_unlocked): Declare.  Use
32113         libc_hidden_proto.
32114         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32115         fflush_unlocked.
32116         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32117         Remove variable.
32119         [BZ #18539]
32120         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32121         define as weak alias of __addseverity.
32122         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32123         Remove variable.
32124         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32125         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32126         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32128         [BZ #18536]
32129         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32130         (__tfind): Likewise.
32131         (__tdelete): Likewise.
32132         (__twalk): Likewise.
32133         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32134         __twalk to GLIBC_PRIVATE.
32135         * include/search.h (__tsearch): Use libc_hidden_proto.
32136         (__tfind): Likewise.
32137         (__tdelete): Likewise.
32138         (__twalk): Likewise.
32139         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32140         Call __tdelete instead of tdelete.
32141         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32142         tfind.  Call __tsearch instead of tsearch.
32143         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32144         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32145         Remove variable.
32146         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32148         [BZ #18534]
32149         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32150         (dprintf): Define as a weak alias of __dprintf, not a strong
32151         alias.
32152         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32153         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32154         dprintf.
32155         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32156         Remove variable.
32157         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32158         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32160         [BZ #18533]
32161         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32162         not a strong alias.
32163         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32164         Remove variable.
32166         [BZ #18532]
32167         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32168         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32169         (in6addr_loopback): Rename to __in6addr_loopback and define as
32170         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32171         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32172         libc_hidden_proto.
32173         (__in6addr_any): Likewise.
32174         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32175         in6addr_any.
32176         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32177         variable.
32178         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32180 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32182         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32183         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32184         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32185         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32186         redirections for pow.
32187         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32188         * sysdeps/x86_64/fpu/Versions: New versions added.
32189         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32190         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32191         build of SSE, AVX2 and AVX512 IFUNC versions.
32192         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32193         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32194         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32195         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32196         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32197         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32198         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32199         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32200         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32201         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32202         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32203         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32204         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32205         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
32206         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32207         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32208         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32209         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32210         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32211         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32212         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32213         * NEWS: Mention addition of x86_64 vector pow.
32215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32217         redirections for expf.
32218         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32219         * sysdeps/x86_64/fpu/Versions: New versions added.
32220         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32221         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32222         build of SSE, AVX2 and AVX512 IFUNC versions.
32223         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
32224         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32225         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32226         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32227         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32228         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32229         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32230         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32231         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32232         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32233         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32234         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32235         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
32236         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32237         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32238         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32239         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32241         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32242         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32243         * NEWS: Mention addition of x86_64 vector expf.
32245         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32246         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
32247         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32248         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32249         redirections for exp.
32250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32251         * sysdeps/x86_64/fpu/Versions: New versions added.
32252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32254         build of SSE, AVX2 and AVX512 IFUNC versions.
32255         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
32256         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32257         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32258         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32259         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32260         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32261         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32262         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32263         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32264         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32265         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32266         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32267         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32268         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32269         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32270         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32271         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32272         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32273         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32274         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32275         * NEWS: Mention addition of x86_64 vector exp.
32277         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32278         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32279         redirections for logf.
32280         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32281         * sysdeps/x86_64/fpu/Versions: New versions added.
32282         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32283         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32284         build of SSE, AVX2 and AVX512 IFUNC versions.
32285         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32286         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32287         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32288         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32289         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32290         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32291         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
32292         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
32293         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
32294         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
32295         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
32296         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
32297         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
32298         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32299         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32300         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32301         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32302         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32303         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32304         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32305         * NEWS: Mention addition of x86_64 vector logf.
32307         * bits/libm-simd-decl-stubs.h: Added stubs for log.
32308         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
32309         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32310         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32311         redirections for log.
32312         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32313         * sysdeps/x86_64/fpu/Versions: New versions added.
32314         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32315         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32316         build of SSE, AVX2 and AVX512 IFUNC versions.
32317         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
32318         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
32319         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
32320         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
32321         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
32322         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
32323         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
32324         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
32325         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
32326         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
32327         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
32328         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
32329         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
32330         test.
32331         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32332         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32333         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32334         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32335         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32336         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32337         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32338         * NEWS: Mention addition of x86_64 vector log.
32340 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32342         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
32343         cfi_adjust_cfa_offset argument.
32344         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
32345         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
32347         [BZ #18034]
32348         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
32349         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
32350         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
32351         ordering using ldar.
32352         (_dl_tlsdesc_dynamic): Likewise.
32353         (_dl_tlsdesc_return_lazy): Likewise.
32354         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
32355         relaxed atomics instead of volatile and synchronize with release store.
32356         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
32357         volatile.
32358         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32360 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
32362         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32363         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
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_s_sinf16_core.S: New file.
32370         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
32371         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
32372         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
32373         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
32374         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
32375         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
32376         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
32377         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
32378         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
32379         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
32380         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
32381         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
32382         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32383         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32384         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32385         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32386         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32387         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32388         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32389         * NEWS: Mention addition of x86_64 vector sinf.
32391 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
32393         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
32394         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
32395         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
32396         Remove variable.
32397         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32398         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32400 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32402         [BZ #18530]
32403         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
32404         strong alias of _IO_fputs.  Use libc_hidden_def.
32405         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
32406         and define as weak alias of __fputs_unlocked.  Use
32407         libc_hidden_weak.
32408         * include/stdio.h (__fputs_unlocked): Declare.  Use
32409         libc_hidden_proto.
32410         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
32411         fputs_unlocked.
32413         [BZ #18529]
32414         * resolv/netdb.h [__USE_POSIX]: Change condition to
32415         [__USE_XOPEN2K].
32416         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
32417         not expect.
32418         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
32419         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
32420         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
32421         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
32422         [XPG4 || UNIX98] (AI_ALL): Likewise.
32423         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
32424         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
32425         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
32426         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
32427         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
32428         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
32429         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
32430         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
32431         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
32432         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
32433         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
32434         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
32435         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
32436         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
32437         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
32438         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32439         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32440         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
32441         [XPG4 || UNIX98] (gai_strerror): Likewise.
32442         [XPG4 || UNIX98] (getaddrinfo): Likewise.
32443         [XPG4 || UNIX98] (getnameinfo): Likewise.
32445         [BZ #18528]
32446         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
32447         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
32448         __USE_XOPEN2K8].
32449         (getgrent): Likewise.
32450         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
32451         expect.
32452         [XPG3 || POSIX2008] (endgrent): Likewise.
32453         [XPG3] (setgrent): Likewise.
32454         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
32455         variable.
32456         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32458         [BZ #18527]
32459         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
32460         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
32461         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
32462         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
32463         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
32464         * include/unistd.h (__getlogin_r): Declare.  Use
32465         libc_hidden_proto.
32466         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
32467         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
32468         variable.
32469         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32470         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32471         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32473 2015-06-12  Martin Sebor  <msebor@redhat.com>
32475         [BZ #18512]
32476         * Makerules (check-install-supported): New target.
32477         (install): Add check-install-supported as a dependency.
32478         * manual/install.texi (Installing the C Library): Document
32479         that overriding prefix and exec_prefix is not supported.
32480         Mention DESTDIR.
32481         * INSTALL: Regenerate from the above.
32483 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32485         [BZ #18519]
32486         * posix/Versions (libc): Export __libc_pread at version
32487         GLIBC_PRIVATE.
32488         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
32489         instead of pread.
32490         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
32491         variable.
32493         [BZ #18522]
32494         * misc/efgcvt_r.c
32495         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
32496         (cvt_symbol): Use weak_alias instead of strong_alias.
32497         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
32498         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
32499         Remove variable.
32500         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32501         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32503         [BZ #18520]
32504         * inet/herrno.c (h_errno): Rename to __h_errno.
32505         (__libc_h_errno): Define as alias of __h_errno not h_errno.
32506         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
32507         to __h_errno instead of h_errno.
32508         * nptl/herrno.c (h_errno): Rename to __h_errno.
32509         (__h_errno_location): Refer to __h_errno not h_errno.
32510         * resolv/Versions (h_errno): Rename to __h_errno.
32511         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
32512         Remove variable.
32513         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32515 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
32517         * configure.ac: More strict check for AVX512 assembler support.
32518         * configure: Regenerated.
32520         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
32521         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
32522         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32523         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
32524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32525         * sysdeps/x86_64/fpu/Versions: New versions added.
32526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32527         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32528         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32529         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
32530         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
32531         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
32532         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
32533         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
32534         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
32535         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
32536         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
32537         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
32538         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
32539         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
32540         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
32541         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
32542         test.
32543         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32544         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32545         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32546         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32547         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32548         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32549         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32550         * NEWS: Mention addition of x86_64 vector sin.
32552 2015-06-11  Florian Weimer  <fweimer@redhat.com>
32554         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
32555         comment.
32557 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32559         [BZ #18479]
32560         * nptl/pt-interp.c: New file.
32561         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
32562         Add pt-interp.
32563         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
32564         $(common-objpfx)runtime-linker.h.
32566 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
32568         * Makeconfig (+interp): Remove unused variable.
32569         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
32570         only.  Depend on $(common-objpfx)runtime-linker.h instead of
32571         $(elf-objpfx)runtime-linker.h.
32572         ($(elf-objpfx)runtime-linker.h): Rename to
32573         $(common-objpfx)runtime-linker.h and move ...
32574         * Makerules [$(build-shared) = yes]: ... here.
32575         * elf/interp.c: Include <runtime-linker.h> instead of
32576         <elf/runtime-linker.h>.
32578 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32580         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
32581         (__gettimeofday_syscall): Remove vsyscall fallback.
32582         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
32583         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
32584         Add syscall fallback function.
32585         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
32586         if vDSO is not present.
32587         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
32588         fallback function.
32589         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
32590         present.
32591         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
32592         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32594 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
32596         [BZ #18497]
32597         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
32598         of wcscmp.
32599         (wcscmp): Define as weak alias of WCSCMP.
32600         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
32601         wcscoll.
32602         (USE_HIDDEN_DEF): Define.
32603         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
32604         __wcscoll.  Don't use libc_hidden_weak.
32605         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
32606         wcscmp.
32607         * sysdeps/i386/i686/multiarch/wcscmp-c.c
32608         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
32609         __GI_wcscmp.
32610         (weak_alias): Undefine and redefine.
32611         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
32612         __wcscmp and define as weak alias of __wcscmp.
32613         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
32614         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
32615         (__wcscoll): Likewise.
32616         (wcscmp): Don't use libc_hidden_proto.
32617         (wcscoll): Likewise.
32618         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
32619         wcscoll.
32620         * posix/regexec.c (check_node_accept_bytes): Likewise.
32621         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
32622         variable.
32623         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32624         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32626         [BZ #18507]
32627         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32628         __fstatvfs and define as weak alias of __fstatvfs.  Use
32629         libc_hidden_weak.
32630         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32631         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32632         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32633         Define as alias of __fstatvfs, not fstatvfs.
32634         (fstatvfs64): Likewise.
32635         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32636         Define as alias of __statvfs, not statvfs.
32637         (statvfs64): Likewise.
32638         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32639         Remove variable.
32641 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32644         (HAVE_GETCPU_VSYSCALL): Define.
32645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32646         (HAVE_GETCPU_VSYSCALL): Likewise.
32647         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32648         * sysdeps/unix/sysv/linux/sched_getcpu.c
32649         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32650         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32651         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32652         prototype.
32653         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32654         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32655         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32657         Define.
32658         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32659         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32660         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32661         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32663 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32665         * sysdeps/x86_64/fpu/Makefile: New file.
32666         * sysdeps/x86_64/fpu/Versions: New file.
32667         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32668         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32669         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32670         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32671         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32672         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32673         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32674         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32675         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32676         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32677         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32678         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32679         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32680         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32681         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32682         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
32683         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
32684         * sysdeps/x86_64/configure.ac: Options for libmvec build.
32685         * sysdeps/x86_64/configure: Regenerated.
32686         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
32687         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
32688         * manual/install.texi (Configuring and compiling): Document
32689         --disable-mathvec.
32690         * INSTALL: Regenerated.
32691         * NEWS: Mention addition of libmvec and x86_64 vector cos.
32693         * math/Makefile: Added rules for vector tests.
32694         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
32695         declaration under condition.
32696         * math/test-double-vlen2.h: New file.
32697         * math/test-double-vlen4.h: New file.
32698         * math/test-double-vlen8.h: New file.
32699         * math/test-vec-loop.h: Added initialization macro.
32700         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
32701         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
32702         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
32703         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
32704         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
32705         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
32706         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
32707         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
32708         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
32709         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
32710         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
32712         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32713         * sysdeps/x86_64/fpu/Versions: New versions added.
32714         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
32715         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
32716         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
32717         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
32718         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
32719         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
32720         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
32721         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
32722         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
32723         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
32724         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
32725         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
32726         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
32727         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32728         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32730         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
32731         * NEWS: Mention addition of x86_64 vector cosf.
32733         * math/Makefile: Added CFLAGS for new tests.
32734         * math/test-float-vlen16.h: New file.
32735         * math/test-float-vlen4.h: New file.
32736         * math/test-float-vlen8.h: New file.
32737         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
32738         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
32739         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32740         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
32741         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
32742         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
32743         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
32744         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
32745         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
32746         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
32747         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
32749 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
32751         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
32752         * locale/programs/ld-ctype.c: Likewise.
32754 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
32756         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
32757         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
32758         bit_ZMM16_31_state): New macro.
32759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32760         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
32762 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
32764         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
32766 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
32768         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
32770 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
32772         [BZ #18498]
32773         * libio/memstream.c (open_memstream): Rename to __open_memstream
32774         and define as weak alias of __open_memstream.
32775         * include/stdio.h (__open_memstream): Declare.  Use
32776         libc_hidden_proto.
32777         (open_memstream): Don't use libc_hidden_proto.
32778         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
32779         open_memstream.
32780         * posix/getopt.c (_getopt_internal_r): Likewise.
32781         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
32782         variable.
32783         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32784         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32785         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32787         [BZ #18496]
32788         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
32789         instead of wcrtomb.
32791         [BZ #18483]
32792         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
32793         [__USE_XOPEN2K8].  Remove redundant #endif.
32794         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
32795         Remove redundant #if.
32796         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
32797         Remove variable.
32798         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32799         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32801         [BZ #18495]
32802         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
32803         (__iswlower): Likewise.
32804         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
32805         (__iswlower): Likewise.
32806         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
32807         instead of towlower.
32808         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
32809         instead of iswlower.  Call __towupper instead of towupper.
32810         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
32811         instead of iswalnum.
32813 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32815         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
32816         errors to stderr.
32818 2015-06-05  Florian Weimer  <fweimer@redhat.com>
32820         [BZ #15661]
32821         [BZ #17322]
32822         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32823         Check for overflow properly.  Check for O_APPEND.  Ignore large
32824         file system block sizes.  Add comments about problems.
32825         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
32826         * manual/filesys.texi (Storage Allocation): New node.
32828 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32830         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
32831         cancellable syscalls.
32832         (SYS_ify): Add guard to no redefine it.
32833         (INLINE_SYSCALL): Likewise.
32834         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
32835         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
32836         SYSCALL_CANCEL instead.
32837         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
32838         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32839         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32840         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32841         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32842         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
32843         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
32844         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
32845         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32846         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32847         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
32848         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
32849         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
32850         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
32851         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
32852         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32853         Likewise.
32854         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32855         (__libc_pread64): Likewise.
32856         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
32857         (__libc_preadv): Likewise.
32858         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
32859         (__libc_readv64): Likewise.
32860         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32861         (__libc_pwrite): Likewise.
32862         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32863         (__libc_pwrite64): Likewise.
32864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
32865         (__libc_pwritev): Likewise.
32866         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
32867         (__libc_pwritev64): Likewise.
32868         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
32869         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
32870         (sync_file_range): Likewise.
32871         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
32872         Likewise.
32873         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
32874         Likewise.
32875         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32876         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32877         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32878         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32879         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32880         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32881         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32882         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
32883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32884         Likewise.
32885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32886         (__libc_read64): Likewise.
32887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
32888         Likewise.
32889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
32890         Likewise.
32891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
32892         Likewise.
32893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
32894         Likewise.
32895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32896         (__libc_pread64): Likewise.
32897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
32898         Likewise.
32899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32900         (__libc_pwrite64): Likewise.
32901         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
32902         (sync_file_range): Likewise.
32903         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
32904         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32905         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32906         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
32907         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
32908         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32909         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32910         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
32911         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
32912         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32913         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32914         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32915         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32916         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32917         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
32918         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32919         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32920         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32921         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32922         Likewise.
32923         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
32924         Likewise.
32925         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
32926         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
32927         Likewise.
32928         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
32929         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
32930         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
32931         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
32932         Likewise.
32933         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
32934         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
32935         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
32936         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
32937         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
32939 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
32941         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
32942         Include dl-vdso.
32943         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
32944         Use VDSO routines for gettimeofday, clock_gettime if
32945         available.
32946         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
32947         Declare VDSO symbols.
32948         * sysdeps/unix/sysv/linux/arm/sysdep.h:
32949         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
32950         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32951         * sysdeps/unix/sysv/linux/arm/Versions: Add
32952         __vdso_clock_gettime.
32954 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32956         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
32957         be an inline implementation regardless of library is built within.
32958         (open_not_cancel_2): Likewise.
32959         (__read_nocancel): Likewise.
32960         (__write_nocancel): Likewise.
32961         (openat_not_cancel): Likewise.
32962         (openat_not_cancel_3): Likewise.
32963         (openat64_not_cancel): Likewise.
32964         (openat64_not_cancel_3): Likewise.
32965         (__close_nocancel): Likewise.
32966         (pause_not_cancel): Likewise.
32967         (nanosleep_not_cancel): Likewise.
32968         (sigsuspend_not_cancel): Likewise.
32970 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32972         [BZ #14958]
32973         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
32974         wake-up.
32975         (__pthread_rwlock_rdlock_slow): Likewise.
32976         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32977         Likewise.
32978         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32979         Likewise.
32980         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
32981         * nptl/tst-rwlock16.c: New file.
32982         * nptl/Makefile (tests): Add new test.
32984 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32986         [BZ #18324]
32987         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
32988         missing wake-up of readers.
32989         * nptl/tst-rwlock15.c: New file.
32990         * nptl/Makefile (tests): Add new test.
32992 2015-06-03  Roland McGrath  <roland@hack.frob.com>
32994         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
32995         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
32996         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
32997         and __nacl_supply_interface_rtld.
32998         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
32999         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33000         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33001         Add __nacl_supply_interface_rtld.
33002         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33004 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33006         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33007         isfinite.
33008         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33009         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33011 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33013         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33014         __signbit* with standard C99 macros.
33015         * math/e_exp10l.c: Likewise.
33016         * math/e_exp2l.c: Likewise.
33017         * math/e_scalb.c: Likewise.
33018         * math/e_scalbf.c: Likewise.
33019         * math/e_scalbl.c: Likewise.
33020         * math/s_ldexp.c: Likewise.
33021         * math/s_ldexpf.c: Likewise.
33022         * math/s_ldexpl.c: Likewise.
33023         * math/w_atan2.c: Likewise.
33024         * math/w_atan2f.c: Likewise.
33025         * math/w_atan2l.c: Likewise.
33026         * math/w_cosh.c: Likewise.
33027         * math/w_coshf.c: Likewise.
33028         * math/w_coshl.c: Likewise.
33029         * math/w_exp10.c: Likewise.
33030         * math/w_exp10f.c: Likewise.
33031         * math/w_exp10l.c: Likewise.
33032         * math/w_exp2.c: Likewise.
33033         * math/w_exp2f.c: Likewise.
33034         * math/w_exp2l.c: Likewise.
33035         * math/w_fmod.c: Likewise.
33036         * math/w_fmodf.c: Likewise.
33037         * math/w_fmodl.c: Likewise.
33038         * math/w_hypot.c: Likewise.
33039         * math/w_hypotf.c: Likewise.
33040         * math/w_hypotl.c: Likewise.
33041         * math/w_jnl.c: Likewise.
33042         * math/w_lgamma.c: Likewise.
33043         * math/w_lgamma_r.c: Likewise.
33044         * math/w_lgammaf.c: Likewise.
33045         * math/w_lgammaf_r.c: Likewise.
33046         * math/w_lgammal.c: Likewise.
33047         * math/w_lgammal_r.c: Likewise.
33048         * math/w_pow.c: Likewise.
33049         * math/w_powf.c: Likewise.
33050         * math/w_powl.c: Likewise.
33051         * math/w_remainder.c: Likewise.
33052         * math/w_remainderf.c: Likewise.
33053         * math/w_remainderl.c: Likewise.
33054         * math/w_scalb.c: Likewise.
33055         * math/w_scalbf.c: Likewise.
33056         * math/w_scalbl.c: Likewise.
33057         * math/w_scalbln.c: Likewise.
33058         * math/w_scalblnf.c: Likewise.
33059         * math/w_scalblnl.c: Likewise.
33060         * math/w_sinh.c: Likewise.
33061         * math/w_sinhf.c: Likewise.
33062         * math/w_sinhl.c: Likewise.
33063         * math/w_tgamma.c: Likewise.
33064         * math/w_tgammaf.c: Likewise.
33065         * math/w_tgammal.c: Likewise.
33066         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33067         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33068         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33069         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33070         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33071         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33072         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33073         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33074         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33075         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33076         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33077         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33078         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33079         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33080         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33081         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33082         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33083         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33084         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33085         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33086         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33087         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33089         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33090         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33091         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33092         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33093         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33094         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33095         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33096         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33097         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33098         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33099         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33100         * stdio-common/printf_fp.c: Likewise.
33101         * stdio-common/printf_fphex.c: Likewise.
33102         * stdio-common/printf_size.c: Likewise.
33104 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33106         [BZ #18470]
33107         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33108         strnlen.
33109         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33110         Remove variable.
33111         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33112         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33113         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33114         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33115         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33116         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33117         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33118         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33119         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33120         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33122         [BZ #18468]
33123         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33124         weak alias of __wmemchr.  Use libc_hidden_weak.
33125         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33126         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33127         instead of wmemchr.
33129 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33131         [BZ #18383]
33132         * elf/tst-tlsalign-extern.c: New file.
33133         * elf/tst-tlsalign-extern-static.c: New file.
33134         * elf/tst-tlsalign-vars.c: New file.
33135         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33136         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33137         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33138         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33139         (test-xfail-tst-tlsalign-extern-static): New variable.
33141 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33143         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33144         Use variable name _sc_err instead of err.
33145         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33146         instead of ret.
33147         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33148         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33149         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33150         (INLINE_SYSCALL): Likewise.
33152         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33153         * include/string.h (__strnlen): Use libc_hidden_proto.
33154         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33155         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33156         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33157         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33158         (libc_hidden_def): Undefine and redefine.
33159         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33160         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33161         __GI_strnlen.
33162         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33163         libc_hidden_def.
33164         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33166         [BZ #18469]
33167         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33168         weak alias of __towlower.  Use libc_hidden_weak.
33169         (towupper): Rename to __towupper and define as weak alias of
33170         __towupper.  Use libc_hidden_weak.
33171         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33172         (__towupper): Likewise.
33173         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33174         __towlower instead of towlower.
33176 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33178         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33179         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33181 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33183         * sysdeps/aarch64/libm-test-ulps: Update.
33185 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33187         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33188         Define.
33189         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33191         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33192         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33193         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33194         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33195         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33197 2015-06-01  Martin Sebor  <msebor@redhat.com>
33199         [BZ #18116]
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33201         (__setcontext): Use extended four-operand version of mtsf whenever
33202         possible.
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33204         (__novec_swapcontext): Likewise.
33206 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33208         * benchtests/scripts/compare_bench.py: New file.
33209         * benchtests/scripts/import_bench.py (mean): New function.
33210         (split_list): Likewise.
33211         (do_for_all_timings): Likewise.
33212         (compress_timings): Likewise.
33214         * benchtests/scripts/import_bench.py: New file.
33215         * benchtests/scripts/validate_benchout.py: Import import_bench
33216         instead of jsonschema.
33217         (validate_bench): Remove function.
33218         (main): Use import_bench.
33220 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
33222         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33223         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33225 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33229 2015-05-28  Roland McGrath  <roland@hack.frob.com>
33231         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33232         set THREAD_SELF->tid to a magic value and futex-wake it.
33233         Pass its address to the thread_exit system call.
33234         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33235         bit is clear.
33236         * sysdeps/nacl/lowlevellock.h: New file.
33237         * sysdeps/nacl/lll_timedwait_tid.c: New file.
33239         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33240         Add TIMEOUT to current time, don't subtract it.
33242 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
33244         [BZ #2981]
33245         [BZ #18422]
33246         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33247         ($(objpfx)tst-audit2.out): Also depend on
33248         $(objpfx)tst-auditmod9b.so.
33249         * elf/tst-audit2.c: Include <dlfcn.h>.
33250         (calloc_called): New.
33251         (calloc): Allow to be called more than once.
33252         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33254 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
33256         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33257         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33259 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
33261         * stdlib/monetary.h: Fix comment.
33263 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
33265         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33266         Avoid using variables in #defines that might cause shadowing.
33267         (INTERNAL_VSYSCALL_CALL): Likewise.
33269 2015-05-26  Roland McGrath  <roland@hack.frob.com>
33271         * sysdeps/nacl/lll_timedlock_wait.c: New file.
33273         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33274         * nptl/lll_timedlock_wait.c: ... to this new file.
33275         * nptl/Makefile (libpthread-routines): Add it.
33276         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33277         * nptl/lll_timedwait_tid.c: ... to this new file.
33278         * nptl/Makefile (libpthread-routines): Add it.
33279         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33280         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33281         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33282         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33283         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33284         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33285         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33286         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33287         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33288         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33290 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33292         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
33293         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33294         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
33296         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
33297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33298         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33299         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33300         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33301         * sysdeps/unix/sysv/linux/tile/sysdep.h
33302         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33303         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
33304         using vDSO syscall macro.
33306 2015-05-26  Andriy Rysin  <arysin@gmail.com>
33308         [BZ #17293]
33309         * uk_UA: Fix sorting order for Ukrainian locale
33311 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
33313         * stdlib/monetary.h: Fix comment.
33315 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33317         [BZ #18234]
33318         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
33319         st_mtim and st_ctim members.
33320         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
33321         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
33322         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
33323         (struct stat64): Likewise.
33324         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
33325         (struct stat64): Likewise.
33326         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
33327         (struct stat64): Likewise.
33329 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33331         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
33332         Define and include sysdep-vdso.h.
33333         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
33334         Likewise.
33335         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
33336         Likewise.
33337         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
33338         Define with VDSO_SYMBOL and use PTR_MANGLE.
33339         (__vdso_clock_gettime): Likewise.
33340         (__vdso_clock_getres): Likewise.
33341         (_libc_vdso_platform_setup): Likewise.
33342         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33343         Likewise.
33344         (_libc_vdso_platform_setup): Likewise.
33345         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
33346         Likewise.
33347         (__vdso_clock_gettime): Likewise.
33348         (__vdso_clock_getres): Likewise.
33349         (__vdso_get_tbfreq): Likewise.
33350         (__vdso_getcpu): Likewise.
33351         (__vdso_time): Likewise.
33352         (__vdso_sigtramp_rt64): Likewise.
33353         (__vdso_signtramp32): Likewise.
33354         (__vdso_sigtramp_rt32): Likewise.
33355         (_libc_vdso_platform_setup): Likewise.
33356         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
33357         Likewise.
33358         (__vdso_clock_gettime): Likewise.
33359         (__vdso_clock_getres): Likewise.
33360         (_libc_vdso_platform_setup): Likewise.
33361         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
33362         Likewise.
33363         (__vdso_clock_gettime): Likewise.
33364         (_libc_vdso_platform_setup): Likewise.
33365         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33366         Likewise.
33367         (__vdso_getcpu): Likewise.
33368         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
33369         Use VDSO_SYMBOL macro to define.
33370         (__vdso_clock_gettime): Likewise.
33371         (__vdso_clock_getres): Likewise.
33372         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
33373         Likewise.
33374         (__vdso_clock_gettime): Likewise.
33375         (__vdso_clock_getres): Likewise.
33376         (__vdso_get_tbfreq): Likewise.
33377         (__vdso_getcpu): Likewise.
33378         (__vdso_time): Likewise.
33379         (__vdso_sigtramp_rt64): Likewise.
33380         (__vdso_signtramp32): Likewise.
33381         (__vdso_sigtramp_rt32): Likewise.
33382         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
33383         Likewise.
33384         (__vdso_clock_gettime): Likewise.
33385         (__vdso_clock_getres): Likewise.
33386         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
33387         Likewise.
33388         (__vdso_clock_gettime): Likewise.
33389         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33390         Likewise.
33391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
33392         macro.
33393         (INTERNAL_VSYSCALL): Likewise.
33394         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
33395         Remove macro.
33396         (INTERNAL_VSYSCALL): Likewise.
33397         (INTERNAL_VSYSCALL_NCS): Likewise.
33398         (INTERNAL_VSYSCALL_CALL): New macro.
33399         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33400         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
33401         Likewise.
33402         (INTERNAL_VSYSCALL): Likewise.
33403         (INTERNAL_VSYSCALL_NCS): Likewise.
33404         (INTERNAL_VSYSCALL_CALL): New macro.
33405         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33407         (INLINE_VSYSCALL): Remove macro.
33408         (INTERNAL_VSYSCALL): Remove macro.
33409         (INTERNAL_VSYSCALL_NCS): Remove macro.
33410         (INTERNAL_VSYSCALL_CALL): New macro.
33411         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
33412         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
33413         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33414         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
33415         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33417         (INLINE_VSYSCALL): Remove macro.
33418         (INTERNAL_VSYSCALL): Likewise.
33419         (INTERNAL_VSYSCALL_NCS): Likewise.
33420         (INTERNAL_VSYSCALL_CALL): New macro.
33421         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
33422         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
33423         PTR_DEMANGLE on vDSO pointer.
33424         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33425         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
33426         macro.
33427         (INTERNAL_SYSCALL): Likewise.
33428         (INTERNAL_VSYSCALL_NCS): Remove macro.
33429         (INTERNAL_VSYSCALL_CALL): New macro.
33430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
33431         Remove macro.
33432         (INTERNAL_VSYSCALL): Likewise.
33433         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
33434         sysdep-vdso.h instead of libc-vdso.h.
33435         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
33436         definition.
33437         (INLINE_VSYSCALL): Likewise.
33438         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
33439         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
33440         definition.
33441         (INLINE_VSYSCALL): Likewise.
33442         (INTERNAL_VSYSCALL): Likewise.
33443         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33444         * sysdeps/unix/sysv/linux/timespec_get.c
33445         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33446         (timespec_get): Use ANSI prototype.
33447         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
33448         and definition for Linux.
33450 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33452         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
33453         * include/libc-symbols.h: libmvec_hidden_* macro series added.
33455 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33457         [BZ #2981]
33458         [BZ #18410]
33459         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
33460         for missing DT_PLTRELSZ.
33462 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33464         Remove obsolete aliases that broke 'locale -a'
33465         [BZ #18412]
33466         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
33467         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
33468         breaking some applications that use 'locale -a' output.
33469         Change the encoding of this file from Latin-1 to ASCII to avoid
33470         other potential problems with people grepping this file.
33472 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33474         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
33475         -fasynchronous-unwind-tables.
33476         (CFLAGS-sendto.c): Likewise.
33477         (CFLAGS-sendmsg.c): Likewise.
33478         (CFLAGS-connect.c): Likewise.
33479         (CFLAGS-recvmsg.c): Likewise.
33480         (CFLAGS-recvfrom.c): Likewise.
33481         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
33482         (SOCKETCALL): New macro: non-cancellable socketcall.
33483         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
33484         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
33485         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
33486         * sysdeps/unix/sysv/linux/accept.c: New file.
33487         * sysdeps/unix/sysv/linux/bind.c: Likewise.
33488         * sysdeps/unix/sysv/linux/connect.c: Likewise.
33489         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
33490         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
33491         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
33492         * sysdeps/unix/sysv/linux/listen.c: Likewise.
33493         * sysdeps/unix/sysv/linux/recv.c: Likewise.
33494         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
33495         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
33496         * sysdeps/unix/sysv/linux/send.c: Likewise.
33497         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
33498         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
33499         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
33500         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
33501         * sysdeps/unix/sysv/linux/socket.c: Likewise.
33502         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
33503         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
33504         prototype.
33505         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
33506         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33507         instead of __internal_xxx function.
33508         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
33509         prototype.
33510         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
33511         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33512         instead of __internal_xxx function.
33513         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
33514         prototype.
33515         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
33516         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33517         instead of __internal_xxx function.
33518         * sysdeps/unix/sysv/linux/accept.S: Remove file.
33519         * sysdeps/unix/sysv/linux/bind.S: Likewise.
33520         * sysdeps/unix/sysv/linux/connect.S: Likewise.
33521         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
33522         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
33523         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
33524         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
33525         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
33526         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
33527         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
33528         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
33529         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33530         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
33531         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
33532         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
33533         * sysdeps/unix/sysv/linux/listen.S: Likewise.
33534         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
33535         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
33536         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
33537         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
33538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
33539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
33540         * sysdeps/unix/sysv/linux/recv.S: Likewise.
33541         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
33542         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
33543         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
33544         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33545         * sysdeps/unix/sysv/linux/send.S: Likewise.
33546         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
33547         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
33548         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
33549         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
33550         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
33551         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
33552         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
33553         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
33554         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
33555         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
33556         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
33557         socketcall is implemented in GLIBC.
33559 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33561         * soft-fp/fmadf4.c: Include <libc-internal.h>.
33562         (__fma): Ignore uninitialized warnings around packing.
33563         * soft-fp/fmasf4.c: Include <libc-internal.h>.
33564         (__fmaf): Ignore uninitialized warnings around packing.
33565         * soft-fp/fmatf4.c: Include <libc-internal.h>.
33566         (__fmal): Ignore uninitialized warnings around packing.
33568         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
33569         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33570         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
33571         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33573         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
33574         switch statement into default case.
33575         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
33577         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
33578         a conditional in forcing "inexact".
33579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33580         Likewise.
33582 2015-05-22  Roland McGrath  <roland@hack.frob.com>
33584         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33585         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
33586         for each INTERNAL_SYSCALL use.
33588 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33590         [BZ #438]
33591         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
33592         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
33593         variable.
33595         [BZ #18444]
33596         * string/basename.c (basename): Rename to __basename and define as
33597         weak alias of __basename.  Use libc_hidden_weak.
33598         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
33599         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
33600         __basename instead of basename.
33601         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
33602         Remove variable.
33603         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33605 2015-05-18  Florian Weimer  <fweimer@redhat.com>
33607         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
33608         (_IO_JUMPS_FILE_plus): New.
33609         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
33610         _IO_CAST_FIELD_ACCESS.
33611         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
33612         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
33613         * libio/freopen.c (freopen): Likewise.
33614         * libio/freopen64.c (freopen64): Likewise.
33615         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
33616         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
33617         * libio/iofwide.c (_IO_fwide): Likewise.
33618         * libio/memstream.c (open_memstream): Likewise.
33619         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33620         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
33621         * libio/oldiopopen.c (_IO_old_popen): Likewise.
33623 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
33625         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33626         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33627         NADJ.
33628         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33629         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33630         NADJ.
33631         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33632         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33633         NADJ.
33635         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33636         (p == 4) case.
33638         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33639         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33640         Remove variable.
33641         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33642         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33643         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33645 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33647         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33648         Adjust jump table label generation macros.
33650 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33652         * stdio-common/vfprintf.c (vfprintf): Move local variables
33653         args_malloced, specs, specs_malloced, and the code after
33654         do_positional to the printf_positional function.
33655         (printf_positional): New function.
33657 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33659         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33660         function.
33661         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33662         STEP4_TABLE, process_arg): Move macro definitions
33663         out of the vfprintf function.  (Cosmetic change only.)
33665 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33667         * benchtests/Makefile (stdio-common-bench): Define.
33668         (benchset): Add stdio-common-bench.
33669         * sprintf-inputs: New file.
33670         * sprintf-source.c: New file.
33672 2015-05-21  Andreas Schwab  <schwab@suse.de>
33674         [BZ #13028]
33675         [BZ #17053]
33676         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33677         of struct __res_state.
33678         * resolv/res_send.c (__libc_res_nsend): Likewise.
33679         (get_nsaddr): New function.
33680         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33681         statp directly.
33683 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
33685         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
33686         -D_POSIX_C_SOURCE=199506L.
33688         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
33690         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
33691         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
33692         Do not mention otherwise.
33693         [POSIX] (_XOPEN_VERSION): Do not expect.
33694         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
33695         [POSIX] (_POSIX2_C_BIND): Likewise.
33696         [POSIX] (_POSIX2_VERSION): Likewise.
33697         [POSIX] (_XOPEN_XPG2): Likewise.
33698         [POSIX] (_XOPEN_XPG3): Likewise.
33699         [POSIX] (_XOPEN_XPG4): Likewise.
33700         [POSIX] (_XOPEN_UNIX): Likewise.
33701         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
33702         [POSIX] (_POSIX_BARRIERS): Likewise.
33703         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33704         [POSIX] (_POSIX_CPUTIME): Likewise.
33705         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
33706         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
33707         [POSIX] (_POSIX_SHELL): Likewise.
33708         [POSIX] (_POSIX_SPAWN): Likewise.
33709         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
33710         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
33711         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
33712         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
33713         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
33714         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33715         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
33716         [POSIX] (_XBS5_LP64_OFF64): Likewise.
33717         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
33718         [POSIX] (_POSIX_TIMEOUTS): Likewise.
33719         [POSIX] (_POSIX2_PBS): Likewise.
33720         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
33721         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
33722         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
33723         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
33724         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
33725         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
33726         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
33727         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
33728         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
33729         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
33730         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
33731         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
33732         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
33733         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
33734         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
33735         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
33736         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
33737         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
33738         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
33739         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
33740         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
33741         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
33742         [POSIX] (_SC_2_C_BIND): Likewise.
33743         [POSIX] (_SC_2_C_VERSION): Likewise.
33744         [POSIX] (_SC_2_PBS): Likewise.
33745         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
33746         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
33747         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
33748         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
33749         [POSIX] (_SC_2_PBS_TRACK): Likewise.
33750         [POSIX] (_SC_ATEXIT_MAX): Likewise.
33751         [POSIX] (_SC_BARRIERS): Likewise.
33752         [POSIX] (_SC_BASE): Likewise.
33753         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
33754         [POSIX] (_SC_DEVICE_IO): Likewise.
33755         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
33756         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
33757         [POSIX] (_SC_FD_MGMT): Likewise.
33758         [POSIX] (_SC_FIFO): Likewise.
33759         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
33760         [POSIX] (_SC_FILE_LOCKING): Likewise.
33761         [POSIX] (_SC_FILE_SYSTEM): Likewise.
33762         [POSIX] (_SC_IOV_MAX): Likewise.
33763         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
33764         [POSIX] (_SC_NETWORKING): Likewise.
33765         [POSIX] (_SC_PAGE_SIZE): Likewise.
33766         [POSIX] (_SC_PASS_MAX): Likewise.
33767         [POSIX] (_SC_PIPE): Likewise.
33768         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
33769         [POSIX] (_SC_REGEXP): Likewise.
33770         [POSIX] (_SC_SHELL): Likewise.
33771         [POSIX] (_SC_SIGNALS): Likewise.
33772         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
33773         [POSIX] (_SC_SPIN_LOCKS): Likewise.
33774         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
33775         [POSIX] (_SC_USER_GROUPS): Likewise.
33776         [POSIX] (_SC_USER_GROUPS_R): Likewise.
33777         [POSIX] (_SC_STREAMS): Likewise.
33778         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
33779         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
33780         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
33781         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
33782         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
33783         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
33784         [POSIX] (_PC_FILESIZEBITS): Likewise.
33785         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
33786         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
33787         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
33788         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
33789         [POSIX] (uid_t): Likewise.
33790         [POSIX] (gid_t): Likewise.
33791         [POSIX] (off_t): Likewise.
33792         [POSIX] (pid_t): Likewise.
33793         [POSIX] (cuserid): Allow.
33794         (_SC_2_CHAR_TERM): Require constant.
33795         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
33796         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
33797         variable.
33799 2015-05-20  Roland McGrath  <roland@hack.frob.com>
33801         * sysdeps/nacl/pthread-pids.h: New file.
33802         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
33803         (create_thread): Use __nacl_get_tid to initialize PD->tid.
33805         * nptl/pthread-pids.h: New file.
33806         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
33807         * nptl/nptl-init.c: Include <pthread-pids.h>.
33808         (__pthread_initialize_minimal_internal):
33809         Call __pthread_initialize_pids instead of set_tid_address syscall.
33811         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
33812         * sysdeps/posix/usleep.c: ... here.
33814 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33816         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
33817         call_pselect6 object.
33818         [$(subdir) = io]: Remove call_sync_file_range object.
33819         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
33820         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
33821         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
33822         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
33824 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
33826         * math/s_cproj.c: Add include "math_private.h".
33827         * math/s_cprojf.c: Likewise.
33828         * math/s_cprojl.c: Likewise.
33830 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
33832         [BZ #18244]
33833         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
33834         high mantissa bit when testing whether P is a NaN.
33835         * math/libm-test.inc (remainder_test_data): Add more tests.
33836         (remquo_test_data): Likewise.
33838         [BZ #18049]
33839         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
33840         below -32, return the argument, with underflow if subnormal.
33841         * math/auto-libm-test-in: Add more tests of atanh.
33842         * math/auto-libm-test-out: Regenerated.
33844 2015-05-19  Roland McGrath  <roland@hack.frob.com>
33846         [BZ #18434]
33847         * nptl/tst-sem15.c: New file.
33848         * nptl/Makefile (tests): Add it.
33849         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
33850         s/<</>>/ to fix typo in EOVERFLOW check.
33851         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
33853 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33855         * manual/strings.texi (envz_remove): Fix typo in safety
33856         annotations.
33858 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
33859             Steve Ellcey  <sellcey@imgtec.com>
33861         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
33862         in order to avoid strict alias warnings.
33863         (iruserok_af): Ditto for ra.
33865 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
33867         [BZ #17581]
33868         * malloc/hooks.c
33869         (magicbyte): Convert to a function and avoid returning 0x01.
33870         (mem2mem_check): Avoid using a length byte equal to the magic byte.
33871         (mem2chunk_check): Fix unsigned comparisons to zero.
33872         Hoist defs of sz and magic.
33874 2015-05-19  Richard Henderson  <rth@redhat.com>
33876         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
33878         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33880 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33882         [BZ #16159]
33883         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
33884         * malloc/arena.c (arena_lock): Check if arena is corrupt.
33885         (reused_arena): Find a non-corrupt arena.
33886         (heap_trim): Pass arena to unlink.
33887         * malloc/hooks.c (malloc_check_get_size): Pass arena to
33888         malloc_printerr.
33889         (top_check): Likewise.
33890         (free_check): Likewise.
33891         (realloc_check): Likewise.
33892         * malloc/malloc.c (malloc_printerr): Add arena argument.
33893         (unlink): Likewise.
33894         (munmap_chunk): Adjust.
33895         (ARENA_CORRUPTION_BIT): New macro.
33896         (arena_is_corrupt): Likewise.
33897         (set_arena_corrupt): Likewise.
33898         (sysmalloc): Use mmap if there are no usable arenas.
33899         (_int_malloc): Likewise.
33900         (__libc_malloc): Don't fail if arena_get returns NULL.
33901         (_mid_memalign): Likewise.
33902         (__libc_calloc): Likewise.
33903         (__libc_realloc): Adjust for additional argument to
33904         malloc_printerr.
33905         (_int_free): Likewise.
33906         (malloc_consolidate): Likewise.
33907         (_int_realloc): Likewise.
33908         (_int_memalign): Don't touch corrupt arenas.
33909         * malloc/tst-malloc-backtrace.c: New test case.
33911         * Makefile (summarize-tests): Fix return value on success.
33913         * manual/string.texi (Envz Functions): Add envz_remove.
33915 2015-05-18  Roland McGrath  <roland@hack.frob.com>
33917         * sysdeps/posix/opendir.c: Include <stdbool.h>.
33918         (invalid_name): New function, broken out of ...
33919         (__opendirat): ... here.  Call it.
33920         (need_isdir_precheck): New function, broken out of ...
33921         (__opendirat): ... here.  Call it.
33922         Use __fxstatat64, not __xstatat64.
33923         (opendir_oflags): New function, broken out of ...
33924         (__opendirat): ... here.  Call it.
33925         (opendir_tail): New function, broken out of ...
33926         (__opendirat): ... here.  Call it.
33927         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
33928         opendir_tail, rather than punting to __opendirat.
33929         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
33931 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33933         * .gitignore: Ignore generated *.pyc.
33935 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
33937         * include/stdio.h: Define __need_wint_t.
33938         * test-skeleton.c: Avoid `for' loop initial declaration.
33939         * nptl/tst-initializers1.c: Use test-skeleton.c.
33941 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33943         [BZ #18418]
33944         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
33946 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33948         [BZ #16352]
33949         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
33950         (__ieee754_atanh): Force underflow exception for results with
33951         small absolute value.
33952         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
33953         (__ieee754_atanhf): Force underflow exception for results with
33954         small absolute value.
33955         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
33956         (__ieee754_atanh): Force underflow exception for results with
33957         small absolute value.
33958         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
33959         (__ieee754_atanhf): Force underflow exception for results with
33960         small absolute value.
33961         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
33962         (__ieee754_atanhl): Force underflow exception for results with
33963         small absolute value.
33964         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
33965         (__ieee754_atanhl): Force underflow exception for results with
33966         small absolute value.
33967         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
33968         (__ieee754_atanhl): Force underflow exception for results with
33969         small absolute value.
33970         * math/auto-libm-test-in: Do not allow missing underflow
33971         exceptions from atanh.
33972         * math/auto-libm-test-out: Regenerated.
33974         [BZ #18221]
33975         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
33976         2**-28 as threshold for returning x or +/- 1/x.
33977         * math/auto-libm-test-in: Add more tests of tan.
33978         * math/auto-libm-test-out: Regenerated.
33980         [BZ #18220]
33981         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33982         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
33983         * math/auto-libm-test-in: Add another test of lgamma.
33984         * math/auto-libm-test-out: Regenerated.
33986 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
33988         * stdio-common/printf_fp.c (___printf_fp): Use abs.
33989         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
33990         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
33991         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
33992         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
33993         (ADD2A): Use fabs.  (SUB2A): Use fabs.
33994         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
33995         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
33996         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
33997         (log1): Use fabs.  (my_log2): Use fabs.
33998         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
33999         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34001         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34002         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34003         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
34004         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
34005         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
34006         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
34007         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34008         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34010 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34012         [BZ #18217]
34013         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34014         as threshold for returning 1 - x.
34015         * math/auto-libm-test-in: Add more tests of erfc.
34016         * math/auto-libm-test-out: Regenerated.
34018 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
34020         [BZ #18196]
34021         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34022         threshold for large arguments.
34023         * math/auto-libm-test-in: Add another test of atan.
34024         * math/auto-libm-test-out: Regenerated.
34026         [BZ #16339]
34027         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34028         (__log1p): Force underflow exception for results with small
34029         absolute value.
34030         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34031         (__log1pf): Force underflow exception for results with small
34032         absolute value.
34033         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34034         (__log1p): Force underflow exception for results with small
34035         absolute value.
34036         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34037         (__log1pf): Force underflow exception for results with small
34038         absolute value.
34039         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34040         (__log1pl): Force underflow exception for results with small
34041         absolute value.
34042         * math/auto-libm-test-in: Do not allow missing underflow
34043         exceptions from log1p.
34044         * math/auto-libm-test-out: Regenerated.
34046 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
34047             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34049         [BZ #16704]
34050         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34052 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
34054         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34055         (libmvec): New variable.
34056         * configure.ac: Added option for mathvec build.
34057         * configure: Regenerated.
34058         * mathvec/Depend: New file.
34059         * mathvec/Makefile: New file.
34060         * shlib-versions: Added libmvec.
34061         * math/Makefile: Added rule for libm.so installation.
34063         * bits/math-vector.h: New file.
34064         * bits/libm-simd-decl-stubs.h: New header.
34065         * math/Makefile (headers): Added new header
34066         libm-simd-decl-stubs.h.
34067         * math/math.h (__MATHCALL_VEC): New macro.
34069         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34070         for conditions in testing functions.
34071         * math/Makefile: Added call of libm-have-vector-test.sh.
34072         * math/libm-test.inc (HAVE_VECTOR): New macros.
34074         * math/libm-test.inc: START refactored.
34075         * math/test-double.c (TEST_MATHVEC): Add define.
34076         * math/test-float.c: Likewise.
34077         * math/test-idouble.c: Likewise.
34078         * math/test-ifloat.c: Likewise.
34079         * math/test-ildoubl.c: Likewise.
34080         * math/test-ldouble.c: Likewise.
34081         * sysdeps/generic/math-tests-arch.h
34082         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34083         architecture check.
34085         * math/test-double.c (FUNC_TEST): New macro.
34086         * math/test-float.c: Likewise.
34087         * math/test-idouble.c: Likewise.
34088         * math/test-ifloat.c: Likewise.
34089         * math/test-ildoubl.c: Likewise.
34090         * math/test-ldouble.c: Likewise.
34091         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34093 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34095         * sysdeps/nacl/fdopendir.c: New file.
34097         * dirent/scandir-tail.c: New file.
34098         * dirent/scandir64-tail.c: New file.
34099         * dirent/Makefile (routines): Add them.
34100         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34101         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34102         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34103         [!SCANDIR] (SCANDIR_TAIL): New macro.
34104         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34105         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34106         (SCANDIRAT): Macro removed.
34107         (SCANDIR_TAIL): New macro.
34108         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34109         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34110         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34111         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34112         (READDIR): Macro removed.
34113         (SCANDIR_TAIL): New macro.
34114         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34115         (SCANDIR_TAIL): New macro.
34117         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34118         * dirent/scandir-cancel.c: ... to this new file.
34119         * dirent/Makefile (routines): Add it.
34120         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34121         * sysdeps/unix/sysv/linux/i386/scandir64.c
34122         (SKIP_SCANDIR_CANCEL): Macro removed.
34123         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34125         * dirent/tst-scandir.c: New file.
34126         * dirent/tst-scandir64.c: New file.
34127         * dirent/Makefile (tests): Add them.
34129 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34131         [BZ #18409]
34132         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34134 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34136         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34137         list.
34139 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34141         * benchtests/bench-strcoll.c: New benchmark.
34142         * benchtests/Makefile: Generate locales and run benchmark.
34143         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34144         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34145         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34146         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34147         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34148         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34149         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34150         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34151         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34152         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34153         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34154         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34155         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34156         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34157         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34158         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34159         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34160         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34161         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34162         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34163         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34164         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34165         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34166         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34168 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34170         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34171         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34173 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34175         * posix/uname-values.h: New file.
34176         * posix/uname.c: Include that instead of <config-name.h>.
34177         * sysdeps/nacl/uname-values.h: New file.
34178         * sysdeps/arm/nacl/uname-values.h: New file.
34180 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34182         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34183         splitting into fields.
34185 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34187         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34188         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34189         * locale/localeinfo.h: Add enum collation_encoding_type.
34190         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34191         * programs/ld-collate.c (collate_output): Add encoding type info.
34192         * string/strcoll_l.c (STRDIFF): New function.
34193         * (STRCOLL): Use STRDIFF to skip over equal prefix.
34194         * wcsmbs/wcscoll_l.c: Define STRDIFF.
34196 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
34198         [BZ #18397]
34199         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34200         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
34201         <fpu_control.h> instead of <math/fpu_control.c>.
34202         * sysdeps/mips/mips32/fpu/Makefile: New file.
34204 2015-05-11  Andreas Schwab  <schwab@suse.de>
34206         [BZ #18007]
34207         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34208         nss_endgrent.
34209         (_nss_compat_endgrent): Call nss_endgrent.
34210         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34211         nss_endpwent.
34212         (_nss_compat_endpwent): Call nss_endpwent.
34213         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34214         needent, call nss_setspent only if non-zero.
34215         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34216         (internal_endspent): Don't call nss_endspent.
34217         (_nss_compat_endspent): Call nss_endspent.
34218         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34219         Remove.  All uses removed.
34220         (internal_setent): Remove parameter stayopen, add parameter
34221         stream.  Use it instead of global variable.
34222         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34223         (internal_endent, internal_getent): Add parameter stream.  Use it
34224         instead of global variable.
34225         (CONCAT(_nss_files_end,ENTNAME))
34226         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34227         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
34228         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
34229         uses removed.
34230         (internal_setent, internal_endent): Add parameter stream.  Use it
34231         instead of global variable.
34232         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34233         stream.
34234         (get_next_alias): Add parameter stream.
34235         (_nss_files_getaliasent_r): Pass global stream.
34236         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34237         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34238         (_nss_files_gethostbyname4_r): Pass local stream to
34239         internal_setent, internal_getent and internal_endent.  Remove
34240         locking.
34242 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34244         * tst-strfmon1.c (tests): Update expected currency symbol.
34246 2015-05-08  Roland McGrath  <roland@hack.frob.com>
34248         * sysdeps/nacl/gethostname.c: New file.
34250 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
34252         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34253         and sinh.
34254         * math/auto-libm-test-out: Regenerated.
34255         * sysdeps/i386/fpu/libm-test-ulps: Update.
34256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34258 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
34260         [BZ #18125]
34261         * stdlib/tst-setcontext3.c: New file.
34262         * stdlib/tst-setcontext3.sh: New file.
34263         * stdlib/Makefile (tests): Add tst-setcontext3.
34264         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34265         to verify test program created output file.
34266         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34267         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34268         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34269         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34271 2015-05-06  Roland McGrath  <roland@hack.frob.com>
34273         [BZ #18383]
34274         * elf/tst-tlsalign.c: New file.
34275         * elf/tst-tlsalign-static.c: New file.
34276         * elf/tst-tlsalign-lib.c: New file.
34277         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34278         (tests-static): Add tst-tlsalign-static.
34279         (modules-names): Add tst-tlsalign-lib.
34280         (test-xfail-tst-tlsalign): New variable.
34281         (test-xfail-tst-tlsalign-static): New variable.
34283         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34284         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34286 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
34288         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34289         csqrt, erfc, sin and sincos.
34290         * math/auto-libm-test-out: Regenerated.
34291         * sysdeps/i386/fpu/libm-test-ulps: Update.
34292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34294 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34296         * sysdeps/aarch64/libm-test-ulps: Update.
34298 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
34300         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
34301         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
34302         * math/auto-libm-test-out: Regenerated.
34303         * sysdeps/i386/fpu/libm-test-ulps: Update.
34304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34306 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
34308         [BZ #18265]
34309         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
34310         (wcsncpy): Likewise.
34312 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34314         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34315         Assume __ASSUME_FALLOCATE is always true.
34316         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34317         (__posix_fallocate64_l64): Likewise.
34318         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34319         (posix_fallocate): Likewise.
34320         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
34321         (__posix_fallocate64_l64): Likewise.
34322         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34323         [!__ASSUME_FALLOCATE]: Add comment.
34325 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34327         * sysdeps/unix/sysv/linux/i386/Makefile
34328         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
34329         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
34330         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
34331         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34332         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34333         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
34334         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
34336 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
34338         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34339         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
34340         tgamma.
34341         * math/auto-libm-test-out: Regenerated.
34342         * sysdeps/i386/fpu/libm-test-ulps: Update.
34343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34345 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34347         * math/auto-libm-test-in: Add more tests of tgamma.
34348         * math/auto-libm-test-out: Regenerated.
34349         * sysdeps/i386/fpu/libm-test-ulps: Update.
34350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34352         * math/auto-libm-test-in: Add more tests of tanh.
34353         * math/auto-libm-test-out: Regenerated.
34354         * sysdeps/i386/fpu/libm-test-ulps: Update.
34355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34357         * math/auto-libm-test-in: Add more tests of tan.
34358         * math/auto-libm-test-out: Regenerated.
34359         * sysdeps/i386/fpu/libm-test-ulps: Update.
34360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34362         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
34363         * math/auto-libm-test-out: Regenerated.
34364         * sysdeps/i386/fpu/libm-test-ulps: Update.
34365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34367         * math/auto-libm-test-in: Add another test of pow.
34368         * math/auto-libm-test-out: Regenerated.
34369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34371         * math/auto-libm-test-in: Add more tests of lgamma.
34372         * math/auto-libm-test-out: Regenerated.
34373         * sysdeps/i386/fpu/libm-test-ulps: Update.
34374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34376         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
34377         log1p.
34378         * math/auto-libm-test-out: Regenerated.
34379         * sysdeps/i386/fpu/libm-test-ulps: Update.
34380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34382 2015-05-01  Mark Wielaard  <mjw@redhat.com>
34384         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
34385         Elf64_Chdr structs and ELFCOMPRESS constants.
34387 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34389         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
34390         expm1.
34391         * math/auto-libm-test-out: Regenerated.
34392         * sysdeps/i386/fpu/libm-test-ulps: Update.
34393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34395         * math/auto-libm-test-in: Add more tests of erf and erfc.
34396         * math/auto-libm-test-out: Regenerated.
34397         * sysdeps/i386/fpu/libm-test-ulps: Update.
34398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34400 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34402         * config.h.in (HAVE_AARCH64_BE): Add.
34404 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
34406         * math/auto-libm-test-in: Add more tests of csqrt.
34407         * math/auto-libm-test-out: Regenerated.
34408         * sysdeps/i386/fpu/libm-test-ulps: Update.
34409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34411         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34412         * math/auto-libm-test-out: Regenerated.
34413         * sysdeps/i386/fpu/libm-test-ulps: Update.
34414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34416         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
34418 2015-04-29  Roland McGrath  <roland@hack.frob.com>
34420         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
34421         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
34423         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
34424         (euidaccess, eaccess): Define as weak aliases.
34426         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
34427         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
34428         but __suseconds_t is often 'long int' so some sources assume that
34429         type is being used (e.g. they use %ld to print tv_usec).
34431 2015-04-29  Florian Weimer  <fweimer@redhat.com>
34433         [BZ #18007]
34434         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
34435         (CVE-2014-8121)
34436         * nss/tst-nss-getpwent.c: New file.
34437         * nss/Makefile (tests): Add new test.
34439 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
34441         [BZ #18346]
34442         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
34443         exponents less than 48 as cases where high part of mantissa needs
34444         examining to determine whether argument is integral.
34445         * math/libm-test.inc (round_test_data): Add more tests.
34447 2015-04-28  Mark Wielaard  <mjw@redhat.com>
34449         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
34451 2015-04-27  David S. Miller  <davem@davemloft.net>
34453         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
34454         __tls_get_addr.
34455         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34457 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
34459         [BZ #18333]
34460         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
34462 2015-04-27  Florian Weimer  <fweimer@redhat.com>
34464         [BZ #18333]
34465         * time/tzset.c (parse_tzname): Return error on memory allocation
34466         failure.
34467         * test-skeleton.c (struct temp_name_list): Change type of name
34468         member to non-const.
34469         (add_temp_file): Create a copy of the file name.
34470         (delete_temp_files): Deallocate memory.
34471         (create_temp_file): Add comment.
34473 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34475         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
34476         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
34478 2015-04-24  Roland McGrath  <roland@hack.frob.com>
34480         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
34481         * sysdeps/arm/configure: Regenerated.
34483 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34485         [BZ #17715]
34486         * time/tzfile.c (__tzfile_read): Check for large values of
34487         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
34488         * time/tzset.c (__tzstring_len): New function, based on the old
34489         __tzstring function.
34490         (__tzstring): Call __tzstring_len.
34491         (parse_tzname): New helper function extracted from
34492         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
34493         the input string.
34494         (parse_offset): New helper function extracted from
34495         __tzset_parse_tz.  Replace switch with fallthrough with
34496         initialization before sscanf.
34497         (parse_rule): Likewise.
34498         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
34499         new-style function definition.
34500         * timezone/Makefile (tests): Add tst-tzset.
34501         (tst-tzset.out): Dependencies on time zone files.
34502         (tst-tzset-ENV): Set TZDIR.
34503         (testdata/XT%): Copy crafted time zone files.
34504         * timezone/README: Mention crafted time zone files.
34505         * timezone/testdata/XT1, timezone/testdata/XT2,
34506         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
34507         files.
34508         * timezone/tst-tzset.c: New test.
34510 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34512         * Makeconfig (+gccwarn): Remove -Winline.
34514 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34516         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
34518 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34520         * NEWS: Mention sysconf() cache information support for s390.
34521         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
34523 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
34525         * math/k_casinh.c (__kernel_casinh): Use __copysign.
34526         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
34527         (__nearbyint): Likewise.
34528         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
34529         (copysignl): Likewise.
34531 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
34533         [BZ #18287]
34534         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
34535         based on padding.  (CVE-2015-1781)
34537 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34539         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
34540         libc-vdso.h.
34541         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
34542         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
34543         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
34544         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34545         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34546         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
34547         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
34548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34549         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34550         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
34551         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34552         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34553         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34554         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
34555         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34556         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
34557         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
34558         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
34559         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
34560         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
34561         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
34562         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
34563         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
34565 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34567         * stdlib/setenv.c (__add_to_environ):
34568         Dump core quickly if setenv (..., NULL, ...) is called.
34569         This time, do it the right way, and pacify GCC with a pragma.
34571 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34573         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
34574         IMAP->l_prev cannot be null, and #if out the code for the contrary
34575         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
34576         believe that NS (&_dl_ns[NSID]) could point outside the array.
34578         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
34579         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
34580         before using NSID as an index.
34582 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
34584         [BZ #17825]
34585         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
34586         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
34587         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34589 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34591         Add preliminary port to Google Native Client on ARM.
34592         * abi-tags (.*-.*-nacl.*): New entry.
34593         * sysdeps/arm/nacl: New directory.
34594         * sysdeps/nacl: New directory.
34596 2015-04-16  David S. Miller  <davem@davemloft.net>
34598         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
34599         lowlevellock-futex.h
34601 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
34603         * sysdeps/tile/configure.ac: New file.
34604         * sysdeps/tile/configure: Regenerated.
34606 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34608         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
34609         conditionals for weak_alias and libc_hidden_weak.
34610         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
34611         libc_hidden_weak and weak_alias.
34612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
34613         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
34614         and weak_alias for static one.
34616 2015-04-15  David S. Miller  <davem@davemloft.net>
34618         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34620 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34622         [BZ #18206]
34623         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34624           Use signed comparision instead of substraction to avoid
34625           overflow bug.
34626         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34627           Take the sign of ret.
34628         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34629           Do not expect precise return values. Only the sign matters.
34630         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34631         * wcsmbs/test-wcsncmp.c: New File.
34632         * string/test-strncmp.c: Add wcsncmp support.
34634 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34636         [BZ #6792]
34637         * math/w_log1p.c: New file.
34638         * math/w_log1pf.c: Likewise.
34639         * math/w_log1pl.c: Likewise.
34640         * math/Makefile (libm-calls): Add w_log1p.
34641         * math/s_log1pl.c (log1pl): Remove weak_alias.
34642         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34643         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34644         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34645         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34646         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34647         [NO_LONG_DOUBLE] (log1pl): Likewise.
34648         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34649         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34650         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34651         (log1p): Remove long_double_symbol.
34652         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34653         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34654         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34655         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34656         remove weak_alias for corresponding log1p function.
34657         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34658         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34659         * sysdeps/ia64/fpu/w_log1p.c: New file.
34660         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34661         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34662         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34664 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34666         [BZ #18247]
34667         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34668         decimal exponent by 1.
34669         * stdlib/tst-strtod-round-data: Add more tests.
34670         * stdlib/tst-strtod-round.c (tests): Regenerated.
34672 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
34674         * math/auto-libm-test-in: Add more tests of clog and clog10.
34675         * math/auto-libm-test-out: Regenerated.
34676         * sysdeps/i386/fpu/libm-test-ulps: Update.
34677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34679 2015-04-09  Roland McGrath  <roland@hack.frob.com>
34681         * Makeconfig (module-cppflags): Exclude all .v.i files.
34682         (skip-module-cppflags): Variable removed.
34684         * configure.ac (libc_config_ok): Initialize before reading
34685         preconfigure scripts, not after.
34686         * configure: Regenerated.
34688         * test-skeleton.c (TIMEOUT): Move #define to top level.
34689         (main): Grok environment variable TEST_DIRECT.  If set, print
34690         test expectation details into that file and then behave as if
34691         given --direct.
34693 2015-04-09  Florian Weimer  <fweimer@redhat.com>
34695         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
34696         warning on 32-bit.
34698 2015-04-08  David S. Miller  <davem@davemloft.net>
34700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34702 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34704         * math/auto-libm-test-in: Add more tests of atanh.
34705         * math/auto-libm-test-out: Regenerated.
34706         * sysdeps/i386/fpu/libm-test-ulps: Update.
34707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34709         * math/auto-libm-test-in: Add more tests of atan.
34710         * math/auto-libm-test-out: Regenerated.
34711         * sysdeps/i386/fpu/libm-test-ulps: Update.
34712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34714 2015-04-08  Florian Weimer  <fweimer@redhat.com>
34716         * elf/pldd.c (main): Rewrite to use struct
34717         scratch_buffer instead of extend_alloca.
34718         * elf/pldd-xx.c (find_maps): Likewise.
34719         * grp/initgroups.c: Include <scratch_buffer.h> instead of
34720         <alloca.h>.
34721         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
34722         scratch_buffer instead of extend_alloca.
34723         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
34724         grp/compat-initgroups.c.
34725         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
34726         Rewrite to use struct scratch_buffer instead of extend_alloca.
34727         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
34728         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34730 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34732         * math/auto-libm-test-in: Add more tests of cbrt.
34733         * math/auto-libm-test-out: Regenerated.
34734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34736         * math/auto-libm-test-in: Add more tests of cabs.
34737         * math/auto-libm-test-out: Regenerated.
34738         * sysdeps/i386/fpu/libm-test-ulps: Update.
34739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34741         [BZ #18210]
34742         [BZ #18211]
34743         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
34744         (__ieee754_atan2): Set FE_TONEAREST mode for internal
34745         computations.
34746         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34747         clog10.
34748         * math/auto-libm-test-out: Regenerated.
34749         * sysdeps/i386/fpu/libm-test-ulps: Update.
34750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34752         [BZ #18197]
34753         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
34754         (atan): Set FE_TONEAREST mode for internal computations.
34755         * math/auto-libm-test-in: Add more tests of atan.
34756         * math/auto-libm-test-out: Regenerated.
34758 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
34760         [BZ #17930]
34761         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
34763 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34765         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
34767 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34769         * include/scratch_buffer.h: New file.
34770         * malloc/scratch_buffer_grow.c: Likewise.
34771         * malloc/scratch_buffer_grow_preserve.c: Likewise.
34772         * malloc/scratch_buffer_set_array_size.c: Likewise.
34773         * malloc/tst-scratch_buffer.c: Likewise.
34774         * malloc/Makefile (routines): Add scratch_buffer_grow.
34775         (tests): Add test case.
34776         * malloc/Versions (GLIBC_PRIVATE): Export
34777         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
34778         __libc_scratch_buffer_set_array_size.
34780 2015-04-06  Richard Henderson  <rth@redhat.com>
34782         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
34783         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34785         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
34786         unsigned int before printing.
34788 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34790         [BZ #17596]
34791         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
34792         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34794 2015-04-02  Florian Weimer  <fweimer@redhat.com>
34796         * include/libc-internal.h (libc_max_align_t): Define.
34798 2015-04-02  Andreas Schwab  <schwab@suse.de>
34800         [BZ #16850]
34801         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
34803 2015-04-02  Mel Gorman  <mgorman@suse.de>
34805         [BZ #17195]
34806         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
34807         as well as the main arena.
34809 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34811         [BZ #18185]
34812         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34813         sharing L2 cache to 2 for Silvermont/Knights Landing.
34815 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34817         [BZ #17711]
34818         * config.make.in (have-protected-data): New.
34819         * configure.ac: Check linker support for protected data symbol.
34820         * configure: Regenerated.
34821         * elf/Makefile (modules-names): Add tst-protected1moda and
34822         tst-protected1modb if $(have-protected-data) is yes.
34823         (tests): Add tst-protected1a and tst-protected1b if
34824         $(have-protected-data) is yes.
34825         ($(objpfx)tst-protected1a): New.
34826         ($(objpfx)tst-protected1b): Likewise.
34827         (tst-protected1modb.so-no-z-defs): Likewise.
34828         * elf/tst-protected1a.c: New file.
34829         * elf/tst-protected1b.c: Likewise.
34830         * elf/tst-protected1mod.h: Likewise.
34831         * elf/tst-protected1moda.c: Likewise.
34832         * elf/tst-protected1modb.c: Likewise.
34834 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34836         [BZ #17711]
34837         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
34838         indicates it is called from do_lookup_x on relocation against
34839         protected data, skip the data definion in the executable from
34840         copy reloc.
34841         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
34842         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
34843         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
34844         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
34845         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
34846         otherwise to 0.
34847         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34848         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
34849         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
34850         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34851         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
34852         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
34854 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
34856         * sysdeps/nptl/pthread.h: Remove duplicate definition of
34857         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
34859 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
34861         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
34862         THREAD_SETMEM_NC.
34863         * sysdeps/x86_64/nptl/tls.h: Ditto.
34865 2015-03-27  Roland McGrath  <roland@hack.frob.com>
34867         * dlfcn/tststatic.c (main): Converted to ...
34868         (do_test): ... this.
34869         (TEST_FUNCTION): New macro.
34870         Include test-skeleton.c.
34872 2015-03-26  Alan Modra  <amodra@gmail.com>
34874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
34875         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
34876         zero for undefined weak.
34877         (elf_machine_plt_conflict): Similarly.
34879 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34881         * math/auto-libm-test-in: Add more tests of acosh, asinh and
34882         atanh.
34883         * math/auto-libm-test-out: Regenerated.
34884         * sysdeps/i386/fpu/libm-test-ulps: Update.
34885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34887         * math/auto-libm-test-in: Add another test of asin.
34888         * math/auto-libm-test-out: Regenerated.
34889         * sysdeps/i386/fpu/libm-test-ulps: Update.
34890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
34893         Remove macro.
34894         (LLL_EBX_REG): Likewise.
34895         (LLL_ENTER_KERNEL): Likewise.
34897         * math/auto-libm-test-in: Add more tests of asin.
34898         * math/auto-libm-test-out: Regenerated.
34899         * sysdeps/i386/fpu/libm-test-ulps: Update.
34900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34902         [BZ #18138]
34903         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
34904         libc_do_syscall_args): New structure.
34905         (INTERNAL_SYSCALL_MAIN_0): New macro.
34906         (INTERNAL_SYSCALL_MAIN_1): Likewise.
34907         (INTERNAL_SYSCALL_MAIN_2): Likewise.
34908         (INTERNAL_SYSCALL_MAIN_3): Likewise.
34909         (INTERNAL_SYSCALL_MAIN_4): Likewise.
34910         (INTERNAL_SYSCALL_MAIN_5): Likewise.
34911         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
34912         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
34913         Replace conditional definitions by conditional definitions of ....
34914         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
34915         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
34916         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
34917         (libpthread-sysdep_routines): Add libc-do-syscall.
34918         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
34919         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
34920         to __NR_futex not 240.
34922 2015-03-25  Alan Modra  <amodra@gmail.com>
34924         * NEWS: Advertise TLS optimization.
34925         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
34926         (DT_PPC_NUM): Increment.
34927         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
34928         (CHECK_STATIC_TLS): Use here.
34929         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
34930         TLS descriptors.
34931         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34932         * sysdeps/powerpc/dl-tls.c: New file.
34933         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
34934         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
34935         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
34936         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
34937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
34938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
34939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
34941 2015-03-25  Alan Modra  <amodra@gmail.com>
34943         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
34944         for overlapping .opd entries" to "support...".
34945         * sysdeps/powerpc/powerpc64/configure: Regenerate
34947 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34949         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
34955         * math/auto-libm-test-out: Regenerated.
34956         * sysdeps/i386/fpu/libm-test-ulps: Update.
34957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34959 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
34961         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34962         * math/auto-libm-test-out: Regenerated.
34963         * sysdeps/i386/fpu/libm-test-ulps: Update.
34964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34966         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34969         * math/auto-libm-test-in: Add more tests of log2.
34970         * math/auto-libm-test-out: Regenerated.
34971         * sysdeps/i386/fpu/libm-test-ulps: Update.
34972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34974 2015-03-23  Roland McGrath  <roland@hack.frob.com>
34976         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
34977         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
34978         _IO_IS_APPENDING bit in READ_WRITE instead.
34980 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34982         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
34983         (__determine_cpumask_size): Replace extend_alloca with a
34984         variable-length array.  Do not treat res == 0 as an error.
34986 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34988         [BZ #18100]
34989         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
34990         and integer overflow.
34991         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
34992         (main): Add integer overflow tests.
34993         * manual/pattern.texi (Calling Wordexp): Document additional use
34994         for WRDE_SYNTAX.
34996 2015-03-23  Alan Modra  <amodra@gmail.com>
34998         * config.h.in: Remove HAVE_ASM_PPC_REL16.
34999         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35000         and false branch of conditional.
35001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35002         Likewise.
35004 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
35006         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35007         libc-modules.h
35008         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35009         unused declaration of _hurd_intr_rpc_msg_in_trap.
35010         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35011         defined instead of whether it is non-zero.
35012         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35013         input constraint instead of both input and output constraint.  Use ecx
35014         clobber instead of %ecx.
35015         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35016         mutex_unlock): Use a statement expression instead of an expression list.
35017         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35018         type to vm_size_t instead of vm_address_t.
35019         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35020         defined instead of whether it is non-zero.
35021         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35022         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35023         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35024         comparisons with mapaddr.
35025         * nscd/nscd-client.h: Include <time.h>.
35026         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35027         9th parameter to __vm_region instead of int.
35028         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35029         * scripts/check-local-headers.sh (exclude): Add device/,
35030         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35031         cthreads.h.
35033 2015-03-19  Roland McGrath  <roland@hack.frob.com>
35035         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35036         to account for alignment padding.
35037         * sysdeps/arm/memmove.S: Likewise.
35039 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
35041         * sysdeps/unix/sysv/linux/generic/README: New file.
35043 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
35045         [BZ #18138]
35046         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35047         (futex_abstimed_wait)
35048         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35049         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35050         of lll_futex_timed_wait.
35052 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
35054         [BZ #17542]
35055         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35057 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
35059         [BZ #17090]
35060         [BZ #17620]
35061         [BZ #17621]
35062         [BZ #17628]
35063         * NEWS: Update.
35064         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35065         entries with Static TLS too.  Skip entries past the end of the
35066         allocated DTV, from Alan Modra.
35067         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35068         Static TLS DTV entry set up from...
35069         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35070         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35071         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35072         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35073         for Static TLS.
35074         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35075         that the slot we find is associated with the given map before
35076         using its generation count.
35077         * nptl_db/db_info.c: Include ldsodefs.h.
35078         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35079         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35080         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35081         (link_map::l_tls_offset): New struct field.
35082         (dtv_t::counter): Likewise.
35083         (rtld_global): New struct.
35084         (_rtld_global): New rtld variable.
35085         (dl_tls_dtv_slotinfo_list): New rtld global field.
35086         (dtv_slotinfo_list): New struct.
35087         (dtv_slotinfo): Likewise.
35088         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35089         (td_lookup): Rename to...
35090         (td_mod_lookup): ... this.  Use new mod parameter instead of
35091         LIBPTHREAD_SO.
35092         * nptl_db/td_thr_tlsbase.c: Include link.h.
35093         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35094         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35095         addresses even if the DTV is out of date or missing them.
35096         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35097         index zero-length arrays.
35098         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35099         (td_lookup): Make it a macro implemented in terms of...
35100         (td_mod_lookup): ... this declaration.
35101         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35102         (DB_MAIN_VARIABLE): Likewise.
35104 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35106         [BZ #18134]
35107         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35109 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35111         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35113 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35115         [BZ #18128]
35116         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35117         (atomic_add, atomic_increment_and_test)
35118         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35120 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35122         * stdlib/setenv.c (__add_to_environ):
35123         Dump core quickly if setenv (..., NULL, ...) is called.
35125 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35127         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35128         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35129         all the necessary asm magic in one place.
35130         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35131         using those.
35133 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35135         [BZ #14906]
35136         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35137         traced file mtime. Use consistent log message.
35138         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35139         (register_traced_file): Call install_watches. Always set mtime.
35140         (invalidate_cache): Iterate over all trace files. Call install_watches.
35141         (inotify_check_files): Don't inline. Handle watching parent
35142         directories and configuration file movement in and out.
35143         (handle_inotify_events): New function.
35144         (main_loop_poll): Call handle_inotify_events.
35145         (main_loop_epoll): Likewise.
35146         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35147         (struct traced_file): Use array of inotify fds. Add parent directory,
35148         and basename.
35149         (struct database_dyn): Remove unused file_mtime.
35150         (init_traced_file): New inline function.
35151         (define_traced_file): New macro.
35152         * nss/nss_db/db-init.c: Use define_traced_file.
35153         (_nss_db_init): Use init_traced_file.
35154         * nss/nss_files/files-init.c: Use define_traced_file.
35155         (_nss_files_init): Use init_traced_file.
35157 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35159         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35160         [_LIBC]: Do not include <stdlib.h>.
35161         [!_LIBC] (abort): Remove declaration.
35162         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35163         _FP_STATIC_ASSERT instead of conditionally calling abort.
35164         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35165         (_FP_EXTEND_CNAN): Likewise.
35166         (FP_TRUNC): Likewise.
35167         (__FP_CLZ): Likewise.
35168         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35170 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35172         * manual/string.texi (XPG basename): Fix prototype.
35174 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35176         [BZ #18080]
35177         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35178         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35179         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35180         (__setcontext): Likewise.
35181         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35182         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35183         Call rt_sigprocmask syscall one time to set new signal mask
35184         and retrieve the current signal mask instead of two calls.
35185         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35186         (__swapcontext): Likewise.
35187         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35188         * stdlib/tst-setcontext2.c: New file.
35190 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35192         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35194 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
35196         [BZ #18093]
35197         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35198         the wrong size.
35200 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35202         [BZ #18043]
35203         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35205 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35207         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35208         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35209         Remove define.
35210         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35211         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35212         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35213         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35214         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35215         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35216         define.
35217         * nptl_db/td_symbol_list.c (td_lookup): Remove
35218         HAVE_ASM_GLOBAL_DOT_NAME code.
35219         * sysdeps/powerpc/powerpc64/configure.ac: Remove
35220         HAVE_ASM_GLOBAL_DOT_NAME check.
35221         * sysdeps/powerpc/powerpc64/configure: Regenerate.
35222         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35223         (DOT_LABEL): Remove define.
35224         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35225         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35226         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35227         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35228         (__TLS_GET_ADDR): Likewise.
35229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35230         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35232 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
35234         [BZ #18111]
35235         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35236         (_FPU_SETCW): Initialize cw from fpsr before storing.
35237         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35238         (fesetexceptflag): Rewrite using fpu_control.h.
35239         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35241 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
35243         [BZ #18110]
35244         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35245         asms.
35246         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35248 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
35250         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35251         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35252         abort.
35253         (_FP_FMA): Likewise.
35254         (_FP_DIV): Likewise.
35256 2015-03-10  Roland McGrath  <roland@hack.frob.com>
35258         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35259         with 0 in that case.
35260         * Makefile (summarize-tests): New canned sequence, factored out of
35261         commands for targets tests and xtests.  Display summary lines that
35262         don't start with PASS: or XFAIL: rather than ones that do start with
35263         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
35264         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35265         do start with ERROR: or FAIL:.
35266         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35267         (except for [$(build-shared) = yes]).
35268         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35269         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35270         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35271         * nptl/Makefile: Revert 2015-03-04 changes.
35272         [$(CXX) empty] (tests-unsupported): New variable.
35273         * debug/Makefile: Likewise.
35275         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35276         gnulib file.  Replace __attribute with __attribute__ throughout.
35278 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
35280         * sysdeps/hppa/fpu/libm-test-ulps: Update.
35282 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35284         [BZ #18104]
35285         * math/auto-libm-test-in: Add another test of pow.
35286         * math/auto-libm-test-out: Regenerated.
35288 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35290         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35291         $(config-cflags-nofma).
35293 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35295         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
35296         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
35297         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
35298         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
35299         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
35300         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
35301         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
35302         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
35303         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
35304         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
35305         Add comment on closing #endif.
35307 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35309         * posix/wordexp.c (CHAR_IN_SET): New macro.
35310         (parse_param): Use it.
35312 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35314         * sysdeps/powerpc/fpu/libm-test-ulps: update.
35316 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35318         [BZ #18043]
35319         * posix/wordexp.c (parse_param): Fix buffer overflow.
35320         * posix/wordexp-test.c (test_case): Add test case.
35322 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35324         [BZ #18042]
35325         * posix/wordexp.c (parse_backtick): Fix off-by-one.
35326         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
35328 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35330         [BZ #18043]
35331         * posix/wordexp-test.c (test_case): Add test for BZ #18043
35332         (do_bz18043): Delete.
35333         (at_page_end): New.
35334         (testit): Refactor to have words at the edge of unreadable page.
35336 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35338         [BZ #16734]
35339         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
35340         Cleanup read-only streams as well.
35341         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
35343 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35345         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
35346         <bits/libc-lockP.h>
35348 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
35350         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
35351         on [__KERNEL__].
35352         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
35353         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
35354         * soft-fp/op-common.h (_FP_DECL): Likewise.
35356 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
35358         * elf/ifuncdep2.c (global): Replace
35359         __attribute__((visibility("protected"))) with
35360         asm (".protected global").
35361         * elf/ifuncmod1.c (global): Likewise.
35362         * elf/ifuncmod5.c (global): Likewise.
35364 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
35366         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
35367         <asm/sfp-machine.h> instead of <sfp-machine.h>.
35369 2015-03-06  Roland McGrath  <roland@hack.frob.com>
35371         * manual/install.texi (Configuring and compiling):
35372         Document test-wrapper-env-only.
35373         * INSTALL: Regenerated.
35375 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35377         [BZ #18043]
35378         * posix/wordexp.c (parse_param): Fix buffer overflow.
35379         * posix/wordexp-test.c (do_bz18043): Add test case.
35381 2015-03-06  Vincent Bernat  <vincent@bernat.im>
35383         * time/tst-strptime2.c (do_test): Ensure failing tests are
35384         reported correctly.
35385         * time/tst-strptime3.c (do_test): Likewise.
35387 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
35389         Fix aio_error thread-safety.
35390         * sysdeps/pthread/aio_error.c: New file
35391         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
35392         synchronization.
35394 2015-03-06  Florian Weimer  <fweimer@redhat.com>
35396         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
35397         (group_number, vfprintf): Use it.
35398         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
35399         (JUMP, REF): Use it.
35400         (WORK_BUFFER_SIZE): New enum constant.
35401         (process_arg, vfprintf): Use it.
35403 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
35405         * manual/errno.texi (Error Messages): Complete example function
35406         by adding missing #define.
35407         (program_invocation_name): Add statement indicating GNU
35408         extension and reference which header file declares the variable.
35409         (program_invocation_short_name): Likewise.
35411 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
35413         * manual/errno.texi (Error Messages): Delete strerror ISO C89
35414         compatibility note.
35416 2015-03-05  Roland McGrath  <roland@hack.frob.com>
35418         * Makeconfig (test-wrapper-env-only): New variable.
35419         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
35420         then use that with $(test-wrapper-env-only) rather than using
35421         $(test-wrapper-env) $(run-program-env) $($*-ENV).
35423 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35425         [BZ #18082]
35426         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
35427         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
35428         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
35429         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
35430         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
35431         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
35432         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
35433         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
35434         Likewise.
35435         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
35436         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
35437         Likewise.
35438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
35439         Likewise.
35440         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
35441         Likewise.
35442         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
35443         Likewise.
35444         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
35445         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
35446         Likewise.
35447         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
35448         Likewise.
35449         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
35450         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
35452 2015-03-04  Roland McGrath  <roland@hack.frob.com>
35454         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
35455         (ETH_ALEN): New macro.
35456         (struct ether_addr): Use it for length of ether_addr_octet.
35458         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
35459         (setdb): Don't call __nss_configure_lookup for "rpc".
35460         (do_test): Don't call test_rpc.
35461         (output_rpcent, test_rpc): Functions moved ...
35462         * sunrpc/test-rpcent.c: ... to this new file.
35463         * sunrpc/Makefile (tests): Add it.
35465         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
35466         __xpg_sigpause.
35467         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
35468         * nptl/tst-signal6.c: Likewise.
35469         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
35470         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
35472         * configure.ac (libc_cv_cxx_link_ok): New check.
35473         Reset CXX to empty if it fails to link.
35474         * configure: Regenerated.
35475         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
35476         bug-atexit3-lib only if $(CXX) is nonempty.
35477         * nptl/Makefile (tests): Likewise for tst-cancel24.
35478         (tests, tests-static): Likewise for tst-cancel24-static.
35479         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
35480         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
35481         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
35482         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
35484 2015-03-04  Andreas Schwab  <schwab@suse.de>
35486         [BZ #17631]
35487         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
35488         for non-GCC compilers.
35489         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35490         Likewise.
35492 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35494         [BZ #17776]
35495         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
35496         integer before bitwise and assembly operations.
35497         (feclearexcept): Likewise.
35498         * math/test-fenvinline.c: New file.
35499         * math/Makefile: Add test-fenvinline test.
35501 2015-03-03  Alan Modra  <amodra@gmail.com>
35503         [BZ #16512]
35504         * scripts/localplt.awk: Strip off symbol version.
35505         * NEWS: Mention bug fix.
35507 2015-03-02  Roland McGrath  <roland@hack.frob.com>
35509         * sysdeps/pthread/timer_routines.c
35510         (timer_free_list, thread_free_list, thread_active_list): Make static.
35512 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
35514         [BZ #17779]
35515         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35516         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35517         Undefine.
35518         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35519         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35520         Likewise.
35521         * sysdeps/unix/sysv/linux/sh/kernel-features.h
35522         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35523         Likewise.
35525 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35527         [BZ #18036]
35528         * posix/fnmatch_loop.c (END): Detect invalid pattern.
35529         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
35531 2015-03-02  Andreas Schwab  <schwab@suse.de>
35533         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
35534         variable name.
35536 2015-03-02  Florian Weimer  <fweimer@redhat.com>
35538         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
35539         Return error status.
35541 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
35543         [BZ #15969]
35544         * locale/findlocale.c (_nl_find_locale): Introduce const
35545         version of loc_name and drop unsafe type casts.
35547 2015-02-27  Roland McGrath  <roland@hack.frob.com>
35549         * dlfcn/tststatic2.c (main): Converted to ...
35550         (do_test): ... this.
35551         (TEST_FUNCTION): New macro.
35552         Include test-skeleton.c.
35554 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
35556         [BZ #17711]
35557         * elf/Makefile (tests): Add vismain only if PIE is enabled.
35558         (tests-pie): Add vismain.
35559         (CFLAGS-vismain.c): New.
35560         * elf/vismain.c: Add comments for PIE requirement.
35562 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35564         [BZ #18046]
35565         [BZ #18047]
35566         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
35567         0x1p-56L as threshold for just returning the argument.
35568         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
35569         0x1p-32L as threshold for just returning the argument.
35570         * math/auto-libm-test-in: Add more tests of atanh.
35571         * math/auto-libm-test-out: Regenerated.
35572         * sysdeps/i386/fpu/libm-test-ulps: Update.
35573         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
35575 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35577         * string/bcopy.c (bcopy): Call memmove for performance.
35579 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35581         * string/bzero.c (__bzero): Call memset for performance.
35583 2015-02-27  John David Anglin  <dave.anglin@bell.net>
35585         [BZ #18068]
35586         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
35587         to 00100000.
35589 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35591         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
35593 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35595         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
35596         (__kernel_standard): Use CSTR macro when setting exc.name.
35597         * sysdeps/ieee754/Makefile [$(subdir) = math]
35598         (CFLAGS-k_standard.c): Remove variable.
35600         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
35601         setting p and q from "else if" to "else".
35602         (qzero): Likewise.
35603         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
35604         (qone): Likewise.
35605         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
35606         (qzerof): Likewise.
35607         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
35608         (qonef): Likewise.
35609         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
35610         (qzero): Likewise.
35611         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
35612         (qone): Likewise.
35614         [BZ #18038]
35615         [BZ #18039]
35616         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
35617         return pi/2 for arguments below 0x1p-113L.
35618         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
35619         return pi/2 for arguments below 0x1p-106L.
35620         * math/auto-libm-test-in: Add more tests of acos.
35621         * math/auto-libm-test-out: Regenerated.
35623         [BZ #16351]
35624         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35625         (MO): New macro.
35626         (__ieee754_asin): Force underflow exception for results with small
35627         absolute value.
35628         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35629         (MO): New macro.
35630         (__ieee754_asinf): Force underflow exception for results with
35631         small absolute value.
35632         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35633         (__ieee754_asin): Force underflow exception for results with small
35634         absolute value.
35635         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35636         (__ieee754_asinf): Force underflow exception for results with
35637         small absolute value.
35638         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35639         (__ieee754_asinl): Force underflow exception for results with
35640         small absolute value.
35641         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35642         (__ieee754_asinl): Force underflow exception for results with
35643         small absolute value.
35644         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35645         (__ieee754_asinl): Force underflow exception for results with
35646         small absolute value.
35647         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35648         Include <math.h>.
35649         * math/auto-libm-test-in: Do not mark underflow exceptions as
35650         possibly missing for bug 16351.
35651         * math/auto-libm-test-out: Regenerated.
35653         [BZ #18030]
35654         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35655         of power of 2 down when low part has opposite sign.
35656         * math/libm-test.inc (logb_test_data): Add more tests.
35658 2015-02-26  Andreas Schwab  <schwab@suse.de>
35660         [BZ #18032]
35661         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35662         over collating symbol inside a bracket expression.  Minor cleanup.
35663         * posix/tst-fnmatch3.c (do_test): Add test case.
35665 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35667         [BZ #18029]
35668         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35669         Adjust exponent of power of 2 down when low part has opposite
35670         sign.
35671         * math/libm-test.inc (ilogb_test_data): Add more tests.
35673 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
35675         [BZ #15969]
35676         * locale/findlocale.c (_nl_find_locale): Fix constness error in
35677         the previous change.
35679         [BZ #15969]
35680         * locale/findlocale.c (_nl_find_locale): Retry archive search
35681         after alias expansion.
35683 2015-02-25  Roland McGrath  <roland@hack.frob.com>
35685         * iconv/tst-iconv3.c (main): Converted to ...
35686         (do_test): ... this.
35687         (TEST_FUNCTION): New macro.
35688         Include test-skeleton.c.
35690         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
35691         (convert): Make function static.
35692         (test_unalign): Likewise.  Add const to argument pointee types.
35693         (main): Replace with static function do_test.
35694         Print "Succeeded." only if RET is zero.
35695         (TEST_FUNCTION): New macro.
35696         Include test-skeleton.c.
35698         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
35699         returns a null pointer.
35701 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35703         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
35704         to __memcpy_ppc only for static builds.
35706 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
35708         [BZ #18020]
35709         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
35710         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
35711         * math/auto-libm-test-in: Add more tests of asinh.
35712         * math/auto-libm-test-out: Regenerated.
35713         * sysdeps/i386/fpu/libm-test-ulps: Update.
35714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35716 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
35718         [BZ #15850]
35719         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
35720         and ip6_mtuinfo definitions here.
35721         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
35722         in this define too.  Update comment.
35724 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
35726         * elf/sprof.c (load_shobj): Tweak error message to match others.
35728 2015-02-24  Kevin Easton  <kevin@guarana.org>
35730         [BZ #16145] (partial fix)
35731         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
35732         to reduce lock contention.
35734 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
35736         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
35737         (struct timex): Update time comment.
35738         (ADJ_SETOFFSET): Define.
35740 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35742         [BZ #18019]
35743         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35744         2**56 not 2**28 as threshold for log (2x) formula.
35745         * math/auto-libm-test-in: Add more tests of acosh.
35746         * math/auto-libm-test-out: Regenerated.
35747         * sysdeps/i386/fpu/libm-test-ulps: Update.
35748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35750 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35752         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
35753         parenthesis around the buf assignment.
35754         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
35756 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35758         [BZ #16783]
35759         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
35760         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
35761         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
35762         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35763         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35764         * math/libm-test.inc (scalb_test_data): Add more tests.
35766 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35768         [BZ #17916]
35769         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
35770         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
35772 2015-02-24  Eric Rannaud  <e@nanocritical.com>
35774         [BZ #17523]
35775         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
35776         * io/bits/fcntl2.h (open): Use it.
35777         (openat): Likewise.
35778         * io/open.c (__libc_open): Likewise.
35779         * io/open64.c (__libc_open64): Likewise.
35780         * io/open64_2.c (__open64_2): Likewise.
35781         * io/open_2.c (__open_2): Likewise.
35782         * io/openat.c (__openat): Likewise.
35783         * io/openat64.c (__openat64): Likewise.
35784         * io/openat64_2.c (__openat64_2): Likewise.
35785         * io/openat_2.c (__openat_2): Likewise.
35786         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
35787         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
35788         * sysdeps/posix/open64.c (__libc_open64): Likewise.
35789         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35790         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35791         (__open_nocancel): Likewise.
35792         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35793         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35794         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
35796 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35798         [BZ #14841]
35799         * resolv/gethnamaddr.c (getanswer): Skip logging if
35800         RES_USE_DNSSEC is set.
35801         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35803 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35805         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
35807 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
35809         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
35810         201304L, for Unicode 7.
35812 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
35814         [BZ #17836]
35815         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
35816         shared library.  Add gmon-start.os otherwise.
35817         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
35818         $(objpfx)gmon-start.os if builing shared library.
35819         ($(objpfx)g$(static-start-installed-name)): Likewise.
35821 2015-02-23  Andreas Schwab  <schwab@suse.de>
35823         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
35825 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35827         [BZ #17269]
35828         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
35829         (enlarge_userbuf): Likewise.
35831 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
35833         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
35834         * math/atest-exp.c (TIMEOUT): Adjust to 200.
35835         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
35836         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
35838 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
35840         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
35841         expression inside statement expression.
35843 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35845         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
35846         <sysdeps/nptl/lowlevellock.h> and remove macros and
35847         functions that are now defined there.
35848         (SYS_futex): Remove.
35849         (lll_compare_and_swap): Remove.
35850         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
35852 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
35854         [BZ #17999]
35855         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
35856         instead of scandirat.
35857         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
35858         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
35859         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
35860         __scandirat.
35861         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
35862         (__scandirat): Declare.  Use libc_hidden_proto.
35863         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
35864         Remove variable.
35865         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35867 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35869         [BZ #15319]
35870         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
35871         (MO): New macro.
35872         (__ieee754_atan2): For results with small absolute value, force
35873         underflow exception and remove excess range and precision from
35874         return value.
35875         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
35876         (MO): New macro.
35877         (__ieee754_atan2f): For results with small absolute value, force
35878         underflow exception and remove excess range and precision from
35879         return value.
35880         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
35881         (MO): New macro.
35882         (__atan): For results with small absolute value, force underflow
35883         exception and remove excess range and precision from return value.
35884         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
35885         (MO): New macro.
35886         (__atanf): For results with small absolute value, force underflow
35887         exception and remove excess range and precision from return value.
35888         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
35889         <math.h>.
35890         (__ieee754_atan2): Force underflow exception for results with
35891         small absolute value.
35892         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
35893         <math_private.h>.
35894         (atan): Force underflow exception for results with small absolute
35895         value.
35896         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
35897         (__atanf): Force underflow exception for results with small
35898         absolute value.
35899         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
35900         <math.h>.
35901         (__atanl): Force underflow exception for results with small
35902         absolute value.
35903         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
35904         (__atanl): Force underflow exception for results with small
35905         absolute value.
35906         * sysdeps/x86/fpu/bits/mathinline.h
35907         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
35908         (__ieee754_atan2): Only define inline for long double.
35909         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
35910         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
35911         * math/auto-libm-test-in: Do not mark underflow exceptions as
35912         possibly missing for bug 15319.  Add more tests of atan2.
35913         * math/auto-libm-test-out: Regenerated.
35914         * math/libm-test.inc (casin_test_data): Do not mark underflow
35915         exceptions as possibly missing for bug 15319.
35916         (casinh_test_data): Likewise.
35917         * sysdeps/i386/fpu/libm-test-ulps: Update.
35919 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
35921         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
35922         * sysdeps/mips/bits/endian.h: Fix comments.
35924 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35926         [BZ #17996]
35927         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
35928         (hdestroy_r): Likewise.
35929         (hsearch_r): Likewise.
35930         (__hcreate_r): Declare and use libc_hidden_proto.
35931         (__hdestroy_r): Likewise.
35932         (__hsearch_r): Likewise.
35933         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
35934         (hcreate): Call __hcreate_r instead of hcreate_r.
35935         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
35936         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
35937         as weak alias of __hcreate_r.
35938         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
35939         __hdestroy_r.
35940         (hsearch_r): Rename to __hsearch_r and define as weak alias of
35941         __hsearch_r.
35942         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
35943         Remove variable.
35944         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35945         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35946         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35947         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35949 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35951         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
35952         arena_lock into a single arena_get.
35954 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
35956         * dl-reloc.c: Inlucde libc-internal.h.
35957         (_dl_try_allocate_static_tls): Call ALIGN_UP.
35958         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
35959         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
35960         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
35961         (grow_heap): Likewise.
35962         * malloc/malloc.c: Include libc-internal.h.
35963         (do_check_malloc): Call powerof2.
35964         (sysmalloc): Use pagesize. Call ALIGN_UP.
35965         (systrim): Use pagesize.
35966         (mremap_chunk): Use pagesize. Call ALIGN_UP.
35967         (__libc_valloc): Use pagesize.
35968         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
35970 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35972         [BZ #17991]
35973         * include/sys/resource.h (__getrlimit64): Declare.  Use
35974         libc_hidden_proto.
35975         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
35976         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
35977         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
35978         getrlimit64.
35979         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
35980         __getrlimit64.
35981         [!getrlimit64] (getrlimit64): Define as weak alias of
35982         __getrlimit64.  Use libc_hidden_weak.
35983         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
35984         using __getrlimit64 not __new_getrlimit64.
35985         (__GI_getrlimit64): Likewise.
35986         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
35987         Likewise.
35988         (__GI_getrlimit64): Likewise.
35989         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
35990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
35991         (getrlimit): Add __getrlimit64 alias.
35992         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
35993         Likewise.
35994         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
35995         Remove variable.
35996         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35997         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35999 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
36001         * libio/fileops.c: Add missing sys/mman.h
36002         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36004 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36006         * manual/math.texi (Errors in Math Functions): Clarify goals
36007         regarding inexact and underflow exceptions.
36009 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36011         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36012         * sysdeps/mips/memset.S: Ditto.
36014 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36016         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36018 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36020         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36021         (__v1longjmp): Remove versioned symbol.
36022         (__v1siglongjmp): Remove alias and versioned symbol.
36023         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36024         (__v2siglongjmp): Likewise.
36026 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36028         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36030 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
36032         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36034 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36036         [BZ #17987]
36037         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36038         zero result does not depend on the sign resulting from
36039         subtraction.
36040         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36041         Likewise.
36042         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36043         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36044         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36045         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36046         * math/libm-test.inc (remquo_test_data): Add more tests.
36048 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
36050         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36051         Problem reported by J William Piggott.
36053 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36055         [BZ #17978]
36056         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36057         products 4 * y and 2 * y where those would overflow.
36058         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36059         Likewise.
36060         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36061         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36062         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36063         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36064         * math/libm-test.inc (remquo_test_data): Add more tests.
36066         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36068         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36069         [defined _COMPILING_NEWLIB].
36070         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36071         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36073         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36074         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36076 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36078         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36079         acquired.
36081 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36083         [BZ #17792]
36084         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36085         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36086         HOST_STACK_END_ADDR): Likewise.
36088 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36090         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36091         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36092         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36094 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36096         * sysdeps/generic/c++-types.data: New file.
36097         * sysdeps/generic/ld.abilist: New file.
36098         * sysdeps/generic/libBrokenLocale.abilist: New file.
36099         * sysdeps/generic/libanl.abilist: New file.
36100         * sysdeps/generic/libc.abilist: New file.
36101         * sysdeps/generic/libcrypt.abilist: New file.
36102         * sysdeps/generic/libdl.abilist: New file.
36103         * sysdeps/generic/libm.abilist: New file.
36104         * sysdeps/generic/libpthread.abilist: New file.
36105         * sysdeps/generic/libresolv.abilist: New file.
36106         * sysdeps/generic/librt.abilist: New file.
36108 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36110         [BZ #17569]
36111         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36112         Compute absolute value of x as modified by fmod, not original
36113         value of x.
36114         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36115         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36116         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36117         RUN_TEST_ffI_f1_mod8.
36118         (remquo_test_data): Add more tests.
36120 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36122         * sysdeps/init_array/pt-crti.S: New file.
36124 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36126         [BZ #17967]
36127         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36128         __builtin_fmaf instead of relying on contraction of a * b + c.
36130 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36132         [BZ #17969]
36133         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36134         node.
36136 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36138         [BZ #17964]
36139         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36140         __builtin_fma instead of relying on contraction of a * b + c.
36142 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36144         * Makeconfig (ASFLAGS): Add -Werror=undef.
36145         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36146         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36147         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36149         * Makeconfig (after-link): New variable.
36150         (+link-pie, +link-pie-tests): Use it.
36151         (+link-static, +link-static-tests): Likewise.
36152         (+link, +link-tests): Likewise.
36153         * Makerules (build-module, build-module-asneeded): Likewise.
36154         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36155         Likewise.
36156         * elf/Makefile ($(objpfx)ld.so): Likewise.
36158 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36160         [BZ #17965]
36161         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36162         both struct timeval and struct timespec.
36164 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36166         [BZ #16560]
36167         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36168         and redefine.
36169         (__ieee754_exp2l): Do not multiply small fractional parts by
36170         M_LN2l.
36171         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36172         small argument.
36173         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36174         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36175         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36176         * math/auto-libm-test-in: Add more tests of exp2.
36177         * math/auto-libm-test-out: Regenerated.
36179 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36181         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36182         unaligned path.
36184 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36186         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36187         little endian.
36189 2015-02-12  Andreas Schwab  <schwab@suse.de>
36191         [BZ #15790]
36192         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36193         Filter out elision flags from value returned in kind.
36194         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36195         * nptl/tst-pthread-mutexattr.c: New file.
36197 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36199         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36200         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36201         into gnu-gnu, and update comment to refer to abi-tags.
36203 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
36205         [BZ #15467]
36206         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36207         (__sincos): Set errno to EDOM for infinite argument.
36208         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36209         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36210         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36211         (__sincosl): Set errno to EDOM for infinite argument.
36212         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36213         (__sincosl): Set errno to EDOM for infinite argument.
36214         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36215         (__sincosl): Set errno to EDOM for infinite argument.
36216         * math/libm-test.inc (sincos_test_data): Test errno setting.
36218 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
36220         * string/strxfrm_l.c: Remove #define STRCMP.
36221         * string/strcoll_l.c: Remove #define STRLEN.
36222         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36223         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36225 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
36227         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36228         * sysdeps/mips/mips32/sfp-machine.h: ... here.
36229         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36230         * sysdeps/mips/mips64/Makefile: ... here.
36231         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36232         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36233         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36234         * sysdeps/mips/mips64/sfp-machine.h: ... here.
36235         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36236         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36237         * sysdeps/mips/mips64/n64/Implies: Likewise.
36239 2015-02-10  Roland McGrath  <roland@hack.frob.com>
36241         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36242         <sys/time.h>, <string.h>, and <errno.h>.
36243         (dest_offset, dest_address, value, zero): Remove unused variables.
36244         (ldouble): Remove typedef.
36245         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36246         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
36247         1).  Fix code style.
36248         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36249         (check): Function removed.
36250         (CHECK): New macro.
36251         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
36252         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36253         Don't call set_sigaction_FP and remove_sigaction_FP here.
36254         (ldouble_test): Just use 'long double' as macro argument, no need for
36255         the 'ldouble' typedef.
36256         (do_test): Set up SIGFPE handler at start, using plain signal rather
36257         than sigaction.  Fix code style.
36259 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
36261         [BZ #17949]
36262         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36263         jump label.
36265 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36267         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36268         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36270         * sysdeps/powerpc/configure.ac: Remove file.
36271         * sysdeps/powerpc/configure: Likewise.
36273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36274         [sysdep_routines]: Remove wordcopy-power6 object.
36275         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36276         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36277         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36278         (__memmove_ppc32): Likewise.
36279         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36280         file.
36281         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36282         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36283         Remove preprocessor.
36285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36286         [sysdep_routines]: Remove wide chars objects.
36287         [wcsmbs]: New rule for wide char objects.
36289         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36290         Remove wordcopy-power6 obejct.
36291         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
36292         Use local call for wordcopy and memcpy symbols.
36293         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
36294         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
36295         implementation for loader.
36296         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
36298         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36299         Remove wordcopy-power7 object.
36300         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
36301         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
36302         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36303         (_wordcopy_fwd_dest_aligned): Likewise.
36304         (_wordcopy_bwd_aligned): Likewise.
36305         (_wordcopy_bwd_dest_aligned): Likewise.
36307         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
36308         Rewrite to call __memmove_ppc instead of include default
36309         implementation.
36311         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36312         Remove wide chars objects.
36313         [wcsmbs]: New rule for wide char objects.
36315 2015-02-09  Andreas Schwab  <schwab@suse.de>
36317         [BZ #17912]
36318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36319         in terms of __O_DIRECTORY.
36321 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36323         * time/getdate.c: Include <stdbool.h>.
36324         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
36325         call PTR_MANGLE.
36326         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
36327         PTR_DEMANGLE.
36329 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
36331         Add ersatz _Static_assert on older C hosts
36332         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
36333         pre-C11 C platform that is not known to support _Static_assert.
36335 2015-02-07  Richard Braun  <rbraun@sceen.net>
36337         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
36338         sigstate.
36339         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
36341 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36343         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
36344         priority against unexistent AIO_PRIO_DELTA_MAX.
36345         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
36346         instead of int.
36347         * misc/fchflags.c (fchflags): Likewise.
36348         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
36349         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
36350         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
36351         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
36352         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
36353         Declare macros.
36354         [__USE_MISC] (chflags, fchflags): Declare functions.
36355         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
36356         EINVAL when nfds is greater than FD_SETSIZE.
36357         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
36358         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
36359         45.
36360         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
36361         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
36362         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
36363         MACH_RCV_TIMED_OUT.
36364         * hurd/hurd/signal.h (_hurd_self_sigstate,
36365         _hurd_critical_section_lock, _hurd_critical_section_unlock):
36366         Explicit casts from void *.
36367         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
36368         * abi-tags: Rename gnu-gnu os into gnu.
36370         [BZ #4719]
36371         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
36372         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
36373         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
36374         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
36375         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
36376         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
36378         [BZ #17944]
36379         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
36380         duplicates ADDR->sun_path with sockaddr LEN limitation.
36381         * sysdeps/mach/hurd/connect.c: Include <string.h>
36382         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
36383         * sysdeps/mach/hurd/sendmsg.c: Likewise.
36384         * sysdeps/mach/hurd/sendto.c: Likewise.
36385         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
36386         implementing it by hand.
36388 2015-02-06  Roland McGrath  <roland@hack.frob.com>
36390         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
36391         Use sfi_breg on ldr.
36392         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
36393         Likewise.
36395         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
36396         it's defined.
36397         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
36398         Test SIGSETXID only if it's defined.
36400         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
36402         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
36403         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
36405         * nptl/tst-align2.c: Moved ...
36406         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
36407         * nptl/Makefile (tests): Remove tst-align2.
36408         * sysdeps/unix/sysv/linux/Makefile
36409         [$(subdir) = nptl] (tests): Add tst-align-clone.
36410         * nptl/tst-getpid1.c: Moved ...
36411         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
36412         * nptl/tst-getpid2.c: Moved ...
36413         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
36414         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
36415         * sysdeps/unix/sysv/linux/Makefile
36416         [$(subdir) = nptl] (tests): ... here.
36417         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
36418         * sysdeps/unix/sysv/linux/Makefile
36419         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
36421         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
36422         Drop trailing \n from perror argument.  Use return rather than exit.
36424         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
36425         on [SA_SIGINFO].
36426         * nptl/tst-cancel21.c (do_test): Likewise.
36427         * debug/tst-backtrace6.c: Include <signal.h> first thing.
36428         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
36429         [!SA_SIGINFO]: Make it a stub test.
36431         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
36432         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
36434         * posix/tst-getlogin.c: Move to ...
36435         * login/tst-getlogin.c: ... here.
36436         * posix/Makefile (tests): Move tst-getlogin to ...
36437         * login/Makefile (tests): ... here.
36439         * libio/tst-atime.c (do_test): Move local variables SV and E
36440         inside [ST_NOATIME] conditional.
36442         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
36444         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
36446         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
36447         (wait_code): New function replaces macro.
36448         Call nanosleep rather than syscall.
36450         * nptl/pt-system.c: Rewritten.  Put everything under
36451         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36452         Use IFUNC to redirect when possible.
36454         * nptl/pt-longjmp.c: Rewritten.  Put everything under
36455         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36456         Use IFUNC to redirect when possible.
36458         * nptl/pt-fork.c: Rewritten.  Put everything under
36459         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36460         Use IFUNC to redirect when possible.
36461         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
36463         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
36464         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
36465         unconditionally nowadays.  This included the only reference to
36466         __vdso_clock_gettime that appears outside libc proper.
36467         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
36468         Remove version set (containing only __vdso_clock_gettime).
36469         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36470         Add attribute_hidden.
36471         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36472         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
36473         libc_hidden_data_def.
36474         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36475         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36477         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
36478         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
36479         setrpcent, and getrpcport to ...
36480         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
36481         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
36482         getrpcbynumber_r, and getrpcent_r to ...
36483         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
36484         * inet/getrpcbyname.c: Moved ...
36485         * sunrpc/getrpcbyname.c: ... here.
36486         * inet/getrpcbyname_r.c: Moved ...
36487         * sunrpc/getrpcbyname_r.c: ... here.
36488         * inet/getrpcbynumber.c: Moved ...
36489         * sunrpc/getrpcbynumber.c: ... here.
36490         * inet/getrpcbynumber_r.c: Moved ...
36491         * sunrpc/getrpcbynumber_r.c: ... here.
36492         * inet/getrpcent.c: Moved ...
36493         * sunrpc/getrpcent.c: ... here.
36494         * inet/getrpcent_r.c: Moved ...
36495         * sunrpc/getrpcent_r.c: ... here.
36496         * inet/Makefile (routines): Move those to ...
36497         * sunrpc/Makefile (routines): ... here.
36498         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
36499         the $(subdirs) list.
36500         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
36501         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
36502         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
36503         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
36505         * elf/Makefile (routines): Include $(all-dl-routines), not just
36506         $(dl-routines).
36507         (rtld-routines): Likewise.  Use = rather than :=.
36508         * sysdeps/aarch64/Makefile [$(subdir) = elf]
36509         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
36510         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
36511         * sysdeps/arm/Makefile: Likewise.
36512         * sysdeps/i386/Makefile: Likewise.
36513         * sysdeps/x86_64/Makefile: Likewise.
36514         * sysdeps/hppa/Makefile [$(subdir) = elf]
36515         (sysdep_routines, sysdep-rtld-routines): Don't add
36516         $(sysdep-dl-routines) to these.
36517         * sysdeps/ia64/Makefile: Likewise.
36518         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
36519         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
36520         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
36521         Don't add dl-static to these; sysdep-dl-routines alone is enough.
36522         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
36523         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
36524         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
36525         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
36526         * sysdeps/powerpc/Makefile [$(subdir) = elf]
36527         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
36528         these; sysdep-dl-routines alone is enough.
36530 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
36532         [BZ #17932]
36533         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
36534         where multiplication results in zero and third argument is finite
36535         and nonzero.
36536         * math/auto-libm-test-in: Add more tests of fma.
36537         * math/auto-libm-test-out: Regenerated.
36539         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
36540         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
36541         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
36542         (_FP_CMP_EQ): Likewise.
36543         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
36545         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
36546         extra argument CHECK_NAN.  Redefine as wrapper around
36547         _FP_EXTEND_CNAN.
36549 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
36551         * version.h (RELEASE): Set to "stable".
36552         (VERSION): Set to "2.21"
36553         * include/features.h (__GLIBC_MINOR__): Set to 21.
36555         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
36557 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36558             Paul Eggert  <eggert@cs.ucla.edu>
36560         [BZ #16618]
36561         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
36562         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
36563         size in bytes. Store needed elements in wpmax. Use needed size
36564         in bytes for extend_alloca.
36566 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
36568         * manual/install.texi: Latest tested versions are GCC 4.9.2,
36569         binutls 2.25, and texinfo 5.2.
36570         * INSTALL: Regenerate.
36571         * sysdeps/nios2/configure: Regenerate.
36572         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
36573         * manual/contrib.texi: Update.
36574         * po/be.po: Update.
36575         * po/bg.po: Update.
36576         * po/ca.po: Update.
36577         * po/cs.po: Update.
36578         * po/da.po: Update.
36579         * po/de.po: Update.
36580         * po/el.po: Update.
36581         * po/eo.po: Update.
36582         * po/es.po: Update.
36583         * po/fi.po: Update.
36584         * po/fr.po: Update.
36585         * po/gl.po: Update.
36586         * po/hr.po: Update.
36587         * po/hu.po: Update.
36588         * po/ia.po: Update.
36589         * po/id.po: Update.
36590         * po/it.po: Update.
36591         * po/ja.po: Update.
36592         * po/ko.po: Update.
36593         * po/lt.po: Update.
36594         * po/nb.po: Update.
36595         * po/nl.po: Update.
36596         * po/pl.po: Update.
36597         * po/pt_BR.po: Update.
36598         * po/ru.po: Update.
36599         * po/rw.po: Update.
36600         * po/sk.po: Update.
36601         * po/sl.po: Update.
36602         * po/sv.po: Update.
36603         * po/tr.po: Update.
36604         * po/uk.po: Update.
36605         * po/vi.po: Update.
36606         * po/zh_CN.po: Update.
36607         * po/zh_TW.po: Update.
36609         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
36610         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
36611         * sysdeps/hppa/dl-irel.h: Remove #warning.
36612         * sysdeps/hppa/entry.h: Provide prototype for
36613         __canonicalize_funcptr_for_compare and cast argument.
36614         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
36615         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
36616         * sysdeps/hppa/sotruss-lib.c: New file.
36617         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
36618         (atomic_compare_and_exchange_val_acq): Use __typeof__.
36619         (atomic_compare_and_exchange_bool_acq): Likewise.
36620         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
36621         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36623         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36624         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36625         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36627 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
36629         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36630         called function in non-PIC case.
36632 2015-01-31  David S. Miller  <davem@davemloft.net>
36634         * sysdeps/sparc/sparc32/bits/atomic.h
36635         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36636         unlock not after it.
36637         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36638         volatile register usage warnings from the compiler.
36640         * sysdeps/sparc/nptl/sem_init.c: Delete.
36641         * sysdeps/sparc/nptl/sem_post.c: Delete.
36642         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36643         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36644         * sysdeps/sparc/sparc32/sem_init.c: New file.
36645         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36646         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36647         padding explicitly initialized.
36648         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36649         padding for in-semaphore spinlock.
36650         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36651         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36652         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36653         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36654         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36655         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36656         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36657         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36658         version.
36659         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36660         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36662 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36664         [BZ #17801]
36665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36666         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36667         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36668         New.
36669         (index_AVX_Fast_Unaligned_Load): Likewise.
36670         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36671         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36672         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36673         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36674         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36675         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36676         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36677         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36678         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36680 2015-01-29  Andreas Schwab  <schwab@suse.de>
36682         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
36684 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
36686         [BZ #17892]
36687         * nscd/nscd_stat.c (send_stats): Initialize DATA.
36689 2015-01-28  Martin Sebor  <msebor@redhat.com>
36691         * math/README.libm-test: Clarify. Add "How to read the test output."
36693 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
36695         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
36696         Define to 0.
36698 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
36700         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
36701         (__HAVE_64B_ATOMICS): Define to 0.
36703 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36705         [BZ #17885]
36706         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
36707         value to set as new flag.
36709         [BZ #16576]
36710         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
36711         and use _ARCH_PPCSQ instead.
36712         (__ieee754_sqrt): Likewise.
36713         (__ieee754_sqrtf): Likewise.
36714         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
36715         _ARCH_PPCSQ is defined.
36716         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
36717         fsqrt instruction.
36718         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
36719         _ARCH_PPCSQ is defined.
36720         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
36721         fsqrts instruction.
36722         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
36724 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36726         * iconv/loop.c: Suppress array out of bound warning caused by GCC
36727         bug (GCC BZ #64739).
36729 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
36731         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
36732         Mark _retval as used.
36733         (lll_futex_wake_unlock): Likewise.
36734         (lll_futex_timed_wait_requeue_pi): Likewise.
36736         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36737         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36738         register variables.
36740         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
36741         libm_hidden_def.
36743         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
36744         (__bswap_64): Mark as __always_inline.
36746 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
36748         [BZ #15378]
36749         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
36750         when none of the search directories exist.
36752 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36754         [BZ #17869]
36755         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
36756         power8 in .machine directive.
36758         [BZ #17868]
36759         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
36760         set dependency from opd value.
36762 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36765         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
36766         architecture.
36768 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36770         [BZ #17870]
36771         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
36772         with uint64_t.
36773         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
36774         (uint64_t) 1.
36775         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36776         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
36777         Replace 1UL with (uint64_t) 1.
36778         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
36779         int with uint64_t.
36781 2015-01-23  Roland McGrath  <roland@hack.frob.com>
36783         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
36784         (if_freenameindex): Likewise.
36786         * resource/getrlimit64.c: Add missing libc_hidden_def.
36788 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
36790         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
36791         __label__.
36792         (_FP_FMA): Likewise.
36793         (_FP_TO_INT_ROUND): Likewise.
36794         (_FP_FROM_INT): Likewise.
36796 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36798         [BZ #16418]
36799         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36800         Make code racy and cancel safe.
36802 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
36804         * sysdeps/arm/unwind-resume.h: Fix copyright year.
36805         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
36806         attribution.
36808         * pwd/tst-getpw.c: Rewrite.
36810         [BZ #17702]
36811         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
36812         (modules-names): Add moddummy1 and moddummy2.
36813         ($(objpfx)tst-rec-dlopen): Define.
36814         * dlfcn/moddummy1.c: New file.
36815         * dlfcn/moddummy2.c: New file.
36816         * dlfcn/tst-rec-dlopen.c: New file.
36817         * elf/dl-cache.c (_dl_load_cache_lookup):
36818         Return char*. Copy result with alloca/strcpy/strdup.
36819         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
36820         returns char*. Free cached. If not saving realname
36821         free cached.
36822         * elf/dl-open.c (dl_open_worker): Do not assert that
36823         _r_debug->r_state is RT_CONSISTENT.
36824         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
36825         returns char*.
36827 2015-01-21  Torvald Riegel  <triegel@redhat.com>
36828             Carlos O'Donell  <carlos@redhat.com>
36830         [BZ #12674]
36831         * nptl/sem_waitcommon.c: New file.
36832         * nptl/sem_wait.c: Include sem_waitcommon.c.
36833         (__sem_wait_cleanup, do_futex_wait): Remove.
36834         (__new_sem_wait): Adapt.
36835         (__new_sem_trywait): New function.
36836         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
36837         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
36838         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
36839         (sem_timedwait): Adapt.
36840         * nptl/sem_post.c (__new_sem_post): Adapt.
36841         (futex_wake): New function.
36842         (__old_sem_post): Add release MO fence.
36843         * nptl/sem_open.c (sem_open): Adapt.
36844         * nptl/sem_init.c (__new_sem_init): Adapt.
36845         (futex_private_if_supported): New function.
36846         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
36847         (__old_sem_getvalue): Add using previous code.
36848         * sysdeps/nptl/internaltypes.h: Adapt.
36849         * nptl/tst-sem13.c (do_test): Adapt.
36850         * nptl/tst-sem11.c (main): Adapt.
36851         * nptl/sem_trywait.c: Remove.
36852         * nptl/DESIGN-sem.txt: Remove.
36853         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
36854         (gen-as-const-headers): Remove structsem.sym.
36855         * nptl/structsem.sym: Remove.
36856         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
36857         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
36858         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
36859         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
36860         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
36861         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
36862         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
36863         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
36864         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
36865         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
36866         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
36867         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
36868         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
36869         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
36870         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
36871         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
36872         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
36873         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
36874         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
36875         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
36876         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
36877         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
36879 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
36881         * INSTALL: Regenerated.
36883         * po/libc.pot: Regenerated.
36885 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
36886             Sandra Loosemore  <sandra@codesourcery.com>
36887             Andrew Jenner  <andrew@codesourcery.com>
36888             Joseph Myers  <joseph@codesourcery.com>
36889             Nathan Sidwell  <nathan@codesourcery.com>
36891         * NEWS: Mention new Nios II port.
36892         * sysdeps/nios2/Implies: New file.
36893         * sysdeps/nios2/Makefile: New file.
36894         * sysdeps/nios2/Subdirs: New file.
36895         * sysdeps/nios2/Versions: New file.
36896         * sysdeps/nios2/__longjmp.S: New file.
36897         * sysdeps/nios2/abort-instr.h: New file.
36898         * sysdeps/nios2/backtrace.c: New file.
36899         * sysdeps/nios2/bits/endian.h: New file.
36900         * sysdeps/nios2/bits/fenv.h: New file.
36901         * sysdeps/nios2/bits/link.h: New file.
36902         * sysdeps/nios2/bits/setjmp.h: New file.
36903         * sysdeps/nios2/bsd-_setjmp.S: New file.
36904         * sysdeps/nios2/bsd-setjmp.S: New file.
36905         * sysdeps/nios2/configure: New generated file.
36906         * sysdeps/nios2/configure.ac: New file.
36907         * sysdeps/nios2/crti.S: New file.
36908         * sysdeps/nios2/crtn.S: New file.
36909         * sysdeps/nios2/dl-init.c: New file.
36910         * sysdeps/nios2/dl-machine.h: New file.
36911         * sysdeps/nios2/dl-sysdep.h: New file.
36912         * sysdeps/nios2/dl-tls.h: New file.
36913         * sysdeps/nios2/dl-trampoline.S: New file.
36914         * sysdeps/nios2/gccframe.h: New file.
36915         * sysdeps/nios2/gmp-mparam.h: New file.
36916         * sysdeps/nios2/jmpbuf-offsets.h: New file.
36917         * sysdeps/nios2/jmpbuf-unwind.h: New file.
36918         * sysdeps/nios2/ldsodefs.h: New file.
36919         * sysdeps/nios2/libc-tls.c: New file.
36920         * sysdeps/nios2/libm-test-ulps: New file.
36921         * sysdeps/nios2/machine-gmon.h: New file.
36922         * sysdeps/nios2/math-tests.h: New file.
36923         * sysdeps/nios2/math_private.h: New file.
36924         * sysdeps/nios2/memusage.h: New file.
36925         * sysdeps/nios2/nptl/Makefile: New file.
36926         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
36927         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
36928         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
36929         * sysdeps/nios2/nptl/pthreaddef.h: New file.
36930         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
36931         * sysdeps/nios2/nptl/tls.h: New file.
36932         * sysdeps/nios2/preconfigure: New file.
36933         * sysdeps/nios2/s_fma.c: New file.
36934         * sysdeps/nios2/s_fmaf.c: New file.
36935         * sysdeps/nios2/setjmp.S: New file.
36936         * sysdeps/nios2/sfp-machine.h: New file.
36937         * sysdeps/nios2/sotruss-lib.c: New file.
36938         * sysdeps/nios2/stackguard-macros.h: New file.
36939         * sysdeps/nios2/stackinfo.h: New file.
36940         * sysdeps/nios2/start.S: New file.
36941         * sysdeps/nios2/sysdep.h: New file.
36942         * sysdeps/nios2/tls-macros.h: New file.
36943         * sysdeps/nios2/tst-audit.h: New file.
36944         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
36945         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
36946         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
36947         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
36948         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
36949         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
36950         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
36951         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
36952         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
36953         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
36954         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
36955         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
36956         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
36957         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
36958         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
36959         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
36960         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
36961         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
36962         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
36963         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
36964         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
36965         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
36966         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
36967         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
36968         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
36969         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
36970         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
36971         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
36972         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
36973         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
36974         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
36975         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
36976         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
36977         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
36978         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
36979         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
36980         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
36981         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
36982         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
36983         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
36984         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
36985         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
36986         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
36987         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
36989 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36991         [BZ #17844]
36992         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
36993         (getutent): Use weak_alias in non SHARED case
36994         and default_symbol_version in SHARED case.
36995         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
36996         (getutent_r, pututline): Likewise.
36997         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
36998         (getutid): Likewise.
36999         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37000         (getutid_r): Likewise.
37001         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37002         (getutline): Likewise.
37003         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37004         (getutline_r): Likewise.
37005         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37006         (updwtmp): Likewise.
37008 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37010         [BZ #17848]
37011         * sysdeps/s390/s390-32/memcmp.S
37012         (memcmp_g5): Rename to __memcmp_g5.
37013         * sysdeps/s390/s390-32/memcpy.S
37014         (memcpy_g5): Rename to __memcpy_g5.
37015         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37016         (memcpy_mvcle) Rename to __memcpy_mvcle.
37017         * sysdeps/s390/s390-32/memset.S
37018         (memset_g5): Rename to __memset_g5.
37019         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37020         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37021         and use prefixed functions.
37022         * sysdeps/s390/s390-32/multiarch/memcmp.S
37023         (memcmp_z196): Rename to __memcmp_z196.
37024         (memcmp_z10): Rename to __memcmp_z10.
37025         (memcmp): Set alias to __memcmp_g5.
37026         (bcmp): Set alias to __memcmp_g5.
37027         * sysdeps/s390/s390-32/multiarch/memcpy.S
37028         (memcpy_z196): Rename to __memcpy_z196.
37029         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37030         (memcpy_z10): Rename to __memcpy_z10.
37031         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37032         (memcpy): Set alias to __memcpy_g5.
37033         * sysdeps/s390/s390-32/multiarch/memset.S
37034         (memset_z196): Rename to __memset_z196.
37035         Jump to __memset_mvcle instead of memset_mvcle.
37036         (memset_z10): Rename to __memset_z10.
37037         Jump to __memset_mvcle instead of memset_mvcle.
37038         (memset_mvcle) Rename to __memset_mvcle.
37039         (memset): Set alias to __memset_g5.
37040         * sysdeps/s390/s390-64/memcmp.S
37041         (memcmp_z900): Rename to __memcmp_z900.
37042         * sysdeps/s390/s390-64/memcpy.S
37043         (memcpy_z900): Rename to __memcpy_z900.
37044         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37045         (memcpy_mvcle) Rename to __memcpy_mvcle.
37046         * sysdeps/s390/s390-64/memset.S
37047         (memset_z900): Rename to __memset_z900.
37048         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37049         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37050         and use prefixed functions.
37051         * sysdeps/s390/s390-64/multiarch/memcmp.S
37052         (memcmp_z196): Rename to __memcmp_z196.
37053         (memcmp_z10): Rename to __memcmp_z10.
37054         (memcmp): Set alias to __memcmp_z900.
37055         (bcmp): Set alias to __memcmp_z900.
37056         * sysdeps/s390/s390-64/multiarch/memcpy.S
37057         (memcpy_z196): Rename to __memcpy_z196.
37058         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37059         (memcpy_z10): Rename to __memcpy_z10.
37060         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37061         (memcpy): Set alias to __memcpy_z900.
37062         * sysdeps/s390/s390-64/multiarch/memset.S
37063         (memset_z196): Rename to __memset_z196.
37064         Jump to __memset_mvcle instead of memset_mvcle.
37065         (memset_z10): Rename to __memset_z10.
37066         Jump to __memset_mvcle instead of memset_mvcle.
37067         (memset_mvcle) Rename to __memset_mvcle.
37068         (memset): Set alias to __memset_z900.
37070 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37072         [BZ #17748]
37073         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37074         __fesetenv instead of fesetenv.
37076 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37078         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37079         macro.
37081 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37083         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37084         regression on LE.
37086         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37087         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37088         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37089         strncmp-power8 object.
37090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37091         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37092         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37093         * NEWS: Update.
37095 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37096             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37098         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37099         trailing byte check.
37101 2015-01-13  David S. Miller  <davem@davemloft.net>
37103         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37105 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37107         * login/logout.c (logout): Use memset rather than bzero.
37108         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37109         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37110         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37111         (_gethtbyaddr): Likewise.
37112         * locale/programs/simple-hash.c (bcopy): Macro removed.
37114 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37116         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37117         Add strcmp-power8 object.
37118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37119         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37120         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37121         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37122         __strcmp_power8 implementation.
37123         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37124         * NEWS: Update.
37126         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37127         Add strncpy-power8 and stpncpy-power8 objects.
37128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37129         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37130         implementations.
37131         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37132         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37133         __stpncpy_power8 implementation.
37134         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37135         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37136         __strncpy_power8 implementation.
37137         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37138         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37139         * NEWS: Update.
37141         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37142         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37143         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37145         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37146         strncat-power8 object.
37147         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37148         __strcat_power8 implementation.
37149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37150         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37151         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37152         optimized strcat for power8.
37154         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37155         strcpy-power8 and stpcpy-power8 objects.
37156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37157         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37158         implementations.
37159         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37160         multiarch stpcpy implementation for POWER8.
37161         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37162         multiarch strcpy implementation for POWER8.
37163         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37164         __strcpy_power8 function.
37165         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37166         stpcpy for POWER8.
37167         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37168         strcpy for POWER8.
37169         * NEWS: Update.
37171 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37173         [BZ #16009]
37174         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37175         weights and rules. Use do_xfrm_cached if data fits in cache,
37176         do_xfrm otherwise.  Moved former main loop to...
37177         * (do_xfrm_cached): New function.
37178         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37179         find_idx, find_position and stack_push.
37180         * (find_idx): New function.
37181         * (find_position): Likewise.
37182         * localedata/sort-test.sh: Added test run for do_xfrm.
37183         * localedata/xfrm-test.c (main): Added command line option
37184         -nocache to run the test with strings that are too large for
37185         the STRXFRM cache.
37187 2015-01-13  Torvald Riegel  <triegel@redhat.com>
37189         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37190         variable to lll_futex_wake call, not the value itself.
37192 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
37194         [BZ #17803]
37195         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37196         twom64.  Adjust value to 0x1p-64L.
37197         (__scalblnl): Only return standard underflowing result for K <=
37198         -64 not K <= -63; adjust exponent for underflowing result by 64
37199         not 63.
37200         * math/libm-test.inc (scalbn_test_data): Add more tests.
37201         (scalbln_test_data): Likewise.
37203         [BZ #17834]
37204         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37205         0x1p63L.
37206         (__scalblnl): Get new exponent of adjusted subnormal value from ES
37207         not HX.
37208         * math/libm-test.inc (scalbn_test_data): Add more tests.
37209         (scalbln_test_data): Likewise.
37211 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37212             Stefani Seibold  <stefani@seibold.net>
37214         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37215         (sysdep_routines): Add dl-vdso here, ...
37216         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37217         (sysdep_routines): ... not here.
37218         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37219         fallback when vDSO is not presented.
37220         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37221         Define with libc_hidden_proto/libc_hidden_data_def definitions.
37222         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37223         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37224         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37225         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37226         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37227         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37228         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37230         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
37231         fallback configurable symbol when vDSO is not available.
37232         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37233         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
37234         be able to redefine fallback symbol when vDSO is not available.
37235         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37236         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37238 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37240         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37241         (TLS_INIT_TP): Add tm_capable initialization.
37242         (TLS_DEFINE_INIT_TP): Likewise.
37243         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37244         TCB.
37245         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37246         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37247         calculation.
37248         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37249         transactoion is lock elision is built and TCB tm_capable is set.
37250         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37252         (INTERNAL_SYSCALL_NCS): Likewise.
37253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37254         (INTERNAL_SYSCALL_NCS): Likewise.
37255         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37257         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37258         for powerpc.
37259         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37260         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37261         and remove it for 32 bits case.
37262         [pthread_rwlock_t] (__rwelision): New field for lock elision.
37263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37264         initialization.
37265         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37266         Disable lock elision with rdlocks if elision is not available.
37268         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37269         (sysdep_routines): Add lock elision objects.
37270         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37271         [pthread_mutex_t] (__spins): Rework to add lock elision field.
37272         [pthread_mutex_t] (__elision): Add field.
37273         [__PTHREAD_SPINS]: Adjust to init lock elision field.
37274         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37275         elision definitions for powerpc.
37276         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37277         implementation of lock elision for powerpc.
37278         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37279         implementation of timed lock elision for powerpc.
37280         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37281         implementation of trylock with lock elision for powerpc.
37282         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37283         implementaion of unlock for lock elision for powerpc.
37284         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37285         automatic enable lock elision for mutexes.
37286         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37287         transaction execution definitions for powerpc.
37288         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37289         definitions.
37290         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37291         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
37292         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
37293         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
37294         * NEWS: Update.
37296 2015-01-09  Roland McGrath  <roland@hack.frob.com>
37298         * sysdeps/posix/shm-directory.c: Use <> rather than ""
37299         for #include of <shm-directory.h>.
37301 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
37303         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
37304         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
37306 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
37308         [BZ #17791]
37309         * NEWS: Mention bug fix.
37310         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
37311         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
37312         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
37314 2015-01-09  Torvald Riegel <triegel@redhat.com>
37316         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
37318 2015-01-09  Torvald Riegel <triegel@redhat.com>
37320         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
37322 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37324         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
37325         pointer and cast to uintptr_t.
37327 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37329         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
37330         removed.
37331         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37333 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37335         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
37336         of 0.
37338 2015-01-08  Roland McGrath  <roland@hack.frob.com>
37340         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
37341         <nptl/pthreadP.h> instead.
37342         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
37344         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
37345         already defined.
37346         [__SIGRTMIN] (init): Function removed.
37347         [__SIGRTMIN] (initialized): Variable removed.
37348         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
37349         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
37350         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
37351         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
37352         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
37353         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
37354         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
37355         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
37356         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
37357         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
37358         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
37359         * sysdeps/nptl/allocrtsig.c: New file.
37360         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
37361         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
37362         * sysdeps/generic/testrtsig.h: File removed.
37364         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
37365         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
37367         * nptl/nptl-init.c (pthread_functions): Conditionalize
37368         .ptr__nptl_setxid initialization on [SIGSETXID].
37370         * sysdeps/nptl/sys/procfs.h: New file.
37371         * nptl_db/Makefile (headers): Add it.
37372         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
37374         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
37375         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
37376         * nptl/pthread_attr_setaffinity.c: Include it.
37377         * nptl/pthread_setattr_default_np.c: Likewise.
37378         * nptl/check-cpuset.h: New file.
37380 2015-01-08  Richard Henderson  <rth@redhat.com>
37382         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
37383         (CFLAGS-tst-execstack-prog.c): Likewise.
37384         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
37386 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
37387             Sandra Loosemore  <sandra@codesourcery.com>
37388             Andrew Jenner  <andrew@codesourcery.com>
37389             Joseph Myers  <joseph@codesourcery.com>
37390             Nathan Sidwell  <nathan@codesourcery.com>
37392         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
37393         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
37394         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
37395         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
37396         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
37397         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
37398         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
37399         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
37400         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
37401         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
37402         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
37403         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
37404         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
37405         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
37406         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
37407         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
37408         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
37410 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37412         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
37413         timespec struct member in syscall macro.
37414         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
37415         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
37416         first timeval struct member in syscall macro.
37417         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
37419 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
37421         [BZ #17748]
37422         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
37423         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
37424         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
37425         __feupdateenv and define as weak alias of __feupdateenv.  Use
37426         libm_hidden_weak.
37427         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
37428         libm_hidden_def.
37429         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
37430         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
37431         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37432         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
37433         libm_hidden_def.
37434         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
37435         __feupdateenv and define as weak alias of __feupdateenv.  Use
37436         libm_hidden_weak.
37437         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
37438         libm_hidden_def.
37439         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
37440         __feupdateenv and define as weak alias of __feupdateenv.  Use
37441         libm_hidden_weak.
37442         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
37443         libm_hidden_def.
37444         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37445         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37446         (__feupdateenv): Likewise.
37447         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
37448         __feupdateenv and define as weak alias of __feupdateenv.  Use
37449         libm_hidden_weak.
37450         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37451         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
37452         libm_hidden_def.
37453         * sysdeps/tile/math_private.h (__feupdateenv): New inline
37454         function.
37455         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
37456         libm_hidden_def.
37457         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
37458         __feupdateenv instead of feupdateenv.
37459         (default_libc_feupdateenv_test): Likewise.
37460         (libc_feresetround_ctx): Likewise.
37462 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37464         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
37465         prototype.
37467 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
37469         * posix/regcomp.c (parse_bracket_exp): Initialize type to
37470         COLL_SYM in a couple of places to avoid uninitialized variable
37471         wanings on tilegx gcc 4.8.2.
37473 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37475         * sysdeps/aarch64/strcpy.S: New file.
37476         * sysdeps/aarch64/stpcpy.S: New file.
37477         * NEWS: Updated.
37479 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37481         * sysdeps/aarch64/strrchr.S: New file.
37482         * NEWS: Updated.
37484 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
37486         [BZ #17658]
37487         * stdlib/setenv.c: Fix memory leak when setting large,
37488         duplicate string.
37490 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
37492         [BZ #17273]
37493         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
37494         and tabs from buffer before parsing fstab entry.
37495         * misc/tst-mntent.c (main): Add test for mount entry with
37496         trailing spaces and tabs.
37498 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
37500         [BZ #17748]
37501         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
37502         * math/fesetround.c (fesetround): Rename to __fesetround and
37503         define as weak alias of __fesetround.  Use libm_hidden_weak.
37504         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
37505         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
37506         * sysdeps/arm/fesetround.c (fesetround): Likewise.
37507         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
37508         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
37509         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
37510         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
37511         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
37512         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
37513         __fesetround_inline.
37514         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
37515         __fesetround_inline instead of __fesetround.
37516         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
37517         __fesetround and define as weak alias of __fesetround.  Use
37518         libm_hidden_weak.  Call __fesetround_inline instead of
37519         __fesetround.
37520         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
37521         __fesetround and define as weak alias of __fesetround.  Use
37522         libm_hidden_weak.
37523         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
37524         Likewise.
37525         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
37526         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37527         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
37528         * sysdeps/tile/math_private.h (__fesetround): New inline function.
37529         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
37530         __fesetround and define as weak alias of __fesetround.  Use
37531         libm_hidden_weak.
37532         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
37533         __fesetround instead of fesetround.
37534         (default_libc_feholdexcept_setround): Likewise.
37535         (libc_feholdsetround_ctx): Likewise.
37536         (libc_feholdsetround_noex_ctx): Likewise.
37538         [BZ #17748]
37539         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
37540         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
37541         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37542         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37543         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37544         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
37545         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37546         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37547         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37548         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37549         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37550         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37551         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37552         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37553         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
37554         libm_hidden_def.
37555         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
37556         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
37557         Likewise.
37558         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37559         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37560         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37561         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37562         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
37563         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37564         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37565         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
37566         __fesetenv instead of fesetenv.
37567         (libc_feresetround_noex_ctx): Likewise.
37568         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37569         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37570         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
37571         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37572         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37573         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37574         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37575         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37576         (__feupdateenv): Likewise.
37577         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37578         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37579         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37580         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
37582 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37584         [BZ #17806]
37585         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
37586         addresses have been freed.
37588 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37590         * resolv/res_init.c (__res_vinit): Improve comments about nserv
37591         and nservall.
37593 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
37595         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
37596         Clean up check_pf allocation pattern. addresses
37598 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37600         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
37601         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
37602         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
37603         * nptl/pthread_exit.c (__pthread_exit): Likewise.
37604         * nptl/pthread_join.c (pthread_join): Likewise.
37605         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
37606         * sysdeps/posix/waitid.c (__waitid): Likewise.
37607         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
37608         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
37609         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
37610         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
37611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
37612         Likewise.
37613         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
37614         (__libc_pread64): Likewise.
37615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
37616         (__libc_pwrite): Likewise.
37617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37618         (__libc_pwrite64): Likewsie.
37619         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
37620         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
37621         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
37622         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37623         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37624         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37625         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37627         Likewise.
37628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37629         (__libc_pread64): Likewise.
37630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37631         Likewise.
37632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37633         (__libc_pwrite64): Likewise.
37634         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37635         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37636         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37637         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37638         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37639         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37640         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37641         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37642         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37643         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37644         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37645         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37646         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37647         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37648         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37649         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37650         Likewise.
37652 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37654         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37655         (CFLAGS-test-double.c): Likewise.
37656         (CFLAGS-test-ldouble.c): Likewise.
37657         (CPPFLAGS-test-ifloat.c): Likewise.
37658         (CPPFLAGS-test-idouble.c): Likewise.
37659         (CPPFLAGS-test-ildoubl.c): Likewise.
37660         (CFLAGS-test-test-fenv.c): Remove variable.
37661         (CFLAGS-test-misc.c): Likewise.
37663 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37665         [BZ #17797]
37666         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37667         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37668         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37669         CLOCKS_PER_SEC == 1000000.
37670         * time/clocktest.c (main): Replace %ld with %jd and cast to
37671         intmax_t.
37673 2015-01-05  Roland McGrath  <roland@hack.frob.com>
37675         * sysdeps/generic/unwind-resume.h: New file.
37676         * sysdeps/gnu/unwind-resume.c: Include it.
37677         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37678         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37679         argument list.
37680         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37681         global rather than static.
37682         (_Unwind_Resume): Update user.
37683         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
37684         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
37685         rather than static.  Add __attribute__ ((cold)).
37686         (_Unwind_Resume, __gcc_personality_v0): Update callers.
37687         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
37688         * sysdeps/arm/arm-unwind-resume.S: New file.
37689         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
37690         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
37691         * sysdeps/arm/Makefile [$(subdir) = csu]
37692         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
37693         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37694         Add rt-arm-unwind-resume.
37695         [$(subdir) = nptl]
37696         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37697         Add pt-arm-unwind-resume.
37698         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37699         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
37701 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37703         [BZ #17748]
37704         * include/fenv.h (__feholdexcept): Declare.  Use
37705         libm_hidden_proto.
37706         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
37707         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
37708         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37709         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
37710         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
37711         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
37712         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
37713         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37714         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
37715         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
37716         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37717         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
37718         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
37719         (feholdexcept): Likewise.
37720         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37721         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37722         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37723         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37724         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
37725         __feholdexcept instead of feholdexcept.
37726         (default_libc_feholdexcept_setround): Likewise.
37728 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37730         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
37731         to avoid using stl/str to align destination.
37733 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37735         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
37737 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37739         [BZ #17796]
37740         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
37741         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
37742         Define as weak alias not strong alias.
37744 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37746         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
37747         bltzal with addiupc.
37748         (RTLD_START): Ditto.
37750 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
37752         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
37753         for __vdso_* functions in declarations.
37754         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
37755         definitions.
37756         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
37757         INTERNAL_VSYSCALL): Use struct return types to check for error.
37759         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
37760         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
37761         function with cast from llround().
37762         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
37763         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
37764         Define.
37766 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37768         [BZ #17793]
37769         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
37770         Define as weak alias not strong alias.
37772         [BZ #17635]
37773         * ctype/ctype-c99.c: New file.  isblank implementation moved from
37774         ...
37775         * ctype/ctype-extn.c: ... here.
37776         (__isblank_l): Move to ...
37777         * ctype/ctype-c99_l.c: ... here.  New file.
37778         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
37779         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
37780         Remove variable.
37781         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37782         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37783         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37784         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37785         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37787         [BZ #17777]
37788         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
37789         (posix_fadvise64): Define as weak alias not strong alias.
37790         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37791         (posix_fallocate64): Likewise.
37792         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37793         Remove variable.
37794         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37795         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37796         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37797         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37798         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37800 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
37802         [BZ #16191]
37803         * NEWS: Mention bug fix.
37804         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
37805         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37806         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
37807         (HOST_STACK_END_ADDR): Likewise.
37809 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37811         [BZ #17748]
37812         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
37813         * math/fegetround.c (fegetround): Rename to __fegetround and
37814         define as weak alias of __fegetround.  Use libm_hidden_weak.
37815         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
37816         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
37817         * sysdeps/arm/fegetround.c (fegetround): Likewise.
37818         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
37819         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37820         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
37821         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
37822         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
37823         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37824         Undefine after rather than before function definition; use
37825         parentheses around function name in definition.
37826         (__fegetround): Also undefine macro after function definition.
37827         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
37828         __fegetround and define as weak alias of __fegetround.  Use
37829         libm_hidden_weak.  Do not undefine as macro.
37830         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37831         Likewise.
37832         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
37833         __fegetround and define as weak alias of __fegetround.  Use
37834         libm_hidden_weak.
37835         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37836         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37837         * sysdeps/tile/math_private.h (__fegetround): New inline function.
37838         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
37839         __fegetround and define as weak alias of __fegetround.  Use
37840         libm_hidden_weak.
37841         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
37842         __fegetround instead of fegetround.
37844         [BZ #17782]
37845         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
37846         Condition macro definition on [__USE_MISC].
37848         [BZ #17781]
37849         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37850         (struct sigaction): Change type of sa_flags field to int.
37852         [BZ #17780]
37853         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
37854         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
37855         __glibc_reserved0.
37857         * nptl/version.c (banner): Use single year in copyright notice.
37859         * NEWS: Update copyright dates.
37860         * catgets/gencat.c (print_version): Likewise.
37861         * csu/version.c (banner): Likewise.
37862         * debug/catchsegv.sh: Likewise.
37863         * debug/pcprofiledump.c (print_version): Likewise.
37864         * debug/xtrace.sh (do_version): Likewise.
37865         * elf/ldconfig.c (print_version): Likewise.
37866         * elf/ldd.bash.in: Likewise.
37867         * elf/pldd.c (print_version): Likewise.
37868         * elf/sotruss.sh: Likewise.
37869         * elf/sprof.c (print_version): Likewise.
37870         * iconv/iconv_prog.c (print_version): Likewise.
37871         * iconv/iconvconfig.c (print_version): Likewise.
37872         * locale/programs/locale.c (print_version): Likewise.
37873         * locale/programs/localedef.c (print_version): Likewise.
37874         * login/programs/pt_chown.c (print_version): Likewise.
37875         * malloc/memusage.sh (do_version): Likewise.
37876         * malloc/memusagestat.c (print_version): Likewise.
37877         * malloc/mtrace.pl: Likewise.
37878         * manual/libc.texinfo: Likewise.
37879         * nptl/version.c (banner): Likewise.
37880         * nscd/nscd.c (print_version): Likewise.
37881         * nss/getent.c (print_version): Likewise.
37882         * nss/makedb.c (print_version): Likewise.
37883         * posix/getconf.c (main): Likewise.
37884         * scripts/test-installation.pl: Likewise.
37885         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
37887 2015-01-02  Will Newton  <will.newton@linaro.org>
37889         * sysdeps/arm/armv7/configure: Removed.
37890         * sysdeps/arm/armv7/configure.ac: Likewise.
37892 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37894         * All files with FSF copyright notices: Update copyright dates
37895         using scripts/update-copyrights.
37896         * intl/plural.c: Regenerated.
37897         * locale/programs/charmap-kw.h: Likewise.
37898         * locale/programs/locfile-kw.h: Likewise.
37900 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37902         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
37904 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37906         [BZ #17748]
37907         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
37908         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
37909         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37910         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37911         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37912         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
37913         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37914         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
37915         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37916         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37917         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37918         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37919         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37920         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37921         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
37922         libm_hidden_def.
37923         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
37924         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
37925         Likewise.
37926         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37927         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37928         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37929         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37930         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
37931         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37932         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37933         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
37934         __fegetenv instead of fegetenv.
37935         (libc_feholdsetround_noex_ctx): Likewise.
37937 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37939         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
37940         (Elf_MIPS_ABIFlags_v0): New structure.
37941         (EF_MIPS_FP64): Define.
37942         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
37943         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
37944         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
37945         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
37946         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
37947         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
37948         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
37949         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
37950         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
37951         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
37952         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
37953         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
37954         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
37955         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
37956         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
37957         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
37958         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
37959         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
37960         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
37961         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
37962         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
37963         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
37964         field.
37965         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
37966         EF_MIPS_FP64.
37967         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
37968         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
37969         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
37970         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
37971         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
37972         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
37973         * sysdeps/mips/tst-abi-interlink.c: Likewise.
37974         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
37975         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
37976         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
37977         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
37978         record the current FP ABI extension.
37979         (mips-mode-switch): Define to show if kernel headers support mode
37980         switching.
37981         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
37982         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
37983         supported SYSV ABI version to 3.
37984         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
37985         feature.
37987 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37988             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37990         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
37991         path.
37992         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
37994 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37996         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
37997         __fegetround and redefine to call __fegetround.  Remove condition
37998         on [!__NO_MATH_INLINES].
37999         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38000         function.
38001         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38002         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38003         Remove macro.
38004         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38005         instead of <fenv_libc.h>.
38006         (__llrintl): Call fegetround instead of __fegetround.
38007         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38008         instead of <fenv_libc.h>.
38009         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38010         (__lrintl): Call fegetround instead of __fegetround.
38011         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38012         instead of <fenv_libc.h>.
38013         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38014         (__rintl): Call fegetround instead of __fegetround.
38016 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38018         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38019         arrays.
38021 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38023         [BZ #17775]
38024         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38025         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38026         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38028 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38030         * sysdeps/i386/tls-macros.h: Include <features.h>.
38031         (TLS_LE): Use non-PIC version for GCC >= 5.0.
38032         (TLS_IE): Likewise.
38033         (TLS_LD): Likewise.
38034         (TLS_GD): Likewise.
38035         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38036         define for GCC >= 5.0.
38038 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
38040         * math/test-fenv.c (test_single_exception, set_single_exc,
38041         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38042         feexcp_mask_test, feenable_test, fe_single_test): Add
38043         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38044         case where they are not used.
38045         * math/libm-test.inc: Likewise.
38046         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38047         unused in the absence of FP rounding/exception support.
38048         * stdio-common/tst-printf-round.c: Likewise.
38049         * stdlib/tst-strtod-round.c: Likewise.
38050         * stdlib/tst-strtod-underflow.c: Likewise.
38052 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
38054         [BZ #17723]
38055         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38056         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38057         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38058         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38059         libm_hidden_weak.
38060         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38061         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38062         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38063         libm_hidden_def.
38064         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38065         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38066         libm_hidden_weak.
38067         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38068         Likewise.
38069         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38070         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38071         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38072         libm_hidden_weak.
38073         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38074         libm_hidden_def.
38075         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38076         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38077         (__feraiseexcept): Likewise.
38078         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38079         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38080         libm_hidden_weak.
38081         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38082         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38083         libm_hidden_def.
38084         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38085         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38086         Use libm_hidden_def.
38087         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38088         libm_hidden_def.
38089         (feraiseexcept): Define as weak not strong alias.  Use
38090         libm_hidden_weak.
38091         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38092         New inline function.  Factored out of ...
38093         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38094         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38095         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38096         feraiseexcept.
38097         * math/w_acos.c (__acos): Likewise.
38098         * math/w_asin.c (__asin): Likewise.
38099         * math/w_ilogb.c (__ilogb): Likewise.
38100         * math/w_j0.c (y0): Likewise.
38101         * math/w_j1.c (y1): Likewise.
38102         * math/w_jn.c (yn): Likewise.
38103         * math/w_log.c (__log): Likewise.
38104         * math/w_log10.c (__log10): Likewise.
38105         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38106         * sysdeps/aarch64/fpu/math_private.h
38107         (libc_feupdateenv_test_aarch64): Likewise.
38108         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38109         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38110         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38111         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38112         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38113         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38114         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38115         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38116         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38117         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38119 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38121         [BZ #17732]
38122         * io/test-utime.c (main): Replace %ld with %jd and cast to
38123         intmax_t.
38124         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38125         * nptl/tst-mutex5.c: Include <stdint.h>.
38126         (do_test): Replace %ld with %jd and cast to intmax_t.
38127         * posix/tst-regex.c (run_test): Likewise.
38128         (run_test_backwards): Likewise.
38129         * rt/tst-clock.c: Include <stdint.h>.
38130         (clock_test): Replace %ld with %jd and cast to intmax_t.
38131         * rt/tst-cpuclock1.c: Include <stdint.h>.
38132         (do_test): Replace %lu with %ju and cast to uintmax_t.
38133         * rt/tst-cpuclock2.c: Include <stdint.h>.
38134         (do_test): Replace %lu with %ju and cast to uintmax_t.
38135         * rt/tst-mqueue1.c: Include <stdint.h>.
38136         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38137         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38138         intmax_t.
38139         * rt/tst-mqueue4.c (do_test): Likewise.
38140         * rt/tst-timer4.c: Include <stdint.h>.
38141         (check_ts): Replace %ld with %jd and cast to intmax_t.
38142         (do_test): Likewise.
38143         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38144         and cast to intmax_t.
38145         * sysdeps/pthread/tst-timer.c (main): Likewise.
38146         * time/clocktest.c (main): Likewise.
38147         * time/tst-posixtz.c (do_test): Likewise.
38148         * timezone/tst-timezone.c (main): Likewise.
38150 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38151             H.J. Lu  <hongjiu.lu@intel.com>
38153         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38154         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38155         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38156         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38157         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38158         version if bit_Fast_Unaligned_Load is set.
38159         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38160         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38161         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38162         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38163         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38164         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38166         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38167         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38168         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38169         to 4.
38170         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38171         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38172         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38173         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38175 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38177         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38178         instead of #if to avoid a Wundef warning.
38179         * stdlib/tst-limits.c (do_test): Likewise.
38181         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38182         parallel other exception macros.
38183         (fegetenv): Convert from macro to extern inline so that it applies
38184         retroactively to inline functions already seen by the compiler.
38185         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38187         * posix/Makefile (before-compile): Use $(objpfx) for
38188         posix-conf-vars-def.h.
38190 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38192         * posix/getconf.c (main): Use size_t for type of I.
38193         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38194         NSPEC.
38196         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38197         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38198         * posix/posix-envs.def: Likewise.
38199         * sysdeps/posix/sysconf.c: Likewise.
38200         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38201         (specs): Remove array.
38202         * scripts/gen-posix-conf-vars.awk: Support generation of specs
38203         array.
38205         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38206         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38207         (__sysconf): Use CONF_IS_* macros.
38209         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38210         ($(objpfx)posix-conf-vars-def.h): New target.
38211         * posix/posix-conf-vars.list: New file.
38212         * posix/posix-conf-vars.h: New file.
38213         * posix/confstr.c: Include posix-conf-vars.h.
38214         (confstr): Use CONF_IS_* macros.
38215         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
38216         CONF_IS_* macros.
38217         * scripts/gen-posix-conf-vars.awk: New file.
38219 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
38221         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38222         fegetround): Add no-op macros to avoid linknamespace issues.
38224         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38225         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38227         * sysdeps/unix/sysv/linux/tile/sysdep.h
38228         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38229         assembly-specific section to avoid a redefinition warning.
38231         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38232         long before casting to pointer to avoid a cast warning.
38234 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
38236         * sysdeps/tile/tilegx/Implies: New file.
38238 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
38240         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38242 2014-12-23  Florian Weimer  <fweimer@redhat.com>
38244         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38246 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38249         not define.
38250         * sysdeps/unix/sysv/linux/utimes.c: Do not include
38251         <kernel-features.h>.
38252         (__utimes) [__NR_utimes]: Make code unconditional.
38253         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38254         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38255         (__ASSUME_UTIMES): Do not undefine.
38256         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38257         (__ASSUME_UTIMES): Likewise.
38258         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38259         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38260         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38261         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38263 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38265         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38267 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
38269         [BZ #17747]
38270         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38271         alias to weak alias for j0l, y0l.
38272         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38273         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38275         [BZ #17746]
38276         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38277         conversion.
38279 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38281         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38282         to zero if not already defined.
38284 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38286         [BZ #17724]
38287         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38288         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
38289         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
38290         (char *) casts added.
38291         * sysdeps/ieee754/k_standardf.c: New file.
38292         * sysdeps/ieee754/k_standardl.c: Likewise.
38293         * math/Makefile (libm-support): Remove k_standard.
38294         (libm-calls): Add k_standard.
38296 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38298         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38299         Optimize to avoid an unnecessary FPCR read.
38301 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38303         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
38304         Optimize to reduce FPCR/FPSR accesses.
38306 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38308         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
38309         Call libc_fetestexcept_aarch64.
38311 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38313         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
38314         Call libc_fesetround_aarch64.
38316 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38318         [BZ #17733]
38319         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
38320         (__bind): Do not define as weak alias.
38321         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
38322         define.
38323         (__getsockname): Do not define as weak alias.
38325 2014-12-22  Will Newton  <will.newton@linaro.org>
38327         * manual/install.texi: Document that we require bison 2.7
38328         or above.
38329         * INSTALL: Regenerate.
38330         * configure.ac: Use AC_CHECK_PROG_VER instead of
38331         AC_PATH_PROG when checking for bison and check for
38332         version 2.7 or above.
38333         * configure: Regenerate.
38335 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
38337         [BZ #17745]
38338         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
38339         * sysdeps/tile/ffsll.c (ffsll): To here.
38341         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
38343 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38345         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
38346         if not defined.
38347         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
38348         definition.
38349         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38350         hidden ___tls_get_addr.
38351         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38352         hidden __tls_get_addr.
38353         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
38354         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
38355         Likewise.
38357 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38359         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
38360         _dl_init call.
38362 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38364         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
38365         from "call _dl_init@PLT".
38366         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
38368 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
38370         * manual/search.texi: (Array Sort Function): Clarify stable sorting
38371         guarantees.
38373 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
38375         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
38377 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38379         [BZ #17744]
38380         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
38381         strnlen.
38383 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38385         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
38386         of multu on MIPSr6.
38387         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
38388         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
38389         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
38390         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
38391         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
38393 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38395         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
38396         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
38397         (PTR_SUBU): Use subu for mips32r6/mips64r6.
38398         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
38399         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
38400         mips32r6/mips64r6.
38401         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
38403 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
38405         * string/strncat.c (STRNCAT): Simplify implementation.
38407 2014-12-19  David S. Miller  <davem@davemloft.net>
38409         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
38410         access the quad as both a long double and as a series of 4 words.
38412         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
38413         link_map->l_info array access.
38415 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38417         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
38419         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
38420         * math/atest-exp2.c (TIMEOUT): Likewise.
38421         * math/atest-sincos.c (TIMEOUT): Likewise.
38423 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38425         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
38426         -Wno-error with -fno-builtin-lround.
38428 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38430         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
38431         Contains futex constants and functions moved over from ...
38432         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
38433         <lowlevellock-futex.h>.
38434         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38435         (lll_timedwait_tid): Add comments and parentheses around macro
38436         arguments.
38438 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38440         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
38441         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
38442         (__lll_private_flag): Remove.
38443         (lll_futex_wait): Likewise.
38444         (lll_futex_timed_wait): Likewise.
38445         (lll_futex_wake): Likewise.
38446         (lll_futex_requeue): Likewise.
38447         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38448         (__lll_timedwait_tid): Spell out argument names.
38449         (lll_timedwait_tid): Add comments and parentheses around macro
38450         arguments.
38451         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
38452         LLL_SHARED and LLL_PRIVATE usable from assembly code.
38454 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38456         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
38457         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38458         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38459         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
38460         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
38461         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
38462         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
38463         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
38464         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
38465         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
38466         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
38467         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
38468         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
38469         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
38470         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
38471         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
38472         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
38473         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
38474         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
38476 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38478         * sysdeps/x86_64/x32/Makefile: New file.
38480 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38482         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
38483         1L with (mp_limb_t) 1.
38485 2014-12-17  Roland McGrath  <roland@hack.frob.com>
38487         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
38488         * nptl/libc_pthread_init.c: ... here.
38489         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
38490         * nptl/register-atfork.c: ... here.
38492         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
38493         Use pthread_sigmask rather than INTERNAL_SYSCALL.
38494         Use assert_perror to check its return value.
38495         (__gai_create_helper_thread): Likewise.
38497         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
38499         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
38501 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
38503         [BZ #17725]
38504         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
38505         __profil_counter.
38506         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
38507         Likewise.
38508         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
38509         Likewise.
38510         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
38511         Likewise.
38512         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
38513         (profil_counter): Likewise.
38514         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
38515         (profil_counter): Likewise.
38516         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
38517         Likewise.
38518         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
38519         Likewise.
38520         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
38521         (profil_counter): Likewise.
38522         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
38523         Likewise.
38524         [!__profil_counter] (profil_counter): Define as weak alias of
38525         __profil_counter.
38526         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
38527         (profil_counter): Rename to __profil_counter.
38528         [!__profil_counter] (profil_counter): Define as weak alias of
38529         __profil_counter.
38530         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
38531         (profil_counter): Rename to __profil_counter.
38532         [!__profil_counter] (profil_counter): Define as weak alias of
38533         __profil_counter.
38534         * sysdeps/posix/profil.c: Update comment referring to
38535         profil_counter.
38536         (__profil): Use __profil_counter instead of profil_counter.
38537         * sysdeps/posix/sprofil.c (profil_counter): Rename to
38538         __profil_counter.  Use __profil_counter_ushort and
38539         __profil_counter_uint in definitions.
38540         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
38541         instead of profil_counter_uint and profil_counter_ushort.
38543         [BZ #17722]
38544         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
38545         define as weak alias of __inet_makeaddr.
38546         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
38547         as weak alias of __inet_addr.
38548         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
38549         as weak alias of __inet_pton.  Use libc_hidden_weak.
38550         * include/arpa/inet.h (__inet_pton): Declare.  Use
38551         libc_hidden_proto.
38552         (inet_makeaddr): Don't use libc_hidden_proto.
38553         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
38554         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
38555         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
38556         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
38557         Remove variable.
38558         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38559         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38561 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
38563         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
38565 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38567         * stdio-common/bug-vfprintf-nargs.c (do_test):
38568         Cast value to intptr_t to avoid format warning
38569         for usage with PRIdPTR printing macro.
38571 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38573         * libio/tst-widetext.c (do_test):
38574         Use format type %td instead of %Zd for ptrdiff_t
38575         in order to avoid format warning.
38577 2014-12-17  Andreas Schwab  <schwab@suse.de>
38579         * nscd/mem.c (gc): Add size_t cast to match printf format.
38581 2014-12-16  Roland McGrath  <roland@hack.frob.com>
38583         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
38584         (init): Apply PTR_MANGLE to pointers before storing them.
38585         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
38586         before using them.
38588 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
38590         [BZ #17719]
38591         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
38592         define as weak alias of __memrchr.
38593         (__memrchr): Do not define as strong alias of memrchr.
38594         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
38595         Remove variable.
38596         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38597         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38598         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38600         [BZ #17717]
38601         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
38602         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
38603         (if_indextoname): Rename to __if_indextoname and define as weak
38604         alias of __if_indextoname.  Use libc_hidden_weak.
38605         (if_freenameindex): Rename to __if_freenameindex and define as
38606         weak alias of __if_freenameindex.
38607         (if_nameindex): Rename to __if_nameindex and define as weak alias
38608         of __if_nameindex.
38609         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
38610         __if_nametoindex and define as weak alias of __if_nametoindex.
38611         Use libc_hidden_weak.
38612         (if_freenameindex): Rename to __if_freenameindex and define as
38613         weak alias of __if_freenameindex.
38614         (if_nameindex): Rename to __if_nameindex and define as weak alias
38615         of __if_nameindex.
38616         (if_indextoname): Rename to __if_indextoname and define as weak
38617         alias of __if_indextoname.  Use libc_hidden_weak.
38618         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
38619         __if_nametoindex and define as weak alias of __if_nametoindex.
38620         Use libc_hidden_weak.
38621         (if_freenameindex): Rename to __if_freenameindex and define as
38622         weak alias of __if_freenameindex.  Use libc_hidden_weak.
38623         (if_nameindex_netlink): Use __if_freenameindex instead of
38624         if_freenameindex.
38625         (if_nameindex): Rename to __if_nameindex and define as weak alias
38626         of __if_nameindex.  Use libc_hidden_weak.
38627         (if_indextoname): Rename to __if_indextoname and define as weak
38628         alias of __if_indextoname.  Use libc_hidden_weak.
38629         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38630         libc_hidden_proto.
38631         [!_ISOMAC] (__if_freenameindex): Likewise.
38632         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38633         if_nametoindex.
38634         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38635         variable.
38636         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38637         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38638         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38639         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38640         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38641         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38642         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38644         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38645         Remove variable.
38646         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38647         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38649 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38651         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38652         subscript above bounds'
38654         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38655         bounds.
38657 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38659         * libio/tst-fopenloc.c: Use test-skeleton.c.
38661         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38662         (entry): Rename to ITEM.
38663         (do_test, comp): Adjust.
38665         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38667 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38669         * string/tester.c: Include <libc-internal.h>.
38670         (test_memset): Ignore -Wmemset-transposed-args.
38672 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38674         * misc/tst-mntent2.c (do_test): Fix warning.
38676 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38678         * elf/tst-unique4lib.cc(a): Mark as used.
38680 2014-12-16  Florian Weimer  <fweimer@redhat.com>
38682         [BZ #17630]
38683         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
38684         names.
38686 2014-12-16  Allan McRae  <allan@archlinux.org>
38688         * stdio-common/Makefile (tests): Re-add bug26.
38690 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
38692         [BZ #17657]
38693         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
38694         static array.
38696 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
38698         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
38699         (__lll_lock_wait): Likewise.
38700         (__lll_timedlock_wait): Likewise.
38701         (__lll_timedwait_tid): Likewise.
38702         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
38703         (__lll_robust_timedlock_wait): Likewise.
38704         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
38705         (lll_cond_trylock): Likewise.
38706         (__lll_lock): Likewise.
38707         (__lll_robust_lock): Likewise.
38708         (__lll_cond_lock): Likewise.
38709         (lll_robust_cond_lock): Likewise.
38710         (__lll_timedlock): Likewise.
38711         (__lll_robust_timedlock): Likewise.
38712         (__lll_unlock): Likewise.
38713         (__lll_robust_unlock): Likewise.
38714         (lll_wait_tid): Likewise.
38715         (lll_timedwait_tid): Likewise.
38717 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38719         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
38721 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38723         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
38725 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38727         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
38728         * stdio-common/tst-sprintf.c: Likewise.
38730 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38732         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
38734 2014-12-15  Jeff Law  <law@redhat.com>
38736         [BZ #16617]
38737         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
38738         on the heap.  (CVE-2012-3406)
38739         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
38740         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
38741         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
38743 2014-12-15  Will Newton  <will.newton@linaro.org>
38745         * manual/install.texi: Bump required version of texinfo
38746         to 4.7 from 4.5.
38747         * INSTALL: Regenerated.
38748         * configure.ac: Check for makeinfo version 4.7 and above.
38749         * configure: Regenerated.
38751 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38753         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
38754         PREFIX, string constant to insert between directory and name.
38755         * sysdeps/posix/shm_open.c: Update caller.
38756         * sysdeps/posix/shm_unlink.c: Likewise.
38757         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38758         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
38759         (SEM_SHM_PREFIX): New macro.
38760         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
38761         [$(have-thread-library) = no].
38762         * nptl/Makefile (libpthread-routines): Add shm-directory.
38763         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
38764         * sysdeps/nptl/shm-directory.h: New file.
38765         * sysdeps/posix/shm-directory.c
38766         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
38767         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
38768         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
38769         INTERNAL_SYSCALL.
38770         (__where_is_shmfs): Function removed.
38771         (mountpoint, defaultmount, defaultdir, __namedsem_once):
38772         Variables removed.
38773         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
38774         Use SHM_GET_NAME.
38775         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
38777         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
38778         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
38779         unconditional for use inside libpthread.
38780         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
38782 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38784         * nptl/pthread_getaffinity.c: New file.
38785         * nptl/pthread_setaffinity.c: New file.
38786         * nptl/pthread_getname.c: New file.
38787         * nptl/pthread_setname.c: New file.
38789         * nptl/pthread_create.c (START_THREAD_DEFN)
38790         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
38792 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38793             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38795         * resolv/res_send.c (send_vc): Disable warning resplen may
38796         be used uninitialized.
38798 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38800         * nptl/tst-mutex6.c
38801         (ATTR_NULL): New define checks ATTR against NULL.
38802         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
38803         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
38805 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
38807         [BZ #17581]
38808         * malloc/hooks.c
38809         (mem2mem_check): Revert my previous change.
38810         (malloc_check_get_size): Revert my previous change.
38811         (mem2chunk_check): Revert my previous change.
38813 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38815         * sysdeps/posix/shm-directory.c: New file.
38816         * sysdeps/posix/shm-directory.h: New file.
38817         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
38818         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
38819         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
38820         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
38821         Transmute EPERM to EACCES.
38822         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
38823         from ...
38824         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
38825         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
38827 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38829         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
38830         pointer and cast to uintptr_t.
38831         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
38832         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
38833         Add cast to avoid warning.
38834         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
38836 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38838         * nptl/semaphore.h: Move to ...
38839         * sysdeps/pthread/semaphore.h: ... here.
38840         * Makefile (installed-headers): Change nptl/semaphore.h to
38841         sysdeps/pthread/semaphore.h.
38843 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38845         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
38846         generated error format strings.
38848         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
38849         -Wformat-extra-args warnings for scanf formats.
38850         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
38851         test of zero-length format (duh).
38852         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
38853         corner-case scanf format test.
38854         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
38855         generated fprintf format string.
38856         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
38857         corner-case sprintf format tests.
38858         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
38859         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
38860         -Wformat-extra-args warnings throughout.
38861         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
38862         (CFLAGS-scanf4.c): Likewise.
38863         (CFLAGS-scanf7.c): Likewise.
38864         (CFLAGS-tst-sprintf.c): Likewise.
38865         (CFLAGS-tst-printf.c): Likewise.
38866         (CFLAGS-tst-printfsz.c): Likewise.
38868 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38870         * include/cpio.h: New file.
38871         * include/fmtmsg.h: Likewise.
38873         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
38874         corresponding format argument to size_t.
38875         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
38876         arguments.
38877         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
38878         corresponding format argument to size_t.
38879         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
38880         arguments.
38881         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
38882         corresponding format argument to size_t.
38883         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
38884         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
38885         (CFLAGS-tst-mbswcs2.c): Likewise.
38886         (CFLAGS-tst-mbswcs3.c): Likewise.
38887         (CFLAGS-tst-mbswcs4.c): Likewise.
38888         (CFLAGS-tst-mbswcs5.c): Likewise.
38889         (CFLAGS-tst-trans.c): Likewise.
38891 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38893         * posix/regexbug1.c (main): Use "%s" format with regerror results,
38894         rather than assuming they won't contain any '%'s.
38896 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
38898         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
38899         inhibit_loop_to_libcall to avoid recursive calls.
38900         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
38901         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
38903 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38905         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
38906         prototype.
38908 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38910         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
38911         integer value instead of boolean.
38913 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38915         * malloc/malloc.c: Fix powerof2 check.
38917 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38919         * locale/programs/locfile.h (maybe_swap_uint32):
38920         Remove inline and add unused attribute.
38922 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38924         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38925         Truncating assembler expression to a .long expression.
38927 2014-12-11  Andreas Schwab  <schwab@suse.de>
38929         * elf/rtld.c (struct map_args): Constify str member.
38930         (do_preload): Constify fname argument.
38932 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38934         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
38935         constants definition.
38937 2014-12-11  Andreas Schwab  <schwab@suse.de>
38939         [BZ #16657]
38940         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
38941         FORCE_ELISION instead of DO_ELISION.
38942         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
38943         Remove.
38944         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
38945         Likewise.
38947         * iconvdata/gconv-modules: Remove duplicate entry.
38949 2014-12-11  Will Newton  <will.newton@linaro.org>
38951         Merge gettext 0.19.3 into intl/.
38953         This involves a number of cosmetic changes to comments
38954         and ANSI function definitions and prototypes throughout
38955         all the files. The gettext copyright header is used but
38956         with the date ranges taken from the glibc copy.
38958         * NEWS: Add gettext merge to 2.21.
38959         * intl/bindtextdom.c: Switch to gettext copyright.
38960         Use ANSI definitions and prototypes.
38961         Use gl_* locking primitives rather than __libc_* ones.
38962         Use __builtin_expect rather than __glibc_likely/unlikely.
38963         * intl/dcgettext.c: Switch to gettext copyright.
38964         Use ANSI definitions and prototypes.
38965         * intl/dcigettext.c: Switch to gettext copyright.
38966         Use ANSI definitions and prototypes.
38967         (INTDIV0_RAISES_SIGFPE): New define.
38968         Use gl_* locking primitives rather than __libc_* ones.
38969         Include eval-plural.h instead of plural-eval.c.
38970         Use __builtin_expect rather than __glibc_likely/unlikely.
38971         * intl/dcngettext.c: Switch to gettext copyright.
38972         Use ANSI definitions and prototypes.
38973         * intl/dgettext.c: Likewise.
38974         * intl/dngettext.c: Likewise.
38975         * intl/plural-eval.c: Renamed to...
38976         * intl/eval-plural.h: ...this.
38977         * intl/explodename.c: Switch to gettext copyright.
38978         Use ANSI definitions and prototypes.
38979         (_nl_explode_name): Use strchr instead of __rawmemchr.
38980         * intl/finddomain.c: Switch to gettext copyright.
38981         Use ANSI definitions and prototypes.
38982         Use gl_* locking primitives rather than __libc_* ones.
38983         (_nl_find_domain): Use malloc rather than alloca for
38984         allocation of temporary locale name.
38985         * intl/gettext.c: Switch to gettext copyright.
38986         Use ANSI definitions and prototypes.
38987         * intl/gettextP.h: Switch to gettext copyright.
38988         Use ANSI definitions and prototypes.
38989         Use gl_* locking primitives rather than __libc_* ones.
38990         * intl/gmo.h: Switch to gettext copyright.
38991         (struct sysdep_string): Move struct segment_pair outside of
38992         struct definition.
38993         * intl/hash-string.c: Use ANSI definitions and prototypes.
38994         * intl/hash-string.h: Switch to gettext copyright.
38995         Use ANSI definitions and prototypes.
38996         * intl/l10nflist.c: Switch to gettext copyright.
38997         Use ANSI definitions and prototypes.
38998         (_nl_normalize_codeset): Avoid integer overflow.
38999         * intl/loadinfo.h: Switch to gettext copyright.
39000         Use ANSI definitions and prototypes.
39001         (LIBINTL_DLL_EXPORTED): New define.
39002         (PATH_SEPARATOR): New define.
39003         * intl/loadmsgcat.c: Switch to gettext copyright.
39004         * intl/localealias.c: Switch to gettext copyright.
39005         Use ANSI definitions and prototypes.
39006         (_nl_expand_alias): Use PATH_SEPARATOR.
39007         * intl/ngettext.c: Switch to gettext copyright.
39008         Use ANSI definitions and prototypes.
39009         * intl/plural-exp.c: Likewise.
39010         * intl/plural-exp.h: Switch to gettext copyright.
39011         Use ANSI definitions and prototypes.
39012         (struct expression): Move definition of enum operator outside
39013         of struct definition.
39014         * intl/plural.c: Regenerate.
39015         * intl/plural.y: Switch to gettext copyright.
39016         Use ANSI definitions and prototypes.
39017         Port to bison 3.0.
39018         * intl/textdomain.c: Switch to gettext copyright.
39019         Use ANSI definitions and prototypes.
39020         Use gl_* locking primitives rather than __libc_* ones.
39022 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
39024         * debug/warning-nop.c: Add used atrribute.
39026 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39028         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39030         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39031         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39032         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39034 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39035             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39037         [BZ #17634]
39038         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39039         Undefine after defining function.  Define as weak alias of
39040         __wcschr.  Use libc_hidden_weak.
39041         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
39042         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39043         (libc_hidden_def): Also define __GI___wcschr alias.
39044         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39045         __wcschr and define as weak alias of __wcschr.
39046         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39047         __wcschr.
39048         [!WCSCHR] (DEFAULT_WCSCHR): Define.
39049         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39050         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
39051         libc_hidden_weak.  Do not use libc_hidden_def.
39052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39053         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39054         __GI___wcschr alias.
39055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39056         [IS_IN (libc)] (wcschr): Define as macro expanding to
39057         __redirect_wcschr.
39058         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39059         [IS_IN (libc)] (__wcschr_power6): Likewise.
39060         [IS_IN (libc)] (__wcschr_power7): Likewise.
39061         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39062         instead of wcschr.
39063         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39064         __libc_wcschr.
39065         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39066         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39067         __wcschr and define as weak alias of __wcschr.  Use
39068         libc_hidden_builtin_def.
39069         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39070         as weak alias of __wcschr.  Use libc_hidden_weak.
39071         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39072         wcschr.
39073         * time/era.c (_nl_init_era_entries): Likewise.
39074         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39075         variable.
39076         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39077         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39079 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39081         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39082         format for long int variable.
39084 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39086         [BZ #10672]
39087         * manual/search.texi: (Array Sort Function): Remove claim how to make
39088         qsort stable.
39090 2014-12-10  Andreas Schwab  <schwab@suse.de>
39092         [BZ #12847]
39093         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39094         user-controlled locks.
39096 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39098         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39099         register.
39101 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39103         * configure.ac (--disable-werror): New configure option.
39104         (enable_werror): New AC_SUBST.
39105         * configure: Regenerated.
39106         * config.make.in (enable-werror): New variable.
39107         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39108         -Wno-error=undef.
39109         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39110         * manual/install.texi (Configuring and compiling): Document
39111         --disable-werror.
39112         * INSTALL: Regenerated.
39113         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39114         (CFLAGS-tst-chk2.c): Likewise.
39115         (CFLAGS-tst-chk3.c): Likewise.
39116         (CFLAGS-tst-chk4.cc): Likewise.
39117         (CFLAGS-tst-chk5.cc): Likewise.
39118         (CFLAGS-tst-chk6.cc): Likewise.
39119         (CFLAGS-tst-lfschk1.c): Likewise.
39120         (CFLAGS-tst-lfschk2.c): Likewise.
39121         (CFLAGS-tst-lfschk3.c): Likewise.
39122         (CFLAGS-tst-lfschk4.cc): Likewise.
39123         (CFLAGS-tst-lfschk5.cc): Likewise.
39124         (CFLAGS-tst-lfschk6.cc): Likewise.
39126         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39127         (main): Disable -Wdeprecated-declarations around calls to
39128         register_printf_function.
39130         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39131         (do_test): Disable -Wdiv-by-zero around some calls to
39132         fwrite_unlocked and fread_unlocked.
39134         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39135         (DIAG_POP_NEEDS_COMMENT): Likewise.
39136         (_DIAG_STR1): Likewise.
39137         (_DIAG_STR): Likewise.
39138         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39139         * stdio-common/bug21.c: Include <libc-internal.h>.
39140         (do_test): Disable -Wformat around call to sscanf.
39141         * stdio-common/scanf14.c: Include <libc-internal.h>.
39142         (main): Disable -Wformat around some calls to scanf functions.
39144 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39146         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39148 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39150         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39151         stack variable alignment.
39153 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39155         [BZ #17682]
39156         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39157         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39158         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39159         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39160         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39161         __getrlimit instead of getrlimit.
39162         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39163         __gettimeofday instead of gettimeofday.
39164         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39165         Likewise.
39166         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39167         Likewise.
39168         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39169         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39170         Remove variable.
39171         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39172         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39174 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39176         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39177         for wide-character tests.
39179 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39181         * io/openat64.c: #include <libc-internal.h>
39182         (__openat64): Prototypify.  Use ignore_value on MODE.
39183         * io/openat.c: Likewise.
39184         * misc/reboot.c: #include <libc-internal.h>
39185         (reboot): Prototypify.  Use ignore_value on HOWTO.
39186         * misc/ptrace.c: #include <libc-internal.h>
39187         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
39189 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
39191         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39192         XPG4, UNIX98 and XOPEN2K.
39193         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39194         Remove variable.
39195         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39197 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39199         * libio/fileops.c: Use ISO C style for function definitions.
39200         * libio/iofopen.c: Likewise.
39201         * libio/wfileops.c: Likewise.
39203         [BZ #17653]
39204         * libio/fileops.c (_IO_new_file_underflow): Unset cached
39205         offset on EOF.
39206         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39207         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39208         (fgets_func): Function pointer to fgets and fgetws.
39209         (do_ftell_test): Add test to verify ftell value after read
39210         EOF.
39211         (do_test): Set fgets_func.
39213         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39214         O_TRUNC flag for w and w+ modes.
39215         (do_rewind_test): Likewise.
39216         (do_ftell_test): Likewise.
39217         (do_write_test): Likewise.
39219         [BZ #17647]
39220         * libio/fileops.c (do_ftell): Seek only when there are
39221         unflushed writes.
39222         * libio/wfileops.c (do_ftell_wide): Likewise.
39223         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39224         test case.
39225         (do_one_test): Call it.
39227 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
39229         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39230         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39231         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39232         Remove variable.
39233         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39234         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39235         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39237 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39239         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39240         Remove variable.
39241         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39243         [BZ #17668]
39244         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39245         as weak alias of __getifaddrs.  Use libc_hidden_weak.
39246         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39247         __freeifaddrs.  Use libc_hidden_weak.
39248         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39249         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
39250         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39251         __freeifaddrs.  Use libc_hidden_weak.
39252         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39253         __getifaddrs and define as weak alias of __getifaddrs.  Use
39254         libc_hidden_weak.
39255         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39256         __freeifaddrs.  Use libc_hidden_weak.
39257         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39258         Remove variable.
39259         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39260         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39262 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
39264         [BZ #17601]
39265         * sysdeps/mips/start.S (__start): Use indirect jump to call
39266         __libc_start_main.
39268 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39270         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39272         * nptl/tst-mutex1.c: Include <stdbool.h>.
39273         [!ATTR] (ATTR_NULL): New macro.
39274         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39275         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39276         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39278         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39279         to char *.
39281         [BZ #17665]
39282         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39283         Change conditional to [__USE_MISC].
39285         [BZ #17664]
39286         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39287         fgets_unlocked.
39288         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39289         __fgets_unlocked.
39290         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39291         fgets_unlocked.
39292         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
39293         Remove variable.
39294         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39295         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39296         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39297         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39298         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39299         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39300         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39301         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39302         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39304         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
39306 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39308         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39309         Remove strpbrk objects.
39310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39311         (__libc_ifunc_impl_list): Remove strpbrk implementation.
39312         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
39313         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39314         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
39315         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
39317         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39318         Remove strcspn objects.
39319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39320         (__libc_ifunc_impl_list): Remove strcspn implementation.
39321         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
39322         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
39323         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
39324         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
39326         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39327         Remove strspn objetcs.
39328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39329         (__libc_ifunc_impl_list): Remove strspn implementation.
39330         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
39331         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39332         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
39333         * sysdeps/powerpc/powerpc64/strspn.S: New file.
39335 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
39337         [BZ #17581]
39338         * malloc/hooks.c
39339         (mem2mem_check): Add a terminator to the chain of checking blocks.
39340         (malloc_check_get_size): Use it here.
39341         (mem2chunk_check): Ditto.
39343 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39345         * sysdeps/powerpc/powerpc64/strtok.S: New file.
39346         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
39348 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
39350         * bits/ioctl-types.h: Indent preprocessor directives correctly.
39352         * nptl/nptl-init.c: Include libc-internal.h.
39353         (__pthread_initialize_minimal_internal): Use ROUND_UP.
39355         * elf/ldconfig.c (search_dir): Expand comment.
39357 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
39359         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
39360         variable.
39361         (linknamespace-symlist-stdlibs-tests): Likewise.
39362         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
39363         instead of $(objpfx)symlist-stdlibs.
39364         (linknamespace-libs-isoc): New variable.
39365         (linknamespace-libs): Use $(linknamespace-libs-isoc).
39366         (linknamespace-libs-ISO): New variable.
39367         (linknamespace-libs-ISO99): Likewise.
39368         (linknamespace-libs-ISO11): Likewise.
39369         (linknamespace-libs-XPG3): Likewise.
39370         (linknamespace-libs-XPG4): Likewise.
39371         (linknamespace-libs-POSIX): Likewise.
39372         (linknamespace-libs-UNIX98): Likewise.
39373         (linknamespace-libs-XOPEN2K): Likewise.
39374         (linknamespace-libs-POSIX2008): Likewise.
39375         (linknamespace-libs-XOPEN2K8): Likewise.
39376         ($(objpfx)symlist-stdlibs): Replace by
39377         $(linknamespace-symlist-stdlibs-tests).  Use
39378         $(linknamespace-libs-$*) as set of libraries.
39379         ($(linknamespace-header-tests)): Update dependencies.  Use
39380         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
39381         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
39382         * conform/linknamespace.pl: Remove comment about considering
39383         definitions of symbols from irrelevant libraries.
39385 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
39387         [BZ #13862]
39388         * elf/dl-tls.c: Include <atomic.h>.
39389         (oom): Remove #ifdef SHARED/#endif.
39390         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
39391         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
39392         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
39393         big enough.
39394         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
39395         * nptl/Makefile (tests): Add tst-stack4.
39396         (modules-names): Add tst-stack4mod.
39397         ($(objpfx)tst-stack4): New.
39398         (tst-stack4mod.sos): Likewise.
39399         ($(objpfx)tst-stack4.out): Likewise.
39400         ($(tst-stack4mod.sos)): Likewise.
39401         (clean): Likewise.
39402         * nptl/tst-stack4.c: New file.
39403         * nptl/tst-stack4mod.c: Likewise.
39405 2014-11-27  J. Brown  <jb999@gmx.de>
39407         * sysdeps/x86/bits/string.h: Add recent CPUs.
39409 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39411         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
39412         sigblock.
39414         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
39415         feof.
39417         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
39418         variable.
39420 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
39422         * nscd/connections.c: Include libc-internal.h because of macro
39423         usage ignore_value.
39425 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39427         * string/bits/string3.h (__warn_memset_zero_len): Don't
39428         declare for gcc newer than 5.0.
39429         (memset): Don't test for zero-length __LEN for gcc newer than
39430         5.0.
39432 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39434         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
39435         size_t for %zu format.
39437         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
39438         difference, not %ju.
39440 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39442         * include/libc-internal.h (ignore_value): New macro.
39443         * nscd/connections.c (restart): Wrap calls to setuid and setgid
39444         with ignore_value.
39446         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
39447         definition.
39449         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
39450         pthread_cleanup_push to void *.
39452         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
39453         Undefine.
39455         [BZ #16619]
39456         [BZ #16740]
39457         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
39458         instead of 1L << 52.
39460         * libio/bug-rewind.c (do_test): Check fwscanf return values.
39461         * libio/bug-rewind2.c (do_test): Likewise.
39463         * debug/test-stpcpy_chk-ifunc.c: Remove file.
39464         * debug/test-strcpy_chk-ifunc.c: Likewise.
39465         * wcsmbs/test-wcschr-ifunc.c: Likewise.
39466         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39467         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39468         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39469         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39470         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39471         * Rules [$(multi-arch) = no] (tests): Do not filter out
39472         $(tests-ifunc).
39473         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
39474         * debug/Makefile (tests-ifunc): Remove variable.
39475         (tests): Do not add $(tests-ifunc).
39476         * wcsmbs/Makefile (tests-ifunc): Remove variable.
39477         (tests): Do not add $(tests-ifunc).
39478         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
39479         [TEST_IFUNC]: Remove conditionals.
39480         * string/test-string.h (TEST_IFUNC): Remove macro.
39481         [TEST_IFUNC]: Remove conditionals.
39483         * string/test-strchr.c [!WIDE] (L): New macro.
39484         [WIDE] (L): Likewise.
39485         (check1): Use CHAR instead of char.  Use L on string and character
39486         constants.
39488 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
39490         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
39491         tests.
39492         * sysdeps/powerpc/bits/atomic.h
39493         (__arch_atomic_exchange_and_add_32_acq): Add definition.
39494         (__arch_atomic_exchange_and_add_32_rel): Likewise.
39495         (atomic_exchange_and_add_acq): Likewise.
39496         (atomic_exchange_and_add_rel): Likewise.
39497         * sysdeps/powerpc/powerpc32/bits/atomic.h
39498         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39499         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39500         * sysdeps/powerpc/powerpc64/bits/atomic.h
39501         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39502         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39504 2014-11-26  Torvald Riegel  <triegel@redhat.com>
39506         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
39507         Change synchronization of __sched_fifo_min_prio and
39508         __sched_fifo_max_prio.
39509         * nptl/pthread_mutexattr_getprioceiling.c
39510         (pthread_mutexattr_getprioceiling): Likewise.
39511         * nptl/pthread_mutexattr_setprioceiling.c
39512         (pthread_mutexattr_setprioceiling): Likewise.
39513         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
39514         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
39515         Likewise.
39517 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39519         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
39520         void.
39522 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39524         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
39525         third argument const.
39527 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
39529         fnmatch: work around GCC compiler warning bug with uninit var
39530         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
39531         This works around a bug with x86-64 GCC 4.9.2 and earlier
39532         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
39533         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
39534         used uninitialized in this function [-Wmaybe-uninitialized]".
39536 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39538         * posix/bug-regex31.c (main): Return RES not 0.
39540 2014-11-25  Anton Blanchard <anton@samba.org>
39542         * sysdeps/powerpc/bits/atomic.h
39543         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
39545 2014-11-24  Sterling Augustine  <saugustine@google.com>
39547         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
39549 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
39551         [BZ #17608]
39552         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
39554 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
39556         [BZ #17633]
39557         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
39558         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
39559         variable.
39560         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39561         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39563 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39565         * string/strncpy.c (strncpy): Improve performance by using memset.
39567 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39569         * string/strcpy.c (strcpy):
39570         Improve performance by using strlen and memcpy.
39572 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
39574         * string/strcoll_l.c (get_next_seq): __always_inline.
39575         * string/strcoll_l.c (do_compare): __always_inline.
39577 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39579         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
39580         defined.
39581         * include/mqueue.h: Likewise.
39582         * include/stdlib.h: Likewise.
39584         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
39585         (get_null_defines): Adjust.
39586         * sunrpc/Makefile: Adjust comment.
39587         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
39588         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
39589         (CFLAGS-interp.c): Likewise.
39590         (CFLAGS-ldconfig.c): Likewise.
39591         (CPPFLAGS-.os): Likewise.
39592         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39593         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39594         * extra-modules.mk (extra-modules.mk): Likewise.
39595         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
39596         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
39597         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
39598         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
39599         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
39600         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
39601         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
39602         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
39603         * iconvdata/Makefile (CPPFLAGS): Likewise.
39604         (cpp-srcs-left): Add libof for all iconvdata routines.
39605         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
39606         * include/assert.h: Likewise.
39607         * include/ctype.h: Likewise.
39608         * include/errno.h: Likewise.
39609         * include/libc-symbols.h: Likewise.
39610         * include/math.h: Likewise.
39611         * include/netdb.h: Likewise.
39612         * include/resolv.h: Likewise.
39613         * include/stdio.h: Likewise.
39614         * include/stdlib.h: Likewise.
39615         * include/string.h: Likewise.
39616         * include/sys/stat.h: Likewise.
39617         * include/wctype.h: Likewise.
39618         * intl/l10nflist.c: Likewise.
39619         * libidn/idn-stub.c: Likewise.
39620         * libio/libioP.h: Likewise.
39621         * nptl/libc_multiple_threads.c: Likewise.
39622         * nptl/pthreadP.h: Likewise.
39623         * posix/regex_internal.h: Likewise.
39624         * resolv/res_hconf.c: Likewise.
39625         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39626         * sysdeps/arm/memmove.S: Likewise.
39627         * sysdeps/arm/sysdep.h: Likewise.
39628         * sysdeps/generic/_itoa.h: Likewise.
39629         * sysdeps/generic/symbol-hacks.h: Likewise.
39630         * sysdeps/gnu/errlist.awk: Likewise.
39631         * sysdeps/gnu/errlist.c: Likewise.
39632         * sysdeps/i386/i586/memcpy.S: Likewise.
39633         * sysdeps/i386/i586/memset.S: Likewise.
39634         * sysdeps/i386/i686/memcpy.S: Likewise.
39635         * sysdeps/i386/i686/memmove.S: Likewise.
39636         * sysdeps/i386/i686/mempcpy.S: Likewise.
39637         * sysdeps/i386/i686/memset.S: Likewise.
39638         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39639         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39640         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39641         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39642         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39643         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39644         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39645         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39646         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39647         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39648         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39649         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39650         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39651         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39652         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39653         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39654         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39655         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39656         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39657         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39658         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39659         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39660         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39661         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39662         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39663         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39664         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39665         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39666         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39667         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39668         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39669         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39671         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39672         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39673         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39674         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39675         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39676         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39678         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39679         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39680         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39681         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39682         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39683         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39684         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
39685         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
39686         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39687         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39688         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39689         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
39690         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
39691         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39692         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39693         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
39694         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39695         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
39696         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
39697         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39698         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39699         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39700         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
39701         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39702         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39703         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
39704         * sysdeps/posix/closedir.c: Likewise.
39705         * sysdeps/posix/opendir.c: Likewise.
39706         * sysdeps/posix/readdir.c: Likewise.
39707         * sysdeps/posix/rewinddir.c: Likewise.
39708         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
39709         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
39710         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39711         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39712         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39713         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
39714         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
39715         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
39716         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
39717         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
39718         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
39719         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
39720         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
39721         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
39722         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
39723         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
39724         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
39725         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
39726         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
39727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
39728         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
39729         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
39730         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
39731         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
39732         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
39733         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
39734         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
39735         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
39736         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
39737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
39738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
39739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
39740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
39741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
39742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
39743         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
39744         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39745         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39746         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
39747         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
39748         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
39749         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
39750         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
39751         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
39752         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
39753         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
39754         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
39755         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
39756         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
39757         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
39758         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
39759         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
39760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
39761         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
39762         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
39763         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
39764         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
39765         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
39766         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
39767         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
39768         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
39769         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
39770         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
39771         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
39772         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
39773         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
39774         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
39775         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
39776         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
39777         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
39778         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
39779         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39780         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
39781         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
39782         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
39783         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
39784         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
39785         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
39786         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39787         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
39788         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
39789         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39790         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
39791         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
39792         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39793         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
39794         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
39795         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39796         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39797         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39798         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
39799         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
39800         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
39801         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39802         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39803         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
39804         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39805         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39806         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
39807         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
39808         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39809         * sysdeps/unix/alpha/sysdep.S: Likewise.
39810         * sysdeps/unix/alpha/sysdep.h: Likewise.
39811         * sysdeps/unix/make-syscalls.sh: Likewise.
39812         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39813         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39814         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39815         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
39816         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39817         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
39818         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
39819         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39820         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39821         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
39822         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39823         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39824         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39825         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39826         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39827         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39828         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39829         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39830         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39831         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39832         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
39833         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39834         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39835         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39836         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39837         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39838         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39841         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
39842         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39845         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39846         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39847         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39849         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39850         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39851         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39852         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39853         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39854         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39855         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39856         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39857         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39859         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39860         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39861         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39862         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39863         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39864         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39865         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39866         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
39867         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39868         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39869         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39870         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
39871         * sysdeps/x86_64/memcpy.S: Likewise.
39872         * sysdeps/x86_64/memmove.c: Likewise.
39873         * sysdeps/x86_64/memset.S: Likewise.
39874         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
39875         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39876         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39877         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
39878         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
39879         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39880         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39881         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39882         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39883         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39884         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39885         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39886         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
39887         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39888         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39889         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
39890         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39891         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39892         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39893         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39894         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
39895         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39896         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39897         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39898         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39899         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39900         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39901         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
39902         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39903         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39904         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
39905         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39906         * sysdeps/x86_64/strcmp.S: Likewise.
39908         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
39910         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
39911         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
39912         * elf/rtld-Rules: Likewise.
39913         * elf/setup-vdso.h: Likewise.
39914         * include/assert.h: Likewise.
39915         * include/bits/stdlib-float.h: Likewise.
39916         * include/errno.h: Likewise.
39917         * include/sys/stat.h: Likewise.
39918         * include/unistd.h: Likewise.
39919         * sysdeps/aarch64/setjmp.S: Likewise.
39920         * sysdeps/alpha/setjmp.S: Likewise.
39921         * sysdeps/arm/__longjmp.S: Likewise.
39922         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
39923         * sysdeps/arm/setjmp.S: Likewise.
39924         * sysdeps/arm/sysdep.h: Likewise.
39925         * sysdeps/generic/_itoa.h: Likewise.
39926         * sysdeps/generic/dl-sysdep.h: Likewise.
39927         * sysdeps/generic/ldsodefs.h: Likewise.
39928         * sysdeps/i386/dl-tls.h: Likewise.
39929         * sysdeps/i386/setjmp.S: Likewise.
39930         * sysdeps/m68k/setjmp.c: Likewise.
39931         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
39932         * sysdeps/mach/hurd/opendir.c: Likewise.
39933         * sysdeps/posix/getcwd.c: Likewise.
39934         * sysdeps/posix/opendir.c: Likewise.
39935         * sysdeps/posix/profil.c: Likewise.
39936         * sysdeps/powerpc/dl-procinfo.h: Likewise.
39937         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39938         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39939         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39940         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39941         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
39942         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39943         * sysdeps/s390/dl-tls.h: Likewise.
39944         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39945         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39946         * sysdeps/sh/sh3/setjmp.S: Likewise.
39947         * sysdeps/sh/sh4/setjmp.S: Likewise.
39948         * sysdeps/unix/alpha/sysdep.h: Likewise.
39949         * sysdeps/unix/arm/sysdep.S: Likewise.
39950         * sysdeps/unix/i386/sysdep.S: Likewise.
39951         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39952         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39953         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39954         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39955         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39956         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39957         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39958         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39959         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39960         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39961         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
39962         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39963         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39966         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39967         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39968         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39969         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39970         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39971         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39972         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39973         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39974         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39975         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39976         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39978         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39979         * sysdeps/x86_64/setjmp.S: Likewise.
39981         * include/math.h: Use IS_IN instead of IS_IN_libm.
39982         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
39983         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39984         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39985         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
39986         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39987         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39988         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39989         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39990         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39991         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39992         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
39993         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
39994         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
39995         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
39996         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
39997         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
39998         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
39999         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40000         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40001         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40002         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40003         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40004         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40005         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40006         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40007         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40008         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40009         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40010         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40011         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40012         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40013         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40014         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40016         Likewise.
40017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40018         Likewise.
40019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40020         Likewise.
40021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40022         Likewise.
40023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40024         Likewise.
40025         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40026         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40027         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40028         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40029         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40030         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40036         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40037         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40038         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40039         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40040         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40041         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40042         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40043         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40044         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40045         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40046         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40047         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40048         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40049         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40051         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40053         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40054         * nptl/pthreadP.h: Likewise.
40055         * nptl_db/structs.def: Likewise.
40056         * sysdeps/arm/sysdep.h: Likewise.
40057         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40058         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40059         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40060         * sysdeps/unix/alpha/sysdep.h: Likewise.
40061         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40063         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40064         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40065         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40066         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40067         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40068         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40069         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40070         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40071         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40072         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40073         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40074         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40079         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40082         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40083         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40084         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40085         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40086         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40088         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40089         * nptl/pthreadP.h: Likewise.
40090         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40091         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40092         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40093         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40094         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40095         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40096         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40097         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40098         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40099         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40100         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40101         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40103         Likewise.
40104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40105         Likewise.
40106         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40108         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40109         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40110         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40111         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40112         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40113         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40115         * dlfcn/dladdr.c: Use IS_IN.
40116         * dlfcn/dladdr1.c: Likewise.
40117         * dlfcn/dlclose.c: Likewise.
40118         * dlfcn/dlerror.c: Likewise.
40119         * dlfcn/dlinfo.c: Likewise.
40120         * dlfcn/dlmopen.c: Likewise.
40121         * dlfcn/dlopen.c: Likewise.
40122         * dlfcn/dlsym.c: Likewise.
40123         * dlfcn/dlvsym.c: Likewise.
40125         * include/ifaddrs.h: Use IS_IN.
40126         * inet/check_pf.c: Likewise.
40127         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40128         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40130         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40131         IS_IN_ldconfig.
40132         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40133         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40135         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40136         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40137         IS_IN (libc).
40139         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40141         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40142         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40143         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40144         * include/libc-symbols.h (IS_IN_LIB): New macro.
40145         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40146         * include/netdb.h: Likewise.
40147         * include/stap-probe.h: Remove all uses of IN_LIB.
40149         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40150         instead of IN_MODULE.
40151         * include/libc-symbols.h (IN_MODULE): Define using
40152         MODULE_NAME.
40153         (PASTE_NAME, PASTE_NAME1): New macros.
40154         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40155         of IN_LIB.
40156         (STAP_PROBE_ASM): Likewise.
40158 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40160         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40161         __mach_init in dlopened libc.
40163 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40165         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40166         * sysdeps/arm/preconfigure: Regenerate.
40168 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40170         * nptl/pthread_create.c (__pthread_create_2_1): Set
40171         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40172         when copying values from IATTR into PD.
40174 2014-11-21  Will Newton  <will.newton@linaro.org>
40175             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40177         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40178         Refactor inline-asm.  Also add comment.
40180         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40181         ElfW macro instead of hardcoded Elf64 types.
40182         (la_aarch64_gnu_pltenter): Likewise.
40183         * sysdeps/aarch64/dl-machine.h
40184         (elf_machine_runtime_setup): Use ElfW(Addr).
40186         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40187         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40188         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40189         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40190         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40191         (R_AARCH64_TLS_DTPMOD64): Rename to ..
40192         (R_AARCH64_TLS_DTPMOD): This.
40193         (R_AARCH64_TLS_DTPREL64): Rename to ...
40194         (R_AARCH64_TLS_DTPREL): This.
40195         (R_AARCH64_TLS_TPREL64): Rename to ...
40196         (R_AARCH64_TLS_TPREL): This.
40197         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40198         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40199         R_AARCH64_TLS_TPREL64.
40200         (elf_machine_rela): Likewise.
40202 2014-11-21  Torvald Riegel  <triegel@redhat.com>
40204         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40205         by setting it to 0.  64b atomics are not supported currently.
40207 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40209         [BZ #16469]
40210         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40211         search domain names.
40213 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40215         [BZ #16469]
40216         * NEWS: Update.
40217         * resolv/res_query.c (__libc_res_nquerydomain): Retain
40218         trailing dot.
40219         * posix/tst-getaddrinfo5.c: New.
40220         * posix/Makefile (tests): Add it.
40222 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40224         [BZ #14498]
40225         * NEWS: Fixed.
40226         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40227         after parsing line but before break_if_match.
40228         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40229         if there is a protocol mismatch.
40231 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40233         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40234         because the potential race is on the user-supplied stream.
40236 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40238         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40239         string literal if not passed a buffer.
40240         * manual/job.texi (ctermid): Update reasoning, note deviation
40241         from posix, suggest mtasurace when not passed a buffer, for
40242         future non-preliminary safety notes.
40244 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40246         * manual/users.texi (cuserid): Fix MT-Safety note for the case
40247         of not passing it a buffer.
40248         Reported by Peng Haitao.
40250 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40252         * manual/Makefile ($(objpfx)stamp-summary): Require
40253         check-safety.sh to pass.
40254         * manual/check-safety.sh: Wish for verification that every
40255         @deftypefn and @deftypefun is followed by a @safety remark.
40257 2014-11-20  Roland McGrath  <roland@hack.frob.com>
40259         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40261         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40262         PTHREAD_CANCEL_ASYNCHRONOUS.
40263         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40264         send SIGCANCEL.
40266         * nptl/default-sched.h: New file.
40267         * sysdeps/unix/sysv/linux/default-sched.h: New file.
40268         * nptl/pthread_create.c: Include it.
40269         (__pthread_create_2_1): Use collect_default_sched instead of making
40270         Linux syscalls here directly.
40272 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40274         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40275         __pthread_once): Use C11 atomics.
40277 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40279         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40281 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40283         * include/atomic.h (__atomic_link_error, __atomic_check_size,
40284         atomic_thread_fence_acquire, atomic_thread_fence_release,
40285         atomic_thread_fence_seq_cst, atomic_load_relaxed,
40286         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40287         atomic_compare_exchange_weak_relaxed,
40288         atomic_compare_exchange_weak_acquire,
40289         atomic_compare_exchange_weak_release,
40290         atomic_exchange_acquire, atomic_exchange_release,
40291         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
40292         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
40293         atomic_fetch_and_acquire,
40294         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
40296 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40298         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
40299         USE_ATOMIC_COMPILER_BUILTINS): Define.
40300         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
40301         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40302         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40303         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40304         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
40305         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40306         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
40307         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40308         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
40309         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40310         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
40311         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40312         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
40313         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40314         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
40315         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40316         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40317         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40318         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40319         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40320         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
40321         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40322         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40323         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40324         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
40325         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40326         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40327         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40328         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
40329         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40330         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
40331         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40332         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
40333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40334         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40335         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40336         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
40337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40338         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
40339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40341 2014-11-19  Roland McGrath  <roland@hack.frob.com>
40343         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
40344         the sched_priority value here.  It was already checked when the user
40345         called pthread_attr_setschedparam.
40347         * nptl/tst-bad-schedattr.c: New file.
40348         * nptl/Makefile (tests): Add it.
40350 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
40351             Florian Weimer  <fweimer@redhat.com>
40352             Joseph Myers  <joseph@codesourcery.com>
40353             Adam Conrad  <adconrad@0c3.net>
40354             Andreas Schwab  <schwab@suse.de>
40355             Brooks  <bmoses@google.com>
40357         [BZ #17625]
40358         * wordexp-test.c (__dso_handle): Add prototype.
40359         (__register_atfork): Likewise.
40360         (__app_register_atfork): New function.
40361         (registered_forks): New global.
40362         (register_fork): New function.
40363         (test_case): Add 3 new tests for WRDE_CMDSUB.
40364         (main): Call __app_register_atfork.
40365         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
40366         fork count is non-zero fail the test.
40367         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
40368         is set.
40369         (parse_dollars): Remove check for WRDE_NOCMD.
40370         (parse_dquote): Likewise.
40372 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40374         * Makeconfig (built-modules): List non-library modules to be
40375         built.
40376         (module-cppflags): Include libc-modules.h for
40377         everything except shlib-versions.v.i.
40378         (CPPFLAGS): Use it.
40379         (before-compile): Add libc-modules.h.
40380         ($(common-objpfx)libc-modules.h,
40381         $(common-objpfx)libc-modules.stmp): New targets.
40382         (common-generated): Add libc-modules.h and libc-modules.stmp.
40383         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
40384         * include/libc-symbols.h: Don't include libc-modules.h.
40385         * include/libc-modules.h: Remove file.
40386         * scripts/gen-libc-modules.awk: New script to generate
40387         libc-modules.h.
40388         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
40389         Depend on libc-modules.stmp.
40391         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
40393         * Makeconfig (in-module): Get value of libof set for the
40394         translation unit.
40395         (CPPFLAGS): Use $(in-module).
40396         * Makerules: Don't suffix routine names for nonlib.
40397         * include/libc-modules.h: New file.
40398         * include/libc-symbols.h: Include libc-modules.h
40399         (IS_IN): New macro to replace IS_IN_* macros.
40400         * elf/Makefile: Set libof-* for each routine.
40401         * elf/rtld-Rules: Likewise.
40402         * extra-modules.mk: Likewise.
40403         * iconv/Makefile: Likewise.
40404         * iconvdata/Makefile: Likewise.
40405         * locale/Makefile: Likewise.
40406         * malloc/Makefile: Likewise.
40407         * nss/Makefile: Likewise.
40408         * sysdeps/gnu/Makefile: Likewise.
40409         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
40410         * sysdeps/unix/sysv/linux/Makefile: Likewise.
40411         * sysdeps/s390/s390-64/Makefile: Likewise.
40412         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
40413         CPPFLAGS for nscd instead of nonlib.
40415 2014-11-18  Roland McGrath  <roland@hack.frob.com>
40417         * nptl/createthread.c: New file.
40419         * nptl/createthread.c: Moved ...
40420         * sysdeps/unix/sysv/linux/createthread.c: ... here.
40422         * nptl/createthread.c: Add proper top-line comment.
40423         (do_clone): Folded into ...
40424         (create_thread): ... here.  Take new arguments STOPPED_START and
40425         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
40426         increment __nptl_threads, do event-reporting logic, do
40427         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
40428         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
40429         resource cleanup if sched_setaffinity or sched_setscheduler fails,
40430         just send SIGCANCEL.
40431         * nptl/pthread_create.c: Forward-declare create_thread before
40432         including createthread.c.
40433         (start_thread): Use new macro START_THREAD_DEFN to replace defining
40434         declaration, and new macro START_THREAD_SELF to replace argument.
40435         Remove return statement.
40436         (report_thread_creation): New function.
40437         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
40438         synchronization logic, and __nptl_nthreads increment here, around
40439         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
40440         PD->parent_cancelhandling here, before create_thread.  When
40441         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
40442         __deallocate_stack, and ENOMEM translation here.
40444 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
40446         [BZ #17616]
40447         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
40448         (mptwo): Rename to __mptwo.
40449         (__inv): Use __mptwo instead of mptwo.
40450         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
40451         (mptwo): Rename to __mptwo.
40452         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
40453         of mpone and __mptwo instead of mptwo.
40454         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
40455         instead of mpone.
40456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40457         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
40458         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
40459         of mpone and __mptwo instead of mptwo.
40460         (__mpranred): Use __mpone instead of mpone.
40461         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
40462         variable.
40463         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40464         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40465         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40466         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40467         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40468         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40469         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40470         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40471         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40472         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40473         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40474         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40475         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40476         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40477         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40478         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40479         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40480         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40481         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40483 2014-11-18  Tom de Vries  <tom@codesoucery.com>
40485         * manual/signal.texi (Primitives Interrupted by Signals): In section,
40486         replace BSD Handler xref with BSD Signal Handling.
40488 2014-11-17  Richard Henderson  <rth@redhat.com>
40490         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
40491         (_FP_PACK_RAW_2): Remove.
40492         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
40493         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
40494         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
40495         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
40496         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
40497         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
40498         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
40499         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
40500         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
40501         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
40502         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
40503         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
40504         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
40505         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
40506         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
40507         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
40509 2014-11-14  Roland McGrath  <roland@hack.frob.com>
40511         * signal/signal.h [__USE_MISC]
40512         (struct sigvec): Remove type.
40513         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
40514         (sigvec): Remove declaration.
40515         * sysdeps/posix/sigvec.c: Moved ...
40516         * signal/sigvec.c: ... here, replacing old file.
40517         (struct sigvec): New type, copied from old signal.h definition.
40518         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
40519         (__sigvec): Convert definition to prototype.
40520         (sigvec): Replace weak_alias with compat_symbol.
40521         * signal/Versions (libc: GLIBC_2.21): New version set.
40522         * include/signal.h: Remove __sigvec declaration.
40523         * sysdeps/unix/bsd/sigvec.c: Remove file.
40524         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
40525         * manual/signal.texi (BSD Handler): Remove subsection.
40526         Move siginterrupt up to ...
40527         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
40528         (Blocking in BSD): Fold subsection into its parent.
40529         * NEWS: Mention sigvec removal.
40531 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40533         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
40534         (DLA_FMS): Make definition conditional only on [__FMA4__].
40535         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
40536         definition.
40538         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
40539         Make definition conditional only on [PROF].
40540         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
40541         definition.
40542         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
40543         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
40545         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
40546         !__GNUC__].
40547         * include/signal.h (__sigpause): Move declaration above call to
40548         libc_hidden_proto.
40549         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
40550         variable.
40551         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40552         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40554 2014-11-14  David S. Miller  <davem@davemloft.net>
40556         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
40557         Define before including <string/memcpy.c> and <string/mempcpy.c>.
40559 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40561         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
40562         * configure: Regenerated.
40563         * manual/install.texi (Tools for Compilation): Document a
40564         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
40565         compiler verified to work.
40566         * INSTALL: Regenerated.
40568         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
40569         redeclare with asm name.
40570         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
40571         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
40572         including <string.h>.
40573         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40574         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
40575         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40576         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
40577         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40578         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
40579         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40581 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
40583         * stdlib/strtol.c (__strtol): Use prototype definition.
40585         [BZ #17594]
40586         * stdlib/strtol.c (SYM__): New macro.
40587         (SYM__1): Likewise.
40588         (__strtol): Likewise.
40589         (strtol): Rename to __strtol and define as weak alias of
40590         __strtol.  Use libc_hidden_weak.
40592 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40594         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
40595         Use numbered labels in inline assembly.
40597 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40599         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
40600         Add setjmp LIBC_PROBE.
40601         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
40602         Likewise.
40603         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
40604         Add longjmp, longjmp_target LIBC_PROBE.
40605         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
40606         Likewise.
40608 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40610         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40611         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
40612         to get rid of unused variable warning.
40614 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40616         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
40617         Check for unwind_backtrace ==  NULL only in SHARED case.
40618         (__backchain_backtrace): Compile only in SHARED case.
40619         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
40620         Likewise.
40621         (__backchain_backtrace): Declare as static.
40623 2014-11-12  Roland McGrath  <roland@hack.frob.com>
40625         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40626         (__libc_multiple_threads_ptr): Variable moved ...
40627         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40629 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
40631         * conform/GlibcConform.pm: New file.
40632         * conform/conformtest.pl: Use GlibcConform module.
40633         * conform/linknamespace.pl: New file.
40634         * conform/list-header-symbols.pl: Likewise.
40635         * conform/Makefile (linknamespace-symlists-base): New variable.
40636         (linknamespace-symlists-tests): Likewise.
40637         (linknamespace-header-base): Likewise.
40638         (linknamespace-header-tests): Likewise.
40639         (tests-special): Add new tests.
40640         ($(linknamespace-symlists-tests)): New rule.
40641         (linknamespace-libs): New variable.
40642         ($(objpfx)symlist-stdlibs): New rule.
40643         ($(linknamespace-header-tests)): Likewise.
40644         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40645         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40646         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40647         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40648         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40649         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40650         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40651         (test-xfail-ISO/math.h/linknamespace): Likewise.
40652         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40653         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40654         (test-xfail-ISO/time.h/linknamespace): Likewise.
40655         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40656         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40657         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40658         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40659         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40660         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40661         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40662         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40663         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40664         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40665         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40666         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40667         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40668         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40669         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40670         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40671         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40672         (test-xfail-XPG3/search.h/linknamespace): Likewise.
40673         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40674         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40675         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40676         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40677         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40678         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40679         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40680         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40681         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
40682         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
40683         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40684         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
40685         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40686         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
40687         (test-xfail-XPG4/search.h/linknamespace): Likewise.
40688         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
40689         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
40690         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
40691         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
40692         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
40693         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40694         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
40695         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
40696         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
40697         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
40698         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
40699         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40700         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
40701         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
40702         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
40703         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40704         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
40705         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40706         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40707         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
40708         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
40709         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40710         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40711         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
40712         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
40713         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
40714         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40715         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40716         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40717         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
40718         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
40719         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40720         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40721         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
40722         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40723         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
40724         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
40725         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
40726         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
40727         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40728         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40729         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
40730         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40731         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
40732         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
40733         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
40734         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
40735         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40736         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
40737         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
40738         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
40739         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
40740         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
40741         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40742         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40743         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40744         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
40745         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
40746         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
40747         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40748         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
40749         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
40750         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40751         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
40752         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
40753         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
40754         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40755         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40756         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
40757         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
40758         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40759         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40760         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
40761         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
40762         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
40763         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
40764         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40765         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40766         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
40767         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40768         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
40769         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40770         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40771         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40772         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
40773         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40774         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
40775         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
40776         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
40777         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40778         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40779         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40780         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40781         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
40782         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40783         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40784         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
40785         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40786         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
40787         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
40788         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40789         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40790         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40791         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40792         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
40793         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40794         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
40795         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
40796         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
40797         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40798         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
40799         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40800         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40801         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
40802         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40803         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40804         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
40806         [BZ #17589]
40807         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
40808         of fgets_unlocked.
40810         [BZ #17585]
40811         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
40812         (memmem): Rename to __memmem and define as weak alias of
40813         __memmem.  Use libc_hidden_weak.
40814         (__memmem): Use libc_hidden_def.
40815         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
40816         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
40817         memmem.
40819         [BZ #17582]
40820         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
40821         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
40822         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
40823         and define as weak alias of __fgets_unlocked.  Use
40824         libc_hidden_weak.
40825         (__fgets_unlocked): Use libc_hidden_def.
40826         * include/stdio.h (__fgets_unlocked): Declare.  Use
40827         libc_hidden_proto.
40828         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
40829         __fgets_unlocked instead of fgets_unlocked.
40830         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
40831         (GET_NPROCS_CONF_PARSER): Likewise.
40832         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
40833         (GET_NPROCS_CONF_PARSER): Likewise.
40835         [BZ #17574]
40836         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
40837         weak alias of __wmemset.  Use libc_hidden_weak.
40838         (__wmemset): Use libc_hidden_def.
40839         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
40840         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
40841         of wmemset.
40843         [BZ #17573]
40844         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
40845         with asm name __mempcpy.
40846         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
40848         [BZ #17572]
40849         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
40850         and define as weak alias of __rawmemchr.
40851         (__rawmemchr): Do not define as strong alias of rawmemchr.
40853         [BZ #17571]
40854         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
40855         alias of __qsort_r.
40856         (qsort): Call __qsort_r instead of qsort_r.
40857         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
40858         (__qsort_r): Declare.  Call libc_hidden_proto.
40859         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
40860         instead of qsort_r.
40861         * nscd/gai.c (__qsort_r): Define to qsort_r.
40862         * posix/tst-rfc3484.c (__qsort_r): Likewise.
40863         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
40864         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
40866         [BZ #17570]
40867         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
40868         define as weak alias of __malloc_info.
40870         [BZ #17584]
40871         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
40872         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40873         (__rewinddir): Use libc_hidden_def.
40874         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
40875         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40876         (__rewinddir): Use libc_hidden_def.
40877         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
40878         weak alias of __rewinddir.  Don't use libc_hidden_def.
40879         (__rewinddir): Use libc_hidden_def.
40880         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
40881         (__rewinddir): Use libc_hidden_proto.
40882         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
40883         rewinddir.
40884         (__getcwd): Use __rewinddir instead of rewinddir.
40886         [BZ #17583]
40887         * libio/fileno.c (fileno): Rename to __fileno and define as weak
40888         alias of __fileno.  Use libc_hidden_weak.
40889         (__fileno): Use libc_hidden_def.
40890         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
40891         * libio/ftello.c (ftello): Rename to __ftello and define as weak
40892         alias of __ftello.
40893         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
40894         __ftello.
40895         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
40896         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
40897         libc_hidden_def.
40898         (fread_unlocked): Don't use libc_hidden_ver.
40899         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
40900         and define as weak alias of __fread_unlocked.  Don't use
40901         libc_hidden_def.
40902         (__fread_unlocked): Use libc_hidden_def.
40903         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
40904         (ftello): Don't use libc_hidden_proto.
40905         (__ftello): Declare.  Use libc_hidden_proto.
40906         (fread_unlocked): Don't use libc_hidden_proto.
40907         (__fread_unlocked): Declare.  Use libc_hidden_proto.
40908         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
40909         and __ftello instead of fileno, fread_unlocked and ftello.
40911 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40913         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
40914         GOT12.
40915         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40916         Likewise.
40917         (_dl_start_user): Likewise.
40918         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
40920 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
40921             Siddhesh Poyarekar  <siddhesh@redhat.com>
40923         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
40924         Move argv and envp down instead of moving argc up.
40925         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
40927 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
40929         [BZ #17506]
40930         * test-skeleton.c (main): Return successful if one of
40931         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
40932         * string/tst-strcoll-overflow.c: Define expected status.
40934 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
40936         [BZ #17475]
40937         * locale/iso-639.def: Define Bhili and Tulu language codes.
40939 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
40941         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
40943 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
40945         [BZ #17555]
40946         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
40948 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40950         * configure.ac: Updated check of minimal required version to
40951         2.22.
40952         * manual/install.texi (Tools for Compilation): Updated version
40953         number.
40954         * configure: Regenerated.
40955         * INSTALL: Likewise.
40957 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
40959         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
40960         __tls_get_addr.
40962 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
40964         * include/sys/wait.h (__libc_waitpid): Remove declaration.
40965         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
40966         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40967         libc_hidden_weak.
40968         (waitpid): Define as alias of __waitpid.
40969         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
40970         __waitpid.
40971         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40972         libc_hidden_weak.
40973         (waitpid): Define as alias of __waitpid.
40974         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
40975         __libc_waitpid alias.
40976         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
40977         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
40978         Likewise.
40979         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
40980         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
40981         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
40982         alias.
40983         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
40984         __waitpid.
40985         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40986         libc_hidden_weak.
40987         (waitpid): Define as alias of __waitpid.
40989 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
40991         * manual/llio.texi: Add comment that write safety has been
40992         fixed in Linux.
40994         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
40995         (localplt-build-dso): Add elf/ld.so.
40996         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
40997         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
40998         and free for ld.so.
40999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41000         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41002         Likewise.
41003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41004         Likewise.
41005         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41006         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41007         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41008         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41009         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41010         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41011         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41012         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41013         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41014         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41015         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41017 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
41019         [BZ #14132]
41020         * include/libc-symbols.h (INTUSE): Remove macro.
41021         (INTDEF): Likewise.
41022         (INTVARDEF): Likewise.
41023         (_INTVARDEF): Likewise.
41024         (INTDEF2): Likewise.
41025         (INTVARDEF2): Likewise.
41026         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41027         rtld_hidden_def instead of INTVARDEF.
41028         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41029         (_dl_starting_up_internal): Remove declaration.
41030         (_dl_starting_up): Use rtld_hidden_proto.
41031         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41032         declaration.
41033         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41034         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41035         _dl_starting_up.
41036         * elf/dl-writev.h (_dl_writev): Likewise.
41037         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41038         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41039         _dl_starting_up_internal.
41041 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41043         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41044         test-skeleton.c.
41046 2014-11-05  Will Newton  <will.newton@linaro.org>
41048         * benchtests/Makefile: (bench-malloc): Add malloc thread
41049         scalability benchmark.
41050         * benchtests/bench-malloc-threads.c: New file.
41052 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
41054         * sysdeps/aarch64/strchrnul.S: New file.
41056 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41058         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41059         definition.
41060         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41061         Likewise.
41062         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41063         Likewise.
41064         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41065         Likewise.
41066         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41067         Likewise.
41068         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41069         Likewise.
41071 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41073         * catgets/test-gencat.c: Use test-skeleton.c.
41074         * catgets/tst-catgets.c: Likewise.
41075         * csu/tst-empty.c: Likewise.
41076         * elf/tst-audit2.c: Likewise.
41077         * elf/tst-global1.c: Likewise.
41078         * elf/tst-pathopt.c: Likewise.
41079         * elf/tst-piemod1.c: Likewise.
41080         * elf/tst-tls10.c: Likewise.
41081         * elf/tst-tls11.c: Likewise.
41082         * elf/tst-tls12.c: Likewise.
41083         * gnulib/tst-gcc.c: Likewise.
41084         * iconvdata/tst-e2big.c: Likewise.
41085         * iconvdata/tst-loading.c: Likewise.
41086         * iconv/tst-iconv1.c: Likewise.
41087         * iconv/tst-iconv2.c: Likewise.
41088         * inet/test-inet6_opt.c: Likewise.
41089         * inet/tst-gethnm.c: Likewise.
41090         * inet/tst-network.c: Likewise.
41091         * inet/tst-ntoa.c: Likewise.
41092         * intl/tst-codeset.c: Likewise.
41093         * intl/tst-gettext2.c: Likewise.
41094         * intl/tst-gettext3.c: Likewise.
41095         * intl/tst-ngettext.c: Likewise.
41096         * intl/tst-translit.c: Likewise.
41097         * io/test-stat.c: Likewise.
41098         * libio/test-fmemopen.c: Likewise.
41099         * libio/tst-freopen.c: Likewise.
41100         * libio/tst-sscanf.c: Likewise.
41101         * libio/tst-ungetwc1.c: Likewise.
41102         * libio/tst-ungetwc2.c: Likewise.
41103         * libio/tst-widetext.c: Likewise.
41104         * localedata/tst-ctype.c: Likewise.
41105         * localedata/tst-digits.c: Likewise.
41106         * localedata/tst-leaks.c: Likewise.
41107         * localedata/tst-mbswcs1.c: Likewise.
41108         * localedata/tst-mbswcs2.c: Likewise.
41109         * localedata/tst-mbswcs3.c: Likewise.
41110         * localedata/tst-mbswcs4.c: Likewise.
41111         * localedata/tst-mbswcs5.c: Likewise.
41112         * localedata/tst-setlocale.c: Likewise.
41113         * localedata/tst-trans.c: Likewise.
41114         * localedata/tst-wctype.c: Likewise.
41115         * localedata/tst-xlocale1.c: Likewise.
41116         * login/tst-grantpt.c: Likewise.
41117         * malloc/tst-calloc.c: Likewise.
41118         * malloc/tst-malloc.c: Likewise.
41119         * malloc/tst-mallocstate.c: Likewise.
41120         * malloc/tst-mcheck.c: Likewise.
41121         * malloc/tst-mtrace.c: Likewise.
41122         * malloc/tst-obstack.c: Likewise.
41123         * math/atest-exp2.c: Likewise.
41124         * math/atest-exp.c: Likewise.
41125         * math/atest-sincos.c: Likewise.
41126         * math/test-matherr.c: Likewise.
41127         * math/test-misc.c: Likewise.
41128         * math/test-powl.c: Likewise.
41129         * math/tst-definitions.c: Likewise.
41130         * misc/tst-dirname.c: Likewise.
41131         * misc/tst-efgcvt.c: Likewise.
41132         * misc/tst-fdset.c: Likewise.
41133         * misc/tst-hsearch.c: Likewise.
41134         * misc/tst-mntent2.c: Likewise.
41135         * nptl/tst-sem7.c: Likewise.
41136         * nptl/tst-sem8.c: Likewise.
41137         * nptl/tst-sem9.c: Likewise.
41138         * nss/test-netdb.c: Likewise.
41139         * posix/tst-fnmatch.c: Likewise.
41140         * posix/tst-getlogin.c: Likewise.
41141         * posix/tst-gnuglob.c: Likewise.
41142         * posix/tst-mmap.c: Likewise.
41143         * pwd/tst-getpw.c: Likewise.
41144         * resolv/tst-inet_ntop.c: Likewise.
41145         * rt/tst-timer.c: Likewise.
41146         * stdio-common/test-fseek.c: Likewise.
41147         * stdio-common/test-popen.c: Likewise.
41148         * stdio-common/test-vfprintf.c: Likewise.
41149         * stdio-common/tst-cookie.c: Likewise.
41150         * stdio-common/tst-fileno.c: Likewise.
41151         * stdio-common/tst-gets.c: Likewise.
41152         * stdio-common/tst-obprintf.c: Likewise.
41153         * stdio-common/tst-perror.c: Likewise.
41154         * stdio-common/tst-sprintf2.c: Likewise.
41155         * stdio-common/tst-sprintf3.c: Likewise.
41156         * stdio-common/tst-sprintf.c: Likewise.
41157         * stdio-common/tst-swprintf.c: Likewise.
41158         * stdio-common/tst-tmpnam.c: Likewise.
41159         * stdio-common/tst-unbputc.c: Likewise.
41160         * stdio-common/tst-wc-printf.c: Likewise.
41161         * stdlib/tst-environ.c: Likewise.
41162         * stdlib/tst-fmtmsg.c: Likewise.
41163         * stdlib/tst-limits.c: Likewise.
41164         * stdlib/tst-rand48-2.c: Likewise.
41165         * stdlib/tst-rand48.c: Likewise.
41166         * stdlib/tst-random2.c: Likewise.
41167         * stdlib/tst-random.c: Likewise.
41168         * stdlib/tst-strtol.c: Likewise.
41169         * stdlib/tst-strtoll.c: Likewise.
41170         * stdlib/tst-tls-atexit.c: Likewise.
41171         * stdlib/tst-xpg-basename.c: Likewise.
41172         * string/test-ffs.c: Likewise.
41173         * string/tst-bswap.c: Likewise.
41174         * string/tst-inlcall.c: Likewise.
41175         * string/tst-strtok.c: Likewise.
41176         * string/tst-strxfrm.c: Likewise.
41177         * sysdeps/x86_64/tst-audit10.c: Likewise.
41178         * sysdeps/x86_64/tst-audit3.c: Likewise.
41179         * sysdeps/x86_64/tst-audit4.c: Likewise.
41180         * sysdeps/x86_64/tst-audit5.c: Likewise.
41181         * time/tst-ftime_l.c: Likewise.
41182         * time/tst-getdate.c: Likewise.
41183         * time/tst-mktime3.c: Likewise.
41184         * time/tst-mktime.c: Likewise.
41185         * time/tst-posixtz.c: Likewise.
41186         * time/tst-strptime2.c: Likewise.
41187         * time/tst-strptime3.c: Likewise.
41188         * wcsmbs/tst-btowc.c: Likewise.
41189         * wcsmbs/tst-mbrtowc.c: Likewise.
41190         * wcsmbs/tst-mbsrtowcs.c: Likewise.
41191         * wcsmbs/tst-wchar-h.c: Likewise.
41192         * wcsmbs/tst-wcpncpy.c: Likewise.
41193         * wcsmbs/tst-wcrtomb.c: Likewise.
41194         * wcsmbs/tst-wcsnlen.c: Likewise.
41195         * wcsmbs/tst-wcstof.c: Likewise.
41197 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
41199         [BZ #14132]
41200         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41201         INTDEF.
41202         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41203         declaration.
41204         (_dl_mcount): Use rtld_hidden_proto.
41205         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41206         _dl_mcount.
41207         * elf/rtld.c (_rtld_global_ro): Likewise.
41209         [BZ #14132]
41210         * elf/dl-init.c (_dl_init): Don't use INTDEF.
41211         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41212         of _dl_init_internal.
41213         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41214         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41215         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41216         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41217         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41218         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41219         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41220         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41221         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41222         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41223         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41224         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41225         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41226         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41227         * sysdeps/tile/dl-start.S (_start): Likewise.
41228         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41229         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41231         [BZ #14132]
41232         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41233         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41234         (rtld_progname): Make macro definition unconditional.
41235         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41236         INTDEF.
41237         (dlmopen_doit): Do not use INTUSE with _dl_argv.
41238         (dl_main): Likewise.
41239         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41240         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41241         instead of _dl_argv_internal.
41242         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41243         __GI__dl_argv instead of INTUSE(_dl_argv).
41244         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41245         __GI__dl_argv instead of _dl_argv_internal.
41247         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41248         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41249         macro.
41250         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41251         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41252         New macro.
41253         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41254         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41255         macro.
41256         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41257         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41259 2014-11-04  Andreas Schwab  <schwab@suse.de>
41261         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41263 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41265         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41266         mtvsrd instruction in binary form.
41268 2014-11-03  Andreas Schwab  <schwab@suse.de>
41270         [BZ #17522]
41271         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41272         for less than MB_LEN_MAX use a local buffer of that size.
41273         * libio/tst-fputws.c: New file.
41274         * libio/Makefile (tests): Add tst-fputws.
41276 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
41278         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41279         the size of the fpu_fr.fpu_dregs[] array.
41281 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
41283         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41284         (__nanosleep): Do not define as alias.
41285         (nanosleep): Define as alias of __nanosleep.
41286         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41287         __libc_nanosleep name.
41289 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41291         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
41292         install.texi in comment.
41294 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41296         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
41297         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
41298         ... add here and use lwsync or sync ...
41299         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
41300         ... and add here using lwsync.
41302 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41304         * elf/dl-machine-reject-phdr.h: New file.
41305         * elf/dl-load.c: #include that.
41306         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
41307         if that returned true.
41309 2014-10-31  Roland McGrath  <roland@hack.frob.com>
41311         [BZ #17496]
41312         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
41313         gen-as-const-headers chunk.  Add a big scare comment after the last
41314         safe place to touch before-compile.
41316 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41318         * manual/install.texi (Tools for Compilation): Update autoconf
41319         version requirements.
41320         * INSTALL: Regenerated.
41322         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
41323         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
41324         (__libc_pselect): Likewise.
41326         [BZ #14138]
41327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
41328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41332 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41334         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
41335         correct barrier instruction.
41336         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
41337         Likewise.
41338         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
41339         Likewise.
41341 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41343         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
41344         after defining inlines.  Instead, just use parens to defeat macro
41345         expansion of __isctype in its declaration.
41347 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41349         * include/sys/uio.h (__libc_readv): Remove declaration.
41350         (__libc_writev): Likewise.
41351         * misc/readv.c (__libc_readv): Rename to __readv.
41352         (__readv): Do not define as alias.
41353         (readv): Define as alias of __readv.
41354         * misc/writev.c (__libc_writev): Rename to __writev.
41355         (__writev): Do not define as alias.
41356         (writev): Define as alias of __writev.
41357         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
41358         (__readv): Do not define as alias.
41359         (readv): Define unconditionally as alias of __readv.
41360         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
41361         (__writev): Do not define as alias.
41362         (writev): Define unconditionally as alias of __writev.
41363         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
41364         name.
41365         (writev): Do not define __libc_writev name.
41367 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41369         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
41370         (convert_charseq): New function, broken out of ...
41371         (use_from_charmap): ... here.  Call it.
41372         (use_to_charmap): Use convert_charseq and free instead of duplicating
41373         its code with a variable-length stack struct.
41375 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41377         * include/fcntl.h (__libc_creat): Remove declaration.
41378         * io/creat.c (__libc_creat): Rename to creat.
41379         (creat): Do not define as alias.
41380         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
41381         of creat instead of __libc_creat.
41382         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
41383         to creat.
41384         (creat): Do not define as alias.
41385         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
41386         __libc_creat.
41387         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
41388         __libc_creat name.
41389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
41390         Likewise.
41392 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
41394         * manual/llio.texi: Add comments discussing why write() may be
41395         considered MT-unsafe on Linux.
41397 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
41399         * dl-load.c (local_strdup): Remove.
41400         (expand_dynamic_string_token): Use __strdup.
41401         (decompose_rpath): Likewise.
41402         (_dl_map_object): Likewise.
41404 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
41406         [BZ #14132]
41407         * sysdeps/generic/unwind-dw2-fde.c
41408         (__register_frame_info_bases_internal): Do not declare.
41409         (__register_frame_info_table_bases_internal): Likewise.
41410         (__deregister_frame_info_bases_internal): Likewise.
41411         (__register_frame_info_bases): Declare and use hidden_proto before
41412         definition.  Use hidden_def instead of INTDEF.
41413         (__register_frame_info_table_bases): Likewise.
41414         (__deregister_frame_info_bases): Likewise.
41415         (__register_frame_info): Do not use INTUSE.
41416         (__register_frame): Likewise.
41417         (__register_frame_info_table): Likewise.
41418         (__register_frame_table): Likewise.
41419         (__deregister_frame_info): Likewise.
41420         (__deregister_frame): Likewise.
41422 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
41424         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41425         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
41426         not undefine.
41427         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
41428         Likewise.
41429         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
41430         Likewise.
41432 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
41434         [BZ #14138]
41435         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
41436         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
41437         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
41438         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
41439         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
41440         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
41441         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
41442         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
41443         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
41444         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
41445         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
41446         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
41447         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
41448         syscall.
41449         (setfsuid): Likewise.
41450         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
41451         (setfsuid): Likewise.
41452         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
41453         (setfsuid): Likewise.
41454         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
41455         Likewise.
41456         (setfsuid): Likewise.
41457         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
41458         (setfsuid): Likewise.
41459         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
41460         Likewise.
41461         (setfsuid): Likewise.
41463 2014-10-27  Andreas Schwab  <schwab@suse.de>
41465         [BZ #17501]
41466         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
41467         check for Slow_SSE4_2 feature bit.
41468         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
41469         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41470         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
41471         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
41473 2014-10-24  Roland McGrath  <roland@hack.frob.com>
41475         * configure.ac: Validate compiler version with a empirical test of
41476         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
41477         $CC -v output.
41478         * configure: Regenerated.
41480         * inet/htons.c (htons): Prototypify.
41481         * inet/htonl.c (htonl): Likewise.
41483 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41485         * string/strncat.c (strncat): Improve performance by using strlen.
41487 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41489         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
41491 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41493         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
41494         Call libc_fetestexcept_aarch64.
41496 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41498         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
41499         Call libc_feholdexcept_aarch64.
41501 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41503         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
41504         Call get_rounding_mode.
41506 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41508         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41509         Simplify logic.
41511 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41513         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
41514         Simplify logic.
41516 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
41518         [BZ #14138]
41519         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
41520         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
41521         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
41522         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
41523         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
41524         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
41525         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
41526         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
41527         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
41528         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
41529         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41530         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
41531         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
41532         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
41533         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
41534         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
41535         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
41536         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
41537         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
41538         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
41539         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
41540         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
41541         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
41542         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
41543         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
41544         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
41545         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
41546         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
41547         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
41548         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
41549         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
41550         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
41551         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
41552         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
41553         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
41554         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
41555         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
41556         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
41557         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
41558         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
41559         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
41560         syscall.
41561         (geteuid): Likewise.
41562         (getgid): Likewise.
41563         (getuid): Likewise.
41564         (getresgid): Likewise.
41565         (getresuid): Likewise.
41566         (getgroups): Likewise.
41567         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
41568         (geteuid): Likewise.
41569         (getgid): Likewise.
41570         (getuid): Likewise.
41571         (getresgid): Likewise.
41572         (getresuid): Likewise.
41573         (getgroups): Likewise.
41574         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
41575         (geteuid): Likewise.
41576         (getgid): Likewise.
41577         (getuid): Likewise.
41578         (getresgid): Likewise.
41579         (getresuid): Likewise.
41580         (getgroups): Likewise.
41581         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
41582         Likewise.
41583         (geteuid): Likewise.
41584         (getgid): Likewise.
41585         (getuid): Likewise.
41586         (getresgid): Likewise.
41587         (getresuid): Likewise.
41588         (getgroups): Likewise.
41589         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
41590         (geteuid): Likewise.
41591         (getgid): Likewise.
41592         (getuid): Likewise.
41593         (getresgid): Likewise.
41594         (getresuid): Likewise.
41595         (getgroups): Likewise.
41596         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
41597         Likewise.
41598         (geteuid): Likewise.
41599         (getgid): Likewise.
41600         (getuid): Likewise.
41601         (getgroups): Likewise.
41603         [BZ #14138]
41604         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
41605         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
41606         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
41607         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41608         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
41609         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
41610         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
41611         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
41612         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
41613         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
41614         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
41615         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
41616         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
41617         __chown.
41618         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
41619         (lchown): Likewise.
41620         (fchown): Likewise.
41621         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
41622         Likewise.
41623         (lchown): Likewise.
41624         (fchown): Likewise.
41625         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41626         (lchown): Likewise.
41627         (fchown): Likewise.
41628         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41629         Likewise.
41630         (lchown): Likewise.
41631         (fchown): Likewise.
41633 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41635         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41636         Simplify logic.
41638 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41640         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41641         Cleanup logic.
41643 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41645         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41646         Remove unused include.
41648 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41650         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41651         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41652         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41653         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41655 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41656             Helge Deller <deller@gmx.de>
41658         [BZ #17508]
41659         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41660         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41661         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41663 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41665         [BZ #14132]
41666         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41667         Remove macro definition.
41668         (__ashrdi3_v_glibc20): Likewise.
41669         (__lshrdi3_v_glibc20): Likewise.
41670         (__cmpdi2_v_glibc20): Likewise.
41671         (__ucmpdi2_v_glibc20): Likewise.
41672         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41673         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41674         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41675         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41676         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41677         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41679 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41681         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
41682         old GNU extension [0] syntax.
41683         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
41684         alloca rather than an array member with variable length.
41685         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
41686         * nscd/nscd.c (invalidate_db): New function, broken out of ...
41687         (parse_opt): ... here.  Likewise use alloca there.
41688         Validate the -i argument before checking for rootness.
41689         (send_shutdown): New function, broken out of ...
41690         (parse_opt): ... here.
41692 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41694         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41695         macro to get at the _rt_local_ro field.
41696         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
41697         ([PIC] case) or _dl_hwcap ([!PIC] case).
41698         * sysdeps/arm/setjmp.S: Likewise.
41700         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
41701         * sysdeps/arm/configure.ac: New check to define it.
41702         * sysdeps/arm/configure: Regenerated.
41703         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
41704         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
41705         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
41706         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
41707         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
41708         Use move/movt pair instead of a load.
41709         (LDST_GLOBAL): Macro removed.
41710         (LDR_GLOBAL): New macro replaces it.
41711         (LDR_HIDDEN): New macro.
41712         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
41713         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
41715         * setjmp/tst-setjmp-static.c: New file.
41716         * setjmp/Makefile (tests): Add it.
41717         (tests-static): New variable.
41719 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
41721         [BZ #17485]
41722         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
41724 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
41726         [BZ #14132]
41727         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
41729 2014-10-21  Roland McGrath  <roland@hack.frob.com>
41731         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
41733 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41735         * io/fts.c (dirent_not_directory): New function.
41736         (fts_build): Call it.
41738 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41740         * nptl/version.c (__nptl_main): Use normal __write rather than
41741         INTERNAL_SYSCALL.
41742         (banner): Update copyright years.
41744         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
41745         gettimeofday.
41746         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41747         * nptl/pthread_cond_timedwait.c: Likewise.
41748         * nptl/pthread_mutex_timedlock.c: Likewise.
41749         * nptl/sem_timedwait.c: Likewise.
41751         * sysdeps/nptl/bits/libc-lock.h
41752         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41753         (__libc_lock_init_recursive): Return void, not 0.
41754         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
41755         (__libc_rwlock_init): Likewise.
41756         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
41758 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41760         [BZ #15215]
41761         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
41762         (__pthread_once_slow): ... here.
41763         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
41764         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
41766 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41768         [BZ #15215]
41769         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
41770         __PTHREAD_ONCE_FORK_GEN_INCR): New.
41771         * sysdeps/nptl/fork.c (__libc_fork): Use them.
41772         * nptl/pthread_once.c (__pthread_once): Likewise.
41773         Update comments.
41775 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
41777         [BZ #14138]
41778         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
41779         name.
41780         (writev): Use __libc_writev as strong name.
41781         * sysdeps/unix/sysv/linux/readv.c: Remove file.
41782         * sysdeps/unix/sysv/linux/writev.c: Likewise.
41784 2014-10-17  Roland McGrath  <roland@hack.frob.com>
41786         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
41788         * sysdeps/i386/nptl/tls.h
41789         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
41790         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
41791         New macros.
41792         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
41793         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
41794         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
41795         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
41796         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
41797         Call CHECK_THREAD_SYSINFO instead of doing an assert.
41799         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
41800         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
41801         on [__NR_futex].
41802         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
41803         broken out of ...
41804         (__pthread_mutex_init): ... here.  Call it.
41805         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41806         Conditionalize PI cases on [__NR_futex].
41807         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
41808         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
41809         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
41811         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
41812         conditional on [SIGSETXID].
41813         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
41814         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
41815         is defined.  Likewise for SIGSETXID.
41816         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
41817         Conditionalize definitions on [SIGSETXID].
41818         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
41819         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
41820         unblocking on [SIGCANCEL].
41822         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
41823         [__NR_set_robust_list].
41825 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41827         * string/strcoll_l.c (get_next_seq): Fix up formatting.
41828         (do_compare): Likewise.
41830 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
41832         [BZ #15884]
41833         * string/strcoll_l.c: Don't include stdio.h.
41834         (coll_seq): Remove members idxarr and rulearr.
41835         (get_next_seq_cached): Remove function.
41836         (get_next_seq): Likewise.
41837         (get_next_seq_nocache): Rename to get_next_seq.
41838         (do_compare): Remove function.
41839         (do_compare_nocache): Rename to do_compare.
41840         (STRCOLL): Remove weight and rules cache.
41842 2014-10-16  Roland McGrath  <roland@hack.frob.com>
41844         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
41845         * sysdeps/arm/sfp-machine.h: ... to here.
41846         * sysdeps/arm/Implies: Remove arm/soft-fp.
41848 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
41850         * conform/data/sys/utsname.h-data (*_t): Allow.
41851         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
41852         [POSIX] (WEXITED): Do not expect constant.
41853         [POSIX] (WSTOPPED): Likewise.
41854         [POSIX] (WNOHANG): Likewise.
41855         [POSIX] (WNOWAIT): Likewise.
41856         [POSIX] (siginfo_t): Do not expect type or elements.
41857         [POSIX] (pid_t): Do not expect type.
41858         [POSIX] (signal.h): Do not allow header.
41859         [POSIX] (sys/resource.h): Likewise.
41860         [POSIX] (si_*): Do not allow pattern.
41861         [POSIX] (W*): Likewise.
41862         [POSIX] (P_*): Likewise.
41863         [POSIX] (BUS_*): Likewise.
41864         [POSIX] (CLD_*): Likewise.
41865         [POSIX] (FPE_*): Likewise.
41866         [POSIX] (ILL_*): Likewise.
41867         [POSIX] (POLL_*): Likewise.
41868         [POSIX] (SEGV_*): Likewise.
41869         [POSIX] (SI_*): Likewise.
41870         [POSIX] (TRAP_*): Likewise.
41871         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
41872         variable.
41874 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
41876         [BZ #12926]
41877         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
41878         infinite loop when __recvmsg returns 0.
41880 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
41882         * CANCEL-FCT-WAIVE: Remove file.
41883         * CANCEL-FILE-WAIVE: Likewise.
41885         [BZ #14132]
41886         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
41887         instead of INTVARDEF.
41888         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41889         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
41890         rtld_hidden_data_def instead of INTVARDEF.
41891         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41892         * elf/dl-deps.c (expand_dst): Likewise.
41893         * elf/dl-load.c (_dl_dst_count): Likewise.
41894         (_dl_dst_substitute): Likewise.
41895         (decompose_rpath): Likewise.
41896         (_dl_init_paths): Likewise.
41897         (open_path): Likewise.
41898         (_dl_map_object): Likewise.
41899         * elf/rtld.c (dl_main): Likewise.
41900         (process_dl_audit): Likewise.
41901         (process_envvars): Likewise.
41902         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
41903         Remove declaration.
41904         (__libc_enable_secure): Use rtld_hidden_proto.
41906 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41908         * elf/dl-load.c
41909         (add_path): New function broken out of _dl_rtld_di_serinfo.
41910         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
41912 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41914         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
41915         parentheses around macro arguments.
41916         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
41917         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
41918         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
41919         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
41920         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
41921         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
41924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
41925         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
41926         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
41927         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
41928         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
41929         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
41930         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
41931         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
41932         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
41933         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
41934         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
41935         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
41936         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
41937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
41938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
41939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
41942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
41943         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
41944         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
41945         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
41946         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
41947         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
41948         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
41949         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
41950         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
41951         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
41952         Likewise.
41953         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
41954         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41956         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
41957         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
41958         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
41959         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
41960         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
41961         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
41962         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
41963         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
41964         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
41965         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
41966         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
41967         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
41968         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41970         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
41971         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
41972         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
41973         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
41974         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
41975         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
41976         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
41977         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
41978         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
41979         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
41980         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
41981         (_FP_FRAC_SRS_1): Likewise.
41982         (_FP_FRAC_CLZ_1): Likewise.
41983         (_FP_MUL_MEAT_1_imm): Likewise.
41984         (_FP_MUL_MEAT_1_wide): Likewise.
41985         (_FP_MUL_MEAT_1_hard): Likewise.
41986         (_FP_SQRT_MEAT_1): Likewise.
41987         (_FP_FRAC_ASSEMBLE_1): Likewise.
41988         (_FP_FRAC_DISASSEMBLE_1): Likewise.
41989         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
41990         (__FP_CLZ_2): Likewise.
41991         (_FP_MUL_MEAT_2_wide): Likewise.
41992         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41993         (_FP_MUL_MEAT_2_gmp): Likewise.
41994         (_FP_MUL_MEAT_2_120_240_double): Likewise.
41995         (_FP_SQRT_MEAT_2): Likewise.
41996         (_FP_FRAC_ASSEMBLE_2): Likewise.
41997         (_FP_FRAC_DISASSEMBLE_2): Likewise.
41998         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
41999         (_FP_FRAC_CLZ_4): Likewise.
42000         (_FP_MUL_MEAT_4_wide): Likewise.
42001         (_FP_MUL_MEAT_4_gmp): Likewise.
42002         (_FP_SQRT_MEAT_4): Likewise.
42003         (_FP_FRAC_ASSEMBLE_4): Likewise.
42004         (_FP_FRAC_DISASSEMBLE_4): Likewise.
42005         * soft-fp/op-common.h (_FP_CMP): Likewise.
42006         (_FP_CMP_EQ): Likewise.
42007         (_FP_CMP_UNORD): Likewise.
42008         (_FP_TO_INT): Likewise.
42009         (_FP_FROM_INT): Likewise.
42010         [!__FP_CLZ] (__FP_CLZ): Likewise.
42011         (_FP_DIV_HELP_imm): Likewise.
42012         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42013         Likewise.
42014         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42015         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42016         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42017         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42018         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42019         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42020         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42021         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42022         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42023         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42024         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42025         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42026         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42027         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42028         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42029         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42030         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42031         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42032         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42033         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42034         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42035         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42036         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42039         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42042         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42043         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42044         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42045         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42046         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42047         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42048         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42049         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42050         (FP_UNPACK_RAW_SP): Likewise.
42051         (FP_PACK_RAW_S): Likewise.
42052         (FP_PACK_RAW_SP): Likewise.
42053         (FP_UNPACK_S): Likewise.
42054         (FP_UNPACK_SP): Likewise.
42055         (FP_UNPACK_SEMIRAW_S): Likewise.
42056         (FP_UNPACK_SEMIRAW_SP): Likewise.
42057         (FP_PACK_S): Likewise.
42058         (FP_PACK_SP): Likewise.
42059         (FP_PACK_SEMIRAW_S): Likewise.
42060         (FP_PACK_SEMIRAW_SP): Likewise.
42061         (_FP_SQRT_MEAT_S): Likewise.
42062         (FP_CMP_S): Likewise.
42063         (FP_CMP_EQ_S): Likewise.
42064         (FP_CMP_UNORD_S): Likewise.
42065         (FP_TO_INT_S): Likewise.
42066         (FP_FROM_INT_S): Likewise.
42068         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42070         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42071         (FP_EX_INVALID_IMZ): Likewise.
42072         (FP_EX_INVALID_IMZ_FMA): Likewise.
42073         (FP_EX_INVALID_ISI): Likewise.
42074         (FP_EX_INVALID_ZDZ): Likewise.
42075         (FP_EX_INVALID_IDI): Likewise.
42076         (FP_EX_INVALID_SQRT): Likewise.
42077         (FP_EX_INVALID_CVI): Likewise.
42078         (FP_EX_INVALID_VC): Likewise.
42079         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42080         "invalid" exceptions.
42081         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42082         (_FP_ADD_INTERNAL): Likewise.
42083         (_FP_MUL): Likewise.
42084         (_FP_FMA): Likewise.
42085         (_FP_DIV): Likewise.
42086         (_FP_CMP_CHECK_NAN): Likewise.
42087         (_FP_SQRT): Likewise.
42088         (_FP_TO_INT): Likewise.
42089         (FP_EXTEND): Likewise.
42091 2014-10-09  Allan McRae  <allan@archlinux.org>
42093         * po/fr.po: Update French translation from translation project.
42095 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42097         [BZ #14132]
42098         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42099         of INTDEF.
42100         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42101         (__cxa_atexit): Use libc_hidden_proto.
42102         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42104         [BZ #14132]
42105         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42106         declaration.
42107         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42108         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42109         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42110         [!_ISOMAC] (__iswctype_internal): Likewise.
42111         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42112         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42113         alias.
42114         (fcntl): Remove __fcntl_internal alias.
42115         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42116         __connect_internal alias.
42117         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42118         Likewise.
42120         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42121         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42122         FP_DENORM_ZERO.
42123         (_FP_CHECK_FLUSH_ZERO): New macro.
42124         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42125         (_FP_CMP): Likewise.
42126         (_FP_CMP_EQ): Likewise.
42127         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42128         FP_DENORM_ZERO.
42129         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42130         (FP_TRUNC): Likewise.
42132         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42133         treated as invalid conversion, not as normal exponent.
42135         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42136         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42137         (_FP_CMP_EQ): Likewise.
42138         (_FP_CMP_UNORD): Likewise.
42139         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42140         (FP_CMP_EQ_D): Likewise.
42141         (FP_CMP_UNORD_D): Likewise.
42142         * soft-fp/extended.h (FP_CMP_E): Likewise.
42143         (FP_CMP_EQ_E): Likewise.
42144         (FP_CMP_UNORD_E): Likewise.
42145         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42146         (FP_CMP_EQ_Q): Likewise.
42147         (FP_CMP_UNORD_Q): Likewise.
42148         * soft-fp/single.h (FP_CMP_S): Likewise.
42149         (FP_CMP_EQ_S): Likewise.
42150         (FP_CMP_UNORD_S): Likewise.
42151         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42152         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42153         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42154         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42155         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42156         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42157         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42158         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42159         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42160         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42161         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42162         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42163         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42164         to FP_CMP_Q.
42165         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42166         FP_CMP_Q.
42167         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42168         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42169         FP_CMP_EQ_Q.
42170         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42171         FP_CMP_Q.
42172         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42173         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42174         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42175         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42176         FP_CMP_EQ_Q.
42177         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42178         FP_CMP_Q.
42179         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42180         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42181         FP_CMP_EQ_Q.
42182         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42183         FP_CMP_Q.
42184         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42185         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42186         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42187         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42188         FP_CMP_EQ_Q.
42190         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42191         a subnormal result, set the underflow exception if trapping on
42192         underflow is enabled.
42193         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42194         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42195         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42196         redefine to 0.
42197         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42198         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42199         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42200         * soft-fp/extendxftf2.c (__extendxftf2): Use
42201         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42203         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42204         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42205         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42206         FP_HANDLE_EXCEPTIONS.
42207         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42208         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42209         FP_HANDLE_EXCEPTIONS.
42210         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42211         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42212         FP_HANDLE_EXCEPTIONS.
42213         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42214         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42215         FP_HANDLE_EXCEPTIONS.
42217 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
42219         [BZ #14132]
42220         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42221         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42222         use INTUSE.
42223         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42224         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42225         Remove alias.
42226         (__adjtimex): Define using libc_hidden_ver.
42227         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42228         Remove declaration.
42229         (ntp_gettime): Call __adjtimex directly.
42230         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42231         Remove declaration.
42232         (ntp_gettimex): Call __adjtimex directly.
42233         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42234         __adjtimex_internal alias.
42236 2014-10-08  Roland McGrath  <roland@hack.frob.com>
42238         [BZ #17460]
42239         * nscd/nscd.c (more_help): Rewrite list of tables collection
42240         using xstrdup and asprintf.
42242         * nscd/nscd_conf.c: Remove local xstrdup declaration.
42244 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42245             Roland McGrath  <roland@hack.frob.com>
42247         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42248         (do_lookup_unique): ... local function 'enter' here; update callers.
42250 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
42252         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42253         compat_symbol calls on [SHARED].
42254         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42255         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42256         Remove.
42257         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42258         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42259         (oldsetrlimit): Remove.
42260         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42262         (lchown): New syscall entry.
42263         (oldsetrlimit): Remove.
42264         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42266         (oldsetrlimit): Remove.
42267         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42269         [BZ #14138]
42270         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42271         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42272         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42273         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42274         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42275         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42276         (fchown): Likewise.
42277         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42278         (fchown): Likewise.
42279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42280         Likewise.
42282 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42284         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42285         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42286         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42287         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42288         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42289         Likewise.
42290         (__old_sem_post): Likewise.
42292 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
42294         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
42295         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
42296         HAVE_CLOCK_GETTIME_VSYSCALL macros.
42297         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
42298         Use INLINE_VSYSCALL macro.
42299         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
42300         __vdso_clock_gettime.
42301         * sysdeps/unix/sysv/linux/tile/init-first.c
42302         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
42303         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
42304         __vdso_clock_gettime.
42306         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
42307         to set up frame more cleanly.
42309         * sysdeps/tile/memcmp.c: New file.
42311         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
42313         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
42314         * sysdeps/tile/tilegx/strcasestr.c: New file.
42315         * sysdeps/tile/tilegx/strnlen.c: New file.
42316         * sysdeps/tile/tilegx/strstr.c: New file.
42318         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
42320 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
42322         * nptl/tst-setuid3.c: Write errors to stdout.
42324 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42326         * elf/dl-deps.c
42327         (preload): New functions broken out of _dl_map_object_deps.
42328         (_dl_map_object_deps):  Remove a nested function. Update call sites.
42330 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
42332         [BZ #14138]
42333         * sysdeps/unix/sysv/linux/execve.c: Remove file.
42334         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
42336 2014-10-01  Steve Ellcey  <sellcey@mips.com>
42338         * sysdeps/mips/strcmp.S: New.
42340 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
42342         [BZ #14138]
42343         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
42344         (linkat): Likewise.
42345         (mkdirat): Likewise.
42346         (readlinkat): Likewise.
42347         (renameat): Likewise.
42348         (symlinkat): Likewise.
42349         (unlinkat): Likewise.
42350         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
42351         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
42352         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
42353         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
42354         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
42355         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
42356         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
42358 2014-09-30  Will Newton  <will.newton@linaro.org>
42360         * math/math.h: Define long double math functions if
42361         _LIBC_TEST is defined.
42362         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
42364         * localedata/Makefile: Move assignment to tests-special
42365         into an ifdef testing run-built-tests.
42366         * timezone/Makefile: Likewise.
42368 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
42370         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
42371         with $(BASH) not $(SHELL).
42373 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
42374             Matthew LeGendre  <legendre1@llnl.gov>
42376         [BZ #17411]
42377         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
42378         l_reloc_result.
42380 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42382         * stdio-common/printf_fp.c
42383         (hack_digit): New function, broken out of ...
42384         (__printf_fp): ... local function here.  Update call sites.
42385         hack_digit now takes an additional parameter that is a pointer
42386         to a struct of the referenced locals.  Those locals moved inside
42387         the struct and references updated.
42389 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
42391         * aclocal.m4: Require autoconf 2.69.
42392         * configure: Regenerated.
42393         * sysdeps/aarch64/configure: Likewise.
42394         * sysdeps/alpha/configure: Likewise.
42395         * sysdeps/arm/armv7/configure: Likewise.
42396         * sysdeps/arm/configure: Likewise.
42397         * sysdeps/ia64/configure: Likewise.
42398         * sysdeps/mach/configure: Likewise.
42399         * sysdeps/mips/configure: Likewise.
42400         * sysdeps/s390/configure: Likewise.
42401         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
42402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
42404         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
42405         file.
42406         * sysdeps/ia64/configure.ac: Likewise.
42408 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
42410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
42411         specify symbol version for ld.so.  Do not include entry for
42412         libpthread.
42413         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42414         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42415         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42417         [BZ #14171]
42418         * Makeconfig [$(build-shared) = yes]
42419         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
42420         makefiles.
42421         [$(build-shared) = yes && $(soversions.mk-done) = t]
42422         ($(common-objpfx)gnu/lib-names.h): Remove rule.
42423         [$(build-shared) = yes && $(soversions.mk-done) = t]
42424         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
42425         to Makerules.
42426         [$(build-shared) = yes && $(soversions.mk-done) = t]
42427         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
42428         here.
42429         [$(build-shared) = yes && $(soversions.mk-done) = t]
42430         (common-generated): Don't append gnu/lib-names.h and
42431         gnu/lib-names.stmp here.
42432         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
42433         (lib-names-h-abi): New variable.
42434         [$(build-shared) = yes && $(soversions.mk-done) = t]
42435         (lib-names-stmp-abi): Likewise.
42436         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42437         abi-variants] (before-compile): Append
42438         $(common-objpfx)$(lib-names-h-abi).
42439         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42440         abi-variants] (common-generated): Append gnu/lib-names.h.
42441         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42442         abi-variants] (install-others-nosubdir): Depend on
42443         $(inst_includedir)/$(lib-names-h-abi).
42444         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42445         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
42446         [$(build-shared) = yes && $(soversions.mk-done) = t]
42447         ($(common-objpfx)$(lib-names-h-abi)): New rule.
42448         [$(build-shared) = yes && $(soversions.mk-done) = t]
42449         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
42450         [$(build-shared) = yes && $(soversions.mk-done) = t]
42451         (common-generated): Append $(lib-names-h-abi) and
42452         $(lib-names-stmp-abi).
42453         * scripts/lib-names.awk: Do not handle multi being set.
42454         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
42455         Remove variable.
42456         (abi-lp64_be-ld-soname): Likewise.
42457         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
42458         Likewise.
42459         (abi-hard-ld-soname): Likewise.
42460         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
42461         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
42462         Remove variable.
42463         (abi-o32_hard-ld-soname): Likewise.
42464         (abi-o32_soft_2008-ld-soname): Likewise.
42465         (abi-o32_hard_2008-ld-soname): Likewise.
42466         (abi-n32_soft-ld-soname): Likewise.
42467         (abi-n32_hard-ld-soname): Likewise.
42468         (abi-n32_soft_2008-ld-soname): Likewise.
42469         (abi-n32_hard_2008-ld-soname): Likewise.
42470         (abi-n64_soft-ld-soname): Likewise.
42471         (abi-n64_hard-ld-soname): Likewise.
42472         (abi-n64_soft_2008-ld-soname): Likewise.
42473         (abi-n64_hard_2008-ld-soname): Likewise.
42474         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
42475         Likewise.
42476         (abi-64-v2-ld-soname): Likewise.
42477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
42478         ld.so entries.
42479         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
42480         variable.
42481         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
42482         entry.
42483         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
42484         variable.
42485         (abi-64-ld-soname): Likewise.
42486         (abi-x32-ld-soname): Likewise.
42487         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
42488         entry.
42489         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42491 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
42493         [BZ #14138]
42494         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
42495         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
42496         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
42497         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
42498         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
42499         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
42500         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
42501         syscall entry for GLIBC_2.2 symbol version.
42502         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
42503         Likewise.
42504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42505         (setrlimit): Likewise.
42506         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
42507         Likewise.
42509 2014-09-23  Will Newton  <will.newton@linaro.org>
42511         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
42512         _LINUX_ARM_SYSDEP_H include guard too.
42513         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
42514         define.
42516 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42518         * sysdeps/unix/sysv/linux/eventfd.c:
42519         Make first argument unsigned.
42520         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
42521         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
42523 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
42525         [BZ #16852]
42526         * socket/recvmmsg.c (recvmmsg): Drop const argument.
42527         * socket/sys/socket.h: Likewise.
42528         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
42530 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42532         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
42534 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
42536         * time/tst-ftime.c: New test.
42537         * time/Makefile (tests): Add tst-ftime.
42539 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
42541         * soft-fp/extended.h: Fix comment formatting.
42542         * soft-fp/op-1.h: Likewise.
42543         * soft-fp/op-2.h: Likewise.
42544         * soft-fp/op-4.h: Likewise.
42545         * soft-fp/op-8.h: Likewise.
42546         * soft-fp/op-common.h: Likewise.
42547         * soft-fp/soft-fp.h: Likewise.
42549         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
42551 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
42553         [BZ #6652]
42554         * Makeconfig (soversions-default-setname): Remove variable.
42555         ($(common-objpfx)soversions.i): Don't pass default_setname to
42556         soversions.awk.
42557         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
42558         oldest_abi to abi-versions.awk.
42559         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
42560         * config.make.in (oldest-abi): Remove variable.
42561         * configure.ac (--enable-oldest-abi): Remove configure option.
42562         * configure: Regenerated.
42563         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
42564         text.
42565         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
42566         * scripts/soversions.awk: Do not handle default_setname variable.
42567         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
42568         variable.
42569         * sysdeps/mach/hurd/configure: Regenerated.
42570         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
42571         variable.
42572         * sysdeps/unix/sysv/linux/configure: Regenerated.
42574 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42576         * elf/Makefile (CFLAGS-interp.c): Remove.
42577         ($(elf-objpfx)runtime-linker.h): Generate header with linker
42578         path string.
42579         * elf/interp.c: Include generated runtime-linker.h
42581         * Makerules (lib%.so): Don't include $(+interp) in
42582         prerequisites.
42583         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
42584         * dlfcn/eval.c: Remove file.
42586         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
42587         macros.
42589         [BZ #17266]
42590         * misc/sys/cdefs.h: Define __extern_always_inline for clang
42591         4.2 and newer.
42593         [BZ #17370]
42594         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
42596 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42597             Jakub Jelinek  <jakub@redhat.com>
42599         [BZ #17266]
42600         * libio/stdio.h: Check definition of __fortify_function
42601         instead of __extern_always_inline to include bits/stdio2.h.
42602         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
42603         check if __extern_always_inline is defined.
42604         [__USE_MISC || __USE_XOPEN]: Likewise.
42605         [__USE_ISOC99] Likewise.
42606         * misc/sys/cdefs.h (__fortify_function): Define only if
42607         __extern_always_inline is defined.
42608         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
42609         __extern_always_inline and __extern_inline only for g++-4.3
42610         and newer or a compatible gcc.
42612 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
42614         [BZ #17371]
42615         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42616         last change to handle zero prefix length.
42618 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42620         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
42621         _SC_REGEX_VERSION.
42623         * posix/getconf.c (vars): Add _POSIX_IPV6 and
42624         _POSIX_RAW_SOCKETS.
42626 2014-09-13  Allan McRae  <allan@archlinux.org>
42628         * po/ru.po: Update Russian translation from translation project.
42630 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42632         * locale/programs/locale.c (show_locale_vars): Inline local function
42633         into its sole call site.  Clean up some style nits.
42634         (print_item): New function, broken out of ...
42635         (show_info): ... local function here.  Clean up style nits.
42637         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42638         out of ...
42639         (set_class_defaults): ... local function set_default here.
42640         Define set_default as a macro locally to pass constant parameters.
42641         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42642         rather than a shared local.
42644         * stdlib/rpmatch.c (try): New function, broken out of ...
42645         (rpmatch): ... local function here.  Also, prototypify definition.
42647 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42649         * scripts/soversions.awk: Do not handle configuration names.
42650         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42651         vendor and os variables to soversions.awk.
42652         * configure.ac: Do not modify gnu-* host_os.
42653         * configure: Regenerated
42654         * shlib-versions: Remove first column with configuration names.
42655         * nptl/shlib-versions: Likewise.
42656         * nptl_db/shlib-versions: Likewise.
42657         * sysdeps/hppa/shlib-versions: Likewise.
42658         * sysdeps/m68k/shlib-versions: Likewise.
42659         * sysdeps/mach/hurd/shlib-versions: Likewise.
42660         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42661         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42662         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42663         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42664         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42665         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42666         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42667         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42669         Likewise.
42670         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42671         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42672         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42673         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42674         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42675         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42676         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42677         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42680         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42682         Regenerated.
42683         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
42684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42685         Condition symbol version definitions on [HAVE_ELFV2_ABI].
42687         * shlib-versions: Remove OS-specific entries.  Moved to files in
42688         sysdeps.
42689         * sysdeps/mach/hurd/shlib-versions: New file.
42690         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42692         * nptl/shlib-versions: Remove architecture-specific entries.
42693         Moved to files in sysdeps.
42694         * shlib-versions: Likewise.
42695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
42696         file.
42697         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42698         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42699         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42700         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42702         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
42703         (UDP_NO_CHECK6_RX): Likewise.
42705 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42707         * sysdeps/posix/sysconf.c (__sysconf): Spell
42708         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
42710 2014-08-12  Florian Weimer  <fweimer@redhat.com>
42712         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
42713         loading.
42714         * iconv/Versions (__gconv_transliterate): Export for use from
42715         gconv modules.
42716         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
42717         (struct __gconv_trans_data, __gconv_trans_fct,
42718         __gconv_trans_context_fct, __gconv_trans_query_fct,
42719         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
42720         definitions.
42721         (struct __gconv_step_data): Remove __trans member.
42722         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
42723         longer hidden.  Remove unused trans_data argument.
42724         * iconv/gconv_int.h (struct trans_struct): Remove definition.
42725         (__gconv_translit_find): Remove declaration.
42726         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
42727         prototype.
42728         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
42729         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
42730         trans_data argument.  Add hidden definition.
42731         (__gconv_translit_find): Remove.
42732         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
42733         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
42734         * iconv/skeleton.c: Remove transliteration initialization.
42735         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
42736         __gconv_step_data initialization.
42737         * libio/iofwide.c (__libio_translit_): Remove.
42738         (_IO_fwide): Adjust struct __gconv_step_data initialization.
42739         * wcsmbs/btowc.c (__btowc): Likewise.
42740         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42741         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42742         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
42743         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
42744         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
42745         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42746         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
42747         * wcsmbs/wctob.c (wctob): Likewise.
42749 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42751         [BZ #16194]
42752         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
42753         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
42754         register usage.
42755         * sysdeps/x86/Makefile: Adjust.
42757 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42758             Roland McGrath  <roland@hack.frob.com>
42760         * locale/weight.h: Add include guard.
42761         (findidx): Make static rather than auto; take new parameters
42762         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
42763         * locale/weightwc.h: Likewise.
42764         * posix/fnmatch_loop.c
42765         (FCT): Change type of EXTRA from int32_t to wint_t.
42766         Don't include either header inside the function.
42767         Call FINDIDX rather than findidx, and pass new arguments.
42768         #undef FINDIDX at the end of the file.
42769         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
42770         FINDIDX before including fnmatch_loop.c for the non-wide version.
42771         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
42772         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
42773         for the wide version.
42774         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
42775         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
42776         Pass new arguments to findidx.
42777         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
42778         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
42779         Don't #include it inside the function.  Pass new arguments to findidx.
42780         * posix/regex_internal.h
42781         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
42782         (re_string_elem_size_at): Don't #include it inside the function.
42783         Pass new arguments to findidx.
42784         * string/strcoll_l.c: #include WEIGHT_H at top level.
42785         (get_next_seq): Don't #include it inside the function.
42786         Pass new arguments to findidx.
42787         (get_next_seq_nocache): Likewise.
42788         * string/strxfrm_l.c: #include WEIGHT_H at top level.
42789         (STRXFRM): Don't #include it inside the function.
42790         Pass new arguments to findidx.
42792 2014-09-11  Florian Weimer  <fweimer@redhat.com>
42794         [BZ #17344]
42795         * malloc/malloc.c (unlink): Turn asserts into a call to
42796         malloc_printerr.
42798 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
42800         [BZ #17370]
42801         * libio/wfileops (do_ftell_wide): Free OUT.
42803 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
42805         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
42807 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42809         [BZ #17363]
42810         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
42811         group if the current group is empty.
42813 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42815         * benchtests/bench-memset.c (test_main): Add more test from size
42816         from 32 to 512 bytes.
42817         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42818         Add POWER8 memset object.
42819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42820         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
42821         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
42822         implementation.
42823         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
42824         Likewise.
42825         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
42826         multiarch POWER8 memset optimization.
42827         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
42828         POWER8 memset optimization.
42830         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42831         Remove bzero multiarch objects.
42832         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
42833         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
42834         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
42835         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
42836         Remove define.
42837         [__bzero]: Redefine to specific name.
42838         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
42839         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
42840         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
42841         define.
42842         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42843         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42845 2014-09-10  Florian Weimer  <fweimer@redhat.com>
42847         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
42848         warnings into errors.
42850         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
42851         __cxa_thread_atexit_impl prototype.
42853 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42855         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
42856         Fix capitalization of error message.
42858 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42860         * sysdeps/mips/preconfigure: Modify ABI tests.
42862 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
42864         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
42866 2014-09-07  Roland McGrath  <roland@hack.frob.com>
42867             Carlos O'Donell  <carlos@systemhalted.org>
42869         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
42870         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
42871         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
42872         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
42873         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
42874         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
42875         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
42876         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
42877         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
42878         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
42879         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
42880         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
42881         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
42882         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
42883         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
42884         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
42885         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
42886         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
42887         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
42888         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
42889         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
42890         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
42891         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
42892         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
42893         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
42894         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
42895         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
42896         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
42897         Deconditionalize the code that was previously under [RESET_PID].
42898         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
42899         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
42900         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
42901         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
42902         include sysdep.h.
42904 2014-09-08  Allan McRae  <allan@archlinux.org>
42906         * version.h (RELEASE): Set to "development".
42907         (VERSION): Set to "2.20.90"
42909 2014-09-07  Allan McRae  <allan@archlinux.org
42911         * version.h (RELEASE): Set to "stable".
42912         (VERSION): Set to "2.20"
42913         * include/features.h (__GLIBC_MINOR__): Set to 20.
42915         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
42916         Liebler.
42918         * po/ko.po: Update Korean translation from translation project.
42920 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
42922         [BZ #17354]
42923         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
42924         macro for handling signed relocations.
42926 2014-09-03  Florian Weimer  <fweimer@redhat.com>
42928         [BZ #17325]
42929         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
42930         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
42931         assert.
42932         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
42933         * iconvdata/ibm935.c (BODY): Likewise.
42934         * iconvdata/ibm937.c (BODY): Likewise.
42935         * iconvdata/ibm939.c (BODY): Likewise.
42936         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
42937         assert.
42938         * iconvdata/Makefile (iconv-test.out): Pass module list to test
42939         script.
42940         * iconvdata/run-iconv-test.sh: New test loop for checking for
42941         decoder crashers.
42943 2014-09-02  Khem Raj  <raj.khem@gmail.com>
42945         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
42946         libm_hidden_ver.
42948 2014-09-01  Allan McRae  <allan@archlinux.org>
42950         * po/eo.po: Update Esperanto translation from translation project.
42952         * po/ca.po: Update Catalan translation from translation project.
42954 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42956         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
42957         __proc_dostop call.
42959 2014-08-27  Mark Wielaard  <mjw@redhat.com>
42961         [BZ #17319]
42962         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
42963         to call set_thread_area instead of hand written asm.
42964         (__NR_set_thread_area): Removed define.
42965         (TLS_FLAG_WRITABLE): Likewise.
42966         (__ASSUME_SET_THREAD_AREA): Remove check.
42967         (TLS_EBX_ARG): Remove define.
42968         (TLS_LOAD_EBX): Likewise.
42970 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42972         Simplify atomicity of socket creation in bind.
42974         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
42975         looking up the name after linking the file.
42977 2014-08-27  Allan McRae  <allan@archlinux.org>
42979         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42981 2014-08-26  Florian Weimer  <fweimer@redhat.com>
42983         [BZ #17187]
42984         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
42985         trans_compare, open_translit, __gconv_translit_find):
42986         Remove module loading code.
42988 2014-08-26  Allan McRae  <allan@archlinux.org>
42990         * po/vi.po: Update Vietnamese translation from translation project.
42992         * po/uk.po: Update Ukrainian translation from translation project.
42994         * po/fr.po: Update French translation from translation project.
42996         * po/ru.po: Update Russian translation from translation project.
42998         * po/pl.po: Update Polish translation from translation project.
43000         * po/cs.po: Update Czech translation from translation project.
43002         * po/de.po: Update German translation from translation project.
43004         * po/bg.po: Update Bulgarian translation from translation project.
43006         * po/sv.po: Update Sweedish translation from translation project.
43008         * po/nl.po: Update Dutch translation from translation project.
43010         * po/es.po: Update Spanish translation from translation project.
43012 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43014         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43016         * catgets/Makefile (CPPFLAGS-gencat): Remove.
43017         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43018         (CPPFLAGS-iconvconfig): Likewise.
43019         * timezone/Makefile (CPPFLAGS-zic): Likewise.
43021         * include/libc-symbols.h: Remove unnecessary check for
43022         NOT_IN_libc.
43023         * nptl/pthreadP.h: Likewise.
43024         * sysdeps/aarch64/setjmp.S: Likewise.
43025         * sysdeps/alpha/setjmp.S: Likewise.
43026         * sysdeps/arm/sysdep.h: Likewise.
43027         * sysdeps/i386/setjmp.S: Likewise.
43028         * sysdeps/m68k/setjmp.c: Likewise.
43029         * sysdeps/posix/getcwd.c: Likewise.
43030         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43031         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43032         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43033         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43034         * sysdeps/sh/sh3/setjmp.S: Likewise.
43035         * sysdeps/sh/sh4/setjmp.S: Likewise.
43036         * sysdeps/unix/alpha/sysdep.h: Likewise.
43037         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43039         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43040         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43043         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43045         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43047         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43048         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43050         * sysdeps/x86_64/setjmp.S: Likewise.
43052 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
43054         [BZ #17263]
43055         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43056         <stdint.h>.
43057         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43058         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43060 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43062         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43064         [BZ #17262]
43065         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43066         and __x86_64__ when disabling x87 inline functions.
43068 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43070         [BZ #17259]
43071         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43072         asm statement with __cpuid_count.
43074 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43076         * configure.ac: Change __ehdr_start code to dereference the struct.
43077         Run readelf on the output to look for relocations.
43078         * configure: Regenerated.
43080 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43082         [BZ #17261]
43083         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43084         value to 0.
43085         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43087 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43089         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43091 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43093         [BZ #16892]
43094         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43095         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43097 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43099         * malloc/malloc.c: Fix typo in comment.
43101 2014-08-09  Allan McRae  <allan@archlinux.org>
43103         * Regenerate libc.po.
43105 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43107         * intl/tst-gettext2.sh: Check every lang file for creation.
43109 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43111         * sysdeps/aarch64/fpu/math_private.h
43112         (libc_feholdsetround_noex_aarch64_ctx): New function.
43114 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43116         * sysdeps/arm/armv6/strcpy.S (strcpy):
43117         Fix performance issue in misaligned cases.
43119 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43121         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43122         Move definition from termios.h.
43123         (struct termio): Likewise.
43124         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43125         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43126         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43127         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43128         Likewise.
43129         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43130         Move definition to ioctl-types.h
43131         (struct termio): Likewise.
43132         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43133         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43134         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43135         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43136         Likewise.
43138 2014-08-05  Richard Henderson  <rth@redhat.com>
43140         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43141         exceptions.
43142         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43143         Add fraiseexcpt.
43144         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43145         Use __feraiseexcept.
43146         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43147         Protect libm symbols with IS_IN_libm.
43149         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43151 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43153         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43155 2014-08-04  Will Newton  <will.newton@linaro.org>
43157         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43158         file.
43160 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43162         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43163         variants for each function.
43165 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43167         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43168         appended ...
43169         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43170         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43171         appended ...
43172         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43173         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43174         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43175         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43176         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43177         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43178         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43179         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43180         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43181         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43182         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43183         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43184         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43185         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43186         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43187         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43188         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43189         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43190         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43191         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43192         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43193         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43194         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43195         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43196         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43197         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43198         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43199         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43200         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43201         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43202         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43203         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43204         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43205         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43206         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43207         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43208         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43209         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43210         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43211         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43212         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43213         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43214         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43215         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43216         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43217         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43218         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43219         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43220         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43221         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43222         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43223         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43224         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43225         Update #include.
43226         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43227         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43229 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43231         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43232         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43233         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43234         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43235         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43236         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43238 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43240         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43241         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43242         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43243         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43245 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43247         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43248         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43249         (__libc_vfork): Define function under this name.
43250         (__vfork): Define as an alias.
43251         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43252         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43254 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43256         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43257         that was previously under [RESET_PID].
43258         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43260 2014-08-04  Andreas Schwab  <schwab@suse.de>
43262         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43264 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
43266         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43267         (main): Likewise.
43269 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43271         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43273 2014-08-01  Richard Henderon  <rth@redhat.com>
43275         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43276         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43277         typo in exact zero test.
43278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43279         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43280         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43282 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43284         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43285         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43286         * sysdeps/arm/sysdep.h: ... here.
43287         [!__ASSEMBLER__]: Include <stdint.h>.
43289 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43291         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
43292         (HAVE_WCTYPE_H): Likewise.
43293         (HAVE_ISWCTYPE): Likewise.
43294         (ENABLE_NLS): Likewise.
43295         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
43296         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
43298         * posix/regex_internal.c: Check if DEBUG is defined and is
43299         set.
43301         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43302         (HAVE_MBSRTOWCS): Likewise.
43303         * posix/fnmatch.c: Include string.h unconditionally.
43305 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43307         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
43308         reversal.
43310 2014-07-31  Roland McGrath  <roland@hack.frob.com>
43312         * sysdeps/generic/safe-fatal.h: New file.
43313         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
43314         * nptl/forward.c: Include it.
43315         (__pthread_unwind): Use __safe_fatal as default action, rather
43316         than a bogus use of INTERNAL_SYSCALL that could never work.
43318         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
43319         * configure.ac (libc_cv_builtin_trap): New test.
43320         * configure: Regenerated.
43321         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
43322         (ABORT_INSTRUCTION): Define using __builtin_trap.
43324         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
43325         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
43326         * sysdeps/nptl/nptl-signals.h: New file.
43327         * nptl/pthreadP.h: Include <nptl-signals.h>.
43329 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43331         * sysdeps/s390/s390-64/utf16-utf32-z9.c
43332         (ONE_DIRECTION): Define.
43333         * sysdeps/s390/s390-64/utf8-utf16-z9.c
43334         (ONE_DIRECTION): Define.
43335         * sysdeps/s390/s390-64/utf8-utf32-z9.c
43336         (ONE_DIRECTION): Define.
43338 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43340         * sysdeps/s390/Makefile: Delete file.
43341         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
43342         * sysdeps/s390/__longjmp.c: Delete file.
43343         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
43344         Remove fields __flags and __reserved.
43345         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43346         and add versioning.
43347         * sysdeps/s390/rtld-__longjmp.c: Delete file.
43348         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
43349         * sysdeps/s390/rtld-setjmp.S: Likewise.
43350         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
43351         * sysdeps/s390/s390-32/__longjmp.c: ... here.
43352         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
43353         * sysdeps/s390/s390-32/setjmp.S: ... here.
43354         Add versioning.
43355         (__sigsetjmp): Remove setting __flags field.
43356         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
43357         * sysdeps/s390/s390-64/__longjmp.c: ... here.
43358         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
43359         * sysdeps/s390/s390-64/setjmp.S: ... here.
43360         Add versioning.
43361         (__sigsetjmp): Remove setting __flags field.
43362         * sysdeps/s390/setjmp.S: Delete file.
43363         * sysdeps/s390/sigjmp.c: Likewise.
43364         * sysdeps/s390/v1-longjmp.c: Likewise.
43365         * sysdeps/s390/v1-setjmp.h: Likewise.
43366         * sysdeps/s390/v1-sigjmp.c: Likewise.
43367         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
43368         Remove v1-longjmp_chk.
43369         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
43370         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
43371         Include debug/longjmp_chk.c and add versioning.
43372         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
43373         Include nptl/pt-longjmp.c and add versioning.
43374         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
43375         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
43376         Include __longjmp.c.
43377         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43378         Move to ...
43379         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
43380         (__getcontext): Remove setting __flags field.
43381         Add versioning.
43382         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43383         Don't restore upper high grps.
43384         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
43385         Likewise.
43386         (__swapcontext): Remove setting uc_flags field.
43387         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
43388         Delete file.
43389         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43390         Include __longjmp.c.
43391         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43392         Move to ...
43393         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
43394         (__getcontext): Remove setting __flags field.
43395         Add versioning.
43396         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
43397         (__swapcontext): Remove setting uc_flags field.
43398         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
43399         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
43400         Remove fields uc_high_gprs and __reserved.
43401         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
43402         New file with reverted content.
43403         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
43404         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
43405         Regenerated.
43406         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
43407         Regenerated.
43409 2014-07-31  Andreas Schwab  <schwab@suse.de>
43411         * config.h.in (HAVE_IFUNC): Define to 0.
43412         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
43413         definedness.
43415 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
43417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43418         memmove-avx-unaligned, memcpy-avx-unaligned and
43419         mempcpy-avx-unaligned.
43420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43421         Add tests for AVX memcpy functions.
43422         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
43423         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
43424         memcpy_chk.
43425         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
43426         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
43427         memmove_chk.
43428         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
43429         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
43430         mempcpy_chk.
43431         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
43432         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
43433         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
43435 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43437         [BZ #17213]
43438         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
43439         powerpc64le.
43441 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
43443         [BZ #16839]
43444         * manual/llio.texi: Add section about open file description locks.
43445         * manual/examples/ofdlocks.c: Example of open file description
43446         lock usage.
43447         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
43448         F_OFD_SETLK, and F_OFD_SETLKW.
43450 2014-07-23  Allan McRae  <allan@archlinux.org>
43452         * po/es.po: Update Spanish translation from translation project.
43454 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
43456         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
43458 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
43460         [BZ #17078]
43461         * sysdeps/arm/dl-machine.h (elf_machine_rela)
43462         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
43463         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
43465 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
43467         [BZ #17088]
43468         * math/fesetenv.c (__fesetenv)
43469         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
43470         * math/feupdateenv.c (__feupdateenv)
43471         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
43473         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
43474         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43475         (__ASSUME_SOCKETCALL): Do not define.
43477         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
43478         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
43479         (__ASSUME_SOCKETCALL): Do not define.
43480         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
43481         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43482         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43483         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43484         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43485         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
43486         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43487         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43489         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
43490         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
43491         (__ASSUME_SOCKETCALL): Do not define.
43492         (__ASSUME_IPC64): Define unconditionally.
43493         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43494         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43495         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43496         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43497         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
43498         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43499         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
43500         Likewise.
43502         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
43503         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
43504         (__ASSUME_SOCKETCALL): Do not define.
43505         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
43506         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43507         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43508         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43509         (__ASSUME_REQUEUE_PI): Define unconditionally.
43510         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
43511         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
43512         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43513         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
43514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43515         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43517         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
43518         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
43519         (__ASSUME_SOCKETCALL): Do not define.
43520         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
43521         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43522         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43523         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
43524         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43525         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43527         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
43528         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
43529         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43530         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
43531         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43532         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
43533         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43534         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
43535         (__ASSUME_GETCPU_SYSCALL): Likewise.
43537         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
43538         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
43539         cases for individual architectures.
43540         * sysdeps/gnu/configure: Regenerated.
43541         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
43542         LIBC_SLIBDIR_RTLDDIR.
43543         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
43544         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
43545         LIBC_SLIBDIR_RTLDDIR.
43546         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
43547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
43548         LIBC_SLIBDIR_RTLDDIR.
43549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43550         Regenerated.
43551         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
43552         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
43553         file.
43554         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
43555         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
43556         file.
43557         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
43558         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
43559         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
43560         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
43562         * sysdeps/aarch64/shlib-versions: Move to ...
43563         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
43564         * sysdeps/alpha/shlib-versions: Move to ...
43565         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
43566         * sysdeps/arm/shlib-versions: Move to ...
43567         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
43568         * sysdeps/hppa/shlib-versions: Move all contents except for
43569         libgcc_s entry to ...
43570         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
43571         entry from ...
43572         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
43573         * sysdeps/ia64/shlib-versions: Move to ...
43574         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
43575         entry from ...
43576         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
43577         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
43578         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
43579         * sysdeps/microblaze/shlib-versions: Move to ...
43580         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
43581         * sysdeps/mips/shlib-versions: Move to ...
43582         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
43583         entry from ...
43584         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
43585         * sysdeps/tile/shlib-versions: Move to ...
43586         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
43587         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
43588         from ...
43589         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
43590         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
43591         entry from ...
43592         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
43594 2014-07-17  Will Newton  <will.newton@linaro.org>
43596         * sysdeps/arm/bits/atomic.h
43597         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
43598         (__arch_compare_and_exchange_bool_16_int): Likewise.
43599         (__arch_compare_and_exchange_bool_64_int): Likewise.
43601         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
43602         into an #else block.
43604 2014-07-16  Roland McGrath  <roland@hack.frob.com>
43606         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
43607         just Linux configurations.  Test empirically that the compiler sets
43608         __ARM_EABI__, rather than using the tuple to decide.
43609         * sysdeps/arm/preconfigure: Regenerated.
43610         * sysdeps/unix/sysv/linux/arm/configure: File removed.
43611         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
43612         contents appended ...
43613         * sysdeps/arm/configure.ac: ... here.
43614         * sysdeps/arm/configure: Regenerated.
43616 2014-07-15  Roland McGrath  <roland@hack.frob.com>
43618         * nptl/pthread_kill.c: New file.
43619         * nptl/pthread_sigmask.c: New file.
43620         * nptl/pthread_sigqueue.c: New file.
43622         * sysdeps/nptl/lowlevellock.h: New file.
43623         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43624         * sysdeps/nptl/lowlevellock-futex.h: New file.
43626         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43627         Remove dead declarations.
43629 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
43631         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43632         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43633         config-cflags-avx2.
43634         * sysdeps/x86_64/configure.ac: Likewise.
43635         * sysdeps/i386/configure: Regenerated.
43636         * sysdeps/x86_64/configure: Likewise.
43637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43638         memset-avx2 only if config-cflags-avx2 is yes.
43639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43640         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43641         defined.
43642         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43643         only if HAVE_AVX2_SUPPORT is defined.
43644         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43646 2014-07-14  Alan Modra  <amodra@gmail.com>
43648         [BZ #17153]
43649         * elf/elf.h (DT_PPC64_NUM): Correct value.
43650         * NEWS: Add to fixed bug list.
43652 2014-07-13  Jim Meyering  <meyering@fb.com>
43654         [BZ 17150]
43655         regex: don't deref NULL upon heap allocation failure
43656         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43657         failure in one more place.
43658         To trigger the segfault, configure grep -with-included-regex,
43659         build it, and run these commands:
43660         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43662 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43664         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43666 2014-07-11  Richard Henderson  <rth@redhat.com>
43668         * sysdeps/aarch64/libm-test-ulps: Update.
43670 2014-07-10  Florian Weimer  <fweimer@redhat.com>
43672         [BZ #17135]
43673         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43674         * nptl/allocatestack.c (__nptl_setxid_error): New function.
43675         (__nptl_setxid): Initialize error member.  Call
43676         __nptl_setxid_error.
43677         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43678         * nptl/descr.h (struct xid_command): Add error member.
43679         * nptl/tst-setuid3.c: New file.
43680         * nptl/Makefile (tests): Add it.
43682 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43684         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
43685         New define.
43686         (__lll_trylock): Use __lll_base_trylock.
43687         (__lll_cond_trylock): Likewise.
43689 2014-07-10  Roland McGrath  <roland@hack.frob.com>
43691         * nptl/pthread_create.c (start_thread): Use atomic_or and
43692         lll_futex_wake directly rather than lll_robust_dead.
43693         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43694         (lll_robust_dead): Macro removed.
43695         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
43696         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43697         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43698         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43699         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43700         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43701         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43702         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43703         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43704         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43705         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43706         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43707         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43708         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43709         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43711         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
43712         Use atomic_compare_and_exchange_val_acq directly rather than
43713         lll_robust_trylock.
43714         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43715         (__lll_robust_trylock, lll_robust_trylock): Removed.
43716         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43717         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43718         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43719         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43720         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43721         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43722         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43723         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43724         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43725         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43726         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43727         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43728         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43729         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43731 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43733         * manual/locale.texi (Locale Names): New section documenting
43734         locale name syntax.  Adjust menu and node chaining accordingly.
43735         (Choosing Locale): Reference Locale Names, Locale Categories.
43736         Mention setting LC_ALL=C.  Reflect that name syntax is now
43737         documented.
43738         (Locale Categories): New section title.  Reference Locale Names.
43739         LC_ALL is an environment variable, but not a category.
43740         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
43741         description, now in Locale Name.  Reference that section.  Locale
43742         name syntax is now documented.
43744 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43746         [BZ #17137]
43747         * locale/findlocale.c (name_present, valid_locale_name): New
43748         functions.
43749         (_nl_find_locale): Use the loc_name variable to store name
43750         candidates.  Call name_present and valid_locale_name to check and
43751         validate locale names.  Return an error if the locale is invalid.
43753 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43755         * locale/setlocale.c (setlocale): Use strdup for allocating
43756         composite name copy.
43758 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43760         Sync up with gnulib.
43761         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
43762         [!_LIBC && ENABLE_NLS]: Include gettext.h.
43763         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
43764         and _GL_ARG_NONNULL.
43765         [USE_UNLOCKED_IO]: Include unlocked-io.h.
43766         [!_LIBC]: Include code for Windows and Cygwin.
43767         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
43768         Include prototype for int strerror_r.
43769         [!_LIBC] (is_open): New function.
43770         (flush_stdout): New function.
43771         (print_errno_message): Use it.
43772         (error): Likewise.
43773         (error_at_line): Likewise.
43774         (error_tail) Add function attribute macros.  Use
43775         __builtin_expect.
43777         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
43779         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
43781         * io/ftw.c: Include sys/param.h unconditionally.
43783         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43785         [BZ #17125]
43786         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
43787         libc_freeres_ptr.
43788         (freecache): New function to free CACHE on exit.
43790         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
43791         initialization.
43793 2014-07-09  David S. Miller  <davem@davemloft.net>
43795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43797         * sysdeps/sparc/nptl/internaltypes.h: Delete.
43798         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
43799         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
43800         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
43801         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
43802         * sysdeps/sparc/nptl/sem_init.c: Likewise.
43803         * sysdeps/sparc/nptl/sem_post.c: Likewise.
43804         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
43805         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
43806         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
43807         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
43808         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
43809         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
43811 2014-07-09  Andreas Schwab  <schwab@suse.de>
43813         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
43814         output.
43815         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
43816         (do_test): Likewise.
43818         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43820 2014-07-09  Will Newton  <will.newton@linaro.org>
43822         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43823         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
43824         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
43825         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
43826         * sysdeps/hppa/start.S (_start): Likewise.
43828 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43830         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
43832         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
43833         defined.
43835 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43837         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
43838         after checking that it is non-NULL.
43840         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
43842 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43844         * sysdeps/powerpc/memmove.c: Remove file.
43845         * sysdeps/powerpc/powerpc32/power4/memcopy.h
43846         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
43847         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
43848         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
43849         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
43850         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
43851         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
43852         string memmove instead of removed powerpc one.
43854         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43855         [weak_alias]: Fix compiler warning due trailing data.
43856         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
43857         [weak_alias]: Likewise.
43858         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
43859         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
43861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43862         (__libc_ifunc_impl_list): Add memmove functions.
43864 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43866         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
43867         Remove code.
43868         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
43869         Likewise.
43870         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
43871         Likewise.
43872         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
43873         Likewise.
43874         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
43875         Likewise.
43876         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
43877         Likewise.
43878         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
43879         Likewise.
43880         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
43881         Likewise.
43882         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
43883         Likewise.
43884         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
43885         Likewise.
43886         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
43887         Likewise.
43888         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
43889         Likewise.
43890         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
43891         Likewise.
43892         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
43893         Likewise.
43894         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
43895         Likewise.
43896         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
43897         Likewise.
43898         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
43899         Likewise.
43901 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43903         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
43904         to avoid alignment traps in non-cacheable memory.
43905         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43907         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
43908         multiarch objects.
43909         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
43910         file: multiarch power7 memmove.
43911         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
43912         multiarch default memmove.
43913         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
43914         multiarch memove for powerpc32/power4.
43916         * string/bcopy.c: Use full path to include memmove.c.
43917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
43918         multiarch objects.
43919         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
43920         bcopy for powerpc64.
43921         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
43922         bcopy for powerpc64.
43923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
43924         and memmove implementations.
43925         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
43926         optimized multiarch memmove for POWER7/powerpc64.
43927         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
43928         default multiarch memmove for powerpc64.
43929         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
43930         multiarch for powerpc64.
43931         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
43932         for POWER7/powerpc64.
43933         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
43934         memmove for POWER7/powerpc64.
43936         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
43937         glibc default one.
43939         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
43940         __ELF_NATIVE_CLASS equal to 64.
43942 2014-07-07  Roland McGrath  <roland@hack.frob.com>
43944         * sysdeps/nptl/lowlevellock.h: File removed.
43946         * NEWS: NPTL is no longer an add-on!
43947         * nptl/internaltypes.h: Moved ...
43948         * sysdeps/nptl/internaltypes.h: ... here.
43949         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
43950         * sysdeps/nptl/fork.c: Likewise.
43951         * sysdeps/nptl/gai_misc.h: Likewise.
43952         * sysdeps/nptl/librt-cancellation.c: Likewise.
43953         * sysdeps/nptl/jmp-unwind.c: Likewise.
43954         * sysdeps/nptl/setxid.h: Likewise.
43955         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
43956         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
43957         * sysdeps/unix/sysv/linux/arm/Implies: New file.
43958         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
43959         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
43960         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
43961         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
43962         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
43963         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
43964         * sysdeps/unix/sysv/linux/mips/Implies: New file.
43965         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
43966         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
43967         * sysdeps/unix/sysv/linux/sh/Implies: New file.
43968         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
43969         * sysdeps/unix/sysv/linux/tile/Implies: New file.
43970         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
43971         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
43972         * nptl/Makeconfig: Moved ...
43973         * sysdeps/nptl/Makeconfig: ... here.
43974         * nptl/configure: File removed.
43975         * nptl/ANNOUNCE: File removed.
43976         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
43977         * sysdeps/unix/sysv/linux/configure: Regenerated.
43979         * nptl/Makefile (routines): Add libc_pthread_init,
43980         libc_multiple_threads, register-atfork and unregister-atfork.
43981         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
43982         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
43983         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
43984         pthread-pi-defines.sym, structsem.sym.
43985         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
43986         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
43987         [$(subdir) = nptl] (tests): Add tst-setgetname.
43988         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
43989         * sysdeps/unix/sysv/linux/sigaction.c: Just include
43990         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
43991         [!LIBC_SIGACTION]: Remove aliases.
43992         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43993         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43994         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43995         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
43996         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43997         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
43998         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44000         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44001         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44002         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44003         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44004         __libc_allocate_rtsig_private.
44005         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44006         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44007         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44008         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44009         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44010         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44011         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44012         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44013         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44014         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44015         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44016         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44017         * nptl/internaltypes.h: ... here.
44018         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44019         * sysdeps/nptl/jmp-unwind.c: ... here.
44020         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44021         * nptl/libc-lowlevellock.c: ... here.
44022         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44023         * nptl/libc_multiple_threads.c: ... here.
44024         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44025         * nptl/libc_pthread_init.c: ... here.
44026         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44027         * nptl/lowlevelbarrier.sym: ... here.
44028         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44029         * nptl/lowlevelcond.sym: ... here.
44030         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44031         * nptl/lowlevellock.c: ... here.
44032         * nptl/lowlevellock.h: Moved ...
44033         * sysdeps/nptl/lowlevellock.h: ... here.
44034         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44035         * nptl/lowlevelrobustlock.c: ... here.
44036         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44037         * nptl/lowlevelrobustlock.sym: ... here.
44038         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44039         * nptl/lowlevelrwlock.sym: ... here.
44040         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44041         * nptl/pt-fork.c: ... here.
44042         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44043         * nptl/pthread-pi-defines.sym: ... here.
44044         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44045         * nptl/pthread_attr_getaffinity.c: ... here.
44046         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44047         * nptl/pthread_attr_setaffinity.c: ... here.
44048         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44049         * nptl/pthread_mutex_cond_lock.c: ... here.
44050         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44051         Update #include.
44052         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44053         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44054         * nptl/pthread_once.c: ... here, replacing old file.
44055         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44056         * nptl/pthread_yield.c: ... here.
44057         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44058         * nptl/register-atfork.c: ... here.
44059         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44060         * nptl/sem_post.c: ... here.
44061         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44062         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44063         * nptl/sem_timedwait.c: ... here.
44064         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44065         * nptl/sem_trywait.c: ... here.
44066         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44067         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44068         * nptl/sem_wait.c: ... here.
44069         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44070         * nptl/structsem.sym: ... here.
44071         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44072         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44073         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44074         * nptl/unregister-atfork.c: ... here.
44075         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44076         * nptl/unwindbuf.sym: ... here.
44077         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44078         * sysdeps/nptl/fork.c: ... here.
44079         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44080         * sysdeps/nptl/fork.h: ... here.
44081         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44082         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44083         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44084         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44085         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44086         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44087         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44088         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44089         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44090         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44091         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44092         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44093         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44094         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44095         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44096         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44097         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44098         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44099         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44100         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44101         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44102         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44103         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44104         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44105         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44106         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44107         * sysdeps/unix/sysv/linux/raise.c: ... here.
44108         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44109         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44110         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44111         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44112         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44113         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44114         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44115         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44116         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44117         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44118         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44119         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44120         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44121         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44122         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44124 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44126         * sysdeps/generic/memcopy.h: Add comment for
44127         MEMCPY_OK_FOR_FWD_MEMMOVE.
44129 2014-07-04  Will Newton  <will.newton@linaro.org>
44131         * string/memchr.c: Merge from gnulib.
44132         [_LIBC]: Remove conditionals.
44133         (__ptr_t): Remove define.
44134         (LONG_MAX_32_BITS): Likewise.
44135         (LONG_MAX): Likewise.
44136         (MEMCHR): Use ANSI prototype and optimize algorithm.
44138         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44140 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44142         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44143         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44145         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44146         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44147         in a bare environment with no <stdlib.h> installed.
44148         * sysdeps/nptl/configure: Regenerated.
44150         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44152         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44153         AC_EGREP_CPP for kernel header checks, so they only succeed if
44154         including <linux/version.h> actually works right.
44155         * sysdeps/unix/sysv/linux/configure: Regenerated.
44157         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44158         value so it's not diagnosed as unused.
44160         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44161         thing) with "ifeq ($(subdir),rt)".
44163 2014-07-03  Richard Henderson  <rth@redhat.com>
44165         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44166         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44167         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44169         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44170         (math_force_eval): New.
44172         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44173         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44175         * sysdeps/alpha/fpu/s_round.c: Remove file.
44176         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44178         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44179         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44180         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44181         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44182         (_dl_start, print_statistics): Likewise.
44183         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44184         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44186         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44187         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44188         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44189         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44190         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44191         (HP_SMALL_TIMING_AVAIL): Define.
44192         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44193         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44194         (HP_SMALL_TIMING_AVAIL): Define.
44195         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44196         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44198         * sysdeps/aarch64/hp-timing.h: New file.
44200         * sysdeps/generic/hp-timing.h: Remove dead comment.
44201         * sysdeps/generic/hp-timing-common.h: New file.
44202         * sysdeps/alpha/hp-timing.h: Include it.
44203         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44204         * sysdeps/i386/i686/hp-timing.h: Likewise.
44205         * sysdeps/ia64/hp-timing.h: Likewise.
44206         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44207         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44208         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44209         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44210         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44211         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44212         (hp_timing_t): New.
44214         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44215         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44216         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44217         * elf/rtld.c (_dl_start_final): Likewise.
44218         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44219         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44220         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44221         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44222         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44223         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44224         (HP_TIMING_DIFF_INIT): Remove.
44225         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44226         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44227         (HP_TIMING_DIFF_INIT): Remove.
44228         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44229         * sysdeps/i386/i686/hp-timing.c: Remove file.
44230         * sysdeps/x86_64/hp-timing.c: Remove file.
44231         * sysdeps/ia64/hp-timing.c: Remove file.
44232         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44233         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44234         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44235         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44237         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44238         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44239         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44240         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44241         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44242         (HP_TIMING_ACCUM): Remove.
44243         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44244         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44245         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44247         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44248         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44249         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44250         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44251         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44252         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44253         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44254         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44256         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44258 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
44260         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44262 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44264         Sync up with gettext.
44265         * intl/loadmsgcat.c: Define O_BINARY if not defined.
44266         [_MSC_VER]: Include malloc.h
44267         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44268         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44269         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
44270         TEMP_FAILURE_RETRY.  Cast return of alloca.
44271         [!_LIBC] Call gl_rwlock_init.
44272         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44274 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44276         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44277         before checking its value.
44279 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44281         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44283         * debug/memcpy_chk.c: Don't include pagecopy.h.
44284         * debug/mempcpy_chk.c: Likewise.
44285         * string/memcpy.c: Likewise.
44286         * string/memmove.c: Likewise.
44287         * sysdeps/powerpc/memmove.c: Likewise.
44288         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
44289         definition of PAGE_COPY_FWD_MAYBE here...
44290         * sysdeps/generic/pagecopy.h: ... from here.
44291         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
44293 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44294             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44296         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
44297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
44298         optimizations.
44299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44300         (__libc_ifunc_impl_list): Likewise.
44301         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
44302         multiarch strcat for PPC64.
44303         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
44304         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44306 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44308         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
44310 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44312         * intl/loadmsgcat.c: Remove declaration of
44313         get_sysdep_segment_value.
44314         (get_sysdep_segment_value): Use ISO C style.
44315         (_nl_load_domain): Use ISO C style.  Get rid of redundant
44316         semicolon.  Fix typo and formatting in comment.
44317         (_nl_unload_domain): Use ISO C style.
44319         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
44321 2014-07-02  Will Newton  <will.newton@linaro.org>
44323         * malloc/obstack.c: Merge from gnulib master.
44324         [HAVE_CONFIG_H]: Remove conditional code.
44325         [!_LIBC]: Include config.h.
44326         [!ELIDE_CODE]: Don't include inttypes.h, include
44327         stdint.h unconditionally.
44328         (print_and_abort): Mark as _Noreturn.
44329         (_obstack_allocated_p): Mark as __attribute_pure__.
44330         (obstack_free): Rename to __obstack_free.
44331         [!__attribute__]: Remove conditional code.
44332         * malloc/obstack.h: Merge from gnulib master.
44333         [__cplusplus]: Move conditional down.
44334         [!__attribute_pure__]: Define __attribute_pure__ here
44335         if it is not already defined.
44336         (_obstack_memory_used): Mark as __attribute_pure__.
44337         [!__obstack_free]: Define as obstack_free.
44338         [__GNUC__]: Remove check for ancient NeXT gcc.
44340 2014-07-02  Will Newton  <will.newton@linaro.org>
44341             Paul Eggert  <eggert@cs.ucla.edu>
44343         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
44345 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44347         * resolv/gethnamaddr.c: Add comment warning that the file is
44348         not maintained.
44350 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
44352         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44353         entries.
44355         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
44356         entry for aio_cancel and aio_cancel64.
44357         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
44358         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
44359         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
44360         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
44361         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
44362         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
44363         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
44364         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
44365         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
44366         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
44367         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
44368         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
44369         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
44371 2014-07-01  Roland McGrath  <roland@hack.frob.com>
44373         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
44374         * nptl/pthread_mutex_lock.c: Likewise.
44375         * nptl/pthread_mutex_timedlock.c: Likewise.
44376         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
44378 2014-07-01  Richard henderson  <rth@redhat.com>
44380         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
44381         (__isnan, __isnanl): Remove.
44382         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
44384         * sysdeps/alpha/fpu/libm-test-ulps: Update.
44386 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44388         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44390 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44392         * resolv/nss_dns/dns-host.c (getanswer_r)
44393         [MULTI_PTRS_ARE_ALIASES]: Remove code.
44395 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
44397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44398         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
44399         undefine.
44400         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
44401         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
44403 2014-07-01  Roland McGrath <roland@hack.frob.com>
44405         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
44406         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
44408         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
44409         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
44411         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
44412         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
44413         ... here.
44414         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
44415         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
44417         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
44418         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
44419         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
44420         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
44422         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
44423         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
44424         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
44425         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
44426         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
44427         Moved ...
44428         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
44429         ... here.
44430         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
44431         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
44432         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
44433         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
44434         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
44435         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
44436         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
44437         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
44438         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
44439         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
44440         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
44441         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
44442         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
44443         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
44444         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
44445         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
44446         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
44447         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
44448         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
44449         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
44450         ... here.
44451         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
44452         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
44453         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
44454         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
44455         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
44456         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
44457         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
44458         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
44460 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
44462         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
44463         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
44464         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
44465         Add sysdep.
44467 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44471 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44473         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
44474         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44476         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44478         * sysdeps/arm/libm-test-ulps: Regenerated.
44480 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44481             Roland McGrath <roland@hack.frob.com>
44483         * test-skeleton.c (signal_handler): Kill the whole process group
44484         before killing the child individually.
44485         (main): Report any failure on `setpgid'.
44487 2014-06-30  Roland McGrath  <roland@hack.frob.com>
44489         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
44490         from _TLS_H to _ARM_NPTL_TLS_H.
44491         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
44492         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
44494 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44496         [BZ #16539]
44497         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
44498         (__expm1l): Return argument unchanged when small but not
44499         subnormal.
44501         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
44502         include macro name.
44503         (_FP_UNPACK_RAW_1_P): Likewise.
44504         (_FP_PACK_RAW_1): Likewise.
44505         (_FP_PACK_RAW_1_P): Likewise.
44506         (_FP_MUL_MEAT_1_wide): Likewise.
44507         (_FP_MUL_MEAT_DW_1_hard): Likewise.
44508         (_FP_MUL_MEAT_1_hard): Likewise.
44509         (_FP_DIV_MEAT_1_imm): Likewise.
44510         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
44511         (_FP_DIV_MEAT_1_udiv): Likewise.
44512         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
44513         (_FP_UNPACK_RAW_2): Likewise.
44514         (_FP_UNPACK_RAW_2_P): Likewise.
44515         (_FP_PACK_RAW_2): Likewise.
44516         (_FP_PACK_RAW_2_P): Likewise.
44517         (_FP_MUL_MEAT_DW_2_wide): Likewise.
44518         (_FP_MUL_MEAT_2_wide): Likewise.
44519         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
44520         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44521         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
44522         (_FP_MUL_MEAT_2_gmp): Likewise.
44523         (_FP_DIV_MEAT_2_udiv): Likewise.
44524         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
44525         (_FP_FRAC_SRL_4): Likewise.
44526         (_FP_FRAC_SRST_4): Likewise.
44527         (_FP_FRAC_SRS_4): Likewise.
44528         (_FP_UNPACK_RAW_4): Likewise.
44529         (_FP_UNPACK_RAW_4_P): Likewise.
44530         (_FP_PACK_RAW_4): Likewise.
44531         (_FP_PACK_RAW_4_P): Likewise.
44532         (_FP_MUL_MEAT_DW_4_wide): Likewise.
44533         (_FP_MUL_MEAT_4_wide): Likewise.
44534         (_FP_MUL_MEAT_4_gmp): Likewise.
44535         (umul_ppppmnnn): Likewise.
44536         (_FP_DIV_MEAT_4_udiv): Likewise.
44537         (__FP_FRAC_ADD_4): Likewise.
44538         (__FP_FRAC_SUB_3): Likewise.
44539         (__FP_FRAC_SUB_4): Likewise.
44540         (__FP_FRAC_DEC_3): Likewise.
44541         (__FP_FRAC_DEC_4): Likewise.
44542         (__FP_FRAC_ADDI_4): Likewise.
44543         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
44544         (_FP_FRAC_SRL_8): Likewise.
44545         (_FP_FRAC_SRS_8): Likewise.
44547         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
44548         include macro name.
44549         (FP_UNPACK_RAW_EP): Likewise.
44550         (FP_PACK_RAW_E): Likewise.
44551         (FP_PACK_RAW_EP): Likewise.
44552         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
44553         (_FP_ISSIGNAN): Likewise.
44554         (_FP_ADD_INTERNAL): Likewise.
44555         (_FP_FMA): Likewise.
44556         (_FP_CMP): Likewise.
44557         (_FP_SQRT): Likewise.
44558         (_FP_TO_INT): Likewise.
44559         (_FP_FROM_INT): Likewise.
44560         (FP_EXTEND): Likewise.
44561         (_FP_DIV_MEAT_N_loop): Likewise.
44563 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44565         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
44566         throughout.
44568 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
44570         [BZ #17097]
44571         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
44572         result with correct sign in case of exponents that produce
44573         overflow except for X very close to 1.
44575 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
44577         mktime: merge #if/#ifdef usage from glibc
44578         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
44579         as that works with both Glibc's and Gnulib's style.
44580         See thread starting at Siddhesh Poyarekar's bug report at:
44581         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
44583 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44585         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
44586         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
44587         * sysdeps/tile/tilegx/memmove.c: Remove file.
44589 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44591         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
44592         abi-name definition.
44593         * scripts/soversions.awk: Do not handle or generate ABI lines.
44594         * shlib-versions: Remove ABI entries.
44595         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
44596         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
44598 2014-06-27  Roland McGrath  <roland@hack.frob.com>
44600         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
44601         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
44602         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
44603         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
44604         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
44605         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44606         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
44607         Moved ...
44608         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
44609         ... here.
44610         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
44611         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
44612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
44613         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
44614         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
44615         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
44616         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
44617         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
44618         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
44619         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
44620         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
44621         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
44622         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44623         Moved ...
44624         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44626         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44628         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44630         Moved ...
44631         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44632         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44633         Moved ...
44634         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44636         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44637         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44638         Moved ...
44639         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44641         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44642         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44643         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44645         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44647         Moved ...
44648         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44649         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44650         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44651         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44652         Moved ...
44653         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44654         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44655         Moved ...
44656         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44657         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44658         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44659         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44660         Moved ...
44661         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44662         ... here.
44663         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44664         Identical file removed.
44665         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44666         Moved ...
44667         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44668         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44669         Identical file removed.
44670         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44671         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44672         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44673         Moved ...
44674         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44675         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44676         Identical file removed.
44677         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44678         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44679         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44680         Identical file removed.
44681         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
44682         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
44683         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
44684         Identical file removed.
44685         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
44686         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
44687         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
44688         Identical file removed.
44689         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
44690         Moved ...
44691         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
44692         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
44693         Identical file removed.
44694         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
44695         Moved ...
44696         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
44697         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
44698         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
44699         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
44700         Identical file removed.
44701         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
44702         Moved ...
44703         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
44704         ... here.
44705         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
44706         Identical file removed.
44707         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
44708         Moved ...
44709         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
44710         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
44711         Identical file removed.
44712         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
44713         Moved ...
44714         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
44715         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
44716         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
44717         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
44718         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
44719         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
44720         Moved ...
44721         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
44722         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
44723         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
44725         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
44726         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
44727         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
44728         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
44729         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
44731 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
44733         [BZ #17092]
44734         * nscd/nscd.c (monitor_child): Return exit status of child
44735         instead of return value from wait syscall.
44737 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44739         * configure.ac (libc_commonpagesize): Remove variable.
44740         (libc_relro_required): Likewise.
44741         (libc_cv_z_relro): Remove configure test.
44742         * configure: Regenerated.
44743         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
44744         variable.
44745         (libc_relro_required): Likewise.
44746         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
44747         (libc_relro_required): Likewise.
44748         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
44749         (libc_relro_required): Likewise.
44750         * sysdeps/arm/preconfigure: Regenerated.
44751         * sysdeps/ia64/preconfigure: Remove file.
44752         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
44753         variable.
44754         (libc_relro_required): Likewise.
44756         [BZ #16561]
44757         [BZ #16562]
44758         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
44759         (__ieee754_yn): Set FE_TONEAREST mode internally and then
44760         recompute overflowing results in original rounding mode.
44761         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
44762         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
44763         recompute overflowing results in original rounding mode.
44764         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
44765         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44766         recompute overflowing results in original rounding mode.
44767         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
44768         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44769         recompute overflowing results in original rounding mode.
44770         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
44771         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44772         recompute overflowing results in original rounding mode.
44773         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44774         (libc_feholdsetround_ctx): New macro.
44775         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
44776         * sysdeps/i386/fpu/libm-test-ulps: Update.
44777         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
44779 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44781         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
44782         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
44783         corresponding .cpsetup call.
44785 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44787         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
44788         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
44789         * sysdeps/arm/Makefile [$(subdir) = csu]
44790         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
44791         (static-only-routines): Add aeabi_read_tp here.
44792         (shared-only-routines): Add libc-aeabi_read_tp here.
44793         (CFLAGS-libc-start.c): Add -fexceptions here.
44794         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
44795         (sysdep_routines, static-only-routines, shared-only-routines):
44796         Don't add to these here.
44797         (CFLAGS-libc-start.c): Likewise.
44799         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
44800         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44801         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
44802         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44803         * sysdeps/arm/Makefile [$(subdir) = rt]
44804         (librt-sysdep_routines, librt-shared-only-routines):
44805         Append rt-aeabi_unwind_cpp_pr1 here.
44806         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
44807         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
44808         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
44809         (libpthread-sysdep_routines, libpthread-shared-only-routines):
44810         Append nptl-aeabi_unwind_cpp_pr1 here.
44811         (tests): Filter out tst-cleanupx4 here.
44812         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
44813         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
44814         Don't do those here.
44816 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44818         * scripts/list-sources.sh: Do not handle ports specially.
44820 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44822         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
44823         * sysdeps/arm/feupdateenv.c: Likewise.
44825         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
44827 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44829         * manual/texinfo.tex: Update to version 2014-05-05.10 with
44830         trailing whitespace removed.
44831         * scripts/config.guess: Update to version 2014-03-23.
44832         * scripts/config.sub: Update to version 2014-05-01
44833         * scripts/install-sh: Update to version 2013-12-25.23.
44834         * scripts/move-if-change: Update from gnulib.
44836 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44838         * debug/memmove_chk.c: Remove pagecopy.h include.
44840 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
44842         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
44843         identical to gnulib mktime.
44845 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44847         * configure.ac: Do not test for machine being rs6000.  Do not test
44848         for powerpc*-*soft.
44849         * configure: Regenerated.
44851         [BZ #11505]
44852         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
44853         test.
44854         * configure: Regenerated.
44855         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
44856         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
44857         Remove configure test.
44858         * sysdeps/arm/configure: Regenerated.
44859         * sysdeps/nptl/configure.ac: Do not check
44860         libc_cv_asm_cfi_directives.
44861         * sysdeps/nptl/configure: Regenerated.
44862         * sysdeps/x86_64/nptl/configure.ac: Remove file.
44863         * sysdeps/x86_64/nptl/configure: Remove generated file.
44864         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
44865         unconditional.
44866         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
44868 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44870         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
44871         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
44872         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
44873         it is defined.
44875         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
44876         instead of whether it is defined.
44877         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
44878         * sysdeps/hppa/dl-machine.h: Likewise.
44879         * sysdeps/ia64/dl-machine.h: Likewise.
44880         * sysdeps/m68k/dl-machine.h: Likewise.
44881         * sysdeps/microblaze/dl-machine.h: Likewise.
44882         * sysdeps/mips/dl-machine.: Likewise.
44883         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44884         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44885         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44886         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44887         * sysdeps/sh/dl-machine.h: Likewise.
44888         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44889         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44890         * sysdeps/tile/dl-machine.h: Likewise.
44891         * sysdeps/x86_64/dl-machine.h: Likewise.
44893         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
44894         code.
44895         (verify_persistent_db): Likewise.
44897 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
44900         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
44901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
44902         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
44903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44904         Moved ...
44905         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
44906         ... here.
44907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
44908         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
44909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
44910         Identical file removed.
44911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
44912         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
44913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
44914         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
44915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
44916         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
44917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
44918         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
44919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
44920         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
44921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44922         Moved ...
44923         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
44924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
44925         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
44926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
44927         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
44928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44929         Moved ...
44930         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
44931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
44932         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
44933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
44934         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
44935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44936         Identical file removed.
44937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
44938         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
44939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
44940         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
44941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44942         Moved ...
44943         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
44944         ... here.
44945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
44946         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
44947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
44948         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
44949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
44950         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
44951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
44952         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
44953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
44954         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
44955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44956         Moved ...
44957         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
44958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
44959         Moved ...
44960         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
44961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
44962         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
44963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44964         Moved ...
44965         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
44966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
44967         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
44969         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
44970         folded into ...
44971         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
44972         * sysdeps/unix/sysv/linux/s390/Versions
44973         (libpthread: GLIBC_2.19): New version set.
44974         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
44975         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
44976         (librt: GLIBC_2.3.3): New version set.
44977         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
44978         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
44979         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
44980         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
44981         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
44982         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
44983         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
44984         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
44985         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
44986         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
44987         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
44988         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
44989         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
44990         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
44991         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
44992         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
44993         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
44994         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
44995         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
44996         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
44997         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
44998         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
44999         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45000         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45001         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45002         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45003         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45004         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45005         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45006         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45007         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45008         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45009         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45010         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45011         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45012         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45013         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45014         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45015         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45016         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45017         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45019         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45021         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45023         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45024         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45025         (__libc_vfork): Define the function under this name.
45026         [!NOT_IN_libc] (__vfork): Make this an alias.
45027         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45029         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45030         (__libc_vfork): Define the function under this name.
45031         [!NOT_IN_libc] (__vfork): Make this an alias.
45032         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45033         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45034         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45035         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45036         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45037         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45039         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45040         code that was previously under [RESET_PID].
45041         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45042         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45043         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45045         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45046         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45047         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45048         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45049         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45050         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45051         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45052         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45053         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45054         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45055         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45056         Moved ...
45057         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45058         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45059         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45060         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45061         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45062         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45063         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45064         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45065         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45066         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45067         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45068         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45069         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45070         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45071         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45072         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45073         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45074         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45075         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45076         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45077         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45078         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45079         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45080         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45081         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45082         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45083         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45084         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45085         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45087 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45089         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45090         that was previously under [RESET_PID].
45091         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45093 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45095         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45096         not undefine and redefine.
45097         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45098         [O_CLOEXEC]: Make code unconditional.
45099         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45100         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45101         <kernel-features.h>.
45102         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45103         conditional variable definition.
45104         (shm_open) [O_CLOEXEC]: Make code unconditional.
45105         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45106         code.
45108         * configure.ac (USE_REGPARMS): Don't define here.
45109         * configure: Regenerated.
45110         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45111         * sysdeps/i386/configure: Regenerated.
45113         * nptl/createthread.c: Don't include kernel-features.h.
45114         * nptl/pthread_cancel.c: Likewise.
45115         * nptl/pthread_condattr_setclock.c: Likewise.
45116         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45117         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45118         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45119         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45120         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45121         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45122         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45124         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45125         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45126         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45127         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45128         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45129         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45130         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45131         * nscd/gai.c: Likewise.
45132         * nss/nss_db/db-open.c: Likewise.
45133         * sysdeps/generic/ldsodefs.h: Likewise.
45134         * sysdeps/sh/nptl/tls.h: Likewise.
45135         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45136         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45137         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45138         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45139         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45140         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45141         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45142         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45143         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45144         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45145         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45146         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45147         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45148         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45149         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45150         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45151         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45152         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45153         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45154         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45155         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45157         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45158         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45159         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45160         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45161         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45162         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45163         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45164         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45165         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45166         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45167         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45168         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45169         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45170         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45171         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45172         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45173         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45174         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45175         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45176         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45177         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45178         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45179         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45180         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45181         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45182         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45183         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45184         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45185         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45186         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45187         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45188         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45189         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45190         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45191         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45192         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45215         * sysdeps/unix/sysv/linux/pread.c: Likewise.
45216         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45217         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45218         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45219         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45220         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45221         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45222         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45223         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45224         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45225         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45226         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45227         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45228         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45229         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45230         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45231         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45232         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45233         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45234         * sysdeps/unix/sysv/linux/system.c: Likewise.
45235         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45236         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45237         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45238         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45239         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45240         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45241         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45243         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45244         * configure: Regenerated.
45245         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45247         * configure.ac (base_machine): Do not set specially for particular
45248         machines here.
45249         * configure: Regenerated.
45250         * sysdeps/powerpc/preconfigure: Move machine and base_machine
45251         settings from configure.ac.
45252         * sysdeps/i386/preconfigure: New file.
45253         * sysdeps/s390/preconfigure: Likewise.
45254         * sysdeps/sh/preconfigure: Likewise.
45255         * sysdeps/sparc/preconfigure: Likewise.
45257 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45259         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45260         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45261         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45262         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45263         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45264         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45265         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45266         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45267         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45268         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45269         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45270         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45271         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45272         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45273         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45274         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45275         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45276         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45277         * sysdeps/sparc/sparc64/Makefile: ... appended here.
45279         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45280         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45281         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45282         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45283         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45284         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45285         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45286         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45287         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45288         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45289         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45290         * sysdeps/sparc/sparc32/sem_post.c: ... here.
45291         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
45292         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
45293         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
45294         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
45295         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
45296         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
45297         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
45298         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
45299         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
45300         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45301         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
45302         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
45303         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
45304         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
45305         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
45306         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
45307         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
45308         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
45309         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
45310         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
45311         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
45312         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
45313         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
45314         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
45315         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
45316         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
45318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
45319         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
45320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
45321         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
45322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45323         Moved ...
45324         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
45325         ... here.
45326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
45327         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
45328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
45329         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
45330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
45331         Moved ...
45332         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
45333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
45334         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
45335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
45336         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
45337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
45338         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
45339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45340         Moved ...
45341         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
45342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45343         Moved ...
45344         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
45345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
45346         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
45347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45348         Moved ...
45349         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
45350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
45351         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
45352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
45353         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
45354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
45355         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
45356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
45357         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
45358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45359         Moved ...
45360         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
45361         ... here.
45362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
45363         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
45364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
45365         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
45366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
45367         Moved ...
45368         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
45369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
45370         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
45371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
45372         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
45373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
45374         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
45375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45376         Moved ...
45377         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
45378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45379         Moved ...
45380         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
45381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
45382         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
45383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45384         Moved ...
45385         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
45386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
45387         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
45388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
45389         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
45391 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45393         * timezone/checktab.awk: Update from tzcode 2014e.
45394         * timezone/private.h: Likewise.
45395         * timezone/tzfile.h: Likewise.
45396         * timezone/zdump.c: Likewise.
45397         * timezone/zic.c: Likewise.
45399         * sysdeps/unix/sysv/linux/kernel-features.h
45400         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
45401         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
45402         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
45403         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45404         Remove conditional code.
45406 2014-06-25  Will Newton  <will.newton@linaro.org>
45408         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
45409         (_dl_arm_cap_flags): Add HWCAP2 values.
45410         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
45411         (_DL_HWCAP_COUNT): Increase to 37.
45412         (_DL_HWCAP_LAST): New define.
45413         (_DL_HWCAP2_LAST): New define.
45414         (_dl_procinfo): Add support for printing
45415         AT_HWCAP2 entries.
45416         (_dl_string_hwcap): Use _dl_hwcap_string.
45418 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45422 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45424         * README: Do not mention ports directory.
45426         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
45427         Remove macro.
45428         * sysdeps/unix/sysv/linux/futimes.c: Do not include
45429         <kernel-features.h>.
45430         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
45431         conditional variable definition.
45432         (__futimes): Update comment.
45433         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
45434         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
45436         [BZ #16560]
45437         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
45438         arguments close to 0.
45439         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
45440         Likewise.
45441         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
45442         Likewise.
45443         * math/auto-libm-test-in: Add more tests of exp10.
45444         * math/auto-libm-test-out: Regenerated.
45445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45447         * sysdeps/unix/sysv/linux/kernel-features.h
45448         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
45449         * sysdeps/unix/sysv/linux/readv.c: Do not include
45450         <kernel-features.h>.
45451         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45452         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45453         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45454         unconditional.
45455         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45456         conditional code.
45457         * sysdeps/unix/sysv/linux/writev.c: Do not include
45458         <kernel-features.h>.
45459         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45460         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45461         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45462         unconditional.
45463         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45464         conditional code.
45466 2014-06-25  Will Newton  <will.newton@linaro.org>
45468         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
45469         comment changes throughout the file.  Remove checks
45470         for HAVE_*_H definitions that are not required.
45471         (__gen_tempname): Call abort if an unknown kind value is
45472         passed.
45474 2014-06-25  Andreas Schwab  <schwab@suse.de>
45476         [BZ #17086]
45477         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
45478         scalbln, scalblnf, scalblnl in libc.
45480 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45482         [BZ #17086]
45483         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
45484         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45485         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45487 2014-06-24  Roland McGrath  <roland@hack.frob.com>
45489         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
45490         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
45491         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
45492         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
45493         Update #include.
45494         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
45495         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
45496         Update #include.
45497         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
45498         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
45499         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
45500         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
45501         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
45502         * sysdeps/x86/bits/pthreadtypes.h: ... here.
45503         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
45504         * sysdeps/x86/bits/semaphore.h: ... here.
45505         * sysdeps/x86/nptl/elide.h: Moved ...
45506         * sysdeps/x86/elide.h: ... here.
45507         * sysdeps/x86_64/nptl/Implies: File removed.
45508         * sysdeps/i386/nptl/Implies: File removed.
45510 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
45512         [BZ #16539]
45513         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
45514         return the argument for normal arguments with exponent below -64.
45515         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45516         Likewise.
45517         * math/auto-libm-test-in: Add another test of expm1.
45518         * math/auto-libm-test-out: Regenerated.
45520         [BZ #16287]
45521         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
45522         calling __erfcl for arguments at least 16.
45523         * math/auto-libm-test-in: Add more tests of erf.
45524         * math/auto-libm-test-out: Regenerated.
45526         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
45527         individual architectures.
45528         * sysdeps/unix/sysv/linux/configure: Regenerated.
45529         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
45530         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
45531         * sysdeps/unix/sysv/linux/powerpc/configure.ac
45532         (ldd_rewrite_script): Define variable.
45533         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
45535         file.
45536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
45537         generated file.
45538         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
45539         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
45540         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
45541         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
45542         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
45543         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
45544         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
45545         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
45547 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45549         [BZ #17084]
45550         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
45551         Rename member __data.d to __data.__elision_data.
45553 2014-06-24  Wilco  <wdijkstr@arm.com>
45555         * NEWS: Add 16918 to fixed bug list.
45557 2014-06-24  Wilco  <wdijkstr@arm.com>
45559         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
45561 2014-06-24  Wilco  <wdijkstr@arm.com>
45563         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
45564         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
45565         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
45566         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
45567         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
45568         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
45569         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
45570         Use _FPU_MASK_RM.
45572 2014-06-24  Wilco  <wdijkstr@arm.com>
45574         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
45576 2014-06-24  Wilco  <wdijkstr@arm.com>
45578         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
45579         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
45580         * sysdeps/arm/fesetround.c (fesetround): Remove space.
45581         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
45583 2014-06-24  Wilco  <wdijkstr@arm.com>
45585         [BZ #16918]
45586         * sysdeps/arm/feupdateenv.c (feupdateenv):
45587         Rewrite to reduce FPSCR accesses and fix return value.
45589 2014-06-24  Wilco  <wdijkstr@arm.com>
45591         * sysdeps/arm/fclrexcpt.c (feclearexcept):
45592         Optimize to avoid unnecessary FPSCR writes.
45593         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
45594         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
45595         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
45596         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45598 2014-06-24  Wilco  <wdijkstr@arm.com>
45600         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
45601         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
45602         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
45603         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
45604         Call libc_fetestexcept_vfp.
45605         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
45606         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
45607         __SOFTFP__ ifdef so that they can be built for softfp.
45609 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45611         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
45612         argument type signed char.
45614         * Makerules (check-abi): Dump diff of symlist if the test
45615         fails.
45617 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45619         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
45620         using abort.
45622         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45623         Remove unused variable ST.
45625 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45627         [BZ #16354]
45628         [BZ #17061]
45629         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45630         small arguments before calling __expm1.
45631         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45632         small arguments before calling __expm1f.
45633         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45634         small arguments before calling __expm1l.
45635         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45636         Likewise.
45637         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45638         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45639         spurious underflow for some cosh tests.
45640         * math/auto-libm-test-out: Regenerated.
45641         * sysdeps/i386/fpu/libm-test-ulps: Update.
45643         [BZ #17050]
45644         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45645         (__ieee754_y1): Set errno if return value overflows.
45646         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45647         (__ieee754_y1f): Set errno if return value overflows.
45648         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45649         (__ieee754_y1l): Set errno if return value overflows.
45650         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45651         (__ieee754_y1l): Set errno if return value overflows.
45652         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45653         * math/auto-libm-test-out: Regenerated.
45655         * math/gen-auto-libm-tests.c: Document use of
45656         ignore-zero-inf-sign.
45657         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45658         (input_flags): Add ignore-zero-inf-sign.
45659         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45660         * math/gen-libm-test.pl (generate_testfile): Handle
45661         ignore-zero-inf-sign.
45662         * math/auto-libm-test-in: Mark some cpow tests with
45663         ignore-zero-inf-sign and some with xfail-rounding.
45664         * math/auto-libm-test-out: Regenerated.
45665         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45666         * sysdeps/i386/fpu/libm-test-ulps: Update.
45667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45669         [BZ #16315]
45670         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45671         overflowing or underflowing operations take place with sign of
45672         result.
45673         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45674         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45675         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45676         (__ieee754_pow): Recompute overflowing and underflowing results in
45677         original rounding mode.
45678         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45679         (__powl_helper): Allow negative argument X and scale negated value
45680         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
45681         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
45682         overflowing or underflowing operations take place with sign of
45683         result.
45684         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
45685         Include <math.h>.
45686         * math/auto-libm-test-in: Add more tests of pow.
45687         * math/auto-libm-test-out: Regenerated.
45688         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
45689         (pow_tonearest_test_data): Remove.
45690         (pow_test_tonearest): Likewise.
45691         (pow_towardzero_test_data): Likewise.
45692         (pow_test_towardzero): Likewise.
45693         (pow_downward_test_data): Likewise.
45694         (pow_test_downward): Likewise.
45695         (pow_upward_test_data): Likewise.
45696         (pow_test_upward): Likewise.
45697         (main): Don't call removed functions.
45698         * sysdeps/i386/fpu/libm-test-ulps: Update.
45699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45701 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
45704         Moved ...
45705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
45706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45707         Moved ...
45708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
45709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45710         Moved ...
45711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
45712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45713         Moved ...
45714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
45715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45716         File removed.
45717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45718         File removed.
45719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
45720         File removed.
45721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
45722         File removed.
45723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
45724         File removed.
45725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
45726         File removed.
45727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
45728         File removed.
45729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45730         File removed.
45731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
45732         File removed.
45733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45734         File removed.
45735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
45736         File removed.
45737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
45738         File removed.
45739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
45740         Moved ...
45741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
45742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
45743         Moved ...
45744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
45745         ... here.
45746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
45747         Moved ...
45748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
45749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
45750         Moved ...
45751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
45752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
45753         Moved ...
45754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
45755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
45756         Moved ...
45757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
45758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
45759         Moved ...
45760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
45761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
45762         Moved ...
45763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
45764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
45765         Moved ...
45766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
45767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
45768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
45769         ... here.
45770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
45771         Moved ...
45772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
45773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45774         Moved ...
45775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
45776         ... here.
45777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
45778         Moved ...
45779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45780         ... here.
45781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45782         Moved ...
45783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
45784         ... here.
45785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45786         Moved ...
45787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
45788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45789         Moved ...
45790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
45791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
45792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
45793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45794         Moved ...
45795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
45796         ... here.
45797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45798         Moved ...
45799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
45800         ... here.
45801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45802         Moved ...
45803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
45804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45805         Moved ...
45806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
45807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45808         Moved ...
45809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
45810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45811         Moved ...
45812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
45813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45814         Moved ...
45815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
45816         ... here.
45817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45818         Moved ...
45819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
45820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45821         Moved ...
45822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
45823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45824         Moved ...
45825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
45826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45827         Moved ...
45828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
45829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
45830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
45831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45832         Moved ...
45833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45835         Moved ...
45836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
45837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45838         Moved ...
45839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
45840         ... here.
45841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45842         Moved ...
45843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
45844         ... here.
45845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45846         Moved ...
45847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
45848         ... here.
45849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45850         Moved ...
45851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
45852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45853         Moved ...
45854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45856         Moved ...
45857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45859         Moved ...
45860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
45861         ... here.
45862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45863         Moved ...
45864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
45865         ... here.
45866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45867         Moved ...
45868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
45869         ... here.
45870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45871         Moved ...
45872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
45873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45874         Moved ...
45875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
45877 2014-06-23  Will Newton  <will.newton@linaro.org>
45878             Wilco  <wdijkstr@arm.com>
45880         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
45881         implementation.  Include get-rounding-mode.h.
45882         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
45883         [!libc_feholdsetround_noex_ctx]: Define
45884         libc_feholdsetround_noex_ctx.
45885         [!libc_feholdsetround_noexf_ctx]: Define
45886         libc_feholdsetround_noexf_ctx.
45887         [!libc_feholdsetround_noexl_ctx]: Define
45888         libc_feholdsetround_noexl_ctx.
45889         (libc_feholdsetround_ctx): New function.
45890         (libc_feresetround_ctx): New function.
45891         (libc_feholdsetround_noex_ctx): New function.
45892         (libc_feresetround_noex_ctx): New function.
45894 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45896         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
45897         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
45898         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
45899         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
45900         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
45901         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
45903         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
45904         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
45905         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
45906         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
45907         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
45908         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
45909         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
45910         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
45911         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
45912         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
45913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
45914         Moved ...
45915         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
45916         ... here.
45917         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
45918         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
45919         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
45920         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
45921         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
45922         Moved ...
45923         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
45924         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
45925         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
45926         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
45927         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
45928         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
45929         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
45930         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
45931         Moved ...
45932         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
45933         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
45934         Moved ...
45935         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
45936         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
45937         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
45938         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
45939         Moved ...
45940         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
45941         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
45942         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
45943         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
45944         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
45945         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
45946         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
45947         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
45948         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
45949         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
45950         Moved ...
45951         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
45952         ... here.
45953         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
45954         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
45955         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
45956         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
45957         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
45958         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
45959         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
45960         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
45961         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
45962         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
45963         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
45964         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
45965         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
45966         Moved ...
45967         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
45968         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
45969         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
45970         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
45971         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
45972         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
45973         Moved ...
45974         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
45975         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
45976         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
45977         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
45978         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
45980         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
45981         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
45982         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
45983         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
45984         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
45985         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
45986         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
45987         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
45988         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
45989         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
45990         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
45991         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
45992         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
45993         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
45994         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
45995         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
45996         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
45997         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
45998         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
45999         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46000         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46001         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46002         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46003         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46004         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46005         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46006         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46007         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46009 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46011         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46012         (FALLOC_FL_COLLAPSE_RANGE): New macro.
46013         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46014         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46015         (IPV6_PMTUDISC_INTERFACE): Likewise.
46016         (IPV6_PMTUDISC_OMIT): Likewise.
46018 2014-06-23  Andreas Schwab  <schwab@suse.de>
46020         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46021         Remove unused errout label.
46023 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46025         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46026         macro: hardware supports Vector Crypto instructions.
46028 2014-06-23  Will Newton  <will.newton@linaro.org>
46030         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46031         rather than __builtin_expect.
46033         * elf/dl-lookup.c (undefined_msg): Remove variable.
46034         (_dl_lookup_symbol_x): Replace undefined_msg with string
46035         literal.
46037         * elf/dl-lookup.c (do_lookup_unique): New function.
46038         (do_lookup_x): Move STB_GNU_UNIQUE handling code
46039         to a separate function.
46041 2014-06-23  Andreas Schwab  <schwab@suse.de>
46043         [BZ #17079]
46044         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46045         before reading the next line.
46047 2014-06-23  Will Newton  <will.newton@linaro.org>
46049         * test-skeleton.c (signal_handler): Use printf and %m
46050         rather than perror.  Use printf rather than fprintf to
46051         stderr.  Use puts rather than fputs to stderr.
46052         (main): Likewise.
46054 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
46056         * nscd/nscd.c (thread_info_t): Remove typedef.
46057         (thread_info): Remove variable.
46059 2014-06-21  Allan McRae  <allan@archlinux.org>
46061         * NEWS: Mention CVE-2014-4043.
46063 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46065         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46066         * nptl/smp.h: ... here.
46068         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46070         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46071         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46072         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46073         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46075         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46076         * nptl/stack-aliasing.h: New file.
46077         * sysdeps/i386/i686/stack-aliasing.h: New file.
46078         * sysdeps/i386/i686/nptl/Makefile: File removed.
46079         * sysdeps/x86_64/stack-aliasing.h: New file.
46080         * sysdeps/x86_64/nptl/Makefile
46081         (CFLAGS-pthread_create.c): Variable removed.
46083         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46084         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46085         old file.
46086         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46087         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46088         old file.
46090 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46092         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46093         (__ASSUME_SIGFRAME_V2): Remove macro.
46094         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46095         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46096         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46097         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46098         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46099         Declare as function.  Remove conditional macro definitions.
46100         (__default_rt_sa_restorer): Likewise.
46101         (__default_sa_restorer_v1): Remove declaration.
46102         (__default_sa_restorer_v2): Likewise.
46103         (__default_rt_sa_restorer_v1): Likewise.
46104         (__default_rt_sa_restorer_v2): Likewise.
46105         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46106         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46107         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46109 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46111         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46112         (libpthread-routines): Add sysdep.
46113         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46114         * sysdeps/unix/sysv/linux/sparc/Versions
46115         (libpthread: GLIBC_2.3.3): New version set.
46116         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46117         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46118         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46119         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46120         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46121         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46122         Moved ...
46123         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46124         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46125         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46126         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46127         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46128         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46129         * sysdeps/sparc/nptl/sem_init.c: ... here.
46130         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46131         * sysdeps/sparc/nptl/sem_post.c: ... here.
46132         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46133         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46134         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46135         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46136         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46137         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46138         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46139         (libpthread-routines): Add cpu_relax.
46140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46141         File removed.
46142         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46143         (librt: GLIBC_2.3.3): New version set.
46144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46145         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46146         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46147         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46150         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46152         Moved ...
46153         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46155         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46157         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46159         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46161         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46163         Moved ...
46164         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46165         Update #include.
46166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46167         Moved ...
46168         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46169         Update #include.
46170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46171         Moved ...
46172         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46173         Update #include.
46174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46175         Moved ...
46176         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46177         Update #include.
46178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46179         Moved ...
46180         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46181         Update #include.
46182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46183         Moved ...
46184         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46185         Update #include.
46186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46187         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46189         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46191         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46193         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46195         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46197         Moved ...
46198         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46200         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46202         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46204 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46206         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46207         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46208         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46209         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46210         * nscd/nscd.c: Likewise.
46211         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46212         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46213         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46214         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46216         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46217         <kernel-features.h>.
46218         (init_mq_netlink): Remove conditional have_sock_cloexec
46219         definitions.  Remove code conditional on have_sock_cloexec < 0.
46220         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46221         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46222         * sysdeps/unix/sysv/linux/opensock.c: Do not include
46223         <kernel-features.h>.
46224         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46225         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46227 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46229         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46230         Add tests for memset_chk and memset.
46232         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46233         with AVX2_Usable.
46235 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46237         [BZ #16046]
46238         * elf/tst-dl-iter-static.c: New file.
46239         * elf/Makefile (tests-static): Add tst-dl-iter-static.
46241         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46242         error.
46244 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46246         * sysdeps/unix/sysv/linux/kernel-features.h
46247         (__ASSUME_F_GETOWN_EX): Remove macro.
46248         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46249         <kernel-features.h>.
46250         (miss_F_GETOWN_EX): Remove variable or macro.
46251         (do_fcntl): Do not check miss_F_GETOWN_EX.
46252         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46254         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46255         Remove macro.
46256         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46257         [!__ASSUME_AT_RANDOM]: Remove conditional code.
46258         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46260         * sysdeps/unix/sysv/linux/kernel-features.h
46261         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46262         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46263         [ADJ_OFFSET_SS_READ]: Make code unconditional.
46264         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46266 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46268         [BZ #17075]
46269         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46270         Fix calculation of the symbol's value.
46271         * sysdeps/arm/tst-armtlsdescloc.c: New file.
46272         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46273         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46274         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46275         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46276         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46277         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46278         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46279         (modules-names): Add `tst-armtlsdescmod',
46280         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46281         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46282         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46283         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46284         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46285         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46286         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46287         ($(objpfx)tst-armtlsdescloc): New dependency.
46288         ($(objpfx)tst-armtlsdescextnow): Likewise.
46289         ($(objpfx)tst-armtlsdescextlazy): Likewise.
46290         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46291         TLS scheme support.
46292         * sysdeps/arm/configure: Regenerate.
46294 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46296         * include/fcntl.h (__atfct_seterrno): Remove prototype.
46297         (__atfct_seterrno_2): Likewise.
46298         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
46299         <kernel-features.h>.
46300         (__ASSUME_ATFCTS): Do not undefine and redefine.
46301         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
46302         (__have_atfcts): Remove conditional definition.
46303         (__fxstatat([__NR_fstatat64]: Make code unconditional.
46304         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
46305         unreachable if [__ASSUME_ATFCTS].
46306         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
46307         not undefine and redefine.
46308         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
46309         <kernel-features.h>.
46310         (faccessat) [__NR_faccessat]: Make code unconditional.
46311         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
46312         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
46313         <kernel-features.h>.
46314         (fchmodat) [__NR_fchmodat]: Make code unconditional.
46315         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46316         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
46317         <kernel-features.h>.
46318         (fchownat) [__NR_fchownat]: Make code unconditional.
46319         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
46320         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
46321         <kernel-features.h>.
46322         (futimesat) [__NR_futimesat]: Make code unconditional.
46323         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
46324         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46325         <kernel-features.h>.
46326         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46327         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46328         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46329         <kernel-features.h>.
46330         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
46331         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46332         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
46333         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46334         <kernel-features.h>.
46335         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
46336         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46337         * sysdeps/unix/sysv/linux/linkat.c: Do not include
46338         <kernel-features.h>.
46339         (linkat) [__NR_linkat]: Make code unconditional.
46340         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46341         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
46342         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
46343         <kernel-features.h>.
46344         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
46345         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46346         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
46347         <kernel-features.h>.
46348         (mkdirat) [__NR_mkdirat]: Make code unconditional.
46349         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
46350         * sysdeps/unix/sysv/linux/openat.c: Do not include
46351         <kernel-features.h>.
46352         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
46353         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
46354         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
46355         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
46356         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
46357         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
46358         <kernel-features.h>.
46359         (readlinkat) [__NR_readlinkat]: Make code unconditional.
46360         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
46361         result of INLINE_SYSCALL directly, not via int variable.
46362         * sysdeps/unix/sysv/linux/renameat.c: Do not include
46363         <kernel-features.h>.
46364         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
46365         (renameat) [__NR_renameat]: Make code unconditional.
46366         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
46367         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
46368         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
46369         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
46370         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
46371         (__ASSUME_ATFCTS): Do not undefine and redefine.
46372         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
46373         <kernel-features.h>.
46374         (symlinkat) [__NR_symlinkat]: Make code unconditional.
46375         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46376         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
46377         <kernel-features.h>.
46378         (unlinkat) [__NR_unlinkat]: Make code unconditional.
46379         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46380         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
46381         (__ASSUME_ATFCTS): Do not undefine and redefine.
46382         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46383         <kernel-features.h>.
46384         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46385         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46386         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46387         <kernel-features.h>.
46388         (__xmknodat) [__NR_mknodat]: Make code unconditional.
46389         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46391 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46393         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
46395 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
46397         [BZ #17069]
46398         * posix/regcomp.c (parse_reg_exp): Deallocate partially
46399         constructed tree before returning error.
46400         * posix/bug-regexp36.c: Expand test case.
46402 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
46404         [BZ #6803]
46405         * math/libm-test.inc (scalbln_test_date):
46406         Add errno expectations.
46407         * math/w_scalblnf.c: New File.
46408         Add wrapper which checks for setting errno to ERANGE.
46409         Add weak_alias for corresponding scalbln function.
46410         * math/w_scalbln.c: Likewise.
46411         * math/w_scalblnl.c: Likewise.
46412         * math/Makefile (libm-calls): Add w_scalbln.
46413         * sysdeps/ieee754/flt-32/s_scalblnf.c:
46414         Remove weak_alias for corresponding scalbln function.
46415         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46416         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46417         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46418         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46419         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
46420         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46421         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
46422         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46423         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
46424         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
46425         Remove long_double_symbol for scalblnl function in libm, libc.
46426         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
46427         Add wrapper which checks for setting errno to ERANGE.
46428         Add long_double_symbol for scalblnl function in libm, libc.
46429         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
46430         Remove long_double_symbol for scalblnl in libm.
46431         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
46432         Add wrapper which checks for setting errno to ERANGE.
46433         Add long_double_symbol for scalblnl function in libm.
46434         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
46435         Do not use wrapper because of own implementation.
46437 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
46439         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
46440         3 bytes for __pad1 for x32.
46441         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
46443 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
46444             H.J. Lu  <hongjiu.lu@intel.com>
46446         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
46447         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
46448         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46449         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46450         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
46452 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
46454         [BZ #17069]
46455         * posix/regcomp.c (parse_expression): Deallocate partially
46456         constructed tree before returning error.
46457         * posix/Makefile.c (tests): Add bug-regex36.
46458         (generated): Add bug-regex36.mtrace.
46459         (tests-special): Add $(objpfx)bug-regex36-mem.out
46460         (bug-regex36-ENV): New variable.
46461         ($(objpfx)bug-regex36-mem.out): New rule.
46462         * posix/bug-regex36.c: New file.
46464 2014-06-19  Will Newton  <will.newton@linaro.org>
46466         * malloc/malloc.c (systrim): If extra is zero then return
46467         early.
46469 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46471         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
46473 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
46475         * sysdeps/aarch64/strchr.S: New file.
46477 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46479         [BZ #17022]
46480         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
46481         from arguments -2 or below.
46482         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46483         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
46485 2014-06-18  Andreas Schwab  <schwab@suse.de>
46487         [BZ #17062]
46488         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
46489         of a bracket expr not to run off the end of the string.
46490         * posix/Makefile (tests): Add tst-fnmatch3.
46491         * posix/tst-fnmatch3.c: New file.
46493 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46495         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
46496         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46497         [$(cross-compiling) = no]: Likewise.
46498         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46499         [$(cross-compiling) = no]: Likewise.
46501 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46503         [BZ #17031]
46504         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
46505         double, adjusted for any remainder from the high double.
46506         * math/libm-test.inc (nearbyint): Add tests.
46507         (rint): Likewise.
46509 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46511         * nptl/sysdeps/powerpc/Makefile: Moved ...
46512         * sysdeps/powerpc/nptl/Makefile: ... here.
46513         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
46514         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
46515         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
46516         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
46517         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
46518         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
46519         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
46520         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
46521         * nptl/sysdeps/powerpc/tls.h: Moved ...
46522         * sysdeps/powerpc/nptl/tls.h: ... here.
46524 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
46526         [BZ #16681]
46527         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
46528         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
46529         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
46530         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
46531         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
46532         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
46533         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
46534         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
46535         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
46537 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
46539         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46541 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
46543         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
46544         defined operator.
46546         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
46547         $TIMEOUTFACTOR.
46549 2014-06-16  Florian Weimer  <fweimer@redhat.com>
46551         [BZ #17058]
46552         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
46553         non-executed part of the test.
46555 2014-06-16  Andreas Schwab  <schwab@suse.de>
46557         * string/bits/string2.h (strdup, strndup): Update feature guard.
46559 2014-06-14  David S. Miller  <davem@davemloft.net>
46561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46563 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
46565         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
46566         that was previously under [RESET_PID].
46567         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
46569         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
46570         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
46571         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
46572         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46573         (__libc_vfork): New strong alias.
46574         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
46576 2014-06-14 Andi Kleen  <ak@linux.intel.com>
46578         * sysdeps/generic/elide.h: New file.
46580 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
46582         * Makefile (installed-headers): Adjust path of pthread.h header.
46584 2014-06-13  Roland McGrath  <roland@hack.frob.com>
46586         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
46587         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
46588         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
46589         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
46591         * nptl/sysdeps/s390/Makefile: Moved ...
46592         * sysdeps/s390/nptl/Makefile: ... here.
46593         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46594         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
46595         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
46596         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
46597         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
46598         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
46599         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46600         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
46601         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
46602         * sysdeps/s390/nptl/pthreaddef.h: ... here.
46603         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
46604         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
46605         * nptl/sysdeps/s390/tls.h: Moved ...
46606         * sysdeps/s390/nptl/tls.h: ... here.
46608         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
46609         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
46611 2014-06-13  David S. Miller  <davem@davemloft.net>
46613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
46614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
46615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
46616         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
46617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
46618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
46619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
46620         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46621         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
46622         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46623         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46624         Remove RESET_PID cpp guards.
46625         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46626         Remove RESET_PID cpp guards.
46627         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46629 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
46631         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46632         __sp to uintptr_t.
46634 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46636         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46637         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46638         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46639         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46640         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46641         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46642         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46643         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46644         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46645         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46646         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46647         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46648         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46649         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46650         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46651         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46652         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46653         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46654         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46655         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46657         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46658         (pthread_rwlock_rdlock): Add elision.
46659         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46660         (pthread_rwlock_wrlock): Add elision.
46661         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46662         (pthread_rwlock_trywrlock): Add elision.
46663         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46664         (pthread_rwlock_tryrdlock): Add elision.
46665         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46666         (pthread_rwlock_tryrdlock): Add elision unlock.
46667         * nptl/sysdeps/pthread/pthread.h:
46668         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46669         (PTHREAD_RWLOCK_INITIALIZER,
46670         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46671         Handle new elision field.
46672         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46673         * sysdeps/arm/nptl/bits/pthreadtypes.h
46674         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46675         * sysdeps/sh/nptl/bits/pthreadtypes.h
46676         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46677         * sysdeps/tile/nptl/bits/pthreadtypes.h
46678         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46679         * sysdeps/a/nptl/bits/pthreadtypes.h
46680         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46681         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46682         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46683         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46684         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46685         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
46686         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46687         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46688         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46689         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46690         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46691         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46692         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46693         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46694         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46695         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
46696         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46697         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
46698         (elision_init): Set try_xbegin to zero when no RTM.
46699         * sysdeps/x86/nptl/bits/pthreadtypes.h
46700         (pthread_rwlock_t): Change __pad1 to __rwelision.
46701         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46703 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46705         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
46706         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
46707         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
46708         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
46710 2014-06-13  Meador Inge  <meadori@codesourcery.com>
46712         [BZ #16996]
46713         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
46714         that the cached result has been set before returning it.
46716 2014-06-12  Roland McGrath  <roland@hack.frob.com>
46718         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
46719         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
46720         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
46721         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
46722         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
46723         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
46725         * nptl/sysdeps/sparc/Makefile: Moved ...
46726         * sysdeps/sparc/nptl/Makefile: ... here.
46727         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
46728         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
46729         * nptl/sysdeps/sparc/tls.h: Moved ...
46730         * sysdeps/sparc/nptl/tls.h: ... here.
46731         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
46732         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
46733         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
46734         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
46735         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
46736         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
46737         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
46738         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
46739         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
46740         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
46741         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
46742         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
46743         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
46744         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
46745         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
46746         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
46747         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
46748         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
46749         Update #include.
46750         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
46751         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
46752         Update #include.
46753         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
46754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
46755         Update #include.
46756         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
46757         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
46758         Update #include.
46760         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46762         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
46763         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
46765         * sysdeps/pthread/posix-timer.h: Include <list.h>.
46766         (struct list_links): Type removed.
46767         (struct thread_node, struct timer_node): Replace struct list_links
46768         with struct list_head.
46769         (list_unlink_ip): Likewise.
46770         * sysdeps/pthread/timer_routines.c
46771         (timer_free_list, thread_free_list, thread_active_list): Likewise.
46772         (list_append, list_insbefore): Likewise.
46773         (list_init): Function removed.
46774         (thread_init, init_module): Use INIT_LIST_HEAD instead.
46775         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
46776         * sysdeps/pthread/Makefile: ... here, new file.
46778         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
46779         * sysdeps/nptl/Implies: ... here.
46780         * sysdeps/unix/sysv/linux/Implies: Add nptl.
46781         * nptl/sysdeps/pthread/list.h: Moved ...
46782         * include/list.h: ... here.
46783         * nptl/sysdeps/pthread/createthread.c: Moved ...
46784         * nptl/createthread.c: ... here.
46785         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
46786         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
46787         * nptl/pt-longjmp.c: ... here.
46788         * nptl/sysdeps/pthread/Makefile: Moved ...
46789         * sysdeps/nptl/Makefile: ... here.
46790         * nptl/sysdeps/pthread/Subdirs: Moved ...
46791         * sysdeps/nptl/Subdirs: ... here.
46792         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
46793         * sysdeps/nptl/aio_misc.h: ... here.
46794         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
46795         * sysdeps/nptl/bits/libc-lock.h: ... here.
46796         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
46797         * sysdeps/nptl/bits/libc-lockP.h: ... here.
46798         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
46799         * sysdeps/nptl/bits/stdio-lock.h: ... here.
46800         * nptl/sysdeps/pthread/configure: Moved ...
46801         * sysdeps/nptl/configure: ... here.
46802         * nptl/sysdeps/pthread/configure.ac: Moved ...
46803         * sysdeps/nptl/configure.ac: ... here.
46804         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46805         * sysdeps/nptl/gai_misc.h: ... here.
46806         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
46807         * sysdeps/nptl/librt-cancellation.c: ... here.
46808         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
46809         * sysdeps/nptl/malloc-machine.h: ... here.
46810         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
46811         * sysdeps/nptl/pthread-functions.h: ... here.
46812         * nptl/sysdeps/pthread/pthread.h: Moved ...
46813         * sysdeps/nptl/pthread.h: ... here.
46814         * nptl/sysdeps/pthread/setxid.h: Moved ...
46815         * sysdeps/nptl/setxid.h: ... here.
46816         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
46817         * sysdeps/nptl/sigfillset.c: ... here.
46818         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
46819         * sysdeps/nptl/tcb-offsets.h: ... here.
46820         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
46821         * sysdeps/nptl/tst-mqueue8x.c: ... here.
46822         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
46823         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
46824         * nptl/sysdeps/pthread/allocalim.h: Moved ...
46825         * sysdeps/pthread/allocalim.h: ... here.
46826         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
46827         * sysdeps/pthread/bits/sigthread.h: ... here.
46828         * nptl/sysdeps/pthread/flockfile.c: Moved ...
46829         * sysdeps/pthread/flockfile.c: ... here.
46830         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
46831         * sysdeps/pthread/ftrylockfile.c: ... here.
46832         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
46833         * sysdeps/pthread/funlockfile.c: ... here.
46834         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
46835         * sysdeps/pthread/posix-timer.h: ... here.
46836         * nptl/sysdeps/pthread/timer_create.c: Moved ...
46837         * sysdeps/pthread/timer_create.c: ... here.
46838         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
46839         * sysdeps/pthread/timer_delete.c: ... here.
46840         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
46841         * sysdeps/pthread/timer_getoverr.c: ... here.
46842         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
46843         * sysdeps/pthread/timer_gettime.c: ... here.
46844         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
46845         * sysdeps/pthread/timer_routines.c: ... here.
46846         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
46847         * sysdeps/pthread/timer_settime.c: ... here.
46848         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
46849         * sysdeps/pthread/tst-timer.c: ... here.
46850         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
46851         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
46853         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
46854         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
46856         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
46857         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
46858         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
46859         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
46860         Update #include target.
46861         * nptl/sysdeps/i386/i686/Makefile: Moved ...
46862         * sysdeps/i386/i686/nptl/Makefile: ... here.
46863         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
46864         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
46865         Update #include target.
46866         * nptl/sysdeps/i386/i686/tls.h: Moved ...
46867         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
46868         * nptl/sysdeps/i386/Makefile: Moved ...
46869         * sysdeps/i386/nptl/Makefile: ... here.
46870         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
46871         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
46872         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
46873         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
46874         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
46875         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
46876         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
46877         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
46878         * sysdeps/i386/nptl/pthreaddef.h: ... here.
46879         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
46880         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
46881         * nptl/sysdeps/i386/tls.h: Moved ...
46882         * sysdeps/i386/nptl/tls.h: ... here.
46884         * sysdeps/sh/Makefile [$(subdir) = csu]
46885         (gen-as-const-headers): Add tcb-offsets.sym.
46886         * nptl/sysdeps/sh/Makefile: File removed.
46887         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
46888         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
46889         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
46890         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
46891         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
46892         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
46893         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
46894         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
46895         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
46896         * sysdeps/sh/nptl/pthreaddef.h: ... here.
46897         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
46898         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
46899         * nptl/sysdeps/sh/tls.h: Moved ...
46900         * sysdeps/sh/nptl/tls.h: ... here.
46901         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
46902         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
46903         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
46904         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
46905         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
46906         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
46907         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
46908         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
46909         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
46910         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
46911         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
46912         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
46913         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
46914         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
46915         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
46916         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
46917         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
46918         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
46919         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
46920         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
46921         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
46922         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
46923         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
46924         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
46925         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
46926         Moved ...
46927         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
46928         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
46929         Moved ...
46930         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
46931         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
46932         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
46933         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
46934         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
46935         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
46936         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
46937         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
46938         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
46939         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
46940         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
46941         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
46942         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
46943         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
46944         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
46945         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
46946         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
46947         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
46948         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
46950 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
46952         * posix/spawn_faction_addopen.c: Include string.h.
46954 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46956         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
46957         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
46958         * nptl/sysdeps/x86_64/Makefile: Moved ...
46959         * sysdeps/x86_64/nptl/Makefile: ... here.
46960         * nptl/sysdeps/x86_64/configure: Moved ...
46961         * sysdeps/x86_64/nptl/configure: ... here.
46962         * nptl/sysdeps/x86_64/configure.ac: Moved ...
46963         * sysdeps/x86_64/nptl/configure.ac: ... here.
46964         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
46965         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
46966         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
46967         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
46968         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
46969         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
46970         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
46971         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
46972         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
46973         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
46974         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
46975         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
46976         * nptl/sysdeps/x86_64/tls.h: Moved ...
46977         * sysdeps/x86_64/nptl/tls.h: ... here.
46978         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
46979         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
46980         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
46981         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
46983         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
46985 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46989 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
46991         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
46992         type.
46993         [POSIX] (off_t): Likewise.
46994         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
46995         [POSIX] (S_ISBLK): Require macro.
46996         [POSIX] (S_ISCHR): Likewise.
46997         [POSIX] (S_ISDIR): Likewise.
46998         [POSIX] (S_ISFIFO): Likewise.
46999         [POSIX] (S_ISREG): Likewise.
47000         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47001         optional-macro.
47002         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47003         type.
47004         [POSIX] (time_t): Likewise.
47005         [POSIX] (timer_t): Likewise.
47007 2014-06-11  Florian Weimer  <fweimer@redhat.com>
47009         [BZ #17048]
47010         * posix/spawn_int.h (struct __spawn_action): Make the path string
47011         non-const to support deallocation.
47012         * posix/spawn_faction_addopen.c
47013         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47014         * posix/spawn_faction_destroy.c
47015         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
47016         path in all spawn_do_open actions.
47017         * posix/tst-spawn.c (do_test): Exercise the copy operation in
47018         posix_spawn_file_actions_addopen.
47020 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
47022         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47023         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47024         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47025         conditional code always true.
47026         (__libc_vfork): New alias.
47028 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47030         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47031         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47033         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47035         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47036         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47038         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47039         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47041         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47042         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47044 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47046         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47047         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47048         multiarch strcmp for PPC64.
47049         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47050         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47052         multiarch optimizations.
47053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47054         (__libc_ifunc_impl_list): Likewise.
47056 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47058         * benchtests/scripts/validate_benchout.py: New script.
47059         * benchtests/Makefile (bench-func): Call it.
47060         * benchtests/scripts/benchout.schema.json: New file.
47062 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47064         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47065         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47066         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47067         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47068         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47069         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47070         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47071         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47072         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47073         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47074         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47075         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47076         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47077         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47078         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47079         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47081         Moved ...
47082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47083         ... here.
47084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47085         Moved ...
47086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47088         Moved ...
47089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47090         ... here.
47091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47092         Moved ...
47093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47094         ... here.
47095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47096         Moved ...
47097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47099         Moved ...
47100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47101         ... here.
47102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47103         Moved ...
47104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47105         ... here.
47106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47107         Moved ...
47108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47110         Moved ...
47111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47112         ... here.
47113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47114         Moved ...
47115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47116         ... here.
47117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47118         Moved ...
47119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47120         ... here.
47121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47122         Moved ...
47123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47125         Moved ...
47126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47127         ... here.
47128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47129         Moved ...
47130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47131         ... here.
47132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47133         Moved ...
47134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47135         ... here.
47136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47137         Moved ...
47138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47140         Moved ...
47141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47142         ... here.
47143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47144         Moved ...
47145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47146         ... here.
47147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47148         Moved ...
47149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47151         Moved ...
47152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47153         ... here.
47154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47155         Moved ...
47156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47158         Moved ...
47159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47161         Moved ...
47162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47163         ... here.
47164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47165         Moved ...
47166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47167         ... here.
47168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47169         Moved ...
47170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47171         ... here.
47172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47173         Moved ...
47174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47176         Moved ...
47177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47178         ... here.
47179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47180         Moved ...
47181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47182         ... here.
47183         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47184         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47185         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47186         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47187         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47188         Moved ...
47189         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47190         ... here.
47191         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47192         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47193         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47194         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47195         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47196         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47197         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47198         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47199         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47200         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47201         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47202         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47203         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47204         Moved ...
47205         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47206         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47207         Moved ...
47208         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47209         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47210         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47211         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47212         Moved ...
47213         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47214         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47215         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47216         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47217         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47218         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47219         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47221 2014-06-10  Wilco  <wdijkstr@arm.com>
47223         * math/test-fenv-return.c: New file.
47224         * math/Makefile: Add new test test-fenv-return.
47226 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
47228         [BZ #17042]
47229         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47230         when x - 1 is zero.
47231         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47232         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47233         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47234         0.0L for an argument of 1.0L.
47235         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47236         Likewise.
47237         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47238         value when x - 1 is zero.
47239         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47240         * sysdeps/i386/fpu/libm-test-ulps: Update.
47241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47243 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
47245         [BZ #15119]
47246         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47248 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47250         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47251         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47253 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47255         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47256         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47258         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47259         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47261         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47262         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47264         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47265         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47267         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47268         if not already defined.
47269         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47270         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47271         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47272         (TLS_INIT_TP): Use it.
47273         (TLS_DEFINE_INIT_TP): New macro.
47274         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47276 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
47278         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47279         constant.
47280         [POSIX] (IXANY): Likewise.
47281         [POSIX] (OLCUC): Likewise.
47282         [POSIX || POSIX2008] (CBAUD): Do not allow.
47283         [POSIX || POSIX2008] (DEFECHO): Likewise.
47284         [POSIX || POSIX2008] (ECHOCTL): Likewise.
47285         [POSIX || POSIX2008] (ECHOKE): Likewise.
47286         [POSIX || POSIX2008] (ECHOPRT): Likewise.
47287         [POSIX || POSIX2008] (EXTA): Likewise.
47288         [POSIX || POSIX2008] (EXTB): Likewise.
47289         [POSIX || POSIX2008] (FLUSHO): Likewise.
47290         [POSIX || POSIX2008] (LOBLK): Likewise.
47291         [POSIX || POSIX2008] (PENDIN): Likewise.
47292         [POSIX || POSIX2008] (SWTCH): Likewise.
47293         [POSIX || POSIX2008] (VDISCARD): Likewise.
47294         [POSIX || POSIX2008] (VDSUSP): Likewise.
47295         [POSIX || POSIX2008] (VLNEXT): Likewise.
47296         [POSIX || POSIX2008] (VREPRINT): Likewise.
47297         [POSIX || POSIX2008] (VSTATUS): Likewise.
47298         [POSIX || POSIX2008] (VWERASE): Likewise.
47299         (B*): Change to B[0123456789]*.
47300         * conform/data/time.h-data [POSIX || UNIX98]
47301         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
47302         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47303         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
47304         [POSIX] (tm_*): Do not allow.
47306 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
47308         * Makefile (install): Don't set LANGUAGE.
47309         * Makefile.in (install): Likewise.
47310         * assert/Makefile (test-assert-ENV): Remove variable.
47311         (test-assert-perr-ENV): Likewise.
47312         * elf/Makefile (neededtest4-ENV): Likewise.
47313         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47314         [$(cross-compiling) = no]: Don't set LANGUAGE.
47315         * io/ftwtest-sh (LANG): Remove variable.
47316         * libio/Makefile (tst-widetext-ENV): Likewise.
47317         * manual/install.texi (Running make install): Don't refer to
47318         environment settings for make install.
47319         * INSTALL: Regenerated.
47320         * nptl/tst-tls6.sh: Don't set LANG.
47321         * posix/globtest.sh (LANG): Remove variable.
47322         * string/Makefile (tester-ENV): Likewise.
47323         (inl-tester-ENV): Likewise.
47324         (noinl-tester-ENV): Likewise.
47325         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47326         [$(cross-compiling) = no]: Don't set LANGUAGE.
47327         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
47328         without explicit environment settings.
47330 2014-06-06  Roland McGrath  <roland@hack.frob.com>
47332         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
47333         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
47334         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
47335         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
47337 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
47339         * crypt/crypt-private.h [DOS]: Add some includes taken from the
47340         other files in the crypt directory.
47341         * crypt/crypt.c: Remove duplicate includes.
47342         * crypt/crypt-entry.c: Likewise.
47343         * crypt/crypt_util.c: Likewise.
47345 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
47347         * Makeconfig (run-program-env): New variable.
47348         (run-program-prefix-before-env): Likewise.
47349         (run-program-prefix-after-env): Likewise.
47350         (run-program-prefix): Define in terms of new variables.
47351         (built-program-cmd-before-env): New variable.
47352         (built-program-cmd-after-env): Likewise.
47353         (built-program-cmd): Define in terms of new variables.
47354         (test-program-prefix-before-env): New variable.
47355         (test-program-prefix-after-env): Likewise.
47356         (test-program-prefix): Define in terms of new variables.
47357         (test-program-cmd-before-env): New variable.
47358         (test-program-cmd-after-env): Likewise.
47359         (test-program-cmd): Define in terms of new variables.
47360         * Rules (make-test-out): Use $(run-program-env).
47361         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
47362         (help): Do not mention environment variables.  Mention
47363         --timeoutfactor option.
47364         (timeoutfactor): New variable.
47365         (blacklist_exports): Remove function.
47366         (exports): Remove variable.
47367         (command): Do not include ${exports}.
47368         * manual/install.texi (Configuring and compiling): Do not mention
47369         test wrappers preserving environment variables.  Mention that last
47370         assignment to a variable must take precedence.
47371         * INSTALL: Regenerated.
47372         * benchtests/Makefile (run-bench): Use $(run-program-env).
47373         * catgets/Makefile ($(objpfx)test1.cat): Use
47374         $(built-program-cmd-before-env), $(run-program-env) and
47375         $(built-program-cmd-after-env).
47376         ($(objpfx)test2.cat): Do not specify environment variables
47377         explicitly.
47378         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
47379         $(run-program-env) and $(built-program-cmd-after-env).
47380         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
47381         $(run-program-env) and $(test-program-cmd-after-env).
47382         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
47383         explicitly.
47384         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
47385         run_program_env and test_program_cmd_after_env arguments.
47386         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
47387         * elf/tst-pathopt.sh: Use run_program_env argument.
47388         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
47389         $(test-wrapper-env) and $(run-program-env).
47390         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
47391         run_program_env arguments.
47392         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
47393         * intl/Makefile ($(objpfx)tst-gettext.out): Use
47394         $(test-program-prefix-before-env), $(run-program-env) and
47395         $(test-program-prefix-after-env).
47396         ($(objpfx)tst-gettext2.out): Likewise.
47397         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
47398         run_program_env and test_program_prefix_after_env arguments.
47399         * intl/tst-gettext2.sh: Likewise.
47400         * intl/tst-gettext4.sh: Do not set environment variables
47401         explicitly.
47402         * intl/tst-gettext6.sh: Likewise.
47403         * intl/tst-translit.sh: Likewise.
47404         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
47405         $(test-program-prefix-before-env), $(run-program-env) and
47406         $(test-program-prefix-after-env).
47407         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
47408         run_program_env and test_program_prefix_after_env arguments.
47409         * math/Makefile (run-regen-ulps): Use $(run-program-env).
47410         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
47411         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
47412         explicitly with each use of ${test_wrapper_env}.
47413         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
47414         $(test-program-prefix-before-env), $(run-program-env) and
47415         $(test-program-prefix-after-env).
47416         * posix/tst-getconf.sh: Do not set environment variables
47417         explicitly.
47418         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
47419         run_program_env and test_program_prefix_after_env arguments.
47420         * stdio-common/tst-printf.sh: Do not set environment variables
47421         explicitly.
47422         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
47423         $(test-program-prefix-before-env), $(run-program-env) and
47424         $(test-program-prefix-after-env).
47425         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
47426         run_program_env and test_program_prefix_after_env arguments.
47427         Split $test calls into $test_pre and $test.
47428         * timezone/Makefile (build-testdata): Use
47429         $(built-program-cmd-before-env), $(run-program-env) and
47430         $(built-program-cmd-after-env).
47432 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47434         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
47435         strlen for non SHARED builds.
47437 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47439         * nptl/allocatestack.c (check_list): Inlined function...
47440         (__reclaim_stacks): ... here.
47442 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47444         [BZ #15698]
47445         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
47446         memory overrun.
47448 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
47450         * Rules (make-test-out): Include
47451         LOCPATH=$(common-objpfx)localedata in default environment.
47452         * debug/Makefile (tst-chk1-ENV): Remove variable.
47453         (tst-chk2-ENV): Likewise.
47454         (tst-chk3-ENV): Likewise.
47455         (tst-chk4-ENV): Likewise.
47456         (tst-chk5-ENV): Likewise.
47457         (tst-chk6-ENV): Likewise.
47458         (tst-lfschk1-ENV): Likewise.
47459         (tst-lfschk2-ENV): Likewise.
47460         (tst-lfschk3-ENV): Likewise.
47461         (tst-lfschk4-ENV): Likewise.
47462         (tst-lfschk5-ENV): Likewise.
47463         (tst-lfschk6-ENV): Likewise.
47464         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
47465         (tst-iconv7-ENV): Likewise.
47466         * intl/Makefile (LOCPATH-ENV): Likewise.
47467         (tst-codeset-ENV): Likewise.
47468         (tst-gettext3-ENV): Likewise.
47469         (tst-gettext5-ENV): Likewise.
47470         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
47471         (tst-fopenloc-ENV): Likewise.
47472         (tst-fgetws-ENV): Remove variable.
47473         (tst-ungetwc1-ENV): Likewise.
47474         (tst-ungetwc2-ENV): Likewise.
47475         (bug-ungetwc2-ENV): Likewise.
47476         (tst-swscanf-ENV): Likewise.
47477         (bug-ftell-ENV): Likewise.
47478         (tst-fgetwc-ENV): Likewise.
47479         (tst-fseek-ENV): Likewise.
47480         (tst-ftell-partial-wide-ENV): Likewise.
47481         (tst-ftell-active-handler-ENV): Likewise.
47482         (tst-ftell-append-ENV): Likewise.
47483         * posix/Makefile (tst-fnmatch-ENV): Likewise.
47484         (tst-regexloc-ENV): Likewise.
47485         (bug-regex1-ENV): Likewise.
47486         (tst-regex-ENV): Likewise.
47487         (tst-regex2-ENV): Likewise.
47488         (bug-regex5-ENV): Likewise.
47489         (bug-regex6-ENV): Likewise.
47490         (bug-regex17-ENV): Likewise.
47491         (bug-regex18-ENV): Likewise.
47492         (bug-regex19-ENV): Likewise.
47493         (bug-regex20-ENV): Likewise.
47494         (bug-regex22-ENV): Likewise.
47495         (bug-regex23-ENV): Likewise.
47496         (bug-regex25-ENV): Likewise.
47497         (bug-regex26-ENV): Likewise.
47498         (bug-regex30-ENV): Likewise.
47499         (bug-regex32-ENV): Likewise.
47500         (bug-regex33-ENV): Likewise.
47501         (bug-regex34-ENV): Likewise.
47502         (bug-regex35-ENV): Likewise.
47503         (tst-rxspencer-ENV): Likewise.
47504         (tst-rxspencer-no-utf8-ENV): Likewise.
47505         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
47506         (tst-sscanf-ENV): Likewise.
47507         (tst-swprintf-ENV): Likewise.
47508         (tst-swscanf-ENV): Likewise.
47509         (test-vfprintf-ENV): Likewise.
47510         (scanf13-ENV): Likewise.
47511         (bug14-ENV): Likewise.
47512         (tst-grouping-ENV): Likewise.
47513         * stdlib/Makefile (tst-strtod-ENV): Likewise.
47514         (tst-strtod3-ENV): Likewise.
47515         (tst-strtod4-ENV): Likewise.
47516         (tst-strtod5-ENV): Likewise.
47517         (testmb2-ENV): Likewise./
47518         * string/Makefile (tst-strxfrm-ENV): Likewise.
47519         (tst-strxfrm2-ENV): Likewise.
47520         (bug-strcoll1-ENV): Likewise.
47521         (test-strcasecmp-ENV): Likewise.
47522         (test-strncasecmp-ENV): Likewise.
47523         * time/Makefile (tst-strptime-ENV): Likewise.
47524         (tst-ftime_l-ENV): Likewise.
47525         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
47526         (tst-mbrtowc-ENV): Likewise.
47527         (tst-wcrtomb-ENV): Likewise.
47528         (tst-mbrtowc2-ENV): Likewise.
47529         (tst-c16c32-1-ENV): Likewise.
47530         (tst-mbsnrtowcs-ENV): Likewise.
47532 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47534         * manual/resource.texi (How to get information about the memory
47535         subsystem?): Fix typo.
47536         Reported by Peon de la Parra Ivan <peon@keba.com>
47538 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
47540         [BZ #16882]
47541         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
47542         (pthread_spin_lock): Branch out of spin loop to proper location.
47543         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
47544         (pthread_spin_lock): Likewise.
47546         * nptl/tst-spin4.c: New test.
47547         * nptl/Makefile (tests): Add tst-spin4.
47549 2014-06-03  Andreas Schwab  <schwab@suse.de>
47551         [BZ #15946]
47552         * resolv/res_send.c (send_dg): Reload file descriptor after
47553         calling reopen.
47555 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
47557         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47559 2014-06-03  Richard Henderson  <rth@redhat.com>
47561         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
47562         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
47563         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
47564         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
47565         in the SAVE_PID block.
47566         (__libc_vfork): New alias.
47567         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
47569         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
47570         child in registers, not on the stack.  Remove RESET_PID conditionals.
47571         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
47573 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47575         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47577 2014-06-03  Wilco  <wdijkstr@arm.com>
47579         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
47580         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
47581         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47582         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
47583         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
47584         Likewise.
47586 2014-06-03  Wilco  <wdijkstr@arm.com>
47588         * sysdeps/aarch64/fpu/math_private.h
47589         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
47590         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
47591         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
47592         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47593         Fix declarations.
47595 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47597         * crypt/crypt-private.h: Include ufc-crypt.h.
47598         (__b64_from_24bit): Declare extern.
47599         * crypt/crypt_util.c(__b64_from_24bit): New function.
47600         (b64t): New static const variable.
47601         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
47602         (b64t): Remove variable.
47603         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
47604         * crypt/sha256-crypt.c: Include crypt-private.h.
47605         (b64t): Remove variable.
47606         (__sha256_crypt_r): Remove b64_from_24bit and replace
47607         with __b64_from_24bit.
47608         * crypt/sha512-crypt.c: Likewise.
47610 2014-06-02  Roland McGrath  <roland@hack.frob.com>
47612         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
47613         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
47614         Label the code __libc_vfork rather than __vfork.
47615         [!NOT_IN_libc] (vfork): Define as weak alias.
47616         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
47617         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
47618         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47620 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47622         * malloc/malloc.c (malloc_info): Fix format specifier for
47623         n_mmaps.
47625 2014-06-02  Wilco  <wdijkstr@arm.com>
47627         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47628         FPCR write.
47630 2014-06-02  Wilco  <wdijkstr@arm.com>
47632         [BZ #17009]
47633         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47634         Rewrite to reduce FPCR/FPSR accesses.
47636 2014-06-01  David S. Miller  <davem@davemloft.net>
47638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47640 2014-05-31  David S. Miller  <davem@davemloft.net>
47642         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47643         to occur in round to nearest mode when |x| >= 2.0
47645 2014-05-30  Richard Henderson  <rth@twiddle.net>
47647         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47648         (PSEUDO_RET_NOERRNO): Remove.
47649         (ret): Don't redefine.
47650         (ret_NOERRNO): Define in terms of ret.
47651         (ret_ERRVAL): Likewise.
47653         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47654         use of PSEUDO_RET; perform the error check directly.
47656 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47658         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47659         with __int128_t.
47661 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47663         * malloc/malloc (malloc_info): Fix formatting.
47665 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47666             Roland McGrath  <roland@hack.frob.com>
47668         * malloc/malloc (malloc_info): Also print mmapped statistics.
47670 2014-05-30  Roland McGrath  <roland@hack.frob.com>
47672         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47673         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47675 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
47677         * malloc/malloc.c (malloc_info): Inline mi_arena.
47679 2014-05-29  Richard Henderson  <rth@twiddle.net>
47681         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47682         Remove comma before expanding ASM_ARGS_##nr.
47683         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
47684         Make _x0 a strict output; make _x8 a strict input; adjust expansion
47685         of ASM_ARGS_##nr.
47686         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
47687         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
47688         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
47689         (ASM_ARGS_1): Add leading comma.
47691         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
47692         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
47693         to __errno_location.
47694         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
47695         Remove the expected plt for __errno_location.
47697         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47698         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
47699         call to __read_tp.
47701         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47702         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
47703         it and break it down.
47704         (DOCARGS_0, DOCARGS_1): Do nothing.
47705         (DOCARGS_2): Update to store into the new stack frame.
47706         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
47707         (UNDOCARGS_1): Update to restore from the new stack frame.
47708         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
47709         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
47711         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47712         (SINGLE_THREAD_P): New parameter for result regno.
47713         (PSEUDO): Update to match; use cbz instead of beq.
47715         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47716         Use ENTRY to define the _nocancel entry point.  Share the syscall
47717         and syscall error check paths with the cancel path.
47718         (PSEUDO_END): New.
47720         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47721         whitespace; tabs before and after asm mnemonics.
47723 2014-05-29  Eric Wong  <normalperson@yhbt.net>
47725         [BZ #15132]
47726         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47727         Call fstat64 or stat64 internally, depending on arguments passed.
47728         Replace stat buffer argument with file descriptor argument.
47729         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
47730         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47731         Pass fd to __internal_statvfs instead of calling fstat64.
47732         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
47733         Pass fd to __internal_statvfs64 instead of calling fstat64.
47734         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47735         Pass -1 to __internal_statvfs instead of calling stat64.
47736         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
47737         Pass -1 to __internal_statvfs64 instead of calling stat64.
47739 2014-05-28  Roland McGrath  <roland@hack.frob.com>
47741         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
47742         that was previously under [RESET_PID].
47743         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47745         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
47746         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
47748 2014-05-27  Roland McGrath  <roland@hack.frob.com>
47750         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
47752         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
47753         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
47755 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
47757         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
47759 2014-05-27  Andreas Schwab  <schwab@suse.de>
47761         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
47762         TLS_INIT_TP macro.
47763         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47764         * elf/rtld.c (init_tls, dl_main): Likewise.
47765         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
47766         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
47767         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
47768         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47769         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
47770         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
47771         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
47772         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
47773         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
47774         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
47775         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
47776         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
47777         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
47778         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
47779         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
47780         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
47781         * sysdeps/generic/tls.h: Update description.
47783 2014-05-27  Will Newton  <will.newton@linaro.org>
47785         [BZ #16990]
47786         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
47787         and restore r2 rather than just restoring.
47789 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47791         [BZ #16724]
47792         * libio/tst-ftell-append.c: New test case.
47793         * libio/Makefile (tests): Add test case.
47794         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
47795         append mode.
47796         * libio/wfileops.c (do_ftell_wide): Likewise.
47798 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47802         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
47803         ...
47804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
47805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47806         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
47807         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
47808         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
47809         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
47810         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
47811         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
47812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
47813         Moved ...
47814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
47815         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
47816         Moved ...
47817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
47818         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
47819         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
47820         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
47821         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
47822         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
47823         ...
47824         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
47825         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
47826         Moved ...
47827         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
47828         here.
47829         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
47830         ...
47831         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
47832         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
47833         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
47835         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
47836         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
47837         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
47838         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
47840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
47841         merge into ...
47842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
47843         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
47844         ...
47845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47846         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
47847         ...
47848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
47849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47850         Moved ...
47851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
47852         here.
47853         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47854         Moved ...
47855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
47856         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47857         Moved ...
47858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
47860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
47861         conditional [RESET_PID].
47862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
47863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
47864         removed.
47865         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
47866         removed.
47868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
47869         <tcb-offsets.h>.
47870         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47871         (__libc_vfork): New strong alias.
47872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
47873         removed.
47874         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
47875         Removed.
47877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
47878         <tcb-offsets.h>.
47879         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
47880         (__libc_vfork): New strong alias.
47881         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
47882         removed.
47883         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
47884         removed.
47886 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
47888         * malloc/malloc.c (mi_arena): New function.
47889         (malloc_info): Remove nested function mi_arena. Call non-nosted
47890         function mi_arena.
47892 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47894         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
47895         by insrwi.
47896         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
47897         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
47898         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
47899         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
47900         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
47901         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
47902         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
47904 2014-05-26  Andreas Schwab  <schwab@suse.de>
47906         [BZ #16984]
47907         * locale/programs/repertoire.c (repertoire_read): Add slash
47908         between I18NPATH element and file name.
47909         * locale/programs/locfile.c (locfile_read): Likewise.
47911 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47913         * nptl/pthread_mutexattr_settype.c
47914         (__pthread_mutexattr_settype):
47915         Disable lock elision for PTHREAD_MUTEX_NORMAL.
47917 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47919         * nptl/tst-mutex5 (do_test):
47920         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
47922 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47924         * benchtests/README: Document 'init' directive.
47925         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
47926         BENCH_INIT.
47927         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
47928         (parse_file): Recognize 'init' directive.
47930 2014-05-26  Kyle McMartin  <kyle@redhat.com>
47932         [BZ #16796]
47933         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
47934         alignment of struct pthread.
47936 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47938         [BZ #16878]
47939         * nscd/netgroupcache.c (addgetnetgrentX): Look for
47940         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47941         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
47942         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47944 2014-05-25  Richard Henderson  <rth@twiddle.net>
47946         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47947         (SINGLE_THREAD_P_PIC): Remove.
47948         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
47949         (SINGLE_THREAD_P_PIC): Remove.
47951         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
47952         branch to syscall error ...
47953         (PSEUDO): ... here.
47954         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
47955         from __local_syscall_error to .Lsyscall_error.
47956         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
47957         (SYSCALL_ERROR): Update label name.
47959         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47960         Do not use DOARGS/UNDOARGS.
47961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
47962         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
47963         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
47964         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
47965         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
47967         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
47968         block comment.
47970         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
47971         define if !NOT_IN_libc.
47972         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
47973         define with non-default symbol versions.
47975 2014-05-23  Richard Henderson  <rth@twiddle.net>
47977         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
47978         (vfork, __vfork): Define via compat_symbol.
47980         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
47981         [!HAVE_IFUNC] (vfork_compat): Remove.
47982         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
47984 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47986         [BZ #16978]
47987         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
47988         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
47989         variable.
47991 2014-05-23  Richard Henderson  <rth@twiddle.net>
47993         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
47994         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
47995         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
47996         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
47998         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
47999         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48000         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48001         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48002         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48003         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48004         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48005         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48006         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48007         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48008         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48009         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48010         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48011         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48012         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48013         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48014         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48015         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48016         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48017         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48018         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48019         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48020         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48021         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48022         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48023         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48024         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48025         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48026         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48027         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48028         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48029         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48030         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48031         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48032         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48033         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48034         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48035         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48036         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48037         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48038         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48039         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48040         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48041         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48042         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48043         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48044         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48045         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48046         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48047         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48048         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48049         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48050         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48051         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48052         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48053         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48055         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48056         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48057         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
48058         before exiting on error.
48059         (__libc_vfork): New strong alias.
48060         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48061         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48063         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48064         that was previously under [RESET_PID].
48065         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48067         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48069 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48071         [BZ #16977]
48072         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48073         value when x - 1 is zero.
48074         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48075         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48076         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48077         0.0L for an argument of 1.0L.
48078         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48079         Likewise.
48080         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48081         value when x - 1 is zero.
48082         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48083         * sysdeps/i386/fpu/libm-test-ulps: Update.
48084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48086 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48088         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48089         alphasort and versionsort.
48091 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48093         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48094         macro.
48095         [copysignf]: Likewise.
48097 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48099         * crypt/md5-crypt.c: Fix formatting.
48101 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48103         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48104         (b64_from_24bit): New function.
48106 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48108         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48109         libc_hidden_builtin_def to ifunc.
48110         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48111         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48113 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48115         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48116         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48118 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48120         * nscd/Depend (linuxthreads): Remove.
48121         (nptl): Add.
48122         * resolv/Depend (linuxthreads): Remove.
48123         * rt/Depend (linuxthreads): Remove.
48125         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48126         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48127         $(common-objpfx)elf/.
48128         (link-libc-before-gnulib): Likewise.
48129         (elfobjdir): Remove variable.
48130         * Makefile (install): Use $(elf-objpfx) instead of
48131         $(common-objpfx)elf/.
48132         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48133         $(elfobjdir)/.
48134         (link-libc-deps): Likewise.
48135         ($(common-objpfx)libc.so): Likewise.
48136         ($(common-objpfx)linkobj/libc.so): Likewise.
48137         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48138         instead of $(common-objpfx)elf/.
48139         (symbolic-link-list): Likewise.
48140         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48141         [$(cross-compiling) = no]: Likewise.
48142         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48143         $(elfobjdir)/.
48144         (static-gnulib-arch): Likewise.
48145         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48146         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48147         $(common-objpfx)elf/.
48149 2014-05-21  Richard Henderson  <rth@redhat.com>
48151         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48152         (SINGLE_THREAD_P): Use the correct width load.  Fold
48153         into the ldr offset.
48155         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48156         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48158 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48160         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48161         (libgcc_s_resume): Use __attribute_used__.
48162         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48163         Likewise.
48165 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48167         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48168         optimization when used with float constants.
48170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48172 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48174         [BZ #16915]
48175         * locale/nl_langinfo_l.c: Make direct reference to every
48176         _nl_current_CATEGORY symbol.
48177         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48178         (tests-static): Add tst-langinfo-static.
48179         (tests-special): Add tst-langinfo-static.out.
48180         ($(objpfx)tst-langinfo.out): Redirect output.
48181         ($(objpfx)tst-langinfo-static.out): New.
48182         * localedata/tst-langinfo.sh: Send output to stdout.
48183         * localedata/tst-langinfo-static.c: New file.
48185         [BZ #16965]
48186         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48187         when the shift amount is modulo the limb size.
48189 2014-05-20  Richard Henderson  <rth@redhat.com>
48191         [BZ #16967]
48192         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48193         Change type of sa_flags from unsigned int to int.
48195         [BZ #16966]
48196         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48198         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48200 2014-05-20  Will Newton  <will.newton@linaro.org>
48202         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48203         Test the return value of the system call in the nocancel case.
48205 2014-05-20  Will Newton  <will.newton@linaro.org>
48206             Yvan Roux  <yvan.roux@linaro.org>
48208         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48209         #include of asm/ptrace.h.
48210         (PTRACE_GET_THREAD_AREA): Remove #undef.
48211         (PTRACE_GETHBPREGS): Likewise.
48212         (PTRACE_SETHBPREGS): Likewise.
48213         (struct user_regs_struct): New structure.
48214         (struct user_fpsimd_struct): New structure.
48215         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48216         #include of asm/ptrace.h and second #include of sys/user.h.
48217         (PTRACE_GET_THREAD_AREA): Remove #undef.
48218         (PTRACE_GETHBPREGS): Likewise.
48219         (PTRACE_SETHBPREGS): Likewise.
48220         (ELF_NGREG): Use new struct user_regs_struct.
48221         (elf_fpregset_t): Use new struct user_fpsimd_struct.
48223 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48225         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48226         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48228 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
48230         [BZ #16958]
48231         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48232         membar to avoid block loads/stores to overlap previous stores.
48234 2014-05-17  Richard Henderson  <rth@redhat.com>
48236         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48237         Create the __##syscall_name##_nocancel entry point.
48238         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48239         Remove; let the sysdep-cancel.h code create it.
48241 2014-05-17  David S. Miller  <davem@davemloft.net>
48243         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48244         Protect with __USE_GNU.
48245         (TIOCSET_TEMPT): Likewise.
48246         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48247         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48248         these are already provided in bits/ioctl-types.h
48250 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48252         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48253         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48255         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48256         Use wait4 regardless of [__NR_waitpid].
48258 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48260         PR libgcc/60166
48261         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48262         (_FP_NANSIGN_Q): Set the quiet bit.
48264 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
48266         * benchtests/Makefile
48267         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48268         not $(common-objpfx)math/libm.so.
48269         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48270         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48271         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48272         $(common-objpfx)dlfcn/libdl.so.
48273         ($(objpfx)tst-audit8): Depend on $(libm), not
48274         $(common-objpfx)math/libm.so.
48275         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48276         not $(common-objpfx)dlfcn/libdl.so.
48277         * math/Makefile
48278         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48279         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
48280         [$(build-shared) = yes].
48281         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48282         $(common-objpfx)nptl/libpthread.so.
48283         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48284         $(common-objpfx)math/libm.so$(libm.so-version) or
48285         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48286         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48287         $(common-objpfx)dlfcn/libdl.so.
48288         * setjmp/Makefile (link-libm): Remove variable.
48289         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48290         * stdio-common/Makefile (link-libm): Remove variable.
48291         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
48292         * stdlib/Makefile (link-libm): Remove variable.
48293         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
48294         ($(objpfx)tst-strtod-round): Likewise.
48295         ($(objpfx)tst-tininess): Likewise.
48296         ($(objpfx)tst-strtod-underflow): Likewise.
48297         ($(objpfx)tst-strtod6): Likewise.
48298         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
48299         $(libdl), not $(common-objpfx)nptl/libpthread.so and
48300         $(common-objpfx)dlfcn/libdl.so.
48302 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48304         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48305         BSD terminal modes definitions.
48307 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48309         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
48310         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
48312         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
48313         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
48314         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
48315         Don't do #include_next.
48316         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
48317         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
48318         Don't do #include_next.
48319         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
48320         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
48321         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
48322         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
48324 2014-05-16  Allan McRae  <allan@archlinux.org>
48326         * po/sv.po: Update Swedish translation from translation project.
48328         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
48329         in sed expression.
48331 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
48333         [BZ #16917]
48334         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
48335         errno if the TIOCGPTN ioctl fails with an error different than
48336         EINVAL.
48337         * login/tst-ptsname.c: New file.
48338         * login/Makefile (tests): Add tst-ptsname.
48340         [BZ #16943]
48341         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
48342         and prlimit64.
48344 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48346         [BZ #16849]
48347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
48348         herrno to return EAI_AGAIN.
48350 2014-05-14  Roland McGrath  <roland@hack.frob.com>
48352         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
48353         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
48354         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
48355         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
48356         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
48357         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
48358         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
48359         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
48360         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
48361         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
48362         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
48363         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
48364         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
48365         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
48366         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
48367         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
48368         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
48369         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
48370         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
48371         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
48372         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
48373         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
48374         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
48375         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
48376         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
48377         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
48378         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
48379         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
48380         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
48381         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
48382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
48383         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
48384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
48385         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
48386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48387         Moved ...
48388         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
48389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
48390         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
48391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
48392         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
48393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
48394         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
48395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
48396         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
48397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
48398         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
48399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
48400         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
48401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
48402         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
48403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
48404         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
48405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
48406         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
48407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
48408         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
48409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
48410         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
48411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
48412         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
48413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
48414         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
48415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48416         Moved ...
48417         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
48418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
48419         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
48420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
48421         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
48422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
48423         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
48424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
48425         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
48426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
48427         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
48428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
48429         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
48430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
48431         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
48432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
48433         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
48434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
48435         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
48436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48437         Moved ...
48438         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
48439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
48440         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
48442         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
48443         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
48444         (libpthread-sysdep_routines): Add elision-related stuff here instead.
48445         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
48446         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
48447         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
48448         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
48449         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
48450         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
48451         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
48452         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
48453         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
48454         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
48455         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
48456         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
48457         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
48458         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
48459         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
48460         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
48461         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
48462         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
48463         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
48464         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
48465         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
48466         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
48467         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
48468         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
48469         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
48470         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
48471         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
48472         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
48474         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
48475         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
48477         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
48478         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
48479         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
48480         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
48481         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
48482         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
48483         Moved ...
48484         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
48485         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
48486         Moved ...
48487         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
48488         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
48489         Moved ...
48490         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
48491         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
48492         Moved ...
48493         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
48494         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
48495         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
48496         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
48497         Moved ...
48498         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
48499         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
48500         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
48501         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
48502         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
48503         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
48504         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
48505         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
48506         Moved ...
48507         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
48508         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48509         Moved ...
48510         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48511         ... here.
48512         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
48513         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
48514         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
48515         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
48516         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48517         Moved ...
48518         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48519         ... here.
48520         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
48521         Moved ...
48522         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
48523         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
48524         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
48525         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
48526         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
48527         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
48528         Moved ...
48529         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
48530         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
48531         Moved ...
48532         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
48533         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
48534         Moved ...
48535         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
48536         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
48537         Moved ...
48538         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
48539         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
48540         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
48541         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
48542         Moved ...
48543         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
48544         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
48545         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
48546         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
48547         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
48548         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
48549         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
48550         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
48551         Moved ...
48552         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
48553         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48554         Moved ...
48555         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48556         ... here.
48557         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
48558         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
48559         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
48560         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
48561         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48562         Moved ...
48563         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48564         ... here.
48565         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
48566         Moved ...
48567         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
48568         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
48569         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
48570         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
48571         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
48572         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
48573         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
48574         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
48575         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
48576         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
48577         Moved ...
48578         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
48579         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
48580         Moved ...
48581         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
48582         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
48583         Moved ...
48584         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
48585         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
48586         Moved ...
48587         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
48588         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
48589         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
48590         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
48591         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
48592         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
48593         Moved ...
48594         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
48595         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
48596         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
48597         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
48598         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
48599         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
48600         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
48601         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
48602         Moved ...
48603         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
48604         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48605         Moved ...
48606         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48607         ... here.
48608         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
48609         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
48610         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
48611         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
48612         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48613         Moved ...
48614         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48615         ... here.
48616         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
48617         Moved ...
48618         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
48619         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
48620         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
48621         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
48622         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48623         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48624         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48625         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48626         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48627         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48628         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48630         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48631         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48633         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48634         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48636         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48637         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48638         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48639         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48640         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48641         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48642         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48643         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48644         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48645         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48646         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48647         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48648         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48649         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48650         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48651         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48652         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48653         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48654         Moved ...
48655         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48656         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48657         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48658         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48659         Moved ...
48660         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48661         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48662         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48663         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48664         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48665         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48666         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48667         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48668         Moved ...
48669         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48670         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48671         Moved ...
48672         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48673         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48674         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48675         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48676         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48677         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48678         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48679         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48680         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48681         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
48682         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
48683         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
48684         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
48685         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
48686         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
48687         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
48688         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
48690         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
48691         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
48692         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
48693         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
48694         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
48696         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
48697         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
48698         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
48699         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
48700         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
48701         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
48702         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
48703         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
48704         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
48705         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
48707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
48708         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
48710         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
48711         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
48712         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
48713         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
48714         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
48715         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
48716         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
48717         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
48718         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
48719         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
48720         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
48721         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
48722         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
48723         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
48724         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
48725         Update #include.
48726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
48727         Likewise.
48728         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48729         Likewise.
48730         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48731         Likewise.
48732         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48733         Likewise.
48734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48735         Likewise.
48736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
48737         Likewise.
48738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48739         Likewise.
48740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
48741         Likewise.
48742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
48743         Likewise.
48744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
48745         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
48746         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
48747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
48748         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
48749         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
48750         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
48751         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
48752         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
48753         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
48754         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
48755         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
48756         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
48757         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
48758         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
48760         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
48761         that was previously under [RESET_PID].
48762         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48763         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
48764         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
48766         * sysdeps/i386/nptl/Implies: New file.
48767         * sysdeps/x86_64/nptl/Implies: New file.
48768         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
48769         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48770         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
48771         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
48773         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
48774         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48775         (__libc_vfork): New strong alias.
48776         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
48777         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
48779         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
48780         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48781         (__libc_vfork): New strong alias.
48782         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
48783         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
48785         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
48786         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48787         (__libc_vfork): New strong alias.
48788         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
48789         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
48790         * nptl/pt-vfork.c: New file.
48791         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
48792         (libpthread: GLIBC_2.20): New version set (empty).
48794 2014-05-14  Will Newton  <will.newton@linaro.org>
48796         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
48797         rather than #if.
48799 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48801         [BZ #16564]
48802         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
48803         arguments with exponent 65 or above.
48804         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
48805         arguments 0x1p113L or above.
48806         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
48807         to arguments 0x1p107L or above.
48808         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
48809         positive arguments with exponent 65 or above.
48810         * math/auto-libm-test-in: Add more tests of log1p.
48811         * math/auto-libm-test-out: Regenerated.
48813         [BZ #16928]
48814         * math/s_cacos.c (__cacos): Ensure zero real part of result from
48815         non-finite arguments is +0.
48816         * math/s_cacosf.c (__cacosf): Likewise.
48817         * math/s_cacosl.c (__cacosl): Likewise.
48818         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
48819         * sysdeps/i386/fpu/libm-test-ulps: Update.
48820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48822         [BZ #16927]
48823         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
48824         value.
48825         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
48826         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
48827         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
48828         for explicit high bit of mantissa when testing for argument equal
48829         to 1.
48830         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
48831         * sysdeps/i386/fpu/libm-test-ulps: Update.
48832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48834         [BZ #16516]
48835         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
48836         (__erf): Scale by 16 instead of 8 in potentially underflowing
48837         case.  Ensure exception if result actually underflows.
48838         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
48839         (__erff): Scale by 16 instead of 8 in potentially underflowing
48840         case.  Ensure exception if result actually underflows.
48841         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
48842         (efx8): Remove variable.
48843         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48844         case.  Ensure exception if result actually underflows.
48845         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48846         (efx8): Remove variable.
48847         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48848         case.  Ensure exception if result actually underflows.
48849         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
48850         (efx8): Remove variable.
48851         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48852         case.  Ensure exception if result actually underflows.
48853         * math/auto-libm-test-in: Add more tests of erf.
48854         * math/auto-libm-test-out: Regenerated.
48856 2014-05-14  Andreas Schwab  <schwab@suse.de>
48858         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
48859         Remove code conditionalized on USE___THREAD.
48861         * config.h.in (HAVE_PT_CHOWN): Define as 0.
48862         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
48863         not definedness.
48865 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48867         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
48868         Define unconditionally.
48869         (__ASSUME_O_CLOEXEC): Likewise.
48870         (__ASSUME_SOCK_CLOEXEC): Likewise.
48871         (__ASSUME_IN_NONBLOCK): Likewise.
48872         (__ASSUME_PIPE2): Likewise.
48873         (__ASSUME_EVENTFD2): Likewise.
48874         (__ASSUME_SIGNALFD4): Likewise.
48875         (__ASSUME_DUP3): Likewise.
48876         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48877         (__ASSUME_DUP3): Do not define.
48878         (__ASSUME_EVENTFD2): Likewise.
48879         (__ASSUME_IN_NONBLOCK): Likewise.
48880         (__ASSUME_O_CLOEXEC): Likewise.
48881         (__ASSUME_PIPE2): Likewise.
48882         (__ASSUME_SIGNALFD4): Likewise.
48883         (__ASSUME_SOCK_CLOEXEC): Likewise.
48884         (__ASSUME_UTIMES): Undefine.
48885         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48886         (__ASSUME_UTIMES): Do not define.
48887         (__ASSUME_O_CLOEXEC): Likewise.
48888         (__ASSUME_SOCK_CLOEXEC): Likewise.
48889         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
48890         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
48891         0x020621].
48892         (__ASSUME_PIPE2): Likewise.
48893         (__ASSUME_EVENTFD2): Likewise.
48894         (__ASSUME_SIGNALFD4): Likewise.
48895         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
48896         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
48897         Do not define.
48898         (__ASSUME_EVENTFD2): Likewise.
48899         (__ASSUME_SIGNALFD4): Likewise.
48900         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
48901         (__ASSUME_32BITUIDS): Likewise.
48902         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48903         (__ASSUME_IPC64): Likewise.
48904         (__ASSUME_ST_INO_64_BIT): Likewise.
48905         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
48906         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
48907         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48908         (__ASSUME_UTIMES): Do not define.
48909         (__ASSUME_PSELECT): Likewise.
48910         (__ASSUME_PPOLL): Likewise.
48911         (__ASSUME_O_CLOEXEC): Likewise.
48912         (__ASSUME_SOCK_CLOEXEC): Likewise.
48913         (__ASSUME_IN_NONBLOCK): Likewise.
48914         (__ASSUME_PIPE2): Likewise.
48915         (__ASSUME_EVENTFD2): Likewise.
48916         (__ASSUME_SIGNALFD4): Likewise.
48917         (__ASSUME_DUP3): Likewise.
48918         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48919         (__ASSUME_UTIMES): Likewise.
48920         (__ASSUME_O_CLOEXEC): Likewise.
48921         (__ASSUME_SOCK_CLOEXEC): Likewise.
48922         (__ASSUME_IN_NONBLOCK): Likewise.
48923         (__ASSUME_PIPE2): Likewise.
48924         (__ASSUME_EVENTFD2): Likewise.
48925         (__ASSUME_SIGNALFD4): Likewise.
48926         (__ASSUME_DUP3): Likewise.
48927         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48928         (__ASSUME_UTIMES): Likewise.
48929         (__ASSUME_O_CLOEXEC): Likewise.
48930         (__ASSUME_SOCK_CLOEXEC): Likewise.
48931         (__ASSUME_IN_NONBLOCK): Likewise.
48932         (__ASSUME_PIPE2): Likewise.
48933         (__ASSUME_EVENTFD2): Likewise.
48934         (__ASSUME_SIGNALFD4): Likewise.
48935         (__ASSUME_DUP3): Likewise.
48936         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
48937         Likewise.
48938         (__ASSUME_UTIMES): Likewise.
48939         (__ASSUME_EVENTFD2): Likewise.
48940         (__ASSUME_SIGNALFD4): Likewise.
48941         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48942         (__ASSUME_O_CLOEXEC): Likewise.
48943         (__ASSUME_SOCK_CLOEXEC): Likewise.
48944         (__ASSUME_IN_NONBLOCK): Likewise.
48945         (__ASSUME_PIPE2): Likewise.
48946         (__ASSUME_EVENTFD2): Likewise.
48947         (__ASSUME_SIGNALFD4): Likewise.
48948         (__ASSUME_DUP3): Likewise.
48949         (__ASSUME_UTIMES): Undefine.
48951         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
48952         feclearexcept.  Remove symbol versioning code.
48953         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
48954         symbol versioning code.
48955         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
48956         symbol versioning code.
48957         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
48958         feupdateenv.  Remove symbol versioning code.
48959         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
48960         fegetexceptflag.  Remove symbol versioning code.
48961         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
48962         fesetexceptflag.  Remove symbol versioning code.
48963         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
48964         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
48965         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
48966         (__posix_fadvise64_l32): Remove prototype.
48967         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
48968         code.
48970 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48972         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
48973         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
48974         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
48975         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
48977 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
48979         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
48980         current working directory
48982 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48984         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
48985         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
48986         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
48987         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
48988         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
48989         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
48990         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
48991         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
48992         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
48993         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
48994         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
48995         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
48996         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
48997         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
48998         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
48999         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49000         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49001         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49002         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49003         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49004         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49005         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49006         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49007         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49008         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49009         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49010         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49011         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49012         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49013         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49014         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49015         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49016         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49017         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49018         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49019         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49020         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49021         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49022         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49023         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49024         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49025         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49027         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49028         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49030         * sysdeps/unix/sysv/linux/arm/Makefile
49031         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49032         Add rt-aeabi_unwind_cpp_pr1.
49033         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49034         Add nptl-aeabi_unwind_cpp_pr1.
49035         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49036         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49037         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49038         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49039         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49040         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49042         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49043         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49044         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49045         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49047         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49048         Deconditionalize the code that was previously under [RESET_PID].
49049         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49051         * sysdeps/generic/exit-thread.h: New file.
49052         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49053         * include/unistd.h (__exit_thread): Remove declaration.
49054         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49055         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49056         * csu/libc-start.c: Include <exit-thread.h>.
49057         (LIBC_START_MAIN): Pass no argument to __exit_thread.
49058         * nptl/pthread_create.c: Include <exit-thread.h>.
49059         (start_thread): Call __exit_thread in place of __exit_thread_inline.
49060         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49061         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49062         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49063         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49064         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49065         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49066         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49067         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49068         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49069         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49070         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49071         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49072         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49073         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49074         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49075         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49077 2014-05-13  Andreas Schwab  <schwab@suse.de>
49079         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49081 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49083         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49084         (__ASSUME_UTIMES): Do not condition on kernel version.
49085         (__ASSUME_PSELECT): Define unconditionally.
49086         (__ASSUME_PPOLL): Likewise.
49087         (__ASSUME_ATFCTS): Likewise.
49088         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49089         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49090         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49091         (__ASSUME_UTIMENSAT): Define unconditionally.
49092         (__ASSUME_PRIVATE_FUTEX): Likewise.
49093         (__ASSUME_FALLOCATE): Likewise.
49094         (__ASSUME_O_CLOEXEC): Likewise.
49095         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49096         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49097         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49098         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49099         (__ASSUME_IN_NONBLOCK): Likewise.
49100         (__ASSUME_PIPE2): Likewise.
49101         (__ASSUME_EVENTFD2): Likewise.
49102         (__ASSUME_SIGNALFD4): Likewise.
49103         (__ASSUME_DUP3): Likewise.
49104         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49105         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49106         (__ASSUME_AT_RANDOM): Likewise.
49107         (__ASSUME_PREADV): Likewise.
49108         (__ASSUME_PWRITEV): Likewise.
49109         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49110         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49111         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49112         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49113         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49114         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49115         (__ASSUME_O_CLOEXEC): Define unconditionally.
49116         (__ASSUME_PSELECT): Do not undefine conditionally.
49117         (__ASSUME_PPOLL): Likewise.
49118         (__ASSUME_ATFCTS): Likewise.
49119         (__ASSUME_SET_ROBUST_LIST): Likewise.
49120         (__ASSUME_UTIMENSAT): Likewise.
49121         (__ASSUME_FDATASYNC): Define unconditionally.
49122         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49123         (__ASSUME_SIGFRAME_V2): Likewise.
49124         )__ASSUME_EVENTFD2): Likewise.
49125         (__ASSUME_SIGNALFD4): Likewise.
49126         (__ASSUME_PSELECT): Do not undefine conditionally.
49127         (__ASSUME_PPOLL): Likewise.
49128         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49129         (__ASSUME_PSELECT): Define unconditionally.
49130         (__ASSUME_PPOLL): Likewise.
49131         (__ASSUME_O_CLOEXEC): Likewise.
49132         (__ASSUME_SOCK_CLOEXEC): Likewise.
49133         (__ASSUME_IN_NONBLOCK): Likewise.
49134         (__ASSUME_PIPE2): Likewise.
49135         (__ASSUME_EVENTFD2): Likewise.
49136         (__ASSUME_SIGNALFD4): Likewise.
49137         (__ASSUME_DUP3): Likewise.
49138         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49139         (__ASSUME_O_CLOEXEC): Likewise.
49140         (__ASSUME_SOCK_CLOEXEC): Likewise.
49141         (__ASSUME_IN_NONBLOCK): Likewise.
49142         (__ASSUME_PIPE2): Likewise.
49143         (__ASSUME_EVENTFD2): Likewise.
49144         (__ASSUME_SIGNALFD4): Likewise.
49145         (__ASSUME_DUP3): Likewise.
49146         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49147         (__ASSUME_EVENTFD2): Likewise.
49148         (__ASSUME_SIGNALFD4): Likewise.
49149         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49151 2014-05-12  Andreas Schwab  <schwab@suse.de>
49153         [BZ #16932]
49154         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49155         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49156         than maximum RPC packet size.
49157         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49158         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49159         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49160         (_nss_nis_getservbyport_r): Likewise.
49162 2014-05-12  Will Newton  <will.newton@linaro.org>
49164         * malloc/Makefile (tests): Add tst-mallopt.
49165         * malloc/tst-mallopt.c: New file.
49167 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49169         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49170         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49172 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49174         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49175         (tst-tlsmod6.so): Likewise.
49177 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49179         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49181 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49183         [BZ #16064]
49184         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49185         and <dl-procinfo.h>.
49186         (__fegetenv): Save SSE state in envp->__eip if supported.
49187         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49188         envp->__eip if supported.
49189         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49190         and <dl-procinfo.h>.
49191         (__fesetenv): Always set __eip, __cs_selector, __opcode,
49192         __data_offset and __data_selector in environment to 0.  Set SSE
49193         state if supported.
49194         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49195         test-fenv-sse.
49196         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49197         -mfpmath=sse.
49198         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49200 2014-05-09  Will Newton  <will.newton@linaro.org>
49202         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49203         and libc_relro_required for ARM.
49204         * sysdeps/arm/preconfigure: Regenerate.
49206 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
49207             Stefan Liebler  <stli@linux.vnet.ibm.com>
49209         * config.make.in (enable-lock-elision): New Makefile variable.
49210         * configure.ac: Likewise.
49211         * configure: Regenerate.
49212         * sysdeps/s390/configure.ac:
49213         Add check for gcc transactions support.
49214         * sysdeps/s390/configure: Regenerate.
49215         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49216         Build elision files if enabled.
49217         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49218         Add lock elision support for s390.
49219         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49220         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49221         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49222         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49223         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49224         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49225         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49226         Likewise.
49227         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49228         Likewise.
49229         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49230         Likewise.
49231         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49232         Likewise.
49233         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49234         (__lll_timedlock_elision, __lll_lock_elision)
49235         (__lll_unlock_elision, __lll_trylock_elision)
49236         (lll_timedlock_elision, lll_lock_elision)
49237         (lll_unlock_elision, lll_trylock_elision): Add.
49238         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49239         (pthread_mutex_t): Add lock elision support for s390.
49241 2014-05-14  Wilco  <wdijkstr@arm.com>
49243         * sysdeps/arm/fclrexcpt.c: Cleanup.
49244         * sysdeps/arm/fedisblxcpt.c: Cleanup.
49245         * sysdeps/arm/feenablxcpt.c: Cleanup.
49246         * sysdeps/arm/fegetenv.c: Cleanup.
49247         * sysdeps/arm/fegetexcept.c: Cleanup.
49248         * sysdeps/arm/fegetround.c: Cleanup.
49249         * sysdeps/arm/feholdexcpt.c: Cleanup.
49250         * sysdeps/arm/fesetenv.c: Cleanup.
49251         * sysdeps/arm/fesetround.c: Cleanup.
49252         * sysdeps/arm/feupdateenv.c: Cleanup.
49253         * sysdeps/arm/fgetexcptflg.c: Cleanup.
49254         * sysdeps/arm/fraiseexcpt.c: Cleanup.
49255         * sysdeps/arm/fsetexcptflg.c: Cleanup.
49256         * sysdeps/arm/ftestexcept.c: Cleanup.
49257         * sysdeps/arm/get-rounding-mode.h: Cleanup.
49258         * sysdeps/arm/setfpucw.c: Cleanup.
49260 2014-05-09  Will Newton  <will.newton@linaro.org>
49262         * sysdeps/arm/armv7/strcmp.S: New file.
49263         * NEWS: Mention addition of ARMv7 optimized strcmp.
49265 2014-05-08  Roland McGrath  <roland@hack.frob.com>
49267         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49268         look for %.ac rather than %.in.
49270         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49271         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49272         * sysdeps/mach/hurd/configure: Regenerated.
49273         * sysdeps/unix/sysv/linux/configure: Regenerated.
49275         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49277 2014-05-07  Steve Ellcey  <sellcey@mips.com>
49279         [BZ #16922]
49280         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49281         (LONG_SUB): Ditto.
49282         (PTR_SUB): Ditto.
49284 2014-05-07  Andreas Schwab  <schwab@suse.de>
49286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49287         when skipping over non-matching result from nscd.
49289 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
49291         [BZ #16876]
49292         * nptl/sockperf.c (client): Check socket return value.
49294         [BZ #16877]
49295         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
49296         nscd security class.
49298 2014-05-06  Roland McGrath  <roland@hack.frob.com>
49300         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
49301         * sysdeps/arm/unwind.h: ... here.
49303 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
49305         [BZ #16916]
49306         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
49307         Define.
49309 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49311         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
49312         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49313         multiarch strncpy for PPC64.
49314         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
49315         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
49316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
49317         multiarch optimizations.
49318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49319         (__libc_ifunc_impl_list): Likewise.
49320         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49321         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
49322         multiarch stpncpy for PPC64.
49323         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
49324         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
49326 2014-05-06  Andreas Schwab  <schwab@suse.de>
49328         [BZ #16912]
49329         * gmon/mcount.c (_MCOUNT_DECL): Use
49330         atomic_compare_and_exchange_bool_acq instead of
49331         catomic_compare_and_exchange_bool_acq.
49333 2014-05-05  Roland McGrath  <roland@hack.frob.com>
49335         * elf/Makefile (others, install-bin): Remove pldd.
49336         (pldd-modules): Variable removed.
49337         ($(objpfx)pldd): Target removed.
49338         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
49339         (others, install-bin): Append pldd here.
49340         ($(objpfx)pldd): New target.
49342         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
49343         to 0, so the first #if test emitted later doesn't see it undefined.
49344         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
49345         * sysdeps/gnu/errlist.c: Regenerated.
49347 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49349         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49350         [libc_hidden_builtin_def]: Define to empty value.
49351         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
49352         [libc_hidden_builtin_def]: Likewise.
49353         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
49354         [libc_hidden_builtin_def]: Likewise.
49355         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
49356         [libc_hidden_builtin_def]: Likewise.
49357         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
49358         __redirect_memcpy and define ifunc as default hidden symbol.
49359         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
49360         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
49362 2014-05-04  Adam Conrad  <adconrad@0c3.net>
49364         * locale/iso-4217.def: Reintroduce XDR currency.
49366 2014-05-04  Allan McRae  <allan@archlinux.org>
49368         * po/eo.po: Update Esperanto translation from translation project.
49370 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
49372         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
49373         and FEATURE_INDEX_MAX to 1.
49374         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
49376 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49378         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
49379         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
49380         * iconvdata/big5.c (ONE_DIRECTION): Define.
49381         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
49382         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
49383         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
49384         * iconvdata/cp932.c (ONE_DIRECTION): Define.
49385         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
49386         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
49387         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
49388         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
49389         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
49390         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
49391         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
49392         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
49393         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
49394         * iconvdata/gbk.c (ONE_DIRECTION): Define.
49395         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
49396         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
49397         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
49398         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
49399         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
49400         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
49401         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
49402         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
49403         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
49404         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
49405         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
49406         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
49407         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
49408         * iconvdata/iso646.c (ONE_DIRECTION): Define.
49409         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
49410         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
49411         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
49412         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
49413         * iconvdata/johab.c (ONE_DIRECTION): Define.
49414         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
49415         * iconvdata/sjis.c (ONE_DIRECTION): Define.
49416         * iconvdata/t.61.c (ONE_DIRECTION): Define.
49417         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
49418         * iconvdata/tscii.c (ONE_DIRECTION): Define.
49419         * iconvdata/uhc.c (ONE_DIRECTION): Define.
49420         * iconvdata/unicode.c (ONE_DIRECTION): Define.
49421         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
49422         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
49423         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
49425 2014-05-01  Roland McGrath  <roland@hack.frob.com>
49427         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
49428         (_IO_JUMPS_OFFSET): Define to 0.
49430         * nptl/sysdeps/pthread/bits/libc-lock.h
49431         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
49432         (__libc_lock_define_initialized_recursive): Always define using
49433         initializer.  Modern compilers treat uninitialized (implicit zero) and
49434         explicit zero initializers the same (i.e. put the datum in bss).
49436 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49438         * nscd/nscd-client.h: Include <string.h>.
49440 2014-05-01  David S. Miller  <davem@davemloft.net>
49442         [BZ #16885]
49443         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
49444         multiple zero bytes exist at the end of a string.
49445         Reported by Aurelien Jarno <aurelien@aurel32.net>
49447         * string/test-strcmp.c (check): Add explicit test for situations where
49448         there are multiple zero bytes after the first.
49450 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49452         [BZ #16890]
49453         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
49454         when compiling wprintf.
49455         * stdio-common/tstdiomisc.c (t3): New function.
49456         (main): Call it.
49458 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49460         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
49461         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
49462         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
49463         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
49465 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49467         * stdlib/longlong.h: Updated from GCC.
49469 2014-05-01  Will Newton  <will.newton@linaro.org>
49470             Bernard Ogden  <bernie.ogden@linaro.org>
49472         * NEWS: Update fixed bug list.
49474         [BZ #15119]
49475         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
49477 2014-04-30  David S. Miller  <davem@davemloft.net>
49479         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
49480         (libc_feholdexcept_setround_sparc_ctx): New function.
49481         (libc_fesetenv_sparc_ctx): Likewise.
49482         (libc_feupdateenv_sparc_ctx): Likewise.
49483         (libc_feholdsetround_sparc_ctx): Likewise.
49484         (libc_feholdexcept_setround_ctx): Define.
49485         (libc_feholdexcept_setroundf_ctx): Likewise.
49486         (libc_feholdexcept_setroundl_ctx): Likewise.
49487         (libc_fesetenv_ctx): Likewise.
49488         (libc_fesetenvf_ctx): Likewise.
49489         (libc_fesetenvl_ctx): Likewise.
49490         (libc_feupdateenv_ctx): Likewise.
49491         (libc_feupdateenvf_ctx): Likewise.
49492         (libc_feupdateenvl_ctx): Likewise.
49493         (libc_feresetround_ctx): Likewise.
49494         (libc_feresetroundf_ctx): Likewise.
49495         (libc_feresetroundl_ctx): Likewise.
49496         (libc_feholdsetround_ctx): Likewise.
49497         (libc_feholdsetroundf_ctx): Likewise.
49498         (libc_feholdsetroundl_ctx): Likewise.
49500         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49501         with __USE_GNU instead of XOPEN cpp guards.
49503         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
49504         0.
49506         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49507         with XOPEN cpp guards.
49509 2014-04-30  Julian Brown  <julian@codesourcery.com>
49511         [BZ #16888]
49512         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
49513         handling.
49515 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
49517         [BZ #9894]
49518         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
49519         Change to 2.6.32.
49520         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
49521         * sysdeps/unix/sysv/linux/configure: Regenerated.
49522         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
49523         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
49524         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
49525         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
49526         * README: Update reference to required Linux kernel version.
49527         * manual/install.texi (Linux): Update reference to required Linux
49528         kernel headers version.
49529         * INSTALL: Regenerated.
49531         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
49532         header inclusion.
49533         [POSIX] (limits.h): Likewise.
49534         [POSIX] (math.h): Likewise.
49535         [POSIX] (sys/wait.h): Likewise.
49536         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
49537         function.
49538         [POSIX] (stddef.h): Do not allow header inclusion.
49540 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49542         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
49544 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
49546         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
49547         Return immediately after lll_futex_wake.
49549 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49551         [BZ #16791]
49552         * nscd/nscd-client.h (datahead_init_common): Initialize entire
49553         structure.
49554         (datahead_init_pos): Call datahead_init_common early.
49555         (datahead_init_neg): Likewise.
49557         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
49558         datahead_init_neg): New functions.
49559         * nscd/aicache.c (addhstaiX): Use them.
49560         * nscd/grpcache.c (cache_addgr): Likewise.
49561         * nscd/hstcache.c (cache_addhst): Likewise.
49562         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49563         * nscd/netgroupcache.c (do_notfound): Likewise.
49564         (addgetnetgrentX): Likewise.
49565         (addinnetgrX): Likewise.
49566         * nscd/pwdcache.c (cache_addpw): Likewise.
49567         * nscd/servicescache.c (cache_addserv): Likewise.
49569 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49570             Atsushi Onoe  <atsushi@onoe.org>
49572         [BZ #14308]
49573         [BZ #12994]
49574         [BZ #13651]
49575         * resolv/res_query.c (__libc_res_nsearch): Return if at least
49576         one response is valid.
49577         * resolv/res_send.c (send_dg): Check for validity of other
49578         response if the current response is a referral.
49580 2014-04-29  Steve Ellcey  <sellcey@mips.com>
49582         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
49584 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
49586         [BZ #16823]
49587         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
49588         Always divide by positive zero when computing -Inf result.
49589         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49590         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49592 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49594         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
49595         FPSCR if value do not change.
49596         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49597         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
49598         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
49599         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49600         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
49601         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
49602         function.
49604 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
49606         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
49607         * sysdeps/unix/sysv/linux/hppa: Move directory from
49608         ports/systeps/unix/sysv/linux/hppa.
49609         * README: Update listing for hppa-*-linux-gnu.
49611 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
49613         [BZ #16754]
49614         * manual/stdio.texi (Hook functions): Fix types of stream hook
49615         functions.
49616         [BZ #16854]
49617         * socket/sys/socket.h: Fix typo in comment.
49619 2014-04-28  Wilco  <wdijkstr@arm.com>
49621         * sysdeps/arm/fenv_private.h: New file.
49622         * sysdeps/arm/math_private.h: New file.
49623         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49625 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
49627         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49628         with __int128_t.
49629         (La_x86_64_retval): Likewise.
49631 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49633         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49634         fpsr if value didn't change.
49635         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49636         to fpcr if value didn't change.
49637         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49638         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49639         fpsr or fpcr if value didn't change.
49640         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49641         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49642         fpcr if value didn't change.
49643         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49644         to fpsr if value didn't change.
49646 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49648         * nptl/tst-sem3.c: Use test-skeleton.c
49649         (main): Rename to do_test.  Use return instead of
49650         exit.
49651         * nptl/tst-sem4.c: Use test-skeleton.c
49652         (main): Rename to do_test.
49654 2014-04-22  David S. Miller  <davem@davemloft.net>
49656         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49657         (struct sigaction): New struct member __glibc_reserved0, change
49658         type of sa_flags to int.
49660 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49662         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49663         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49665 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49667         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49668         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49670 2014-04-22  Will Newton  <will.newton@linaro.org>
49671             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
49673         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49674         (__longjmp): Add longjmp and longjmp_target SystemTap
49675         probes.
49676         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49677         (__sigsetjmp): Add setjmp SystemTap probe.
49679 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
49681         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
49682         match manual order.
49684 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49686         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
49688         * sysdeps/powerpc/fpu/fenv_private.h
49689         (libc_feholdexcept_setroundl_ctx): Define to
49690         libc_feholdexcept_setround_ppc_ctx.
49691         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49692         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
49693         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
49694         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
49696 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49698         * sysdeps/aarch64/math-tests.h: New file.
49700 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
49702         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
49703         New.
49704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49705         Check and set bit_AVX2_Usable.
49706         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
49707         macro.
49708         (bit_AVX2): Likewise.
49709         (index_AVX2_Usable): Likewise.
49710         (CPUID_AVX2): Likewise.
49711         (HAS_AVX2): Likewise.
49713 2014-04-17  Will Newton  <will.newton@linaro.org>
49715         * manual/setjmp.texi (System V contexts): Add note that
49716         calling setcontext on a context created by a call to a
49717         signal handler is undefined.  Update text to note that
49718         setcontext from a signal handler is possible but not
49719         recommended.
49721         [BZ #16629]
49722         * stdlib/tst-setcontext.c: Include signal.h.
49723         (main): Check that the signal stack before and
49724         after swapcontext is the same.
49726         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
49727         Re-implement to restore registers in user code and avoid
49728         rt_sigreturn system call.
49730 2014-04-17  Wilco  <wdijkstr@arm.com>
49732         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
49733         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49734         * math/test-fenv.c: Skip exception trap tests on targets which only
49735         support non-stop mode.
49737 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49738             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49740         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
49741         (libc_feholdsetround_aarch64_ctx)
49742         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
49743         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
49744         (libc_feresetround_ctx, libc_feresetroundf_ctx)
49745         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
49746         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
49747         (libc_feresetround_noexl_ctx): Define.
49749 2014-04-16  Richard Henderson  <rth@redhat.com>
49751         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
49753         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
49754         unwind tables.
49756         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
49757         const from the non-libc, non-ldso copy.
49759         * sysdeps/alpha/libm-test-ulps: Regenerate.
49761 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
49762             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49764         * sysdeps/aarch64/fpu/math_private.h: New file.
49766 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49768         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49770 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
49772         [BZ #16275]
49773         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
49774         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
49775         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
49776         Intel MPX bound registers before _dl_profile_fixup.
49777         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
49778         registers after _dl_profile_fixup.  Save and restore bound
49779         registers bnd0/bnd1 when calling _dl_call_pltexit.
49780         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
49781         (LR_BND_OFFSET): Likewise.
49782         (LRV_BND0_OFFSET): Likewise.
49783         (LRV_BND1_OFFSET): Likewise.
49785 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49787         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
49788         to...
49789         * sysdeps/mach/hurd/i386/tls.h: ... here.
49790         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
49791         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
49792         fields.
49794 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49796         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
49798 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49800         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49802 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49804         [BZ #14770]
49805         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
49806         * sysdeps/s390/configure: Regenerate.
49808         [BZ #16824]
49809         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
49810         Set round-to-nearest internally to reduce error accumulation.
49812 2014-04-16  Alan Modra  <amodra@gmail.com>
49814         [BZ #16740]
49815         [BZ #16619]
49816         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
49817         * math/libm-test.inc (frexp_test_data): Add tests.
49818         * NEWS: Update fixed bug list.
49820 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49822         * benchtests/Makefile: Depend on libraries in build directory.
49823         (bench-math): Separate out math tests.
49824         (bench-pthread): Separate out pthread tests.
49825         (bench): Include math and pthread tests.
49827 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
49829         [BZ #16831]
49830         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
49831         _dl_debug_initialize.
49833         * configure.ac: Remove SELinux header check.
49834         * configure: Regenerate.
49835         * nscd/selinux.c (perms): Array of const char* to permission names.
49836         (nscd_request_avc_has_perm): Call security_deny_unknown to find
49837         default policy. Call string_to_security_class and string_to_av_perm to
49838         translate strings. Enforce default policy and call avs_has_perm with
49839         results of translated strings.
49841 2014-04-13  David S. Miller  <davem@davemloft.net>
49843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49845 2014-04-12  Allan McRae  <allan@archlinux.org>
49847         [BZ #16838]
49848         * manual/string.texi (Collation Functions): Fix qsort argument
49849         order in example.
49850         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49852 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
49854         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
49855         Make the test a no-op if there are no exceptions defined.
49857 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
49859         * elf/Makefile (tests): make tst-dlopen-aout conditional on
49860         enable-hardcoded-path-in-tests
49862 2014-04-11  Will Newton  <will.newton@linaro.org>
49864         * benchtests/Makefile (extra-objs): Add json-lib.o.
49865         (bench-func): Tidy up JSON output.
49866         * benchtests/bench-skeleton.c: Include json-lib.h.
49867         (main): Use JSON library functions to do output of
49868         benchmark results.
49869         * benchtests/bench-timing-type.c (main): Output the
49870         timing type simply, leaving formatting to the user.
49871         * benchtests/json-lib.c: New file.
49872         * benchtests/json-lib.h: Likewise.
49874 2014-04-11  Torvald Riegel  <triegel@redhat.com>
49876         [BZ #15215]
49877         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
49878         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
49879         memory barriers.  Add comments.
49880         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
49881         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
49882         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
49883         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
49884         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
49885         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
49887 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49889         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
49890         * sysdeps/s390/s390-64/configure.ac: ... this ...
49891         * sysdeps/s390/configure.ac: ... to here.
49892         * sysdeps/s390/s390-32/configure: Delete file.
49893         * sysdeps/s390/s390-64/configure: Delete file.
49894         * sysdeps/s390/configure: Regenerate.
49896 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
49898         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
49900 2014-04-11  Will Newton  <will.newton@linaro.org>
49902         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
49903         to zero if it is not defined elsewhere.  (mtrim): Test
49904         the value of MALLOC_DEBUG with #if rather than #ifdef.
49906 2014-04-10 Torvald Riegel  <triegel@redhat.com>
49908         * benchtests/pthread_once-inputs: New file.
49909         * benchtests/pthread_once-source.c: New file.
49910         * benchtests/README: Update documentation.
49912 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
49913             H.J. Lu  <hongjiu.lu@intel.com>
49915         [BZ #16275]
49916         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
49917         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
49918         * sysdeps/x86_64/configure: Regenerated.
49919         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
49920         macro.
49921         (REGISTER_SAVE_RAX): Likewise.
49922         (REGISTER_SAVE_RCX): Likewise.
49923         (REGISTER_SAVE_RDX): Likewise.
49924         (REGISTER_SAVE_RSI): Likewise.
49925         (REGISTER_SAVE_RDI): Likewise.
49926         (REGISTER_SAVE_R8): Likewise.
49927         (REGISTER_SAVE_R9): Likewise.
49928         (REGISTER_SAVE_BND0): Likewise.
49929         (REGISTER_SAVE_BND1): Likewise.
49930         (REGISTER_SAVE_BND2): Likewise.
49931         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
49932         bound registers when calling _dl_fixup.
49934 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49936         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
49937         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
49938         of its definition.
49939         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
49940         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
49941         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
49942         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
49943         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
49944         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
49945         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
49947 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
49949         [BZ #15514]
49950         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
49951         pathconf(_PC_NAME_MAX).
49953 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49955         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
49956         Remove macro usage.
49957         (__PTHREAD_SPINS): Move definition to ...
49958         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49959         (__PTHREAD_SPINS): ... here.
49960         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49961         (__PTHREAD_SPIN): Likewise.
49962         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
49963         (__PTHREAD_SPIN): Likewise.
49964         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
49965         (__PTHREAD_SPIN): Likewise.
49966         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
49967         (__PTHREAD_SPIN): Likewise.
49968         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49969         (__PTHREAD_SPIN): Likewise.
49970         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49971         (__PTHREAD_SPIN): Likewise.
49972         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
49973         (__PTHREAD_SPIN): Likewise.
49974         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49975         (__PTHREAD_SPIN): Likewise.
49976         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49977         (__PTHREAD_SPIN): Likewise.
49978         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49979         (__PTHREAD_SPIN): Likewise.
49980         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49981         (__PTHREAD_SPIN): Likewise.
49982         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
49983         (__PTHREAD_SPIN): Likewise.
49985         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
49986         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
49987         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
49988         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
49989         imply folder.
49990         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
49991         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
49992         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
49993         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
49994         correct imply path.
49995         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
49996         strlen symbol for non multi-arch builds.
49997         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
49998         missing hidden_def and weak_alias.
50000 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
50002         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50004 2014-04-07  Will Newton  <will.newton@linaro.org>
50006         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50007         and contents.  [!_LIBC] Remove #ifndef and contents.
50008         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
50009         * string/memccpy.c (__memccpy): Use ANSI prototype.
50010         * string/memfrob.c (memfrob): Likewise.
50011         * string/strcoll.c (STRCOLL): Likewise.
50012         * string/strlen.c (strlen): Likewise.
50013         * string/strtok.c (STRTOK): Likewise.
50014         * string/strcat.c: Remove unused #include of memcopy.h.
50015         (strcat): Use ANSI prototype.
50016         * string/strchr.c: Remove unused #include of memcopy.h.
50017         (strchr): Use ANSI prototype.
50018         * string/strcmp.c: Remove unused #include of memcopy.h.
50019         (strcmp): Use ANSI prototype.
50020         * string/strcpy.c: Remove unused #include of memcopy.h.
50021         (strcpy): Use ANSI prototype.
50023 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50025         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50026         * config.make.in (config-extra-cppflags): Set it from
50027         libc_extra_cppflags.
50028         * configure.ac (libc_extra_cflags): Make it accumulate over
50029         configure fragments.
50030         (libc_extra_cppflags): New flag.
50031         * configure. Regenerate.
50032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50033         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50034         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50037         [BZ #16815]
50038         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50039         result for FE_DOWNWARD rounding mode.
50040         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50041         Likewise.
50042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50044 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
50046         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50047         in function argument name.
50049 2014-04-03  David Svoboda  <svoboda@cert.org>
50051         [BZ #5666]
50052         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50053         explicitly.
50055 2014-04-03  Roland McGrath  <roland@hack.frob.com>
50057         * elf/dl-unmap-segments.h: New file.
50058         * sysdeps/generic/ldsodefs.h
50059         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50060         * elf/dl-close.c: Include <dl-unmap-segments.h>.
50061         * elf/dl-fptr.c: Likewise.
50062         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50063         * sysdeps/aarch64/tlsdesc.c: Likewise.
50064         * sysdeps/arm/tlsdesc.c: Likewise.
50065         * sysdeps/i386/tlsdesc.c: Likewise.
50066         * sysdeps/tile/dl-runtime.c: Likewise.
50067         * sysdeps/x86_64/tlsdesc.c: Likewise.
50068         * elf/dl-load.h: New file.
50069         * elf/dl-load.c: Include it.
50070         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50071         Macros moved to dl-load.h.
50072         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50073         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50074         Use _dl_unmap_segments in place of __munmap.
50075         Break out segment-mapping loop into ...
50076         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50078 2014-04-03  Will Newton  <will.newton@linaro.org>
50080         * elf/dl-lookup.c (do_lookup_x): Remove comment
50081         referring to nested function and move variable
50082         declarations down to before first use.
50084 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50086         [BZ #16799]
50087         [BZ #16800]
50088         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50089         with 0 numerator.
50090         * math/s_catanf.c (__catanf): Likewise.
50091         * math/s_catanh.c (__catanh): Likewise.
50092         * math/s_catanhf.c (__catanhf): Likewise.
50093         * math/s_catanhl.c (__catanhl): Likewise.
50094         * math/s_catanl.c (__catanl): Likewise.
50095         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50096         by positive zero when computing -Inf result.
50097         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50098         (catanh_test): Likewise.
50099         * sysdeps/i386/fpu/libm-test-ulps: Update.
50100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50102         [BZ #16789]
50103         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50104         instead of using underflowing value in computing result.
50105         * math/s_clog10.c (__clog10): Likewise.
50106         * math/s_clog10f.c (__clog10f): Likewise.
50107         * math/s_clog10l.c (__clog10l): Likewise.
50108         * math/s_clogf.c (__clogf): Likewise.
50109         * math/s_clogl.c (__clogl): Likewise.
50110         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50111         (clog10_test): Likewise.
50112         * sysdeps/i386/fpu/libm-test-ulps: Update.
50113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50115 2014-04-02  Alan Modra  <amodra@gmail.com>
50117         [BZ #16739]
50118         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50119         output when value is near a power of two.  Use int64_t for lx and
50120         remove casts.  Use decimal rather than hex exponent constants.
50121         Don't use long double multiplication when double will suffice.
50122         * math/libm-test.inc (nextafter_test_data): Add tests.
50123         * NEWS: Add 16739 and 16786 to bug list.
50125         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50127         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50129 2014-04-01  Will Newton  <will.newton@linaro.org>
50131         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50132         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50134 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50136         [BZ #13347]
50137         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50138         * nptl/tst-setuid2.c: New file.
50139         * nptl/Makefile (xtests): Add tst-setuid2.
50141 2014-04-01  Alan Modra  <amodra@gmail.com>
50143         [BZ #16786]
50144         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50146 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50148         [BZ #6803]
50149         [BZ #6804]
50150         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50151         set errno as appropriate.
50152         * math/w_scalbf.c (__scalbf): Likewise.
50153         * math/w_scalbl.c (__scalbl): Likewise.
50154         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50155         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50156         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50157         Add more NaN tests.
50159         [BZ #16349]
50160         * math/w_atan2.c: Include <errno.h>.
50161         (__atan2): Set errno for result underflowing to zero.
50162         * math/w_atan2f.c: Include <errno.h>.
50163         (__atan2f): Set errno for result underflowing to zero.
50164         * math/w_atan2l.c: Include <errno.h>.
50165         (__atan2l): Set errno for result underflowing to zero.
50166         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50167         tests.
50168         * math/auto-libm-test-out: Regenerated.
50170 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50172         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50173         Encode instruction correctly in little endian.
50174         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50175         Likewise.
50176         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50177         Likewise.
50178         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50179         Likewise.
50180         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50181         Likewise.
50183 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50185         [BZ #9894]
50186         * sysdeps/unix/sysv/linux/kernel-features.h
50187         [__sparc__ && !__arch64__ && !__sparc_v9__]
50188         (__ASSUME_SET_ROBUST_LIST): Do not define.
50189         [__sparc__ && !__arch64__ && !__sparc_v9__]
50190         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50191         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50192         Likewise.
50193         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50194         (__ASSUME_FUTEX_LOCK_PI): Undefine.
50195         (__ASSUME_REQUEUE_PI): Likewise.
50196         (__ASSUME_SET_ROBUST_LIST): Likewise.
50197         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50198         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50199         Undefine.
50200         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50201         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50202         Likewise.
50203         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50204         Likewise.
50205         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50206         Likewise.
50207         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50208         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50209         Undefine.
50210         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50211         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50212         Likewise.
50214         [BZ #16648]
50215         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50216         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50217         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50219 2014-03-31  Will Newton  <will.newton@linaro.org>
50221         * benchtests/Makefile (bench): Add ffs and ffsll to list
50222         of tests.
50223         * benchtests/ffs-inputs: New file.
50224         * benchtests/ffsll-inputs: Likewise.
50226 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
50228         [BZ #16770]
50229         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50230         too large before casting to int.
50231         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50232         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50233         * math/libm-test.inc (scalb_test_data): Add more tests.
50235 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50237         * benchtests/Makefile (DETAILED_OPT): New make option.
50238         (bench-func): Run benchmark program with -d if DETAILED_OPT is
50239         set.
50240         * benchtests/bench-skeleton.c: Include stdbool.h.
50241         (main): Store and print timings per input.
50242         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50243         member to each argument value.
50244         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50245         (_print_arg_data): Initialize per-input timing to 0.
50247         * benchtests/Makefile (timing-type): New binary.
50248         (bench-clean): Also remove bench-timing-type.
50249         (bench): New target for timing-type.
50250         (bench-func): Print output in JSON format.
50251         * benchtests/bench-skeleton.c (main): Print output in JSON
50252         format.
50253         * benchtests/bench-timing-type.c: New file.
50254         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50255         (TIMING_PRINT_STATS): Remove.
50256         * benchtests/scripts/bench.py (_print_arg_data): Store variant
50257         name separately.
50259         * benchtests/bench-modf.c: Remove.
50260         * benchtests/modf-inputs: New inputs file.
50262 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
50264         [BZ #16362]
50265         * math/s_clog10.c (M_PI_LOG10E): New macro.
50266         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50267         imaginary parts are 0.
50268         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50269         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50270         imaginary parts are 0.
50271         * math/s_clog10l.c (M_PI_LOG10El): New macro.
50272         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50273         imaginary parts are 0.
50274         * math/libm-test.inc (clog10_test_data): Update expected results
50275         for when real and imaginary parts are 0.
50277 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
50279         * elf/dl-load.c: Finish conversion of __builtin_expect into
50280         __glibc_{un}likely.
50282 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
50284         [BZ #16348]
50285         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50286         1+x for argument with exponent below -67.
50287         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50288         Likewise.
50289         * math/auto-libm-test-in: Add more tests of exp.
50290         * math/auto-libm-test-out: Regenerated.
50292 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50294         [BZ #16759]
50295         * inet/getnetgrent_r.c (get_nonempty_val): New function.
50296         (nscd_getnetgrent): Use it.
50298         [BZ #16760]
50299         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
50300         of stpcpy.
50302 2014-03-27  Andi Kleen  <ak@linux.intel.com>
50304         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
50305         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50306         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50307         (lll_robust_unlock): Remove out of line section. Use cfi
50308         intrinsics.
50309         (LLL_STUB_UNWIND_INFO*): Remove.
50310         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
50311         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50312         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50313         (lll_robust_unlock): Remove out of line section. Use cfi
50314         intrinsics.
50315         (LLL_STUB_UNWIND_INFO*): Remove.
50317 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50319         [BZ #16758]
50320         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
50321         blank values.
50323 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
50325         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
50327 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
50329         [BZ #16198]
50330         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
50331         fnstenv.
50332         * math/test-fenv-preserve.c: New file.
50333         * math/Makefile (tests): Add test-fenv-preserve.
50335 2014-03-26  Will Newton <will.newton@linaro.org>
50337         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
50339 2014-03-25  Roland McGrath  <roland@hack.frob.com>
50341         * scripts/versionlist.awk: Partition the version sets and emit all
50342         GLIBC_* (sorted) before all others (sorted).
50344 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50346         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
50347         GLIBC_2.2.5 version.
50349 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50351         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
50352         calls.
50354         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
50355         previous change.
50357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50359 2014-03-25  Andreas Schwab  <schwab@suse.de>
50361         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
50362         label to be used after in6ailist is initialized.
50364 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50366         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50367         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50369 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50371         [BZ #16357]
50372         [BZ #16599]
50373         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
50374         min_plus_half.
50375         (fp_formats): Update initializers.
50376         (init_fp_formats): Initialize new field.
50377         (output_for_one_input_case): Allow underflow for results up to
50378         min_plus_half.
50379         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
50380         * math/auto-libm-test-in: Don't mark some underflows from asin and
50381         atanh as spurious.
50382         * math/auto-libm-test-out: Regenerated.
50383         * sysdeps/i386/fpu/libm-test-ulps: Update.
50384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50386 2014-03-25  Andreas Schwab  <schwab@suse.de>
50388         * libio/Makefile (tst-ftell-partial-wide-ENV)
50389         (tst-ftell-active-handler-ENV): Define.
50391 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
50393         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
50395 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50397         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
50399 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50401         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
50402         * sysdeps/x86_64/fpu/multiarch/e_exp.c
50403         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
50405 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50407         [BZ #16634]
50408         * elf/dl-load.c (open_verify): Add mode parameter.
50409         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
50410         (open_path): Change from boolean 'secure' to complete flag 'mode'
50411         (_dl_map_object): Adjust.
50412         * elf/Makefile (tests): Add tst-dlopen-aout.
50413         * elf/tst-dlopen-aout.c: New test.
50415 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
50417         [BZ #16714]
50418         * sysdeps/unix/sysv/linux/s390/bits/stat.h
50419         (struct stat): Rename member pad0 to __glibc_reserved0.
50421         [BZ #16712]
50422         * sysdeps/s390/s390-32/bits/wordsize.h
50423         (__WORDSIZE32_SIZE_ULONG): New define.
50424         * sysdeps/s390/s390-64/bits/wordsize.h
50425         (__WORDSIZE32_SIZE_ULONG): Likewise.
50426         * sysdeps/generic/stdint.h (SIZE_MAX):
50427         Define as UL if __WORDSIZE32_SIZE_ULONG.
50429         [BZ #16713]
50430         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
50431         (__glibc_reserved0): New variable.
50432         (sa_flags): Change type to int.
50434         * posix/Makefile (before-compile): Use += before-compile instead
50435         of a :=.
50437         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50438         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50440 2014-03-20  Andreas Schwab  <schwab@suse.de>
50442         [BZ #16743]
50443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
50444         non-matching result from nscd.
50446 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50448         * scripts/bench.py: Moved to ...
50449         * benchtests/scripts/bench.py: ... here.
50450         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
50452 2014-03-24  Andreas Schwab  <schwab@suse.de>
50454         [BZ #16002]
50455         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
50456         alloca_account and account alloca use for struct in6ailist.
50458 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50460         [BZ #16284]
50461         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
50462         rounding mode to recompute results that overflow to infinity or
50463         underflow to zero.
50464         * math/auto-libm-test-in: Don't mark tests as expected to fail for
50465         bug 16284.
50466         * math/auto-libm-test-out: Regenerated.
50467         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
50468         (ccosh_test): Likewise.
50469         (csin_test_data): Use plus_oflow.
50470         (csin_test): Use ALL_RM_TEST.
50471         (csinh_test_data): Use plus_oflow.
50472         (csinh_test): Use ALL_RM_TEST.
50473         * sysdeps/i386/fpu/libm-test-ulps: Update.
50474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50476 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
50478         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
50479         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
50480         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
50482         [BZ #16731]
50483         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
50484         when x - 1 is zero.
50485         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
50486         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
50487         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50488         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
50489         argument is 1.
50490         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
50491         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
50492         zero.
50493         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
50494         * sysdeps/i386/fpu/libm-test-ulps: Update.
50495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50497 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50499         * scripts/bench.pl: Remove file.
50500         * scripts/bench.py: New benchmark script.
50501         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
50502         * benchtests/README: Mention python dependency.
50503         * scripts/pylintrc: New file.
50504         * scripts/pylint: New file.
50506         * bits/mathdef.h: Use #ifdef instead of #if.
50507         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
50508         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50509         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
50510         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50511         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
50512         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50514 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50515             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50517         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
50518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
50519         and strpbrk-ppc64 objects.
50520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50521         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
50522         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
50523         multiarch strpbrk for POWER7.
50524         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
50525         multiarch strpbrk for PPC64.
50526         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
50527         ifunc selector.
50528         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
50529         strpbrk for POWER7.
50531 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50533         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
50534         (atan_test): Likewise.
50535         (atanh_test_data): Use NO_TEST_INLINE for two tests.
50536         (atanh_test): Use ALL_RM_TEST.
50537         (atan2_test_data): Likewise.
50538         (cabs_test): Likewise.
50539         (cacosh_test): Likewise.
50540         (carg_test): Likewise.
50541         (casin_test): Likewise.
50542         (casinh_test): Likewise.
50543         (cbrt_test): Likewise.
50544         (csqrt_test): Likewise.
50545         (erf_test): Likewise.
50546         (erfc_test): Likewise.
50547         (pow10_test): Likewise.
50548         (exp2_test): Likewise.
50549         (hypot_test): Likewise.
50550         (j0_test): Likewise.
50551         (j1_test): Likewise.
50552         (lgamma_test): Likewise.
50553         (gamma_test): Likewise.
50554         (sincos_test): Likewise.
50555         (tanh_test): Likewise.
50556         (y0_test): Likewise.
50557         (y1_test): Likewise.
50558         * sysdeps/i386/fpu/libm-test-ulps: Update.
50559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50561 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50563         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
50564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
50565         and strcspn-ppc64 objects.
50566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50567         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
50568         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
50569         multiarch strcspn for POWER7.
50570         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
50571         multiarch strcspn for PPC64.
50572         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
50573         ifunc selector.
50574         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
50575         strcspn for POWER7.
50577 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50579         * math/gen-libm-test.pl (generate_testfile): Expect only function
50580         name as argument to AUTO_TESTS_* and pass results for all rounding
50581         modes to parse_args.
50582         (parse_auto_input): Separate inputs of automatic tests from
50583         outputs before storing in %auto_tests.
50584         * math/libm-test.inc (acos_test_data): Update call to
50585         AUTO_TESTS_f_f.
50586         (acos_test): Use ALL_RM_TEST.
50587         (acos_tonearest_test_data): Remove.
50588         (acos_test_tonearest): Likewise.
50589         (acos_towardzero_test_data): Likewise.
50590         (acos_test_towardzero): Likewise.
50591         (acos_downward_test_data): Likewise.
50592         (acos_test_downward): Likewise.
50593         (acos_upward_test_data): Likewise.
50594         (acos_test_upward): Likewise.
50595         (acosh_test_data): Update call to AUTO_TESTS_f_f.
50596         (asin_test_data): Likewise.
50597         (asin_test): Use ALL_RM_TEST.
50598         (asin_tonearest_test_data): Remove.
50599         (asin_test_tonearest): Likewise.
50600         (asin_towardzero_test_data): Likewise.
50601         (asin_test_towardzero): Likewise.
50602         (asin_downward_test_data): Likewise.
50603         (asin_test_downward): Likewise.
50604         (asin_upward_test_data): Likewise.
50605         (asin_test_upward): Likewise.
50606         (asinh_test_data): Update call to AUTO_TESTS_f_f.
50607         (atan_test_data): Likewise.
50608         (atanh_test_data): Likewise.
50609         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
50610         (cabs_test_data): Update call to AUTO_TESTS_c_f.
50611         (carg_test_data): Likewise.
50612         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
50613         (ccos_test_data): Update call to AUTO_TESTS_c_c.
50614         (ccosh_test_data): Likewise.
50615         (cexp_test_data): Likewise.
50616         (clog_test_data): Likewise.
50617         (clog10_test_data): Likewise.
50618         (cos_test_data): Update call to AUTO_TESTS_f_f.
50619         (cos_test): Use ALL_RM_TEST.
50620         (cos_tonearest_test_data): Remove.
50621         (cos_test_tonearest): Likewise.
50622         (cos_towardzero_test_data): Likewise.
50623         (cos_test_towardzero): Likewise.
50624         (cos_downward_test_data): Likewise.
50625         (cos_test_downward): Likewise.
50626         (cos_upward_test_data): Likewise.
50627         (cos_test_upward): Likewise.
50628         (cosh_test_data): Update call to AUTO_TESTS_f_f.
50629         (cosh_test): Use ALL_RM_TEST.
50630         (cosh_tonearest_test_data): Remove.
50631         (cosh_test_tonearest): Likewise.
50632         (cosh_towardzero_test_data): Likewise.
50633         (cosh_test_towardzero): Likewise.
50634         (cosh_downward_test_data): Likewise.
50635         (cosh_test_downward): Likewise.
50636         (cosh_upward_test_data): Likewise.
50637         (cosh_test_upward): Likewise.
50638         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50639         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50640         (ctan_test_data): Likewise.
50641         (ctan_test): Use ALL_RM_TEST.
50642         (ctan_tonearest_test_data): Remove.
50643         (ctan_test_tonearest): Likewise.
50644         (ctan_towardzero_test_data): Likewise.
50645         (ctan_test_towardzero): Likewise.
50646         (ctan_downward_test_data): Likewise.
50647         (ctan_test_downward): Likewise.
50648         (ctan_upward_test_data): Likewise.
50649         (ctan_test_upward): Likewise.
50650         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50651         (ctanh_test): Use ALL_RM_TEST.
50652         (ctanh_tonearest_test_data): Remove.
50653         (ctanh_test_tonearest): Likewise.
50654         (ctanh_towardzero_test_data): Likewise.
50655         (ctanh_test_towardzero): Likewise.
50656         (ctanh_downward_test_data): Likewise.
50657         (ctanh_test_downward): Likewise.
50658         (ctanh_upward_test_data): Likewise.
50659         (ctanh_test_upward): Likewise.
50660         (erf_test_data): Update call to AUTO_TESTS_f_f.
50661         (erfc_test_data): Likewise.
50662         (exp_test_data): Likewise.
50663         (exp_test): Use ALL_RM_TEST.
50664         (exp_tonearest_test_data): Remove.
50665         (exp_test_tonearest): Likewise.
50666         (exp_towardzero_test_data): Likewise.
50667         (exp_test_towardzero): Likewise.
50668         (exp_downward_test_data): Likewise.
50669         (exp_test_downward): Likewise.
50670         (exp_upward_test_data): Likewise.
50671         (exp_test_upward): Likewise.
50672         (exp10_test_data): Update call to AUTO_TESTS_f_f.
50673         (exp10_test): Use ALL_RM_TEST.
50674         (exp10_tonearest_test_data): Remove.
50675         (exp10_test_tonearest): Likewise.
50676         (exp10_towardzero_test_data): Likewise.
50677         (exp10_test_towardzero): Likewise.
50678         (exp10_downward_test_data): Likewise.
50679         (exp10_test_downward): Likewise.
50680         (exp10_upward_test_data): Likewise.
50681         (exp10_test_upward): Likewise.
50682         (exp2_test_data): Update call to AUTO_TESTS_f_f.
50683         (expm1_test_data): Likewise.
50684         (expm1_test): Use ALL_RM_TEST.
50685         (expm1_tonearest_test_data): Remove.
50686         (expm1_test_tonearest): Likewise.
50687         (expm1_towardzero_test_data): Likewise.
50688         (expm1_test_towardzero): Likewise.
50689         (expm1_downward_test_data): Likewise.
50690         (expm1_test_downward): Likewise.
50691         (expm1_upward_test_data): Likewise.
50692         (expm1_test_upward): Likewise.
50693         (fma_test_data): Update call to AUTO_TESTS_fff_f.
50694         (fma_test): Use ALL_RM_TEST.
50695         (fma_towardzero_test_data): Remove.
50696         (fma_test_towardzero): Likewise.
50697         (fma_downward_test_data): Likewise.
50698         (fma_test_downward): Likewise.
50699         (fma_upward_test_data): Likewise.
50700         (fma_test_upward): Likewise.
50701         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
50702         (j0_test_data): Update call to AUTO_TESTS_f_f.
50703         (j1_test_data): Likewise.
50704         (jn_test_data): Update call to AUTO_TESTS_if_f.
50705         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
50706         (log_test_data): Update call to AUTO_TESTS_f_f.
50707         (log10_test_data): Likewise.
50708         (log1p_test_data): Likewise.
50709         (log2_test_data): Likewise.
50710         (pow_test_data): Update call to AUTO_TESTS_ff_f.
50711         (pow_tonearest_test_data): Likewise.
50712         (sin_test_data): Update call to AUTO_TESTS_f_f.
50713         (sin_test): Use ALL_RM_TEST.
50714         (sin_tonearest_test_data): Remove.
50715         (sin_test_tonearest): Likewise.
50716         (sin_towardzero_test_data): Likewise.
50717         (sin_test_towardzero): Likewise.
50718         (sin_downward_test_data): Likewise.
50719         (sin_test_downward): Likewise.
50720         (sin_upward_test_data): Likewise.
50721         (sin_test_upward): Likewise.
50722         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
50723         (sinh_test_data): Update call to AUTO_TESTS_f_f.
50724         (sinh_test): Use ALL_RM_TEST.
50725         (sinh_tonearest_test_data): Remove.
50726         (sinh_test_tonearest): Likewise.
50727         (sinh_towardzero_test_data): Likewise.
50728         (sinh_test_towardzero): Likewise.
50729         (sinh_downward_test_data): Likewise.
50730         (sinh_test_downward): Likewise.
50731         (sinh_upward_test_data): Likewise.
50732         (sinh_test_upward): Likewise.
50733         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
50734         (sqrt_test): Use ALL_RM_TEST.
50735         (sqrt_tonearest_test_data): Remove.
50736         (sqrt_test_tonearest): Likewise.
50737         (sqrt_towardzero_test_data): Likewise.
50738         (sqrt_test_towardzero): Likewise.
50739         (sqrt_downward_test_data): Likewise.
50740         (sqrt_test_downward): Likewise.
50741         (sqrt_upward_test_data): Likewise.
50742         (sqrt_test_upward): Likewise.
50743         (tan_test_data): Update call to AUTO_TESTS_f_f.
50744         (tan_test): Use ALL_RM_TEST.
50745         (tan_tonearest_test_data): Remove.
50746         (tan_test_tonearest): Likewise.
50747         (tan_towardzero_test_data): Likewise.
50748         (tan_test_towardzero): Likewise.
50749         (tan_downward_test_data): Likewise.
50750         (tan_test_downward): Likewise.
50751         (tan_upward_test_data): Likewise.
50752         (tan_test_upward): Likewise.
50753         (tanh_test_data): Update call to AUTO_TESTS_f_f.
50754         (tgamma_test_data): Likewise.
50755         (y0_test_data): Likewise.
50756         (y1_test_data): Likewise.
50757         (yn_test_data): Update call to AUTO_TESTS_if_f.
50758         (main): Do not call removed functions.
50760 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50762         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
50763         (ldexp_test_data): Remove.
50764         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
50765         scalbn_test_data.
50766         (scalb_test): Use ALL_RM_TEST.
50768 2014-03-19  Andreas Schwab  <schwab@suse.de>
50770         * nscd/nscd.service: Also invalidate netgroup cache on reload.
50772 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50774         [BZ #16649]
50775         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50776         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
50777         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
50778         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50779         (__ASSUME_PREADV): Undefine.
50780         (__ASSUME_PWRITEV): Likewise.
50782 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50784         * bits/mman-linux.h: Add comment about non-Linux use.
50785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
50786         bits/mman-linux.h resting place.
50788         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
50789         * bits/mman-linux.h: ... here.
50791 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50793         * conform/conformtest.pl: Add standard definition when calling C
50794         preprocessor on data files.
50795         (checknamespace): Remove unused variable.
50797 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50799         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
50800         minus_oflow, plus_uflow and minus_uflow in expected results.
50801         * math/libm-test.inc (scalbn_test_data): Add more tests of
50802         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
50803         minus_uflow.
50804         (scalbn_test): Use ALL_RM_TEST.
50805         (scalbln_test_data): Add more tests of negative arguments.  Use
50806         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
50807         (scalbln_test): Use ALL_RM_TEST.
50809 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50811         * scripts/abilist.awk: Ignore symbols marked with .hidden.
50813 2014-03-18  Will Newton  <will.newton@linaro.org>
50815         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
50816         inaccurate comment.
50818 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50820         * Makerules [!subdir] (check-abi): Exit with error status if a
50821         test failed.
50823 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50825         * math/libm-test.inc (nearbyint_test_data): Include all tests used
50826         for rint.  Include results for all rounding modes.
50827         (nearbyint_test): Use ALL_RM_TEST.
50828         (rint_test_data): Include all tests used for nearbyint.
50830 2014-03-17  Will Newton  <will.newton@linaro.org>
50832         * nptl/sysdeps/pthread/pthread.h: Revert previous
50833         change.
50835         * sysdeps/generic/ldsodefs.h: Revert previous
50836         change.
50838         * libio/genops.c: Revert previous change.
50839         * libio/libioP.h: Likewise.
50840         * stdio-common/vfprintf.c: Likewise.
50842         * sysdeps/generic/math_private.h: Revert previous
50843         change.
50845         * sysdeps/generic/math_private.h: Check whether
50846         HAVE_RM_CTX is defined with #ifdef rather
50847         than #if.
50849         * argp/argp-fmtstream.h: Check whether
50850         __STRICT_ANSI__ is defined with #ifdef rather
50851         than #if.
50852         * argp/argp.h: Likewise.
50854         * libio/genops.c: Check whether
50855         _IO_JUMPS_OFFSET is defined with #ifdef rather
50856         than #if.
50857         * libio/libioP.h: Likewise.
50858         * stdio-common/vfprintf.c: Likewise.
50860         * sysdeps/generic/ldsodefs.h: Check whether
50861         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
50862         than #if.
50864         * nptl/sysdeps/pthread/pthread.h: Check
50865         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
50866         its value.
50868 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50870         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
50871         setting O_APPEND.
50872         * libio/tst-ftell-active-handler.c (do_append_test): Add a
50873         test case.
50875         [BZ #16680]
50876         * libio/fileops.c (_IO_file_open): Seek to end of file but
50877         don't cache the offset.
50878         (get_file_offset): Remove function.
50879         (do_ftell): Use cached offset when available.
50880         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
50881         don't cache the offset.
50882         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
50883         case.
50884         (do_one_test): Call it.
50885         (do_ftell_test): Fix up expected old offset for a+ mode.
50886         * libio/wfileops.c (do_ftell_wide): Used cached offset when
50887         available.
50889         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
50890         up test status with function return status.
50891         (do_write_test): Likewise.
50892         (do_append_test): Likewise.
50894         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
50895         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
50896         Remove.
50898 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50900         * math/gen-libm-test.pl (parse_args): Handle results specified for
50901         each rounding mode separately.
50902         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
50903         tests and results from lrint_tonearest_test_data,
50904         lrint_towardzero_test_data, lrint_downward_test_data and
50905         lrint_upward_test_data.
50906         (lrint_test): Use ALL_RM_TEST.
50907         (lrint_tonearest_test_data): Remove.
50908         (lrint_test_tonearest): Likewise.
50909         (lrint_towardzero_test_data): Likewise.
50910         (lrint_test_towardzero): Likewise.
50911         (lrint_downward_test_data): Likewise.
50912         (lrint_test_downward): Likewise.
50913         (lrint_upward_test_data): Likewise.
50914         (lrint_test_upward): Likewise.
50915         (llrint_test_data): Merge in per-rounding-mode tests and results
50916         from llrint_tonearest_test_data, llrint_towardzero_test_data,
50917         llrint_downward_test_data and llrint_upward_test_data.
50918         (llrint_test): Use ALL_RM_TEST.
50919         (llrint_tonearest_test_data): Remove.
50920         (llrint_test_tonearest): Likewise.
50921         (llrint_towardzero_test_data): Likewise.
50922         (llrint_test_towardzero): Likewise.
50923         (llrint_downward_test_data): Likewise.
50924         (llrint_test_downward): Likewise.
50925         (llrint_upward_test_data): Likewise.
50926         (llrint_test_upward): Likewise.
50927         (rint_test_data): Merge in per-rounding-mode tests and results
50928         from rint_tonearest_test_data, rint_towardzero_test_data,
50929         rint_downward_test_data and rint_upward_test_data.  Add
50930         per-rounding-mode results for tests not in those arrays.
50931         (rint_test): Use ALL_RM_TEST.
50932         (rint_tonearest_test_data): Remove.
50933         (rint_test_tonearest): Likewise.
50934         (rint_towardzero_test_data): Likewise.
50935         (rint_test_towardzero): Likewise.
50936         (rint_downward_test_data): Likewise.
50937         (rint_test_downward): Likewise.
50938         (rint_upward_test_data): Likewise.
50939         (rint_test_upward): Likewise.
50940         (main): Don't call removed functions.
50942 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50944         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
50945         "Compiled on ..." crapola.  It is anti-useful.
50947 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
50949         * scripts/evaluate-test.sh: Handle fourth argument to determine
50950         whether test run should stop on failure.
50951         * Makeconfig (stop-on-test-failure): New variable.
50952         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
50953         $(stop-on-test-failure).
50954         * Makefile (tests): Give a summary of results from testing and
50955         exit with failure status if they include an ERROR or FAIL.
50956         (xtests): Likewise.
50957         * manual/install.texi (Configuring and compiling): Mention
50958         stop-on-test-failure=y.
50959         * INSTALL: Regenerated.
50961 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50963         * scripts/versionlist.awk: New file.
50964         * Makerules [$(build-shared) = yes]
50965         (postclean-generated): Add Versions.def, not Versions.def.v and
50966         Versions.def.v.i.
50967         ($(common-objpfx)Versions.def.v.i): Target removed.
50968         ($(common-objpfx)Versions.def): New target.
50969         ($(common-objpfx)Versions.all): Depend on that rather that
50970         $(common-objpfx)Versions.def.v.
50971         * Versions.def: File removed.
50973         * Makeconfig (+gccwarn): Add -Wundef.
50974         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
50975         a dl-sysdep.h breaking its contract.
50976         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
50977         * include/stackinfo.h: New file.
50978         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
50979         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
50980         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
50981         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
50982         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
50983         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
50984         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50985         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50986         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50987         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50988         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50989         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
50990         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50991         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50992         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50994 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50996         [BZ #16707]
50997         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
50998         implementation.
50999         * math/libm-test.inc (round_test_data): Add more tests.
51001         [BZ #16706]
51002         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51003         implementation.
51004         * math/libm-test.inc (nearbyint_test_data): Add more tests.
51006         [BZ #16701]
51007         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51008         implementation.
51009         * math/libm-test.inc (ceil_test_data): Add more tests.
51011         * math/libm-test.inc (trunc_test_data): Add more tests related to
51012         BZ#16414.
51014 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51016         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51017         with #if rather than #ifdef.
51018         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51020 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
51022         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51023         first.  Disable AVX-512 GCC support if assembler doesn't support
51024         it.
51025         * sysdeps/x86_64/configure: Regenerated.
51027 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
51029         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51030         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51031         (__old_pthread_attr_setstack): Likewise.
51032         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51033         [!_STACK_GROWS_DOWN]: Likewise.
51035 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
51037         * config.make.in (have-bash2): Delete.
51038         * configure.ac (libc_cv_have_bash2): Delete.
51039         * configure: Regenerate.
51040         * elf/Makefile (common-ldd-rewrite): Rename to ...
51041         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
51042         (sh-ldd-rewrite): Delete.
51043         (bash-ldd-rewrite): Delete.
51044         (have-bash2): Delete checks.
51045         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51046         ldd-rewrite.
51048         * config.make.in (have-ksh): Delete.
51049         (KSH): Delete.
51050         * configure.ac (libc_cv_have_ksh): Delete.
51051         * configure: Regenerate.
51053         * elf/Makefile: Delete $(have-ksh) check.
51054         ($(objpfx)sotruss): Change KSH to BASH.
51055         * elf/sotruss.ksh: Rename to ...
51056         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
51057         function style to match POSIX.  Drop ksh vim mode setting.
51059         * manual/time.texi (Specifying the Time Zone with TZ): Change
51060         Tuesday to Thursday.
51062         * debug/tst-longjmp_chk2.c: Update header comment.
51063         (stackoverflow_handler): Add comment.  Call assert on pass value.
51065 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51067         [BZ #16194]
51068         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51069         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51070         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51071         (La_x86_64_vector): Add zmm.
51072         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51073         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51074         ($(objpfx)tst-audit10): New target.
51075         ($(objpfx)tst-audit10.out): Likewise.
51076         (tst-audit10-ENV): New.
51077         (AVX512-CFLAGS): Likewise.
51078         (CFLAGS-tst-audit10.c): Likewise.
51079         (CFLAGS-tst-auditmod10a.c): Likewise.
51080         (CFLAGS-tst-auditmod10b.c): Likewise.
51081         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51082         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51083         * sysdeps/x86_64/configure: Regenerated.
51084         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51085         AVX-512 zmm register support.
51086         (_dl_x86_64_save_sse): Likewise.
51087         (_dl_x86_64_restore_sse): Likewise.
51088         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51089         size vector registers.
51090         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51091         (ZMM_SIZE): Likewise.
51092         * sysdeps/x86_64/tst-audit10.c: New file.
51093         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51094         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51096 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51098         * configure.ac (HAVE_EHDR_START): New check.
51099         * configure: Regenerated.
51100         * config.h.in (HAVE_EHDR_START): New #undef.
51101         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51102         assuming the lowest-addressed segment maps the start of the file.
51104 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51106         * INSTALL: Regenerated.
51108 2014-03-13  Will Newton  <will.newton@linaro.org>
51110         * manual/setjmp.texi (System V contexts): Improve
51111         clarity and grammar of documentation.
51113 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51115         [BZ #16381]
51116         * elf/Makefile (tests): Add tst-pie2.
51117         (tests-pie): Add tst-pie2.
51118         * elf/tst-pie2.c: New file.
51119         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51120         for ET_EXEC.
51121         * elf/rtld.c (map_doit): Load executable as lt_executable.
51122         (dl_main): Likewise.
51124 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51126         [BZ #16642]
51127         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51128         (__ASSUME_PSELECT): Undefine.
51130 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51132         [BZ #16689]
51133         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51134         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51135         static build.
51136         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51137         selector for static builds.
51139 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51141         [BZ #16695]
51142         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51143         key in the buffer.
51145 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51147         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51148         IFUNC selector for static builds.
51150 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51152         * sysdeps/mips/math_private.h [__mips_hard_float]
51153         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51154         libc_feresetround_mips_ctx.
51155         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51156         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51157         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51159         [BZ #16677]
51160         * math/s_nextafter.c (__nextafter): Do not return value from
51161         overflowing computation.
51162         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51163         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51164         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51165         Likewise.
51166         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51167         Likewise.
51168         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51169         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51171 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51173         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51174         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51175         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51176         the new mov targetting sp.
51178 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51180         [BZ #16683]
51181         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51182         Define it for static builds as well.
51183         (NO_BZERO_IMPL): Likewise.
51185 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51187         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51188         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51189         multiarch strspn for PPC64.
51190         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51191         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51193         (__libc_ifunc_impl_list): Likewise.
51194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51195         multiarch optimizations
51196         * string/strspn.c (strspn): Using macro to redefine symbol name.
51198 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51199             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51201         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51202         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51203         multiarch strncat for PPC64.
51204         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51205         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51207         (__libc_ifunc_impl_list): Likewise.
51208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51209         multiarch optimizations
51211 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51213         [BZ #16639]
51214         * nscd/nscd.service: Make service type forking.
51216 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51218         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51219         sign in non default rounding modes.
51220         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51222 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
51224         * math/libm-test.inc (ALL_RM_TEST): New macro.
51225         (ceil_test): Use ALL_RM_TEST.
51226         (cimag_test): Likewise.
51227         (conj_test): Likewise.
51228         (copysign_test): Likewise.
51229         (cproj_test): Likewise.
51230         (creal_test): Likewise.
51231         (fabs_test): Likewise.
51232         (floor_test): Likewise.
51233         (fmax_test): Likewise.
51234         (fmin_test): Likewise.
51235         (fmod_test): Likewise.
51236         (fpclassify_test): Likewise.
51237         (frexp_test): Likewise.
51238         (ilogb_test): Likewise.
51239         (isfinite_test): Likewise.
51240         (finite_test): Likewise.
51241         (isgreater_test): Likewise.
51242         (isgreaterequal_test): Likewise.
51243         (isinf_test): Likewise.
51244         (isless_test): Likewise.
51245         (islessequal_test): Likewise.
51246         (islessgreater_test): Likewise.
51247         (isnan_test): Likewise.
51248         (isnormal_test): Likewise.
51249         (issignaling_test): Likewise.
51250         (isunordered_test): Likewise.
51251         (logb_test): Likewise.
51252         (logb_downward_test_data): Remove.
51253         (logb_test_downward): Likewise.
51254         (lround_test): Use ALL_RM_TEST.
51255         (llround_test): Likewise.
51256         (modf_test): Likewise.
51257         (nexttoward_test): Likewise.
51258         (remainder_test): Likewise.
51259         (drem_test): Likewise.
51260         (remainder_tonearest_test_data): Likewise.
51261         (remainder_test_tonearest): Likewise.
51262         (drem_test_tonearest): Likewise.
51263         (remainder_towardzero_test_data): Likewise.
51264         (remainder_test_towardzero): Likewise.
51265         (drem_test_towardzero): Likewise.
51266         (remainder_downward_test_data): Likewise.
51267         (remainder_test_downward): Likewise.
51268         (drem_test_downward): Likewise.
51269         (remainder_upward_test_data): Likewise.
51270         (remainder_test_upward): Likewise.
51271         (drem_test_upward): Likewise.
51272         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
51273         (round_test): Use ALL_RM_TEST.
51274         (signbit_test): Likewise.
51275         (trunc_test): Likewise.
51276         (significand_test): Likewise.
51277         (main): Don't call removed functions.
51279 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51281         [BZ #16674]
51282         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51283         || __USE_XOPEN2K8].
51284         (ILL_ILLOPN): Likewise.
51285         (ILL_ILLADR): Likewise.
51286         (ILL_ILLTRP): Likewise.
51287         (ILL_PRVOPC): Likewise.
51288         (ILL_PRVREG): Likewise.
51289         (ILL_COPROC): Likewise.
51290         (ILL_BADSTK): Likewise.
51291         (FPE_INTDIV): Likewise.
51292         (FPE_INTOVF): Likewise.
51293         (FPE_FLTDIV): Likewise.
51294         (FPE_FLTOVF): Likewise.
51295         (FPE_FLTUND): Likewise.
51296         (FPE_FLTRES): Likewise.
51297         (FPE_FLTINV): Likewise.
51298         (FPE_FLTSUB): Likewise.
51299         (SEGV_MAPERR): Likewise.
51300         (SEGV_ACCERR): Likewise.
51301         (BUS_ADRALN): Likewise.
51302         (BUS_ADRERR): Likewise.
51303         (BUS_OBJERR): Likewise.
51304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51305         (TRAP_TRACE): Likewise.
51306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51307         __USE_XOPEN2K8].
51308         (CLD_KILLED): Likewise.
51309         (CLD_DUMPED): Likewise.
51310         (CLD_TRAPPED): Likewise.
51311         (CLD_STOPPED): Likewise.
51312         (CLD_CONTINUED): Likewise.
51313         (POLL_IN): Likewise.
51314         (POLL_OUT): Likewise.
51315         (POLL_MSG): Likewise.
51316         (POLL_ERR): Likewise.
51317         (POLL_PRI): Likewise.
51318         (POLL_HUP): Likewise.
51319         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
51320         Likewise.
51321         (ILL_ILLOPN): Likewise.
51322         (ILL_ILLADR): Likewise.
51323         (ILL_ILLTRP): Likewise.
51324         (ILL_PRVOPC): Likewise.
51325         (ILL_PRVREG): Likewise.
51326         (ILL_COPROC): Likewise.
51327         (ILL_BADSTK): Likewise.
51328         (FPE_INTDIV): Likewise.
51329         (FPE_INTOVF): Likewise.
51330         (FPE_FLTDIV): Likewise.
51331         (FPE_FLTOVF): Likewise.
51332         (FPE_FLTUND): Likewise.
51333         (FPE_FLTRES): Likewise.
51334         (FPE_FLTINV): Likewise.
51335         (FPE_FLTSUB): Likewise.
51336         (SEGV_MAPERR): Likewise.
51337         (SEGV_ACCERR): Likewise.
51338         (BUS_ADRALN): Likewise.
51339         (BUS_ADRERR): Likewise.
51340         (BUS_OBJERR): Likewise.
51341         (BUS_MCEERR_AR): Likewise.
51342         (BUS_MCEERR_AO): Likewise.
51343         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51344         (TRAP_TRACE): Likewise.
51345         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51346         __USE_XOPEN2K8].
51347         (CLD_KILLED): Likewise.
51348         (CLD_DUMPED): Likewise.
51349         (CLD_TRAPPED): Likewise.
51350         (CLD_STOPPED): Likewise.
51351         (CLD_CONTINUED): Likewise.
51352         (POLL_IN): Likewise.
51353         (POLL_OUT): Likewise.
51354         (POLL_MSG): Likewise.
51355         (POLL_ERR): Likewise.
51356         (POLL_PRI): Likewise.
51357         (POLL_HUP): Likewise.
51358         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
51359         (ILL_ILLOPN): Likewise.
51360         (ILL_ILLADR): Likewise.
51361         (ILL_ILLTRP): Likewise.
51362         (ILL_PRVOPC): Likewise.
51363         (ILL_PRVREG): Likewise.
51364         (ILL_COPROC): Likewise.
51365         (ILL_BADSTK): Likewise.
51366         (FPE_INTDIV): Likewise.
51367         (FPE_INTOVF): Likewise.
51368         (FPE_FLTDIV): Likewise.
51369         (FPE_FLTOVF): Likewise.
51370         (FPE_FLTUND): Likewise.
51371         (FPE_FLTRES): Likewise.
51372         (FPE_FLTINV): Likewise.
51373         (FPE_FLTSUB): Likewise.
51374         (SEGV_MAPERR): Likewise.
51375         (SEGV_ACCERR): Likewise.
51376         (BUS_ADRALN): Likewise.
51377         (BUS_ADRERR): Likewise.
51378         (BUS_OBJERR): Likewise.
51379         (BUS_MCEERR_AR): Likewise.
51380         (BUS_MCEERR_AO): Likewise.
51381         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51382         (TRAP_TRACE): Likewise.
51383         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51384         __USE_XOPEN2K8].
51385         (CLD_KILLED): Likewise.
51386         (CLD_DUMPED): Likewise.
51387         (CLD_TRAPPED): Likewise.
51388         (CLD_STOPPED): Likewise.
51389         (CLD_CONTINUED): Likewise.
51390         (POLL_IN): Likewise.
51391         (POLL_OUT): Likewise.
51392         (POLL_MSG): Likewise.
51393         (POLL_ERR): Likewise.
51394         (POLL_PRI): Likewise.
51395         (POLL_HUP): Likewise.
51396         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
51397         Likewise.
51398         (ILL_ILLOPN): Likewise.
51399         (ILL_ILLADR): Likewise.
51400         (ILL_ILLTRP): Likewise.
51401         (ILL_PRVOPC): Likewise.
51402         (ILL_PRVREG): Likewise.
51403         (ILL_COPROC): Likewise.
51404         (ILL_BADSTK): Likewise.
51405         (ILL_BADIADDR): Likewise.
51406         (ILL_BREAK): Likewise.
51407         (FPE_INTDIV): Likewise.
51408         (FPE_INTOVF): Likewise.
51409         (FPE_FLTDIV): Likewise.
51410         (FPE_FLTOVF): Likewise.
51411         (FPE_FLTUND): Likewise.
51412         (FPE_FLTRES): Likewise.
51413         (FPE_FLTINV): Likewise.
51414         (FPE_FLTSUB): Likewise.
51415         (FPE_DECOVF): Likewise.
51416         (FPE_DECDIV): Likewise.
51417         (FPE_DECERR): Likewise.
51418         (FPE_INVASC): Likewise.
51419         (FPE_INVDEC): Likewise.
51420         (SEGV_MAPERR): Likewise.
51421         (SEGV_ACCERR): Likewise.
51422         (SEGV_PSTKOVF): Likewise.
51423         (BUS_ADRALN): Likewise.
51424         (BUS_ADRERR): Likewise.
51425         (BUS_OBJERR): Likewise.
51426         (BUS_MCEERR_AR): Likewise.
51427         (BUS_MCEERR_AO): Likewise.
51428         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51429         (TRAP_TRACE): Likewise.
51430         (TRAP_BRANCH): Likewise.
51431         (TRAP_HWBKPT): Likewise.
51432         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51433         __USE_XOPEN2K8].
51434         (CLD_KILLED): Likewise.
51435         (CLD_DUMPED): Likewise.
51436         (CLD_TRAPPED): Likewise.
51437         (CLD_STOPPED): Likewise.
51438         (CLD_CONTINUED): Likewise.
51439         (POLL_IN): Likewise.
51440         (POLL_OUT): Likewise.
51441         (POLL_MSG): Likewise.
51442         (POLL_ERR): Likewise.
51443         (POLL_PRI): Likewise.
51444         (POLL_HUP): Likewise.
51445         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
51446         (ILL_ILLOPN): Likewise.
51447         (ILL_ILLADR): Likewise.
51448         (ILL_ILLTRP): Likewise.
51449         (ILL_PRVOPC): Likewise.
51450         (ILL_PRVREG): Likewise.
51451         (ILL_COPROC): Likewise.
51452         (ILL_BADSTK): Likewise.
51453         (FPE_INTDIV): Likewise.
51454         (FPE_INTOVF): Likewise.
51455         (FPE_FLTDIV): Likewise.
51456         (FPE_FLTOVF): Likewise.
51457         (FPE_FLTUND): Likewise.
51458         (FPE_FLTRES): Likewise.
51459         (FPE_FLTINV): Likewise.
51460         (FPE_FLTSUB): Likewise.
51461         (SEGV_MAPERR): Likewise.
51462         (SEGV_ACCERR): Likewise.
51463         (BUS_ADRALN): Likewise.
51464         (BUS_ADRERR): Likewise.
51465         (BUS_OBJERR): Likewise.
51466         (BUS_MCEERR_AR): Likewise.
51467         (BUS_MCEERR_AO): Likewise.
51468         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51469         (TRAP_TRACE): Likewise.
51470         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51471         __USE_XOPEN2K8].
51472         (CLD_KILLED): Likewise.
51473         (CLD_DUMPED): Likewise.
51474         (CLD_TRAPPED): Likewise.
51475         (CLD_STOPPED): Likewise.
51476         (CLD_CONTINUED): Likewise.
51477         (POLL_IN): Likewise.
51478         (POLL_OUT): Likewise.
51479         (POLL_MSG): Likewise.
51480         (POLL_ERR): Likewise.
51481         (POLL_PRI): Likewise.
51482         (POLL_HUP): Likewise.
51483         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
51484         (ILL_ILLOPN): Likewise.
51485         (ILL_ILLADR): Likewise.
51486         (ILL_ILLTRP): Likewise.
51487         (ILL_PRVOPC): Likewise.
51488         (ILL_PRVREG): Likewise.
51489         (ILL_COPROC): Likewise.
51490         (ILL_BADSTK): Likewise.
51491         (FPE_INTDIV): Likewise.
51492         (FPE_INTOVF): Likewise.
51493         (FPE_FLTDIV): Likewise.
51494         (FPE_FLTOVF): Likewise.
51495         (FPE_FLTUND): Likewise.
51496         (FPE_FLTRES): Likewise.
51497         (FPE_FLTINV): Likewise.
51498         (FPE_FLTSUB): Likewise.
51499         (SEGV_MAPERR): Likewise.
51500         (SEGV_ACCERR): Likewise.
51501         (BUS_ADRALN): Likewise.
51502         (BUS_ADRERR): Likewise.
51503         (BUS_OBJERR): Likewise.
51504         (BUS_MCEERR_AR): Likewise.
51505         (BUS_MCEERR_AO): Likewise.
51506         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51507         (TRAP_TRACE): Likewise.
51508         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51509         __USE_XOPEN2K8].
51510         (CLD_KILLED): Likewise.
51511         (CLD_DUMPED): Likewise.
51512         (CLD_TRAPPED): Likewise.
51513         (CLD_STOPPED): Likewise.
51514         (CLD_CONTINUED): Likewise.
51515         (POLL_IN): Likewise.
51516         (POLL_OUT): Likewise.
51517         (POLL_MSG): Likewise.
51518         (POLL_ERR): Likewise.
51519         (POLL_PRI): Likewise.
51520         (POLL_HUP): Likewise.
51521         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
51522         (ILL_ILLOPN): Likewise.
51523         (ILL_ILLADR): Likewise.
51524         (ILL_ILLTRP): Likewise.
51525         (ILL_PRVOPC): Likewise.
51526         (ILL_PRVREG): Likewise.
51527         (ILL_COPROC): Likewise.
51528         (ILL_BADSTK): Likewise.
51529         (FPE_INTDIV): Likewise.
51530         (FPE_INTOVF): Likewise.
51531         (FPE_FLTDIV): Likewise.
51532         (FPE_FLTOVF): Likewise.
51533         (FPE_FLTUND): Likewise.
51534         (FPE_FLTRES): Likewise.
51535         (FPE_FLTINV): Likewise.
51536         (FPE_FLTSUB): Likewise.
51537         (SEGV_MAPERR): Likewise.
51538         (SEGV_ACCERR): Likewise.
51539         (BUS_ADRALN): Likewise.
51540         (BUS_ADRERR): Likewise.
51541         (BUS_OBJERR): Likewise.
51542         (BUS_MCEERR_AR): Likewise.
51543         (BUS_MCEERR_AO): Likewise.
51544         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51545         (TRAP_TRACE): Likewise.
51546         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51547         __USE_XOPEN2K8].
51548         (CLD_KILLED): Likewise.
51549         (CLD_DUMPED): Likewise.
51550         (CLD_TRAPPED): Likewise.
51551         (CLD_STOPPED): Likewise.
51552         (CLD_CONTINUED): Likewise.
51553         (POLL_IN): Likewise.
51554         (POLL_OUT): Likewise.
51555         (POLL_MSG): Likewise.
51556         (POLL_ERR): Likewise.
51557         (POLL_PRI): Likewise.
51558         (POLL_HUP): Likewise.
51559         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
51560         (ILL_ILLOPN): Likewise.
51561         (ILL_ILLADR): Likewise.
51562         (ILL_ILLTRP): Likewise.
51563         (ILL_PRVOPC): Likewise.
51564         (ILL_PRVREG): Likewise.
51565         (ILL_COPROC): Likewise.
51566         (ILL_BADSTK): Likewise.
51567         (ILL_DBLFLT): Likewise.
51568         (ILL_HARDWALL): Likewise.
51569         (FPE_INTDIV): Likewise.
51570         (FPE_INTOVF): Likewise.
51571         (FPE_FLTDIV): Likewise.
51572         (FPE_FLTOVF): Likewise.
51573         (FPE_FLTUND): Likewise.
51574         (FPE_FLTRES): Likewise.
51575         (FPE_FLTINV): Likewise.
51576         (FPE_FLTSUB): Likewise.
51577         (SEGV_MAPERR): Likewise.
51578         (SEGV_ACCERR): Likewise.
51579         (BUS_ADRALN): Likewise.
51580         (BUS_ADRERR): Likewise.
51581         (BUS_OBJERR): Likewise.
51582         (BUS_MCEERR_AR): Likewise.
51583         (BUS_MCEERR_AO): Likewise.
51584         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51585         (TRAP_TRACE): Likewise.
51586         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51587         __USE_XOPEN2K8].
51588         (CLD_KILLED): Likewise.
51589         (CLD_DUMPED): Likewise.
51590         (CLD_TRAPPED): Likewise.
51591         (CLD_STOPPED): Likewise.
51592         (CLD_CONTINUED): Likewise.
51593         (POLL_IN): Likewise.
51594         (POLL_OUT): Likewise.
51595         (POLL_MSG): Likewise.
51596         (POLL_ERR): Likewise.
51597         (POLL_PRI): Likewise.
51598         (POLL_HUP): Likewise.
51599         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
51600         (ILL_ILLOPN): Likewise.
51601         (ILL_ILLADR): Likewise.
51602         (ILL_ILLTRP): Likewise.
51603         (ILL_PRVOPC): Likewise.
51604         (ILL_PRVREG): Likewise.
51605         (ILL_COPROC): Likewise.
51606         (ILL_BADSTK): Likewise.
51607         (FPE_INTDIV): Likewise.
51608         (FPE_INTOVF): Likewise.
51609         (FPE_FLTDIV): Likewise.
51610         (FPE_FLTOVF): Likewise.
51611         (FPE_FLTUND): Likewise.
51612         (FPE_FLTRES): Likewise.
51613         (FPE_FLTINV): Likewise.
51614         (FPE_FLTSUB): Likewise.
51615         (SEGV_MAPERR): Likewise.
51616         (SEGV_ACCERR): Likewise.
51617         (BUS_ADRALN): Likewise.
51618         (BUS_ADRERR): Likewise.
51619         (BUS_OBJERR): Likewise.
51620         (BUS_MCEERR_AR): Likewise.
51621         (BUS_MCEERR_AO): Likewise.
51622         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51623         (TRAP_TRACE): Likewise.
51624         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51625         __USE_XOPEN2K8].
51626         (CLD_KILLED): Likewise.
51627         (CLD_DUMPED): Likewise.
51628         (CLD_TRAPPED): Likewise.
51629         (CLD_STOPPED): Likewise.
51630         (CLD_CONTINUED): Likewise.
51631         (POLL_IN): Likewise.
51632         (POLL_OUT): Likewise.
51633         (POLL_MSG): Likewise.
51634         (POLL_ERR): Likewise.
51635         (POLL_PRI): Likewise.
51636         (POLL_HUP): Likewise.
51637         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51638         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51640         [BZ #16670]
51641         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51642         before #include of <time.h>.
51643         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51644         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51645         (test-xfail-UNIX98/sched.h/conform): Likewise.
51647 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51649         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51650         error absence of trapping exception support.
51651         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51653 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51655         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51656         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51657         * timezone/Makefile (testdata): Move definition above include of
51658         Rules.
51659         (test-zones): New variable.
51660         (tests-special): Add zone files.
51661         (build-testdata): Use $(evaluate-test).
51663         * elf/Makefile (tests-special): Rename tests to end with .out.
51664         ($(objpfx)noload-mem): Likewise.
51665         ($(objpfx)tst-leaks1-mem): Likewise.
51666         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51667         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51668         $(objpfx)test-iconvconfig.out.
51669         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51670         set -e inside subshell and redirect output to file.
51671         * iconvdata/Makefile (generated): Rename tests to end with .out.
51672         Correct type.
51673         (tests-special): Rename tests to end with .out.
51674         ($(objpfx)mtrace-tst-loading): Likewise.
51675         * intl/Makefile (generated): Likewise.
51676         (tests-special): Likewise.
51677         ($(objpfx)mtrace-tst-gettext): Likewise.
51678         * misc/Makefile (generated): Likewise.
51679         (tests-special): Likewise.
51680         ($(objpfx)tst-error1-mem): Likewise.
51681         * nptl/Makefile (tests-special): Likewise.
51682         ($(objpfx)tst-stack3-mem): Likewise.
51683         (generated): Likewise.
51684         * posix/Makefile (generated): Likewise.
51685         (tests-special): Likewise.
51686         (xtests-special): Likewise.
51687         ($(objpfx)tst-fnmatch-mem): Likewise.
51688         ($(objpfx)bug-regex2-mem): Likewise.
51689         ($(objpfx)bug-regex14-mem): Likewise.
51690         ($(objpfx)bug-regex21-mem): Likewise.
51691         ($(objpfx)bug-regex31-mem): Likewise.
51692         ($(objpfx)tst-vfork3-mem): Likewise.
51693         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51694         ($(objpfx)tst-pcre-mem): Likewise.
51695         ($(objpfx)tst-boost-mem): Likewise.
51696         ($(objpfx)bug-ga2-mem): Likewise.
51697         ($(objpfx)bug-glob2-mem): Likewise.
51698         * resolv/Makefile (generate): Likewise.
51699         (tests-special): Likewise.
51700         (xtests-special): Likewise.
51701         (generated): Likewise.
51702         ($(objpfx)mtrace-tst-leaks): Likewise.
51703         ($(objpfx)mtrace-tst-leaks2): Likewise.
51705         * scripts/merge-test-results.sh: New file.
51706         * Makefile (tests-special-notdir): New variable.
51707         (tests): Run merge-test-results.sh.
51708         (xtests): Likewise.
51709         * Rules (tests-special-notdir): New variable.
51710         (xtests-special-notdir): Likewise.
51711         (tests): Run merge-test-results.sh
51712         (xtests): Likewise.
51714         * Makeconfig (test-xfail-name): New variable.
51715         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
51716         compute variable name for expected failures.
51717         * conform/Makefile (conformtest-headers-data): New variable.
51718         (conformtest-standards): Likewise.
51719         (conformtest-headers-ISO): Likewise.
51720         (conformtest-headers-ISO99): Likewise.
51721         (conformtest-headers-ISO11): Likewise.
51722         (conformtest-headers-POSIX): Likewise.
51723         (conformtest-headers-XPG3): Likewise.
51724         (conformtest-headers-XPG4): Likewise.
51725         (conformtest-headers-UNIX98): Likewise.
51726         (conformtest-headers-XOPEN2K): Likewise.
51727         (conformtest-headers-POSIX2008): Likewise.
51728         (conformtest-headers-XOPEN2K8): Likewise.
51729         (conformtest-header-list-base): Likewise.
51730         (conformtest-header-list-tests): Likewise.
51731         (conformtest-header-base): Likewise.
51732         (conformtest-header-tests): Likewise.
51733         (tests-special): Add $(conformtest-header-list-tests).  If
51734         [$(fast-check) && !$(cross-compiling)], add
51735         $(conformtest-header-tests) instead of
51736         $(objpfx)run-conformtest.out.
51737         (generated): Add $(conformtest-header-list-base).  If
51738         [$(fast-check) && !$(cross-compiling)], add
51739         $(conformtest-header-base).  Remove previous setting.
51740         ($(conformtest-header-list-tests)): New target.
51741         (test-xfail-run-conformtest): Remove variable.
51742         ($(objpfx)run-conformtest.out): Remove target.
51743         (test-xfail-ISO11/complex.h/conform): New variable.
51744         (test-xfail-ISO11/stdalign.h/conform): Likewise.
51745         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
51746         (test-xfail-XPG3/varargs.h/conform): Likewise.
51747         (test-xfail-XPG4/varargs.h/conform): Likewise.
51748         (test-xfail-UNIX98/varargs.h/conform): Likewise.
51749         (test-xfail-XPG4/ndbm.h/conform): Likewise.
51750         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
51751         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
51752         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51753         (test-xfail-XPG3/fcntl.h/conform): Likewise.
51754         (test-xfail-XPG3/ftw.h/conform): Likewise.
51755         (test-xfail-XPG3/grp.h/conform): Likewise.
51756         (test-xfail-XPG3/langinfo.h/conform): Likewise.
51757         (test-xfail-XPG3/limits.h/conform): Likewise.
51758         (test-xfail-XPG3/pwd.h/conform): Likewise.
51759         (test-xfail-XPG3/search.h/conform): Likewise.
51760         (test-xfail-XPG3/signal.h/conform): Likewise.
51761         (test-xfail-XPG3/stdio.h/conform): Likewise.
51762         (test-xfail-XPG3/stdlib.h/conform): Likewise.
51763         (test-xfail-XPG3/string.h/conform): Likewise.
51764         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
51765         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
51766         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
51767         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
51768         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
51769         (test-xfail-XPG3/sys/types.h/conform): Likewise.
51770         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
51771         (test-xfail-XPG3/termios.h/conform): Likewise.
51772         (test-xfail-XPG3/time.h/conform): Likewise.
51773         (test-xfail-XPG3/unistd.h/conform): Likewise.
51774         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
51775         (test-xfail-XPG4/fcntl.h/conform): Likewise.
51776         (test-xfail-XPG4/langinfo.h/conform): Likewise.
51777         (test-xfail-XPG4/netdb.h/conform): Likewise.
51778         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
51779         (test-xfail-XPG4/signal.h/conform): Likewise.
51780         (test-xfail-XPG4/stdio.h/conform): Likewise.
51781         (test-xfail-XPG4/stdlib.h/conform): Likewise.
51782         (test-xfail-XPG4/stropts.h/conform): Likewise.
51783         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
51784         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
51785         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
51786         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
51787         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
51788         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
51789         (test-xfail-XPG4/sys/time.h/conform): Likewise.
51790         (test-xfail-XPG4/sys/types.h/conform): Likewise.
51791         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
51792         (test-xfail-XPG4/termios.h/conform): Likewise.
51793         (test-xfail-XPG4/ucontext.h/conform): Likewise.
51794         (test-xfail-XPG4/unistd.h/conform): Likewise.
51795         (test-xfail-XPG4/utmpx.h/conform): Likewise.
51796         (test-xfail-POSIX/sched.h/conform): Likewise.
51797         (test-xfail-POSIX/signal.h/conform): Likewise.
51798         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51799         (test-xfail-POSIX/tar.h/conform): Likewise.
51800         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
51801         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
51802         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
51803         (test-xfail-UNIX98/netdb.h/conform): Likewise.
51804         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
51805         (test-xfail-UNIX98/sched.h/conform): Likewise.
51806         (test-xfail-UNIX98/signal.h/conform): Likewise.
51807         (test-xfail-UNIX98/stdio.h/conform): Likewise.
51808         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
51809         (test-xfail-UNIX98/stropts.h/conform): Likewise.
51810         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
51811         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
51812         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
51813         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
51814         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
51815         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
51816         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
51817         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
51818         (test-xfail-UNIX98/unistd.h/conform): Likewise.
51819         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
51820         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
51821         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
51822         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
51823         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
51824         (test-xfail-XOPEN2K/math.h/conform): Likewise.
51825         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
51826         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
51827         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
51828         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
51829         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
51830         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
51831         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
51832         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51833         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
51834         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
51835         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
51836         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
51837         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
51838         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
51839         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
51840         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
51841         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
51842         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
51843         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
51844         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
51845         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
51846         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
51847         (test-xfail-POSIX2008/signal.h/conform): Likewise.
51848         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
51849         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
51850         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
51851         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
51852         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
51853         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
51854         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
51855         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
51856         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
51857         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
51858         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
51859         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
51860         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
51861         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
51862         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
51863         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
51864         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
51865         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
51866         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
51867         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
51868         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
51869         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
51870         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
51871         (conformtest-cc-flags): Likewise.
51872         ($(conformtest-header-tests): New target.
51873         * conform/check-header-lists.sh: New file.
51874         * conform/run-conformtest.sh: Remove.
51876         * conform/conformtest.pl: Allow ' and \ in values given for
51877         constants.
51878         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
51879         inclusion.
51880         [POSIX] (sys/types.h): Likewise.
51881         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
51882         inclusion.
51883         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
51884         inclusion.
51885         * conform/data/signal.h-data (SIGIO): Remove expectation.
51886         [XPG3] (SIGBUS): Do not expect.
51887         [POSIX || XPG3] (SIGPOLL): Likewise.
51888         [POSIX || XPG3] (SIGPROF): Likewise.
51889         [POSIX || XPG3] (SIGSYS): Likewise.
51890         [XPG3] (SIGTRAP): Likewise.
51891         [POSIX || XPG3] (SIGURG): Likewise.
51892         [POSIX || XPG3] (SIGVTALRM): Likewise.
51893         [POSIX || XPG3] (SIGXCPU): Likewise.
51894         [POSIX || XPG3] (SIGXFSZ): Likewise.
51895         [POSIX] (SA_SIGINFO): Expect.
51896         [XPG3] (siginfo_t): Do not expect type or contents.
51897         [POSIX] (si_pid): Do not expect element.
51898         [POSIX] (si_uid): Likewise.
51899         [POSIX] (si_addr): Likewise.
51900         [POSIX] (si_status): Likewise.
51901         [POSIX] (si_band): Likewise.
51902         [XPG4] (si_value): Likewise.
51903         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
51904         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
51905         [POSIX || XPG3] (ILL_ILLADR): Likewise.
51906         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
51907         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
51908         [POSIX || XPG3] (ILL_PRVREG): Likewise.
51909         [POSIX || XPG3] (ILL_COPROC): Likewise.
51910         [POSIX || XPG3] (ILL_BADSTK): Likewise.
51911         [POSIX || XPG3] (FPE_INTDIV): Likewise.
51912         [POSIX || XPG3] (FPE_INTOVF): Likewise.
51913         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
51914         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
51915         [POSIX || XPG3] (FPE_FLTUND): Likewise.
51916         [POSIX || XPG3] (FPE_FLTRES): Likewise.
51917         [POSIX || XPG3] (FPE_FLTINV): Likewise.
51918         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
51919         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
51920         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
51921         [POSIX || XPG3] (BUS_ADRALN): Likewise.
51922         [POSIX || XPG3] (BUS_ADRERR): Likewise.
51923         [POSIX || XPG3] (BUS_OBJERR): Likewise.
51924         [POSIX || XPG3] (CLD_EXITED): Likewise.
51925         [POSIX || XPG3] (CLD_KILLED): Likewise.
51926         [POSIX || XPG3] (CLD_DUMPED): Likewise.
51927         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
51928         [POSIX || XPG3] (CLD_STOPPED): Likewise.
51929         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
51930         [POSIX || XPG3] (POLL_IN): Likewise.
51931         [POSIX || XPG3] (POLL_OUT): Likewise.
51932         [POSIX || XPG3] (POLL_MSG): Likewise.
51933         [POSIX || XPG3] (POLL_ERR): Likewise.
51934         [POSIX || XPG3] (POLL_PRI): Likewise.
51935         [POSIX || XPG3] (POLL_HUP): Likewise.
51936         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
51937         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
51938         (SIG*): Do not allow.
51939         [XPG3] (si_*): Likewise.
51940         [XPG3] (SI_*): Likewise.
51941         [XPG3 || XPG4] (sigev_*): Likewise.
51942         [XPG3 || XPG4] (SIGEV_*): Likewise.
51943         [XPG3 || XPG4] (sival_*): Likewise.
51944         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
51945         [POSIX || XPG3] (BUS_*): Likewise.
51946         [POSIX || XPG3] (CLD_*): Likewise.
51947         [POSIX || XPG3] (FPE_*): Likewise.
51948         [POSIX || XPG3] (ILL_*): Likewise.
51949         [POSIX || XPG3] (POLL_*): Likewise.
51950         [POSIX || XPG3] (SEGV_*): Likewise.
51951         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
51952         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
51953         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
51954         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
51955         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
51956         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
51957         Specify type and value.
51958         (TVERSLEN): Likewise.
51959         (REGTYPE): Likewise.
51960         (AREGTYPE): Likewise.
51961         (LNKTYPE): Likewise.
51962         (SYMTYPE): Likewise.
51963         (CHRTYPE): Likewise.
51964         (BLKTYPE): Likewise.
51965         (DIRTYPE): Likewise.
51966         (FIFOTYPE): Likewise.
51967         (CONTTYPE): Likewise.
51968         (TSUID): Likewise.
51969         (TSGID): Likewise.
51970         (TSVTX): Likewise.
51971         (TUREAD): Likewise.
51972         (TUWRITE): Likewise.
51973         (TUEXEC): Likewise.
51974         (TGREAD): Likewise.
51975         (TGWRITE): Likewise.
51976         (TGEXEC): Likewise.
51977         (TOREAD): Likewise.
51978         (TOWRITE): Likewise.
51979         (TOEXEC): Likewise.
51980         [POSIX] (TSVTX): Expect constant.
51982 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
51984         * Makefile (tests): Change dependencies to ....
51985         (tests-special): ... additions to this variable.
51986         (tests): Depend on $(tests-special).
51987         * Makerules (check-abi-list): New variable.
51988         (check-abi): Depend on $(check-abi-list).
51989         [$(subdir) = elf] (tests-special): Add
51990         $(objpfx)check-abi-libc.out.
51991         [$(build-shared) = yes && subdir] (tests-special): Add
51992         $(check-abi-list).
51993         [$(build-shared) = yes && subdir] (tests): Do not depend on
51994         check-abi.
51995         * Rules (tests): Depend on $(tests-special).
51996         (xtests): Depend on $(xtests-special).
51997         * catgets/Makefile (tests): Change dependencies to ....
51998         (tests-special): ... additions to this variable.
51999         * conform/Makefile (tests): Change dependencies to ....
52000         (tests-special): ... additions to this variable.
52001         * elf/Makefile (tests): Change dependencies to ....
52002         (tests-special): ... additions to this variable.
52003         * grp/Makefile (tests): Change dependencies to ....
52004         (tests-special): ... additions to this variable.
52005         * iconv/Makefile (xtests): Change dependencies to ....
52006         (xtests-special): ... additions to this variable.
52007         * iconvdata/Makefile (tests): Change dependencies to ....
52008         (tests-special): ... additions to this variable.
52009         * intl/Makefile (tests): Change dependencies to ....
52010         (tests-special): ... additions to this variable.  Also add
52011         $(objpfx)tst-gettext.out.
52012         * io/Makefile (tests): Change dependencies to ....
52013         (tests-special): ... additions to this variable.
52014         * libio/Makefile (tests): Change dependencies to ....
52015         (tests-special): ... additions to this variable.
52016         * malloc/Makefile (tests): Change dependencies to ....
52017         (tests-special): ... additions to this variable.
52018         * misc/Makefile (tests): Change dependencies to ....
52019         (tests-special): ... additions to this variable.
52020         * nptl/Makefile (tests): Change dependencies to ....
52021         (tests-special): ... additions to this variable.
52022         * nptl_db/Makefile (tests): Change dependencies to ....
52023         (tests-special): ... additions to this variable.
52024         * posix/Makefile (tests): Change dependencies to ....
52025         (tests-special): ... additions to this variable.
52026         (xtests): Change dependencies to ....
52027         (xtests-special): ... additions to this variable.
52028         * resolv/Makefile (tests): Change dependencies to ....
52029         (tests-special): ... additions to this variable.
52030         (xtests): Change dependencies to ....
52031         (xtests-special): ... additions to this variable.
52032         * stdio-common/Makefile (tests): Change dependencies to ....
52033         (tests-special): ... additions to this variable.
52034         (do-tst-unbputc): Remove target.
52035         (do-tst-printf): Likewise.
52036         * stdlib/Makefile (tests): Change dependencies to ....
52037         (tests-special): ... additions to this variable.
52038         * string/Makefile (tests): Change dependencies to ....
52039         (tests-special): ... additions to this variable.
52040         * sysdeps/x86/Makefile (tests): Change dependencies to ....
52041         (tests-special): ... additions to this variable.
52043         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52044         whole file.
52045         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52046         whole file.
52047         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52048         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52050         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52051         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52052         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52053         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52054         * conform/data/libgen.h-data [XPG3]: Likewise.
52055         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52056         * conform/data/ndbm.h-data [XPG3]: Likewise.
52057         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52058         * conform/data/netdb.h-data [XPG3]: Likewise.
52059         * conform/data/netinet/in.h-data [XPG3]: Likewise.
52060         * conform/data/poll.h-data [XPG3]: Likewise.
52061         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52062         * conform/data/strings.h-data [XPG3]: Likewise.
52063         * conform/data/stropts.h-data [XPG3]: Likewise.
52064         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52065         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52066         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52067         Likewise.
52068         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52069         * conform/data/sys/time.h-data [XPG3]: Likewise.
52070         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52071         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52072         * conform/data/sys/un.h-data [XPG3]: Likewise.
52073         * conform/data/syslog.h-data [XPG3]: Likewise.
52074         * conform/data/ucontext.h-data [XPG3]: Likewise.
52075         * conform/data/utmpx.h-data [XPG3]: Likewise.
52076         * conform/data/varargs.h-data [UNIX98]: Enable file.
52078         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52080         * math/libm-test.inc (struct test_f_f_data): Move expected results
52081         into structure for each rounding mode.
52082         (struct test_ff_f_data): Likewise.
52083         (struct test_ff_f_data_nexttoward): Likewise.
52084         (struct test_fi_f_data): Likewise.
52085         (struct test_fl_f_data): Likewise.
52086         (struct test_if_f_data): Likewise.
52087         (struct test_fff_f_data): Likewise.
52088         (struct test_c_f_data): Likewise.
52089         (struct test_f_f1_data): Likewise.
52090         (struct test_fF_f1_data): Likewise.
52091         (struct test_ffI_f1_data): Likewise.
52092         (struct test_c_c_data): Likewise.
52093         (struct test_cc_c_data): Likewise.
52094         (struct test_f_i_data): Likewise.
52095         (struct test_ff_i_data): Likewise.
52096         (struct test_f_l_data): Likewise.
52097         (struct test_f_L_data): Likewise.
52098         (struct test_fFF_11_data): Likewise.
52099         (RM_): New macro.
52100         (RM_FE_DOWNWARD): Likewise.
52101         (RM_FE_TONEAREST): Likewise.
52102         (RM_FE_TOWARDZERO): Likewise.
52103         (RM_FE_UPWARD): Likewise.
52104         (RUN_TEST_LOOP_f_f): Update references to expected results.
52105         (RUN_TEST_LOOP_2_f): Likewise.
52106         (RUN_TEST_LOOP_fff_f): Likewise.
52107         (RUN_TEST_LOOP_c_f): Likewise.
52108         (RUN_TEST_LOOP_f_f1): Likewise.
52109         (RUN_TEST_LOOP_fF_f1): Likewise.
52110         (RUN_TEST_LOOP_fI_f1): Likewise.
52111         (RUN_TEST_LOOP_ffI_f1): Likewise.
52112         (RUN_TEST_LOOP_c_c): Likewise.
52113         (RUN_TEST_LOOP_cc_c): Likewise.
52114         (RUN_TEST_LOOP_f_i): Likewise.
52115         (RUN_TEST_LOOP_f_i_tg): Likewise.
52116         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52117         (RUN_TEST_LOOP_f_b): Likewise.
52118         (RUN_TEST_LOOP_f_b_tg): Likewise.
52119         (RUN_TEST_LOOP_f_l): Likewise.
52120         (RUN_TEST_LOOP_f_L): Likewise.
52121         (RUN_TEST_LOOP_fFF_11): Likewise.
52122         * math/gen-libm-test.pl (parse_args): Output four copies of
52123         expected results for each test.
52125         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52126         (__ASSUME_UTIMES): Remove.
52127         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52128         (__ASSUME_UTIMES): Likewise.
52130         * math/gen-auto-libm-tests.c: Update comment on output format.
52131         (output_for_one_input_case): Generate before-rounding and
52132         after-rounding information as conditions on output flags not
52133         floating-point format.
52134         * math/auto-libm-test-out: Regenerated.
52135         * math/gen-libm-test.pl (cond_value): New function.
52136         (or_cond_value): Use cond_value.
52137         (generate_testfile): Handle conditional exceptions.
52139 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52141         * math/libm-test.inc (max_valid_error): New variable.
52142         (init_max_error): Take new argument specifying whether function
52143         results are exactly determined.  Set max_valid_error and bound
52144         other variables for errors based on this argument.
52145         (set_max_error): Do not record results above max_valid_error.
52146         (check_float_internal): Only accept errors of up to 0.5ulps if
52147         also at most max_valid_error.
52148         (START): Take new argument EXACT and pass it to init_max_error.
52149         (acos_test): Update call to START.
52150         (acos_test_tonearest): Likewise.
52151         (acos_test_towardzero): Likewise.
52152         (acos_test_downward): Likewise.
52153         (acos_test_upward): Likewise.
52154         (acosh_test): Likewise.
52155         (asin_test): Likewise.
52156         (asin_test_tonearest): Likewise.
52157         (asin_test_towardzero): Likewise.
52158         (asin_test_downward): Likewise.
52159         (asin_test_upward): Likewise.
52160         (asinh_test): Likewise.
52161         (atan_test): Likewise.
52162         (atanh_test): Likewise.
52163         (atan2_test): Likewise.
52164         (cabs_test): Likewise.
52165         (cacos_test): Likewise.
52166         (cacosh_test): Likewise.
52167         (carg_test): Likewise.
52168         (casin_test): Likewise.
52169         (casinh_test): Likewise.
52170         (catan_test): Likewise.
52171         (catanh_test): Likewise.
52172         (cbrt_test): Likewise.
52173         (ccos_test): Likewise.
52174         (ccosh_test): Likewise.
52175         (ceil_test): Likewise.
52176         (cexp_test): Likewise.
52177         (cimag_test): Likewise.
52178         (clog_test): Likewise.
52179         (clog10_test): Likewise.
52180         (conj_test): Likewise.
52181         (copysign_test): Likewise.
52182         (cos_test): Likewise.
52183         (cos_test_tonearest): Likewise.
52184         (cos_test_towardzero): Likewise.
52185         (cos_test_downward): Likewise.
52186         (cos_test_upward): Likewise.
52187         (cosh_test): Likewise.
52188         (cosh_test_tonearest): Likewise.
52189         (cosh_test_towardzero): Likewise.
52190         (cosh_test_downward): Likewise.
52191         (cosh_test_upward): Likewise.
52192         (cpow_test): Likewise.
52193         (cproj_test): Likewise.
52194         (creal_test): Likewise.
52195         (csin_test): Likewise.
52196         (csinh_test): Likewise.
52197         (csqrt_test): Likewise.
52198         (ctan_test): Likewise.
52199         (ctan_test_tonearest): Likewise.
52200         (ctan_test_towardzero): Likewise.
52201         (ctan_test_downward): Likewise.
52202         (ctan_test_upward): Likewise.
52203         (ctanh_test): Likewise.
52204         (ctanh_test_tonearest): Likewise.
52205         (ctanh_test_towardzero): Likewise.
52206         (ctanh_test_downward): Likewise.
52207         (ctanh_test_upward): Likewise.
52208         (erf_test): Likewise.
52209         (erfc_test): Likewise.
52210         (exp_test): Likewise.
52211         (exp_test_tonearest): Likewise.
52212         (exp_test_towardzero): Likewise.
52213         (exp_test_downward): Likewise.
52214         (exp_test_upward): Likewise.
52215         (exp10_test): Likewise.
52216         (exp10_test_tonearest): Likewise.
52217         (exp10_test_towardzero): Likewise.
52218         (exp10_test_downward): Likewise.
52219         (exp10_test_upward): Likewise.
52220         (pow10_test): Likewise.
52221         (exp2_test): Likewise.
52222         (expm1_test): Likewise.
52223         (expm1_test_tonearest): Likewise.
52224         (expm1_test_towardzero): Likewise.
52225         (expm1_test_downward): Likewise.
52226         (expm1_test_upward): Likewise.
52227         (fabs_test): Likewise.
52228         (fdim_test): Likewise.
52229         (floor_test): Likewise.
52230         (fma_test): Likewise.
52231         (fma_test_towardzero): Likewise.
52232         (fma_test_downward): Likewise.
52233         (fma_test_upward): Likewise.
52234         (fmax_test): Likewise.
52235         (fmin_test): Likewise.
52236         (fmod_test): Likewise.
52237         (fpclassify_test): Likewise.
52238         (frexp_test): Likewise.
52239         (hypot_test): Likewise.
52240         (ilogb_test): Likewise.
52241         (isfinite_test): Likewise.
52242         (finite_test): Likewise.
52243         (isgreater_test): Likewise.
52244         (isgreaterequal_test): Likewise.
52245         (isinf_test): Likewise.
52246         (isless_test): Likewise.
52247         (islessequal_test): Likewise.
52248         (islessgreater_test): Likewise.
52249         (isnan_test): Likewise.
52250         (isnormal_test): Likewise.
52251         (issignaling_test): Likewise.
52252         (isunordered_test): Likewise.
52253         (j0_test): Likewise.
52254         (j1_test): Likewise.
52255         (jn_test): Likewise.
52256         (ldexp_test): Likewise.
52257         (lgamma_test): Likewise.
52258         (gamma_test): Likewise.
52259         (lrint_test): Likewise.
52260         (lrint_test_tonearest): Likewise.
52261         (lrint_test_towardzero): Likewise.
52262         (lrint_test_downward): Likewise.
52263         (lrint_test_upward): Likewise.
52264         (llrint_test): Likewise.
52265         (llrint_test_tonearest): Likewise.
52266         (llrint_test_towardzero): Likewise.
52267         (llrint_test_downward): Likewise.
52268         (llrint_test_upward): Likewise.
52269         (log_test): Likewise.
52270         (log10_test): Likewise.
52271         (log1p_test): Likewise.
52272         (log2_test): Likewise.
52273         (logb_test): Likewise.
52274         (logb_test_downward): Likewise.
52275         (lround_test): Likewise.
52276         (llround_test): Likewise.
52277         (modf_test): Likewise.
52278         (nearbyint_test): Likewise.
52279         (nextafter_test): Likewise.
52280         (nexttoward_test): Likewise.
52281         (pow_test): Likewise.
52282         (pow_test_tonearest): Likewise.
52283         (pow_test_towardzero): Likewise.
52284         (pow_test_downward): Likewise.
52285         (pow_test_upward): Likewise.
52286         (remainder_test): Likewise.
52287         (drem_test): Likewise.
52288         (remainder_test_tonearest): Likewise.
52289         (drem_test_tonearest): Likewise.
52290         (remainder_test_towardzero): Likewise.
52291         (drem_test_towardzero): Likewise.
52292         (remainder_test_downward): Likewise.
52293         (drem_test_downward): Likewise.
52294         (remainder_test_upward): Likewise.
52295         (drem_test_upward): Likewise.
52296         (remquo_test): Likewise.
52297         (rint_test): Likewise.
52298         (rint_test_tonearest): Likewise.
52299         (rint_test_towardzero): Likewise.
52300         (rint_test_downward): Likewise.
52301         (rint_test_upward): Likewise.
52302         (round_test): Likewise.
52303         (scalb_test): Likewise.
52304         (scalbn_test): Likewise.
52305         (scalbln_test): Likewise.
52306         (signbit_test): Likewise.
52307         (sin_test): Likewise.
52308         (sin_test_tonearest): Likewise.
52309         (sin_test_towardzero): Likewise.
52310         (sin_test_downward): Likewise.
52311         (sin_test_upward): Likewise.
52312         (sincos_test): Likewise.
52313         (sinh_test): Likewise.
52314         (sinh_test_tonearest): Likewise.
52315         (sinh_test_towardzero): Likewise.
52316         (sinh_test_downward): Likewise.
52317         (sinh_test_upward): Likewise.
52318         (sqrt_test): Likewise.
52319         (sqrt_test_tonearest): Likewise.
52320         (sqrt_test_towardzero): Likewise.
52321         (sqrt_test_downward): Likewise.
52322         (sqrt_test_upward): Likewise.
52323         (tan_test): Likewise.
52324         (tan_test_tonearest): Likewise.
52325         (tan_test_towardzero): Likewise.
52326         (tan_test_downward): Likewise.
52327         (tan_test_upward): Likewise.
52328         (tanh_test): Likewise.
52329         (tgamma_test): Likewise.
52330         (trunc_test): Likewise.
52331         (y0_test): Likewise.
52332         (y1_test): Likewise.
52333         (yn_test): Likewise.
52334         (significand_test): Likewise.
52336         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
52337         individual tests in comment.
52338         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
52339         (prev_max_error): New variable.
52340         (prev_real_max_error): Likewise.
52341         (prev_imag_max_error): Likewise.
52342         (compare_ulp_data): Don't refer to test names in comment.
52343         (find_test_ulps): Remove function.
52344         (find_function_ulps): Likewise.
52345         (find_complex_function_ulps): Likewise.
52346         (init_max_error): Take function name as argument.  Look up ulps
52347         for that function.
52348         (print_ulps): Remove function.
52349         (print_max_error): Use prev_max_error instead of calling
52350         find_function_ulps.
52351         (print_complex_max_error): Use prev_real_max_error and
52352         prev_imag_max_error instead of calling find_complex_function_ulps.
52353         (check_float_internal): Take max_ulp parameter instead of calling
52354         find_test_ulps.  Don't call print_ulps.
52355         (check_float): Update call to check_float_internal.
52356         (check_complex): Update calls to check_float_internal.
52357         (START): Pass argument to init_max_error.
52358         * math/gen-libm-test.pl (%results): Don't include "kind"
52359         information.
52360         (parse_ulps): Don't handle ulps of individual tests.
52361         (print_ulps_file): Likewise.
52362         (output_ulps): Likewise.
52363         * math/README.libm-test: Update.
52364         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
52365         individual tests.
52366         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
52367         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
52368         * sysdeps/arm/libm-test-ulps: Likewise.
52369         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
52370         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
52371         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
52372         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
52373         * sysdeps/microblaze/libm-test-ulps: Likewise.
52374         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
52375         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
52376         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52377         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
52378         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52379         * sysdeps/sh/libm-test-ulps: Likewise.
52380         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52381         * sysdeps/tile/libm-test-ulps: Likewise.
52382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52384 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
52386         * math/libm-test.inc (print_complex_max_error): Check separately
52387         whether real and imaginary errors are within allowed range and
52388         pass 0 to print_complex_function_ulps instead of value within
52389         allowed range.
52391 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52393         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
52394         formatting.
52395         (get_handles_fopen): Likewise.
52396         (do_write_test): Likewise.
52398         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
52400         * libio/fileops.c (do_ftell): Use cached offset when
52401         available.
52402         * libio/iofwide.c (do_ftell_wide): Likewise.
52403         * libio/iofdopen.c (_IO_new_fdopen): Don't use
52404         _IO_file_attach.
52405         * libio/wfileops.c (_IO_fwide): Don't cache offset.
52407         [BZ #16532]
52408         * libio/libioP.h (get_file_offset): New function.
52409         * libio/fileops.c (get_file_offset): Likewise.
52410         (do_ftell): Likewise.
52411         (_IO_new_file_seekoff): Split out ftell logic.
52412         * libio/wfileops.c (do_ftell_wide): Likewise.
52413         (_IO_wfile_seekoff): Split out ftell logic.
52414         * libio/tst-ftell-active-handler.c: New test case.
52415         * libio/Makefile (tests): Add it.
52417 2014-03-03  Roland McGrath  <roland@hack.frob.com>
52419         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
52420         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
52422 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52424         [BZ #16639]
52425         * nscd/connections.c (nscd_init): Call do_exit.
52426         (start_threads): Call do_exit and notify_parent.
52427         (begin_drop_privileges): Call do_exit.
52428         (finish_drop_privileges): Likewise.
52429         * nscd/selinux.c (preserve_capabilities): Likewise.
52430         (install_real_capabilities): Likewise.
52431         (nscd_selinux_enabled): Likewise.
52432         (avc_create_thread): Likewise.
52433         (avc_alloc_lock): Likewise.
52434         (nscd_avc_init): Likewise.
52435         * nscd/nscd.c (parent_fd): New static variable.
52436         (main): Create a pipe between parent and child processes.
52437         Skip closing parent_fd.
52438         (monitor_child): New function.
52439         (do_exit): Likewise.
52440         (notify_parent): Likewise.
52441         * nscd/nscd.h (notify_parent): Likewise.
52442         (do_exit): Likewise.
52444 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
52446         * malloc/malloc.c (__libc_calloc): Revert last change.
52448 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52452 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52454         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
52455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
52456         implementation.
52457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52458         (__libc_ifunc_impl_list): Likewise.
52459         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
52460         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
52461         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
52462         * string/strrchr.c: Define STRRCHR.
52464 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
52466         * benchtest/bench-strtok.c (simple_strtok): Delete.
52467         (strtok_string): Use as benchmark.
52468         * string/strtok (STRTOK): New macro.
52470 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
52472         * manual/threads.texi: Add header and standard comments to all
52473         functions.
52475         * elf/dl-lookup.c (check_match): New function.
52476         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
52477         (do_lookup_x): Remove nested function check_match. Use non-nested
52478         function check_match.
52480 2014-02-28  Roland McGrath  <roland@hack.frob.com>
52482         * csu/Makefile (generated, before-compile): Use += rather than =.
52483         * catgets/Makefile (generated, generated-dirs): Likewise.
52484         * debug/Makefile (generated): Likewise.
52485         * dlfcn/Makefile (generated): Likewise.
52486         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
52487         * iconvdata/Makefile (before-compile, generated): Likewise.
52488         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
52489         * libio/Makefile (generated): Likewise.
52490         * malloc/Makefile (generated): Likewise.
52491         * manual/Makefile (generated, generated-dirs): Likewise.
52492         * misc/Makefile (generated): Likewise.
52493         * posix/Makefile (generated): Likewise.
52494         * resolv/Makefile (generated): Likewise.
52495         * sunrpc/Makefile (generated, generated-dirs): Likewise.
52496         * timezone/Makefile (generated, generated-dirs): Likewise.
52498         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
52500 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52503         power8 implementation.
52504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
52505         file: POWER8 llround ifunc implementation.
52506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
52507         (__lllround): Add POWER8 implementation.
52508         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
52509         POWER8 llround implementation.
52511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
52512         power8 implementation.
52513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
52514         file: POWER8 llrint ifunc implementation.
52515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
52516         Add POWER8 implementation.
52517         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
52518         POWER8 llrint implementation.
52520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
52521         power8 implementation.
52522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
52523         file: POWER8 finite ifunc implementation.
52524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
52525         Add POWER8 implementation.
52526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
52527         Likewise.
52528         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
52529         POWER8 finite implementation.
52530         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
52532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
52533         power8 implementation.
52534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
52535         file: POWER8 isinf ifunc implementation.
52536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
52537         POWER8 implementation.
52538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
52539         Likewise.
52540         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
52541         isinf implementation.
52542         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
52544         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
52545         (INIT_ARCH): Add hwcap2 initialization.
52546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52547         power8 implementation.
52548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
52549         file: POWER8 isnan ifunc implementation.
52550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
52551         POWER8 implementation.
52552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
52553         Likewise.
52554         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
52555         isnan implementation.
52556         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
52558 2014-02-27  Joey Ye  <joey.ye@arm.com>
52560         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52561         (_FP_NANFRAC_Q): Set to zero.
52563 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52565         [BZ #16623]
52566         * math/auto-libm-test-in: New test inputs.
52567         * math/auto-libm-test-out: Regenerate.
52568         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
52569         and DA.
52570         (__cos): Likewise.
52571         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52573 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
52575         * scripts/evaluate-test.sh: Take new argument indicating whether
52576         failure is expected.
52577         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
52578         indicating whether failure is expected.
52579         * conform/Makefile (test-xfail-run-conformtest): New variable.
52580         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
52581         level.
52582         * posix/Makefile (test-xfail-annexc): New variable.
52583         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
52585 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
52587         * argp/Makefile: Include Makeconfig immediately after defining
52588         subdir.
52589         * assert/Makefile: Likewise.
52590         * benchtests/Makefile: Likewise.
52591         * catgets/Makefile: Likewise.
52592         * conform/Makefile: Likewise.
52593         * crypt/Makefile: Likewise.
52594         * csu/Makefile: Likewise.
52595         (all): Remove target.
52596         * ctype/Makefile: Include Makeconfig immediately after defining
52597         subdir.
52598         * debug/Makefile: Likewise.
52599         * dirent/Makefile: Likewise.
52600         * dlfcn/Makefile: Likewise.
52601         * gmon/Makefile: Likewise.
52602         * gnulib/Makefile: Likewise.
52603         * grp/Makefile: Likewise.
52604         * gshadow/Makefile: Likewise.
52605         * hesiod/Makefile: Likewise.
52606         * hurd/Makefile: Likewise.
52607         (all): Remove target.
52608         * iconvdata/Makefile: Include Makeconfig immediately after
52609         defining subdir.
52610         * inet/Makefile: Likewise.
52611         * intl/Makefile: Likewise.
52612         * io/Makefile: Likewise.
52613         * libio/Makefile: Likewise.
52614         (all): Remove target.
52615         * locale/Makefile: Include Makeconfig immediately after defining
52616         subdir.
52617         * login/Makefile: Likewise.
52618         * mach/Makefile: Likewise.
52619         (all): Remove target.
52620         * malloc/Makefile: Include Makeconfig immediately after defining
52621         subdir.
52622         (all): Remove target.
52623         * manual/Makefile: Include Makeconfig immediately after defining
52624         subdir.
52625         * math/Makefile: Likewise.
52626         * misc/Makefile: Likewise.
52627         * nis/Makefile: Likewise.
52628         * nss/Makefile: Likewise.
52629         * po/Makefile: Likewise.
52630         (all): Remove target.
52631         * posix/Makefile: Include Makeconfig immediately after defining
52632         subdir.
52633         * pwd/Makefile: Likewise.
52634         * resolv/Makefile: Likewise.
52635         * resource/Makefile: Likewise.
52636         * rt/Makefile: Likewise.
52637         * setjmp/Makefile: Likewise.
52638         * shadow/Makefile: Likewise.
52639         * signal/Makefile: Likewise.
52640         * socket/Makefile: Likewise.
52641         * soft-fp/Makefile: Likewise.
52642         * stdio-common/Makefile: Likewise.
52643         * stdlib/Makefile: Likewise.
52644         * streams/Makefile: Likewise.
52645         * string/Makefile: Likewise.
52646         * sunrpc/Makefile: Likewise.
52647         (all): Remove target.
52648         * sysvipc/Makefile: Include Makeconfig immediately after defining
52649         subdir.
52650         * termios/Makefile: Likewise.
52651         * time/Makefile: Likewise.
52652         * timezone/Makefile: Likewise.
52653         (all): Remove target.
52654         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52655         subdir.
52656         * wctype/Makefile: Likewise.
52658 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52660         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52661         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52662         (libc_feholdexcept_setround_mips): Ditto.
52663         (libc_feholdsetround): New.
52664         (libc_feholdsetroundf): New.
52665         (libc_feholdsetroundl): New.
52666         (libc_feupdateenv_test_mips): New.
52667         (libc_feupdateenv_test): New.
52668         (libc_feupdateenv_testf): New.
52669         (libc_feupdateenv_testl): New.
52670         (libc_feresetround): New.
52671         (libc_feresetroundf): New.
52672         (libc_feresetroundl): New.
52673         (libc_fetestexcept_mips): New.
52674         (libc_fetestexcept): New.
52675         (libc_fetestexceptf): New.
52676         (libc_fetestexceptl): New.
52677         (HAVE_RM_CTX): New.
52678         (libc_feholdexcept_setround_mips_ctx): New.
52679         (libc_feholdexcept_setround_ctx): New.
52680         (libc_feholdexcept_setroundf_ctx): New.
52681         (libc_feholdexcept_setroundl_ctx): New.
52682         (libc_fesetenv_mips_ctx): New.
52683         (libc_fesetenv_ctx): New.
52684         (libc_fesetenv_ctxf): New.
52685         (libc_fesetenv_ctxl): New.
52686         (libc_feupdateenv_mips_ctx): New.
52687         (libc_feupdateenv_ctx): New.
52688         (libc_feupdateenvf_ctx): New.
52689         (libc_feupdateenvl_ctx): New.
52690         (libc_feholdsetround_mips_ctx): New.
52691         (libc_feholdsetround_ctx): New.
52692         (libc_feholdsetroundf_ctx): New.
52693         (libc_feholdsetroundl_ctx): New.
52694         (libc_feresetround_mips_ctx): New.
52695         (libc_feresetround_ctx): New.
52696         (libc_feresetroundf_ctx): New.
52697         (libc_feresetroundl_ctx): New.
52699 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
52701         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
52703         * manual/ipc.texi: New file.
52704         * manual/Makefile (chapters): Add ipc.
52705         * manual/job.texi: Add "Inter-Process Communication" to next.
52706         * manual/process.texi: Add "Inter-Process Communication" to prev.
52708 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52712 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
52714         * malloc/malloc.c (__libc_calloc): Simplify implementation.
52716         * manual/arith.texi: Fix spaces after sentences.
52717         * manual/charset.texi: Likewise.
52718         * manual/errno.texi: Likewise.
52719         * manual/install.texi: Likewise.
52720         * manual/llio.texi: Likewise.
52721         * manual/locale.texi: Likewise.
52722         * manual/maint.texi: Likewise.
52723         * manual/math.texi: Likewise.
52724         * manual/memory.texi: Likewise.
52725         * manual/message.texi: Likewise.
52726         * manual/probes.texi: Likewise.
52727         * manual/resource.texi: Likewise.
52728         * manual/signal.texi: Likewise.
52729         * manual/socket.texi: Likewise.
52730         * manual/stdio.texi: Likewise.
52731         * manual/string.texi: Likewise.
52732         * manual/time.texi: Likewise.
52733         * manual/users.texi: Likewise.
52735 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
52737         [BZ #16632]
52738         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
52739         _DEFAULT_SOURCE is defined.
52741 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
52742             Carlos O'Donell  <carlos@redhat.com>
52744         [BZ #16613]
52745         * elf/dl-tls.c (_dl_count_modids): New function.
52746         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
52747         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
52748         audit library and increment generation counter.
52749         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
52750         * elf/tst-audit9.c: New file.
52751         * elf/tst-auditmod9a.c: New file.
52752         * elf/tst-auditmod9b.c: New file.
52753         * elf/Makefile: Add rules to build and run tst-audit9.
52755 2014-02-25  Florian Weimer  <fweimer@redhat.com>
52757         [BZ #15347]
52758         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
52760 2014-02-25  Will Newton  <will.newton@linaro.org>
52762         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
52763         (__longjmp): Restore sp and lr before restoring callee
52764         saved registers.  Add longjmp and longjmp_target
52765         SystemTap probe point.
52766         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
52767         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
52768         Define to zero to match jmpbuf layout.
52769         * sysdeps/arm/setjmp.S: Include stap-probe.h.
52770         (__sigsetjmp): Save sp and lr before saving callee
52771         saved registers.  Add setjmp SystemTap probe point.
52773 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
52775         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52777 2014-02-24  Andreas Schwab  <schwab@suse.de>
52779         [BZ #15804]
52780         * elf/pldd.c (wait_for_ptrace_stop): New function.
52781         (main): Call it after attaching.
52783 2014-02-22  Roland McGrath  <roland@hack.frob.com>
52785         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52786         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
52787         Versions files is now verboten.
52788         * hurd/Versions (libc: GLIBC_2.0):
52789         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
52790         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
52791         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52792         * mach/Versions: Likewise.
52794         * csu/Versions: Remove unused %include.
52795         * resolv/Versions: Likewise.
52797 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
52799         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
52800         ($(objpfx)check-local-headers.out): Likewise.
52801         ($(objpfx)begin-end-check.out): Likewise.
52802         * Makerules (check-abi-%.out): Likewise.
52803         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
52804         ($(objpfx)test2.cat): Likewise.
52805         ($(objpfx)de/libc.cat): Likewise.
52806         ($(objpfx)test-gencat.out): Likewise.
52807         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
52808         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
52809         ($(objpfx)noload-mem): Likewise.
52810         ($(objpfx)tst-pathopt.out): Likewise.
52811         ($(objpfx)tst-rtld-load-self.out): Likewise.
52812         ($(objpfx)tst-array1-cmp.out): Likewise.
52813         ($(objpfx)tst-array1-static-cmp.out): Likewise.
52814         ($(objpfx)tst-array2-cmp.out): Likewise.
52815         ($(objpfx)tst-array3-cmp.out): Likewise.
52816         ($(objpfx)tst-array4-cmp.out): Likewise.
52817         ($(objpfx)tst-array5-cmp.out): Likewise.
52818         ($(objpfx)tst-array5-static-cmp.out): Likewise.
52819         ($(objpfx)check-textrel.out): Likewise.
52820         ($(objpfx)check-execstack.out): Likewise.
52821         ($(objpfx)check-localplt.out): Likewise.
52822         ($(objpfx)order2-cmp.out): Likewise.
52823         ($(objpfx)tst-leaks1-mem): Likewise.
52824         ($(objpfx)tst-leaks1-static-mem): Likewise.
52825         ($(objpfx)tst-initorder-cmp.out): Likewise.
52826         ($(objpfx)tst-initorder2-cmp.out): Likewise.
52827         ($(objpfx)tst-unused-dep.out): Likewise.
52828         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
52829         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
52830         * iconv/Makefile (test-iconvconfig): Likewise.
52831         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
52832         ($(objpfx)iconv-test.out): Likewise.
52833         ($(objpfx)tst-tables.out): Likewise.
52834         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
52835         ($(objpfx)tst-gettext.out): Likewise.
52836         ($(objpfx)tst-translit.out): Likewise.
52837         ($(objpfx)tst-gettext2.out): Likewise.
52838         ($(objpfx)tst-gettext4.out): Likewise.
52839         ($(objpfx)tst-gettext6.out): Likewise.
52840         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
52841         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
52842         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52843         ($(objpfx)tst-fopenloc-mem.out): Likewise.
52844         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
52845         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
52846         * posix/Makefile ($(objpfx)globtest.out): Likewise.
52847         ($(objpfx)wordexp-tst.out): Likewise.
52848         ($(objpfx)annexc.out): Likewise.
52849         ($(objpfx)tst-fnmatch-mem): Likewise.
52850         ($(objpfx)bug-regex2-mem): Likewise.
52851         ($(objpfx)bug-regex14-mem): Likewise.
52852         ($(objpfx)bug-regex21-mem): Likewise.
52853         ($(objpfx)bug-regex31-mem): Likewise.
52854         ($(objpfx)tst-vfork3-mem): Likewise.
52855         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52856         ($(objpfx)tst-pcre-mem): Likewise.
52857         ($(objpfx)tst-boost-mem): Likewise.
52858         ($(objpfx)tst-getconf.out): Likewise.
52859         ($(objpfx)bug-ga2-mem): Likewise.
52860         ($(objpfx)bug-glob2-mem): Likewise.
52861         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
52862         ($(objpfx)mtrace-tst-leaks2): Likewise.
52863         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
52864         ($(objpfx)tst-printf.out): Likewise.
52865         ($(objpfx)tst-setvbuf1.out): Likewise.
52866         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
52867         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
52868         ($(objpfx)tst-fmtmsg.out): Likewise.
52869         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
52870         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
52872         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
52873         * bits/sigaction.h [__USE_MISC]: Likewise.
52874         * bits/waitstatus.h: Update #endif comments.
52875         * ctype/ctype.h: Likewise.
52876         * dirent/dirent.h: Likewise.
52877         [__USE_MISC]: Remove redundant conditionals.
52878         * grp/grp.h: Update #endif comments.
52879         [__USE_GNU]: Remove redundant conditionals.
52880         [__USE_MISC]: Likewise.
52881         * inet/netinet/in.h [__USE_GNU]: Likewise.
52882         * io/sys/stat.h [__USE_MISC]: Likewise.
52883         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
52884         * libio/bits/stdio.h: Update #endif comments.
52885         [__USE_MISC]: Remove redundant conditionals.
52886         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
52887         * libio/stdio.h: Update #endif comments.
52888         [__USE_MISC]: Remove redundant conditionals.
52889         * math/bits/math-finite.h [__USE_MISC]: Likewise.
52890         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
52891         * math/math.h: Update #else and #endif comments.
52892         [__USE_MISC]: Remove redundant conditionals.
52893         * misc/sys/uio.h: Update #endif comments.
52894         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
52895         * posix/glob.h [__USE_MISC]: Likewise.
52896         * posix/sys/types.h: Update #endif comments.
52897         [__USE_MISC]: Remove redundant conditionals.
52898         * posix/sys/wait.h: Update #endif comments.
52899         [__USE_MISC]: Remove redundant conditionals.
52900         * posix/unistd.h: Update #endif comments.
52901         [__USE_MISC]: Remove redundant conditionals.
52902         * pwd/pwd.h [__USE_GNU]: Likewise.
52903         [__USE_MISC]: Likewise.
52904         * resolv/netdb.h [__USE_GNU]: Likewise.
52905         * signal/signal.h: Update #endif comments.
52906         [__USE_MISC]: Remove redundant conditionals.
52907         * stdlib/stdlib.h: Update #else and #endif comments.
52908         [__USE_MISC]: Remove redundant conditionals.
52909         [__USE_GNU]: Likewise.
52910         * string/bits/string2.h [__USE_MISC]: Likewise.
52911         * string/string.h: Update #endif comments.
52912         [__USE_MISC]: Remove redundant conditionals.
52913         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
52914         Likewise.
52915         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
52916         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
52917         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
52918         Likewise.
52919         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
52920         Likewise.
52921         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
52922         comments.
52923         [__USE_MISC]: Remove redundant conditionals.
52924         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
52925         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
52926         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
52927         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
52928         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
52929         Likewise.
52930         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
52931         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
52932         Likewise.
52933         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
52934         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
52935         Likewise.
52936         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
52937         Likewise.
52938         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
52939         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
52940         Likewise.
52941         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
52942         Likewise.
52943         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
52944         * sysdeps/x86/bits/string.h: Update #endif comments.
52945         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
52946         conditionals.
52947         * time/sys/time.h: Update #endif comments.
52948         * time/time.h: Likewise.
52949         [__USE_MISC]: Remove redundant conditionals.
52951 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
52953         [BZ #16600]
52954         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
52956 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
52958         * Versions.def (librt): Add GLIBC_2.17.
52960 2014-02-21  Adam Conrad  <adconrad@0c3.net>
52962         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
52963         synonym for _SYS_AUXV_H to allow direct inclusion.
52964         * sysdeps/sparc/bits/hwcap.h: Likewise.
52965         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
52966         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
52967         * sysdeps/sparc/sysdep.h: Likewise.
52969 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52971         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
52973 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52975         * benchtests/bench-strrchr.c: Print length instead of position.
52977 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
52979         [BZ #16611]
52980         * sysdeps/unix/sysv/linux/kernel-features.h
52981         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
52982         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
52983         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
52984         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
52985         Likewise.
52986         [__i386__ || __powerpc__ || __sh__ || __sparc__]
52987         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52988         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
52989         (__ASSUME_SENDMMSG): Define instead of using previous
52990         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
52991         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52992         (__ASSUME_SENDMMSG_SYSCALL): Define.
52993         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52994         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
52995         Likewise.
52996         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52997         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52998         Likewise.
52999         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53000         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53001         Likewise.
53002         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53003         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53004         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53005         [__ASSUME_SENDMMSG]: Change conditionals to
53006         [__ASSUME_SENDMMSG_SOCKETCALL].
53007         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53008         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53009         Define.
53010         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53011         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53012         Likewise.
53013         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53014         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53015         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53016         [!__ASSUME_SENDMMSG]: Change conditional to
53017         [!__ASSUME_SENDMMSG_SOCKETCALL].
53018         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53019         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53020         Define.
53022         [BZ #16610]
53023         * sysdeps/unix/sysv/linux/kernel-features.h
53024         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53025         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53026         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53027         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53028         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53029         [__i386__ || __sparc__]
53030         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53031         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53032         (__ASSUME_RECVMMSG): Define instead of using previous
53033         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53034         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53035         (__ASSUME_RECVMMSG_SYSCALL): Define.
53036         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53037         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53038         Likewise.
53039         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53040         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53041         Likewise.
53042         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53043         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53044         Likewise.
53045         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53046         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53047         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53048         [__ASSUME_RECVMMSG]: Change condition to
53049         [__ASSUME_RECVMMSG_SOCKETCALL].
53050         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53051         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53052         Define.
53053         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53054         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53055         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53056         Likewise.
53057         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53058         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53059         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53060         [!__ASSUME_RECVMMSG]: Change condition to
53061         [!__ASSUME_RECVMMSG_SOCKETCALL].
53062         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53063         (__ASSUME_RECVMMSG_SYSCALL): Define.
53065         [BZ #16609]
53066         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53067         __powerpc__ || __s390__ || __sh__ || __sparc__]
53068         (__ASSUME_SOCKETCALL): Define.
53069         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53070         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53071         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53072         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53073         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53074         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53075         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53076         (__ASSUME_ACCEPT4): Define instead of using previous
53077         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53078         __powerpc__ || __sparc__ || __s390__)] condition.
53079         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53080         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53081         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53082         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53083         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53084         [!__ASSUME_ACCEPT4]: Change condition to
53085         [!__ASSUME_ACCEPT4_SOCKETCALL].
53086         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53087         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53088         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53089         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53090         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53091         __ASSUME_ACCEPT4_SYSCALL.
53092         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53093         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53094         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53095         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53096         __ASSUME_ACCEPT4_SYSCALL.
53097         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53098         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53099         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53100         [__ASSUME_ACCEPT4]: Change condition to
53101         [__ASSUME_ACCEPT4_SOCKETCALL].
53102         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53103         (__ASSUME_SOCKETCALL): Define.
53104         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53105         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53106         (__ASSUME_SOCKETCALL): Define.
53107         (__ASSUME_ACCEPT4): Remove.
53108         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53109         Define.
53110         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53111         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53112         Likewise.
53113         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53114         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53116         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53117         macro.
53118         (HWCAP_ARM_LPAE): Likewise.
53119         (HWCAP_ARM_EVTSTRM): Likewise.
53120         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53121         Add vpfd32, lpae and evtstrm.
53122         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53123         Increase to 22.
53125 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53127         * math/auto-libm-test-in: Add tests of clog10.
53128         * math/auto-libm-test-out: Regenerated.
53129         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53130         * sysdeps/i386/fpu/libm-test-ulps: Update.
53131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53133 2014-02-18  Andreas Schwab  <schwab@suse.de>
53135         [BZ #16574]
53136         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53137         Store non-zero if the second buffer was newly allocated.
53138         (send_dg): Likewise.
53139         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53140         to send_vc and send_dg.
53141         (res_nsend): Pass NULL for ansp2_malloced.
53142         * resolv/res_query.c (__libc_res_nquery): Add parameter
53143         answerp2_malloced and pass it down to __libc_res_nsend.
53144         (res_nquery): Pass additional NULL to __libc_res_nquery.
53145         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53146         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53147         second answer buffer if answerp2_malloced was set.
53148         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53149         (__libc_res_nquerydomain): Add parameter
53150         answerp2_malloced and pass it down to __libc_res_nquery.
53151         (res_nquerydomain): Pass additional NULL to
53152         __libc_res_nquerydomain.
53153         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53154         additional NULL to __libc_res_nsend and __libc_res_nquery.
53155         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53156         additional NULL to __libc_res_nsearch.
53157         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53158         parameter of __libc_res_nsearch to check for separately allocated
53159         second buffer.
53160         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53161         __libc_res_nquery.
53162         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53163         additional NULL to __libc_res_nquery.
53164         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53165         __libc_res_nsearch.
53166         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53167         * include/resolv.h: Update prototypes of __libc_res_nquery,
53168         __libc_res_nsearch, __libc_res_nsend.
53170 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53172         * math/auto-libm-test-in: Add tests of fma.
53173         * math/auto-libm-test-out: Regenerated.
53174         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53175         (fma_towardzero_test_data): Likewise.
53176         (fma_downward_test_data): Likewise.
53177         (fma_upward_test_data): Likewise.
53178         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53179         mpc_mode.
53180         (rounding_modes): Add values for new field.
53181         (func_calc_method): Add value mpfr_fff_f.
53182         (func_calc_desc): Add mpfr_fff_f union field.
53183         (test_function): Add field exact_args.
53184         (FUNC): Add macro argument EXACT_ARGS.
53185         (FUNC_mpfr_f_f): Update call to FUNC.
53186         (FUNC_mpfr_f_f): Likewise.
53187         (FUNC_mpfr_ff_f): Likewise.
53188         (FUNC_mpfr_if_f): Likewise.
53189         (FUNC_mpc_c_f): Likewise.
53190         (FUNC_mpc_c_c): Likewise.
53191         (test_functions): Add fma.  Update calls to FUNC.
53192         (handle_input_arg): Add argument exact_args.
53193         (add_test): Update call to handle_input_arg.
53194         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
53195         (output_for_one_input_case): Update call to calc_generic_results.
53196         Recalculate exact zero results in each rounding mode.
53198         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53199         non-negative before setting low bit.
53200         * math/auto-libm-test-in: Mark one asin test possibly having
53201         spurious underflow.
53202         * math/auto-libm-test-out: Regenerated.
53203         * sysdeps/i386/fpu/libm-test-ulps: Update.
53204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53206 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
53208         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53209         * sysdeps/unix/sysv/linux/microblaze: Move directory from
53210         ports/sysdeps/unix/sysv/linux/microblaze.
53211         * README: Add missing listing for microblaze*-*-linux-gnu.
53213 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
53215         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53216         duplicate code
53218 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
53220         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53221         * sysdeps/unix/sysv/linux/ia64: Move directory from
53222         ports/sysdeps/unix/sysv/linux/ia64.
53223         * README: Update listing for ia64-*-linux-gnu.
53225 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
53226             Joseph Myers  <joseph@codesourcery.com>
53228         * Makeconfig (test-name): New variable.
53229         (evaluate-test): Likewise.
53230         * Makerules (do-test-clean): Remove .test-result files.
53231         (common-mostlyclean): Likewise.
53232         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53233         * scripts/evaluate-test.sh: New file.
53235 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
53237         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53238         separate $(objpfx)tst-fopenloc-cmp.out and
53239         $(objpfx)tst-fopenloc-mem.out targets.
53240         (tests): Update dependencies.
53241         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53242         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53243         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53244         (tst-rxspencer-no-utf8-ARGS): New variable.
53245         (tst-rxspencer-no-utf8-ENV): Likewise.
53246         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53247         instead of $(objpfx)tst-rxspencer-mem.
53248         ($(objpfx)tst-rxspencer-mem): Change target to
53249         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
53250         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53251         * posix/tst-rxspencer-no-utf8.c: New file.
53253         * elf/Makefile ($(objpfx)order.out): Remove rule.
53254         [$(run-built-tests) = yes] (tests): Depend on
53255         $(objpfx)order-cmp.out.
53256         ($(objpfx)order-cmp.out): New rule.
53257         [$(run-built-tests) = yes] (tests): Depend on
53258         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53259         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53260         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53261         $(objpfx)tst-array5-static-cmp.out.
53262         ($(objpfx)tst-array1.out): Remove rule.
53263         ($(objpfx)tst-array1-cmp.out): New rule.
53264         ($(objpfx)tst-array1-static.out): Remove rule.
53265         ($(objpfx)tst-array1-static-cmp.out): New rule.
53266         ($(objpfx)tst-array2.out): Remove rule.
53267         ($(objpfx)tst-array2-cmp.out): New rule.
53268         ($(objpfx)tst-array3.out): Remove rule.
53269         ($(objpfx)tst-array3-cmp.out): New rule.
53270         ($(objpfx)tst-array4.out): Remove rule.
53271         ($(objpfx)tst-array4-cmp.out): New rule.
53272         ($(objpfx)tst-array5.out): Remove rule.
53273         ($(objpfx)tst-array5-cmp.out): New rule.
53274         ($(objpfx)tst-array5-static.out): Remove rule.
53275         ($(objpfx)tst-array5-static-cmp.out): New rule.
53276         [$(run-built-tests) = yes] (tests): Depend on
53277         $(objpfx)order2-cmp.out.
53278         ($(objpfx)order2.out): Remove rule.
53279         ($(objpfx)order2-cmp.out): New rule.
53280         ($(objpfx)tst-initorder.out): Remove rule.
53281         [$(run-built-tests) = yes] (tests): Depend on
53282         $(objpfx)tst-initorder-cmp.out.
53283         ($(objpfx)tst-initorder-cmp.out): New rule.
53284         ($(objpfx)tst-initorder2.out): Remove rule.
53285         [$(run-built-tests) = yes] (tests): Depend on
53286         $(objpfx)tst-initorder2-cmp.out.
53287         ($(objpfx)tst-initorder2-cmp.out): New rule.
53288         [$(run-built-tests) = yes] (tests): Depend on
53289         $(objpfx)tst-unused-dep-cmp.out.
53290         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53291         ($(objpfx)tst-unused-dep-cmp.out): New rule.
53292         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
53293         on $(objpfx)tst-setvbuf1-cmp.out.
53294         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
53295         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
53296         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
53297         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
53298         ($(objpfx)tst-svc.out): Remove rule.
53299         ($(objpfx)tst-svc-cmp.out): New rule.
53301 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
53303         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
53304         * ctype/ctype.h [__USE_MISC]: Likewise.
53305         * dirent/dirent.h [__USE_MISC]: Likewise.
53306         * grp/grp.h [__USE_MISC]: Likewise.
53307         * io/fcntl.h [__USE_MISC]: Likewise.
53308         * io/sys/stat.h [__USE_MISC]: Likewise.
53309         * libio/stdio.h [__USE_MISC]: Likewise.
53310         * posix/unistd.h [__USE_MISC]: Likewise.
53311         * pwd/pwd.h [__USE_MISC]: Likewise.
53312         * stdlib.h [__USE_MISC]: Likewise.
53313         * string/bits/string2.h [__USE_MISC]: Likewise.
53314         * string/string.h [__USE_MISC]: Likewise.
53315         * time/time.h [__USE_MISC]: Likewise.
53317 2014-02-13  Andreas Schwab  <schwab@suse.de>
53319         [BZ #16574]
53320         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
53321         second answer buffer if it was separately allocated.
53323 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
53325         * sysdeps/mips/math-tests.h: Include <features.h>.
53326         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53327         (ROUNDING_TESTS_long_double): Do not define.
53328         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53329         (EXCEPTION_TESTS_long_double): Likewise.
53330         * sysdeps/mips/mips64/libm-test-ulps: Update.
53332         * include/features.h (__USE_BSD): Remove macro definitions.
53333         (__USE_SVID): Likewise.
53334         (_BSD_SOURCE): Likewise.
53335         (_SVID_SOURCE): Likewise.
53336         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
53337         from definition of _DEFAULT_SOURCE.
53338         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
53339         [_DEFAULT_SOURCE].
53340         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
53341         * bits/mman.h [__USE_BSD]: Likewise.
53342         * bits/termios.h [__USE_BSD]: Likewise.
53343         * bits/waitstatus.h [__USE_BSD]: Likewise.
53344         * ctype/ctype.h [__USE_SVID]: Likewise.
53345         * dirent/dirent.h [__USE_BSD]: Likewise.
53346         * grp/grp.h [__USE_SVID]: Likewise.
53347         [__USE_BSD]: Likewise.
53348         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
53349         * io/fcntl.h [__USE_BSD]: Likewise.
53350         * io/ftw.h [__USE_BSD]: Likewise.
53351         * io/sys/stat.h [__USE_BSD]: Likewise.
53352         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
53353         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
53354         * libio/stdio.h [__USE_SVID]: Likewise.
53355         [__USE_BSD]: Likewise.
53356         * math/math.h [__USE_SVID]: Likewise.
53357         [__USE_BSD]: Likewise.
53358         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
53359         * misc/bits/syslog.h [__USE_BSD]: Likewise.
53360         * misc/search.h [__USE_SVID]: Likewise.
53361         * misc/sys/mman.h [__USE_BSD]: Likewise.
53362         * misc/sys/syslog.h [__USE_BSD]: Likewise.
53363         * misc/sys/uio.h [__USE_BSD]: Likewise.
53364         * posix/bits/unistd.h [__USE_BSD]: Likewise.
53365         * posix/glob.h [__USE_BSD]: Likewise.
53366         * posix/regex.h [__USE_BSD]: Likewise.
53367         * posix/sys/types.h [__USE_BSD]: Likewise.
53368         [__USE_SVID]: Likewise.
53369         * posix/sys/utsname.h [__USE_SVID]: Likewise.
53370         * posix/sys/wait.h [__USE_BSD]: Likewise.
53371         [__USE_SVID]: Likewise.
53372         * posix/unistd.h [__USE_BSD]: Likewise.
53373         [__USE_SVID]: Likewise.
53374         * pwd/pwd.h [__USE_SVID]: Likewise.
53375         * resolv/netdb.h [__USE_BSD]: Likewise.
53376         * setjmp/setjmp.h [__USE_BSD]: Likewise.
53377         * signal/signal.h [__USE_BSD]: Likewise.
53378         [__USE_SVID]: Likewise.
53379         * socket/sys/socket.h [__USE_BSD]: Likewise.
53380         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
53381         * stdlib/stdlib.h [__USE_BSD]: Likewise.
53382         [__USE_SVID]: Likewise.
53383         * string/bits/string2.h [__USE_BSD]: Likewise.
53384         [__USE_SVID]: Likewise.
53385         * string/bits/string3.h [__USE_BSD]: Likewise.
53386         * string/endian.h [__USE_BSD]: Likewise.
53387         * string/string.h [__USE_SVID]: Likewise.
53388         [__USE_BSD]: Likewise.
53389         * string/strings.h [__USE_BSD]: Likewise.
53390         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
53391         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
53392         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
53393         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
53394         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
53395         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
53396         Likewise.
53397         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
53398         Likewise.
53399         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
53400         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
53401         Likewise.
53402         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
53403         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
53404         Likewise.
53405         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
53406         Likewise.
53407         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
53408         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
53409         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
53410         Likewise.
53411         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
53412         Likewise.
53413         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
53414         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
53415         * termios/termios.h [__USE_BSD]: Likewise.
53416         * time/sys/time.h [__USE_BSD]: Likewise.
53417         * time/time.h [__USE_BSD]: Likewise.
53418         [__USE_SVID]: Likewise.
53420         * Makefile (subdir_targets): Remove subdir_lint.out.
53422         * stdio-common/Makefile (do-tst-unbputc): Remove target.
53423         (do-tst-printf): Likewise.
53424         (tests): Depend directly on $(objpfx)tst-unbputc.out and
53425         $(objpfx)tst-printf.out.
53427         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
53429         * Makerules (check-abi-%): Change target to
53430         $(objpfx)check-abi-%.out.
53431         (check-abi target): Update dependencies.
53432         (check-abi-pattern variable): Redirect output of diff to $@.
53433         (check-abi variable): Likewise.
53434         * elf/Makefile (check-abi): Update dependencies.
53436         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
53437         unused.
53438         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
53439         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
53440         subnormal range.
53441         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
53442         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
53443         value has largest subnormal exponent.
53444         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
53445         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
53446         * sysdeps/aarch64/soft-fp/sfp-machine.h
53447         (_FP_TININESS_AFTER_ROUNDING): New macro.
53448         * sysdeps/alpha/soft-fp/sfp-machine.h
53449         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53450         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53451         Likewise.
53452         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
53453         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53454         * sysdeps/mips/soft-fp/sfp-machine.h
53455         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53456         * sysdeps/powerpc/soft-fp/sfp-machine.h
53457         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53458         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53459         Likewise.
53460         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53461         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53462         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53463         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53464         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53465         Likewise.
53467 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
53469         [BZ #16545]
53470         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
53471         model 1.
53473 2014-02-12  Richard Henderson  <rth@redhat.com>
53475         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
53476         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
53477         * sysdeps/unix/sysv/linux/alpha: Move directory from
53478         ports/sysdeps/unix/sysv/linux/alpha.
53479         * README: Update listing for alpha-*-linux-gnu.
53481 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
53483         * include/features.h: Update comment documenting feature test
53484         macros.
53485         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
53486         _DEFAULT_SOURCE.
53487         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
53488         (_SVID_SOURCE): Likewise.
53489         (_DEFAULT_SOURCE): Update description of default features.
53490         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
53491         with _GNU_SOURCE.
53492         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
53493         (S_ISVTX): Likewise.
53494         * manual/math.texi (Mathematical Constants): Likewise.
53495         * manual/signal.texi (Interrupted Primitives): Likewise.
53496         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
53497         * math/test-matherr.c (_SVID_SOURCE): Do not define.
53498         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
53499         Don't refer to _SVID_SOURCE in warning text.
53501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53503         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
53504         already defined.
53505         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
53506         * sysdeps/mips/dl-lookup.c: Remove.
53507         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
53509 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53511         [BZ #16447]
53512         * math/auto-libm-test-in: Add testcase for expl.
53513         * math/auto-libm-test-out: Regenerate.
53514         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
53515         calculation of unsafe.
53516         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
53518 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53520         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
53521         * sysdeps/unix/sysv/linux/aarch64: Move directory from
53522         ports/sysdeps/unix/sysv/linux/aarch64.
53523         * README: Update listing for aarch64*-*-linux-gnu.
53525 2014-02-11  Will Newton  <will.newton@linaro.org>
53527         * manual/probes.texi (Mathematical Function Probes): Use
53528         "triggered" instead of "hit".
53530         * manual/probes.texi (Internal Probes): Add documentation
53531         of setjmp, longjmp and longjmp_target probes.
53533         * include/stap-probe.h: Add comment about probe argument
53534         format.
53536         * malloc/mtrace.c (attribute_hidden): Remove unused macro
53537         definition.  (tr_where, tr_freehook, tr_mallochook,
53538         tr_reallochook, tr_memalignhook): Use ANSI protoype.
53540 2014-02-11  David S. Miller  <davem@davemloft.net>
53542         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
53543         processing int_tests.
53545 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
53547         * sysdeps/mips: Move directory from ports/sysdeps/mips.
53548         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
53549         * sysdeps/unix/sysv/linux/mips: Move directory from
53550         ports/sysdeps/unix/sysv/linux/mips.
53551         * README: Update listing for mips-*-linux-gnu and
53552         mips64-*-linux-gnu.
53554 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
53556         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
53557         * sysdeps/unix/sysv/linux/m68k: Move directory from
53558         ports/sysdeps/unix/sysv/linux/m68k.
53559         * README: Update listing for m68k-*-linux-gnu.
53561 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
53563         * sysdeps/tile: Move directory from ports/sysdeps/tile.
53564         * sysdeps/unix/sysv/linux/generic: Move directory from
53565         ports/sysdeps/unix/sysv/linux/generic.
53566         * sysdeps/unix/sysv/linux/tile: Move directory from
53567         ports/sysdeps/unix/sysv/linux/tile.
53568         * README: Update listing for tile*-*-linux-gnu.
53570 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
53572         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
53573         __builtin_expect.
53574         * benchtests/bench-memmem.c (simple_memmem): Likewise.
53575         * catgets/open_catalog.c (__open_catalog): Likewise.
53576         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
53577         * debug/confstr_chk.c: Likewise.
53578         * debug/fread_chk.c (__fread_chk): Likewise.
53579         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
53580         * debug/getgroups_chk.c: Likewise.
53581         * debug/mbsnrtowcs_chk.c: Likewise.
53582         * debug/mbsrtowcs_chk.c: Likewise.
53583         * debug/mbstowcs_chk.c: Likewise.
53584         * debug/memcpy_chk.c: Likewise.
53585         * debug/memmove_chk.c: Likewise.
53586         * debug/mempcpy_chk.c: Likewise.
53587         * debug/memset_chk.c: Likewise.
53588         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53589         * debug/strcat_chk.c (__strcat_chk): Likewise.
53590         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
53591         * debug/strncat_chk.c (__strncat_chk): Likewise.
53592         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
53593         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
53594         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
53595         * debug/wcpncpy_chk.c: Likewise.
53596         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53597         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53598         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
53599         * debug/wcsncpy_chk.c: Likewise.
53600         * debug/wcsnrtombs_chk.c: Likewise.
53601         * debug/wcsrtombs_chk.c: Likewise.
53602         * debug/wcstombs_chk.c: Likewise.
53603         * debug/wmemcpy_chk.c: Likewise.
53604         * debug/wmemmove_chk.c: Likewise.
53605         * debug/wmempcpy_chk.c: Likewise.
53606         * debug/wmemset_chk.c: Likewise.
53607         * dirent/scandirat.c (SCANDIRAT): Likewise.
53608         * dlfcn/dladdr1.c (dladdr1): Likewise.
53609         * dlfcn/dladdr.c (dladdr): Likewise.
53610         * dlfcn/dlclose.c (dlclose_doit): Likewise.
53611         * dlfcn/dlerror.c (__dlerror): Likewise.
53612         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
53613         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53614         * dlfcn/dlopen.c (dlopen_doit): Likewise.
53615         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
53616         * dlfcn/dlsym.c (dlsym_doit): Likewise.
53617         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
53618         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
53619         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
53620         Likewise.
53621         * elf/dl-conflict.c: Likewise.
53622         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53623         * elf/dl-dst.h: Likewise.
53624         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53625         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53626         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53627         * elf/dl-init.c (call_init, _dl_init): Likewise.
53628         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53629         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53630         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53631         Likewise.
53632         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53633         Likewise.
53634         * elf/dl-minimal.c (__libc_memalign): Likewise.
53635         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53636         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53637         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53638         * elf/dl-sym.c (do_sym): Likewise.
53639         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53640         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53641         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53642         * elf/dl-writev.h (_dl_writev): Likewise.
53643         * elf/ldconfig.c (search_dir): Likewise.
53644         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53645         (dl_main): Likewise.
53646         * elf/setup-vdso.h (setup_vdso): Likewise.
53647         * grp/compat-initgroups.c (compat_call): Likewise.
53648         * grp/fgetgrent.c (fgetgrent): Likewise.
53649         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53650         * grp/putgrent.c (putgrent): Likewise.
53651         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53652         Likewise.
53653         * hurd/hurdinit.c: Likewise.
53654         * iconvdata/8bit-gap.c (struct): Likewise.
53655         * iconvdata/ansi_x3.110.c : Likewise.
53656         * iconvdata/big5.c : Likewise.
53657         * iconvdata/big5hkscs.c : Likewise.
53658         * iconvdata/cp1255.c: Likewise.
53659         * iconvdata/cp1258.c : Likewise.
53660         * iconvdata/cp932.c : Likewise.
53661         * iconvdata/euc-cn.c: Likewise.
53662         * iconvdata/euc-jisx0213.c : Likewise.
53663         * iconvdata/euc-jp.c: Likewise.
53664         * iconvdata/euc-jp-ms.c : Likewise.
53665         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53666         * iconvdata/gb18030.c : Likewise.
53667         * iconvdata/gbbig5.c (const): Likewise.
53668         * iconvdata/gbgbk.c: Likewise.
53669         * iconvdata/gbk.c : Likewise.
53670         * iconvdata/ibm1364.c : Likewise.
53671         * iconvdata/ibm930.c : Likewise.
53672         * iconvdata/ibm932.c: Likewise.
53673         * iconvdata/ibm933.c : Likewise.
53674         * iconvdata/ibm935.c : Likewise.
53675         * iconvdata/ibm937.c : Likewise.
53676         * iconvdata/ibm939.c : Likewise.
53677         * iconvdata/ibm943.c: Likewise.
53678         * iconvdata/iso_11548-1.c: Likewise.
53679         * iconvdata/iso-2022-cn.c : Likewise.
53680         * iconvdata/iso-2022-cn-ext.c : Likewise.
53681         * iconvdata/iso-2022-jp-3.c: Likewise.
53682         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
53683         * iconvdata/iso-2022-kr.c : Likewise.
53684         * iconvdata/iso646.c (gconv_end): Likewise.
53685         * iconvdata/iso_6937-2.c : Likewise.
53686         * iconvdata/iso_6937.c : Likewise.
53687         * iconvdata/iso8859-1.c: Likewise.
53688         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
53689         * iconvdata/shift_jisx0213.c : Likewise.
53690         * iconvdata/sjis.c : Likewise.
53691         * iconvdata/t.61.c : Likewise.
53692         * iconvdata/tcvn5712-1.c : Likewise.
53693         * iconvdata/tscii.c: Likewise.
53694         * iconvdata/uhc.c : Likewise.
53695         * iconvdata/unicode.c (gconv_end): Likewise.
53696         * iconvdata/utf-16.c (gconv_end): Likewise.
53697         * iconvdata/utf-32.c (gconv_end): Likewise.
53698         * iconvdata/utf-7.c (base64): Likewise.
53699         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
53700         * iconv/gconv_close.c (__gconv_close): Likewise.
53701         * iconv/gconv_open.c (__gconv_open): Likewise.
53702         * iconv/gconv_simple.c (internal_ucs4_loop_single)
53703         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
53704         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
53705         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
53706         (ucs4le_internal_loop_single): Likewise.
53707         * iconv/iconv.c (iconv): Likewise.
53708         * iconv/iconv_close.c: Likewise.
53709         * iconv/loop.c (SINGLE): Likewise.
53710         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
53711         * include/atomic.h: Likewise.
53712         * inet/inet6_option.c (option_alloc): Likewise.
53713         * intl/bindtextdom.c (set_binding_values): Likewise.
53714         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
53715         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
53716         * intl/localealias.c (read_alias_file): Likewise.
53717         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
53718         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
53719         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
53720         * libio/fmemopen.c (fmemopen): Likewise.
53721         * libio/iofgets.c (_IO_fgets): Likewise.
53722         * libio/iofgets_u.c (fgets_unlocked): Likewise.
53723         * libio/iofgetws.c (fgetws): Likewise.
53724         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
53725         * libio/iogetdelim.c (_IO_getdelim): Likewise.
53726         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
53727         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
53728         * locale/findlocale.c (_nl_find_locale): Likewise.
53729         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
53730         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
53731         Likewise.
53732         * locale/setlocale.c (setlocale): Likewise.
53733         * login/programs/pt_chown.c (main): Likewise.
53734         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
53735         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
53736         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
53737         (mmap, mmap64, mremap, munmap): Likewise.
53738         * math/e_exp2l.c: Likewise.
53739         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
53740         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
53741         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
53742         * math/s_catan.c (__catan): Likewise.
53743         * math/s_catanf.c (__catanf): Likewise.
53744         * math/s_catanh.c (__catanh): Likewise.
53745         * math/s_catanhf.c (__catanhf): Likewise.
53746         * math/s_catanhl.c (__catanhl): Likewise.
53747         * math/s_catanl.c (__catanl): Likewise.
53748         * math/s_ccosh.c (__ccosh): Likewise.
53749         * math/s_ccoshf.c (__ccoshf): Likewise.
53750         * math/s_ccoshl.c (__ccoshl): Likewise.
53751         * math/s_cexp.c (__cexp): Likewise.
53752         * math/s_cexpf.c (__cexpf): Likewise.
53753         * math/s_cexpl.c (__cexpl): Likewise.
53754         * math/s_clog10.c (__clog10): Likewise.
53755         * math/s_clog10f.c (__clog10f): Likewise.
53756         * math/s_clog10l.c (__clog10l): Likewise.
53757         * math/s_clog.c (__clog): Likewise.
53758         * math/s_clogf.c (__clogf): Likewise.
53759         * math/s_clogl.c (__clogl): Likewise.
53760         * math/s_csin.c (__csin): Likewise.
53761         * math/s_csinf.c (__csinf): Likewise.
53762         * math/s_csinh.c (__csinh): Likewise.
53763         * math/s_csinhf.c (__csinhf): Likewise.
53764         * math/s_csinhl.c (__csinhl): Likewise.
53765         * math/s_csinl.c (__csinl): Likewise.
53766         * math/s_csqrt.c (__csqrt): Likewise.
53767         * math/s_csqrtf.c (__csqrtf): Likewise.
53768         * math/s_csqrtl.c (__csqrtl): Likewise.
53769         * math/s_ctan.c (__ctan): Likewise.
53770         * math/s_ctanf.c (__ctanf): Likewise.
53771         * math/s_ctanh.c (__ctanh): Likewise.
53772         * math/s_ctanhf.c (__ctanhf): Likewise.
53773         * math/s_ctanhl.c (__ctanhl): Likewise.
53774         * math/s_ctanl.c (__ctanl): Likewise.
53775         * math/w_pow.c: Likewise.
53776         * math/w_powf.c: Likewise.
53777         * math/w_powl.c: Likewise.
53778         * math/w_scalb.c (sysv_scalb): Likewise.
53779         * math/w_scalbf.c (sysv_scalbf): Likewise.
53780         * math/w_scalbl.c (sysv_scalbl): Likewise.
53781         * misc/error.c (error_tail): Likewise.
53782         * misc/pselect.c (__pselect): Likewise.
53783         * nis/nis_callback.c (__nis_create_callback): Likewise.
53784         * nis/nis_call.c (__nisfind_server): Likewise.
53785         * nis/nis_creategroup.c (nis_creategroup): Likewise.
53786         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
53787         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
53788         * nis/nis_getservlist.c (nis_getservlist): Likewise.
53789         * nis/nis_lookup.c (nis_lookup): Likewise.
53790         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
53791         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
53792         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
53793         * nis/nis_xdr.c (xdr_endpoint): Likewise.
53794         * nis/nss_compat/compat-grp.c (getgrent_next_file)
53795         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
53796         * nis/nss_compat/compat-initgroups.c (add_group)
53797         (internal_getgrent_r): Likewise.
53798         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
53799         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
53800         * nis/nss_compat/compat-spwd.c (getspent_next_file)
53801         (internal_getspnam_r): Likewise.
53802         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
53803         (_nss_nis_getaliasbyname_r): Likewise.
53804         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
53805         (_nss_nis_getntohost_r): Likewise.
53806         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
53807         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
53808         (_nss_nis_getgrgid_r): Likewise.
53809         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
53810         (internal_nis_gethostent_r, internal_gethostbyname2_r)
53811         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
53812         (_nss_nis_gethostbyname4_r): Likewise.
53813         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
53814         (initgroups_netid): Likewise.
53815         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
53816         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
53817         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
53818         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
53819         (_nss_nis_getprotobynumber_r): Likewise.
53820         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
53821         (_nss_nis_getsecretkey): Likewise.
53822         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
53823         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
53824         (_nss_nis_getpwuid_r): Likewise.
53825         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
53826         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
53827         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
53828         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
53829         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
53830         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
53831         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
53832         Likewise.
53833         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
53834         (_nss_nisplus_getntohost_r): Likewise.
53835         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
53836         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
53837         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
53838         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
53839         Likewise.
53840         * nis/nss_nisplus/nisplus-initgroups.c
53841         (_nss_nisplus_initgroups_dyn): Likewise.
53842         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
53843         (_nss_nisplus_getnetbyaddr_r): Likewise.
53844         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
53845         (_nss_nisplus_getprotobynumber_r): Likewise.
53846         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
53847         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
53848         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
53849         Likewise.
53850         * nis/nss_nisplus/nisplus-service.c
53851         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
53852         (_nss_nisplus_getservbyport_r): Likewise.
53853         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
53854         (_nss_nisplus_getspnam_r): Likewise.
53855         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
53856         Likewise.
53857         * nscd/aicache.c (addhstaiX): Likewise.
53858         * nscd/cache.c (cache_search, prune_cache): Likewise.
53859         * nscd/connections.c (register_traced_file, send_ro_fd)
53860         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
53861         (main_loop_epoll): Likewise.
53862         * nscd/grpcache.c (addgrbyX): Likewise.
53863         * nscd/hstcache.c (addhstbyX): Likewise.
53864         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53865         * nscd/mem.c (gc, mempool_alloc): Likewise.
53866         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
53867         (addinnetgrX): Likewise.
53868         * nscd/nscd-client.h (__nscd_acquire_maplock)
53869         (__nscd_drop_map_ref): Likewise.
53870         * nscd/nscd_getai.c (__nscd_getai): Likewise.
53871         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
53872         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
53873         Likewise.
53874         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
53875         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53876         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
53877         (__nscd_get_map_ref): Likewise.
53878         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
53879         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
53880         Likewise.
53881         * nscd/pwdcache.c (addpwbyX): Likewise.
53882         * nscd/selinux.c (preserve_capabilities): Likewise.
53883         * nscd/servicescache.c (addservbyX): Likewise.
53884         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
53885         * posix/fnmatch.c (fnmatch): Likewise.
53886         * posix/getopt.c (_getopt_internal_r): Likewise.
53887         * posix/glob.c (glob, glob_in_dir): Likewise.
53888         * posix/wordexp.c (exec_comm_child): Likewise.
53889         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
53890         (getanswer_r, gaih_getanswer_slice): Likewise.
53891         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
53892         * resolv/res_init.c: Likewise.
53893         * resolv/res_mkquery.c (res_nmkquery): Likewise.
53894         * resolv/res_query.c (__libc_res_nquery): Likewise.
53895         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
53896         Likewise.
53897         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
53898         * stdio-common/perror.c (perror): Likewise.
53899         * stdio-common/printf_fp.c (___printf_fp): Likewise.
53900         * stdio-common/tmpnam.c (tmpnam): Likewise.
53901         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53902         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
53903         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
53904         Likewise.
53905         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
53906         * stdlib/putenv.c (putenv): Likewise.
53907         * stdlib/setenv.c (__add_to_environ): Likewise.
53908         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53909         * stdlib/strtol_l.c (INTERNAL): Likewise.
53910         * string/memmem.c (memmem): Likewise.
53911         * string/strerror.c (strerror): Likewise.
53912         * string/strnlen.c (__strnlen): Likewise.
53913         * string/test-memmem.c (simple_memmem): Likewise.
53914         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
53915         * sunrpc/pm_getport.c (__get_socket): Likewise.
53916         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
53917         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
53918         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
53919         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
53920         Likewise.
53921         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
53922         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
53923         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
53924         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
53925         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
53926         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
53927         Likewise.
53928         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
53929         Likewise.
53930         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
53931         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
53932         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53933         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
53934         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
53935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
53936         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53937         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
53938         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
53939         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
53940         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53941         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
53942         Likewise.
53943         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
53944         Likewise.
53945         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
53946         Likewise.
53947         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
53948         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53949         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
53950         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
53951         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
53952         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
53953         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53954         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
53955         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
53956         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
53957         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
53958         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53959         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53960         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
53961         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53962         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
53963         Likewise.
53964         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
53965         Likewise.
53966         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
53967         Likewise.
53968         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
53969         Likewise.
53970         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53971         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53972         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
53973         Likewise.
53974         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
53975         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
53976         * sysdeps/posix/opendir.c (__opendirat): Likewise.
53977         * sysdeps/posix/sleep.c: Likewise.
53978         * sysdeps/posix/tempname.c: Likewise.
53979         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
53980         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53981         Likewise.
53982         * sysdeps/powerpc/powerpc32/dl-machine.h
53983         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
53984         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53985         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53986         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
53987         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
53988         Likewise.
53989         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
53990         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
53991         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53992         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
53993         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53994         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
53995         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
53996         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
53997         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53998         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
53999         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54000         (elf_machine_lazy_rel): Likewise.
54001         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54002         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54003         (elf_machine_lazy_rel): Likewise.
54004         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54005         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54006         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54007         * sysdeps/unix/grantpt.c (grantpt): Likewise.
54008         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54009         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54010         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54011         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54012         Likewise.
54013         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54014         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54015         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54016         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54017         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54018         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54019         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54020         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54021         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54022         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54023         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54024         Likewise.
54025         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54026         (__posix_fallocate64_l64): Likewise.
54027         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54028         (posix_fallocate): Likewise.
54029         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54030         Likewise.
54031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54032         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54033         (getifaddrs_internal): Likewise.
54034         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54035         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54036         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54037         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54038         * sysdeps/unix/sysv/linux/posix_fallocate64.c
54039         (__posix_fallocate64_l64): Likewise.
54040         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54041         Likewise.
54042         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54043         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54044         (__get_clockfreq): Likewise.
54045         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54046         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54047         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54049         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54050         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54051         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54052         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54053         Likewise.
54054         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54055         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54056         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54057         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54058         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54059         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54060         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54061         Likewise.
54062         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54063         (posix_fallocate): Likewise.
54064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54065         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54066         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54067         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54068         (elf_machine_rela, elf_machine_rela_relative)
54069         (elf_machine_lazy_rel): Likewise.
54070         * time/asctime.c (asctime_internal): Likewise.
54071         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54072         * time/tzset.c (__tzset_parse_tz): Likewise.
54073         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54074         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54075         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54076         * wcsmbs/wcsmbsload.h: Likewise.
54078         [BZ #15894]
54079         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54081         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54082         (arena_get2): Remove THREAD_STATS conditionals.
54083         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54084         (__malloc_stats, int): Likewise.
54086 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54088         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54089         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54091         * manual/setjmp.texi: Fix typos/grammar errors.
54093         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54094         Only return early when n is <= 0.  Delete unused return statement.
54096         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54097         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54098         * debug/tst-longjmp_chk3.c: New file.
54100         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54101         (test_main): Replace code with set_fortify_handler call.
54102         * debug/test-strcpy_chk.c: Likewise.
54103         * debug/tst-chk1.c: Likewise.
54104         * debug/tst-longjmp_chk.c: Likewise.
54105         * test-skeleton.c: Include fcntl.h & paths.h
54106         (set_fortify_handler): Define.
54108         * debug/tst-longjmp_chk.c: Add header comment and include
54109         ../test-skeleton.c.
54110         (do_test): Mark static.
54111         (TEST_FUNCTION): Define.
54113         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54114         (IP_PMTUDISC_INTERFACE): Likewise.
54115         (IP_MULTICAST_IF): Likewise.
54116         (IP_MULTICAST_TTL): Likewise.
54117         (IP_MULTICAST_LOOP): Likewise.
54118         (IP_ADD_MEMBERSHIP): Likewise.
54119         (IP_DROP_MEMBERSHIP): Likewise.
54120         (IP_UNBLOCK_SOURCE): Likewise.
54121         (IP_BLOCK_SOURCE): Likewise.
54122         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54123         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54124         (IP_MSFILTER): Likewise.
54125         (MCAST_JOIN_GROUP): Likewise.
54126         (MCAST_BLOCK_SOURCE): Likewise.
54127         (MCAST_UNBLOCK_SOURCE): Likewise.
54128         (MCAST_LEAVE_GROUP): Likewise.
54129         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54130         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54131         (MCAST_MSFILTER): Likewise.
54132         (IP_MULTICAST_ALL): Likewise.
54133         (IP_UNICAST_IF): Likewise.
54135         * timezone/Makefile: Delete $(have-ksh) check.
54136         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54137         * timezone/tzselect.ksh: Add +x mode bits.
54139         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54140         (ANON_INODE_FS_MAGIC): Likewise.
54141         (BDEVFS_MAGIC): Likewise.
54142         (BINFMTFS_MAGIC): Likewise.
54143         (BTRFS_TEST_MAGIC): Likewise.
54144         (CRAMFS_MAGIC_WEND): Likewise.
54145         (DEBUGFS_MAGIC): Likewise.
54146         (ECRYPTFS_SUPER_MAGIC): Likewise.
54147         (EXT3_SUPER_MAGIC): Likewise.
54148         (EXT4_SUPER_MAGIC): Likewise.
54149         (FUTEXFS_SUPER_MAGIC): Likewise.
54150         (HOSTFS_SUPER_MAGIC): Likewise.
54151         (HUGETLBFS_MAGIC): Likewise.
54152         (MINIX3_SUPER_MAGIC): Likewise.
54153         (MTD_INODE_FS_MAGIC): Likewise.
54154         (NILFS_SUPER_MAGIC): Likewise.
54155         (OPENPROM_SUPER_MAGIC): Likewise.
54156         (PIPEFS_MAGIC): Likewise.
54157         (PSTOREFS_MAGIC): Likewise.
54158         (QNX6_SUPER_MAGIC): Likewise.
54159         (RAMFS_MAGIC): Likewise.
54160         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54161         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54162         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54163         (SECURITYFS_MAGIC): Likewise.
54164         (SELINUX_MAGIC): Likewise.
54165         (SMACK_MAGIC): Likewise.
54166         (SOCKFS_MAGIC): Likewise.
54167         (SQUASHFS_MAGIC): Likewise.
54168         (STACK_END_MAGIC): Likewise.
54169         (TMPFS_MAGIC): Likewise.
54170         (USBDEVICE_SUPER_MAGIC): Likewise.
54171         (V9FS_MAGIC): Likewise.
54172         (XENFS_SUPER_MAGIC): Likewise.
54173         (CRAMFS_MAGIC): Fix typo in comment.
54174         (EXT2_SUPER_MAGIC): Update comment.
54175         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54177 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54179         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54180         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54181         * sysdeps/unix/sysv/linux/arm: Move directory from
54182         ports/sysdeps/unix/sysv/linux/arm.
54183         * README: Update listing for arm-*-linux-gnueabi.
54185         * README: Remove mention of am33.
54187 2014-02-07  Roland McGrath  <roland@hack.frob.com>
54189         * bits/sigset.h (__sigemptyset): Use a statement expression rather
54190         than the comma operator, to avoid "rhs of comma has no effect"
54191         compiler warnings.
54192         (__sigfillset, __sigandset, __sigorset): Likewise.
54193         * include/signal.h (__sigemptyset): Likewise.
54194         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54196 2014-02-07  Allan McRae  <allan@archlinux.org>
54198         * version.h (RELEASE): Set to "development".
54199         (VERSION): Set to "2.19.90"
54200         * NEWS: Add 2.20 section.
54202 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
54204         [BZ #16529]
54205         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54207 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54209         * manual/contrib.texi: Update entry for Carlos O'Donell,
54210         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54212 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
54214         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54216         * sysdeps/unix/sysv/linux/kernel-features.h
54217         [__LINUX_KERNEL_VERSION >= 0x020621]
54218         (__ASSUME_PROC_PID_TASK_COMM): Define.
54220 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54222         [BZ #16398]
54223         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54224         conversion when destination buffer does not have enough space.
54225         * libio/tst-ftell-partial-wide.c: New test case.
54226         * libio/Makefile (tests): Add tst-ftell-partial-wide.
54228         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54229         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
54230         Leonard and Allan McRae.
54232 2014-02-04  David S. Miller  <davem@davemloft.net>
54234         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54235         32-bit.
54237 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54240         New file
54241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54242         New file
54243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54244         New file.
54245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54246         New file.
54247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54248         New file.
54249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54250         New file.
54251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54252         New file.
54253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54254         New file.
54255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54256         New file.
54257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54258         New file.
54259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54260         New file.
54261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54262         New file.
54263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54264         New file.
54266 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54268         * nptl/shlib-versions: Change powerpc*le start to 2.17.
54269         * shlib-versions: Likewise.
54271 2014-02-04  Roland McGrath  <roland@hack.frob.com>
54272             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54274         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54275         (abilist-pattern): New variable, set to %-le.abilist.
54277         * Makerules (abilist-pattern): New variable.
54278         (vpath): Use $(abilist-pattern) in place of %.abilist.
54279         (check-abi-% pattern rule): Likewise.
54280         (check-abi, update-abi): Likewise.
54282 2014-02-04  Eric Wong  <normalperson@yhbt.net>
54284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54286 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
54288         * manual/startup.texi: Add next, previous, and top entries for
54289         the `Program Arguments' and `Environment Variables' nodes.
54291 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
54293         * manual/macros.texi: Add comments before MTASC-safety macros.
54295         * manual/users.texi: Document MTASC-safety properties.
54297         * manual/threads.texi (pthread_key_create, pthread_key_delete)
54298         (pthread_getspecific, pthread_setspecific): Format with
54299         @deftypefun, and add @safety note.
54300         * manual/signal.texi: Move comments that analyze the above
54301         functions to their home place.
54303 2014-02-03  Allan McRae  <allan@archlinux.org>
54305         * po/sl.po: Update Slovenian translation from translation project.
54307 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
54309         * manual/time.texi (timegm): Add missing blank after @c.
54310         Reported by Joseph Myers <joseph@codesourcery.com>.
54312 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
54314         * manual/check-safety.sh: New.
54315         * manual/Makefile ($(objpfx)stamp-summary): Run it.
54317         * manual/terminal.texi: Document MTASC-safety properties.
54319         * manual/filesys.texi: Document MTASC-safety properties.
54321         * manual/errno.texi: Document MTASC-safety properties.
54323         * manual/intro.texi: Document safety identifiers and
54324         conditionals.
54326         * manual/string.texi (wcstok): Fix prototype.
54327         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
54329         * manual/time.texi: Document MTASC-safety properties.
54331         * manual/string.texi: Document MTASC-safety properties.
54333         * manual/threads.texi: Document MTASC-safety properties.
54335         * manual/stdio.texi: Document MTASC-safety properties.
54337         * manual/syslog.texi: Document MTASC-safety properties.
54339         * manual/sysinfo.texi: Document MTASC-safety properties.
54341         * manual/startup.texi: Document MTASC-safety properties.
54343         * manual/socket.texi: Document MTASC-safety properties.
54345         * manual/signal.texi: Document MTASC-safety properties.
54347 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
54349         * manual/setjmp.texi: Document MTASC-safety properties.
54351         * manual/search.texi: Document MTASC-safety properties.
54353         * manual/resource.texi: Document MTASC-safety properties.
54355         * manual/process.texi: Document MTASC-safety properties.
54357         * manual/platform.texi: Document MTASC-safety properties.
54359         * manual/pipe.texi: Document MTASC-safety properties.
54361         * manual/pattern.texi: Document MTASC-safety properties.
54363         * manual/message.texi: Document MTASC-safety properties.
54365         [BZ #12751]
54366         * manual/memory.texi: Document MTASC-safety properties.
54368         * manual/math.texi: Document MTASC-safety properties.
54370         * manual/locale.texi: Document MTASC-safety properties.
54372         * manual/llio.texi: Document MTASC-safety properties.
54374         * manual/libdl.texi: New.
54376         * manual/lang.texi: Document MTASC-safety properties.
54378         * manual/job.texi: Document MTASC-safety properties.
54380         * manual/getopt.texi: Document MTASC-safety properties.
54382         * manual/ctype.texi: Document MTASC-safety properties.
54384 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
54386         [BZ #16046]
54387         * csu/libc-tls.c (static_map): Remove variable.
54388         (__libc_setup_tls): Use main executable's link map for TLS data.
54389         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
54390         casing for LM_ID_BASE and GL(dl_nns).
54391         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
54392         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
54393         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
54394         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
54395         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
54396         member.
54397         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
54398         l_phnum members.
54400 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
54402         * manual/debug.texi: Document MTASC-safety properties.
54404 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
54406         [BZ #16510]
54407         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
54408         of __x86_64__ when disabling x87 inline functions.
54410 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
54412         * manual/charset.texi: Document MTASC-safety properties.
54414         * manual/crypt.texi: Document MTASC-safety properties.
54416         * manual/conf.texi: Document MTASC-safety properties.
54418         * manual/arith.texi: Document MTASC-safety properties.
54420         * manual/argp.texi: Document MTASC-safety properties.
54422         * manual/macros.texi: Introduce macros to document multi
54423         thread, asynchronous signal and asynchronous cancellation
54424         safety properties.
54425         * manual/intro.texi: Introduce the properties themselves.
54427 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54429         * sysdeps/sh/sh4/Makefile: New file.
54431 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
54433         * math/gen-libm-test.pl ($srcdir): New variable.
54434         ($auto_input): Use it.
54436 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54438         [BZ #16506]
54439         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
54440         access beyond array bounds when parsing netgroups file.
54442         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
54443         the old buffer before realloc.
54445 2014-01-27  Allan McRae  <allan@archlinux.org>
54447         * po/fr.po: Update French translation from translation project.
54449 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54451         * sysdeps/sh/libm-test-ulps: Regenerate.
54453 2014-01-24  David S. Miller  <davem@davemloft.net>
54455         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
54457 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54459         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
54460         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
54462 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54464         [BZ #16474]
54465         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
54466         string pointers after reallocation.
54468 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54470         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
54471         __SH4A__ instead of __SH_FPU_ANY__.
54473 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54475         * sysdeps/sh/fpu_control.h: New file.
54476         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
54477         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
54478         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
54479         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
54480         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
54481         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
54482         * sysdeps/sh/sys/ucontext.h: Remove.
54483         * sysdeps/sh/sys: Remove directory.
54485 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54487         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
54488         s390/sys/ucontext.h.
54489         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
54490         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
54492 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
54494         [BZ #15605]
54495         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
54497 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54499         [BZ #16431]
54500         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54501         Adjust the vDSO correctly for internal calls.
54502         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
54504 2014-01-20  Allan McRae  <allan@archlinux.org>
54506         * po/ca.po: Update Catalan translation from translation project.
54508 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
54510         * sysdeps/s390/sotruss-lib.c: New file.
54512 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54514         [BZ #16430]
54515         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
54516         (__GI___gettimeofday): Alias for a different internal symbol to avoid
54517         local calls issues by not having a PLT stub required for IFUNC calls.
54518         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
54520 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
54522         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
54523         * math/test-fpucw-static.c: Likewise.
54525 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54527         [BZ #16453]
54528         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
54530 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54532         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
54533         implementation for powerpc.
54535 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
54537         [BZ #14782]
54538         * sysdeps/posix/system.c (__libc_system): Do not enable
54539         asynchronous cancellation.
54541 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54543         [BZ #16427]
54544         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
54545         handling only for numbers special also in the IEEE case.
54547 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54549         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54551 2014-01-11  Allan McRae  <allan@archlinux.org>
54553         * po/bg.po: Update Bulgarian translation from translation project.
54555         * po/de.po: Update German translation from translation project.
54557 2014-01-10  Roland McGrath  <roland@hack.frob.com>
54559         * sysdeps/generic/gcc-compat.h: New file.
54561 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54563         * benchtests/asin-inputs: Correct slow inputs.
54564         * benchtests/acos-inputs: Likewise.
54566 2014-01-10  Allan McRae  <allan@archlinux.org>
54568         * po:sv.po: Update Swedish translation from translation project.
54570         * po/vi.po: Update Vietnamese translation from translation project.
54572         * po/eo.po: Update Esperanto translation from translation project.
54574         * po/cs.po: Update Czech translation from translation project.
54576         * po/nl.po: Update Dutch translation from translation project.
54578         * po/pl.po: Update Polish translation from translation project.
54580         * po/ru.po: Update Russian translation from translation project.
54582         * po/uk.po: Update Ukrainian translation from translation project.
54584 2014-01-08  Brooks Moses  <bmoses@google.com>
54586         * elf/dl-load.c: Fix comment typo.
54588 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
54590         * po/header.pot: Rename to...
54591         * po/pot.header: ... this.
54592         * po/Makefile: Use pot.header.
54594 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
54595             Maxim Kuvyrkov  <maxim@kugelworks.com>
54597         [BZ #16394]
54598         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
54599         SRC and DEST against LEN.
54601 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54603         [BZ #16414]
54604         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
54605         implementation.
54606         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
54608 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54612 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
54614         [BZ #16408]
54615         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
54616         for large positive arguments.
54618 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
54620         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54622         * math/auto-libm-test-in: Mark various tests with
54623         xfail-rounding:ldbl-128ibm.
54624         * math/auto-libm-test-out: Regenerated.
54626         [BZ #16407]
54627         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54628         Increase overflow threshold.
54630 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54632         [BZ #14286]
54633         * stdio-common/vfprintf.c: Check for integer overflow.
54635 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54637         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54638         the first argument and return value of __tls_get_addr_internal.
54640 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54642         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54643         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54645 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54647         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54648         * sysdeps/s390/rtld-global-offsets.sym: New file.
54649         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54650         GLIBC_2.19 symbol.
54651         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54652         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54653         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54654         ... this.
54655         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54656         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54657         ... this.
54658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54659         Regenerate.
54660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54661         Regenerate.
54662         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54663         halfs of GPRs for high_gprs contexts.
54664         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54665         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54666         field.
54667         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54668         uc_flags field.
54669         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54670         64 bit versions:
54671         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54672         for high GPRs (uc_high_gprs) and for future extensions
54673         (__reserved).
54674         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54675         for future extensions (__reserved).
54676         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54677         64 bit versions:
54678         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54679         SC_HIGHGPRS offset definition.
54680         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54681         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
54683         * Versions.def: Add GLIBC_2.19 for libpthread.
54684         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
54685         siglongjmp for libpthread with GLIBC_2.19 symver.
54686         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
54687         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
54688         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
54689         * sysdeps/s390/__longjmp.c: New file.
54690         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
54691         * sysdeps/s390/longjmp.c: New file.
54692         * sysdeps/s390/setjmp.S: New file.
54693         * sysdeps/s390/sigjmp.S: New file.
54694         * sysdeps/s390/v1-longjmp.c: New file.
54695         * sysdeps/s390/v1-setjmp.h: New file.
54696         * sysdeps/s390/v1-sigjmp.c: New file.
54697         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
54698         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
54699         GLIBC_2.19 version.
54700         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
54701         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
54702         versioned symbols for ____longjmp_chk.
54703         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
54704         Likewise.
54705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54706         Regenerate.
54707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54708         Regenerate.
54709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54710         Regenerate.
54711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54712         Regenerate.
54713         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
54714         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
54715         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
54716         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
54717         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
54718         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
54719         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
54720         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
54721         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
54722         * sysdeps/s390/rtld-__longjmp.c: New file.
54723         * sysdeps/s390/rtld-setjmp.S: New file.
54725 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
54727         [BZ #16400]
54728         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54729         Return -__logl (x) for small positive arguments without evaluating
54730         a polynomial.
54732 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
54734         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
54735         Rename to ...
54736         (__ptrace_peeksiginfo_args): ... this.
54737         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54738         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54739         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54741 2014-01-06  Allan McRae  <allan@archlinux.org>
54743         * inet/netinet/in.h: Fix typo in comment.
54745 2014-01-05  Andreas Jaeger  <aj@suse.de>
54747         * sysdeps/i386/fpu/libm-test-ulps: Update.
54749 2014-01-05  Allan McRae  <allan@archlinux.org>
54751         * po/libc.pot: Regenerated.
54753         * malloc/memusagestat.c: Fix gettext call formatting.
54755 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
54757         * nscd/nscd.c: Improve usage() output.
54759 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
54761         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
54762         * sysdeps/unix/sysv/linux/configure: Regenerated.
54763         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
54764         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
54766 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54768         [BZ #16390]
54769         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54770         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
54772 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54774         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
54775         extra tokens at end of #undef directive.
54776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
54777         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
54778         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
54780 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54782         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54784         * math/auto-libm-test-in: Mark various tests with
54785         xfail-rounding:ldbl-128ibm.
54786         * math/auto-libm-test-out: Regenerated.
54788 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
54790         [BZ #16386]
54791         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
54792         numbers with subnormal high part when calculating exponent.
54794         [BZ #16385]
54795         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
54796         fabs.
54798         [BZ #16384]
54799         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
54800         M_LN2l.
54801         (__ieee754_acoshl): Use __log1pl not __log1p.
54803 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
54805         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
54806         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
54807         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
54808         (grow_heap, heap_trim, _int_new_arena, get_free_list)
54809         (reused_arena, arena_get2): Convert to GNU style.
54810         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
54811         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
54812         (memalign_check, __malloc_set_state): Likewise.
54813         * malloc/mallocbug.c (main): Likewise.
54814         * malloc/malloc.c (__malloc_assert, malloc_init_state)
54815         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
54816         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
54817         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
54818         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
54819         (__posix_memalign, malloc_info): Likewise.
54820         * malloc/malloc.h: Likewise.
54821         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
54822         (mallochook, memalignhook, reallochook, mabort): Likewise.
54823         * malloc/mcheck.h: Likewise.
54824         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
54825         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
54826         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
54827         * malloc/morecore.c (__default_morecore): Likewise.
54828         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
54829         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
54830         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
54831         (print_and_abort): Likewise.
54832         * malloc/obstack.h: Likewise.
54833         * malloc/set-freeres.c (__libc_freeres): Likewise.
54834         * malloc/tst-mallocstate.c (main): Likewise.
54835         * malloc/tst-mtrace.c (main): Likewise.
54836         * malloc/tst-realloc.c (do_test): Likewise.
54838 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54840         [BZ #16366]
54841         * nscd/netgroupcache.c (do_notfound): New function.
54842         (addgetnetgrentX): Use it.
54844         [BZ # 16365]
54845         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
54846         NSS_STATUS_NOTFOUND.
54848 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
54850         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54853 2014-01-01  Allan McRae  <allan@archlinux.org>
54855         * scripts/update-copyrights: Update configure input file suffix.
54857         * NEWS: Update copyright year.
54858         * catgets/gencat.c: Likewise.
54859         * csu/version.c: Likewise.
54860         * debug/catchsegv.sh: Likewise.
54861         * debug/pcprofiledump.c: Likewise.
54862         * debug/xtrace.sh: Likewise.
54863         * elf/ldconfig.c: Likewise.
54864         * elf/ldd.bash.in: Likewise.
54865         * elf/pldd.c: Likewise.
54866         * elf/sotruss.ksh: Likewise.
54867         * elf/sprof.c: Likewise.
54868         * iconv/iconv_prog.c: Likewise.
54869         * iconv/iconvconfig.c: Likewise.
54870         * locale/programs/locale.c: Likewise.
54871         * locale/programs/localedef.c: Likewise.
54872         * login/programs/pt_chown.c: Likewise.
54873         * malloc/memusage.sh: Likewise.
54874         * malloc/memusagestat.c: Likewise.
54875         * malloc/mtrace.pl: Likewise.
54876         * manual/libc.texinfo: Likewise.
54877         * nscd/nscd.c: Likewise.
54878         * nss/getent.c: Likewise.
54879         * nss/makedb.c: Likewise.
54880         * posix/getconf.c: Likewise.
54881         * scripts/test-installation.pl: Likewise.
54883         * All files with FSF copyright notices: Update copyright dates
54884         using scripts/update-copyrights.
54885         * intl/plural.c: Regenerated.
54886         * locale/programs/charmap-kw.h: Likewise.
54887         * locale/programs/locfile-kw.h: Likewise.
54889 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
54891         * sysdeps/unix/sysv/linux/configure: Regenerated.
54892         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
54893         the linux/fanotify.h header.
54894         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
54895         HAVE_LINUX_FANOTIFY_H is defined.
54897 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54899         * benchtests/cos-inputs: New inputs.
54900         * benchtests/sin-inputs: Likewise.
54902         * benchtests/atan-inputs: New inputs. Fix name of multiple
54903         precision fallback inputs.
54905         * benchtests/atanh-inputs: New inputs.
54906         * benchtests/tanh-inputs: Likewise.
54908         * benchtests/acosh-inputs: New inputs.
54909         * benchtests/asinh-inputs: Likewise.
54911         * benchtests/cosh-inputs: New inputs.
54912         * benchtests/sinh-inputs: Likewise.
54914         * benchtests/acos-inputs: Add more inputs.
54915         * benchtests/asin-inputs: Likewise.
54917 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
54919         [BZ #16375]
54920         * manual/arith.texi: Fix spelling.
54921         * manual/charset.texi: Likewise.
54922         * manual/errno.texi: Likewise.
54923         * manual/filesys.texi: Likewise.
54924         * manual/lang.texi: Likewise.
54925         * manual/llio.texi: Likewise.
54926         * manual/locale.texi: Likewise.
54927         * manual/message.texi: Likewise.
54928         * manual/resource.texi: Likewise.
54929         * manual/search.texi: Likewise.
54930         * manual/setjmp.texi: Likewise.
54931         * manual/stdio.texi: Likewise.
54932         * manual/string.texi: Likewise.
54933         * manual/sysinfo.texi: Likewise.
54934         * manual/time.texi: Likewise.
54936 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
54938         * po/sl.po: New file.
54940 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
54942         * .gitignore: Add core/.gdbinit/.gdb_history.
54944 2013-12-27  Allan McRae  <allan@archlinux.org>
54946         [BZ #16369]
54947         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
54948         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
54950 2013-12-24  Brooks Moses  <bmoses@google.com>
54952         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
54953         all compilers that claim C++98 compliance, not just GCC.
54954         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
54955         Likewise.
54957 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54959         * NEWS: Restore accidentally deleted bug-fix entries.
54961 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54962             Ondřej Bílka  <neleai@seznam.cz>
54964         [BZ #15073]
54965         * malloc/malloc.c (_int_free): Perform sanity check only if we
54966         have_lock.
54968 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
54970         [BZ #12986]
54971         * manual/stdio.texi (String Input Conversions): Clarify that character
54972         classes are not supported.
54974 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54978 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
54980         [BZ #16337]
54981         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54982         Calculate results for small negative arguments directly rather
54983         than using reflection formula with special underflow handling.
54985         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
54986         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
54987         sysdeps/unix/bsd/bsd4.4/syscalls.list.
54988         (fchflags): Likewise.
54989         (revoke): Likewise.
54990         (setlogin): Likewise.
54991         (sigaltstack): Likewise.
54992         (wait4): Likewise.
54993         (sigblock): Remove.
54994         (sigsetmask): Likewise.
54995         (wait3): Likewise.
54996         (waitpid): Likewise.
54997         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
54998         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
54999         file.
55000         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55001         * sysdeps/unix/bsd/Makefile: ... here.
55002         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55003         * sysdeps/unix/bsd/Versions: ... here.
55004         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55005         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55006         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55007         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55008         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55009         * sysdeps/unix/bsd/sigblock.c: ... here.
55010         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55011         * sysdeps/unix/bsd/sigsetmask.c: ... here.
55012         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55013         * sysdeps/unix/bsd/sigvec.c: ... here.
55014         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55015         * sysdeps/unix/bsd/tcdrain.c: ... here.
55016         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55017         * sysdeps/unix/bsd/tcgetattr.c: ... here.
55018         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55019         * sysdeps/unix/bsd/tcsetattr.c: ... here.
55020         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55021         * sysdeps/unix/bsd/wait.c: ... here.
55022         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55023         * sysdeps/unix/bsd/wait3.c: ... here.
55024         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55025         * sysdeps/unix/bsd/waitpid.c: ... here.
55027 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
55029         [BZ #16356]
55030         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55031         round-to-nearest for [!USE_AS_EXPM1L].
55032         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55033         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
55034         more tests of exp and exp10.  Expect some exp10 tests to miss
55035         exceptions or fail in directed rounding modes.
55036         * math/auto-libm-test-out: Regenerated.
55037         * math/libm-test.inc (exp10_tonearest_test_data): New array.
55038         (exp10_test_tonearest): New function.
55039         (exp10_towardzero_test_data): New array.
55040         (exp10_test_towardzero): New function.
55041         (exp10_downward_test_data): New array.
55042         (exp10_test_downward): New function.
55043         (exp10_upward_test_data): New array.
55044         (exp10_test_upward): New function.
55045         (main): Call the new functions.
55046         * sysdeps/i386/fpu/libm-test-ulps: Update.
55047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55049 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
55051         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55052         asinh, atan, atan2, atanh, cbrt, cos and cosh.
55053         * math/auto-libm-test-out: Regenerated.
55054         * math/libm-test.inc (acosh_test_data): Add more tests.
55055         (atanh_test_data): Likewise.
55056         (ceil_test_data): Likewise.
55057         (copysign_test_data): Likewise.
55058         * sysdeps/i386/fpu/libm-test-ulps: Update.
55059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55061         * timezone/checktab.awk: Update from tzcode 2013i.
55062         * timezone/private.h: Likewise.
55063         * timezone/scheck.c: Likewise.
55064         * timezone/tzfile.h: Likewise.
55065         * timezone/tzselect.ksh: Likewise.
55066         * timezone/zdump.c: Likewise.
55067         * timezone/zic.c: Likewise.
55069         * math/auto-libm-test-in: Add tests of cpow.
55070         * math/auto-libm-test-out: Regenerated.
55071         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55072         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55073         mpc_cc_c.
55074         (func_calc_desc): Add mpc_cc_c union field.
55075         (test_functions): Add cpow.
55076         (special_fill_2pi): New function.
55077         (special_real_inputs): Add 2pi.
55078         (calc_generic_results): Handle mpc_cc_c.
55079         * sysdeps/i386/fpu/libm-test-ulps: Update.
55080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55082         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55083         csqrt, ctan and ctanh.
55084         * math/auto-libm-test-out: Regenerated.
55085         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55086         (TEST_COND_x86): Likewise.
55087         (ccos_test_data): Use AUTO_TESTS_c_c.
55088         (ccosh_test_data): Likewise.
55089         (cexp_test_data): Likewise.
55090         (clog_test_data): Likewise.
55091         (csqrt_test_data): Likewise.
55092         (ctan_test_data): Likewise.
55093         (ctan_tonearest_test_data): Likewise.
55094         (ctan_towardzero_test_data): Likewise.
55095         (ctan_downward_test_data): Likewise.
55096         (ctan_upward_test_data): Likewise.
55097         (ctanh_test_data): Likewise.
55098         (ctanh_tonearest_test_data): Likewise.
55099         (ctanh_towardzero_test_data): Likewise.
55100         (ctanh_downward_test_data): Likewise.
55101         (ctanh_upward_test_data): Likewise.
55102         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55103         mpc_c_c.
55104         (func_calc_desc): Add mpc_c_c union field.
55105         (FUNC_mpc_c_c): New macro.
55106         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55107         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55108         ctanh.
55109         (special_fill_min_subnorm_p120): New function.
55110         (special_real_inputs): Add min_subnorm_p120.
55111         (calc_generic_results): Handle mpc_c_c.
55112         * sysdeps/i386/fpu/libm-test-ulps: Update.
55113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55115 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55117         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55118         (do_sin_slow): New functions.
55119         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55120         (cslow2, csloww1, csloww2): Use the new functions.
55122         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55123         Use M to change sign of result instead of X.  Assume X is
55124         positive.
55125         (csloww1): Likewise.
55126         (__sin): Adjust.
55127         (__cos): Adjust.
55129         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55130         arguments A and DA.
55131         (__sin): Adjust.
55132         (__cos): Likewise.
55134         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55135         (__cos): Likewise.
55136         (sloww1): Don't adjust sign of DX.
55137         (csloww1): Likewise.
55138         (sloww2): Use X directly and don't adjust sign of DX.
55139         (csloww2): Likewise.
55141 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55143         * math/auto-libm-test-in: Add tests of cabs and carg.
55144         * math/auto-libm-test-out: Regenerated.
55145         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55146         (carg_test_data): Likewise.
55147         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55148         mpc_c_f.
55149         (func_calc_desc): Add mpc_c_f union field.
55150         (test_functions): Add cabs and carg.
55151         (calc_generic_results): Handle mpc_c_f.
55153         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55154         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55155         as a macro and a compat symbol.
55156         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55157         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55158         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55159         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55160         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55161         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55162         not use .hidden.
55163         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55164         Likewise.
55165         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55166         Likewise.
55167         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55168         Likewise.
55169         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55170         Likewise.
55171         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55172         Likewise.
55173         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55174         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55175         from GLIBC_2.3.2.
55177 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55181 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55183         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55184         trailing whitespace removed.
55185         * scripts/config.guess: Update to version 2013-11-29.
55186         * scripts/config.sub: Update to version 2013-10-01.
55188         * math/auto-libm-test-in: Add tests of sincos.
55189         * math/auto-libm-test-out: Regenerated.
55190         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55191         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55192         mpfr_f_11.
55193         (func_calc_desc): Add mpfr_f_11 union field.
55194         (test_functions): Add sincos.
55195         (calc_generic_results): Handle mpfr_f_11.
55196         * sysdeps/i386/fpu/libm-test-ulps: Update.
55197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55199 2013-12-19  Andreas Schwab  <schwab@suse.de>
55201         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55202         CALL_MCOUNT.
55203         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55204         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55205         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55207 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55209         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55210         * sysdeps/i386/fpu/libm-test-ulps: Update.
55211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55213         [BZ #16293]
55214         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55215         round-to-nearest mode when using frndint.
55216         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55217         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55218         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55219         Likewise.
55220         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
55221         sinh test to fail.
55222         * math/auto-libm-test-out: Regenerated.
55223         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55224         (TEST_COND_x86): Likewise.
55225         (expm1_tonearest_test_data): New array.
55226         (expm1_test_tonearest): New function.
55227         (expm1_towardzero_test_data): New array.
55228         (expm1_test_towardzero): New function.
55229         (expm1_downward_test_data): New array.
55230         (expm1_test_downward): New function.
55231         (expm1_upward_test_data): New array.
55232         (expm1_test_upward): New function.
55233         (main): Run the new test functions.
55234         * sysdeps/i386/fpu/libm-test-ulps: Update.
55235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55237         * include/features.h: Update comment documenting feature test
55238         macros.  Mention _DEFAULT_SOURCE in comment.
55239         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55240         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55241         _BSD_SOURCE and _SVID_SOURCE.
55242         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55243         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55244         !_SVID_SOURCE]: Likewise.
55245         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55246         (__USE_POSIX_IMPLICITLY): Define.
55247         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55248         (_POSIX_SOURCE): Undefine and redefine.
55249         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55250         (_POSIX_C_SOURCE): Likewise.
55251         * manual/creature.texi (_DEFAULT_SOURCE): Document.
55252         (Feature Test Macros): Update documentation of default features.
55254 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55256         * benchtests/Makefile: Add bench-strtok.
55257         * benchtests/bench-strtok.c: New file: strtok benchtest.
55259 2013-12-19  Allan McRae  <allan@archlinux.org>
55261         * manual/install.texi: Suppress menu for plain text output.
55262         * INSTALL: Regenerated.
55264 2013-12-18  Brooks Moses  <bmoses@google.com>
55266         [BZ #15846]
55267         * misc/getauxval.c: Include errno.h.
55268         (__getauxval): Set errno to ENOENT if the requested type is not
55269         found.
55270         * misc/sys/auxv.h (getauxval): Document that it may set errno;
55271         don't declare with __attribute_const__.
55272         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55273         * manual/startup.texi: Document that getauxval sets errno.
55275 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55277         * math/auto-libm-test-in: Add tests of jn and yn.
55278         * math/auto-libm-test-out: Regenerated.
55279         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55280         (yn_test_data): Likewise.
55281         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55282         mpfr_if_f.
55283         (func_calc_desc): Add mpfr_if_f union field.
55284         (FUNC_mpfr_if_f): New macro.
55285         (test_functions): Add jn and yn.
55286         (calc_generic_results): Assert type of second input for
55287         mpfr_ff_f.  Handle mpfr_if_f.
55288         (output_for_one_input_case): Disable all checking for arguments
55289         fitting floating-point types in case of an integer argument.
55290         * sysdeps/i386/fpu/libm-test-ulps: Update.
55291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55294         Don't expect fegetround reference in libm.so.
55296 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55298         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
55299         $(config-cflags-nofma).
55301 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55303         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
55304         * math/auto-libm-test-out: Regenerated.
55306         [BZ #16338]
55307         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
55308         to determine exponent and adjust argument to have exponent of -1.
55309         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
55310         log2.
55311         * math/auto-libm-test-out: Regenerated.
55312         * sysdeps/i386/fpu/libm-test-ulps: Update.
55313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55315 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
55317         * manual/probes.texi: Remove cases when per-thread arenas are
55318         disabled.
55320 2013-12-18  Andreas Schwab  <schwab@suse.de>
55322         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
55323         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
55324         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
55325         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
55326         * sysdeps/i386/i686/multiarch/Makefile: Update.
55327         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
55329 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55331         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
55332         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
55334 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
55336         [BZ #15968]
55337         Support TZ transition times < 00:00:00.
55338         This is needed for version-3 tz-format files; it supports time
55339         stamps past 2037 for America/Godthab (the only entry in the tz
55340         database for which this change is relevant).
55341         * manual/time.texi (TZ Variable): Document transition times
55342         from -167:59:59 through -00:00:01.
55343         * time/tzset.c (tz_rule): Time of day is now signed.
55344         (__tzset_parse_tz): Parse negative time of day.
55346         Document TZ transition times >= 25:00:00.
55347         * manual/time.texi (TZ Variable): Document transition times from
55348         25:00:00 through 167:59:59.  These are already supported, and this
55349         support will help with version-3 tz-format files.
55351         * manual/time.texi (TZ Variable): Modernize North America example
55352         to reflect current (i.e., 2007-and-later) daylight saving rules.
55354         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
55356 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55358         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
55359         * sysdeps/unix/bsd/bits/stat.h: Likewise.
55360         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
55361         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55362         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
55363         * sysdeps/unix/bsd/bsdstat.h: Likewise.
55364         * sysdeps/unix/bsd/clock.c: Likewise.
55365         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
55366         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
55367         * sysdeps/unix/bsd/init-posix.c: Likewise.
55368         * sysdeps/unix/bsd/poll.c: Likewise.
55369         * sysdeps/unix/bsd/ptsname.c: Likewise.
55370         * sysdeps/unix/bsd/seekdir.c: Likewise.
55371         * sysdeps/unix/bsd/setegid.c: Likewise.
55372         * sysdeps/unix/bsd/seteuid.c: Likewise.
55373         * sysdeps/unix/bsd/setgid.c: Likewise.
55374         * sysdeps/unix/bsd/setrgid.c: Likewise.
55375         * sysdeps/unix/bsd/setruid.c: Likewise.
55376         * sysdeps/unix/bsd/setsid.c: Likewise.
55377         * sysdeps/unix/bsd/setuid.c: Likewise.
55378         * sysdeps/unix/bsd/sigaction.c: Likewise.
55379         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
55380         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
55381         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
55382         * sysdeps/unix/bsd/telldir.c: Likewise.
55383         * sysdeps/unix/bsd/times.c: Likewise.
55384         * sysdeps/unix/bsd/usleep.c: Likewise.
55386         * misc/Makefile (install-lib): Remove libbsd-compat.a.
55387         ($(objpfx)libbsd-compat.a): Remove rule.
55389         * include/features.h (__FAVOR_BSD): Do not define.
55390         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
55391         features conflicting with POSIX.
55392         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
55393         (_BSD_SOURCE): Remove description of not being a subset of other
55394         feature test macros.
55395         * manual/job.texi (getpgrp): Do not document BSD version.
55396         (getpgid): Do not document by reference to BSD getpgrp.
55397         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
55398         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
55399         * signal/signal.h [__FAVOR_BSD]: Likewise.
55400         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
55401         instead of making contents conditional on [__FAVOR_BSD].
55402         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
55404 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55408 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55410         [BZ #16314]
55411         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
55412         values below 2**-450, not 2**-500.
55413         * math/auto-libm-test-in: Don't allow spurious underflow from
55414         hypot.
55415         * math/auto-libm-test-out: Regenerated.
55417         [BZ #16316]
55418         [BZ #16330]
55419         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
55420         values of ha and hb and sort them after adjusting subnormal
55421         arguments.
55422         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
55423         Likewise.
55424         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
55425         values of ea and eb and sort them after adjusting subnormal
55426         arguments.
55427         * math/auto-libm-test-in: Do not expect some hypot tests of
55428         subnormals to fail.  Add more hypot tests.
55429         * math/auto-libm-test-out: Regenerated.
55431 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55433         [BZ #13304]
55434         * sysdeps/sh/s_fma.c: New file.
55435         * sysdeps/sh/s_fmaf.c: New file.
55436         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
55437         version.
55438         * sysdeps/sh/Implies: Add sh/soft-fp.
55440 2013-12-16  Roland McGrath  <roland@hack.frob.com>
55442         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
55443         level of indirection to members `objname', `errstring', `malloced'.
55444         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
55445         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
55446         it as the __longjmp argument (just pass 1 instead).
55447         (_dl_catch_error): Initialize C with argument pointers and address of
55448         volatile local ERRCODE rather than copying values out of C at return.
55450 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
55452         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
55453         * math/auto-libm-test-out: Regenerated.
55454         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
55455         (hypot_test_data): Likewise.
55456         (pow_test_data): Likewise.
55457         (pow_tonearest_test_data): Likewise.
55458         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55459         mpfr_ff_f.
55460         (func_calc_desc): Add mpfr_ff_f union field.
55461         (FUNC_mpfr_ff_f): New macro.
55462         (test_functions): Add atan2, hypot and pow.
55463         (special_fill_min): New function.
55464         (special_fill_minus_min): Likewise.
55465         (special_fill_min_subnorm): Likewise.
55466         (special_fill_minus_min_subnorm): Likewise.
55467         (special_real_inputs): Add min, -min, min_subnorm and
55468         -min_subnorm.
55469         (calc_generic_results): Handle mpfr_ff_f.
55470         * sysdeps/i386/fpu/libm-test-ulps: Update.
55471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55473 2013-12-16  Will Newton  <will.newton@linaro.org>
55475         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
55476         (Aligned Memory Blocks): Add documentation for aligned_alloc
55477         and suggest it as an alternative to posix_memalign.
55478         (Hooks for Malloc): Document __memalign_hook is also called
55479         for aligned_alloc.  (Summary of Malloc): Add summary for
55480         aligned alloc.  Document __memalign_hook is also called
55481         for aligned_alloc.
55483 2013-12-16  Will Newton  <will.newton@linaro.org>
55485         * manual/memory.texi (Malloc Examples): Clarify default
55486         alignment documentation.  Suggest posix_memalign rather
55487         than memalign or valloc.
55488         (Aligned Memory Blocks): Remove suggestion to use memalign
55489         or valloc.  Remove obsolete comment about BSD.
55490         Document memalign errno values and mark the function obsolete.
55491         Document posix_memalign returned error codes.  Mark valloc
55492         as obsolete.  (Hooks for Malloc): __memalign_hook is also
55493         called for posix_memalign and valloc.
55494         (Summary of Malloc): Add posix_memalign to function summary.
55495         __memalign_hook is also called for posix_memalign and valloc.
55497 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55499         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
55500         TAYLOR_SIN.
55501         (__sin): Adjust.
55502         (__cos): Likewise.
55503         (sloww): Use mynumber union.  Expand ternary operator into
55504         if-else statements.
55505         (cslow): use mynumber union.
55507 2013-12-16  Allan McRae  <allan@archlinux.org>
55509         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
55510         * configure: Regenerated.
55512         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
55514         [BZ #14120]
55515         * configure.ac: Added --enable-maintainer-mode. Check for
55516         autoconf when enabled.
55517         * configure: Regenerated.
55519         * nscd/nscd.service: New file.
55520         * nscd/nscd.tmpfiles: New file.
55522 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
55524         [BZ #12100]
55525         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
55526         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
55527         * sysdeps/x86_64/multiarch/strstr.c: ... here.
55528         (strstr): Add __strstr_sse2_unaligned ifunc.
55529         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
55530         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
55531         (strcasestr): Remove __strcasestr_sse42 ifunc.
55532         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
55533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55536 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55538         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
55539         * sysdeps/sh/bits/fenv.h: ... here.
55540         * sysdeps/sh/sh4/fpu/bits: Remove directory.
55542 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55544         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
55546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
55547         hypotf multiarch implementations.
55548         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
55549         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
55550         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
55551         multiarch hypot for PPC64.
55552         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
55553         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
55554         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
55555         multiarch hypotf for PPC64.
55557         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
55558         modff multiarch implementations.
55559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
55560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
55561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
55562         multiarch modf for PPC64.
55563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
55564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
55565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
55566         multiarch modff for PPC64.
55568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
55569         and logl multiarch implementations.
55570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
55571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
55572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
55573         multiarch logb for PPC64.
55574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
55575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
55576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
55577         multiarch logb for PPC64.
55578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
55579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
55580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
55581         multiarch logb for PPC64.
55583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
55584         isinff multiarch implementation.
55585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
55586         file.
55587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
55588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
55589         multiarch isinf for PPC64.
55590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
55591         file.
55592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
55593         multiarch isinff for PPC64.
55595         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
55596         finitef multiarch implementation.
55597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
55598         file.
55599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
55600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
55601         multiarch finite for PPC64.
55602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55603         file.
55604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
55605         multiarch finitef for PPC64.
55607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
55608         lrint multiarch implementation.
55609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
55610         file.
55611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
55612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
55613         multiarch llrint for PPC64.
55614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
55615         multiarch lrint for PPC64.
55617         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
55618         copysignf multiarch implementation.
55619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
55620         file.
55621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
55622         file.
55623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55624         multiarch copysign for PPC64.
55625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55626         multiarch copysignf for PPC64.
55628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55629         multiarch implementation.
55630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55631         file.
55632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55633         file.
55634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55635         file.
55636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55637         file.
55638         multiarch llround for PPC64.
55639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55640         multiarch trunc for PPC64.
55641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55642         multiarch truncf for PPC64.
55644         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55645         multiarch implementation.
55646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55647         file.
55648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55649         file.
55650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55651         file.
55652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55653         file.
55654         multiarch llround for PPC64.
55655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55656         multiarch round for PPC64.
55657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55658         multiarch roundf for PPC64.
55660         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55661         multiarch implementation.
55662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55663         file.
55664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55665         file.
55666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55667         file.
55668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55669         file.
55670         multiarch llround for PPC64.
55671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55672         multiarch floor for PPC64.
55673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55674         multiarch floorf for PPC64.
55676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55677         multiarch implementation.
55678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55679         file.
55680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55681         file.
55682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
55683         file.
55684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
55685         file.
55686         multiarch llround for PPC64.
55687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
55688         multiarch ceil for PPC64.
55689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
55690         multiarch ceilf for PPC64.
55692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55693         multiarch implementation.
55694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
55695         file.
55696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
55697         file.
55698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
55699         file.
55700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
55701         multiarch llround for PPC64.
55702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
55703         multiarch lround for PPC64.
55705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55706         multiarch implementation.
55707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
55708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
55709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
55710         file.
55711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
55712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
55713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
55714         multiarch isnan for PPC64.
55715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
55716         multiarch isnanf for PPC64.
55718         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
55719         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
55720         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
55721         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55722         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
55723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
55725         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
55726         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55727         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
55731         multiarch implementations.
55732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55733         (__libc_ifunc_impl_list): Likewise.
55734         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
55735         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55736         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
55737         multiarch stpcpy for PPC64.
55739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
55740         multiarch implementations.
55741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55742         (__libc_ifunc_impl_list): Likewise.
55743         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
55744         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
55745         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
55746         multiarch strcpy for PPC64.
55748         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
55749         redefine function name.
55750         (_wordcopy_fwd_dest_aligned): Likewise.
55751         (_wordcopy_bwd_aligned): Likewise.
55752         (_wordcopy_bwd_dest_aligned): Likewise.
55753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
55754         multiarch implementations.
55755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55756         (__libc_ifunc_impl_list): Likewise.
55757         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
55758         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
55759         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
55760         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
55761         multiarch wcscpy for PPC64.
55763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
55764         multiarch implementations.
55765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55766         (__libc_ifunc_impl_list): Likewise.
55767         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
55768         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
55769         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
55770         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
55771         multiarch wcscpy for PPC64.
55773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55774         multiarch implementations.
55775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55776         (__libc_ifunc_impl_list): Likewise.
55777         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
55778         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
55779         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
55780         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
55781         multiarch wcsrchr for PPC64.
55783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
55784         multiarch implementations.
55785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55786         (__libc_ifunc_impl_list): Likewise.
55787         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
55788         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
55789         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
55790         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
55791         multiarch wcschr for PPC64.
55793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
55794         multiarch implementations.
55795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55796         (__libc_ifunc_impl_list): Likewise.
55797         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
55798         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
55799         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
55800         multiarch strchrnul for PPC64.
55802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
55803         implementations.
55804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55805         (__libc_ifunc_impl_list): Likewise.
55806         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
55807         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
55808         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
55809         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
55810         strchr for PPC64.
55812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
55813         implementations.
55814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55815         (__libc_ifunc_impl_list): Likewise.
55816         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
55817         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
55818         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
55819         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
55820         strncmp for PPC64.
55822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
55823         multiarch implementations.
55824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55825         (__libc_ifunc_impl_list): Likewise.
55826         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55827         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
55828         strncasecmp for PPC64.
55829         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
55830         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
55831         multiarch strncasecmp_l for PPC64.
55833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
55834         multiarch implementations.
55835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55836         (__libc_ifunc_impl_list): Likewise.
55837         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
55838         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
55839         multiarch strcasecmp for PPC64.
55840         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
55841         file.
55842         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
55843         multiarch strcasecmp_l for PPC64.
55845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
55846         implementations.
55847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55848         (__libc_ifunc_impl_list): Likewise.
55849         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
55850         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
55851         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
55852         strnlen for PPC64.
55854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
55855         implementations.
55856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55857         (__libc_ifunc_impl_list): Likewise.
55858         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
55859         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
55860         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
55861         strlen for PPC64.
55863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
55864         implementations.
55865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55866         (__libc_ifunc_impl_list): Likewise.
55867         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
55868         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
55869         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
55870         rawmemrchr for PPC64.
55872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
55873         implementation.
55874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55875         (__libc_ifunc_impl_list): Likewise.
55876         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
55877         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
55878         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
55879         memrchr for PPC64.
55881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
55882         implementation.
55883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55884         (__libc_ifunc_impl_list): Likewise.
55885         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
55886         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
55887         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
55888         memchr for PPC64.
55890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
55891         implementation.
55892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55893         (__libc_ifunc_impl_list): Likewise.
55894         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
55895         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
55896         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
55897         mempcpy for PPC64.
55899         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
55900         avoid cretion of __bzero symbol.
55901         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
55902         Likewise.
55903         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
55904         Likewise.
55905         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
55906         Likewise.
55907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
55908         multiarch implementations.
55909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55910         (__libc_ifunc_impl_list): Likewise.
55911         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
55912         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
55913         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
55914         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
55915         bzero for PPC32.
55916         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
55917         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
55918         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
55919         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
55920         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
55921         memset for PPC64.
55922         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
55924         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
55925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
55926         implementations.
55927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55928         (__libc_ifunc_impl_list): Likewise.
55929         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
55930         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
55931         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
55932         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
55933         memcmp for PPC64.
55935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
55936         multiarch for POWER/PPC64.
55937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
55938         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
55939         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
55940         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
55941         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
55942         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
55943         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
55944         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
55945         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
55946         memcpy for PPC64.
55948         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
55949         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
55950         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
55951         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
55952         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
55953         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
55954         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
55955         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
55956         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
55957         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
55958         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
55959         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
55960         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
55961         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
55962         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
55963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
55964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
55965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
55966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
55967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
55968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
55969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
55971 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55973         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
55975 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55977         * benchtests/Makefile (bench): Add exp2 and log2.
55978         (LDLIBS-bench-exp2): Add -lm.
55979         (LDLIBS-bench-log2): Likewise.
55980         * benchtests/exp2-inputs: New inputs file.
55981         * benchtests/log2-inputs: New inputs file.
55982         * benchtests/log-inputs: Add new inputs.
55983         * benchtests/tan-inputs: Likewise.
55985 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55987         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
55988         definition...
55989         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
55990         (csloww2): ... from here.
55992         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
55993         instead of structures.
55994         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
55995         (POLYNOMIAL): Likewise.
55996         (TAYLOR_SLOW): Likewise.
55997         (__sin): Likewise.
55998         (__cos): Likewise.
55999         (slow1): Likewise.
56000         (slow2): Likewise.
56001         (sloww): Likewise.
56002         (sloww1); Likewise.
56003         (sloww2): Likewise.
56004         (bsloww1): Likewise.
56005         (bsloww2): Likewise.
56006         (cslow2): Likewise.
56007         (csloww): Likewise.
56008         (csloww1): Likewise.
56009         (csloww2): Likewise.
56011 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
56013         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56014         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56015         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56016         * malloc/hooks.c (realloc_check): Likewise.
56018         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56019         * malloc/arena.c: Remove PER_THREAD conditional.
56020         [!PER_THREAD]: Remove code.
56021         (ptmalloc_unlock_all2): Likewise.
56022         (ptmalloc_init): Likewise.
56023         (_int_new_arena): Likewise.
56024         (arena_get2): Likewise.
56025         * malloc/hooks.c (__malloc_get_state): Likewise.
56026         (__malloc_set_state): Likewise.
56027         * malloc/malloc.c: Likewise.
56028         (struct malloc_state): Likewise.
56029         (struct malloc_par): Likewise.
56030         (__libc_realloc): Likewise.
56031         (__libc_mallopt): Likewise.
56033 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56035         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56037 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
56039         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56040         macro to a function.  Check for zero perturb_byte.
56041         (_int_malloc, _int_free): Remove zero perturb_byte checks.
56043         * malloc/malloc.c: (force_reg): Remove.
56044         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56045         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56046         force_reg by atomic_forced_read.
56047         * malloc/arena.c (ptmalloc_init): Likewise.
56048         * malloc/hooks.c (top_check): Likewise.
56050 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56054 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
56056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56058 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
56060         * math/auto-libm-test-in: Add tests of lgamma.
56061         * math/auto-libm-test-out: Regenerated.
56062         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56063         (M_LOG_2_SQRT_PIl): Likewise.
56064         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56065         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56066         mpfr_f_f1.
56067         (func_calc_desc): Add mpfr_f_f1 union field.
56068         (ARGS1): New macro.
56069         (ARGS2): Likewise.
56070         (ARGS3): Likewise.
56071         (ARGS4): Likewise.
56072         (RET1): Likewise.
56073         (RET2): Likewise.
56074         (CALC): Likewise.
56075         (FUNC): Likewise.
56076         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56077         (test_functions): Add lgamma.
56078         (calc_generic_results): Handle mpfr_f_f1.
56079         * sysdeps/i386/fpu/libm-test-ulps: Update.
56080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56082 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56084         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56085         __mpn_add_n for PowerPC64/POWER7.
56086         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56087         __mpn_sub_n for PowerPC64/POWER7.
56089         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56090         __mpn_addmul_1 for PowerPC64.
56091         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56092         __mpn_submul_1 for PowerPC64.
56093         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56094         for PowerPC64.
56095         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56096         for PowerPC64.
56098 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56100         [BZ #15089]
56101         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56103 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56105         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56107         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56108         add multiarch folders.
56109         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56110         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56111         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56112         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56113         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56114         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56115         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56116         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56117         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56118         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56119         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56128         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56130         New file.
56131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56132         New file.
56133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56134         multiarch __ieee754_hypot for PowerPC32.
56135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56136         New file.
56137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56138         New file.
56139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56140         multiarch __ieee754_hypotf for PowerPC32.
56142         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56143         long_double_symbol only if __logbl is defined.
56144         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56145         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56146         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56147         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56148         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56149         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56150         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56151         path for implementation.
56152         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56153         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56155         logb, and logbl multiarch implementations for PowerPC32.
56156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56157         file.
56158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56159         file.
56160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56161         multiarch logb for PowerPC32.
56162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56163         file.
56164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56165         file.
56166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56167         multiarch logbf for PowerPC32.
56168         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56170         file.
56171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56172         multiarch logbl implementation for PowerPC32.
56174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56175         and modff multiarch implementations.
56176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56177         New file.
56178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56179         New file.
56180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56181         multiarch modf for PowerPC32.
56182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56183         New file.
56184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56185         New file.
56186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56187         multiarch modff for PowerPC32.
56189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56190         and lrintf multiarch implementations.
56191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56192         New file.
56193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56194         New file.
56195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56196         multiarch lrint for PowerPC32.
56197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56198         file: multiarch lrintf for PowerPC32.
56200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56201         and lroundf multiarch implementations.
56202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56203         New file.
56204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56205         New file.
56206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56207         New file.
56208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56209         multiarch lround for PowerPC32.
56210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56211         file: multiarch lroundf for PowerPC32.
56213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56214         copysign and copysignf multiarch implementations.
56215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56216         New file.
56217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56218         New file.
56219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56220         file: multiarch copysign for PowerPC32.
56221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56222         file: multiarch copysignf for PowerPC32.
56224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56225         and truncf multiarch implementations.
56226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56227         New file.
56228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56229         file.
56230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56231         multiarch trunc for PowerPC32.
56232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56233         New file.
56234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56235         New file.
56236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56237         multiarch truncf for PowerPC32.
56239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56240         and roundf multiarch implementations.
56241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56242         New file.
56243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56244         file.
56245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56246         multiarch round for PowerPC32.
56247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56248         New file.
56249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56250         New file.
56251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56252         multiarch roundf for PowerPC32.
56254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56255         and floorf multiarch implementations.
56256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56257         New file.
56258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56259         file.
56260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56261         multiarch floor for PowerPC32.
56262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56263         New file.
56264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56265         New file.
56266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56267         multiarch floorf for PowerPC32.
56269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56270         and ceilf multiarch implementations.
56271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56272         New file.
56273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56274         file.
56275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56276         multiarch ceil for PowerPC32.
56277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56278         New file.
56279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56280         file.
56281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56282         multiarch ceilf for PowerPC32.
56284         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56285         is defined.
56286         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56287         FINITEF is defined.
56288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56289         and finitef multiarch implementations.
56290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56291         New file.
56292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
56293         file.
56294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
56295         multiarch finite for PowerPC32.
56296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
56297         New file.
56298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
56299         file: multiarch finitef for PowerPC32.
56301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
56302         and isinff multiarch implementations.
56303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
56304         file.
56305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
56306         file.
56307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
56308         multiarch isinf for PowerPC32.
56309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
56310         New file.
56311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
56312         multiarch isinff for PowerPC32.
56314         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
56315         alias when __isnan is defined.
56316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
56317         and isnanf multiarch implementations.
56318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
56319         file.
56320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
56321         file.
56322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
56323         file.
56324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
56325         file.
56326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
56327         multiarch isnan for PowerPC32.
56328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
56329         New file.
56330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
56331         New file.
56332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
56333         multiarch isnanf for PowerPC32.
56335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
56336         and sqrtf multiarch implementations.
56337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
56338         file.
56339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
56340         file.
56341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
56342         multiarch sqrt for PowerPC32.
56343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
56344         file.
56345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
56346         file.
56347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
56348         multiarch sqrtf for PowerPC32.
56350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
56351         and llroundf multiarch implementations.
56352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
56353         New file.
56354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
56355         New file.
56356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
56357         New file.
56358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
56359         file: multiarch llround for PowerPC32.
56360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
56361         file: multiarch llroundf for PowerPC32.
56363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
56364         multiarch PowerPC32 fpu implementations.
56365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
56366         New file.
56367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
56368         New file.
56369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
56370         multiarch llrint for PowerPC32.
56371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
56372         New file.
56373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
56374         New file.
56375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
56376         file.
56378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
56380         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
56381         file.
56382         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
56383         file.
56384         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
56385         file.
56386         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
56387         multiarch wordcopy for PPC32.
56388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56389         wordcopy objects.
56390         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56391         (__libc_ifunc_impl_list): Likewise.
56392         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
56393         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
56394         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
56395         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
56396         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
56397         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
56399         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
56400         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
56401         file.
56402         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
56403         file.
56404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
56405         file.
56406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
56407         multiarch wcscpy for PPC32.
56408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56409         multiarch objects.
56410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56411         (__libc_ifunc_impl_list): Likewise.
56412         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56413         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56414         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
56415         sysdeps/powerpc/power6/wcscpy.c.
56417         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
56418         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
56419         file.
56420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
56421         file.
56422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
56423         file.
56424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
56425         multiarch wcsrchr for PPC32.
56426         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56427         multiarch objects.
56428         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56429         (__libc_ifunc_impl_list): Likewise.
56430         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56431         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56432         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
56433         sysdeps/powerpc/power6/wcsrchr.c.
56435         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
56436         file.
56437         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
56438         file.
56439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
56440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
56441         multiarch wcschr for PPc32.
56442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56443         multiarch objects.
56444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56445         (__libc_ifunc_impl_list): Likewise.
56446         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
56447         * sysdeps/powerpc/power6/wcschr.c: ... to here.
56448         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
56449         sysdeps/powerpc/power6/wcschr.c.
56451         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
56452         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
56453         file.
56454         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
56455         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
56456         file: multiarch strchr for PPC32.
56457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
56458         multiarch objects.
56459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56460         (__libc_ifunc_impl_list): Likewise.
56462         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
56463         name.
56464         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
56465         file.
56466         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
56467         file.
56468         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
56469         multiarch strchrnul for PPC32.
56470         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
56471         multiarch objects.
56472         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56473         (__libc_ifunc_impl_list): Likewise.
56475         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
56476         file.
56477         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
56478         multiarch strncasecmp for PPC32.
56479         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
56480         file.
56481         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
56482         multiarch strncasecmp_l for PPC32.
56483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
56484         strncasecmp multiarch objects.
56485         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56486         (__libc_ifunc_impl_list): Likewise.
56488         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
56489         file.
56490         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
56491         multiarch strncasecmp for PPC32.
56492         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
56493         New file.
56494         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
56495         multiarch strcasecmp_l for PPC32.
56496         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
56497         multiarch objects.
56498         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56499         (__libc_ifunc_impl_list): Likewise.
56501         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
56502         file.
56503         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
56504         file.
56505         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
56506         multiarch strncmp for PPC32.
56507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
56508         multiarch objects.
56509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56510         (__libc_ifunc_impl_list): Likewise.
56512         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
56513         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
56514         file.
56515         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
56516         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
56517         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
56518         multiarch objects.
56519         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56520         (__libc_ifunc_impl_list): Likewise.
56522         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
56523         file.
56524         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
56525         file.
56526         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
56527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
56528         multiarch objects.
56529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56530         (__libc_ifunc_impl_list): Likewise.
56532         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
56533         file.
56534         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
56535         file.
56536         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
56537         multiarch rawmemchr for PPC32.
56538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
56539         multiarch objects.
56540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56541         (__libc_ifunc_impl_list): Likewise.
56543         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
56544         file.
56545         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
56546         file.
56547         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
56548         file: memrchr multiarch for PPC32.
56549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
56550         multiarch objects.
56551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56552         (__libc_ifunc_impl_list): Likewise.
56554         * string/memchr.c (__memchr): Using macro to redefine symbol name.
56555         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
56556         file.
56557         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
56558         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
56559         multiarch memchr for PPC32.
56560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
56561         multiarch objects.
56562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56563         (__libc_ifunc_impl_list): Likewise.
56565         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
56566         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
56567         file.
56568         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
56569         file.
56570         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
56571         file: multiarch mempcpy for PPC32.
56572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
56573         multiarch objects.
56574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56575         (__libc_ifunc_impl_list): Likewise.
56577         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
56578         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
56579         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
56580         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
56581         multiarch bzero for PPC32.
56582         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
56583         file.
56584         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
56585         file.
56586         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
56587         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
56588         file: multiarch memset for PPC32.
56589         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
56590         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
56591         memset multiarch objects.
56592         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56593         (__libc_ifunc_impl_list): Likewise.
56595         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
56596         file.
56597         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
56598         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
56599         memcmp for PPC32.
56600         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
56602         multiarch objects.
56603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56604         (__libc_ifunc_impl_list): Likewise.
56606         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
56607         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
56608         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
56609         file.
56610         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
56611         file.
56612         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
56613         file.
56614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
56615         multiarch memcpy for PPC32.
56616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
56617         multiarch objects.
56618         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56619         (__libc_ifunc_impl_list): Likewise.
56621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
56622         support multiarch for POWER/PPC32.
56623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56624         Likewise.
56625         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56627         Implies file to make multiarch folder appers before the fpu and
56628         default folder for power4 configuration.
56630 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56632         * scripts/bench.pl: Append volatile keyword to type.
56634 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56636         * sysdeps/sh/sotruss-lib.c: New file.
56637         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56639 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56643 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56645         [BZ #6810]
56646         * math/w_tgamma.c: Include <errno.h>.
56647         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56648         * math/w_tgammaf.c: Include <errno.h>.
56649         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56650         * math/w_tgammal.c: Include <errno.h>.
56651         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56652         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56653         underflow.  Add more tgamma tests.
56654         * math/auto-libm-test-out: Regenerated.
56655         * sysdeps/i386/fpu/libm-test-ulps: Update.
56656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56658         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56659         sin, sinh, tan, tanh, tgamma, y0 and y1.
56660         * math/auto-libm-test-out: Regenerated.
56661         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56662         (TEST_COND_x86): Likewise.
56663         (M_E2l): Remove macro.
56664         (M_E3l): Likewise.
56665         (M_2_SQRT_PIl): Likewise.
56666         (M_SQRT_PIl): Likewise.
56667         (M_1_DIV_El): Likewise.
56668         (log_test_data): Use AUTO_TESTS_f_f.
56669         (log10_test_data): Likewise.
56670         (log1p_test_data): Likewise.
56671         (log2_test_data): Likewise.
56672         (sin_test_data): Likewise.
56673         (sin_tonearest_test_data): Likewise.
56674         (sin_towardzero_test_data): Likewise.
56675         (sin_downward_test_data): Likewise.
56676         (sin_upward_test_data): Likewise.
56677         (sinh_test_data): Likewise.
56678         (sinh_tonearest_test_data): Likewise.
56679         (sinh_towardzero_test_data): Likewise.
56680         (sinh_downward_test_data): Likewise.
56681         (sinh_upward_test_data): Likewise.
56682         (tan_test_data): Likewise.
56683         (tan_tonearest_test_data): Likewise.
56684         (tan_towardzero_test_data): Likewise.
56685         (tan_downward_test_data): Likewise.
56686         (tan_upward_test_data): Likewise.
56687         (tanh_test_data): Likewise.
56688         (tgamma_test_data): Likewise.
56689         (y0_test_data): Likewise.
56690         (y1_test_data): Likewise.
56691         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
56692         (special_real_inputs): Add pi/4.
56693         * sysdeps/i386/fpu/libm-test-ulps: Update.
56694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56696 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56698         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
56699         "longjmp_target" static probes.
56700         (__longjmp): Rename to __longjmp_symbol.
56701         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56702         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
56703         on which longjmp to generate.
56704         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56705         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
56706         probe.
56707         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56708         (__sigjmp_save): Rename to __sigjmp_save_symbol.
56709         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
56710         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
56711         and __sigjmp_save_symbol based on which sigsetjmp to generated.
56712         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
56714         __longjmp_symbol based on which __longjmp to generate.
56715         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
56716         probe.
56717         (setjmp): Rename to setjmp_symbol.
56718         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56719         (_setjmp): Rename to _setjmp_symbol.
56720         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56721         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
56722         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
56723         which setjmp to generate.
56724         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
56725         "longjmp_target" static probes.
56727 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56729         * benchtests/README: Add note about output arguments.
56730         * benchtests/bench-sincos.c: Remove file.
56731         * benchtests/sincos-inputs: New file.
56732         * scripts/bench.pl: Identify output arguments and define
56733         static variables for them.
56735         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
56737         [BZ #15941]
56738         * Makefile (INSTALL): Add install-plain.texi as the primary
56739         dependency.
56740         * manual/install-plain.texi: New file.
56741         * manual/install.texi: Include node directive only for
56742         non-plaintext output.
56744 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
56746         * stdlib/longlong.h: Update from GCC.
56748         [BZ #6807]
56749         [BZ #15901]
56750         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56751         * math/w_j0f.c (y0f): Likewise.
56752         * math/w_j0l.c (__y0l): Likewise.
56753         * math/w_j1.c (y1): Likewise.
56754         * math/w_j1f.c (y1f): Likewise.
56755         * math/w_j1l.c (__y1l): Likewise.
56756         * math/w_jn.c (yn): Likewise.
56757         * math/w_jnf.c (ynf): Likewise.
56758         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
56759         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
56760         value for Bessel function domain errors outside _SVID_ mode.
56761         Adjust sign of return value for yn (negative integer, 0).
56762         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
56763         by zero in return for negative x and set sign appropriately for
56764         negative n.
56765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
56766         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56767         * math/libm-test.inc (y0_test_data): Add more tests and adjust
56768         expectations in error cases.
56769         (y1_test_data): Likewise.
56770         (yn_test_data): Likewise.
56771         * sysdeps/i386/fpu/libm-test-ulps: Update.
56772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56774 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56776         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
56777         "64" to "64-v1".  Add "64-v2".
56778         (abi-64-options): Rename to ...
56779         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
56780         (abi-64-condition): Rename to ...
56781         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
56782         (abi-64-ld-soname): Rename to ...
56783         (abi-64-v1-ld-soname): ... this.
56784         (abi-64-v2-options): Define.
56785         (abi-64-v2-condition): Likewise.
56786         (abi-64-v2-ld-soname): Likewise.
56787         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
56788         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
56789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
56791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
56793 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56794             Alan Modra  <amodra@gmail.com>
56796         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
56797         New versions for use with the ELFv2 ABI.
56798         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56799         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
56800         declaration.
56801         (struct La_ppc64v2_retval): Likewise.
56802         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
56803         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
56804         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
56805         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
56806         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
56807         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56808         Do not save or restore CR.
56809         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
56810         (_dl_profile_resolve): Do no save or restore CR.  Support extended
56811         return values for ELFv2 ABI.  Fix location of FPR return registers.
56812         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
56813         updated values for _CALL_ELF == 2.
56814         (La_regs, La_retval, int_retval): Likewise.
56816 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56818         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
56819         (FRAME_MIN_SIZE_PARM): Likewise.
56820         (FRAME_BACKCHAIN): Likewise.
56821         (FRAME_CR_SAVE): Likewise.
56822         (FRAME_LR_SAVE): Likewise.
56823         (FRAME_TOC_SAVE): Likewise.
56824         (FRAME_PARM_SAVE): Likewise.
56825         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
56826         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
56827         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56828         (call_mcount_parm_offset): New macro.
56829         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
56830         (PROF): Use symbolic stack frame offsets.
56831         (TAIL_CALL_SYSCALL_ERROR): Likewise.
56832         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
56833         Redefine in terms of FRAME_MIN_SIZE.
56834         (_dl_runtime_resolve): Use symbolic stack frame offsets.
56835         (_dl_profile_resolve): Likewise.  Update comment.
56836         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
56837         symbols stack frame offsets.
56838         (__sigsetjmp): Likewise.
56839         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
56840         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
56841         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
56842         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
56844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
56845         (FRAME_BACKCHAIN): Remove.
56846         (FRAME_CR_SAVE): Likewise.
56847         (FRAME_LR_SAVE): Likewise.
56848         (FRAME_COMPILER_DW): Likewise.
56849         (FRAME_LINKER_DW): Likewise.
56850         (FRAME_TOC_SAVE): Likewise.
56851         (FRAME_PARM_SAVE): Likewise.
56852         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
56853         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
56854         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
56856         (CHECK_SP): Use symbolic stack frame offsets.
56857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
56858         zone" instead of caller's parameter save area for temp storage.
56859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56860         Likewise.  Also, use symbolic stack frame offsets.
56861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
56862         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
56863         our own stack frame instead of the caller's.
56864         (__socket): Use symbolic stack frame offsets.
56866 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56867             Alan Modra  <amodra@gmail.com>
56869         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
56870         Define.
56871         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
56872         (PPC64_LOCAL_ENTRY_OFFSET): Define.
56873         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
56874         New function.
56875         (elf_machine_fixup_plt): Call it.
56876         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
56877         reloc arguments.
56878         (elf_machine_rela): Update call to elf_machine_plt_conflict.
56879         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56880         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
56881         r2 before calling target.
56883 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56884             Alan Modra  <amodra@gmail.com>
56886         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
56887         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
56888         versions of macros to support ELFv2 ABI.
56889         (LOCALENTRY): New macro.
56890         (ENTRY, EALIGN): Use it.
56891         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
56892         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
56893         fall through into ENTRY entry point.
56894         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
56895         Only define if _CALL_ELF != 2.
56897         (elf_machine_matches_host): Verify ABI version matches.
56898         (RTLD_START): Use LOCALENTRY.
56899         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
56900         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
56901         (PLT_ENTRY_WORDS): New macro.
56902         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
56903         (elf_machine_runtime_setup): Support ELFv2 ABI.
56904         (elf_machine_fixup_plt): Likewise.
56905         (elf_machine_plt_conflict): Likewise.
56906         (resolve_ifunc): Likewise.
56907         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56908         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56909         Likewise.
56910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
56911         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
56912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56913         (makecontext): Support ELFv2 ABI.
56914         * elf/elf.h (EF_PPC64_ABI): Define.
56916 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56918         * sysdeps/powerpc/powerpc64/sysdep.h
56919         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
56920         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
56921         (ENTRY) [ASSEMBLER]: ... but instead here ...
56922         (EALIGN) [ASSEMBLER]: ... and here.
56923         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
56924         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
56925         (ENTRY_2) [!ASSEMBLER]: Use it.
56926         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
56927         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
56928         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56929         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
56930         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
56931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
56932         Use PPC64_LOAD_FUNCPTR.
56934         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
56936 2013-12-04  Alan Modra  <amodra@gmail.com>
56938         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
56939         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
56940         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
56941         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
56943         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
56944         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
56945         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
56946         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
56947         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
56948         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
56950 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56953         (__makecontext): Fix incorrect CFI when backtracing out of
56954         context created via makecontext.
56955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
56956         (__setcontext): Fix incorrect CFI during switch to new context.
56957         (__novec_setcontext): Likewise.
56959 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56961         [BZ #4772]
56962         * time/strptime_l.c (__strptime_internal): Allow modifiers
56963         in strptime.
56964         * time/tst-strptime.c (day_tests): Add testcase.
56966 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56968         * scripts/bench.pl: Skip over blank lines.
56970 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
56972         [BZ #926]
56973         * manual/time.texi (Calendar Time): Clarify what timezone functions
56974         use.
56976 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56980 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56982         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
56983         implementation.
56984         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
56985         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
56986         * debug/memset_chk.c (__memset_chk): Likewise.
56987         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
56988         * debug/strncpy_chk.c: Likewise.
56990 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56992         [BZ #15268]
56993         [BZ #15425]
56994         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
56995         (__ieee754_exp): For possibly underflowing results, check size of
56996         result and force underflow exception if required.
56997         * math/auto-libm-test-in: Add more tests of exp.
56998         * math/auto-libm-test-out: Regenerated.
56999         * sysdeps/i386/fpu/libm-test-ulps: Update.
57000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57002         [BZ #16283]
57003         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57004         * math/w_exp2f.c (__exp2f): Likewise.
57005         * math/w_exp2l.c (__exp2l): Likewise.
57006         * math/auto-libm-test-in: Do not allow missing errno on exp2
57007         underflow.
57008         * math/auto-libm-test-out: Regenerated.
57010 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
57012         [BZ #16274]
57013         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57014         handle filename validation.
57015         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57016         (do_open): Delete.
57018 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57020         [BZ #6786]
57021         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57022         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57023         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57024         <float.h>.
57025         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57026         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57027         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57028         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57029         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57030         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57031         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57032         * math/auto-libm-test-in: Don't allow missing errno from erfc.
57033         Add more erfc tests.
57034         * math/auto-libm-test-out: Regenerated.
57035         * sysdeps/i386/fpu/libm-test-ulps: Update.
57036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57038         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57039         exp2, expm1, j0 and j1.
57040         * math/auto-libm-test-out: Regenerated.
57041         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57042         (erfc_test_data): Likewise.
57043         (exp_test_data): Likewise.
57044         (exp_tonearest_test_data): Likewise.
57045         (exp_towardzero_test_data): Likewise.
57046         (exp_downward_test_data): Likewise.
57047         (exp_upward_test_data): Likewise.
57048         (exp10_test_data): Likewise.
57049         (exp2_test_data): Likewise.
57050         (expm1_test_data): Likewise.
57051         (j0_test_data): Likewise.
57052         (j1_test_data): Likewise.
57053         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57054         (input_flag_type): Add flag_xfail_rounding.
57055         (input_flags): Add xfail-rounding.
57056         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57057         (output_for_one_input_case): Handle flag_xfail_rounding.
57058         * sysdeps/i386/fpu/libm-test-ulps: Update.
57059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57061 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57063         [BZ #16289]
57064         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57065         division by 0.
57067 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57069         [BZ #16195]
57070         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57071         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57072         (STAP_PROBE0): New macro.
57073         (STAP_PROBE1): Likewise.
57074         (STAP_PROBE2): Likewise.
57075         (STAP_PROBE3): Likewise.
57076         (STAP_PROBE4): Likewise.
57078 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57080         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57082 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57084         * benchtests/Makefile (bench): Add sqrt.
57085         (LDLIBS-bench-sqrt): New.
57086         * benchtests/sqrt-input: New.
57088 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57090         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57091         (GAIH_EAI): Likewise.
57092         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57093         (gaih_inet): Likewise.
57094         (getaddrinfo): Don't use GAIH_EAI.
57096         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57097         (struct gaih): Remove definition.
57099 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57101         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57102         Use HERRNOP directly.
57104 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57108 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57110         * math/gen-auto-libm-tests.c (test_functions): Add more
57111         single-argument functions.
57112         (special_fill_pi_2): New function.
57113         (special_fill_minus_pi_2): Likewise.
57114         (special_fill_pi_6): Likewise.
57115         (special_fill_minus_pi_6): Likewise.
57116         (special_fill_pi_3): Likewise.
57117         (special_fill_2pi_3): Likewise.
57118         (special_fill_e): Likewise.
57119         (special_fill_1_e): Likewise.
57120         (special_fill_e_minus_1): Likewise.
57121         (special_real_inputs): Add more special inputs.
57122         (output_for_one_input_case): Do not require ERANGE on underflow to
57123         zero if round-to-nearest result does not underflow to zero, unless
57124         exact results required.
57125         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57126         atan, atanh, cbrt, cos and cosh.
57127         * math/auto-libm-test-out: Regenerated.
57128         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57129         (acos_tonearest_test_data): Likewise.
57130         (acos_towardzero_test_data): Likewise.
57131         (acos_downward_test_data): Likewise.
57132         (acos_upward_test_data): Likewise.
57133         (acosh_test_data): Likewise.
57134         (asin_test_data): Likewise.
57135         (asin_tonearest_test_data): Likewise.
57136         (asin_towardzero_test_data): Likewise.
57137         (asin_upward_test_data): Likewise.
57138         (asinh_test_data): Likewise.
57139         (atan_test_data): Likewise.
57140         (atanh_test_data): Likewise.
57141         (cbrt_test_data): Likewise.
57142         (cos_test_data): Likewise.
57143         (cos_tonearest_test_data): Likewise.
57144         (cos_towardzero_test_data): Likewise.
57145         (cos_downward_test_data): Likewise.
57146         (cos_upward_test_data): Likewise.
57147         (cosh_test_data): Likewise.
57148         (cosh_tonearest_test_data): Likewise.
57149         (cosh_towardzero_test_data): Likewise.
57150         (cosh_downward_test_data): Likewise.
57151         (cosh_upward_test_data): Likewise.
57152         * sysdeps/i386/fpu/libm-test-ulps: Update.
57153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57155 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57157         [BZ #6787]
57158         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57159         * math/w_exp10f.c (__exp10f): Likewise.
57160         * math/w_exp10l.c (__exp10l): Likewise.
57161         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57162         errno settings in existing tests.
57164         [BZ #14032]
57165         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57166         precision control set to double precision.
57167         * sysdeps/i386/fpu/w_sqrt.c: New file.
57168         * math/auto-libm-test-in: Add more tests.
57169         * math/auto-libm-test-out: Update.
57171         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57172         (sqrt_test_tonearest): New function.
57173         (sqrt_towardzero_test_data): New variable.
57174         (sqrt_test_towardzero): New function.
57175         (sqrt_downward_test_data): New variable.
57176         (sqrt_test_downward): New function.
57177         (sqrt_upward_test_data): New variable.
57178         (sqrt_test_upward): New function.
57179         (main): Call the new functions.
57181         * math/gen-auto-libm-tests.c: New file.
57182         * math/auto-libm-test-in: Likewise.
57183         * math/auto-libm-test-out: New generated file.
57184         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57185         variables.
57186         (%beautify): Add generated representations of zero.
57187         (top level): Set $auto_input and call parse_auto_input.
57188         (beautify): Remove trailing "f" from hex float constants.
57189         (parse_args): Handle XFAIL_TEST.
57190         (convert_condition): New function.
57191         (or_value): Likewise.
57192         (or_cond_value): Likewise.
57193         (generate_testfile): Handle AUTO_TESTS_* lines.
57194         (parse_auto_input): New function.
57195         * math/libm-test.inc (XFAIL_TEST): New macro.
57196         (ERRNO_UNCHANGED): Update value.
57197         (ERRNO_EDOM): Likewise.
57198         (ERRNO_ERANGE): Likewise.
57199         (IGNORE_RESULT): Likewise.
57200         (TEST_COND_flt_32): New macro.
57201         (TEST_COND_dbl_64): Likewise.
57202         (TEST_COND_ldbl_96_intel): Likewise.
57203         (TEST_COND_ldbl_96_m68k): Likewise.
57204         (TEST_COND_ldbl_128): Likewise.
57205         (TEST_COND_ldbl_128ibm): Likewise.
57206         (TEST_COND_long32): Likewise.
57207         (TEST_COND_long64): Likewise.
57208         (TEST_COND_before_rounding): Likewise.
57209         (TEST_COND_after_rounding): Likewise.
57210         (enable_test): Handle XFAIL_TEST flag.
57211         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57212         with finite results.
57213         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57214         auto-libm-test-out.
57216 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57217             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57219         [BZ #16214]
57220         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57221         __tls_get_addr_internal instead of __tls_get_offset in order to
57222         avoid GOT pointer dependency.  Make rtld export
57223         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57224         __tls_get_addr since we are a __tls_get_offset platform.
57225         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57226         GOT pointer being set up before.
57227         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57229 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
57231         * manual/math.texi (Errors in Math Functions): Document accuracy
57232         goals.
57234         [BZ #15004]
57235         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57236         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57237         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57238         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57239         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57240         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57241         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57242         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57243         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57244         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57245         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57246         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57247         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57248         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57249         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57250         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57252         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57253         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57254         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57255         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57256         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57257         Likewise.
57258         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57259         Likewise.
57260         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57261         Likewise.
57262         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57263         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57264         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57265         atomic-feupdateenv and flt-rounds.
57266         * sysdeps/powerpc/nofpu/Versions (libc): Add
57267         __atomic_feholdexcept, __atomic_feclearexcept,
57268         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57269         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57270         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57271         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57272         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57273         here.
57274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57275         Update.
57277         * manual/arith.texi (FP Exceptions): Document that exceptions may
57278         not be raised when matherr is used.
57279         (Math Error Reporting): Document overflow in directed rounding
57280         modes.  Document that errno may not be set when finite values are
57281         returned on overflow.  Document intent to set errno on underflow
57282         only for underflow to zero.
57284         [BZ #16271]
57285         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57286         round-to-nearest then adjust result for other rounding modes.
57287         * include/fenv.h (fegetround): Use libm_hidden_proto.
57288         * math/fegetround.c (fegetround): Use libm_hidden_def.
57289         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57290         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57291         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57292         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
57293         Likewise.
57294         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
57295         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57296         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
57297         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
57299 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57301         [BZ #16077]
57302         * nss/Versions (libnss_files): Add
57303         _nss_files_gethostbyname3_r.
57304         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
57305         New function.
57306         (HOST_DB_LOOKUP): Remove macro.
57307         (_nss_files_gethostbyname_r): Implement function without the
57308         HOST_DB_LOOKUP macro.
57309         (_nss_files_gethostbyname2_r): Likewise.
57311 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
57313         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
57315 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
57317         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
57318         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
57319         warning.
57321 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57323         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
57324         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
57325         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57326         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
57327         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
57328         __fe_nomask_env_priv and attribute_hidden.
57329         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
57330         (libc_feupdateenv_test_ppc): Likewise.
57331         (libc_feresetround_ppc): Likewise.
57332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57333         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
57334         compat_symbol macro.
57335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57336         (__fe_nomask_env): Likewise.
57337         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
57339 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57341         * string/Makefile: Remove ifunc tests.
57342         * string/test-string.h: Define TEST_IFUNC.
57343         * string/test-bcopy-ifunc.c: Remove.
57344         * string/test-bzero-ifunc.c: Likewise.
57345         * string/test-memccpy-ifunc.c: Likewise.
57346         * string/test-memchr-ifunc.c: Likewise.
57347         * string/test-memcmp-ifunc.c: Likewise.
57348         * string/test-memcpy-ifunc.c: Likewise.
57349         * string/test-memmem-ifunc.c: Likewise.
57350         * string/test-memmove-ifunc.c: Likewise.
57351         * string/test-mempcpy-ifunc.c: Likewise.
57352         * string/test-memrchr-ifunc.c: Likewise.
57353         * string/test-memset-ifunc.c: Likewise.
57354         * string/test-rawmemchr-ifunc.c: Likewise.
57355         * string/test-stpcpy-ifunc.c: Likewise.
57356         * string/test-stpncpy-ifunc.c: Likewise.
57357         * string/test-strcasecmp-ifunc.c: Likewise.
57358         * string/test-strcasestr-ifunc.c: Likewise.
57359         * string/test-strcat-ifunc.c: Likewise.
57360         * string/test-strchr-ifunc.c: Likewise.
57361         * string/test-strchrnul-ifunc.c: Likewise.
57362         * string/test-strcmp-ifunc.c: Likewise.
57363         * string/test-strcpy-ifunc.c: Likewise.
57364         * string/test-strcspn-ifunc.c: Likewise.
57365         * string/test-strlen-ifunc.c: Likewise.
57366         * string/test-strncasecmp-ifunc.c: Likewise.
57367         * string/test-strncat-ifunc.c: Likewise.
57368         * string/test-strncmp-ifunc.c: Likewise.
57369         * string/test-strncpy-ifunc.c: Likewise.
57370         * string/test-strnlen-ifunc.c: Likewise.
57371         * string/test-strpbrk-ifunc.c: Likewise.
57372         * string/test-strrchr-ifunc.c: Likewise.
57373         * string/test-strspn-ifunc.c: Likewise.
57374         * string/test-strstr-ifunc.c: Likewise.
57376 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57378         * benchtests/Makefile: Remove ifunc tests.
57379         * benchtests/bench-string.h: Define TEST_IFUNC.
57380         * benchtests/bench-bcopy-ifunc.c: Remove.
57381         * benchtests/bench-bzero-ifunc.c: Likewise.
57382         * benchtests/bench-memccpy-ifunc.c: Likewise.
57383         * benchtests/bench-memchr-ifunc.c: Likewise.
57384         * benchtests/bench-memcmp-ifunc.c: Likewise.
57385         * benchtests/bench-memcpy-ifunc.c: Likewise.
57386         * benchtests/bench-memmem-ifunc.c: Likewise.
57387         * benchtests/bench-memmove-ifunc.c: Likewise.
57388         * benchtests/bench-mempcpy-ifunc.c: Likewise.
57389         * benchtests/bench-memrchr-ifunc.c: Likewise.
57390         * benchtests/bench-memset-ifunc.c: Likewise.
57391         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
57392         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
57393         * benchtests/bench-stpcpy-ifunc.c: Likewise.
57394         * benchtests/bench-stpncpy-ifunc.c: Likewise.
57395         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
57396         * benchtests/bench-strcasestr-ifunc.c: Likewise.
57397         * benchtests/bench-strcat-ifunc.c: Likewise.
57398         * benchtests/bench-strchr-ifunc.c: Likewise.
57399         * benchtests/bench-strchrnul-ifunc.c: Likewise.
57400         * benchtests/bench-strcmp-ifunc.c: Likewise.
57401         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
57402         * benchtests/bench-strcpy-ifunc.c: Likewise.
57403         * benchtests/bench-strcspn-ifunc.c: Likewise.
57404         * benchtests/bench-strlen-ifunc.c: Likewise.
57405         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
57406         * benchtests/bench-strncat-ifunc.c: Likewise.
57407         * benchtests/bench-strncmp-ifunc.c: Likewise.
57408         * benchtests/bench-strncpy-ifunc.c: Likewise.
57409         * benchtests/bench-strnlen-ifunc.c: Likewise.
57410         * benchtests/bench-strpbrk-ifunc.c: Likewise.
57411         * benchtests/bench-strrchr-ifunc.c: Likewise.
57412         * benchtests/bench-strsep-ifunc.c: Likewise.
57413         * benchtests/bench-strspn-ifunc.c: Likewise.
57414         * benchtests/bench-strstr-ifunc.c: Likewise.
57416 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57418         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
57420 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57422         * resolv/netdb.h: Use __glibc_reserved instead __unused.
57423         * rt/aio.h: Likewise.
57424         * sysdeps/gnu/bits/utmp.h: Likewise.
57425         * sysdeps/gnu/bits/utmpx.h: Likewise.
57426         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57427         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
57428         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
57429         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
57430         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
57431         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
57432         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
57433         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
57434         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
57435         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
57436         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
57437         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
57438         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
57439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
57440         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57441         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
57442         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
57443         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
57444         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
57445         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
57446         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
57447         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
57448         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
57449         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57450         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
57451         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57452         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
57453         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
57454         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
57455         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
57456         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
57457         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
57458         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
57459         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
57460         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
57461         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
57462         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
57463         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
57464         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
57465         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
57466         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
57467         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57469 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
57471         [BZ #16245]
57472         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
57473         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
57475 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
57477         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
57478         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
57479         Likewise.
57481 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57483         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
57484         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
57485         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
57486         (__fesetround): Remove define.
57487         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
57488         rounding and exceptions handling.
57489         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
57490         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
57491         (__fe_nomask_env): Likewise.
57492         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
57493         __fegetround instead of fegetround.
57494         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57495         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
57497 2013-11-21  Roland McGrath  <roland@hack.frob.com>
57499         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
57500         it's there.
57502         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
57504 2013-11-21  Meador Inge  <meadori@codesourcery.com>
57506         [BZ #11157]
57507         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
57508         (encrypt_r): Likewise.
57509         * malloc/obstack.h (obstack_free): Likewise.
57510         * posix/unistd.h (encrypt): Likewise.
57512 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
57514         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
57515         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
57516         DL_CALL_DT_FINI() that call the functions directly.
57517         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
57518         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
57519         * elf/dl-fini.c: Likewise.
57521 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
57523         * malloc/hooks.c (memalign_check): Add alignment rounding.
57524         * malloc/malloc.c (_mid_memalign): New function.
57525         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
57526         Implement by calling _mid_memalign.
57527         * manual/probes.texi (Memory Allocation Probes): Remove
57528         memory_valloc_retry and memory_pvalloc_retry.
57530 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57532         * locale/programs/locarchive.c (open_archive): Add const
57533         qualifier to ARCHIVEFNAME and copy default fname to
57534         DEFAULT_FNAME.
57536         [BZ #15601]
57537         * libio/tst-widetext.input: Rename Oriya to Odia.
57538         * locale/iso-639.def: Likewise.
57540         * manual/probes.texi (Mathematical Function Probes): Add
57541         documentation for sin, cos, asin and acos probes.
57542         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
57543         (__sin32): Add slowasin probe.
57544         (__cos32): Add slowacos probe.
57545         (__mpsin): Add slowsin probe.
57546         (__mpcos): Add slowcos probe.
57548 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
57550         [BZ #15483]
57551         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
57552         thread-local __sim_exceptions_thread and global
57553         __sim_exceptions_global.
57554         (__sim_disabled_exceptions): Change to thread-local
57555         __sim_disabled_exceptions_thread and global
57556         __sim_disabled_exceptions_global.
57557         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57558         and global __sim_round_mode_global.
57559         (__simulate_exceptions): Use thread-local floating-point state and
57560         set global state from it as needed.
57561         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
57562         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
57563         __sim_round_mode_thread.
57564         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
57565         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
57566         and global __sim_exceptions_global.
57567         (__sim_disabled_exceptions): Change to thread-local
57568         __sim_disabled_exceptions_thread and global
57569         __sim_disabled_exceptions_global.
57570         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57571         and global __sim_round_mode_global.
57572         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
57573         (SIM_SET_GLOBAL): Likewise.
57574         * sysdeps/powerpc/soft-fp/sfp-machine.h
57575         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
57576         __sim_round_mode_thread.
57577         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
57578         __sim_disabled_exceptions_thread.
57579         (__sim_exceptions): Change to __sim_exceptions_thread.
57580         (__sim_disabled_exceptions): Change to
57581         __sim_disabled_exceptions_thread.
57582         (__sim_round_mode): Change to __sim_round_mode_thread.
57583         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
57584         thread-local floating-point state and set global state from it as
57585         needed.
57586         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
57587         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
57588         (__sim_disabled_exceptions): Remove extern declaration.
57589         (feenableexcept): Use thread-local floating-point state and set
57590         global state from it as needed.
57591         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
57592         extern declaration.
57593         (__sim_disabled_exceptions): Likewise.
57594         (__sim_round_mode): Likewise.
57595         (__fegetenv): Use thread-local floating-point state.
57596         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
57597         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57598         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
57599         floating-point state and set global state from it as needed.
57600         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
57601         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
57602         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
57603         Likewise.
57604         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
57605         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
57606         Likewise.
57607         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
57608         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
57609         Use __sim_round_mode_thread.
57610         * math/test-fenv-tls.c: New file.
57611         * math/Makefile (tests): Add test-fenv-tls.
57612         ($(objpfx)test-fenv-tls): Depend on
57613         $(common-objpfx)nptl/libpthread.so.
57615 2013-11-19  Andreas Schwab  <schwab@suse.de>
57617         * locale/programs/locale.c (show_info): Decode wordarray elements.
57618         * locale/categories.def (LC_MONETARY): Add element for
57619         _NL_MONETARY_CRNCYSTR.
57620         * locale/C-monetary.c (conversion_rate): New variable.
57621         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
57622         element.
57624 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
57626         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57627         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57629 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57631         * elf/Makefile (tst-auxv): New test.
57632         * elf/tst-auxv.c: New
57633         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57635 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57637         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57638         (hidden_proto): Caller changed.
57639         (hidden_tls_proto): New macro.
57640         (libc_hidden_tls_proto): Likewise.
57641         (rtld_hidden_tls_proto): Likewise.
57642         (libm_hidden_tls_proto): Likewise.
57643         (libresolv_hidden_tls_proto): Likewise.
57644         (librt_hidden_tls_proto): Likewise.
57645         (libdl_hidden_tls_proto): Likewise.
57646         (libnss_files_hidden_tls_proto): Likewise.
57647         (libnsl_hidden_tls_proto): Likewise.
57648         (libnss_nisplus_hidden_tls_proto): Likewise.
57649         (libutil_hidden_tls_proto): Likewise.
57651 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57653         [BZ #10253]
57654         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57655         (decompose_rpath): Defer expansion to fillin_rpath.
57656         (_dl_init_paths): Pass linkmap to fillin_rpath.
57658 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57660         * benchtests/Makefile: Add strsep.
57661         * benchtests/bench-strsep.c: New file: strsep benchtest.
57662         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57664 2013-11-18  Andreas Schwab  <schwab@suse.de>
57666         * locale/programs/locale.c (show_info) [case byte]: Check for
57667         '\377' instead of '\177'.
57668         * locale/C-monetary.c (not_available): Always use "\377".
57669         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57670         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57671         detect unavailable sign_posn locale elements.
57672         * locale/localeconv.c (__localeconv): For grouping and
57673         mon_grouping handle "\177" and "\377" like no grouping.
57674         (INT_ELEM): New macro.  Use it to set all numeric members.
57675         * locale/programs/ld-monetary.c (monetary_read)
57676         <tok_mon_grouping>: Normalize single -1 to the empty string.
57677         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57678         Likewise.
57680 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57682         [BZ #16055]
57683         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
57684         when we match (nil).
57685         * stdio-common/tst-sscanf.c (struct test): Add testcase.
57687 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
57689         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
57690         (NO_TEST_INLINE): Update value.
57691         (ERRNO_UNCHANGED): Likewise.
57692         (ERRNO_EDOM): Likewise.
57693         (ERRNO_ERANGE): Likewise.
57694         (IGNORE_RESULT): Likewise.
57695         (check_float_internal): Check signs of NaN results if
57696         TEST_NAN_SIGN used.
57697         (check_complex): Pass TEST_NAN_SIGN flag through to second
57698         check_float_internal call.
57699         (copysign_test_data): Add tests with quiet NaNs as second
57700         argument.  Use TEST_NAN_SIGN.
57701         (fabs_test_data): Add test of negative quiet NaN argument.  Use
57702         TEST_NAN_SIGN.
57703         (signbit_test_data): Add tests of quiet NaN argument.
57704         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
57706         * math/gen-libm-test.pl (show_exceptions): Take extra argument
57707         $ignore_result.
57708         (parse_args): Handle function results specified as IGNORE.
57709         * math/libm-test.inc (IGNORE_RESULT): New macro.
57710         (check_float_internal): Do not check numerical result if flag
57711         IGNORE_RESULT set.
57712         (check_complex): Pass through IGNORE_RESULT to second
57713         check_float_internal call.
57714         (check_int): Do not check numerical result if flag IGNORE_RESULT
57715         set.
57716         (check_long): Likewise.
57717         (check_bool): Likewise.
57718         (check_longlong): Likewise.
57719         (lrint_test_data): Add tests of infinite and NaN arguments.
57720         (lrint_tonearest_test_data): Likewise.
57721         (lrint_towardzero_test_data): Likewise.
57722         (lrint_downward_test_data): Likewise.
57723         (lrint_upward_test_data): Likewise.
57724         (llrint_test_data): Likewise.
57725         (llrint_tonearest_test_data): Likewise.
57726         (llrint_towardzero_test_data): Likewise.
57727         (llrint_downward_test_data): Likewise.
57728         (llrint_upward_test_data): Likewise.
57729         (lround_test_data): Likewise.
57730         (llround_test_data): Likewise.
57732         * math/libm-test.inc (NO_TEST_INLINE): New macro.
57733         (ERRNO_UNCHANGED): Update value.
57734         (ERRNO_EDOM): Likewise.
57735         (ERRNO_ERANGE): Likewise.
57736         (NO_TEST_INLINE_FLOAT): New macro.
57737         (NO_TEST_INLINE_DOUBLE): Likewise.
57738         (enable_test): New function.
57739         (RUN_TEST_f_f): Check enable_test before running test.
57740         (RUN_TEST_2_f): Likewise.
57741         (RUN_TEST_fff_f): Likewise.
57742         (RUN_TEST_c_f): Likewise.
57743         (RUN_TEST_f_f1): Likewise.
57744         (RUN_TEST_fF_f1): Likewise.
57745         (RUN_TEST_fI_f1): Likewise.
57746         (RUN_TEST_ffI_f1): Likewise.
57747         (RUN_TEST_c_c): Likewise.
57748         (RUN_TEST_cc_c): Likewise.
57749         (RUN_TEST_f_i): Likewise.
57750         (RUN_TEST_f_i_tg): Likewise.
57751         (RUN_TEST_ff_i_tg): Likewise.
57752         (RUN_TEST_f_b): Likewise.
57753         (RUN_TEST_f_b_tg): Likewise.
57754         (RUN_TEST_f_l): Likewise.
57755         (RUN_TEST_f_L): Likewise.
57756         (RUN_TEST_fFF_11): Likewise.
57757         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
57758         conditionals.
57759         (cosh_test_data): Likewise.
57760         (exp_test_data): Likewise.
57761         (expm1_test_data): Likewise.
57762         (hypot_test_data): Likewise.
57763         (pow_test_data): Likewise.
57764         (sinh_test_data): Likewise.
57765         (tanh_test_data): Likewise.
57766         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
57767         flags argument.
57769         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
57770         tests with quiet NaN input and output.
57771         (acosh_test_data): Likewise.
57772         (asin_test_data): Likewise.
57773         (asinh_test_data): Likewise.
57774         (atan_test_data): Likewise.
57775         (atanh_test_data): Likewise.
57776         (atan2_test_data): Likewise.
57777         (cbrt_test_data): Likewise.
57778         (cos_test_data): Likewise.
57779         (cosh_test_data): Likewise.
57780         (erf_test_data): Likewise.
57781         (erfc_test_data): Likewise.
57782         (exp_test_data): Likewise.
57783         (exp10_test_data): Likewise.
57784         (exp2_test_data): Likewise.
57785         (expm1_test_data): Likewise.
57786         (hypot_test_data): Likewise.
57787         (j0_test_data): Likewise.
57788         (j1_test_data): Likewise.
57789         (jn_test_data): Likewise.
57790         (lgamma_test_data): Likewise.
57791         (log_test_data): Likewise.
57792         (log10_test_data): Likewise.
57793         (log1p_test_data): Likewise.
57794         (log2_test_data): Likewise.
57795         (pow_test_data): Likewise.
57796         (scalb_test_data): Likewise.
57797         (sin_test_data): Likewise.
57798         (sincos_test_data): Likewise.
57799         (sinh_test_data): Likewise.
57800         (tan_test_data): Likewise.
57801         (tanh_test_data): Likewise.
57802         (tgamma_test_data): Likewise.
57803         (y0_test_data): Likewise.
57804         (y1_test_data): Likewise.
57805         (yn_test_data): Likewise.
57807         [BZ #16167]
57808         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
57809         argument being NaN and avoid computations with second argument in
57810         that case.
57811         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57812         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
57813         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57815 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
57817         * locale/iso-639.def: Add Chitwani Tharu (the).
57819 2013-11-14  Andreas Schwab  <schwab@suse.de>
57821         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
57822         word instead of empty string.
57824 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57827         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
57828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57829         (__fe_nomask_env): Likewise.
57831 2013-11-13  Steve Ellcey  <sellcey@mips.com>
57833         * benchtests/bench-timing.h: Include time.h.
57835 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
57837         [BZ #15997]
57838         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
57839         to 3.4.0 for x32.
57840         * sysdeps/unix/sysv/linux/configure: Regenerated.
57842 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
57844         [BZ #16151]
57845         * stdlib/strtod_l.c (round_and_return): Do not consider
57846         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
57847         exponent one less than half the least subnormal exponent.
57848         * stdlib/test-strtod-round-data: Add more tests.
57849         * stdlib/tst-strtod-round.c (tests): Regenerated.
57851 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57853         [BZ #14143]
57854         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
57855         (__fe_mask_env): Likewise.
57856         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
57857         libm_hidden_proto and add function prototype.
57858         (__fe_mask_env): Add function prototype.
57859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57860         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57862         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
57863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57864         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
57866 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57868         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
57869         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
57871 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57873         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
57874         of htab_find_slot().
57876 2013-11-11  David S. Miller  <davem@davemloft.net>
57878         [BZ #16150]
57879         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
57880         symbol in the non-vis3 case in static builds.
57881         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
57882         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
57883         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
57884         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
57886 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
57888         [BZ #387]
57889         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
57890         it is empty.
57892 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57894         * benchtests/Makefile: Add bench-strtod.
57895         * benchtests/bench-strtod.c: New file: strtod benchtest
57897 2013-11-11  Andreas Schwab  <schwab@suse.de>
57899         [BZ #16153]
57900         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
57901         terminating NUL in key length.
57903 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57905         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57906         Add artificial ODP entry for vDSO symbol for PPC64.
57907         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
57908         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
57910 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57912         [BZ #15374]
57913         * nss/getent.c (services_keys): Recognize services starting with digit.
57915 2013-11-06  David S. Miller  <davem@davemloft.net>
57917         [BZ #15985]
57918         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
57919         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
57921 2013-11-06  Will Newton  <will.newton@linaro.org>
57923         * manual/memory.texi (Malloc Examples): Remove register
57924         keyword from examples.
57926 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
57928         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
57930 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
57932         [BZ #6981]
57933         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
57934         depending on [__GCC_IEC_559 > 0].
57935         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
57936         depending on [__GCC_IEC_559_COMPLEX > 0].
57938 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
57940         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
57941         to iso-639.def.
57943 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
57945         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
57947 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
57949         [BZ #16112]
57950         * malloc/malloc (malloc_info): Do not handle first bin as
57951         special case.
57953 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
57955         * locale/iso-639.def: Add Central Nahuatl (nhn).
57957 2013-11-01  Bruno Haible  <bruno@clisp.org>
57959         [BZ #7003]
57960         * manual/math.texi (BSD Random): Specify range upper bound as
57961         in POSIX.
57963 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
57965         * locale/iso-639.def: Add Meadow Mari (mhr).
57967 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
57969         [BZ #14752], [BZ #15763]
57970         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
57971         Validate name.
57972         * rt/tst_shm.c: Add test for escaping directory.
57974 2013-10-31  Andreas Schwab  <schwab@suse.de>
57976         [BZ #15917]
57977         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
57978         followed by 'x' as part of digit sequence.
57979         * stdio-common/tst-sscanf.c (double_tests2): New tests.
57981 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
57983         [BZ #16037]
57984         * configure.ac: allow GNU Make 4.0 and greater.
57985         * configure: Regenerated.
57987 2013-10-30  Will Newton  <will.newton@linaro.org>
57989         [BZ #16038]
57990         * malloc/hooks.c (memalign_check): Limit alignment to the
57991         maximum representable power of two.
57992         * malloc/malloc.c (__libc_memalign): Likewise.
57993         * malloc/tst-memalign.c (do_test): Add test for very
57994         large alignment values.
57995         * malloc/tst-posix_memalign.c (do_test): Likewise.
57997 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57999         [BZ #11087]
58000         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58001         (munmap_chunk): Likewise.
58002         (mremap_chunk): Likewise.
58004 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58006         [BZ #15799]
58007         * stdlib/div.c (div): Remove obsolete code.
58008         * stdlib/ldiv.c (ldiv): Likewise.
58009         * stdlib/lldiv.c (lldiv): Likewise.
58011 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58013         [BZ #16071]
58014         * nss/nss_files/files-XXX.c (get_contents_ret): New
58015         enumerator.
58016         (get_contents): New function.
58017         (internal_getent): Use it.  Expand size of LINEBUFLEN.
58019 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
58021         * configure.in: Moved to ...
58022         * configure.ac: ... here. Change reference to configure.in
58023         to configure.ac.
58024         * sysdeps/arm/preconfigure.ac: ... here.
58025         configure.in to configure.ac.
58026         * sysdeps/gnu/configure.in: Moved to ...
58027         * sysdeps/gnu/configure.ac: ... here.
58028         * sysdeps/i386/configure.in: Moved to ...
58029         * sysdeps/i386/configure.ac: ... here.
58030         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58031         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58032         * sysdeps/mach/configure.in: Moved to ...
58033         * sysdeps/mach/configure.ac: ... here.
58034         * sysdeps/mach/hurd/configure.in: Moved to ...
58035         * sysdeps/mach/hurd/configure.ac: ... here.
58036         * sysdeps/powerpc/configure.in: Moved to ...
58037         * sysdeps/powerpc/configure.ac: ... here.
58038         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58039         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58040         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58041         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58042         * sysdeps/s390/s390-32/configure.in: Moved to ...
58043         * sysdeps/s390/s390-32/configure.ac: ... here.
58044         * sysdeps/s390/s390-64/configure.in: Moved to ...
58045         * sysdeps/s390/s390-64/configure.ac: ... here.
58046         * sysdeps/sh/configure.in: Moved to ...
58047         * sysdeps/sh/configure.ac: ... here.
58048         * sysdeps/sparc/configure.in: Moved to ...
58049         * sysdeps/sparc/configure.ac: ... here.
58050         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58051         * sysdeps/unix/sysv/linux/configure.ac: ... here.
58052         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58053         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58054         * sysdeps/x86_64/configure.in: Moved to ...
58055         * sysdeps/x86_64/configure.ac: ... here.
58056         * sysdeps/x86_64/preconfigure.in: Moved to ...
58057         * sysdeps/x86_64/preconfigure.ac: ... here.
58058         * aclocal.m4: Change reference to configure.in to configure.ac.
58059         * config.h.in: Likewise.
58060         * manual/install.texi: Likewise.
58061         * manual/maint.texi: Likewise.
58062         * Makefile: Likewise.
58063         * malloc/Makefile: Likewise.
58064         * nscd/Makefile: Likewise.
58065         * Makeconfig: Change reference to configure.in and
58066         preconfigure.in to configure.ac and preconfigure.ac
58067         respectively.
58068         * INSTALL: Regenerated.
58069         * configure: Likewise.
58070         * sysdeps/gnu/configure: Likewise.
58071         * sysdeps/i386/configure: Likewise.
58072         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58073         * sysdeps/mach/configure: Likewise.
58074         * sysdeps/mach/hurd/configure: Likewise.
58075         * sysdeps/powerpc/configure: Likewise.
58076         * sysdeps/powerpc/powerpc32/configure: Likewise.
58077         * sysdeps/powerpc/powerpc64/configure: Likewise.
58078         * sysdeps/s390/s390-32/configure: Likewise.
58079         * sysdeps/s390/s390-64/configure: Likewise.
58080         * sysdeps/sh/configure: Likewise.
58081         * sysdeps/sparc/configure: Likewise.
58082         * sysdeps/unix/sysv/linux/configure: Likewise.
58083         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58084         * sysdeps/x86_64/configure: Likewise.
58085         * sysdeps/x86_64/preconfigure: Likewise.
58087 2013-10-29  Andreas Schwab  <schwab@suse.de>
58089         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58091 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58093         * benchtests/pow-inputs: Add new inputs.
58095         * benchtests/exp-inputs: Add new inputs.
58097         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58098         conditional check for return value.
58099         (__cos32): Likewise.
58101 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58103         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58104         to provide a boost for large inputs with word alignment.
58105         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58106         implementation based on optimized PPC64 strcpy.
58107         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58108         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58109         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58110         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58112 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58114         [BZ #2801]
58115         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58117 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58119         [BZ #14876]
58120         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58121         * time/tst-strptime.c (day_tests): Add testcase.
58123 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58125         [BZ #14029]
58126         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58128 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58130         [BZ #16074]
58131         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58132         MAP_FAILED on error.
58134 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58136         [BZ #16072]
58137         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58138         heap for large requests.
58140 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58142         [BZ #9954]
58143         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58144         result if the result has no associated interface.
58145         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58146         interface for all 127.X.Y.Z addresses.
58148 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58150         * locale/iso-639.def: Add Ligurian (lij)
58152 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58154         [BZ #15825]
58155         * sunrpc/rpc_main.c: Document rpcgen -5.
58157 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58159         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58161 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58163         [BZ #10278]
58164         * posix/glob.c: Match only directories when trailing slash is present.
58165         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58166         (main): Add testcase.
58168 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58170         [BZ #15670]
58171         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58173 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58175         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58176         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58177         AUTH_DES and cindex for FIPS 140-2.
58178         (DES Encryption): Add cindex FIPS 46-3.
58180         * locale/locarchive.h (struct locarhandle): Add fname.
58181         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58182         if an optional argument was specified to --list-archive,
58183         otherwise NULL.
58184         * locale/programs/locarchive.c (show_archive_content): Take new
58185         argument fname and pass it via ah.fname to open_archive.
58186         * locale/programs/localedef.h: Update decl.
58187         (open_archive): If AH->fname is non-null, open that file
58188         rather than the default file name, and don't ignore ENOENT.
58189         (create_archive): Set AH.fname to NULL.
58190         (delete_locales_from_archive): Likewise.
58191         (add_locales_to_archive): Likewise.
58192         * locale/programs/locfile.c (write_all_categories): Likewise.
58194 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
58195             Aldy Hernandez  <aldyh@redhat.com>
58197         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58198         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58199         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58200         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58201         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58202         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58203         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58204         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58205         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58206         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58207         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58208         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58209         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58210         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58211         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58212         Likewise.
58213         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58214         Likewise.
58215         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58216         Likewise.
58217         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58218         Likewise.
58219         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58220         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58221         Likewise.
58222         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58223         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58224         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58225         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58226         Likewise.
58227         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58228         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58229         * sysdeps/powerpc/preconfigure: Likewise.
58230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58231         Likewise.
58232         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58233         Replace contents of file by #include of <fenv_libc.h>.
58234         * sysdeps/powerpc/soft-fp/sfp-machine.h
58235         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58236         and <sys/prctl.h>.
58237         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58238         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58239         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58240         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58241         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58242         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58244         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58245         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58246         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58247         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58248         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58250         Allow copysignl PLT reference to be missing.
58252 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
58253             Joseph Myers  <joseph@codesourcery.com
58255         [BZ #15948]
58256         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58257         single character.
58258         (add_to_tablewc): Assert sequence of wide characters is nonempty.
58260 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58262         * elf/tst-tls-dlinfo.c: Don't include tls.h.
58263         * elf/tst-tls1.c: Likewise.
58264         * elf/tst-tls10.h: Likewise.
58265         * elf/tst-tls14.c: Likewise.
58266         * elf/tst-tls2.c: Likewise.
58267         * elf/tst-tls3.c: Likewise.
58268         * elf/tst-tls4.c: Likewise.
58269         * elf/tst-tls5.c: Likewise.
58270         * elf/tst-tls6.c: Likewise.
58271         * elf/tst-tls7.c: Likewise.
58272         * elf/tst-tls8.c: Likewise.
58273         * elf/tst-tls9.c: Likewise.
58274         * elf/tst-tlsmod1.c: Likewise.
58275         * elf/tst-tlsmod13.c: Likewise.
58276         * elf/tst-tlsmod13a.c: Likewise.
58277         * elf/tst-tlsmod14a.c: Likewise.
58278         * elf/tst-tlsmod16a.c: Likewise.
58279         * elf/tst-tlsmod16b.c: Likewise.
58280         * elf/tst-tlsmod2.c: Likewise.
58281         * elf/tst-tlsmod3.c: Likewise.
58282         * elf/tst-tlsmod4.c: Likewise.
58283         * elf/tst-tlsmod5.c: Likewise.
58284         * elf/tst-tlsmod6.c: Likewise.
58286 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
58288         [BZ #12486]
58289         * malloc/malloc.c: remove checks for statistics.
58291 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58293         [BZ #15277]
58294         * inet/inet_net.c (inet_network): Detect additional invalid strings.
58295         * inet/tst-network.c: Add testcase.
58297 2013-10-17  Andreas Schwab  <schwab@suse.de>
58299         [BZ #15218]
58300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
58301         to determine canonical name.
58303 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58305         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
58306         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
58307         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58308         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58309         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58310         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58311         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58312         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58313         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58314         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58315         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58316         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58317         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58318         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58319         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58320         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58321         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58322         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58323         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58324         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58325         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58327         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58328         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
58329         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
58330         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58331         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58332         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
58333         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58334         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
58335         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58336         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58337         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58338         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58339         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58340         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58341         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58342         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58343         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58344         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58345         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58346         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58347         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58348         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58349         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58350         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58351         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58352         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58353         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58354         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58355         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58356         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58357         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58358         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58359         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58360         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58361         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58362         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58364 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
58366         [BZ #16041]
58367         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
58368         make result into a quiet NaN.
58370 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
58372         * soft-fp/adddf3.c: Fix horizontal whitespace.
58373         * soft-fp/addsf3.c: Likewise.
58374         * soft-fp/addtf3.c: Likewise.
58375         * soft-fp/divdf3.c: Likewise.
58376         * soft-fp/divsf3.c: Likewise.
58377         * soft-fp/divtf3.c: Likewise.
58378         * soft-fp/double.h: Likewise.
58379         * soft-fp/eqdf2.c: Likewise.
58380         * soft-fp/eqsf2.c: Likewise.
58381         * soft-fp/eqtf2.c: Likewise.
58382         * soft-fp/extenddftf2.c: Likewise.
58383         * soft-fp/extended.h: Likewise.
58384         * soft-fp/extendsfdf2.c: Likewise.
58385         * soft-fp/extendsftf2.c: Likewise.
58386         * soft-fp/extendxftf2.c: Likewise.
58387         * soft-fp/fixdfdi.c: Likewise.
58388         * soft-fp/fixdfsi.c: Likewise.
58389         * soft-fp/fixdfti.c: Likewise.
58390         * soft-fp/fixsfdi.c: Likewise.
58391         * soft-fp/fixsfsi.c: Likewise.
58392         * soft-fp/fixsfti.c: Likewise.
58393         * soft-fp/fixtfdi.c: Likewise.
58394         * soft-fp/fixtfsi.c: Likewise.
58395         * soft-fp/fixtfti.c: Likewise.
58396         * soft-fp/fixunsdfdi.c: Likewise.
58397         * soft-fp/fixunsdfsi.c: Likewise.
58398         * soft-fp/fixunsdfti.c: Likewise.
58399         * soft-fp/fixunssfdi.c: Likewise.
58400         * soft-fp/fixunssfsi.c: Likewise.
58401         * soft-fp/fixunssfti.c: Likewise.
58402         * soft-fp/fixunstfdi.c: Likewise.
58403         * soft-fp/fixunstfsi.c: Likewise.
58404         * soft-fp/fixunstfti.c: Likewise.
58405         * soft-fp/floatdidf.c: Likewise.
58406         * soft-fp/floatdisf.c: Likewise.
58407         * soft-fp/floatditf.c: Likewise.
58408         * soft-fp/floatsidf.c: Likewise.
58409         * soft-fp/floatsisf.c: Likewise.
58410         * soft-fp/floatsitf.c: Likewise.
58411         * soft-fp/floattidf.c: Likewise.
58412         * soft-fp/floattisf.c: Likewise.
58413         * soft-fp/floattitf.c: Likewise.
58414         * soft-fp/floatundidf.c: Likewise.
58415         * soft-fp/floatundisf.c: Likewise.
58416         * soft-fp/floatunditf.c: Likewise.
58417         * soft-fp/floatunsidf.c: Likewise.
58418         * soft-fp/floatunsisf.c: Likewise.
58419         * soft-fp/floatunsitf.c: Likewise.
58420         * soft-fp/floatuntidf.c: Likewise.
58421         * soft-fp/floatuntisf.c: Likewise.
58422         * soft-fp/floatuntitf.c: Likewise.
58423         * soft-fp/fmadf4.c: Likewise.
58424         * soft-fp/fmasf4.c: Likewise.
58425         * soft-fp/fmatf4.c: Likewise.
58426         * soft-fp/gedf2.c: Likewise.
58427         * soft-fp/gesf2.c: Likewise.
58428         * soft-fp/getf2.c: Likewise.
58429         * soft-fp/ledf2.c: Likewise.
58430         * soft-fp/lesf2.c: Likewise.
58431         * soft-fp/letf2.c: Likewise.
58432         * soft-fp/muldf3.c: Likewise.
58433         * soft-fp/mulsf3.c: Likewise.
58434         * soft-fp/multf3.c: Likewise.
58435         * soft-fp/negdf2.c: Likewise.
58436         * soft-fp/negsf2.c: Likewise.
58437         * soft-fp/negtf2.c: Likewise.
58438         * soft-fp/op-1.h: Likewise.
58439         * soft-fp/op-2.h: Likewise.
58440         * soft-fp/op-4.h: Likewise.
58441         * soft-fp/op-8.h: Likewise.
58442         * soft-fp/op-common.h: Likewise.
58443         * soft-fp/quad.h: Likewise.
58444         * soft-fp/single.h: Likewise.
58445         * soft-fp/soft-fp.h: Likewise.
58446         * soft-fp/sqrtdf2.c: Likewise.
58447         * soft-fp/sqrtsf2.c: Likewise.
58448         * soft-fp/sqrttf2.c: Likewise.
58449         * soft-fp/subdf3.c: Likewise.
58450         * soft-fp/subsf3.c: Likewise.
58451         * soft-fp/subtf3.c: Likewise.
58452         * soft-fp/truncdfsf2.c: Likewise.
58453         * soft-fp/trunctfdf2.c: Likewise.
58454         * soft-fp/trunctfsf2.c: Likewise.
58455         * soft-fp/trunctfxf2.c: Likewise.
58456         * soft-fp/unorddf2.c: Likewise.
58457         * soft-fp/unordsf2.c: Likewise.
58458         * soft-fp/unordtf2.c: Likewise.
58460 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
58462         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
58463         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
58465 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
58467         * elf/dl-libc.c: Clear initfini list after freeing.
58469 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
58471         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
58472         * soft-fp/addsf3.c: Likewise.
58473         * soft-fp/addtf3.c: Likewise.
58474         * soft-fp/divdf3.c: Likewise.
58475         * soft-fp/divsf3.c: Likewise.
58476         * soft-fp/divtf3.c: Likewise.
58477         * soft-fp/double.h: Likewise.
58478         * soft-fp/eqdf2.c: Likewise.
58479         * soft-fp/eqsf2.c: Likewise.
58480         * soft-fp/eqtf2.c: Likewise.
58481         * soft-fp/extenddftf2.c: Likewise.
58482         * soft-fp/extended.h: Likewise.
58483         * soft-fp/extendsfdf2.c: Likewise.
58484         * soft-fp/extendsftf2.c: Likewise.
58485         * soft-fp/extendxftf2.c: Likewise.
58486         * soft-fp/fixdfdi.c: Likewise.
58487         * soft-fp/fixdfsi.c: Likewise.
58488         * soft-fp/fixdfti.c: Likewise.
58489         * soft-fp/fixsfdi.c: Likewise.
58490         * soft-fp/fixsfsi.c: Likewise.
58491         * soft-fp/fixsfti.c: Likewise.
58492         * soft-fp/fixtfdi.c: Likewise.
58493         * soft-fp/fixtfsi.c: Likewise.
58494         * soft-fp/fixtfti.c: Likewise.
58495         * soft-fp/fixunsdfdi.c: Likewise.
58496         * soft-fp/fixunsdfsi.c: Likewise.
58497         * soft-fp/fixunsdfti.c: Likewise.
58498         * soft-fp/fixunssfdi.c: Likewise.
58499         * soft-fp/fixunssfsi.c: Likewise.
58500         * soft-fp/fixunssfti.c: Likewise.
58501         * soft-fp/fixunstfdi.c: Likewise.
58502         * soft-fp/fixunstfsi.c: Likewise.
58503         * soft-fp/fixunstfti.c: Likewise.
58504         * soft-fp/floatdidf.c: Likewise.
58505         * soft-fp/floatdisf.c: Likewise.
58506         * soft-fp/floatditf.c: Likewise.
58507         * soft-fp/floatsidf.c: Likewise.
58508         * soft-fp/floatsisf.c: Likewise.
58509         * soft-fp/floatsitf.c: Likewise.
58510         * soft-fp/floattidf.c: Likewise.
58511         * soft-fp/floattisf.c: Likewise.
58512         * soft-fp/floattitf.c: Likewise.
58513         * soft-fp/floatundidf.c: Likewise.
58514         * soft-fp/floatundisf.c: Likewise.
58515         * soft-fp/floatunsidf.c: Likewise.
58516         * soft-fp/floatunsisf.c: Likewise.
58517         * soft-fp/floatuntidf.c: Likewise.
58518         * soft-fp/floatuntisf.c: Likewise.
58519         * soft-fp/floatuntitf.c: Likewise.
58520         * soft-fp/fmadf4.c: Likewise.
58521         * soft-fp/fmasf4.c: Likewise.
58522         * soft-fp/fmatf4.c: Likewise.
58523         * soft-fp/gedf2.c: Likewise.
58524         * soft-fp/gesf2.c: Likewise.
58525         * soft-fp/getf2.c: Likewise.
58526         * soft-fp/ledf2.c: Likewise.
58527         * soft-fp/lesf2.c: Likewise.
58528         * soft-fp/letf2.c: Likewise.
58529         * soft-fp/muldf3.c: Likewise.
58530         * soft-fp/mulsf3.c: Likewise.
58531         * soft-fp/multf3.c: Likewise.
58532         * soft-fp/negdf2.c: Likewise.
58533         * soft-fp/negsf2.c: Likewise.
58534         * soft-fp/negtf2.c: Likewise.
58535         * soft-fp/op-1.h: Likewise.
58536         * soft-fp/op-2.h: Likewise.
58537         * soft-fp/op-4.h: Likewise.
58538         * soft-fp/op-8.h: Likewise.
58539         * soft-fp/op-common.h: Likewise.
58540         * soft-fp/quad.h: Likewise.
58541         * soft-fp/single.h: Likewise.
58542         * soft-fp/soft-fp.h: Likewise.
58543         * soft-fp/sqrtdf2.c: Likewise.
58544         * soft-fp/sqrtsf2.c: Likewise.
58545         * soft-fp/sqrttf2.c: Likewise.
58546         * soft-fp/subdf3.c: Likewise.
58547         * soft-fp/subsf3.c: Likewise.
58548         * soft-fp/subtf3.c: Likewise.
58549         * soft-fp/truncdfsf2.c: Likewise.
58550         * soft-fp/trunctfdf2.c: Likewise.
58551         * soft-fp/trunctfsf2.c: Likewise.
58552         * soft-fp/trunctfxf2.c: Likewise.
58553         * soft-fp/unorddf2.c: Likewise.
58554         * soft-fp/unordsf2.c: Likewise.
58555         * soft-fp/unordtf2.c: Likewise.
58557 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
58559         [BZ #15672]
58560         * misc/error.c (error_tail): Fix possible buffer overflow.
58562 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
58564         [BZ #13028]
58565         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
58566         address.
58568 2013-10-14  P. J. McDermott  <pj@pehjota.net>
58570         [BZ #832]
58571         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
58572         testing pipefail option.
58574 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58576         * soft-fp/double.h: Indent preprocessor directives inside #if.
58577         * soft-fp/extended.h: Likewise.
58578         * soft-fp/op-2.h: Likewise.
58579         * soft-fp/op-4.h: Likewise.
58580         * soft-fp/op-common.h: Likewise.
58581         * soft-fp/quad.h: Likewise.
58582         * soft-fp/single.h: Likewise.
58583         * soft-fp/soft-fp.h: Likewise.
58585 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
58587         * iconv/iconv_prog.c: Fix typos.
58588         * stdio-common/psiginfo-data.h: Likewise.
58590 2013-10-12   Reuben Thomas <rrt@sc3d.org>
58592         [BZ #15764]
58593         * locale/setlocale.c: Fix typo.
58595 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58597         [BZ #16036]
58598         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
58599         signaling NaN arguments.
58600         * soft-fp/unordsf2.c (__unordsf2): Likewise.
58601         * soft-fp/unordtf2.c (__unordtf2): Likewise.
58603         [BZ #14910]
58604         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
58605         unordered operands.
58606         * soft-fp/gesf2.c (__gesf2): Likewise.
58607         * soft-fp/getf2.c (__getf2): Likewise.
58608         * soft-fp/ledf2.c (__ledf2): Likewise.
58609         * soft-fp/lesf2.c (__lesf2): Likewise.
58610         * soft-fp/letf2.c (__letf2): Likewise.
58612         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
58613         * soft-fp/eqsf2.c (__eqsf2): Likewise.
58614         * soft-fp/eqtf2.c (__eqtf2): Likewise.
58615         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
58616         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
58617         * soft-fp/fixdfti.c (__fixdfti): Likewise.
58618         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
58619         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
58620         * soft-fp/fixsfti.c (__fixsfti): Likewise.
58621         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
58622         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58623         * soft-fp/fixtfti.c (__fixtfti): Likewise.
58624         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58625         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58626         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58627         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58628         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58629         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58630         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58631         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58632         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58633         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58634         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58635         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58636         * soft-fp/floattidf.c (__floattidf): Likewise.
58637         * soft-fp/floattisf.c (__floattisf): Likewise.
58638         * soft-fp/floattitf.c (__floattitf): Likewise.
58639         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58640         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58641         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58642         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58643         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58644         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58645         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58646         * soft-fp/gesf2.c (__gesf2): Likewise.
58647         * soft-fp/getf2.c (__getf2): Likewise.
58648         * soft-fp/ledf2.c (__ledf2): Likewise.
58649         * soft-fp/lesf2.c (__lesf2): Likewise.
58650         * soft-fp/letf2.c (__letf2): Likewise.
58652         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58653         Undefine and redefine.
58654         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58655         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58656         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58657         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58658         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58659         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58660         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58661         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58662         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58663         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58664         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58665         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58666         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58667         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58668         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58670         [BZ #16032]
58671         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58672         without decrementing exponent if mantissa >= that for the
58673         denominator, not >.
58674         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58675         denominator, not >.  Decrement exponent in < case instead of
58676         incrementing in >= case.
58677         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58678         without decrementing exponent if mantissa >= that for the
58679         denominator, not >.
58681         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
58682         computing saturated result for unsigned overflow.
58684 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58685             Jeff Law  <law@redhat.com>
58687         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
58688         (atan2Mp): Add systemtap probe marker.
58689         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
58690         (__ieee754_log): Add systemtap probe marker.
58691         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
58692         (atanMp): Add systemtap probe marker.
58693         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
58694         (tanMp): Add systemtap probe marker.
58695         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
58696         (__slowexp): Add systemtap probe marker.
58697         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
58698         (__slowpow): Add systemtap probe marker.
58699         * manual/probes.texi: Document probes.
58701 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
58703         [BZ #15362]
58704         * libio/fileops.c (_IO_new_file_write): Return count of bytes
58705         written.
58706         (_IO_new_file_xsputn): Don't return EOF if nothing has been
58707         written.
58708         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
58709         written to buffer but not flushed.
58710         * libio/iofwrite_u.c:  Likewise.
58711         * libio/iopadn.c:  Return bytes returned even if EOF was
58712         encountered.
58713         * libio/iowpadn.c:  Likewise.
58714         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
58715         if _IO_padn does not write the whole buffer.
58716         [!COMPILE_WPRINTF] (PAD): Likewise.
58718 2013-10-10  David S. Miller  <davem@davemloft.net>
58720         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
58721         directory block.
58723 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58725         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
58726         instead of FSF address.
58727         * soft-fp/fixdfti.c: Likewise.
58728         * soft-fp/fixsfti.c: Likewise.
58729         * soft-fp/fixtfti.c: Likewise.
58730         * soft-fp/fixunsdfti.c: Likewise.
58731         * soft-fp/fixunssfti.c: Likewise.
58732         * soft-fp/fixunstfti.c: Likewise.
58733         * soft-fp/floattidf.c: Likewise.
58734         * soft-fp/floattisf.c: Likewise.
58735         * soft-fp/floattitf.c: Likewise.
58736         * soft-fp/floatuntidf.c: Likewise.
58737         * soft-fp/floatuntisf.c: Likewise.
58738         * soft-fp/floatuntitf.c: Likewise.
58739         * soft-fp/trunctfxf2.c: Likewise.
58741         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
58742         * soft-fp/fixdfti.c: Likewise.
58743         * soft-fp/fixsfti.c: Likewise.
58744         * soft-fp/fixtfti.c: Likewise.
58745         * soft-fp/fixunsdfti.c: Likewise.
58746         * soft-fp/fixunssfti.c: Likewise.
58747         * soft-fp/fixunstfti.c: Likewise.
58748         * soft-fp/floattidf.c: Likewise.
58749         * soft-fp/floattisf.c: Likewise.
58750         * soft-fp/floattitf.c: Likewise.
58751         * soft-fp/floatuntidf.c: Likewise.
58752         * soft-fp/floatuntisf.c: Likewise.
58753         * soft-fp/floatuntitf.c: Likewise.
58754         * soft-fp/trunctfxf2.c: Likewise.
58756 2013-10-10  David S. Miller  <davem@davemloft.net>
58758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58760 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
58762         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58763         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
58764         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
58765         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
58766         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
58767         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
58768         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
58770         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
58771         for NaNs before doing comparisons on argument.
58772         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
58773         Likewise.
58775 2013-10-10  Will Newton  <will.newton@linaro.org>
58777         * malloc/hooks.c (memalign_check): Ensure the value of bytes
58778         passed to _int_memalign does not overflow.
58780 2013-10-10  Torvald Riegel  <triegel@redhat.com>
58782         * scripts/bench.pl: Add include-sources directive.
58783         * benchtests/README: Update documentation.
58785 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58787         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
58788         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
58789         instead of FP_INIT_ROUNDMODE.
58790         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
58791         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
58793         [BZ #16034]
58794         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
58795         copy class of input value.
58796         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
58797         not handle exceptions.
58798         * soft-fp/negsf2.c (__negsf2): Likewise.
58799         * soft-fp/negtf2.c (__negtf2): Likewise.
58800         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
58802 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
58804         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
58805         semicolon.  From Linux kernel.
58807 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
58809         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
58811 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
58813         [BZ #156]
58814         * manual/socket.texi: Added statement about buffer
58815         for gethostbyname2_r.
58817 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
58819         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
58820         Use .p2align directive instead, throughout.
58821         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58822         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
58823         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
58824         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58825         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58826         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
58827         * sysdeps/x86_64/strchr.S: Likewise.
58828         * sysdeps/x86_64/strrchr.S: Likewise.
58830 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58832         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
58834         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
58836         * sysdeps/generic/math_private.h (__mpsin1): Remove
58837         declaration.
58838         (__mpcos1): Likewise.
58839         (__mpsin): New argument __range_reduce.
58840         (__mpcos): Likewise.
58841         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58842         (slow): Use __mpsin and __mpcos.
58843         (slow1): Likewise.
58844         (slow2): Likewise.
58845         (sloww): Likewise.
58846         (sloww1): Likewise.
58847         (sloww2): Likewise.
58848         (bsloww): Likewise.
58849         (bsloww1): Likewise.
58850         (bsloww2): Likewise.
58851         (cslow2): Likewise.
58852         (csloww): Likewise.
58853         (csloww1): Likewise.
58854         (csloww2): Likewise.
58855         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
58856         range_reduce.  Merge in __mpsin1.
58857         (__mpcos): Likewise.
58858         (__mpsin1): Remove.
58859         (__mpcos1): Likewise.
58861 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
58863         * locale/loadlocale.c (_nl_intern_locale_data): Use
58864         LOCFILE_ALIGNED_P.
58865         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
58866         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
58867         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58868         obstack data is appropriately aligned.
58869         (obstack_int32_grow_fast): Likewise.
58870         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
58871         * locale/programs/locfile.c (add_locale_uint32): Likewise.
58872         (add_locale_uint32_array): Likewise.
58874 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58876         * benchtests/Makefile: Remove ARGLIST and RET variables.
58877         ($(objpfx)bench-%.c): Pass only function name to the script.
58878         * benchtests/README: Update documentation.
58879         * benchtests/acos-inputs: Add new directives.
58880         * benchtests/acosh-inputs: Likewise.
58881         * benchtests/asin-inputs: Likewise.
58882         * benchtests/asinh-inputs: Likewise.
58883         * benchtests/atan-inputs: Likewise.
58884         * benchtests/atanh-inputs: Likewise.
58885         * benchtests/cos-inputs: Likewise.
58886         * benchtests/cosh-inputs: Likewise.
58887         * benchtests/exp-inputs: Likewise.
58888         * benchtests/log-inputs: Likewise.
58889         * benchtests/pow-inputs: Likewise.
58890         * benchtests/rint-inputs: Likewise.
58891         * benchtests/sin-inputs: Likewise.
58892         * benchtests/sinh-inputs: Likewise.
58893         * benchtests/tan-inputs: Likewise.
58894         * benchtests/tanh-inputs: Likewise.
58895         * scripts/bench.pl: Add support for new directives.
58897 2013-10-07  Alan Modra  <amodra@gmail.com>
58899         * README: Fix careless merge.
58901 2013-10-05  Alan Modra  <amodra@gmail.com>
58903         * NEWS: Mention powerpc64le support and bugs fixed.
58904         * README: Both big-endian and little-endian powerpc64 supported.
58906 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58908         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
58909         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
58910         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
58911         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
58913 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
58915         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
58916         match prototype.
58918 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
58920         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
58921         Move -mhard-float appending from
58922         ports/sysdeps/powerpc/powerpc32/Makefile.
58923         [$(with-fp) = yes] (ASFLAGS): Likewise.
58924         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
58925         * sysdeps/powerpc/nofpu: Move directory from
58926         ports/sysdeps/powerpc/nofpu.
58927         * sysdeps/powerpc/soft-fp: Move directory from
58928         ports/sysdeps/powerpc/soft-fp.
58929         * sysdeps/powerpc/powerpc32/405: Move directory from
58930         ports/sysdeps/powerpc/powerpc32/405.
58931         * sysdeps/powerpc/powerpc32/440: Move directory from
58932         ports/sysdeps/powerpc/powerpc32/440.
58933         * sysdeps/powerpc/powerpc32/464: Move directory from
58934         ports/sysdeps/powerpc/powerpc32/464.
58935         * sysdeps/powerpc/powerpc32/476: Move directory from
58936         ports/sysdeps/powerpc/powerpc32/476.
58937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
58938         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
58939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
58940         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
58941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
58942         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
58943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
58944         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
58945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
58946         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
58947         * README: Update for powerpc-*-linux-gnu software floating point
58948         support in libc.
58950         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
58951         case to powerpc/powerpc32*.
58952         * sysdeps/unix/sysv/linux/configure: Regenerated.
58954         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
58955         (_FPU_MASK_OM): Define as 0x04.
58956         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
58957         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
58958         0x00c10080.
58959         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
58960         0x0000003c.
58961         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
58963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
58964         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58965         getcontext_e500.
58966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
58967         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58968         setcontext_e500.
58969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
58970         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
58971         and setcontext_e500.
58973 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
58975         * locale/iso-3166.def: Update iso-1366.def and related occurrences
58977 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58979         * manual/threads.texi (Default Thread Attributes): Fix typo.
58981 2013-10-04  Will Newton  <will.newton@linaro.org>
58983         * malloc/Makefile: Add tst-memalign.
58984         * malloc/tst-memalign.c: New file.
58986         * malloc/tst-posix_memalign.c: Add comments.
58987         (do_test): Add comments and call free on all potentially
58988         allocated pointers. Add space after cast.
58990         * malloc/tst-pvalloc.c: Add comments.
58991         (do_test): Add comments and call free on all potentially
58992         allocated pointers. Remove duplicate check for NULL pointer.
58993         Add space after cast.
58995         * malloc/tst-valloc.c: Add comments.
58996         (do_test): Add comments and call free on all potentially
58997         allocated pointers. Remove duplicate check for NULL pointer.
58998         Add space after cast.
59000 2013-10-04  Alan Modra  <amodra@gmail.com>
59002         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59003         Use stdint types in rather than __attribute__((mode())).
59004         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59006 2013-10-04  Alan Modra  <amodra@gmail.com>
59008         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59009         Correct handling of unaligned relocs for little-endian.
59010         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59012 2013-10-04  Alan Modra  <amodra@gmail.com>
59014         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59015         * configure: Regenerate.
59016         * nptl/shlib-versions: Powerpc*le starts at 2.18.
59017         * shlib-versions: Likewise.
59019 2013-10-04  Alan Modra  <amodra@gmail.com>
59021         * string/tester.c (test_memrchr): Increment reported test cycle.
59023 2013-10-04  Alan Modra  <amodra@gmail.com>
59025         * string/test-memcpy.c (do_one_test): When reporting errors, print
59026         string address and don't overrun end of string.
59028 2013-10-04  Alan Modra  <amodra@gmail.com>
59030         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59031         insrdi.  Make better use of reg selection to speed exit slightly.
59032         Schedule entry path a little better.  Remove useless "are we done"
59033         checks on entry to main loop.  Handle wrapping around zero address.
59034         Correct main loop count.  Handle single left-over word from main
59035         loop inline rather than by using loop_small.  Remove extra word
59036         case in loop_small caused by wrong loop count.  Add little-endian
59037         support.
59038         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59039         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
59040         cache hint.
59041         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59042         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59043         support.  Avoid rlwimi.
59044         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59046 2013-10-04  Alan Modra  <amodra@gmail.com>
59048         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59049         insrdi.  Formatting.
59050         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59051         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59052         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59053         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59054         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59055         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59057 2013-10-04  Alan Modra  <amodra@gmail.com>
59059         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59060         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59061         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59062         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59063         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59064         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59065         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59066         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59067         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59068         use of regs.  Use power7 mtocrf.  Tidy function tails.
59070 2013-10-04  Alan Modra  <amodra@gmail.com>
59072         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59073         Formatting.  Consistently use rXXX register defines or rN defines.
59074         Use early exit labels that avoid restoring unused non-volatile regs.
59075         Make cr field use more consistent with rWORDn compares.  Rename
59076         regs used as shift registers for unaligned loop, using rN defines
59077         for short lifetime/multiple use regs.
59078         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59079         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59080         addi 1,1,64 to pop stack frame.  Simplify return value code.
59081         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59083 2013-10-04  Alan Modra  <amodra@gmail.com>
59085         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59086         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59087         rather than rlwimi.
59088         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59089         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59090         little-endian support.  Correct typos.
59091         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59092         rather than rlwimi.
59093         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59094         in loop and entry code to keep "and." results.
59095         (strchr): Add little-endian support.  Comment.  Move cntlzd
59096         earlier in tail.
59097         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59099 2013-10-04  Alan Modra  <amodra@gmail.com>
59101         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59102         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59103         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59104         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59106 2013-10-04  Alan Modra  <amodra@gmail.com>
59108         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59109         (rTMP): Define as r11.
59110         (strcmp): Add little-endian support.  Optimise tail.
59111         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59112         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59113         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59114         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59115         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59116         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59117         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59119 2013-10-04  Alan Modra  <amodra@gmail.com>
59121         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59122         little-endian support.  Remove unnecessary "are we done" tests.
59123         Handle "s" wrapping around zero and extremely large "size".
59124         Correct main loop count.  Handle single left-over word from main
59125         loop inline rather than by using small_loop.  Correct comments.
59126         Delete "zero" tail, use "end_max" instead.
59127         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59129 2013-10-04  Alan Modra  <amodra@gmail.com>
59131         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59132         support.  Don't branch over align.
59133         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59134         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59135         support.  Rearrange tmp reg use to suit.  Comment.
59136         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59138 2013-10-04  Alan Modra  <amodra@gmail.com>
59140         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59142 2013-10-04  Alan Modra  <amodra@gmail.com>
59144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59145         conditional form of branch and link when obtaining pc.
59146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59148 2013-10-04  Alan Modra  <amodra@gmail.com>
59150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59151         HIWORD/LOWORD.
59152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59155 2013-10-04  Alan Modra  <amodra@gmail.com>
59157         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59158         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59159         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59160         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59161         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59162         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59163         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59164         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59165         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59166         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59168 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59169             Alistair Popple <alistair@ozlabs.au.ibm.com>
59170             Alan Modra <amodra@gmail.com>
59172         [BZ #15723]
59173         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59174         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59175         _dl_hwcap access for little-endian.
59176         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59177         destroy vmx regs when saving unaligned.
59178         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59179         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59180         destroy vmx regs when saving unaligned.
59182 2013-10-04  Alan Modra  <amodra@gmail.com>
59184         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59185         Don't use a union to pack hi/low value.
59187 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59189         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59190         for little-endian.
59191         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59192         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59193         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59194         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59195         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59197 2013-10-04  Alan Modra  <amodra@gmail.com>
59199         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59200         constants to usual value for .cst8 section, and remove redundant
59201         high address load.
59202         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59203         constant for 0x1p52.  Load little-endian words of double from
59204         correct stack offsets.
59206 2013-10-04  Alan Modra  <amodra@gmail.com>
59208         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59209         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59210         words of double from correct stack offsets.
59211         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59212         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59213         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59214         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59215         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59216         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59217         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59218         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59219         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59220         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59221         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59222         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59223         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59224         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59225         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59226         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59227         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59229 2013-10-04  Alan Modra  <amodra@gmail.com>
59231         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59232         64-bit int/double union.
59233         (_FPU_SETCW): Likewise.
59234         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59235         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59237 2013-10-04  Alan Modra  <amodra@gmail.com>
59239         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59240         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59242 2013-10-04  Alan Modra  <amodra@gmail.com>
59244         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59245         use vector int constants.
59246         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59248 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59250         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59251         array with long long.
59252         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59253         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59254         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59255         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59256         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59257         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59258         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59259         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59260         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59261         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59262         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59263         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59264         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59266 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59268         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59269         (__signbit): Likewise.  Correct for little-endian.
59270         (__signbitl): Call __signbit.
59271         (lrint): Correct for little-endian.
59272         (lrintf): Call lrint.
59274 2013-10-04  Alan Modra  <amodra@gmail.com>
59276         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59277         union 32-bit int array member with 64-bit int array.
59278         (t515, tm256): Double rather than long double.
59279         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59281 2013-10-04  Alan Modra  <amodra@gmail.com>
59283         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59284         Delete.
59285         (IEEE854_LONG_DOUBLE_BIAS): Delete.
59286         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59287         version of math_ldbl.h.
59289 2013-10-04  Alan Modra  <amodra@gmail.com>
59291         [BZ #15734], [BZ #15735]
59292         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
59293         all uses of ieee875 long double macros and unions.  Simplify test
59294         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
59295         ldbl_extract_mantissa value for ix,iy exponents.  Properly
59296         normalize after ldbl_extract_mantissa, and don't add hidden bit
59297         already handled.  Don't treat low word of ieee854 mantissa like
59298         low word of IBM long double and mask off bit when testing for
59299         zero.
59300         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
59301         all uses of ieee875 long double macros and unions.  Simplify tests
59302         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
59303         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
59304         two1022, instead use their values.  Recognise that tests for large
59305         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
59306         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
59307         Rewrite all uses of ieee875 long double macros and unions.  Simplify
59308         test for 0.0L and nan.  Correct negation.
59309         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
59310         ieee875 long double macros and unions.  Correct output for large
59311         magnitude x.  Correct absolute value calculation.
59312         (__erfcl): Likewise.
59313         * math/libm-test.inc: Add tests for errors discovered in IBM long
59314         double versions of fmodl, remainderl, erfl and erfcl.
59316 2013-10-04  Alan Modra  <amodra@gmail.com>
59318         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
59319         all uses of ieee854 long double macros and unions.  Simplify tests
59320         for long doubles that are fully specified by the high double.
59321         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
59322         Likewise.
59323         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59324         Remove dead code too.
59325         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
59326         (__ieee754_ynl): Likewise.
59327         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
59328         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
59329         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
59330         Remove dead code too.
59331         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
59332         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
59333         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
59334         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
59335         Simplify.
59336         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
59337         Simplify.
59338         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59339         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
59340         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
59341         Comment on variable precision.
59342         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
59343         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59344         Likewise.
59345         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
59346         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59347         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59348         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
59349         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
59351 2013-10-04  Alan Modra  <amodra@gmail.com>
59353         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
59354         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
59355         all uses of ieee854 long double macros and unions.
59356         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
59357         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59358         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
59359         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
59360         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
59361         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59362         Likewise.
59363         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
59364         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59365         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
59366         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59367         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
59368         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
59369         Simplify sign and nan test too.
59370         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
59371         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
59372         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
59373         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
59374         Likewise.
59375         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59376         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
59377         Likewise.
59378         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59379         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
59380         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
59381         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
59382         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
59383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
59385 2013-10-04  Alan Modra  <amodra@gmail.com>
59387         * stdio-common/printf_size.c (__printf_size): Don't use
59388         union ieee854_long_double in fpnum union.
59389         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
59390         signbit macro to retrieve sign from long double.
59391         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
59392         retrieve sign from long double.
59393         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
59394         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
59395         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
59396         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59397         * math/test-misc.c (main): Don't use union ieee854_long_double.
59399 2013-10-04  Alan Modra  <amodra@gmail.com>
59401         [BZ #15680]
59402         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
59403         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
59404         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
59405         calculation.  Remove unnecessary test for denormal exponent.
59406         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
59407         Correct handling of denormals.  Avoid undefined shift behaviour.
59408         Correct normalisation of low mantissa when low double is denormal.
59409         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
59410         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
59411         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
59412         Correct normalisation of low mantissa.  Test for overflow of high
59413         mantissa and normalise.
59414         (ldbl_nearbyint): Use more readable constant for two52.
59415         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
59416         (__mpn_construct_long_double): Fix test for overflow of high
59417         mantissa and correct normalisation.  Avoid undefined shift.
59419 2013-10-04  Alan Modra  <amodra@gmail.com>
59421         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59422         (union ibm_extended_long_double): Define as an array of ieee754_double.
59423         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
59424         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
59425         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
59426         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59427         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59428         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
59429         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59430         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59431         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59432         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
59433         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59435 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
59437         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
59438         page size instead of calling getpagesize.
59440         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
59441         (LOCFILE_ALIGN_MASK): Likewise.
59442         (LOCFILE_ALIGN_UP): Likewise.
59443         (LOCFILE_ALIGNED_P): Likewise.
59444         * locale/programs/ld-collate.c (collate_output): Use the new
59445         macros instead of __alignof__ (int32_t).
59446         * locale/weight.h (findidx): Likewise.
59448 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
59450         [BZ #431]
59451         * manual/string.texi: Fix strncat and wcsncat.
59453 2013-10-03  Brooks Moses  <bmoses@google.com>
59455         [BZ #15915]
59456         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
59457         * Makerules: ...here, and adjust associated comments.
59459 2013-10-02  Will Newton  <will.newton@linaro.org>
59461         * malloc/Makefile: Add tst-pvalloc.
59462         * malloc/tst-pvalloc.c: New file.
59464 2013-10-02  Will Newton  <will.newton@linaro.org>
59466         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
59467         improve test coverage.
59469 2013-10-02  Will Newton  <will.newton@linaro.org>
59471         * malloc/Makefile: Add tst-posix_memalign.
59472         * malloc/tst-posix_memalign.c: New file.
59474 2013-10-01  Eric Blake  <eblake@redhat.com>
59476         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
59477         Use __THROWNL rather than __THROW on static functions.
59479 2013-09-30  Petr Machata  <pmachata@redhat.com>
59481         * elf/elf.h (R_AARCH64_ABS16): New macro.
59482         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
59483         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
59484         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
59485         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
59486         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
59487         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
59488         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
59489         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
59490         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
59491         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
59492         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
59493         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
59494         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
59495         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
59496         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
59497         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
59498         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
59499         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
59500         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
59501         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
59502         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
59503         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
59504         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
59505         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
59506         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
59507         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
59508         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
59509         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
59510         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
59511         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
59512         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
59513         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
59514         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
59515         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
59516         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
59517         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
59518         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
59519         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
59520         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
59521         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
59522         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
59523         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
59524         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
59525         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
59526         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
59527         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
59528         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
59529         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
59530         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
59531         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
59532         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
59533         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
59534         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
59535         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
59536         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
59537         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
59538         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
59539         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
59540         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
59541         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
59542         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
59543         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
59544         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
59545         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
59546         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
59547         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
59548         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
59549         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
59550         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
59551         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
59552         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
59553         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
59554         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
59555         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
59556         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
59557         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
59558         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
59559         (R_AARCH64_TLSDESC_LDR): Likewise.
59560         (R_AARCH64_TLSDESC_ADD): Likewise.
59561         (R_AARCH64_TLSDESC_CALL): Likewise.
59563 2013-09-30  Andreas Schwab  <schwab@suse.de>
59565         [BZ #15048]
59566         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
59567         the nss database lookup.
59568         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59571 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
59573         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
59575 2013-09-28  P. J. McDermott  <pj@pehjota.net>
59577         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
59578         ${Bash-specific parameter/pattern/string} parameter expansion.
59579         * sysdeps/unix/make-syscalls.sh: Likewise.
59581 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59583         * sysdeps/sh/stackguard-macros.h: New file.
59585 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
59587         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
59589         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
59590         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
59591         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59592         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
59594 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59596         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
59597         Fix thread ID register.
59599 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
59601         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
59602         [POSIX || UNIX98]: Require rather than permitting all symbols from
59603         <time.h>.
59604         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
59605         element of struct sched_param.
59606         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
59607         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
59608         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
59609         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
59610         constant.
59612 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
59614         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
59615         argument calculation.
59617 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59619         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
59620         Expect macro.
59621         [POSIX] (pthread_attr_t): Do not require type.
59622         [POSIX] (pthread_cond_t): Likewise.
59623         [POSIX] (pthread_condattr_t): Likewise.
59624         [POSIX] (pthread_key_t): Likewise.
59625         [POSIX] (pthread_mutex_t): Likewise.
59626         [POSIX] (pthread_mutexattr_t): Likewise.
59627         [POSIX] (pthread_once_t): Likewise.
59628         [POSIX] (pthread_t): Likewise.
59629         [POSIX-based standards] (pthread_atfork): Expect function.
59631 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59632             Richard Sandiford  <richard@codesourcery.com>
59634         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59635         (swap_endianness_p): New extern variable.
59636         (set_big_endian): New inline function.
59637         (maybe_swap_uint32): Likewise.
59638         (maybe_swap_uint32_array): Likewise.
59639         (maybe_swap_uint32_obstack): Likewise.
59640         * locale/programs/locfile.c: Include <stdbool.h>.
59641         (swap_endianness_p): New variable.
59642         (add_locale_uint32): Call maybe_swap_uint32.
59643         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59644         (write_locale_data): Call maybe_swap_uint32_array.
59645         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59646         maybe_swap_uint32.
59647         (obstack_int32_grow_fast): Likewise.
59648         (output_weightwc): Call maybe_swap_uint32_obstack.
59649         (collate_output): Likewise.
59650         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59651         (OPT_LITTLE_ENDIAN): Likewise.
59652         (options): Add --little-endian and --big-endian options.
59653         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59654         * locale/programs/locarchive.c: Include "locfile.h".
59655         (GET): New macro.
59656         (SET): Likewise.
59657         (INC): Likewise.
59658         (create_archive): Use the new macros to access fields of
59659         structures directly mapped from or written to locale archives.
59660         (oldlocrecentcmp): Likewise.
59661         (enlarge_archive): Likewise.
59662         (insert_name): Likewise.
59663         (add_alias): Likewise.
59664         (add_locale): Likewise.
59665         (delete_locales_from_archive): Likewise.
59666         (show_archive_content): Likewise.
59667         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59668         locale data.
59670 2013-09-24  Roland McGrath  <roland@hack.frob.com>
59672         * manual/freemanuals.texi: Updated from (newly) canonical copy at
59673         http://www.gnu.org/doc/freemanuals.texi.
59674         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59676 2013-09-24  Will Newton  <will.newton@linaro.org>
59678         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59679         macro.
59681 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
59683         * locale/hashval.h (compute_hashval): Interpret bytes of key as
59684         unsigned char.
59686 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
59688         * manual/threads.texi (POSIX Threads): Fix a typo.
59690 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59692         [BZ #14547]
59693         * string/tst-strcoll-overflow.c: New test case.
59694         * string/Makefile (xtests): Add tst-strcoll-overflow.
59695         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
59696         cache if string sizes may cause integer overflow.
59698         [BZ #14547]
59699         * string/strcoll_l.c (coll_seq): New members rule, idx,
59700         save_idx and back_us.
59701         (get_next_seq_nocache): New function.
59702         (do_compare_nocache): New function.
59703         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
59704         when malloc fails.
59706 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
59708         [BZ #15754]
59709         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
59710         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
59711         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
59713         [BZ #15754]
59714         * elf/Makefile (tests): Add tst-ptrguard1.
59715         (tests-static): Add tst-ptrguard1-static.
59716         (tst-ptrguard1-ARGS): Define.
59717         (tst-ptrguard1-static-ARGS): Define.
59718         * elf/tst-ptrguard1.c: New file.
59719         * elf/tst-ptrguard1-static.c: New file.
59720         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
59721         * sysdeps/i386/stackguard-macros.h: Likewise.
59722         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59723         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59724         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59725         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59726         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59727         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59729 2013-09-23  Hector Marco  <hecmargi@upv.es>
59730             Ismael Ripoll  <iripoll@disca.upv.es>
59731             Carlos O'Donell  <carlos@redhat.com>
59733         [BZ #15754]
59734         * sysdeps/generic/stackguard-macros.h: Define
59735         __pointer_chk_guard_local and POINTER_CHK_GUARD.
59736         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
59737         Define __pointer_chk_guard_local.
59738         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
59739         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
59741 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
59743         [BZ #15859]
59744         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
59746 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
59748         * include/string.h (__ffs): Declare as hidden.
59749         * string/ffs.c (__ffs): Define as hidden.
59750         * sysdeps/i386/ffs.c (__ffs): Likewise.
59751         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
59752         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
59753         * sysdeps/s390/ffs.c (__ffs): Likewise.
59754         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
59756 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
59758         * NEWS: Mention malloc probes.
59760         * malloc/arena.c (new_heap): New memory_heap_new probe.
59761         (grow_heap): New memory_heap_more probe.
59762         (shrink_heap): New memory_heap_less probe.
59763         (heap_trim): New memory_heap_free probe.
59764         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
59765         (systrim): New memory_sbrk_less probe.
59766         * manual/probes.texi: Document them.
59768         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59769         * manual/probes.texi: Document it.
59771         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
59772         (__libc_realloc): Add memory_realloc_retry probe.
59773         (__libc_memalign): Add memory_memalign_retry probe.
59774         (__libc_valloc): Add memory_valloc_retry probe.
59775         (__libc_pvalloc): Add memory_pvalloc_retry probe.
59776         (__libc_calloc): Add memory_calloc_retry probe.
59777         * manual/probes.texi: Document them.
59779         * malloc/arena.c (get_free_list): Add probe
59780         memory_arena_reuse_free_list.
59781         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
59782         and memory_arena_reuse.
59783         (arena_get2) [!PER_THREAD]: Likewise.
59784         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
59785         memory_arena_reuse_realloc.
59786         * manual/probes.texi: Document them.
59788         * malloc/malloc.c (__libc_free): Add
59789         memory_mallopt_free_dyn_thresholds probe.
59790         (__libc_mallopt): Add multiple memory_mallopt probes.
59791         * manual/probes.texi: Document them.
59793         * malloc/malloc.c: Include stap-probe.h.
59794         (__libc_mallopt): Add memory_mallopt probe.
59795         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
59796         * manual/probes.texi: New.
59797         * manual/Makefile (chapters): Add probes.
59798         * manual/threads.texi: Set next node.
59800 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
59802         [BZ #15963, #13985]
59803         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59804         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
59805         Add `Chinese' to `nan' entry name.
59807 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59809         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
59810         (POLYNOMIAL): Likewise.
59811         (TAYLOR_SINCOS): Likewise.
59812         (TAYLOR_SLOW): Likewise.
59813         (__sin): Use TAYLOR_SINCOS.
59814         (__cos): Likewise.
59815         (slow): Use TAYLOR_SLOW.
59816         (sloww): Likewise.
59817         (bsloww): Likewise.
59818         (csloww): Likewise.
59820 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59822         * stdlib/strtod_l.c: Fix buffer overrun.
59824 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59826         * benchtests/Makefile (bench): Add sincos.
59827         * benchtests/bench-sincos.c: New file.
59829         * math/libm-test.inc (cos_test_data): New test inputs.
59830         (sin_test_data): Likewise.
59832         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
59833         macro.
59834         (__sin): Use it.
59835         (__cos): Likewise.
59836         (slow1): Likewise.
59837         (slow2): Likewise.
59838         (sloww1): Likewise.
59839         (sloww2): Likewise.
59840         (bsloww1): Likewise.
59841         (bsloww2): Likewise.
59842         (cslow2): Likewise.
59843         (csloww1): Likewise.
59844         (csloww2): Likewise.
59846         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
59847         function.
59848         (__sin): Use it.
59849         (__cos): Likewise.
59851         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
59852         gotos.
59853         (__cos): Likewise.
59855 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
59857         * config.h.in (HAVE_MIPS_NAN2008): New macro.
59858         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
59859         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
59860         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
59861         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
59862         * elf/cache.c (print_entry): Handle the new cache flags.
59864 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59865             Aldy Hernandez  <aldyh@redhat.com>
59867         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
59868         Change condition to [_SOFT_FLOAT].
59869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
59870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
59871         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
59872         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
59873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
59874         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
59875         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
59876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
59877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
59878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
59879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
59880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
59881         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
59882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
59883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
59884         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
59885         declaration.
59887 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59889         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
59890         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59891         (__longjmp): Use LOAD_GP to load saved GPRs.
59892         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
59893         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59894         (__sigsetjmp): Use SAVE_GP to save GPRs.
59896         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
59897         Do not append -msoft-float.
59898         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
59900 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59902         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
59904 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
59906         [BZ #15966]
59907         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
59908         (_FPU_GETCW): Use initial "__" on variable and field names but not
59909         on macro parameter name.
59910         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
59911         parentheses around reference to macro parameter.
59913 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
59915         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
59916         prototype.
59917         (ctype_startup): Use uint32_t in cast and sizeof for
59918         ctype->charnames.
59920 2013-09-11  Jia Liu  <proljc@gmail.com>
59922         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
59923         __daddr_t_defined.
59924         [__FreeBSD__]: Likewise.
59926 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
59928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
59929         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
59930         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
59931         (strchr): Remove __strchr_sse42 ifunc selection.
59932         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
59933         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
59935 2013-09-11  Will Newton  <will.newton@linaro.org>
59937         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
59938         parameter to RES. Remove hardcoded 1000 value.
59939         * benchtests/bench-skeleton.c (main): Pass RES parameter
59940         to TIMING_INIT and multiply result by 1000.
59942 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59946 2013-09-11  Andreas Schwab  <schwab@suse.de>
59948         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
59949         if not defined.
59950         (O_TMPFILE) [__USE_GNU]: Define.
59951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
59952         Define.
59954 2013-09-11  Will Newton  <will.newton@linaro.org>
59956         [BZ #15857]
59957         * malloc/malloc.c (__libc_memalign): Check the value of bytes
59958         does not overflow.
59960 2013-09-11  Will Newton  <will.newton@linaro.org>
59962         [BZ #15856]
59963         * malloc/malloc.c (__libc_valloc): Check the value of bytes
59964         does not overflow.
59966 2013-09-11  Will Newton  <will.newton@linaro.org>
59968         [BZ #15855]
59969         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
59970         does not overflow.
59972 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
59974         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
59975         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59976         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59977         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59978         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59980 2013-09-10  Allan McRae  <allan@archlinux.org>
59982         [BZ #15748]
59983         * manual/arith.texi (Parsing of Floats): Clarify
59984         cross-reference.
59986         [BZ #15849]
59987         * manual/install.texi (Running make install): Mention
59988         --enable-pt-chown.
59989         * INSTALL: Regenerated.
59991 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
59993         * csu/init-first.c (_init): Remove the !SHARED condition around
59994         FPU control word initialization.
59995         * elf/dl-support.c (_dl_fpu_control): New variable.
59996         (_dl_aux_init) <AT_FPUCW>: Initialize it.
59997         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
59998         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
59999         * math/test-fpucw-static.c: New file.
60000         * math/test-fpucw-ieee.c: New file.
60001         * math/test-fpucw-ieee-static.c: New file.
60002         * math/Makefile (tests): Add `test-fpucw-ieee' and
60003         `$(tests-static)'.
60004         (tests-static): New variable.
60005         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60006         dependency to...
60007         [($(build-shared),yes)]
60008         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60009         ... this.
60010         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60011         New dependency.
60013 2013-09-09  Allan McRae  <allan@archlinux.org>
60015         [BZ #15939]
60016         * manual/string.texi (Collation Functions): Fix typo in
60017         strcoll example.
60018         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60020         [BZ #15893]
60021         * stdlib/isomac.c (get_null_defines): Fix memory leak.
60023         [BZ #15892]
60024         * libio/memstream.c (open_memstream): Fix memory leak.
60025         * libio/wmemstream.c (open_wmemstream): Likewise.
60027         [BZ #15895]
60028         * nscd/netgroupcache.c: Fix nesting of ifdefs.
60030 2013-09-09  Will Newton  <will.newton@linaro.org>
60032         * malloc/Makefile: Add tst-realloc to tests.
60033         * malloc/tst-realloc.c: New file.
60035 2013-09-09  Allan McRae  <allan@archlinux.org>
60037         [BZ #15844]
60038         * COPYING: Update from GNU website to fix FSF address.
60039         * COPYING.LIB: Likewise.
60041 2013-09-06  David S. Miller  <davem@davemloft.net>
60043         * po/zh_TW.po: Update Chinese (traditional) translation from
60044         translation project.
60046 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
60047             Joseph Myers  <joseph@codesourcery.com>
60049         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60050         "localeinfo.h".
60051         (obstack_chunk_alloc): New macro.
60052         (obstack_chunk_free): Likewise.
60053         (record_offset): New function.
60054         (init_locale_data): Likewise.
60055         (align_locale_data): Likewise.
60056         (add_locale_empty): Likewise.
60057         (add_locale_raw_data): Likewise.
60058         (add_locale_raw_obstack): Likewise.
60059         (add_locale_string): Likewise.
60060         (add_locale_wstring): Likewise.
60061         (add_locale_uint32): Likewise.
60062         (add_locale_uint32_array): Likewise.
60063         (add_locale_char): Likewise.
60064         (start_locale_structure): Likewise.
60065         (end_locale_structure): Likewise.
60066         (start_locale_prelude): Likewise.
60067         (end_locale_prelude): Likewise.
60068         (write_locale_data): Take locale_file structure rather than an
60069         iovec.
60070         * locale/programs/locfile.h: Include "obstack.h".
60071         (struct locale_file): Change to store locale file contents instead
60072         of header.
60073         (init_locale_data): New prototype.
60074         (align_locale_data): Likewise.
60075         (add_locale_empty): Likewise.
60076         (add_locale_raw_data): Likewise.
60077         (add_locale_raw_obstack): Likewise.
60078         (add_locale_string): Likewise.
60079         (add_locale_wstring): Likewise.
60080         (add_locale_uint32): Likewise.
60081         (add_locale_uint32_array): Likewise.
60082         (add_locale_char): Likewise.
60083         (start_locale_structure): Likewise.
60084         (end_locale_structure): Likewise.
60085         (start_locale_prelude): Likewise.
60086         (end_locale_prelude): Likewise.
60087         (write_locale_data): Update prototype.
60088         * locale/programs/3level.h (struct TABLE): Remove result field.
60089         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60090         Use new locale_file interface.
60091         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60092         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60093         * locale/programs/ld-address.c (address_output): Use new
60094         locale_file interface.
60095         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60096         NO_ADD_LOCALE.
60097         (collate_finish): Don't call collseq_table_finalize.
60098         (collate_output): Use new locale_file interface.
60099         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60100         in file.
60101         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60102         (TABLE): Move defines earlier in file.
60103         (ELEMENT): Likewise.
60104         (DEFAULT): Likewise.
60105         (wctrans_table_add): Move macro and inline function earlier in
60106         file.
60107         (struct wctype_table): Move type earlier in file.
60108         (add_locale_wctype_table): New static prototype.
60109         (struct locale_ctype_t): Use logical types instead of struct iovec
60110         pointers for members.
60111         (ctype_output): Use new locale_file interface.
60112         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60113         new locale_file interface.
60114         (allocate_arrays): Update for use of new locale_file interface.
60115         * locale/programs/ld-identification.c (identification_output): Use
60116         new locale_file interface.
60117         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60118         * locale/programs/ld-messages.c (messages_output): Likewise.
60119         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60120         * locale/programs/ld-name.c (name_output): Likewise.
60121         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60122         * locale/programs/ld-paper.c (paper_output): Likewise.
60123         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60124         * locale/programs/ld-time.c (time_output): Likewise.
60126 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60128         * benchtests/Makefile: Add memrchr benchmark.
60129         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60130         benchmark as memrchr.
60131         * benchtests/bench-memrchr-ifunc.c: New file.
60132         * benchtests/bench-memrchr.c: New file.
60134 2013-09-06   Will Newton  <will.newton@linaro.org>
60136         * benchtests/Makefile (string-bench): Add memcpy.
60138 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60139             Cong Wang  <amwang@redhat.com>
60141         [BZ #15850]
60142         * sysdeps/unix/sysv/linux/bits/in.h
60143         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60144         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60145         before __USE_KERNEL_IPV6_DEFS uses.
60146         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60147         IPPROTO_BEETPH.
60148         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60149         sockaddr_in6, or ipv6_mreq.
60151 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60153         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60154         memory access for final bytes in some large inputs.
60155         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60157 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60159         * string/test-memrchr.c: New file.
60160         * string/test-memrchr-ifunc.c: New file.
60161         * string/Makefile: Add new memrchr testcase.
60163 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60165         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60166         fanotify_init returns EPERM.
60168 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60170         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60171         errors.
60172         (top level): Treat second token from macro or constant entries for
60173         allowed headers as allowed.
60174         * include/complex.h: Condition internal declarations on
60175         [!_ISOMAC].
60176         * include/fenv.h: Condition include of <stdbool.h> and internal
60177         declarations on [!_ISOMAC].
60179 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60181         [BZ #15923]
60182         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60184 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60186         * configure.in (--enable-versioning): Remove configure option.
60187         (libc_cv_asm_symver_directive): Remove configure test.
60188         (libc_cv_ld_version_script_option): Likewise.
60189         (VERSIONING): Remove variable and AC_SUBST.
60190         (DO_VERSIONING): Remove AC_DEFINE.
60191         * configure: Regenerated.
60192         * config.h.in (DO_VERSIONING): Remove macro.
60193         * Makerules [$(versioning) = yes]: Change conditionals to
60194         [$(build-shared) = yes].
60195         * config.make.in (versioning): Remove variable.
60196         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60197         [$(build-shared) = yes].
60198         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60199         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60200         * elf/Makefile [$(versioning) = yes]: Change conditionals to
60201         [$(build-shared) = yes].
60202         * extra-lib.mk [$(versioning) = yes]: Likewise.
60203         * hurd/Makefile [$(versioning) = yes]: Likewise.
60204         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60205         [SHARED].
60206         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60207         [SHARED].
60208         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60209         [SHARED && !NO_HIDDEN].
60210         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60211         [SHARED].
60212         [SHARED && DO_VERSIONING]: Likewise..
60213         * libio/Makefile [$(versioning) = yes]: Change conditionals to
60214         [$(build-shared) = yes].
60215         * manual/install.texi (--disable-versioning): Remove
60216         documentation.
60217         * INSTALL: Regenerated.
60218         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60219         to [SHARED].
60220         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60221         [$(build-shared) = yes].
60222         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60223         * sysdeps/i386/i686/multiarch/strstr-c.c
60224         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60225         [SHARED && !NO_HIDDEN].
60226         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60227         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60228         * sysdeps/powerpc/powerpc32/dl-machine.c
60229         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60230         * sysdeps/powerpc/powerpc32/sysdep.h
60231         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60232         to [SHARED && PIC && !NO_HIDDEN].
60233         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60234         conditional to [SHARED].
60236 2013-09-04   Will Newton  <will.newton@linaro.org>
60238         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60239         * benchtests/bench-string.h: Include bench-timing.h instead
60240         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60241         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60242         call to HP_TIMING_DIFF_INIT.
60243         * benchtests/bench-memccpy.c: Use bench-timing.h macros
60244         instead of hp-timing.h macros.
60245         * benchtests/bench-memchr.c: Likewise.
60246         * benchtests/bench-memcmp.c: Likewise.
60247         * benchtests/bench-memcpy.c: Likewise.
60248         * benchtests/bench-memmem.c: Likewise.
60249         * benchtests/bench-memmove.c: Likewise.
60250         * benchtests/bench-memset.c: Likewise.
60251         * benchtests/bench-rawmemchr.c: Likewise.
60252         * benchtests/bench-strcasecmp.c: Likewise.
60253         * benchtests/bench-strcasestr.c: Likewise.
60254         * benchtests/bench-strcat.c: Likewise.
60255         * benchtests/bench-strchr.c: Likewise.
60256         * benchtests/bench-strcmp.c: Likewise.
60257         * benchtests/bench-strcpy.c: Likewise.
60258         * benchtests/bench-strcpy_chk.c: Likewise.
60259         * benchtests/bench-strlen.c: Likewise.
60260         * benchtests/bench-strncasecmp.c: Likewise.
60261         * benchtests/bench-strncat.c: Likewise.
60262         * benchtests/bench-strncmp.c: Likewise.
60263         * benchtests/bench-strncpy.c: Likewise.
60264         * benchtests/bench-strnlen.c: Likewise.
60265         * benchtests/bench-strpbrk.c: Likewise.
60266         * benchtests/bench-strrchr.c: Likewise.
60267         * benchtests/bench-strspn.c: Likewise.
60268         * benchtests/bench-strstr.c: Likewise.
60270 2013-09-04  Will Newton  <will.newton@linaro.org>
60272         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60274 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
60276         [BZ #15427]
60277         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60278         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60279         * math/libm-test.inc (lgamma_test_data): Add more tests.
60280         * sysdeps/i386/fpu/libm-test-ulps: Update.
60281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60283 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
60285         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60287         Add ifunc.
60288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60289         Add strcmp-sse2-unaligned
60290         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
60292 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60294         * Versions.def (libc): Add GLIBC_2.19.
60296 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60298         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
60299         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
60301 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
60303         [BZ #14155]
60304         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
60305         intermediate calculations in recurrence.
60306         (__ieee754_ynf): Likewise.
60307         * math/libm-test.inc (jn_test_data): Do not allow spurious
60308         underflow exception.  Add more tests.
60309         (yn_test_data): Add more tests.
60310         * sysdeps/i386/fpu/libm-test-ulps: Update.
60311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60313 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
60315         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
60317 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60319         * csu/init-first.c: Fix then/than typos.
60320         * locale/programs/ld-collate.c: Likewise.
60321         * locale/programs/linereader.h: Likewise.
60322         * manual/charset.texi: Likewise.
60323         * manual/filesys.texi: Likewise.
60324         * manual/stdio.texi: Likewise.
60325         * manual/string.texi: Likewise.
60326         * stdlib/fmtmsg.c: Likewise.
60327         * sysdeps/i386/stpncpy.S: Likewise.
60328         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60329         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60330         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60331         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60333 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60335         * elf/dl-open.c: Fix typos.
60336         * iconvdata/gbbig5.c: Likewise.
60337         * iconvdata/iso-2022-jp.c: Likewise.
60338         * iconv/gconv_int.h: Likewise.
60339         * iconv/loop.c: Likewise.
60340         * nis/rpcsvc/nis.h: Likewise.
60341         * resolv/ns_name.c: Likewise.
60342         * stdio-common/vfscanf.c: Likewise.
60343         * streams/stropts.h: Likewise.
60344         * sunrpc/rpc_thread.c: Likewise.
60345         * sysdeps/i386/strpbrk.S: Likewise.
60346         * sysdeps/ieee754/k_standard.c: Likewise.
60347         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60348         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60349         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
60350         * sysdeps/mach/hurd/profil.c: Likewise.
60351         * sysdeps/s390/dl-procinfo.h: Likewise.
60352         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
60353         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
60354         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
60355         * sysdeps/x86_64/dl-trampoline.S: Likewise.
60356         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60358 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
60360         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
60361         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
60363 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
60365         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
60366         aix specific files.
60367         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
60368         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
60369         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
60370         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
60371         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
60372         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
60373         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
60374         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
60376 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60377             Roland McGrath  <roland@hack.frob.com>
60379         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
60380         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
60382 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60384         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
60385         __executable_start symbol instead of _start.
60387 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60389         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
60390         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
60391         Move macros to...
60392         * sysdeps/gnu/ldsodefs.h: ... this new file.
60394         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
60395         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
60396         instead of ELFOSABI_LINUX.
60398         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
60399         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
60400         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
60401         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
60402         Likewise.
60403         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
60404         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
60405         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
60406         Likewise.
60407         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60408         (ibm_extended_long_double): Add ieee_nan member.
60409         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
60410         (do_test): New function.
60412         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
60413         TEST_TRUNC.
60414         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
60415         functions, renamed from truncdfsf_test, trunctfsf_test,
60416         trunctfdf_test.
60417         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
60418         functions.
60419         (do_test): Run all these.
60421 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
60423         * argp/argp-help.c: Fix typos.
60424         * argp/argp-parse.c: Likewise.
60425         * debug/backtracesyms.c: Likewise.
60426         * elf/elf.h: Likewise.
60427         * malloc/malloc.c: Likewise.
60428         * nis/nis_print.c: Likewise.
60429         * resolv/res_comp.c: Likewise.
60430         * stdlib/stdlib.h: Likewise.
60431         * sunrpc/clnt_tcp.c: Likewise.
60432         * sunrpc/clnt_udp.c: Likewise.
60433         * sunrpc/clnt_unix.c: Likewise.
60434         * sysdeps/unix/bsd/ptsname.c: Likewise.
60435         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
60436         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
60437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
60438         Likewise.
60439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
60440         Likewise.
60441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
60442         Likewise.
60443         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60445 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60447         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
60448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60450 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
60452         [BZ #15897]
60453         * dlfcn/Makefile (tests): Add bug-dl-leaf.
60454         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
60455         ($(objpfx)bug-dl-leaf): New rule.
60456         ($(objpfx)bug-dl-leaf.so): Likewise.
60457         ($(objpfx)bug-dl-leaf.out): Likewise.
60458         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
60459         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
60460         * dlfcn/bug-dl-leaf.c: New test.
60461         * dlfcn/bug-dl-leaf-lib.c: Likewise.
60462         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
60463         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
60464         (dlclose): Likewise.
60465         (dlmopen): Likewise.
60467 2013-08-27  Roland McGrath  <roland@hack.frob.com>
60469         * include/netdb.h [!_ISOMAC]:
60470         Don't include <tls.h>.
60471         (h_errno, __libc_h_errno): Move declaration and macros out of
60472         [_LIBC_REENTRANT].
60474         * include/resolv.h [_RESOLV_H_]:
60475         Don't include <tls.h>.
60476         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
60477         * resolv/res_libc.c: Don't include <tls.h>.
60478         (_res): Use __attribute__ ((nocommon)) in place of
60479         __attribute__ ((section (".bss"))).
60481         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
60482         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
60484         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
60486         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
60487         only under [SIOCGIFCONF && SIOCGIFNETMASK].
60489         * resolv/res_mkquery.c: Include <sys/time.h>.
60491         * inet/ifreq.c: Moved to ...
60492         * sysdeps/unix/ifreq.c: ... here.
60493         * inet/ifreq.c: New file, true stub version.
60495         * socket/sa_len.c: New file.
60496         * socket/Makefile (aux): Add it.
60497         * sysdeps/unix/sysv/linux/Makefile
60498         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
60499         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
60500         and #include <socket/sa_len.c>.
60501         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
60502         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
60504         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
60505         * bits/socket.h: ... here.
60507         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
60508         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
60509         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
60511 2013-08-27  Andreas Schwab  <schwab@suse.de>
60513         [BZ #15736]
60514         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
60515         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
60516         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
60517         * string/test-strcasecmp.c (test_main): Run tests in several
60518         locales.
60519         * string/test-strncasecmp.c (test_main): Likewise.
60521         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
60522         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
60523         to __strcasecmp_nonascii and __strncasecmp_nonascii.
60524         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
60525         (__strncasecmp_ssse3) [PIC]: Likewise.
60527 2013-08-26  Roland McGrath  <roland@hack.frob.com>
60529         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
60531         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
60532         instead of explicitly declaring xdecrypt.
60533         * nis/nss_nis/nis-publickey.c: Likewise.
60535 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60537         [BZ #15890]
60538         * nscd/aicache.c: Include res_hconf.h.
60539         (addhstaiX): Initialize res_hconf.
60541 2013-08-26  Andreas Schwab  <schwab@suse.de>
60543         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
60544         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
60546 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60548         * nscd/aicache.c (addhstaiX): Fix indentation.
60550 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
60552         * configure.ac: Quote $build_pt_chown test.
60553         * configure: Regenerated.
60555 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
60557         [BZ #15532]
60558         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
60559         * math/s_cexpf.c (__cexpf): Likewise.
60560         * math/s_cexpl.c (__cexpl): Likewise.
60561         * math/libm-test.inc (cexp_test_data): Correct expected return
60562         value for NaN + i0.  Add another test.
60564 2013-08-22  David S. Miller  <davem@davemloft.net>
60566         * po/ca.po: Update Catalan translation from translation project.
60567         * po/uk.po: Add Ukrainian translations from translation project.
60569 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
60571         [BZ #15797]
60572         * math/s_fdim.c (__fdim): Check for infinite arguments if result
60573         is infinite, not alongside NaN test.
60574         * math/s_fdimf.c (__fdimf): Likewise.
60575         * math/s_fdiml.c (__fdiml): Likewise.
60576         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
60577         errno is unchanged.
60579 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
60581         * argp/argp-help.c: Fix typos.
60582         * crypt/speeds.c: Likewise.
60583         * csu/check_fds.c: Likewise.
60584         * elf/dl-load.c: Likewise.
60585         * elf/dl-open.c: Likewise.
60586         * elf/reldep3.c: Likewise.
60587         * elf/reldep.c: Likewise.
60588         * elf/sprof.c: Likewise.
60589         * iconv/iconv_charmap.c: Likewise.
60590         * iconv/skeleton.c: Likewise.
60591         * iconv/strtab.c: Likewise.
60592         * io/lockf64.c: Likewise.
60593         * libio/libioP.h: Likewise.
60594         * resolv/gai_notify.c: Likewise.
60595         * resolv/ns_name.c: Likewise.
60596         * resolv/ns_samedomain.c: Likewise.
60597         * resolv/res_send.c: Likewise.
60598         * stdlib/random.c: Likewise.
60599         * sunrpc/rpc/xdr.h: Likewise.
60600         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
60601         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60602         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60603         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60604         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60605         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60606         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60607         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60608         * sysdeps/mach/hurd/check_fds.c: Likewise.
60609         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60610         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60611         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60612         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60613         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60614         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60615         * sysdeps/pthread/aio_notify.c: Likewise.
60616         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
60617         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
60618         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
60619         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60620         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60622 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60624         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60625         version if bit_Slow_SSE4_2 is set.
60626         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60627         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60629 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60631         [BZ #15867]
60632         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60633         trampoline stack frame information.
60634         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60635         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60636         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60637         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60638         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60639         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60640         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60641         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60642         sa_flags value.
60643         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60644         interrupting a syscall and set with option SA_SIGINFO.
60646 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60648         [BZ #15531]
60649         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60650         argument is infinite.
60651         * math/s_cprojf.c (__cprojf): Likewise.
60652         * math/s_cprojl.c (__cprojl): Likewise.
60653         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60654         * math/libm-test.inc (cproj_test_data): Add more tests.
60656         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60658         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60659         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60660         size.  Use __ffs to determine corresponding shift.
60662 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60663             Roland McGrath  <roland@hack.frob.com>
60665         * Makefile (INSTALL): Remove trailing blank lines from output of
60666         makeinfo.
60668 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60670         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60671         Align 32 bit compat elf_greg to 8 bytes.
60673 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
60675         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60677 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60679         * string/strcoll_l.c (coll_seq): New structure.
60680         (get_next_seq_cached): New function.
60681         (get_next_seq): New function.
60682         (do_compare): New function.
60683         (STRCOLL): Use GNU style definition.  Simplify implementation
60684         by using get_next_seq, get_next_seq_cached and do_compare.
60686 2013-08-16  Florian Weimer  <fweimer@redhat.com>
60688         [BZ #14699]
60689         CVE-2013-4237
60690         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
60691         member.
60692         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
60693         member.
60694         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
60695         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
60696         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
60697         conditional.
60698         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
60699         GETDENTS_64BIT_ALIGNED.
60700         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60701         * manual/filesys.texi (Reading/Closing Directory): Document
60702         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
60703         strongly.
60704         * manual/conf.texi (Limits for Files): Add portability note to
60705         NAME_MAX, PATH_MAX.
60706         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
60708 2013-08-13  Andreas Schwab  <schwab@suse.de>
60710         [BZ #15749]
60711         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
60712         of fabs.
60713         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
60714         LDBL_MAX_EXP >= 16384]: Add tests for it.
60716 2013-08-12  David S. Miller  <davem@davemloft.net>
60718         * version.h (RELEASE): Set to "development".
60719         (VERSION): Set to "2.18.90".
60720         * NEWS: Add 2.19 section.
60722 2013-08-03  David S. Miller  <davem@davemloft.net>
60724         * po/ko.po: Update Korean translation from translation project.
60726 2013-08-01  David S. Miller  <davem@davemloft.net>
60728         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
60729         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
60730         Bilka.
60732 2013-07-30  David S. Miller  <davem@davemloft.net>
60734         * po/fr.po: Update French translation from translation project.
60736 2013-07-28  David S. Miller  <davem@davemloft.net>
60738         * po/cs.po: Update Czech translation from translation project.
60740         * po/sv.po: Update Swedish translation from translation project.
60742 2013-07-27  David S. Miller  <davem@davemloft.net>
60744         * po/eo.po: Update Esperanto translation from translation project.
60746         * po/vi.po: Update Vietnamese translation from translation project.
60748         * po/de.po: Update German translation from translation project.
60750 2013-07-26  David S. Miller  <davem@davemloft.net>
60752         * po/bg.po: Update Bulgarian translation from translation project.
60754         * po/nl.po: Update Dutch translation from translation project.
60755         * po/pl.po: Update Polish translation from translation project.
60756         * po/ru.po: Update Russian translation from translation project.
60758 2013-07-24  David S. Miller  <davem@davemloft.net>
60760         * po/libc.pot: Update.
60762 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60764         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
60765         variable page size.
60766         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60767         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
60768         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
60770 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60772         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
60774 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60775             Andreas Schwab  <schwab@suse.de>
60776             Roland McGrath  <roland@hack.frob.com>
60777             Joseph Myers  <joseph@codesourcery.com>
60778             Carlos O'Donell  <carlos@redhat.com>
60780         [BZ #15755]
60781         * config.h.in: Define HAVE_PT_CHOWN.
60782         * config.make.in (build-pt-chown): New variable.
60783         * configure.in (--enable-pt_chown): New configure option.
60784         * configure: Regenerate.
60785         * login/Makefile: Include Makeconfig.  Build pt_chown only if
60786         build-pt-chown is enabled.
60787         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
60788         pt_chown to fix pty ownership.
60789         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
60790         CLOSE_ALL_FDS.
60791         * manual/install.texi (Configuring and compiling): Mention
60792         --enable-pt_chown. Add @findex for grantpt.
60793         * INSTALL: Regenerate.
60795 2013-07-20  David S. Miller  <davem@davemloft.net>
60797         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
60798         difference between 32-bit and 64-bit.
60800 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
60802         [BZ #15711]
60803         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
60804         Avoid system header dependency with -ffreestanding.
60805         ($(objpfx)bits/syscall%d): Likewise.
60807 2013-07-13  David S. Miller  <davem@davemloft.net>
60809         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
60810         underflows from atanl/atan2l due to bug 15319.
60811         (casinh_test_data): Likewise.
60813 2013-07-07  David S. Miller  <davem@davemloft.net>
60815         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
60817 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
60819         * sysdeps/i386/fpu/libm-test-ulps: Update.
60820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60822 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60824         * configure.in (--enable-lock-elision): Fix message text.
60825         * INSTALL: Regenerate.
60826         * configure: Regenerate.
60828 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60832 2013-07-03  Andreas Jaeger  <aj@suse.de>
60834         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
60835         define.
60836         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
60837         (ptrace_peeksiginfo_args): Add.
60838         (__ptrace_peeksiginfo_flags): Add.
60839         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60840         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60841         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60843 2013-07-03  Allan McRae  <allan@archlinux.org>
60845         * sysdeps/i386/fpu/libm-test-ulps: Update.
60847 2013-07-02  David S. Miller  <davem@davemloft.net>
60849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60851 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
60853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60855 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60857         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
60858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60860 2013-07-02  Andi Kleen <ak@linux.intel.com>
60862         * config.h.in (ENABLE_LOCK_ELISION): Add.
60863         * configure.in (--enable-lock-elision): Add option.
60864         * manual/install.texi: Document --enable lock elision.
60865         * configure: Regenerate
60866         * INSTALL: Regenerate.
60868 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
60870         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
60871         SSE4.2 strcasecmp for libc.a.
60872         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
60874 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60876         [BZ #13304]
60877         * soft-fp/op-common.h (_FP_FMA): New macro.
60878         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
60879         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
60880         (_FP_MUL_MEAT_1_imm): ... here.
60881         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
60882         (_FP_MUL_MEAT_1_wide): ... here.
60883         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
60884         (_FP_MUL_MEAT_1_hard): ... here.
60885         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
60886         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
60887         (_FP_MUL_MEAT_2_wide): ... here.
60888         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
60889         (_FP_MUL_MEAT_2_wide_3mul): ... here.
60890         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
60891         (_FP_MUL_MEAT_2_gmp): ... here.
60892         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
60893         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
60894         (_FP_MUL_MEAT_4_wide): ... here.
60895         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
60896         (_FP_MUL_MEAT_4_gmp): ... here.
60897         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
60898         (_FP_WFRACBITS_DW_S): Likewise.
60899         (_FP_WFRACXBITS_DW_S): Likewise.
60900         (_FP_HIGHBIT_DW_S): Likewise.
60901         (FP_FMA_S): Likewise.
60902         (_FP_FRAC_HIGH_DW_S): Likewise.
60903         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
60904         (_FP_WFRACBITS_DW_D): Likewise.
60905         (_FP_WFRACXBITS_DW_D): Likewise.
60906         (_FP_HIGHBIT_DW_D): Likewise.
60907         (FP_FMA_D): Likewise.
60908         (_FP_FRAC_HIGH_DW_D): Likewise.
60909         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
60910         (_FP_WFRACBITS_DW_E): Likewise.
60911         (_FP_WFRACXBITS_DW_E): Likewise.
60912         (_FP_HIGHBIT_DW_E): Likewise.
60913         (FP_FMA_E): Likewise.
60914         (_FP_FRAC_HIGH_DW_E): Likewise.
60915         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
60916         (_FP_WFRACBITS_DW_Q): Likewise.
60917         (_FP_WFRACXBITS_DW_Q): Likewise.
60918         (_FP_HIGHBIT_DW_Q): Likewise.
60919         (FP_FMA_Q): Likewise.
60920         (_FP_FRAC_HIGH_DW_Q): Likewise.
60921         * soft-fp/fmasf4.c: New file.
60922         * soft-fp/fmadf4.c: Likewise.
60923         * soft-fp/fmatf4.c: Likewise.
60925 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60927         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60928         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
60929         Silvermont.
60930         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
60931         macro.
60932         (index_Slow_SSE4_2): Likewise.
60933         (index_Prefer_PMINUB_for_stringop): Likewise.
60934         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
60935         bit_Slow_SSE4_2 is set.
60936         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60937         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60939 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60941         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
60942         rtld_global._dl_hwcap2.
60943         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
60944         POWER8.
60945         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
60946         POWER8 feature descriptions defined in _dl_hwcap2.
60947         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
60948         string handling for POWER8 feature bits.
60949         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
60950         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
60951         _dl_powerpc_cap_flags.
60952         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
60953         * sysdeps/powerpc/rtld-global-offsets.sym
60954         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
60955         _dl_hwcap2 in the rtld_global_ro structure.
60957 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60959         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
60960         hardware capabilities in support of AT_HWCAP2.
60961         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
60962         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
60963         GLRO(dl_hwcap2).
60964         (_dl_show_auxv): Add support for calling _dl_procinfo to display
60965         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
60966         explicitly the unknown a_type display mechanism is used.
60967         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
60968         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
60969         struct member.
60970         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
60971         to macro prototype for AT_HWCAP2 support.
60972         * sysdeps/i386/dl-procinfo.h: Likewise.
60973         * sysdeps/s390/dl-procinfo.h: Likewise.
60974         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
60975         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
60976         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
60977         return -1 for unknown a_type display fallback.
60978         * sysdeps/sparc/dl-procinfo.h: Likewise.
60979         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
60980         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
60982 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
60984         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
60985         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
60987 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
60989         [BZ #12492]
60990         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
60991         mprotect making __stack_prot writable.
60993 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
60994             Joseph Myers  <joseph@codesourcery.com>
60996         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
60997         as being properly aligned.
60999 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
61001         * dlfcn/modstatic5.c: New file.
61002         * dlfcn/tststatic5.c: New file.
61003         * dlfcn/Makefile (tests): Add tststatic5.
61004         (tests-static): Likewise.
61005         (modules-names): Add modstatic5.
61006         (tststatic5-ENV): New variable.
61007         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61009         [BZ #15022]
61010         * elf/dl-support.c (_dl_main_map): New variable.
61011         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61012         (_dl_nns, _dl_load_adds): Set to 1.
61013         (_dl_initial_searchlist): Refer to _dl_main_map.
61014         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61015         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61016         call to _dl_get_origin.
61017         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61018         around call_map.
61019         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61020         * dlfcn/modstatic3.c: New file.
61021         * dlfcn/tststatic3.c: New file.
61022         * dlfcn/tststatic4.c: New file.
61023         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61024         (tests-static): Likewise.
61025         (modules-names): Add modstatic3.
61026         (tststatic3-ENV, tststatic4-ENV): New variables.
61027         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61028         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61030 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
61032         * configure.in (CC): Require GCC version 4.4 or later.
61033         * configure: Regenerated.
61034         * manual/install.texi (Tools for Compilation): Update GCC version
61035         requirement.
61036         * INSTALL: Regenerated.
61038 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61040         [BZ #15674]
61041         * string/test-memcmp.c (check2): New.
61042         (main): Call check2.
61044         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61046 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
61048         [BZ #15022]
61049         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61050         over to...
61051         (dl_open_worker) [!SHARED]: ... here.
61053 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61055         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61057 2013-06-25  Richard Henderson  <rth@redhat.com>
61059         * locale/programs/locarchive.c: Include <libc-internal.h>
61061 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61063         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61064         trailing whitespace removed.
61066 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61068         [BZ #10283]
61069         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61070         * locale/programs/locarchive.c: Include libc-mmap.h.
61071         (prepare_address_space): Take two new outputs (the mmap base and len).
61072         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61073         values.
61074         (create_archive): Declare new mmap base and len values for
61075         prepare_address_space, and store the result in ah.
61076         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61077         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61078         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61079         Declare new mmap base and len values for
61080         prepare_address_space, and store the result in new_ah.
61081         (open_archive): Declare new mmap base and len values for
61082         prepare_address_space, and store the result in ah.
61083         (close_archive): If ah->mmap_base is not NULL, use that and
61084         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61085         * sysdeps/generic/libc-mmap.h: New file.
61087 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61089         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61090         (ALIGN_UP): Likewise.
61091         (PTR_ALIGN_DOWN): Likewise.
61092         (PTR_ALIGN_UP): Likewise.
61094 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61096         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61097         entry mapped to PPC_PLATFORM_POWER8.
61098         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61099         POWER8.
61100         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61101         (_dl_string_platform): Add case for exporting platform position for
61102         POWER8.
61103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61104         search path to sysdeps/powerpc/powerpc32/power8 directory.
61105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61106         search path to sysdeps/powerpc/powerpc64/power8 directory.
61107         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61108         power7 directories.
61109         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61110         power7 directories.
61112 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61114         * INSTALL: Regenerate.
61116         * nscd/connections.c (nscd_init): Fix comment.
61118 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61120         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61122         [BZ #15667]
61123         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61124         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61126 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61128         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61129         DL_DST_REQ_STATIC.
61130         (DL_DST_REQ_STATIC): Remove macro.
61132 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61134         [BZ #7006]
61135         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61136         with a shift of 0 bits.
61138 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61140         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61141         $(tststatic-ENV).
61143 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61145         [BZ #15655]
61146         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61148 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61150         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61151         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61152         accepts -fno-tree-loop-distribute-patterns.
61153         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61154         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61155         recursive call.
61156         * string/memset.c (memset): Likewise.
61157         * string/test-memmove.c (simple_memmove): Disable loop transformation
61158         to library calls.
61159         * string/test-memset.c (simple_memset): Likewise.
61160         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61161         * benchtests/bench-memset.c (simple_memset): Likewise.
61162         * configure: Regenerated.
61164 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61166         * math/test-misc.c (main): Ignore fesetround failure when failures
61167         of subsequent rounding tests would be ignored.
61169         [BZ #15654]
61170         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61171         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61172         * math/fegetenv.c (__fegetenv): Return 0.
61173         * math/fegetexcept.c (fegetexcept): Return 0.
61174         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61175         FE_TONEAREST.
61176         * math/feholdexcpt.c (feholdexcept): Return 0.
61177         * math/fesetenv.c (__fesetenv): Return 0.
61178         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61179         argument FE_TONEAREST.
61180         * math/feupdateenv.c (__feupdateenv): Return 0.
61181         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61183 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61185         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61186         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61187         ($(objpfx)rtld-%.os rules): Use them.
61189 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61191         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61192         fields.
61194 2013-06-17  Roland McGrath  <roland@hack.frob.com>
61196         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61197         length of target pattern, then descending length of dependency pattern.
61198         * configure.in (AWK): Require gawk 3.1.2 or newer.
61199         * manual/install.texi (Tools for Compilation): Say that we do.
61200         * configure: Regenerated.
61202         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61203         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61204         * scripts/sysd-rules.awk: ... this new script.
61205         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61206         than a glob-style pattern.
61208 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
61210         * math/test-misc.c (main): Do not treat incorrectly rounded
61211         conversions as failure unless ROUNDING_TESTS passes.
61213 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
61215         [BZ #15631]
61216         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61217         restore exception state around main square root computation, then
61218         check for inexactness explicitly.
61220         * math/libm-test.inc (fma_test_data): Add another test.
61222 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61224         * manual/threads.texi (Non-POSIX Extensions): New document
61225         node.  Document pthread_getattr_default_np and
61226         pthread_setattr_default_np.
61228         * Versions.def (libpthread): Add GLIBC_2.18.
61229         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61231         Likewise.
61232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61233         Likewise.
61234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61235         Likewise.
61236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61237         Likewise.
61238         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61239         Likewise.
61240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61241         Likewise.
61242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61243         Likewise.
61244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61245         Likewise.
61246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61247         Likewise.
61249 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61252         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61254 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61255             H.J. Lu  <hjl.tools@gmail.com>
61257         [BZ #15627]
61258         * sysdeps/x86_64/rtld-memset.c: Remove file.
61259         * sysdeps/x86_64/rtld-memset.S: New file.
61261 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
61263         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61264         (test_in_one_mode): Take arguments for whether the rounding mode
61265         is supported for each floating-point type.
61266         (do_test): Pass new arguments to test_in_one_mode using
61267         ROUNDING_TESTS.
61269 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61271         * posix/tst-waitid.c (do_test): Distinguish different instances of
61272         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
61273         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61274         before entering the kernel for waitpid.
61276 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61278         * NEWS: Fix note on clock function precision.  Text by Roland
61279         McGrath.
61281 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61283         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61284         it into place only when and if the sanity check passes.
61286 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
61288         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61289         output for whether conversion result is exact.  Take argument
61290         indicating whether type is IBM long double.
61291         (round_for_all): Change need_exact field to ibm_ld.
61292         * stdlib/tst-strtod-round.c (struct exactness): New type.
61293         (struct test): Change bool ld_ok field to struct exactness exact.
61294         (TEST): Update all definitions for change to field.
61295         (tests): Regenerate array contents.
61296         (test_in_one_mode): Take pointer to new field instead of old ld_ok
61297         field value.  Check for IBM long double here.
61298         (do_test): Update calls to test_in_one_mode.
61300 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61302         [BZ #12515]
61303         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
61304         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
61306 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61308         [BZ #15605]
61309         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
61310         generated by the compiler on loop optimizations.
61311         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
61312         general definitions.
61314 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
61316         * math/bug-nextafter.c: Include <math-tests.h>.
61317         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61318         the relevant type.
61319         * math/bug-nexttoward.c: Include <math-tests.h>.
61320         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61321         the relevant type.
61322         * math/test-misc.c: Include <math-tests.h>.
61323         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61324         the relevant type.
61326 2013-06-12  Andreas Jaeger  <aj@suse.de>
61328         * po/ia.po: Update Interlingua translation from translation
61329         project.
61331 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61333         * include/fenv.h: Include stdbool.h.
61334         (struct rm_ctx): New structure.
61335         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61336         Define macro.
61337         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
61338         (SET_RESTORE_ROUNDF): Likewise.
61339         (SET_RESTORE_ROUNDL): Likewise.
61340         (SET_RESTORE_ROUND_NOEX): Likewise.
61341         (SET_RESTORE_ROUND_NOEXF): Likewise.
61342         (SET_RESTORE_ROUND_NOEXL): Likewise.
61343         (SET_RESTORE_ROUND_53BIT): Likewise.
61344         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
61345         (libc_feresetround_noexf_ctx): Likewise.
61346         (libc_feresetround_noexl_ctx): Likewise.
61347         (libc_feholdsetround_53bit_ctx): Likewise.
61348         (libc_feresetround_53bit_ctx): Likewise.
61349         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
61350         (libc_feholdexcept_setround_sse_ctx): New function.
61351         (libc_fesetenv_sse_ctx): Likewise.
61352         (libc_feupdateenv_sse_ctx): Likewise.
61353         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
61354         (libc_feholdexcept_setround_387_ctx): Likewise.
61355         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
61356         (libc_feholdsetround_387_prec_ctx): Likewise.
61357         (libc_feholdsetround_387_ctx): Likewise.
61358         (libc_feholdsetround_387_53bit_ctx): Likewise.
61359         (libc_feholdsetround_sse_ctx): Likewise.
61360         (libc_feresetround_sse_ctx): Likewise.
61361         (libc_feresetround_387_ctx): Likewise.
61362         (libc_feupdateenv_387_ctx): Likewise.
61363         (libc_feholdexcept_setroundf_ctx): Define macro.
61364         (libc_fesetenvf_ctx): Likewise.
61365         (libc_feupdateenvf_ctx): Likewise.
61366         (libc_feholdsetroundf_ctx): Likewise.
61367         (libc_feresetroundf_ctx): Likewise.
61368         (libc_feholdexcept_setround_ctx): Likewise.
61369         (libc_fesetenv_ctx): Likewise.
61370         (libc_feupdateenv_ctx): Likewise.
61371         (libc_feholdsetround_ctx): Likewise.
61372         (libc_feresetround_ctx): Likewise.
61373         (libc_feholdexcept_setroundl_ctx): Likewise.
61374         (libc_feupdateenvl_ctx): Likewise.
61375         (libc_feholdsetroundl_ctx): Likewise.
61376         (libc_feresetroundl_ctx): Likewise.
61377         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
61378         (libc_feresetround_53bit_ctx): Likewise.
61380 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61382         * locale/iso-639.def: Convert to UTF-8.
61384 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
61386         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
61387         (EXCEPTION_TESTS_double): Likewise.
61388         (EXCEPTION_TESTS_long_double): Likewise.
61389         (EXCEPTION_TESTS): Likewise.
61390         * math/libm-test.inc (test_exceptions): Only test exceptions if
61391         EXCEPTION_TESTS (FLOAT).
61393 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61395         * benchtests/Makefile (string-bench): Add strcpy_chk and
61396         stpcpy_chk.
61397         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
61398         * benchtests/bench-stpcpy_chk.c: New file.
61399         * benchtests/bench-strcpy_chk-ifunc.c: New file.
61400         * benchtests/bench-strcpy_chk.c: New file.
61401         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
61402         code.
61403         (do_test): Likewise.
61405 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61407         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
61408         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
61409         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
61410         with tabs where appropriate.
61411         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
61412         dl-procinfo.h.
61413         [PPC_PLATFORM_PPC440]: Likewise.
61414         [PPC_PLATFORM_PPC464]: Likewise.
61415         [PPC_PLATFORM_PPC476]: Likewise.
61416         (_dl_string_platform): Add support for detecting ppc405, ppc440,
61417         ppc464, and ppc476 platform strings merging from ports/
61418         dl-procinfo.h.
61420 2013-06-11  Andreas Schwab  <schwab@suse.de>
61422         [BZ #14991]
61423         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
61424         (from_ucs4_idx): Regenerate.
61425         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
61426         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
61427         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
61428         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
61429         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
61430         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
61431         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
61432         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
61433         from FROM_LOOP and TO_LOOP specific macros.
61434         (BODY): Handle combining characters.
61435         * iconvdata/BIG5HKSCS.irreversible: Update.
61436         * iconvdata/BIG5HKSCS.precomposed: New file.
61437         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
61438         characters.
61439         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
61441 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61443         * include/sys/time.h: Fix indentation and add copyright header.
61445         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
61446         (do_test): Likewise.
61447         * string/test-memchr.c (do_one_test): Likewise.
61448         (do_test): Likewise.
61449         * string/test-memcmp.c (do_one_test): Likewise.
61450         (do_test): Likewise.
61451         * string/test-memcpy.c (do_one_test): Likewise.
61452         (do_test): Likewise.
61453         * string/test-memmem.c (do_one_test): Likewise.
61454         (do_test): Likewise.
61455         (do_random_tests): Likewise.
61456         * string/test-memmove.c (do_one_test): Likewise.
61457         (do_test): Likewise.
61458         * string/test-memset.c (do_one_test): Likewise.
61459         (do_test): Likewise.
61460         * string/test-rawmemchr.c (do_one_test): Likewise.
61461         (do_test): Likewise.
61462         * string/test-strcasecmp.c (do_one_test): Likewise.
61463         (do_test): Likewise.
61464         * string/test-strcasestr.c (do_one_test): Likewise.
61465         (do_test): Likewise.
61466         * string/test-strcat.c (do_one_test): Likewise.
61467         (do_test): Likewise.
61468         * string/test-strchr.c (do_one_test): Likewise.
61469         (do_test): Likewise.
61470         * string/test-strcmp.c (do_one_test): Likewise.
61471         (do_test): Likewise.
61472         * string/test-strcpy.c (do_one_test): Likewise.
61473         (do_test): Likewise.
61474         * string/test-string.h: Likewise.
61475         (test_init): Likewise.
61476         * string/test-strlen.c (do_one_test): Likewise.
61477         (do_test): Likewise.
61478         * string/test-strncasecmp.c (do_one_test): Likewise.
61479         (do_test): Likewise.
61480         * string/test-strncat.c (do_one_test): Likewise.
61481         (do_test): Likewise.
61482         * string/test-strncmp.c (do_one_test): Likewise.
61483         (do_test_limit): Likewise.
61484         (do_test): Likewise.
61485         * string/test-strncpy.c (do_one_test): Likewise.
61486         (do_test): Likewise.
61487         * string/test-strnlen.c (do_one_test): Likewise.
61488         (do_test): Likewise.
61489         * string/test-strpbrk.c (do_one_test): Likewise.
61490         (do_test): Likewise.
61491         * string/test-strrchr.c (do_one_test): Likewise.
61492         (do_test): Likewise.
61493         * string/test-strspn.c (do_one_test): Likewise.
61494         (do_test): Likewise.
61495         * string/test-strstr.c (do_one_test): Likewise.
61496         (do_test): Likewise.
61498         * benchtests/Makefile (string-bench): Add string benchmarks.
61499         * benchtests/bench-bcopy-ifunc.c: New file.
61500         * benchtests/bench-bcopy.c: New file.
61501         * benchtests/bench-bzero-ifunc.c: New file.
61502         * benchtests/bench-bzero.c: New file.
61503         * benchtests/bench-memccpy-ifunc.c: New file.
61504         * benchtests/bench-memccpy.c: New file.
61505         * benchtests/bench-memchr-ifunc.c: New file.
61506         * benchtests/bench-memchr.c: New file.
61507         * benchtests/bench-memcmp-ifunc.c: New file.
61508         * benchtests/bench-memcmp.c: New file.
61509         * benchtests/bench-memmem-ifunc.c: New file.
61510         * benchtests/bench-memmem.c: New file.
61511         * benchtests/bench-memmove-ifunc.c: New file.
61512         * benchtests/bench-memmove.c: New file.
61513         * benchtests/bench-mempcpy-ifunc.c: New file.
61514         * benchtests/bench-mempcpy.c: New file.
61515         * benchtests/bench-memset-ifunc.c: New file.
61516         * benchtests/bench-memset.c: New file.
61517         * benchtests/bench-rawmemchr-ifunc.c: New file.
61518         * benchtests/bench-rawmemchr.c: New file.
61519         * benchtests/bench-stpcpy-ifunc.c: New file.
61520         * benchtests/bench-stpcpy.c: New file.
61521         * benchtests/bench-stpncpy-ifunc.c: New file.
61522         * benchtests/bench-stpncpy.c: New file.
61523         * benchtests/bench-strcasecmp-ifunc.c: New file.
61524         * benchtests/bench-strcasecmp.c: New file.
61525         * benchtests/bench-strcasestr-ifunc.c: New file.
61526         * benchtests/bench-strcasestr.c: New file.
61527         * benchtests/bench-strcat-ifunc.c: New file.
61528         * benchtests/bench-strcat.c: New file.
61529         * benchtests/bench-strchr-ifunc.c: New file.
61530         * benchtests/bench-strchr.c: New file.
61531         * benchtests/bench-strchrnul-ifunc.c: New file.
61532         * benchtests/bench-strchrnul.c: New file.
61533         * benchtests/bench-strcmp-ifunc.c: New file.
61534         * benchtests/bench-strcmp.c: New file.
61535         * benchtests/bench-strcpy-ifunc.c: New file.
61536         * benchtests/bench-strcpy.c: New file.
61537         * benchtests/bench-strcspn-ifunc.c: New file.
61538         * benchtests/bench-strcspn.c: New file.
61539         * benchtests/bench-strlen-ifunc.c: New file.
61540         * benchtests/bench-strlen.c: New file.
61541         * benchtests/bench-strncasecmp-ifunc.c: New file.
61542         * benchtests/bench-strncasecmp.c: New file.
61543         * benchtests/bench-strncat-ifunc.c: New file.
61544         * benchtests/bench-strncat.c: New file.
61545         * benchtests/bench-strncmp-ifunc.c: New file.
61546         * benchtests/bench-strncmp.c: New file.
61547         * benchtests/bench-strncpy-ifunc.c: New file.
61548         * benchtests/bench-strncpy.c: New file.
61549         * benchtests/bench-strnlen-ifunc.c: New file.
61550         * benchtests/bench-strnlen.c: New file.
61551         * benchtests/bench-strpbrk-ifunc.c: New file.
61552         * benchtests/bench-strpbrk.c: New file.
61553         * benchtests/bench-strrchr-ifunc.c: New file.
61554         * benchtests/bench-strrchr.c: New file.
61555         * benchtests/bench-strspn-ifunc.c: New file.
61556         * benchtests/bench-strspn.c: New file.
61557         * benchtests/bench-strstr-ifunc.c: New file.
61558         * benchtests/bench-strstr.c: New file.
61560         * benchtests/Makefile: Disable parallel execution of targets.
61561         (string-bench): Add memcpy.
61562         (benchset): New variable to store a list of benchmark sets.
61563         (bench-func): Renamed from bench.
61564         (bench-set): New target.
61565         (bench): Depend on bench-func and bench-set.
61566         * benchtests/README: Add section on benchmark sets.
61567         * benchtests/bench-memcpy-ifunc.c: New file.
61568         * benchtests/bench-memcpy.c: New file.
61569         * benchtests/bench-string.h: New file.
61571 2013-06-11  Andreas Schwab  <schwab@suse.de>
61573         [BZ #15577]
61574         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
61575         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
61576         values in the triple.
61577         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
61578         terminator in the group key.
61580 2013-06-11  Andreas Jaeger  <aj@suse.de>
61582         * po/zh_TW.po: Update Chinese (traditional) translation from
61583         translation project.
61585 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61587         * include/time.h (__clock_gettime): Add libc_hidden_proto.
61588         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
61589         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
61590         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61591         (clock_getcpuclockid): Likewise.
61592         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
61593         Add weak_alias and libc_hidden_def.
61594         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
61595         * rt/clock_gettime.c (clock_gettime): Rename to
61596         __clock_gettime.  Add weak_alias and libc_hidden_def.
61597         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
61598         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
61599         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
61600         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
61601         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
61602         Likewise.
61603         * rt/clock_settime.c (clock_settime): Rename to
61604         __clock_settime.  Add weak_alias and libc_hidden_def.
61605         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
61607 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
61609         * mach/err_boot.sub: Remove trailing whitespace.
61610         * mach/err_ipc.sub: Likewise.
61611         * mach/err_mach.sub: Likewise.
61613         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
61614         (ROUNDING_TESTS_double): Likewise.
61615         (ROUNDING_TESTS_long_double): Likewise.
61616         (ROUNDING_TESTS): Likewise.
61617         * math/libm-test.inc: Include <math-tests.h>.
61618         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
61619         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61620         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61621         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61623 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61625         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61626         of assigning.
61628 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
61630         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61631         otherwise empty TRANS lines.
61632         * sysdeps/gnu/errlist.c: Regenerated.
61634         * catgets/gencat.c (error_print): Use (void) in function
61635         definition.
61636         * crypt/crypt_util.c (__init_des): Likewise.
61637         * crypt/speeds.c (Stop): Likewise.
61638         (main): Likewise.
61639         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61640         * inet/ruserpass.c (token): Likewise.
61641         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61642         * intl/localealias.c (extend_alias_table): Likewise.
61643         * intl/plural-exp.c (init_germanic_plural): Likewise.
61644         * libio/fcloseall.c (__fcloseall): Likewise.
61645         * libio/genops.c (_IO_flush_all): Likewise.
61646         (_IO_flush_all_linebuffered): Likewise.
61647         (_IO_cleanup): Likewise.
61648         (_IO_iter_begin): Likewise.
61649         (_IO_iter_end): Likewise.
61650         (_IO_list_lock): Likewise.
61651         (_IO_list_unlock): Likewise.
61652         (_IO_list_resetlock): Likewise.
61653         * libio/getchar.c (getchar): Likewise.
61654         * libio/getchar_u.c (getchar_unlocked): Likewise.
61655         * libio/getwchar.c (getwchar): Likewise.
61656         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61657         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61658         * login/getpt.c (__getpt): Likewise.
61659         * login/tst-utmp.c (main): Likewise.
61660         * malloc/hooks.c (__malloc_check_init): Likewise.
61661         * malloc/malloc.c (__malloc_stats): Likewise.
61662         * malloc/mtrace.c (tr_break): Likewise.
61663         (mtrace): Likewise.
61664         (muntrace): Likewise.
61665         * misc/fstab.c (endfsent): Likewise.
61666         * misc/getclktck.c (__getclktck): Likewise.
61667         * misc/getdtsz.c (__getdtablesize): Likewise.
61668         * misc/gethostid.c (gethostid): Likewise.
61669         * misc/getpagesize.c (__getpagesize): Likewise.
61670         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61671         (__get_nprocs): Likewise.
61672         (__get_phys_pages): Likewise.
61673         (__get_avphys_pages): Likewise.
61674         * misc/getttyent.c (getttyent): Likewise.
61675         (setttyent): Likewise.
61676         (endttyent): Likewise.
61677         * misc/getusershell.c (getusershell): Likewise.
61678         (endusershell): Likewise.
61679         (setusershell): Likewise.
61680         (initshells): Likewise.
61681         * misc/hsearch.c (__hdestroy): Likewise.
61682         * misc/sync.c (sync): Likewise.
61683         * misc/syslog.c (closelog_internal): Likewise.
61684         (closelog): Likewise.
61685         * misc/ttyslot.c (ttyslot): Likewise.
61686         * misc/vhangup.c (vhangup): Likewise.
61687         * posix/fork.c (__fork): Likewise.
61688         * posix/getegid.c (__getegid): Likewise.
61689         * posix/geteuid.c (__geteuid): Likewise.
61690         * posix/getgid.c (__getgid): Likewise.
61691         * posix/getpid.c (__getpid): Likewise.
61692         * posix/getppid.c (__getppid): Likewise.
61693         * posix/getuid.c (__getuid): Likewise.
61694         * posix/pause.c (pause): Likewise.
61695         * posix/setpgrp.c (setpgrp): Likewise.
61696         * posix/setsid.c (__setsid): Likewise.
61697         * posix/test-vfork.c (noop): Likewise.
61698         * resolv/gethnamaddr.c (_endhtent): Likewise.
61699         (_gethtent): Likewise.
61700         (ht_endhostent): Likewise.
61701         (gethostent): Likewise.
61702         (dns_service): Likewise.
61703         * stdlib/drand48.c (drand48): Likewise.
61704         * stdlib/lrand48.c (lrand48): Likewise.
61705         * stdlib/mrand48.c (mrand48): Likewise.
61706         * stdlib/rand.c (rand): Likewise.
61707         * stdlib/random.c (__random): Likewise.
61708         * stdlib/setenv.c (clearenv): Likewise.
61709         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
61710         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
61711         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
61712         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
61713         (__get_nprocs): Likewise.
61714         (__get_phys_pages): Likewise.
61715         (__get_avphys_pages): Likewise.
61716         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
61717         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
61718         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
61719         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
61720         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
61721         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
61722         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
61723         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
61724         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
61725         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
61726         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
61727         * sysdeps/mach/hurd/sync.c (sync): Likewise.
61728         * sysdeps/posix/clock.c (clock): Likewise.
61729         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
61730         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
61731         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
61732         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
61733         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
61734         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
61735         (__get_nprocs_conf): Likewise.
61736         (__get_phys_pages): Likewise.
61737         (__get_avphys_pages): Likewise.
61738         * time/clock.c (clock): Likewise.
61739         * time/tzset.c (__tzname_max): Likewise.
61741 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
61743         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
61744         (__bswap_32): Do not use "register".
61745         * crypt/crypt.c (_ufc_doit_r): Likewise.
61746         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
61747         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
61748         * gmon/gmon.c (__monstartup): Likewise.
61749         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
61750         * hurd/hurdmalloc.c (more_memory): Likewise.
61751         (malloc): Likewise.
61752         (free): Likewise.
61753         (realloc): Likewise.
61754         (malloc_fork_prepare): Likewise.
61755         (malloc_fork_parent): Likewise.
61756         (malloc_fork_child): Likewise.
61757         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
61758         (_svcauth_des): Likewise.
61759         * inet/inet_lnaof.c (inet_lnaof): Likewise.
61760         * inet/inet_net.c (inet_network): Likewise.
61761         * inet/inet_netof.c (inet_netof): Likewise.
61762         * inet/rcmd.c (__validuser2_sa): Likewise.
61763         * io/fts.c (fts_open): Likewise.
61764         (fts_load): Likewise.
61765         (fts_close): Likewise.
61766         (fts_read): Likewise.
61767         (fts_children): Likewise.
61768         (fts_build): Likewise.
61769         (fts_stat): Likewise.
61770         (fts_sort): Likewise.
61771         (fts_alloc): Likewise.
61772         (fts_lfree): Likewise.
61773         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
61774         (_IO_file_xsgetn): Likewise.
61775         (_IO_file_xsgetn_mmap): Likewise.
61776         * libio/iofopncook.c (_IO_cookie_read): Likewise.
61777         (_IO_cookie_write): Likewise.
61778         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
61779         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
61780         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
61781         * malloc/obstack.c (_obstack_begin): Likewise.
61782         (_obstack_begin_1): Likewise.
61783         (_obstack_newchunk): Likewise.
61784         (_obstack_allocated_p): Likewise.
61785         (obstack_free): Likewise.
61786         (_obstack_memory_used): Likewise.
61787         * misc/getttyent.c (getttynam): Likewise.
61788         (getttyent): Likewise.
61789         (skip): Likewise.
61790         (value): Likewise.
61791         * misc/getusershell.c (initshells): Likewise.
61792         * misc/syslog.c (__vsyslog_chk): Likewise.
61793         * misc/ttyslot.c (ttyslot): Likewise.
61794         * nis/nis_hash.c (__nis_hash): Likewise.
61795         * posix/fnmatch_loop.c (FCT): Likewise.
61796         * posix/getconf.c (print_all): Likewise.
61797         (main): Likewise.
61798         * posix/getopt.c (exchange): Likewise.
61799         * posix/glob.c (globfree): Likewise.
61800         (prefix_array): Likewise.
61801         (__glob_pattern_type): Likewise.
61802         * resolv/arpa/nameser.h (NS_GET16): Likewise.
61803         (NS_GET32): Likewise.
61804         (NS_PUT16): Likewise.
61805         (NS_PUT32): Likewise.
61806         * resolv/gethnamaddr.c (getanswer): Likewise.
61807         (gethostbyname2): Likewise.
61808         (gethostbyaddr): Likewise.
61809         (_gethtent): Likewise.
61810         (_gethtbyname2): Likewise.
61811         (_gethtbyaddr): Likewise.
61812         * resolv/ns_print.c (dst_s_get_int16): Likewise.
61813         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
61814         * resolv/res_init.c (__res_vinit): Likewise.
61815         (net_mask): Likewise.
61816         * resolv/res_mkquery.c (outchar): Likewise.
61817         (PRINT): Likewise.
61818         * stdio-common/printf_fp.c (outchar): Likewise.
61819         (PRINT): Likewise.
61820         * stdio-common/printf_fphex.c (outchar): Likewise.
61821         (PRINT): Likewise.
61822         * stdio-common/printf_size.c (outchar): Likewise.
61823         (PRINT): Likewise.
61824         * stdio-common/test_rdwr.c (main): Likewise.
61825         * stdio-common/tfformat.c (matches): Likewise.
61826         * stdio-common/vfprintf.c (outchar): Likewise.
61827         (printf_unknown): Likewise.
61828         (buffered_vfprintf): Likewise.
61829         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
61830         * stdio-common/xbug.c (AppendToBuffer): Likewise.
61831         (ReadFile): Likewise.
61832         * stdlib/qsort.c (SWAP): Likewise.
61833         (_quicksort): Likewise.
61834         * stdlib/setenv.c (__add_to_environ): Likewise.
61835         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
61836         * stdlib/strtol_l.c (__strtol_l): Likewise.
61837         * stdlib/tst-strtod.c (main): Likewise.
61838         * stdlib/tst-strtol.c (main): Likewise.
61839         * stdlib/tst-strtoll.c (main): Likewise.
61840         * string/bits/string2.h (__strcmp_cc): Likewise.
61841         (__strcmp_cg): Likewise.
61842         (__strcspn_c1): Likewise.
61843         (__strcspn_c2): Likewise.
61844         (__strcspn_c3): Likewise.
61845         (__strspn_c1): Likewise.
61846         (__strspn_c2): Likewise.
61847         (__strspn_c3): Likewise.
61848         (__strsep_1c): Likewise.
61849         (__strsep_2c): Likewise.
61850         (__strsep_3c): Likewise.
61851         * string/memccpy.c (__memccpy): Likewise.
61852         * string/stpcpy.c (__stpcpy): Likewise.
61853         * string/strcmp.c (strcmp): Likewise.
61854         * string/strrchr.c (strrchr): Likewise.
61855         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
61856         Likewise.
61857         * sysdeps/mach/hurd/getcwd.c
61858         (_hurd_canonicalize_directory_name_internal): Likewise.
61859         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
61860         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
61861         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
61862         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
61863         Likewise, in both definitions.
61864         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
61865         definitions.
61866         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
61867         64] (__bswap_64): Likewise.
61868         * time/test_time.c (main): Likewise.
61869         * time/tzfile.c (__tzfile_read): Likewise.
61870         (__tzfile_compute): Likewise.
61871         * time/tzset.c (__tzset_parse_tz): Likewise.
61872         (tzset_internal): Likewise.
61873         (compute_change): Likewise.
61874         * wcsmbs/wcscat.c (__wcscat): Likewise.
61875         * wcsmbs/wcschr.c (wcschr): Likewise.
61876         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
61877         * wcsmbs/wcscspn.c (wcscspn): Likewise.
61878         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
61879         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
61880         * wcsmbs/wcsspn.c (wcsspn): Likewise.
61881         * wcsmbs/wcsstr.c (wcsstr): Likewise.
61882         * wcsmbs/wmemchr.c (wmemchr): Likewise.
61883         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61884         * wcsmbs/wmemset.c (wmemset): Likewise.
61886 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
61888         * scripts/config.guess: Update to version 2013-05-16.
61889         * scripts/config.sub: Update to version 2013-04-24.
61890         * scripts/install-sh: Update to version 2011-11-20.07.
61891         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
61892         * scripts/move-if-change: Update to version 2012-01-06 07:23.
61894 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
61896         * debug/fgetws_u_chk.c: Fix leading whitespaces.
61897         * elf/sln.c: Likewise.
61898         * hurd/hurd/ioctl.h: Likewise.
61899         * hurd/hurdmalloc.c: Likewise.
61900         * hurd/xattr.c: Likewise.
61901         * include/shlib-compat.h: Likewise.
61902         * inet/ruserpass.c: Likewise.
61903         * libio/iofgets_u.c: Likewise.
61904         * libio/iofgetws_u.c: Likewise.
61905         * locale/programs/ld-identification.c: Likewise.
61906         * locale/programs/ld-time.c: Likewise.
61907         * mach/msg-destroy.c: Likewise.
61908         * nss/nss_files/files-netgrp.c: Likewise.
61909         * resolv/res_data.c: Likewise.
61910         * soft-fp/op-1.h: Likewise.
61911         * soft-fp/op-2.h: Likewise.
61912         * soft-fp/op-4.h: Likewise.
61913         * soft-fp/op-common.h: Likewise.
61914         * stdio-common/printf_fphex.c: Likewise.
61915         * stdlib/strtod_l.c: Likewise.
61916         * sunrpc/rpc/clnt.h: Likewise.
61917         * sysdeps/generic/framestate.c: Likewise.
61918         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61919         * sysdeps/i386/bsd-setjmp.S: Likewise.
61920         * sysdeps/i386/__longjmp.S: Likewise.
61921         * sysdeps/i386/setjmp.S: Likewise.
61922         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61923         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61924         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61925         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61926         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61927         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61928         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61929         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61930         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61931         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61932         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61933         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61934         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61935         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61936         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61937         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61938         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61939         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
61940         * sysdeps/ieee754/support.c: Likewise.
61941         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61942         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
61943         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
61944         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
61945         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
61946         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
61947         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
61948         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
61949         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
61950         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
61951         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
61952         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
61953         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
61954         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
61955         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
61956         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
61957         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
61960 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
61962         * posix/transbug.c: Remove executable mode.
61964 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
61966         * crypt/speeds.c: Remove trailing whitespace.
61967         * dlfcn/default.c: Likewise.
61968         * elf/ifuncdep2.c: Likewise.
61969         * elf/ifuncmain1.c: Likewise.
61970         * elf/ifuncmain1vis.c: Likewise.
61971         * elf/testobj.h: Likewise.
61972         * elf/tst-stackguard1.c: Likewise.
61973         * gmon/sys/gmon.h: Likewise.
61974         * hurd/hurdmsg.c: Likewise.
61975         * hurd/new-fd.c: Likewise.
61976         * hurd/ports-get.c: Likewise.
61977         * iconvdata/ibm1008_420.c: Likewise.
61978         * inet/tst-getni1.c: Likewise.
61979         * inet/tst-getni2.c: Likewise.
61980         * libio/ioungetc.c: Likewise.
61981         * libio/wfiledoalloc.c: Likewise.
61982         * manual/libm-err-tab.pl: Likewise.
61983         * math/w_dremf.c: Likewise.
61984         * misc/ftruncate.c: Likewise.
61985         * posix/bug-glob2.c: Likewise.
61986         * posix/tst-pcre.c: Likewise.
61987         * posix/wait4.c: Likewise.
61988         * resolv/README: Likewise.
61989         * resolv/res_debug.h: Likewise.
61990         * resolv/tst-inet_ntop.c: Likewise.
61991         * setjmp/bug269-setjmp.c: Likewise.
61992         * soft-fp/extended.h: Likewise.
61993         * soft-fp/op-1.h: Likewise.
61994         * soft-fp/op-2.h: Likewise.
61995         * soft-fp/op-4.h: Likewise.
61996         * soft-fp/op-8.h: Likewise.
61997         * soft-fp/testit.c: Likewise.
61998         * stdio-common/bug16.c: Likewise.
61999         * stdlib/random.c: Likewise.
62000         * sunrpc/rpcsvc/rquota.x: Likewise.
62001         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62002         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62003         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62004         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62005         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62006         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62007         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62008         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62009         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62010         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62011         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62012         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62013         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62014         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62015         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62016         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62017         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62018         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62019         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62020         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62021         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62022         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62023         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62024         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62025         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62026         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62027         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62028         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62029         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62030         * sysdeps/ieee754/s_lib_version.c: Likewise.
62031         * sysdeps/mach/hurd/check_fds.c: Likewise.
62032         * sysdeps/mach/hurd/getsockname.c: Likewise.
62033         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62034         * sysdeps/mach/hurd/recvfrom.c: Likewise.
62035         * sysdeps/powerpc/bits/link.h: Likewise.
62036         * sysdeps/powerpc/dl-procinfo.c: Likewise.
62037         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62038         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62039         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62040         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62041         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62042         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62043         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62044         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62045         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62046         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62047         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62048         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62049         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62050         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62051         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62052         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62053         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62054         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62055         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62056         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62057         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62058         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62059         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62060         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62061         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62062         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62063         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62064         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62065         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62066         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62067         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62068         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62069         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62070         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62071         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62072         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62073         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62074         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62075         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62076         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62077         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62078         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62079         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62080         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62081         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62082         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62083         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62084         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62085         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62086         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62087         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62088         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62089         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62090         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62091         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62092         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62093         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62094         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62095         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62096         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62097         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62098         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62099         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62100         * sysdeps/powerpc/sysdep.h: Likewise.
62101         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62102         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62103         * sysdeps/sh/dl-trampoline.S: Likewise.
62104         * sysdeps/sh/memset.S: Likewise.
62105         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62106         * sysdeps/sh/strlen.S: Likewise.
62107         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62108         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62109         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62110         * sysdeps/sparc/sparc32/rem.S: Likewise.
62111         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62112         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62113         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62114         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62115         * sysdeps/sparc/sparc32/urem.S: Likewise.
62116         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62117         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62118         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62119         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62120         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62121         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62122         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62123         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62124         * sysdeps/unix/bsd/times.c: Likewise.
62125         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62126         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62130         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62131         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62132         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62133         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62134         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62135         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62136         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62137         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62138         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62139         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62140         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62141         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62142         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62143         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62144         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62145         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62146         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62147         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62148         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62149         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62150         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62151         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62152         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62153         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62154         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62155         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62156         * sysdeps/x86_64/strcspn.S: Likewise.
62158 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62160         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62161         generated file.  Regenerate properly from gen-translit.pl.
62162         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62163         locale/C-translit.h.
62165 2013-06-05  Andreas Schwab  <schwab@suse.de>
62167         [BZ #15100]
62168         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62169         week as 6 instead of -1.
62170         * time/tst-strptime.c (day_tests): Add test case.
62172 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62174         * sysdeps/generic/math_private.h
62175         (libc_feholdexcept_setround_53bit): Replace with
62176         libc_feholdsetround_53bit.
62177         (libc_feupdateenv_53bit): Replace with
62178         libc_feresetround_53bit.
62179         (SET_RESTORE_ROUND_53BIT): Adjust.
62181 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62183         * string/test-strchrnul.c: Add copyright header.
62185         * posix/tst-getaddrinfo4.c: Increase test timeout.
62187 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
62189         [BZ #15536]
62190         * math/libm-test.inc (MAX_EXP): Remove
62191         (MIN_EXP): Define.
62192         (ulp): Use MIN_EXP - MANT_DIG.
62193         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62195 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
62197         * po/be.po: Revert last change.
62198         * po/zh_CN.po: Likewise.
62199         * po/header.pot: Likewise.
62201 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
62203         * Makefile ($(common-objpfx)linkobj/libc.so): Define
62204         link-libc-deps to empty as target-specific variable.
62205         * Makerules (link-libc-args): New variable.
62206         (libc-for-link): Likewise.
62207         (link-libc-deps): Likewise.
62208         (lib%.so): Depend on $(link-libc-deps).  Link with
62209         $(link-libc-args).
62210         (build-module): Link with $(link-libc-args).
62211         (build-module-asneeded): Likewise.
62212         (build-module-helper-objlist): Filter out $(link-libc-deps) from
62213         list of objects.
62214         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62215         target-specific variable.
62216         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62217         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62218         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62219         libc.
62220         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62221         libc and ld.so.
62222         ($(objpfx)libpcprofile.so): Likewise.
62223         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62224         libc_nonshared.a.
62225         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62226         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62227         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62228         $(link-libc-deps).
62229         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62230         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62231         * login/Makefile ($(objpfx)libutil.so): Likewise.
62232         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62233         * math/Makefile ($(objpfx)libm.so): Likewise.
62234         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62235         $(objpfx)libnsl.so): Define libc-for-link as target-specific
62236         variable instead of depending directly on libc.
62237         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62238         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62239         $(link-libc-deps).
62240         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62241         libc.
62242         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62243         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62244         ($(objpfx)libanl.so): Likewise.
62245         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62246         ld.so.
62247         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62248         $(link-libc-deps).
62249         * sysdeps/i386/fpu/Makefile: Remove file.
62250         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62251         ($(objpfx)libm.so): Remove dependency on ld.so.
62253 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
62255         [BZ # 15553]
62256         * nis/yp_xdr.c (XDRMAXNAME): Define.
62257         (XDRMAXRECORD): Define.
62258         (xdr_domainname): Use XDRMAXNAME.
62259         (xdr_mapname): Likewise.
62260         (xdr_peername): Likewise.
62261         (xdr_keydat): Use XDRMAXRECORD.
62262         (xdr_valdat): Likewise.
62264 2013-05-30  Jeff Law  <law@redhat.com>
62266         [BZ #14256]
62267         * manual/errno.texi (ESTALE): Update to account for more than
62268         just NFS file systems.
62269         * sysdeps/gnu/errlist.c: Regenerated.
62271 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62273         [BZ #15465]
62274         * elf/Makefile (tests): Add tst-null-argv.
62275         (modules-names):  Add tst-null-argv-lib.
62276         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62277         (tst-null-argv-ENV): Set environment for tst-null-argv.
62278         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62279         (RTLD_PROGNAME): New macro.
62280         * elf/tst-null-argv.c: New test case.
62281         * elf/tst-null-argv-lib.c: Library for test case.
62282         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62283         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62284         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62285         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62286         * elf/dl-init.c (call_init): Likewise.
62287         (_dl_init): Likewise.
62288         * elf/dl-load.c (print_search_path): Likewise.
62289         (_dl_map_object): Likewise.
62290         * elf/dl-lookup.c (do_lookup_x): Likewise.
62291         (add_dependency): Likewise.
62292         (_dl_lookup_symbol_x): Likewise.
62293         (_dl_debug_bindings): Likewise.
62294         * elf/dl-open.c (_dl_show_scope): Likewise.
62295         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
62296         * elf/dl-version.c (match_symbol): Likewise.
62297         (_dl_check_map_versions): Likewise.
62298         * elf/rtld.c (dl_main): Likewise.
62299         (print_unresolved): Use RTLD_PROGNAME.
62300         (print_missing_version): Likewise.
62301         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
62302         (elf_machine_rela): Likewise.
62303         * sysdeps/powerpc/powerpc32/dl-machine.c
62304         (__process_machine_rela): Likewise.
62305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62306         Likewise.
62307         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62308         Likewise.
62309         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
62310         Likewise.
62311         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62312         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
62313         Likewise.
62314         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
62315         Likewise.
62316         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62318 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
62320         * po/be.po: Add descriptive title.
62321         * po/zh_CN.po: Likewise.
62322         * po/header.pot: Likewise.
62324 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
62326         * locale/programs/locarchive.c (create_archive): Inlucde fname in
62327         error message.
62328         (enlarge_archive): Likewise.
62330 2013-05-28  Ben North  <ben@redfrontdoor.org>
62332         * manual/arith.texi (frexp): It is the magnitude of the return
62333         value which lies in [0.5, 1), not the return value itself.
62335 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62339 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
62341         * stdio-common/bug26.c (main): Correct fscanf template.
62343         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
62344         declare _dl_skip_args.
62346         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
62347         Don't declare.
62349         * manual/platform.texi: Add missing @end deftypefun.
62351 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62353         [BZ #15529]
62354         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
62355         bit of mantissa of 2^16382.
62356         * math/libm-test.inc (hypot_test_data): Add more tests.
62358         * math/libm-test.inc: Add drem and pow10 to list of tested
62359         functions.
62360         (pow10_test): New function.
62361         (drem_test): Likewise.
62362         (drem_test_tonearest): Likewise.
62363         (drem_test_towardzero): Likewise.
62364         (drem_test_downward): Likewise.
62365         (drem_test_upward): Likewise.
62366         (main): Call the new functions.
62368         * math/libm-test.inc (finite_test_data): Remove.
62369         (finite_test): Run tests from isfinite_test_data.
62370         (gamma_test_data): Remove.
62371         (gamma_test): Run tests from lgamma_test_data.
62372         * sysdeps/i386/fpu/libm-test-ulps: Update.
62373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62375 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62377         * manual/platform.texi: Add PowerPC PPR function set documentation.
62378         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
62379         implementation.
62381 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
62383         * math/libm-test.inc (MAX_EXP): Define.
62384         (ULPDIFF): Define.
62385         (ulp): New function.
62386         (check_float_internal): Use ULPDIFF.
62387         (cpow_test): Disable failing test.
62388         (check_ulp): Test ulp() implementation.
62389         (main): Call check_ulp before starting tests.
62391 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62393         * math/gen-libm-test.pl (generate_testfile): Do not handle
62394         START_DATA and END_DATA.
62395         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
62396         END_DATA.
62397         (acos_tonearest_test_data): Likewise.
62398         (acos_towardzero_test_data): Likewise.
62399         (acos_downward_test_data): Likewise.
62400         (acos_upward_test_data): Likewise.
62401         (acosh_test_data): Likewise.
62402         (asin_test_data): Likewise.
62403         (asin_tonearest_test_data): Likewise.
62404         (asin_towardzero_test_data): Likewise.
62405         (asin_downward_test_data): Likewise.
62406         (asin_upward_test_data): Likewise.
62407         (asinh_test_data): Likewise.
62408         (atan_test_data): Likewise.
62409         (atanh_test_data): Likewise.
62410         (atan2_test_data): Likewise.
62411         (cabs_test_data): Likewise.
62412         (cacos_test_data): Likewise.
62413         (cacosh_test_data): Likewise.
62414         (carg_test_data): Likewise.
62415         (casin_test_data): Likewise.
62416         (casinh_test_data): Likewise.
62417         (catan_test_data): Likewise.
62418         (catanh_test_data): Likewise.
62419         (cbrt_test_data): Likewise.
62420         (ccos_test_data): Likewise.
62421         (ccosh_test_data): Likewise.
62422         (ceil_test_data): Likewise.
62423         (cexp_test_data): Likewise.
62424         (cimag_test_data): Likewise.
62425         (clog_test_data): Likewise.
62426         (clog10_test_data): Likewise.
62427         (conj_test_data): Likewise.
62428         (copysign_test_data): Likewise.
62429         (cos_test_data): Likewise.
62430         (cos_tonearest_test_data): Likewise.
62431         (cos_towardzero_test_data): Likewise.
62432         (cos_downward_test_data): Likewise.
62433         (cos_upward_test_data): Likewise.
62434         (cosh_test_data): Likewise.
62435         (cosh_tonearest_test_data): Likewise.
62436         (cosh_towardzero_test_data): Likewise.
62437         (cosh_downward_test_data): Likewise.
62438         (cosh_upward_test_data): Likewise.
62439         (cpow_test_data): Likewise.
62440         (cproj_test_data): Likewise.
62441         (creal_test_data): Likewise.
62442         (csin_test_data): Likewise.
62443         (csinh_test_data): Likewise.
62444         (csqrt_test_data): Likewise.
62445         (ctan_test_data): Likewise.
62446         (ctan_tonearest_test_data): Likewise.
62447         (ctan_towardzero_test_data): Likewise.
62448         (ctan_downward_test_data): Likewise.
62449         (ctan_upward_test_data): Likewise.
62450         (ctanh_test_data): Likewise.
62451         (ctanh_tonearest_test_data): Likewise.
62452         (ctanh_towardzero_test_data): Likewise.
62453         (ctanh_downward_test_data): Likewise.
62454         (ctanh_upward_test_data): Likewise.
62455         (erf_test_data): Likewise.
62456         (erfc_test_data): Likewise.
62457         (exp_test_data): Likewise.
62458         (exp_tonearest_test_data): Likewise.
62459         (exp_towardzero_test_data): Likewise.
62460         (exp_downward_test_data): Likewise.
62461         (exp_upward_test_data): Likewise.
62462         (exp10_test_data): Likewise.
62463         (exp2_test_data): Likewise.
62464         (expm1_test_data): Likewise.
62465         (fabs_test_data): Likewise.
62466         (fdim_test_data): Likewise.
62467         (finite_test_data): Likewise.
62468         (floor_test_data): Likewise.
62469         (fma_test_data): Likewise.
62470         (fma_towardzero_test_data): Likewise.
62471         (fma_downward_test_data): Likewise.
62472         (fma_upward_test_data): Likewise.
62473         (fmax_test_data): Likewise.
62474         (fmin_test_data): Likewise.
62475         (fmod_test_data): Likewise.
62476         (fpclassify_test_data): Likewise.
62477         (frexp_test_data): Likewise.
62478         (gamma_test_data): Likewise.
62479         (hypot_test_data): Likewise.
62480         (ilogb_test_data): Likewise.
62481         (isfinite_test_data): Likewise.
62482         (isgreater_test_data): Likewise.
62483         (isgreaterequal_test_data): Likewise.
62484         (isinf_test_data): Likewise.
62485         (isless_test_data): Likewise.
62486         (islessequal_test_data): Likewise.
62487         (islessgreater_test_data): Likewise.
62488         (isnan_test_data): Likewise.
62489         (isnormal_test_data): Likewise.
62490         (issignaling_test_data): Likewise.
62491         (isunordered_test_data): Likewise.
62492         (j0_test_data): Likewise.
62493         (j1_test_data): Likewise.
62494         (jn_test_data): Likewise.
62495         (ldexp_test_data): Likewise.
62496         (lgamma_test_data): Likewise.
62497         (lrint_test_data): Likewise.
62498         (lrint_tonearest_test_data): Likewise.
62499         (lrint_towardzero_test_data): Likewise.
62500         (lrint_downward_test_data): Likewise.
62501         (lrint_upward_test_data): Likewise.
62502         (llrint_test_data): Likewise.
62503         (llrint_tonearest_test_data): Likewise.
62504         (llrint_towardzero_test_data): Likewise.
62505         (llrint_downward_test_data): Likewise.
62506         (llrint_upward_test_data): Likewise.
62507         (log_test_data): Likewise.
62508         (log10_test_data): Likewise.
62509         (log1p_test_data): Likewise.
62510         (log2_test_data): Likewise.
62511         (logb_test_data): Likewise.
62512         (logb_downward_test_data): Likewise.
62513         (lround_test_data): Likewise.
62514         (llround_test_data): Likewise.
62515         (modf_test_data): Likewise.
62516         (nearbyint_test_data): Likewise.
62517         (nextafter_test_data): Likewise.
62518         (nexttoward_test_data): Likewise.
62519         (pow_test_data): Likewise.
62520         (pow_tonearest_test_data): Likewise.
62521         (pow_towardzero_test_data): Likewise.
62522         (pow_downward_test_data): Likewise.
62523         (pow_upward_test_data): Likewise.
62524         (remainder_test_data): Likewise.
62525         (remainder_tonearest_test_data): Likewise.
62526         (remainder_towardzero_test_data): Likewise.
62527         (remainder_downward_test_data): Likewise.
62528         (remainder_upward_test_data): Likewise.
62529         (remquo_test_data): Likewise.
62530         (rint_test_data): Likewise.
62531         (rint_tonearest_test_data): Likewise.
62532         (rint_towardzero_test_data): Likewise.
62533         (rint_downward_test_data): Likewise.
62534         (rint_upward_test_data): Likewise.
62535         (round_test_data): Likewise.
62536         (scalb_test_data): Likewise.
62537         (scalbn_test_data): Likewise.
62538         (scalbln_test_data): Likewise.
62539         (signbit_test_data): Likewise.
62540         (sin_test_data): Likewise.
62541         (sin_tonearest_test_data): Likewise.
62542         (sin_towardzero_test_data): Likewise.
62543         (sin_downward_test_data): Likewise.
62544         (sin_upward_test_data): Likewise.
62545         (sincos_test_data): Likewise.
62546         (sinh_test_data): Likewise.
62547         (sinh_tonearest_test_data): Likewise.
62548         (sinh_towardzero_test_data): Likewise.
62549         (sinh_downward_test_data): Likewise.
62550         (sinh_upward_test_data): Likewise.
62551         (sqrt_test_data): Likewise.
62552         (tan_test_data): Likewise.
62553         (tan_tonearest_test_data): Likewise.
62554         (tan_towardzero_test_data): Likewise.
62555         (tan_downward_test_data): Likewise.
62556         (tan_upward_test_data): Likewise.
62557         (tanh_test_data): Likewise.
62558         (tgamma_test_data): Likewise.
62559         (trunc_test_data): Likewise.
62560         (y0_test_data): Likewise.
62561         (y1_test_data): Likewise.
62562         (yn_test_data): Likewise.
62563         (significand_test_data): Likewise.
62565         * math/gen-libm-test.pl (@functions): Remove variable.
62566         (generate_testfile): Don't handle START and END lines.
62567         * math/libm-test.inc (START): New macro.
62568         (END): Likewise.
62569         (END_COMPLEX): Likewise.
62570         (acos_test): Use END macro without arguments.
62571         (acos_test_tonearest): Likewise.
62572         (acos_test_towardzero): Likewise.
62573         (acos_test_downward): Likewise.
62574         (acos_test_upward): Likewise.
62575         (acosh_test): Likewise.
62576         (asin_test): Likewise.
62577         (asin_test_tonearest): Likewise.
62578         (asin_test_towardzero): Likewise.
62579         (asin_test_downward): Likewise.
62580         (asin_test_upward): Likewise.
62581         (asinh_test): Likewise.
62582         (atan_test): Likewise.
62583         (atanh_test): Likewise.
62584         (atan2_test): Likewise.
62585         (cabs_test): Likewise.
62586         (cacos_test): Use END_COMPLEX macro without arguments.
62587         (cacosh_test): Likewise.
62588         (carg_test): Use END macro without arguments.
62589         (casin_test): Use END_COMPLEX macro without arguments.
62590         (casinh_test): Likewise.
62591         (catan_test): Likewise.
62592         (catanh_test): Likewise.
62593         (cbrt_test): Use END macro without arguments.
62594         (ccos_test): Use END_COMPLEX macro without arguments.
62595         (ccosh_test): Likewise.
62596         (ceil_test): Use END macro without arguments.
62597         (cexp_test): Use END_COMPLEX macro without arguments.
62598         (cimag_test): Use END macro without arguments.
62599         (clog_test): Use END_COMPLEX macro without arguments.
62600         (clog10_test): Likewise.
62601         (conj_test): Likewise.
62602         (copysign_test): Use END macro without arguments.
62603         (cos_test): Likewise.
62604         (cos_test_tonearest): Likewise.
62605         (cos_test_towardzero): Likewise.
62606         (cos_test_downward): Likewise.
62607         (cos_test_upward): Likewise.
62608         (cosh_test): Likewise.
62609         (cosh_test_tonearest): Likewise.
62610         (cosh_test_towardzero): Likewise.
62611         (cosh_test_downward): Likewise.
62612         (cosh_test_upward): Likewise.
62613         (cpow_test): Use END_COMPLEX macro without arguments.
62614         (cproj_test): Likewise.
62615         (creal_test): Use END macro without arguments.
62616         (csin_test): Use END_COMPLEX macro without arguments.
62617         (csinh_test): Likewise.
62618         (csqrt_test): Likewise.
62619         (ctan_test): Likewise.
62620         (ctan_test_tonearest): Likewise.
62621         (ctan_test_towardzero): Likewise.
62622         (ctan_test_downward): Likewise.
62623         (ctan_test_upward): Likewise.
62624         (ctanh_test): Likewise.
62625         (ctanh_test_tonearest): Likewise.
62626         (ctanh_test_towardzero): Likewise.
62627         (ctanh_test_downward): Likewise.
62628         (ctanh_test_upward): Likewise.
62629         (erf_test): Use END macro without arguments.
62630         (erfc_test): Likewise.
62631         (exp_test): Likewise.
62632         (exp_test_tonearest): Likewise.
62633         (exp_test_towardzero): Likewise.
62634         (exp_test_downward): Likewise.
62635         (exp_test_upward): Likewise.
62636         (exp10_test): Likewise.
62637         (exp2_test): Likewise.
62638         (expm1_test): Likewise.
62639         (fabs_test): Likewise.
62640         (fdim_test): Likewise.
62641         (finite_test): Likewise.
62642         (floor_test): Likewise.
62643         (fma_test): Likewise.
62644         (fma_test_towardzero): Likewise.
62645         (fma_test_downward): Likewise.
62646         (fma_test_upward): Likewise.
62647         (fmax_test): Likewise.
62648         (fmin_test): Likewise.
62649         (fmod_test): Likewise.
62650         (fpclassify_test): Likewise.
62651         (frexp_test): Likewise.
62652         (gamma_test): Likewise.
62653         (hypot_test): Likewise.
62654         (ilogb_test): Likewise.
62655         (isfinite_test): Likewise.
62656         (isgreater_test): Likewise.
62657         (isgreaterequal_test): Likewise.
62658         (isinf_test): Likewise.
62659         (isless_test): Likewise.
62660         (islessequal_test): Likewise.
62661         (islessgreater_test): Likewise.
62662         (isnan_test): Likewise.
62663         (isnormal_test): Likewise.
62664         (issignaling_test): Likewise.
62665         (isunordered_test): Likewise.
62666         (j0_test): Likewise.
62667         (j1_test): Likewise.
62668         (jn_test): Likewise.
62669         (ldexp_test): Likewise.
62670         (lgamma_test): Likewise.
62671         (lrint_test): Likewise.
62672         (lrint_test_tonearest): Likewise.
62673         (lrint_test_towardzero): Likewise.
62674         (lrint_test_downward): Likewise.
62675         (lrint_test_upward): Likewise.
62676         (llrint_test): Likewise.
62677         (llrint_test_tonearest): Likewise.
62678         (llrint_test_towardzero): Likewise.
62679         (llrint_test_downward): Likewise.
62680         (llrint_test_upward): Likewise.
62681         (log_test): Likewise.
62682         (log10_test): Likewise.
62683         (log1p_test): Likewise.
62684         (log2_test): Likewise.
62685         (logb_test): Likewise.
62686         (logb_test_downward): Likewise.
62687         (lround_test): Likewise.
62688         (llround_test): Likewise.
62689         (modf_test): Likewise.
62690         (nearbyint_test): Likewise.
62691         (nextafter_test): Likewise.
62692         (nexttoward_test): Likewise.
62693         (pow_test): Likewise.
62694         (pow_test_tonearest): Likewise.
62695         (pow_test_towardzero): Likewise.
62696         (pow_test_downward): Likewise.
62697         (pow_test_upward): Likewise.
62698         (remainder_test): Likewise.
62699         (remainder_test_tonearest): Likewise.
62700         (remainder_test_towardzero): Likewise.
62701         (remainder_test_downward): Likewise.
62702         (remainder_test_upward): Likewise.
62703         (remquo_test): Likewise.
62704         (rint_test): Likewise.
62705         (rint_test_tonearest): Likewise.
62706         (rint_test_towardzero): Likewise.
62707         (rint_test_downward): Likewise.
62708         (rint_test_upward): Likewise.
62709         (round_test): Likewise.
62710         (scalb_test): Likewise.
62711         (scalbn_test): Likewise.
62712         (scalbln_test): Likewise.
62713         (signbit_test): Likewise.
62714         (sin_test): Likewise.
62715         (sin_test_tonearest): Likewise.
62716         (sin_test_towardzero): Likewise.
62717         (sin_test_downward): Likewise.
62718         (sin_test_upward): Likewise.
62719         (sincos_test): Likewise.
62720         (sinh_test): Likewise.
62721         (sinh_test_tonearest): Likewise.
62722         (sinh_test_towardzero): Likewise.
62723         (sinh_test_downward): Likewise.
62724         (sinh_test_upward): Likewise.
62725         (sqrt_test): Likewise.
62726         (tan_test): Likewise.
62727         (tan_test_tonearest): Likewise.
62728         (tan_test_towardzero): Likewise.
62729         (tan_test_downward): Likewise.
62730         (tan_test_upward): Likewise.
62731         (tanh_test): Likewise.
62732         (tgamma_test): Likewise.
62733         (trunc_test): Likewise.
62734         (y0_test): Likewise.
62735         (y1_test): Likewise.
62736         (yn_test): Likewise.
62737         (significand_test): Likewise.
62739 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
62741         [BZ #15381]
62742         * libio/genops.c (_IO_no_init): Initialize wide struct info.
62744 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62746         [BZ #14894]
62747         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
62748         __ppc_mdoio and __ppc_mdoom.
62749         * manual/platform.texi: Document new functions __ppc_yield,
62750         __ppc_mdoio and __ppc_mdoom.
62752 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
62754         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
62755         (main): Mention "tls" pseudo-hwcap is legacy.
62756         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
62758 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62760         * math/gen-libm-test.pl (parse_args): Output only string of
62761         arguments as text for test name, not full call or descriptions of
62762         tests for extra outputs.
62763         (generate_testfile): Do not pass function name to parse_args.
62764         Generate this_func variable from START.
62765         * math/libm-test.inc (struct test_f_f_data): Rename test_name
62766         field to arg_str.
62767         (struct test_ff_f_data): Likewise.
62768         (test_ff_f_data_nexttoward): Likewise.
62769         (struct test_fi_f_data): Likewise.
62770         (struct test_fl_f_data): Likewise.
62771         (struct test_if_f_data): Likewise.
62772         (struct test_fff_f_data): Likewise.
62773         (struct test_c_f_data): Likewise.
62774         (struct test_f_f1_data): Likewise.  Remove field extra_name.
62775         (struct test_fF_f1_data): Likewise.
62776         (struct test_ffI_f1_data): Likewise.
62777         (struct test_c_c_data): Rename test_name field to arg_str.
62778         (struct test_cc_c_data): Likewise.
62779         (struct test_f_i_data): Likewise.
62780         (struct test_ff_i_data): Likewise.
62781         (struct test_f_l_data): Likewise.
62782         (struct test_f_L_data): Likewise.
62783         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
62784         and extra2_name.
62785         (COMMON_TEST_SETUP): New macro.
62786         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
62787         (COMMON_TEST_CLEANUP): Likewise.
62788         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
62789         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
62790         macros.
62791         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
62792         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
62793         macros.
62794         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
62795         (RUN_TEST_fff_f): Take argument string.  Call new setup and
62796         cleanup macros.
62797         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
62798         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
62799         macros.
62800         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
62801         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
62802         macros.
62803         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62804         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
62805         cleanup macros.
62806         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62807         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
62808         cleanup macros.
62809         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62810         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
62811         cleanup macros.
62812         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62813         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
62814         macros.
62815         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
62816         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
62817         macros.
62818         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
62819         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
62820         macros.
62821         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
62822         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
62823         cleanup macros.
62824         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
62825         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
62826         cleanup macros.
62827         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
62828         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
62829         macros.
62830         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
62831         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
62832         cleanup macros.
62833         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
62834         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
62835         macros.
62836         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
62837         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
62838         macros.
62839         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
62840         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
62841         cleanup macros.
62842         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
62844 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
62846         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
62847         to _sifields.sigfault.
62848         (si_addr_lsb): Define new macro.
62849         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62850         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62851         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
62853 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
62855         [BZ #15441]
62856         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
62857         returns -1.
62858         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
62859         null return -1.
62860         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
62861         loading the domain.
62863 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62865         * math/gen-libm-test.pl (parse_args): Do not include expected
62866         result in test name.
62867         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
62868         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62869         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62870         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62871         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62874 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62876         * benchtests/Makefile: Sort function entries.
62878         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
62879         tanh, asinh, acosh, atanh.
62880         * benchtests/acos-inputs: New file.
62881         * benchtests/acosh-inputs: New file.
62882         * benchtests/asin-inputs: New file.
62883         * benchtests/asinh-inputs: New file.
62884         * benchtests/atanh-inputs: New file.
62885         * benchtests/cosh-inputs: New file.
62886         * benchtests/log-inputs: New file.
62887         * benchtests/sinh-inputs: New file.
62888         * benchtests/tanh-inputs: New file.
62890 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
62892         [BZ #15339]
62893         * posix/tst-getaddrinfo4.c: New test.
62894         * posix/Makefile (tests): Add it.
62896 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62898         [BZ #15339]
62899         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
62900         when no services were used.
62901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
62902         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
62904 2013-05-21  Andreas Schwab  <schwab@suse.de>
62906         [BZ #15014]
62907         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
62908         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
62909         successful.
62910         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
62911         redundant variable declarations and reallocation of buffer when
62912         parsing as IPv6 address.  Always set NSS status when called from
62913         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
62914         buffer too small.  Correct computation of needed size.
62915         * nss/Makefile (tests): Add test-digits-dots.
62916         * nss/test-digits-dots.c: New test.
62918 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62920         * benchtests/Makefile: Remove instructions for adding
62921         benchmark tests.
62922         * benchtests/README: New file to explain how to execute and
62923         enhance the benchmark tests.
62925 2013-05-21  Andreas Schwab  <schwab@suse.de>
62927         [BZ #15493]
62928         * setjmp/Makefile (tests): Add tst-sigsetjmp.
62929         * setjmp/tst-sigsetjmp.c: New test.
62931 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62933         * sysdeps/x86_64/memset.S (memset): New implementation.
62934         (__bzero): Likewise.
62935         (__memset_tail): New function.
62937 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62939         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
62940         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
62941         __memcpy_sse2_unaligned ifunc selection.
62942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62943         Add memcpy-sse2-unaligned.S.
62944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62945         Add: __memcpy_sse2_unaligned.
62947 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
62949         [BZ #15490]
62950         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62951         math_force_eval before restoring floating-point envrionment.
62952         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
62953         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
62954         Likewise.
62955         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
62956         <math_private.h>.
62957         (__nearbyintl): Use math_force_eval before restoring
62958         floating-point environment.
62959         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
62961         * math/gen-libm-test.pl (special_functions): Remove.
62962         (parse_args): Don't handle TEST_extra.  Handle functions with no
62963         return value.
62964         * math/libm-test.inc (struct test_sincos_data): Replace with
62965         struct test_fFF_11_data.
62966         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
62967         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
62968         (sincos_test_data): Change element type to struct
62969         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
62970         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
62971         RUN_TEST_LOOP_sincos.
62972         * math/README.libm-test: Don't mention special handling of
62973         individual functions.
62974         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
62975         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62976         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62977         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62978         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62981         * math/gen-libm-test.pl (get_variable): Remove function.
62982         (parse_args): Don't show pointer parameters to call in test
62983         names.  Use "extra output N" in test names for extra outputs
62984         rather than naming variables.
62986 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
62988         [BZ #15488]
62989         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
62990         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
62991         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
62992         double tests.
62993         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
62994         disable.
62995         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
62996         check_long_double.
62998         * math/gen-libm-test.pl (@tests): Remove variable.
62999         ($count): Likewise.
63000         (new_test): Remove function.
63001         (show_exceptions): New function.
63002         (special_functions): Use show_exceptions instead of new_test.
63003         (parse_args): Likewise.
63004         (generate_testfile): Pass only function name in generated call to
63005         print_max_error or print_complex_max_error.
63006         (get_ulps): Do not handle complex tests specially.
63007         (output_test): Rename to ...
63008         (get_all_ulps_for_test): ... this.  Return a string rather than
63009         printing to a file.  Require ulps to be present.
63010         (output_ulps): Generate arrays rather than #defines.
63011         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63012         (struct ulp_data): New type.
63013         (BUILD_COMPLEX_ULP): Remove macro.
63014         (compare_ulp_data): New function.
63015         (find_ulps): Likewise.
63016         (find_test_ulps): Likewise.
63017         (find_function_ulps): Likewise.
63018         (find_complex_function_ulps): Likewise.
63019         (print_max_error): Determine allowed ulps using
63020         find_function_ulps.
63021         (print_complex_max_error): Determine allowed ulps using
63022         find_complex_function_ulps.
63023         (check_float_internal): Determine max ulps using find_test_ulps.
63024         (check_float): Do not take max_ulp parameter.  Update call to
63025         check_float_internal.
63026         (check_complex): Likewise.
63027         (check_int): Do not take max_ulp parameter.
63028         (check_long): Likewise.
63029         (check_bool): Likewise.
63030         (check_longlong): Likewise.
63031         (struct test_f_f_data): Remove max_ulp field.
63032         (struct test_ff_f_data): Likewise.
63033         (struct test_ff_f_data_nexttoward): Likewise.
63034         (struct test_fi_f_data): Likewise.
63035         (struct test_fl_f_data): Likewise.
63036         (struct test_if_f_data): Likewise.
63037         (struct test_fff_f_data): Likewise.
63038         (struct test_c_f_data): Likewise.
63039         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63040         (struct test_fF_f1_data): Likewise.
63041         (struct test_ffI_f1_data): Likewise.
63042         (struct test_c_c_data): Remove max_ulp field.
63043         (struct test_cc_c_data): Likewise.
63044         (struct test_f_i_data): Likewise.
63045         (struct test_ff_i_data): Likewise.
63046         (struct test_f_l_data): Likewise.
63047         (struct test_f_L_data): Likewise.
63048         (struct test_sincos_data): Likewise.
63049         (RUN_TEST_f_f): Do not handle ulps.
63050         (RUN_TEST_LOOP_f_f): Likewise.
63051         (RUN_TEST_2_f): Likewise.
63052         (RUN_TEST_LOOP_2_f): Likewise.
63053         (RUN_TEST_fff_f): Likewise.
63054         (RUN_TEST_LOOP_fff_f): Likewise.
63055         (RUN_TEST_c_f): Likewise.
63056         (RUN_TEST_LOOP_c_f): Likewise.
63057         (RUN_TEST_f_f1): Likewise.
63058         (RUN_TEST_LOOP_f_f1): Likewise.
63059         (RUN_TEST_fF_f1): Likewise.
63060         (RUN_TEST_LOOP_fF_f1): Likewise.
63061         (RUN_TEST_fI_f1): Likewise.
63062         (RUN_TEST_LOOP_fI_f1): Likewise.
63063         (RUN_TEST_ffI_f1): Likewise.
63064         (RUN_TEST_LOOP_ffI_f1): Likewise.
63065         (RUN_TEST_c_c): Likewise.
63066         (RUN_TEST_LOOP_c_c): Likewise.
63067         (RUN_TEST_cc_c): Likewise.
63068         (RUN_TEST_LOOP_cc_c): Likewise.
63069         (RUN_TEST_f_i): Likewise.
63070         (RUN_TEST_LOOP_f_i): Likewise.
63071         (RUN_TEST_f_i_tg): Likewise.
63072         (RUN_TEST_LOOP_f_i_tg): Likewise.
63073         (RUN_TEST_ff_i_tg): Likewise.
63074         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63075         (RUN_TEST_f_b): Likewise.
63076         (RUN_TEST_LOOP_f_b): Likewise.
63077         (RUN_TEST_f_b_tg): Likewise.
63078         (RUN_TEST_LOOP_f_b_tg): Likewise.
63079         (RUN_TEST_f_l): Likewise.
63080         (RUN_TEST_LOOP_f_l): Likewise.
63081         (RUN_TEST_f_L): Likewise.
63082         (RUN_TEST_LOOP_f_L): Likewise.
63083         (RUN_TEST_sincos): Likewise.
63084         (RUN_TEST_LOOP_sincos): Likewise.
63086 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63088         [BZ #15480]
63089         [BZ #15485]
63090         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63091         main case of finite arguments, set rounding mode to FE_TONEAREST
63092         and discard exceptions.
63093         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63094         exceptions.
63095         (remainder_tonearest_test_data): New variable.
63096         (remainder_test_tonearest): New function.
63097         (remainder_towardzero_test_data): New variable.
63098         (remainder_test_towardzero): New function.
63099         (remainder_downward_test_data): New variable.
63100         (remainder_test_downward): New function.
63101         (remainder_upward_test_data): New variable.
63102         (remainder_test_upward): New function.
63103         (main): Call the new test functions.
63105         * math/libm-test.inc (struct test_f_f1_data): Remove field
63106         extra_init.
63107         (struct test_fF_f1_data): Likewise.
63108         (struct test_ffI_f1_data): Likewise.
63109         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63110         based on value of EXTRA_EXPECTED.
63111         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63112         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63113         EXTRA_VAR based on value of EXTRA_EXPECTED.
63114         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63115         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63116         EXTRA_VAR based on value of EXTRA_EXPECTED.
63117         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63118         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63119         EXTRA_VAR based on value of EXTRA_EXPECTED.
63120         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63121         * math/gen-libm-test.pl (parse_args): Don't output initializers
63122         for extra output values.
63124         * math/libm-test.inc (check_int): Expect result to be exactly
63125         equal to expected value and do not handle ulps.
63126         (check_long): Likewise.
63127         (check_longlong): Likewise.
63129         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63130         exceptions.
63131         (cimag_test_data): Likewise.
63132         (conj_test_data): Likewise.
63133         (copysign_test_data): Likewise.
63134         (cproj_test_data): Likewise.
63135         (creal_test_data): Likewise.
63136         (fabs_test_data): Likewise.
63137         (fdim_test_data): Likewise.
63138         (finite_test_data): Likewise.
63139         (floor_test_data): Likewise.
63140         (fmax_test_data): Likewise.
63141         (fmin_test_data): Likewise.
63142         (fmod_test_data): Likewise.
63143         (fpclassify_test_data): Likewise.
63144         (frexp_test_data): Likewise.
63145         (ilogb_test_data): Likewise.
63146         (isfinite_test_data): Likewise.
63147         (isgreater_test_data): Likewise.
63148         (isgreaterequal_test_data): Likewise.
63149         (isinf_test_data): Likewise.
63150         (isless_test_data): Likewise.
63151         (islessequal_test_data): Likewise.
63152         (islessgreater_test_data): Likewise.
63153         (isnan_test_data): Likewise.
63154         (isnormal_test_data): Likewise.
63155         (issignaling_test_data): Likewise.
63156         (isunordered_test_data): Likewise.
63157         (ldexp_test_data): Likewise.
63158         (lrint_test_data): Likewise.
63159         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63160         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63161         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63162         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63163         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63164         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63165         test input.
63166         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63167         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63168         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63169         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63170         that test input.
63171         (lrint_downward_test_data): Test for "inexact" exceptions.
63172         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63173         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63174         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63175         test input.
63176         (lrint_upward_test_data): Test for "inexact" exceptions.
63177         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63178         test input.
63179         (llrint_test_data): Test for "inexact" exceptions.
63180         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63181         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63182         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63183         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63184         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63185         (llrint_downward_test_data): Test for "inexact" exceptions.
63186         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63187         (llrint_upward_test_data): Test for "inexact" exceptions.
63188         (logb_test_data): Likewise.
63189         (logb_downward_test_data): Likewise.
63190         (nextafter_test_data): Likewise.
63191         (nexttoward_test_data): Likewise.
63192         (remainder_test_data): Likewise.
63193         (remquo_test_data): Likewise.
63194         (scalbn_test_data): Likewise.
63195         (scalbln_test_data): Likewise.
63196         (signbit_test_data): Likewise.
63197         (sqrt_test_data): Likewise.
63198         (significand_test_data): Likewise.
63200 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63202         [BZ #15424]
63203         * benchtests/bench-modf.c (struct args): Mark arg0 as
63204         volatile.
63205         * scripts/bench.pl: Mark members of struct args as volatile.
63207 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63209         [BZ # 15497]
63210         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63211         negative infinity on POWER6 or lower.
63212         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63214 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
63216         [BZ #15442]
63217         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63218         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63219         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63220         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63221         (_FP_SETQNAN): New macro.
63222         (_FP_SETQNAN_SEMIRAW): Likewise.
63223         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63224         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63225         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63226         (FP_EXTEND): Use _FP_FRAC_SNANP.
63227         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63228         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63229         into account.
63230         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63231         New macro.
63232         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63233         Likewise.
63235 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63237         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63238         with DIVIDE_BY_ZERO_EXCEPTION.
63239         (gamma_test_data): Likewise.
63240         (lgamma_test_data): Likewise.
63241         (log_test_data): Likewise.
63242         (log10_test_data): Likewise.
63243         (log2_test_data): Likewise.
63244         (tgamma_test_data): Likewise.
63246         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63247         (acos_test_tonearest): Likewise.
63248         (acos_test_towardzero): Likewise.
63249         (acos_test_downward): Likewise.
63250         (acos_test_upward): Likewise.
63251         (acosh_test): Likewise.
63252         (asin_test): Likewise.
63253         (asin_test_tonearest): Likewise.
63254         (asin_test_towardzero): Likewise.
63255         (asin_test_downward): Likewise.
63256         (asin_test_upward): Likewise.
63257         (asinh_test): Likewise.
63258         (atan_test): Likewise.
63259         (atanh_test): Likewise.
63260         (atan2_test): Likewise.
63261         (cabs_test): Likewise.
63262         (cacos_test): Likewise.
63263         (cacosh_test): Likewise.
63264         (casin_test): Likewise.
63265         (casinh_test): Likewise.
63266         (catan_test): Likewise.
63267         (catanh_test): Likewise.
63268         (cbrt_test): Likewise.
63269         (ccos_test): Likewise.
63270         (ccosh_test): Likewise.
63271         (cexp_test): Likewise.
63272         (clog_test): Likewise.
63273         (clog10_test): Likewise.
63274         (cos_test): Likewise.
63275         (cos_test_tonearest): Likewise.
63276         (cos_test_towardzero): Likewise.
63277         (cos_test_downward): Likewise.
63278         (cos_test_upward): Likewise.
63279         (cosh_test): Likewise.
63280         (cosh_test_tonearest): Likewise.
63281         (cosh_test_towardzero): Likewise.
63282         (cosh_test_downward): Likewise.
63283         (cosh_test_upward): Likewise.
63284         (cpow_test): Likewise.
63285         (csin_test): Likewise.
63286         (csinh_test): Likewise.
63287         (csqrt_test): Likewise.
63288         (ctan_test): Likewise.
63289         (ctan_test_tonearest): Likewise.
63290         (ctan_test_towardzero): Likewise.
63291         (ctan_test_downward): Likewise.
63292         (ctan_test_upward): Likewise.
63293         (ctanh_test): Likewise.
63294         (ctanh_test_tonearest): Likewise.
63295         (ctanh_test_towardzero): Likewise.
63296         (ctanh_test_downward): Likewise.
63297         (ctanh_test_upward): Likewise.
63298         (erf_test): Likewise.
63299         (erfc_test): Likewise.
63300         (exp_test): Likewise.
63301         (exp_test_tonearest): Likewise.
63302         (exp_test_towardzero): Likewise.
63303         (exp_test_downward): Likewise.
63304         (exp_test_upward): Likewise.
63305         (exp10_test): Likewise.
63306         (exp2_test): Likewise.
63307         (expm1_test): Likewise.
63308         (fmod_test): Likewise.
63309         (gamma_test): Likewise.
63310         (hypot_test): Likewise.
63311         (j0_test): Likewise.
63312         (j1_test): Likewise.
63313         (jn_test): Likewise.
63314         (lgamma_test): Likewise.
63315         (log_test): Likewise.
63316         (log10_test): Likewise.
63317         (log1p_test): Likewise.
63318         (log2_test): Likewise.
63319         (logb_test_downward): Likewise.
63320         (pow_test): Likewise.
63321         (pow_test_tonearest): Likewise.
63322         (pow_test_towardzero): Likewise.
63323         (pow_test_downward): Likewise.
63324         (pow_test_upward): Likewise.
63325         (remainder_test): Likewise.
63326         (remquo_test): Likewise.
63327         (sin_test): Likewise.
63328         (sin_test_tonearest): Likewise.
63329         (sin_test_towardzero): Likewise.
63330         (sin_test_downward): Likewise.
63331         (sin_test_upward): Likewise.
63332         (sincos_test): Likewise.
63333         (sinh_test): Likewise.
63334         (sinh_test_tonearest): Likewise.
63335         (sinh_test_towardzero): Likewise.
63336         (sinh_test_downward): Likewise.
63337         (sinh_test_upward): Likewise.
63338         (sqrt_test): Likewise.
63339         (tan_test): Likewise.
63340         (tan_test_tonearest): Likewise.
63341         (tan_test_towardzero): Likewise.
63342         (tan_test_downward): Likewise.
63343         (tan_test_upward): Likewise.
63344         (tanh_test): Likewise.
63345         (tgamma_test): Likewise.
63346         (y0_test): Likewise.
63347         (y1_test): Likewise.
63348         (yn_test): Likewise.
63350         * math/gen-libm-test.pl (adjust_arg): Remove function.
63351         (special_function): Remove argument $in_func.  Only handle
63352         generating output for tables of tests, not inside functions.
63353         (parse_args): Likewise.
63354         (generate_testfile): Remove variable $in_func.  Update call to
63355         parse_args.
63356         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
63357         (MINUS_ZERO_INIT): Rename macro to minus_zero.
63358         (PLUS_INFTY_INIT): Rename macro to plus_infty.
63359         (MINUS_INFTY_INIT): Rename macro to minus_infty.
63360         (QNAN_VALUE_INIT): Rename macro to qnan_value.
63361         (MAX_VALUE_INIT): Rename macro to max_value.
63362         (MIN_VALUE_INIT): Rename macro to min_value.
63363         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
63364         (plus_zero): Remove variable.
63365         (minus_zero): Likewise.
63366         (plus_infty): Likewise.
63367         (minus_infty): Likewise.
63368         (qnan_value): Likewise.
63369         (max_value): Likewise.
63370         (min_value): Likewise.
63371         (min_subnorm_value): Likewise.
63373 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63375         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
63376         uint64_t or uint32_t usage.
63377         * crypt/sha256-block.c: Likewise.
63378         * crypt/sha256-crypt.c: Likewise.
63379         * crypt/sha256.c: Likewise.
63380         * crypt/sha512-block.c: Likewise.
63381         * crypt/sha512-crypt.c: Likewise.
63382         * crypt/sha512.c: Likewise.
63383         * debug/backtrace-tst.c: Likewise.
63384         * debug/pcprofiledump.c: Likewise.
63385         * elf/cache.c: Likewise.
63386         * elf/dl-cache.c: Likewise.
63387         * elf/dl-misc.c: Likewise.
63388         * elf/dl-profile.c: Likewise.
63389         * elf/dl-support.c: Likewise.
63390         * elf/ldconfig.c: Likewise.
63391         * elf/sprof.c: Likewise.
63392         * iconv/dummy-repertoire.c: Likewise.
63393         * iconv/iconv_charmap.c: Likewise.
63394         * iconv/skeleton.c: Likewise.
63395         * iconvdata/8bit-generic.c: Likewise.
63396         * iconvdata/cp737.h: Likewise.
63397         * iconvdata/cp775.h: Likewise.
63398         * iconvdata/ibm1008.h: Likewise.
63399         * iconvdata/ibm1025.h: Likewise.
63400         * iconvdata/ibm1046.h: Likewise.
63401         * iconvdata/ibm1097.h: Likewise.
63402         * iconvdata/ibm1112.h: Likewise.
63403         * iconvdata/ibm1122.h: Likewise.
63404         * iconvdata/ibm1123.h: Likewise.
63405         * iconvdata/ibm1124.h: Likewise.
63406         * iconvdata/ibm1129.h: Likewise.
63407         * iconvdata/ibm1130.h: Likewise.
63408         * iconvdata/ibm1132.h: Likewise.
63409         * iconvdata/ibm1133.h: Likewise.
63410         * iconvdata/ibm1137.h: Likewise.
63411         * iconvdata/ibm1140.h: Likewise.
63412         * iconvdata/ibm1141.h: Likewise.
63413         * iconvdata/ibm1142.h: Likewise.
63414         * iconvdata/ibm1143.h: Likewise.
63415         * iconvdata/ibm1144.h: Likewise.
63416         * iconvdata/ibm1145.h: Likewise.
63417         * iconvdata/ibm1146.h: Likewise.
63418         * iconvdata/ibm1147.h: Likewise.
63419         * iconvdata/ibm1148.h: Likewise.
63420         * iconvdata/ibm1149.h: Likewise.
63421         * iconvdata/ibm1153.h: Likewise.
63422         * iconvdata/ibm1154.h: Likewise.
63423         * iconvdata/ibm1155.h: Likewise.
63424         * iconvdata/ibm1156.h: Likewise.
63425         * iconvdata/ibm1157.h: Likewise.
63426         * iconvdata/ibm1158.h: Likewise.
63427         * iconvdata/ibm1160.h: Likewise.
63428         * iconvdata/ibm1161.h: Likewise.
63429         * iconvdata/ibm1162.h: Likewise.
63430         * iconvdata/ibm1163.h: Likewise.
63431         * iconvdata/ibm1164.h: Likewise.
63432         * iconvdata/ibm1166.h: Likewise.
63433         * iconvdata/ibm1167.h: Likewise.
63434         * iconvdata/ibm12712.h: Likewise.
63435         * iconvdata/ibm1390.h: Likewise.
63436         * iconvdata/ibm1399.h: Likewise.
63437         * iconvdata/ibm16804.h: Likewise.
63438         * iconvdata/ibm4517.h: Likewise.
63439         * iconvdata/ibm4899.h: Likewise.
63440         * iconvdata/ibm4909.h: Likewise.
63441         * iconvdata/ibm4971.h: Likewise.
63442         * iconvdata/ibm5347.h: Likewise.
63443         * iconvdata/ibm803.h: Likewise.
63444         * iconvdata/ibm856.h: Likewise.
63445         * iconvdata/ibm901.h: Likewise.
63446         * iconvdata/ibm902.h: Likewise.
63447         * iconvdata/ibm9030.h: Likewise.
63448         * iconvdata/ibm9066.h: Likewise.
63449         * iconvdata/ibm921.h: Likewise.
63450         * iconvdata/ibm922.h: Likewise.
63451         * iconvdata/ibm9448.h: Likewise.
63452         * iconvdata/isiri-3342.h: Likewise.
63453         * iconvdata/jis0201.h: Likewise.
63454         * include/link.h: Likewise.
63455         * include/netdb.h: Likewise.
63456         * inet/check_native.c: Likewise.
63457         * inet/check_pf.c: Likewise.
63458         * inet/getipv4sourcefilter.c: Likewise.
63459         * inet/getnameinfo.c: Likewise.
63460         * inet/getsourcefilter.c: Likewise.
63461         * inet/htonl.c: Likewise.
63462         * inet/setipv4sourcefilter.c: Likewise.
63463         * inet/setsourcefilter.c: Likewise.
63464         * inet/test-inet6_opt.c: Likewise.
63465         * inet/tst-network.c: Likewise.
63466         * locale/C-collate.c: Likewise.
63467         * locale/C-ctype.c: Likewise.
63468         * locale/C-time.c: Likewise.
63469         * locale/C-translit.h: Likewise.
63470         * locale/loadarchive.c: Likewise.
63471         * locale/programs/3level.h: Likewise.
63472         * locale/programs/charmap.c: Likewise.
63473         * locale/programs/charmap.h: Likewise.
63474         * locale/programs/ld-address.c: Likewise.
63475         * locale/programs/ld-collate.c: Likewise.
63476         * locale/programs/ld-ctype.c: Likewise.
63477         * locale/programs/ld-identification.c: Likewise.
63478         * locale/programs/ld-measurement.c: Likewise.
63479         * locale/programs/ld-messages.c: Likewise.
63480         * locale/programs/ld-monetary.c: Likewise.
63481         * locale/programs/ld-name.c: Likewise.
63482         * locale/programs/ld-numeric.c: Likewise.
63483         * locale/programs/ld-paper.c: Likewise.
63484         * locale/programs/ld-telephone.c: Likewise.
63485         * locale/programs/ld-time.c: Likewise.
63486         * locale/programs/linereader.c: Likewise.
63487         * locale/programs/locale.c: Likewise.
63488         * locale/programs/locarchive.c: Likewise.
63489         * locale/programs/locfile.h: Likewise.
63490         * locale/programs/repertoire.c: Likewise.
63491         * locale/programs/simple-hash.c: Likewise.
63492         * locale/programs/simple-hash.h: Likewise.
63493         * malloc/memusage.c: Likewise.
63494         * malloc/memusagestat.c: Likewise.
63495         * nis/nis_defaults.c: Likewise.
63496         * nis/nis_hash.c: Likewise.
63497         * nis/nis_print.c: Likewise.
63498         * nis/nis_xdr.c: Likewise.
63499         * nscd/connections.c: Likewise.
63500         * nscd/hstcache.c: Likewise.
63501         * nscd/nscd_gethst_r.c: Likewise.
63502         * nscd/nscd_getserv_r.c: Likewise.
63503         * nscd/nscd_helper.c: Likewise.
63504         * nscd/servicescache.c: Likewise.
63505         * nss/makedb.c: Likewise.
63506         * nss/nss_db/db-XXX.c: Likewise.
63507         * nss/nss_db/db-initgroups.c: Likewise.
63508         * nss/nss_db/db-netgrp.c: Likewise.
63509         * nss/nss_files/files-network.c: Likewise.
63510         * nss/nss_files/files-parse.c: Likewise.
63511         * posix/bug-regex5.c: Likewise.
63512         * posix/fnmatch_loop.c: Likewise.
63513         * posix/regcomp.c: Likewise.
63514         * posix/regexec.c: Likewise.
63515         * posix/tst-rfc3484-2.c: Likewise.
63516         * posix/tst-rfc3484-3.c: Likewise.
63517         * posix/tst-rfc3484.c: Likewise.
63518         * resolv/nss_dns/dns-canon.c: Likewise.
63519         * resolv/nss_dns/dns-network.c: Likewise.
63520         * resolv/res_init.c: Likewise.
63521         * resolv/res_mkquery.c: Likewise.
63522         * resolv/tst-aton.c: Likewise.
63523         * stdlib/cxa_atexit.c: Likewise.
63524         * stdlib/cxa_finalize.c: Likewise.
63525         * stdlib/gen-fpioconst.c: Likewise.
63526         * stdlib/strtol_l.c: Likewise.
63527         * string/tst-endian.c: Likewise.
63528         * sunrpc/auth_des.c: Likewise.
63529         * sunrpc/clnt_udp.c: Likewise.
63530         * sunrpc/rtime.c: Likewise.
63531         * sunrpc/svcauth_des.c: Likewise.
63532         * sunrpc/xdr.c: Likewise.
63533         * sunrpc/xdr_intXX_t.c: Likewise.
63534         * sunrpc/xdr_rec.c: Likewise.
63535         * sysdeps/generic/ldconfig.h: Likewise.
63536         * sysdeps/generic/ldsodefs.h: Likewise.
63537         * sysdeps/generic/memusage.h: Likewise.
63538         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63539         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
63540         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
63541         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63542         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63543         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63544         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63545         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63546         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63548         * sysdeps/posix/getaddrinfo.c: Likewise.
63549         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63550         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63551         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63552         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63553         * sysdeps/powerpc/test-gettimebase.c: Likewise.
63554         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
63555         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
63556         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
63557         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
63558         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
63559         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63560         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63561         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
63562         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
63563         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
63564         * sysdeps/x86_64/dl-tls.h: Likewise.
63565         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
63566         * time/alt_digit.c: Likewise.
63567         * time/era.c: Likewise.
63568         * wcsmbs/tst-c16c32-1.c: Likewise.
63570 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63572         * math/libm-test.inc (struct test_sincos_data): New type.
63573         (RUN_TEST_LOOP_sincos): New macro.
63574         (sincos_test_data): New variable.
63575         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
63577 2013-05-16  Richard Henderson  <rth@redhat.com>
63579         * math/atest-exp2.c (LIMB64): New macro.
63580         (CONSTSZ): New macro.
63581         (mp_exp1, mp_exp_m1, mp_log2): New variables.
63582         (hexdig): Move ...
63583         (print_mpn_fp): ... to function scope.
63584         (read_mpn_hex): Remove.
63585         (get_log2): Remove.
63586         (exp2_mpn): Use mp_log2.
63587         (main): Use mp_exp1.
63589 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63591         * math/libm-test.inc: Remove comment about not testing "inexact"
63592         exceptions.
63593         (INEXACT_EXCEPTION): New macro.
63594         (NO_INEXACT_EXCEPTION): Likewise.
63595         (INVALID_EXCEPTION_OK): Update value.
63596         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63597         (OVERFLOW_EXCEPTION_OK): Likewise.
63598         (UNDERFLOW_EXCEPTION_OK): Likewise.
63599         (IGNORE_ZERO_INF_SIGN): Likewise.
63600         (ERRNO_UNCHANGED): Likewise.
63601         (ERRNO_EDOM): Likewise.
63602         (ERRNO_ERANGE): Likewise.
63603         (test_exceptions): Handle testing "inexact" exceptions.
63604         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
63605         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
63606         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
63607         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
63608         INEXACT_EXCEPTION.
63609         (rint_towardzero_test_data): Likewise.
63610         (rint_downward_test_data): Likewise.
63611         (rint_upward_test_data): Likewise.
63613         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
63614         with OVERFLOW_EXCEPTION.
63615         (exp10_test_data): Likewise.
63616         (exp2_test_data): Likewise.
63617         (expm1_test_data): Likewise.
63618         (lgamma_test_data): Likewise.
63619         (pow_test_data): Likewise.
63620         (tgamma_test_data): Likewise.
63621         (yn_test_data): Remove duplicate test of overflow.
63623         * math/libm-test.inc (struct test_cc_c_data): New type.
63624         (RUN_TEST_LOOP_cc_c): New macro.
63625         (cpow_test_data): New variable.
63626         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63628         * math/libm-test.inc (struct test_f_L_data): New type.
63629         (RUN_TEST_LOOP_f_L): New macro.
63630         (llrint_test_data): New variable.
63631         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63632         (llrint_tonearest_test_data): New variable.
63633         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63634         (llrint_towardzero_test_data): New variable.
63635         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63636         (llrint_downward_test_data): New variable.
63637         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63638         (llrint_upward_test_data): New variable.
63639         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63640         (llround_test_data): New variable.
63641         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63643 2013-05-13  Peter Collingbourne  <pcc@google.com>
63645         * math/atest-exp2.c (get_log2): Remove const attribute.
63647 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63649         * math/libm-test.inc (struct test_f_l_data): New type.
63650         (RUN_TEST_LOOP_f_l): New macro.
63651         (lrint_test_data): New variable.
63652         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63653         (lrint_tonearest_test_data): New variable.
63654         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63655         (lrint_towardzero_test_data): New variable.
63656         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63657         (lrint_downward_test_data): New variable.
63658         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63659         (lrint_upward_test_data): New variable.
63660         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63661         (lround_test_data): New variable.
63662         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63664 2013-05-15  Peter Collingbourne  <pcc@google.com>
63666         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63667         (EXTRACT_WORDS64) Use where appropriate.
63668         (INSERT_WORDS64) Likewise.
63670         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63671         constraints with x constraints.
63672         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63674         * malloc/obstack.c (_obstack_compat): Add initializer.
63676 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63678         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63679         si_trapno and add si_addr_lsb to _sifields.sigfault.
63680         (si_trapno): Remove macro.
63681         (si_addr_lsb): Define new macro.
63682         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63684 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63686         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
63687         instead of TEST_f_l.
63688         (llrint_test_tonearest): Likewise.
63689         (llrint_test_towardzero): Likewise.
63690         (llrint_test_downward): Likewise.
63691         (llrint_test_upward): Likewise.
63692         (llround_test): Likewise.
63694         * math/libm-test.inc (struct test_f_i_data): Add comment.
63695         (RUN_TEST_LOOP_f_b): New macro.
63696         (RUN_TEST_LOOP_f_b_tg): Likewise.
63697         (finite_test_data): New variable.
63698         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
63699         (isfinite_test_data): New variable.
63700         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63701         (isinf_test_data): New variable.
63702         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63703         (isnan_test_data): New variable.
63704         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63705         (isnormal_test_data): New variable.
63706         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63707         (issignaling_test_data): New variable.
63708         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63709         (signbit_test_data): New variable.
63710         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63712         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
63713         with INVALID_EXCEPTION.
63714         (acosh_test_data): Likewise.
63715         (asin_test_data): Likewise.
63716         (atanh_test_data): Likewise.
63717         (fmod_test_data): Likewise.
63718         (log_test_data): Likewise.
63719         (log10_test_data): Likewise.
63720         (log2_test_data): Likewise.
63721         (pow_test_data): Likewise.
63722         (sqrt_test_data): Likewise.
63723         (y0_test_data): Likewise.
63724         (y1_test_data): Likewise.
63725         (yn_test_data): Likewise.
63727         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
63728         function contents.
63730         * math/libm-test.inc (struct test_ff_i_data): New type.
63731         (RUN_TEST_LOOP_ff_i_tg): New macro.
63732         (isgreater_test_data): New variable.
63733         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63734         (isgreaterequal_test_data): New variable.
63735         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63736         (isless_test_data): New variable.
63737         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63738         (islessequal_test_data): New variable.
63739         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63740         (islessgreater_test_data): New variable.
63741         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63742         (isunordered_test_data): New variable.
63743         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63745 2013-05-14  David S. Miller  <davem@davemloft.net>
63747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63749 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
63751         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
63753         * math/libm-test.inc (struct test_fF_f1_data): Change type of
63754         extra_test to int.
63755         (struct test_f_i_data): Change type of max_ulp to int.
63757         * math/libm-test.inc (test_ffI_f1_data): New type.
63758         (RUN_TEST_LOOP_ffI_f1): New macro.
63759         (remquo_test_data): New variable.
63760         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
63762         * setjmp/tst-setjmp-fp.c: New file.
63763         * setjmp/Makefile (tests): Add tst-setjmp-fp.
63764         (link-libm): New variable.
63765         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
63767         * math/libm-test.inc (struct test_f_i_data): New type.
63768         (RUN_TEST_LOOP_f_i): New macro.
63769         (RUN_TEST_LOOP_f_i_tg): Likewise.
63770         (fpclassify_test_data): New variable.
63771         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
63772         (ilogb_test_data): New variable.
63773         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
63775         * math/libm-test.inc (scalbln_test): Correct function name in END
63776         call.
63778         * math/libm-test.inc (struct test_f_f1_data): Add comment.
63779         (RUN_TEST_LOOP_fI_f1): New macro.
63780         (frexp_test_data): New variable.
63781         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
63783         * math/libm-test.inc (struct test_fF_f1_data): New type.
63784         (RUN_TEST_LOOP_fF_f1): New macro.
63785         (modf_test_data): New variable.
63786         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
63788         * math/libm-test.inc (struct test_f_f1_data): New type.
63789         (RUN_TEST_LOOP_f_f1): New macro.
63790         (gamma_test_data): New variable.
63791         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63792         (lgamma_test_data): New variable.
63793         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63795 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
63797         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
63798         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
63799         (main): Comment "tls" pseudo-hwcap.
63801 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
63803         * math/libm-test.inc (struct test_fl_f_data): New type.
63804         (RUN_TEST_LOOP_fl_f): New variable.
63805         (scalbln_test_data): New variable.
63806         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
63808         * math/libm-test.inc (struct test_fi_f_data): New type.
63809         (RUN_TEST_LOOP_fi_f): New macro.
63810         (ldexp_test_data): New variable.
63811         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
63812         (scalbn_test_data): New variable.
63813         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
63815         * math/libm-test.inc (struct test_c_f_data): New type.
63816         (RUN_TEST_LOOP_c_f): New macro.
63817         (cabs_test_data): New variable.
63818         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
63819         (carg_test_data): New variable.
63820         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
63821         (cimag_test_data): New variable.
63822         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
63823         (creal_test_data): New variable.
63824         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
63826         * math/libm-test.inc (struct test_if_f_data): New type.
63827         (RUN_TEST_LOOP_if_f): New macro.
63828         (jn_test_data): New variable.
63829         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
63830         (yn_test_data): New variable.
63831         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
63833         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
63835 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63837         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63838         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
63840 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63842         * benchtests/Makefile (CPPFLAGS-nonlib): Add
63843         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
63844         (bench-deps): Add bench-timing.h.
63845         * benchtests-bench-skeleton.c: Include bench-timing.h.
63846         (main): Use TIMING_* macros instead of clock_gettime.
63847         * benchtests/bench-timing.h: New file.
63849         [BZ #14582]
63850         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
63851         Renamed from _LIB_VERSION.
63852         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
63854 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
63856         * math/libm-test.inc (struct test_fff_f_data): New type.
63857         (RUN_TEST_LOOP_fff_f): New macro.
63858         (fma_test_data): New variable.
63859         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
63860         (fma_towardzero_test_data): New variable.
63861         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
63862         (fma_downward_test_data): New variable.
63863         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
63864         (fma_upward_test_data): New variable.
63865         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
63867         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
63868         (struct test_c_c_data): New type.
63869         (RUN_TEST_LOOP_c_c): New macro.
63870         (cacos_test_data): New variable.
63871         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
63872         (cacosh_test_data): New variable.
63873         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
63874         (casin_test_data): New variable.
63875         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
63876         (casinh_test_data): New variable.
63877         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
63878         (catan_test_data): New variable.
63879         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
63880         (catanh_test_data): New variable.
63881         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
63882         (ccos_test_data): New variable.
63883         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
63884         (ccosh_test_data): New variable.
63885         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
63886         (cexp_test_data): New variable.
63887         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
63888         (clog_test_data): New variable.
63889         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
63890         (clog10_test_data): New variable.
63891         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
63892         (conj_test_data): New variable.
63893         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
63894         (cproj_test_data): New variable.
63895         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
63896         (csin_test_data): New variable.
63897         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
63898         (csinh_test_data): New variable.
63899         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
63900         (csqrt_test_data): New variable.
63901         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
63902         (ctan_test_data): New variable.
63903         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
63904         (ctan_tonearest_test_data): New variable.
63905         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63906         (ctan_towardzero_test_data): New variable.
63907         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63908         (ctan_downward_test_data): New variable.
63909         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63910         (ctan_upward_test_data): New variable.
63911         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63912         (ctanh_test_data): New variable.
63913         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
63914         (ctanh_tonearest_test_data): New variable.
63915         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63916         (ctanh_towardzero_test_data): New variable.
63917         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63918         (ctanh_downward_test_data): New variable.
63919         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63920         (ctanh_upward_test_data): New variable.
63921         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63922         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
63923         of BUILD_COMPLEX.
63925         * math/libm-test.inc (struct test_ff_f_data): New type.
63926         (struct test_ff_f_data_nexttoward): Likewise.
63927         (RUN_TEST_LOOP_2_f): New macro.
63928         (RUN_TEST_LOOP_ff_f): Likewise.
63929         (atan2_test_data): New variable.
63930         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
63931         (copysign_test_data): New variable.
63932         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
63933         (fdim_test_data): New variable.
63934         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
63935         (fmax_test_data): New variable.
63936         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
63937         (fmin_test_data): New variable.
63938         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
63939         (fmod_test_data): New variable.
63940         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
63941         (hypot_test_data): New variable.
63942         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
63943         (nextafter_test_data): New variable.
63944         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
63945         (nexttoward_test_data): New variable.
63946         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
63947         (pow_test_data): New variable.
63948         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
63949         (pow_tonearest_test_data): New variable.
63950         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
63951         (pow_towardzero_test_data): New variable.
63952         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
63953         (pow_downward_test_data): New variable.
63954         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
63955         (pow_upward_test_data): New variable.
63956         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
63957         (remainder_test_data): New variable.
63958         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
63959         (scalb_test_data): New variable.
63960         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
63961         * sysdeps/i386/fpu/libm-test-ulps: Update.
63963 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
63965         * math/libm-test.inc (fma_test): Use max_value instead of local
63966         variable fltmax.
63967         (nextafter_test): Likewise.
63969         * math/libm-test.inc (acos_towardzero_test_data): New variable.
63970         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63971         (acos_downward_test_data): New variable.
63972         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63973         (acos_upward_test_data): New variable.
63974         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63975         (acosh_test_data): New variable.
63976         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
63977         (asin_test_data): New variable.
63978         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
63979         (asin_tonearest_test_data): New variable.
63980         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63981         (asin_towardzero_test_data): New variable.
63982         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63983         (asin_downward_test_data): New variable.
63984         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63985         (asin_upward_test_data): New variable.
63986         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63987         (asinh_test_data): New variable.
63988         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
63989         (atan_test_data): New variable.
63990         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
63991         (atanh_test_data): New variable.
63992         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
63993         (cbrt_test_data): New variable.
63994         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
63995         (ceil_test_data): New variable.
63996         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
63997         (cos_test_data): New variable.
63998         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
63999         (cos_tonearest_test_data): New variable.
64000         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64001         (cos_towardzero_test_data): New variable.
64002         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64003         (cos_downward_test_data): New variable.
64004         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64005         (cos_upward_test_data): New variable.
64006         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64007         (cosh_test_data): New variable.
64008         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64009         (cosh_tonearest_test_data): New variable.
64010         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64011         (cosh_towardzero_test_data): New variable.
64012         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64013         (cosh_downward_test_data): New variable.
64014         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64015         (cosh_upward_test_data): New variable.
64016         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64017         (erf_test_data): New variable.
64018         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64019         (erfc_test_data): New variable.
64020         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64021         (exp_test_data): New variable.
64022         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64023         (exp_tonearest_test_data): New variable.
64024         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64025         (exp_towardzero_test_data): New variable.
64026         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64027         (exp_downward_test_data): New variable.
64028         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64029         (exp_upward_test_data): New variable.
64030         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64031         (exp10_test_data): New variable.
64032         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64033         (exp2_test_data): New variable.
64034         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64035         (expm1_test_data): New variable.
64036         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64037         (fabs_test_data): New variable.
64038         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64039         (floor_test_data): New variable.
64040         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64041         (j0_test_data): New variable.
64042         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64043         (j1_test_data): New variable.
64044         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64045         (log_test_data): New variable.
64046         (log_test): Run tests with RUN_TEST_LOOP_f_f.
64047         (log10_test_data): New variable.
64048         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64049         (log1p_test_data): New variable.
64050         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64051         (log2_test_data): New variable.
64052         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64053         (logb_test_data): New variable.
64054         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64055         (logb_downward_test_data): New variable.
64056         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64057         (nearbyint_test_data): New variable.
64058         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64059         (rint_test_data): New variable.
64060         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64061         (rint_tonearest_test_data): New variable.
64062         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64063         (rint_towardzero_test_data): New variable.
64064         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64065         (rint_downward_test_data): New variable.
64066         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64067         (rint_upward_test_data): New variable.
64068         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64069         (round_test_data): New variable.
64070         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64071         (sin_test_data): New variable.
64072         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64073         (sin_tonearest_test_data): New variable.
64074         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64075         (sin_towardzero_test_data): New variable.
64076         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64077         (sin_downward_test_data): New variable.
64078         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64079         (sin_upward_test_data): New variable.
64080         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64081         (sinh_test_data): New variable.
64082         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64083         (sinh_tonearest_test_data): New variable.
64084         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64085         (sinh_towardzero_test_data): New variable.
64086         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64087         (sinh_downward_test_data): New variable.
64088         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64089         (sinh_upward_test_data): New variable.
64090         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64091         (sqrt_test_data): New variable.
64092         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64093         (tan_test_data): New variable.
64094         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64095         (tan_tonearest_test_data): New variable.
64096         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64097         (tan_towardzero_test_data): New variable.
64098         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64099         (tan_downward_test_data): New variable.
64100         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64101         (tan_upward_test_data): New variable.
64102         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64103         (tanh_test_data): New variable.
64104         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64105         (tgamma_test_data): New variable.
64106         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64107         (trunc_test_data): New variable.
64108         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64109         (y0_test_data): New variable.
64110         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64111         (y1_test_data): New variable.
64112         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64113         (significand_test_data): New variable.
64114         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64116 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64118         [BZ #12387]
64119         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64121 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64123         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64125 2013-05-10  Andreas Jaeger  <aj@suse.de>
64127         [BZ #15448]
64128         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64129         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64131 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64133         * math/gen-libm-test.pl (adjust_arg): New function.
64134         (special_functions): Handle generating output in both functions
64135         and arrays.
64136         (parse_args): Likewise.
64137         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64138         $in_func argument to parse_args.
64139         * math/libm-test.inc (struct test_f_f_data): New type.
64140         (IF_ROUND_INIT_): New macro.
64141         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64142         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64143         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64144         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64145         (ROUND_RESTORE_): Likewise.
64146         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64147         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64148         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64149         (ROUND_RESTORE_FE_UPWARD): Likewise.
64150         (RUN_TEST_LOOP_f_f): New macro.
64151         (acos_test_data): New variable.
64152         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64153         (acos_tonearest_test_data): New variable.
64154         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64156 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64158         * benchtests/bench-skeleton.c (startup): Fix coding style.
64160 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64162         [BZ #6809]
64163         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64164         negative infinity argument.
64165         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64166         negative infinity argument.
64167         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64168         negative infinity argument.
64169         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64170         domain errors.
64172 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64174         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64175         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64176         * iconv/iconv_prog.c (main): Likewise.
64177         * locale/programs/charmap-dir.c (charmap_readdir)
64178         (fopen_uncompressed): Likewise.
64179         * locale/programs/locfile.c (siblings_uncached)
64180         (write_locale_data): Use lstat64 instead of lstat.
64181         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64182         stat.
64184 2013-05-10  Andreas Jaeger  <aj@suse.de>
64186         [BZ #15395]
64187         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64188         localization.
64189         Include <locale.h>.
64191 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
64193         * elf/dl-close.c (_dl_close_worker): Add comments.
64195 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
64197         [BZ #15359]
64198         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64199         high part of pi/2.
64200         (__ieee754_rem_pio2l): Update comments.
64202         [BZ #15429]
64203         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64204         high part of pi/2.
64205         (__ieee754_rem_pio2l): Update comments.
64207         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64208         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64210         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64211         M_PI_4l.
64213         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64214         (M_PI_34_LOG10El): Likewise.
64215         (M_PI2_LOG10El): Likewise.
64216         (M_PI4_LOG10El): Likewise.
64217         (M_PI_LOG10El): Likewise.
64219 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64223 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
64225         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64226         (MINUS_ZERO_INIT): Likewise.
64227         (PLUS_INFTY_INIT): Likewise.
64228         (MINUS_INFTY_INIT): Likewise.
64229         (QNAN_VALUE_INIT): Likewise.
64230         (MAX_VALUE_INIT): Likewise.
64231         (MIN_VALUE_INIT): Likewise.
64232         (MIN_SUBNORM_VALUE_INIT): Likewise.
64233         (plus_zero): Initialize with PLUS_ZERO_INIT.
64234         (minus_zero): Initialize with MINUS_ZERO_INIT.
64235         (plus_infty): Initialize with PLUS_INFTY_INIT.
64236         (minus_infty): Initialize with MINUS_INFTY_INIT.
64237         (qnan_value): Initialize with QNAN_VALUE_INIT.
64238         (max_value): Initialize with MAX_VALUE_INIT.
64239         (min_value): Initialize with MIN_VALUE_INIT.
64240         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64242         * math/libm-test.inc (RUN_TEST_if_f): New macro.
64243         (jn_test): Use TEST_if_f instead of TEST_ff_f.
64244         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64245         (yn_test): Use TEST_if_f instead of TEST_ff_f.
64247         * math/libm-test.inc (RUN_TEST_f_f): New macro.
64248         (RUN_TEST_2_f): Likewise.
64249         (RUN_TEST_ff_f): Likewise.
64250         (RUN_TEST_fi_f): Likewise.
64251         (RUN_TEST_fl_f): Likewise.
64252         (RUN_TEST_fff_f): Likewise.
64253         (RUN_TEST_c_f): Likewise.
64254         (RUN_TEST_f_f1): Likewise.
64255         (RUN_TEST_fF_f1): Likewise.
64256         (RUN_TEST_fI_f1): Likewise.
64257         (RUN_TEST_ffI_f1): Likewise.
64258         (RUN_TEST_c_c): Likewise.
64259         (RUN_TEST_cc_c): Likewise.
64260         (RUN_TEST_f_i): Likewise.
64261         (RUN_TEST_f_i_tg): Likewise.
64262         (RUN_TEST_ff_i_tg): Likewise.
64263         (RUN_TEST_f_b): Likewise.
64264         (RUN_TEST_f_b_tg): Likewise.
64265         (RUN_TEST_f_l): Likewise.
64266         (RUN_TEST_f_L): Likewise.
64267         (RUN_TEST_sincos): Likewise.
64268         * math/gen-libm-test.pl (new_test): Take new argument to indicate
64269         whether to show exceptions.  Do not include ");\n" in return
64270         value.
64271         (special_functions): Output call to RUN_TEST_sincos instead of
64272         check_float calls.  Update calls to new_test.
64273         (parse_args): Output call to single RUN_TEST_* macro instead of
64274         check_* calls and other assignments.  Update calls to new_test.
64276         [BZ #2546]
64277         [BZ #2560]
64278         [BZ #5159]
64279         [BZ #15426]
64280         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64281         input to result for tgamma overflow.
64282         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64283         (gamma_coeff): New variable.
64284         (NCOEFF): New macro.
64285         (gamma_positive): New function.
64286         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64287         underflow here.  Use gamma_positive instead of exp (lgamma) for
64288         other arguments.
64289         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64290         (gamma_coeff): New variable.
64291         (NCOEFF): New macro.
64292         (gammaf_positive): New function.
64293         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
64294         underflow here.  Use gamma_positive instead of exp (lgamma) for
64295         other arguments.
64296         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
64297         (gamma_coeff): New variable.
64298         (NCOEFF): New macro.
64299         (gammal_positive): New function.
64300         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
64301         underflow here.  Use gamma_positive instead of exp (lgamma) for
64302         other arguments.
64303         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
64304         (gamma_coeff): New variable.
64305         (NCOEFF): New macro.
64306         (gammal_positive): New function.
64307         (__ieee754_gammal_r): Handle positive infinity, overflow and
64308         underflow here.  Handle NaN the same as positive infinity.  Remove
64309         check x < 0xffffffff for negative integers.  Use gamma_positive
64310         instead of exp (lgamma) for other arguments.
64311         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
64312         (gamma_coeff): New variable.
64313         (NCOEFF): New macro.
64314         (gammal_positive): New function.
64315         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
64316         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
64317         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
64318         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
64319         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
64320         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
64321         * sysdeps/generic/math_private.h (__gamma_productf): New
64322         prototype.
64323         (__gamma_product): Likewise.
64324         (__gamma_productl): Likewise.
64325         * math/Makefile (libm-calls): Add gamma_product.
64326         * math/libm-test.inc (tgamma_test): Add more tests.
64327         * sysdeps/i386/fpu/libm-test-ulps: Update.
64328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64330 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
64332         * benchtests/bench-skeleton.c (main): Preheat CPU.
64334 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
64336         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64338 2013-05-07  Roland McGrath  <roland@hack.frob.com>
64340         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
64341         and _dl_skip_args_internal.
64343 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
64345         * manual/message.texi (Message Translation): Talk about users.
64346         Message to key mapping impacts design.
64348 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64350         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
64352         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
64354         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
64355         * sysdeps/wordsize-64/glob64.c: ... here.
64357         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
64358         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
64359         New macros.
64361         * debug/getlogin_r_chk.c: Moved to ...
64362         * login/getlogin_r_chk.c: ... here.
64363         * debug/Makefile (routines): Move getlogin_r_chk to ...
64364         * login/Makefile (routines): ... here.
64365         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
64366         * login/Versions (libc: GLIBC_2.4): ... here.
64368         * io/poll.c (__poll): Renamed from poll.
64369         Add libc_hidden_def.
64370         (poll): Define as weak alias.
64372         * debug/ptsname_r_chk.c: Moved to ...
64373         * login/ptsname_r_chk.c: ... here.
64374         * debug/Makefile (routines): Move ptsname_r_chk to ...
64375         * login/Makefile (routines): ... here.
64376         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
64377         * login/Versions (libc: GLIBC_2.4): ... here.
64379         * posix/getlogin.c: Moved to ...
64380         * login/getlogin.c: ... here.
64381         * posix/getlogin_r.c: Moved to ...
64382         * login/getlogin_r.c: ... here.
64383         * posix/getlogin_r.c: Moved to ...
64384         * login/getlogin_r.c: ... here.
64385         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
64386         * login/Makefile (routines): ... here.
64387         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
64388         * login/Versions (libc: GLIBC_2.0): ... here.
64390         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
64391         (setrlimit): Define as weak alias.
64393         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
64394         Call __ names for open, ftruncate, and close.
64395         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
64396         (truncate): Define as weak alias.
64398 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
64400         * math/gen-libm-test.pl (parse_args): Initialize x before each
64401         test of frexp, modf and remquo.
64403         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
64404         test signgam value.
64406 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64408         [BZ #15418]
64409         [BZ #15419]
64410         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
64411         internal tests.
64412         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64414 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64416         * elf/dl-writev.h: New file.
64417         * elf/dl-misc.c: Include it.
64418         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
64419         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
64421 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
64423         * math/libm-test.inc (noXFails): Remove variable.
64424         (noXPasses): Likewise.
64425         (BUILD_COMPLEX_INT): Remove macro.
64426         (print_screen): Remove xfail argument.
64427         (print_screen_max_error): Likewise.
64428         (update_stats): Likewise.
64429         (print_max_error): Likewise.  Update calls to other affected
64430         functions.
64431         (print_complex_max_error): Likewise.
64432         (test_single_exception): Update calls to print_screen.
64433         (test_single_errno): Likewise.
64434         (check_float_internal): Remove xfail argument.  Update calls to
64435         other affected functions.
64436         (check_float): Likewise.
64437         (check_complex): Likewise.
64438         (check_int): Likewise.
64439         (check_long): Likewise.
64440         (check_bool): Likewise.
64441         (check_longlong): Likewise.
64442         (main): Don't print noXFails and noXPasses.
64443         * math/gen-libm-test.pl (top level): Don't mention expected
64444         failure handling in comment.
64445         (new_test): Don't handle expected failures.
64446         (parse_args): Don't mention expected failure handling in comment.
64447         (generate_testfile): Don't handle expected failures.
64448         (parse_ulps): Likewise.
64449         (print_ulps_file): Likewise.
64450         (get_failure): Remove function.
64451         (output_test): Don't handle expected failures.
64452         * make/README.libm-test: Don't mention expected failure handling.
64454         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
64455         (minus_zero): Likewise.
64456         (plus_infty): Likewise.
64457         (minus_infty): Likewise.
64458         (qnan_value): Likewise.
64459         (max_value): Likewise.
64460         (min_value): Likewise.
64461         (min_subnorm_value): Likewise.
64462         (initialize): Do not initialize those variables dynamically.
64464 2013-05-03  Roland McGrath  <roland@hack.frob.com>
64466         * io/open.c (__open_2): Moved to ...
64467         * io/open_2.c: ... this new file.
64468         * io/open64.c (__open64_2): Moved to ...
64469         * io/open64_2.c: ... this new file.
64470         * io/openat.c (__openat_2): Moved to ...
64471         * io/openat_2.c: ... this new file.
64472         * io/openat64.c (__openat64_2): Moved to ...
64473         * io/openat64_2.c: ... this new file.
64474         * io/Makefile (routines): Add them.
64475         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
64476         * sysdeps/unix/sysv/linux/open_2.c: File removed.
64477         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
64478         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
64479         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
64480         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
64481         (__openat64): Add hidden_ver.
64482         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
64483         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
64485         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
64486         Separately conditionalize setting of GLRO(dl_sysinfo) so
64487         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
64488         as well, but the actual setting is only under [NEED_DL_SYSINFO].
64490 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64492         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
64493         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
64494         definition.
64495         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
64496         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64497         (_libc_vdso_platform_setup): Add __vdso_time initialization.
64498         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
64499         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
64501 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
64503         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
64504         test signgam value.
64506         * math/libm-test.inc (hypot_test): Do not use
64507         IGNORE_ZERO_INF_SIGN.
64509 2013-05-03  Andreas Jaeger  <aj@suse.de>
64511         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
64512         Linux 3.9.
64513         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
64514         (PF_MAX): Adjust for VSOCK change.
64516 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64520 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
64522         [BZ #15264]
64523         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
64524         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
64525         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
64527 2013-05-02  David S. Miller  <davem@davemloft.net>
64529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64531 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
64533         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
64535 2013-05-01  Roland McGrath  <roland@hack.frob.com>
64537         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
64539 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
64541         [BZ #14952]
64542         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
64543         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64544         Use __attribute__ ((__gnu_inline__)).
64545         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64546         Don't use __attribute__ ((__gnu_inline__)).
64548 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
64550         [BZ #15423]
64551         * math/s_catan.c (__catan): Handle small real or imaginary part of
64552         input specially to avoid spurious underflow.
64553         * math/s_catanf.c (__catanf): Likewise.
64554         * math/s_catanh.c (__catanh): Likewise.
64555         * math/s_catanhf.c (__catanhf): Likewise.
64556         * math/s_catanhl.c (__catanhl): Likewise.
64557         * math/s_catanl.c (__catanl): Likewise.
64558         * math/libm-test.inc (catan_test): Add more tests.
64559         (catanh_test): Likewise.
64560         * sysdeps/i386/fpu/libm-test-ulps: Update.
64561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64563 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64567 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
64569         [BZ #15416]
64570         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
64571         accurately for denominator in atan2.
64572         * math/s_catanf.c (__catanf): Likewise.
64573         * math/s_catanh.c (__catanh): Likewise.
64574         * math/s_catanhf.c (__catanhf): Likewise.
64575         * math/s_catanhl.c (__catanhl): Likewise.
64576         * math/s_catanl.c (__catanl): Likewise.
64577         * math/libm-test.inc (catan_test): Add more tests.
64578         (catanh_test): Likewise.
64579         * sysdeps/i386/fpu/libm-test-ulps: Update.
64580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64582 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64584         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
64586         * benchtests/Makefile (bench): Remove slow benchmarks.
64587         * benchtests/atan-inputs: Add slow benchmark inputs.
64588         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
64589         (BENCH_FUNC): Accept variant offset.
64590         (VARIANT): Define.
64591         * benchtests/bench-skeleton.c (main): Run benchmark for each
64592         variant.
64593         * benchtests/cos-inputs: Add slow benchmark inputs.
64594         * benchtests/exp-inputs: Likewise.
64595         * benchtests/pow-inputs: Likewise.
64596         * benchtests/sin-inputs: Likewise.
64597         * benchtests/slowatan-inputs: Remove.
64598         * benchtests/slowatan.c: Remove.
64599         * benchtests/slowcos-inputs: Remove.
64600         * benchtests/slowcos.c: Remove.
64601         * benchtests/slowexp-inputs: Remove.
64602         * benchtests/slowexp.c: Remove.
64603         * benchtests/slowpow-inputs: Remove.
64604         * benchtests/slowpow.c: Remove.
64605         * benchtests/slowsin-inputs: Remove.
64606         * benchtests/slowsin.c: Remove.
64607         * benchtests/slowtan-inputs: Remove.
64608         * benchtests/slowtan.c: Remove.
64609         * benchtests/tan-inputs: Add slow benchmark inputs.
64610         * scripts/bench.pl: Parse comments and directives.
64612         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
64613         in CPPFLAGS.
64614         ($(objpfx)bench-%.c): Remove *-ITER.
64615         * benchtests/bench-modf.c: Remove definition of ITER.
64616         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
64617         (main): Loop for DURATION seconds instead of fixed number of
64618         iterations.
64619         * scripts/bench.pl: Don't expect iterations in parameters.
64621 2013-04-29  Roland McGrath  <roland@hack.frob.com>
64623         * io/fchdir.c (__fchdir): Renamed from fchdir.
64624         (fchdir): Define as weak alias.
64626 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64628         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64629         (ERRNO_EDOM): Likewise.
64630         (ERRNO_ERANGE): Likewise.
64631         (noErrnoTests): New variable.
64632         (init_max_error): Set errno to 0.
64633         (test_single_errno): New function.
64634         (test_errno): Likewise.
64635         (check_float_internal): Call test_errno.  Set errno to 0.
64636         (check_complex): Refer to errno tests in comment.
64637         (check_int): Call test_errno.  Set errno to 0.
64638         (check_long): Likewise.
64639         (check_bool): Likewise.
64640         (check_longlong): Likewise.
64641         (cos_test): Use ERRNO_* flags for errno tests instead of
64642         check_int.
64643         (expm1_test): Likewise.
64644         (fmod_test): Likewise.
64645         (ilogb_test): Likewise.
64646         (lgamma_test): Likewise.
64647         (pow_test): Likewise.
64648         (remainder_test): Likewise.
64649         (sin_test): Likewise.
64650         (tan_test): Likewise.
64651         (yn_test): Likewise.
64652         (initialize): Set errno to 0.
64653         (main): Print number of errno tests.
64654         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64656 2013-04-29  Andreas Jaeger  <aj@suse.de>
64658         [BZ #15084]
64659         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64660         and RES_USEVC.
64662         [BZ #15085]
64663         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64664         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64665         unimplemented.
64667         [BZ #15380]
64668         * stdlib/random.c (__initstate): Return NULL if
64669         __initstate fails.
64671         [BZ #15086]
64672         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64673         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64674         RES_SNGLKUPREOP.
64676 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64680 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64682         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
64683         of individual tests.
64684         (casin_test): Likewise.
64685         (casinh_test): Likewise.
64687 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
64689         [BZ #15409]
64690         * math/s_catan.c (__catan): Handle arguments with large real or
64691         imaginary part separately without squaring.
64692         * math/s_catanf.c (__catanf): Likewise.
64693         * math/s_catanh.c (__catanh): Likewise.
64694         * math/s_catanhf.c (__catanhf): Likewise.
64695         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64696         and redefine.
64697         (__catanhl): Handle arguments with large real or imaginary part
64698         separately without squaring.
64699         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64700         and redefine.
64701         (__catanl): Handle arguments with large real or imaginary part
64702         separately without squaring.
64703         * math/libm-test.inc (catan_test): Add more tests.
64704         (catanh_test): Likewise.
64705         * sysdeps/i386/fpu/libm-test-ulps: Update.
64706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64708 2013-04-27  Andreas Jaeger  <aj@suse.de>
64710         [BZ #15007]
64711         * stdlib/stdlib.h: Update guards for qecvt.
64712         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
64713         <stdlib.h>.
64715 2013-04-27  Allan McRae  <allan@archlinux.org>
64717         * sysdeps/i386/fpu/libm-test-ulps: Update.
64719 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
64721         [BZ #15406]
64722         * math/s_catan.c: Include <float.h>.
64723         (__catan): Ensure underflow exception occurs for underflowed
64724         result.
64725         * math/s_catanf.c: Include <float.h>.
64726         (__catanf): Ensure underflow exception occurs for underflowed
64727         result.
64728         * math/s_catanh.c: Include <float.h>.
64729         (__catanh): Ensure underflow exception occurs for underflowed
64730         result.
64731         * math/s_catanhf.c: Include <float.h>.
64732         (__catanhf): Ensure underflow exception occurs for underflowed
64733         result.
64734         * math/s_catanhl.c: Include <float.h>.
64735         (__catanhl): Ensure underflow exception occurs for underflowed
64736         result.
64737         * math/s_catanl.c: Include <float.h>.
64738         (__catanl): Ensure underflow exception occurs for underflowed
64739         result.
64740         * math/libm-test.inc (catan_test): Add more tests.
64741         (catanh_test): Likewise.
64743         [BZ #15405]
64744         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
64745         underflowed result.
64746         * math/s_ccoshf.c (__ccoshf): Likewise.
64747         * math/s_ccoshl.c (__ccoshl): Likewise.
64748         * math/s_csin.c (__csin): Likewise.
64749         * math/s_csinf.c (__csinf): Likewise.
64750         * math/s_csinh.c (__csinh): Likewise.
64751         * math/s_csinhf.c (__csinhf): Likewise.
64752         * math/s_csinhl.c (__csinhl): Likewise.
64753         * math/s_csinl.c (__csinl): Likewise.
64754         * math/libm-test.inc (ccos_test): Add more tests.
64755         (ccosh_test): Likewise.
64756         (csin_test): Likewise.
64757         (csinh_test): Likewise.
64759 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64761         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
64762         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
64763         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
64764         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
64765         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
64766         powerpc/power5+/fpu folders.
64767         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
64770 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64774 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
64776         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
64777         additions to variable.
64778         [$(config-machine) = x86_64] (modules-names): Likewise.
64779         ($(objpfx)tst-audit3): Remove dependency.
64780         ($(objpfx)tst-audit3.out): Likewise.
64781         ($(objpfx)tst-audit4): Likewise.
64782         ($(objpfx)tst-audit4.out): Likewise.
64783         ($(objpfx)tst-audit5): Likewise.
64784         ($(objpfx)tst-audit5.out): Likewise.
64785         ($(objpfx)tst-audit6): Likewise.
64786         ($(objpfx)tst-audit6.out): Likewise.
64787         ($(objpfx)tst-audit7): Likewise.
64788         ($(objpfx)tst-audit7.out): Likewise.
64789         (tst-audit3-ENV): Remove variable.
64790         (tst-audit4-ENV): Likewise.
64791         (tst-audit5-ENV): Likewise.
64792         (tst-audit6-ENV): Likewise.
64793         (tst-audit7-ENV): Likewise.
64794         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
64795         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
64796         addition to variable.
64797         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
64798         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
64799         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
64800         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
64801         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
64802         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
64803         tst-audit3, tst-audit4 and tst-audit5.
64804         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
64805         tst-audit6 and tst-audit7.
64806         [$(subdir) = elf] (modules-names): Add audit modules for those
64807         tests.
64808         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
64809         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
64810         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
64811         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
64812         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
64813         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
64814         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
64815         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
64816         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
64817         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
64818         [$(subdir) = elf] (tst-audit3-ENV): New variable.
64819         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
64820         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
64821         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
64822         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
64823         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
64824         Likewise.
64825         [$(subdir) = elf && $(config-cflags-avx) = yes]
64826         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
64827         [$(subdir) = elf && $(config-cflags-avx) = yes]
64828         (CFLAGS-tst-auditmod4a.c): Likewise.
64829         [$(subdir) = elf && $(config-cflags-avx) = yes]
64830         (CFLAGS-tst-auditmod4b.c): Likewise.
64831         [$(subdir) = elf && $(config-cflags-avx) = yes]
64832         (CFLAGS-tst-auditmod6b.c): Likewise.
64833         [$(subdir) = elf && $(config-cflags-avx) = yes]
64834         (CFLAGS-tst-auditmod6c.c): Likewise.
64835         [$(subdir) = elf && $(config-cflags-avx) = yes]
64836         (CFLAGS-tst-auditmod7b.c): Likewise.
64837         * elf/tst-audit3.c: Move to ...
64838         * sysdeps/x86_64/tst-audit3.c: ... here.
64839         * elf/tst-audit4.c: Move to ...
64840         * sysdeps/x86_64/tst-audit4.c: ... here.
64841         * elf/tst-audit5.c: Move to ...
64842         * sysdeps/x86_64/tst-audit5.c: ... here.
64843         * elf/tst-audit6.c: Move to ...
64844         * sysdeps/x86_64/tst-audit6.c: ... here.
64845         * elf/tst-audit7.c: Move to ...
64846         * sysdeps/x86_64/tst-audit7.c: ... here.
64847         * elf/tst-auditmod3a.c: Move to ...
64848         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
64849         * elf/tst-auditmod3b.c: Move to ...
64850         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
64851         * elf/tst-auditmod4a.c: Move to ...
64852         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
64853         * elf/tst-auditmod4b.c: Move to ...
64854         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
64855         * elf/tst-auditmod5a.c: Move to ...
64856         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
64857         * elf/tst-auditmod5b.c: Move to ...
64858         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
64859         * elf/tst-auditmod6a.c: Move to ...
64860         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
64861         * elf/tst-auditmod6b.c: Move to ...
64862         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
64863         * elf/tst-auditmod6c.c: Move to ...
64864         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
64865         * elf/tst-auditmod7a.c: Move to ...
64866         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
64867         * elf/tst-auditmod7b.c: Move to ...
64868         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
64870 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
64872         [BZ #15366]
64873         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
64874         define unconditionally.
64875         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
64876         define unconditionally.
64877         (INT8_C, INT16_C, etc.): Likewise.
64879 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
64881         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
64882         __ehdr_start with hidden visibility.
64884         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
64886 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
64888         * math/libm-test.inc (cos_test): Use accurate hex constants.
64889         (sincost_test): Likewise.
64891 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
64893         * math/libm-test.inc (catan_test): Add more tests.
64894         (catanh_test): Likewise.
64896         * math/s_catanf.c (__catanf): Use suffixed floating-point
64897         constants.
64898         * math/s_catanhf.c (__catanhf): Likewise.
64899         * math/s_catanhl.c (__catanhl): Likewise.
64900         * math/s_catanl.c (__catanl): Likewise.
64902         [BZ #15394]
64903         * math/s_catan.c (__catan): Calculate imaginary part of result
64904         with log1p not log unless computing log of number close to 0.
64905         * math/s_catanf.c (__catanf): Likewise.
64906         * math/s_catanl.c (__catanl): Likewise.
64907         * math/s_catanh.c (__catanh): Calculate real part of result with
64908         log1p not log unless computing log of number close to 0.
64909         * math/s_catanhf.c (__catanhf): Likewise.
64910         * math/s_catanhl.c (__catanhl): Likewise.
64911         * math/libm-test.inc (catan_test): Add more tests.
64912         (catanh_test): Likewise.
64913         * sysdeps/i386/fpu/libm-test-ulps: Update.
64914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64916 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64918         * benchtests/Makefile: Mention files in which fast and slow
64919         paths of math functions are implemented.
64921 2013-04-23  Roland McGrath  <roland@hack.frob.com>
64923         * sysdeps/posix/timespec_get.c: New file.
64925 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64927         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
64928         POWER.
64929         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
64930         for POWER.
64931         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
64932         powerpc/power5/fpu folders.
64933         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
64934         * benchtests/Makefile: Add modf testcase.
64935         * benchtests/bench-modf.c: New file: Benchmark test for mo
64937 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
64939         [BZ #14888]
64940         * time/Makefile (tests): Add tst-strptime-whitespace.
64941         * time/strptime_l.c (get_number): Use ISSPACE.
64942         (__strptime_internal): Likewise.
64943         * time/tst-strptime-whitespace.c: New test case.
64945 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
64947         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
64948         member.
64949         (_nss_files_init): Set it here.
64951 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
64953         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
64954         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
64955         unsigned.
64957 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
64959         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
64961 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64963         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
64964         size just once.
64966 2013-04-21  David S. Miller  <davem@davemloft.net>
64968         * po/ru.po: Update Russion translation from translation project.
64970 2013-04-17  Adam Conrad  <adconrad@0c3.net>
64972         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
64973         and setfsgid.
64975 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
64977         * configure.in: Remove i386 configure warning. Remove i386 case.
64978         * configure: Regenerate.
64979         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
64980         Add example to error message.
64981         * sysdeps/i386/configure: Regenerate.
64983 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64985         * benchtests/Makefile (bench): Add cos, tan, slowcos and
64986         slowtan.
64987         * benchtests/cos-inputs: New file.
64988         * benchtests/slowcos-inputs: New file.
64989         * benchtests/slowcos.c: New file.
64990         * benchtests/slowtan-inputs: New file.
64991         * benchtests/slowtan.c: New file.
64992         * benchtests/tan-inputs: New file.
64994 2013-04-16  Roland McGrath  <roland@hack.frob.com>
64996         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
64997         considered kosher.
64999 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65001         * benchtests/Makefile: Include cppflags-iterator.mk to add
65002         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65004         * Makefile.in (bench-clean): New target.
65005         * benchtests/Makefile (bench-clean): Likewise.
65007 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
65009         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65011 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
65013         * stdio-common/tstdiomisc.c: Fix coding-style violation.
65015 2013-04-15  Andreas Schwab  <schwab@suse.de>
65017         * nscd/grpcache.c (cache_addgr): Properly check for short write.
65018         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65019         * nscd/pwdcache.c (cache_addpw): Likewise.
65020         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
65021         more than recsize.
65023 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65025         * benchtests/Makefile (bench): Write all output to
65026         bench-out.tmp together.
65028 2013-04-15  Andreas Schwab  <schwab@suse.de>
65030         * nscd/nscd.c (main): Don't fork again after closing files.
65032 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65034         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65036         * benchtests/Rules (bench-deps): Collect dependencies into a
65037         single variable.  Add Makefile to dependencies.
65038         ($(objpfx)bench-%.c): Depend on bench-deps.
65040 2013-04-12  Roland McGrath  <roland@hack.frob.com>
65041             Xavier Roche  <roche+kml2@exalead.com>
65043         [BZ #15361]
65044         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65045         just that it's a file descriptor.
65046         * manual/llio.texi (Synchronizing AIO Operations): Update description
65047         for EBADF error from aio_fsync.
65049 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65051         * Rules (bench): Move target definition...
65052         * benchtests/Makefile: ... here.
65054 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
65056         * math/libm-test.inc (cos_test): Fix PI/2 test.
65057         (sincos_test): Likewise.
65058         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65059         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65061 2013-04-11  Andreas Schwab  <schwab@suse.de>
65063         [BZ #13988]
65064         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65065         accept exponent character only when digits were seen.
65066         * stdio-common/Makefile (tests): Add bug26.
65067         * stdio-common/bug26.c: New file.
65069         [BZ #14293]
65070         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65071         non-freeable.
65073 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65075         * Makeconfig (rtld-prefix): Define built linker prefix.
65076         * Rules (run-bench): Use it.
65077         * math/Makefile (run-regen-ulps): Likewise.
65079         * Rules (bench): Remove eval.
65081 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65082             Roland McGrath  <roland@hack.frob.com>
65083             Ondrej Bilka  <neleai@seznam.cz>
65085         [BZ #15346]
65086         * time/getdate.c: Include ctype.h and alloca.h.
65087         (__getdate_r): Trim leading and trailing spaces of input.
65088         * time/tst-getdate.c (tests): Add tests with leading and
65089         trailing spaces.
65091 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65093         [BZ #14280]
65094         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65095         when computing value.
65097 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65099         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65100         Use testrun.sh to run libm tests.
65102         [BZ #15309]
65103         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65105 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65107         [BZ #15264]
65108         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65110 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65112         * Makefile.in (regen-ulps): New target.
65113         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65114         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65115         [ifneq (no,$(PERL)] (regen-ulps): New target.
65116         [ifeq (no,$(PERL)] (regen-ulps): New target.
65117         * math/libm-test.inc (ulps_file_name): Define.
65118         (output_dir): New variable.
65119         (options): Add "output-dir" option.
65120         (parse_opt): Handle 'o' case.
65121         (main): If output_dir is non-NULL use it as a prefix
65122         otherwise use "".
65123         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65125 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65127         [BZ #10060, #10062]
65128         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65129         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65130         fail configure if __sync_val_compare_and_swap is not inlined.
65131         * sysdeps/i386/configure: Regenerate.
65132         * configure.in: Build for i686 when configured for i386.
65133         * configure: Regenerate.
65134         * README: Remove i386 reference.
65136 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65138         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65139         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65141 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65143         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65144         (lmsnanval): New variables.
65145         (F): Add conversion tests.
65146         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65147         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65149         * stdio-common/tstdiomisc.c (F): Properly collect individual
65150         tests' results.
65152         [BZ #14686, #15336]
65153         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65154         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65155         Instead, use input NaN values or generate a qNaN by arithmetic
65156         operation.  Also fix bugs to comply with the standard.
65157         * math/libm-test.inc (remainder_test): Add more tests.
65159         [BZ #15335, #15342]
65160         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65161         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65162         input NaN values or generate a qNaN by arithmetic operation.
65164         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65165         unreachable code.
65167         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65168         definitions.
65170 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65172         [BZ #14478]
65173         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65174         underflowed result.
65175         * math/s_cexpf.c (__cexpf): Likewise.
65176         * math/s_cexpl.c (__cexpl): Likewise.
65177         * math/libm-test.inc (cexp_test): Add more tests.
65179 2013-04-03  Andreas Schwab  <schwab@suse.de>
65181         [BZ #15330]
65182         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65183         order arrays from heap if bigger than alloca cutoff.
65185 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65187         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65188         (SNAN_TESTS_double): Refer to GCC PR56831.
65189         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65190         GCC PR56828.
65192 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65194         * Rules (bench): Move bench.out after the run is complete.
65196         * Rules (bench): Echo currently running benchmark.
65198         * benchtests/Makefile (bench): Add atan and slowatan.
65199         * benchtests/atan-inputs: New file.
65200         * benchtests/slowatan-inputs: New file.
65201         * benchtests/slowatan.c: New file.
65203         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65204         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65205         its value.
65207         [BZ #15305]
65208         * sysdeps/unix/sysv/linux/kernel-features.h
65209         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65210         __ASSUME_XFS_RESTRICTED_CHOWN.
65211         * sysdeps/unix/sysv/linux/pathconf.c
65212         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65213         Save and restore errno.
65215 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
65217         [BZ #15327]
65218         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65219         arguments using __kernel_casinh.
65220         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65221         arguments using __kernel_casinhf.
65222         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65223         arguments using __kernel_casinhl.
65224         * math/libm-test.inc (cacosh_test): Add more tests.
65225         * sysdeps/i386/fpu/libm-test-ulps: Update.
65226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65228 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65230         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65233         * bench/Makefile (bench): Add sin and slowsin.
65234         * benchtests/sin-inputs: New file.
65235         * benchtests/slowsin-inputs: New file.
65236         * benchtests/slowsin.c: New file.
65238         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65239         (bench): Add slowexp and slowpow.
65240         (exp-ITER): Increase iterations.
65241         (pow-ITER): Likewise.
65242         * benchtests/exp-inputs: Change input.
65243         * benchtests/pow-inputs: Likewise.
65244         * benchtests/slowexp-inputs: New file.
65245         * benchtests/slowexp.c: New file.
65246         * benchtests/slowpow-inputs: New file.
65247         * benchtests/slowpow.c: New file.
65249 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65251         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65252         instructions.
65253         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65254         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65255         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65256         * benchtests/Makefile: Add rint benchtest.
65257         * benchtests/rint-inputs: Input for rint benchtest.
65259 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65261         * Versions.def (libm): Add GLIBC_2.18.
65262         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65263         hidden libm prototypes.
65264         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65265         * math/Makefile (libm-calls): Add s_issignaling.
65266         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65267         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
65268         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65269         declaration.
65270         * math/math.h [__USE_GNU] (issignaling): New macro.
65271         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65272         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65273         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65274         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65275         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65276         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65277         * manual/arith.texi (issignaling): New section.
65278         * manual/libm-err-tab.pl (@all_functions): Update comment.
65279         * math/gen-libm-test.pl (parse_args): Apply special handling for
65280         issignaling.
65281         * math/libm-test.inc (print_float, issignaling_test): New
65282         functions.
65283         (check_float_internal): Add issignaling checks.
65284         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65285         default definition.
65286         * sysdeps/powerpc/math-tests.h: New file.
65287         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65288         tests.
65289         * math/test-snan.c (TEST_FUNC): Likewise.
65291 2013-03-30  David S. Miller  <davem@davemloft.net>
65293         * po/de.po: Update from translation team.
65295 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
65297         [BZ #10357]
65298         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65299         imaginary part less than 1.0 and real part less than 0.5
65300         specially.
65301         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65302         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65303         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
65304         (cacos_test): Add more tests.
65305         (casin_test): Likewise.
65306         (casinh_test): Likewise.
65307         * sysdeps/i386/fpu/libm-test-ulps: Update.
65308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65310 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65312         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
65313         ONE with its value.
65315         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
65316         (__pow_mp): Replace ONE and MONE with their values.
65317         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65318         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
65319         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65320         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
65321         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65322         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65324         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
65326         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
65327         (__pow_mp): Replace ZERO and MZERO with their values.
65328         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65329         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65330         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65331         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65332         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65333         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
65334         (__sqr): Likewise.
65336         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
65338         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
65340 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65342         * include/stdlib.h [!SHARED] (__call_tls_dtors):
65343         Declare with __attribute__ ((weak)).
65344         * stdlib/exit.c (__libc_atexit) [!SHARED]:
65345         Call __call_tls_dtors only if it's not NULL.
65347 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65349         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
65350         didn't do it already, then set _dl_phdr and _dl_phnum based on the
65351         magic __ehdr_start linker symbol if it's defined.
65352         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
65353         them up here if it was already done.
65355         * elf/dl-support.c (_dl_phdr): Make pointer to const.
65356         (_dl_aux_init): Use const in cast when setting it.
65357         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
65358         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65359         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
65361         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
65362         Declare them here.
65363         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
65364         * csu/libc-tls.c: Nor here.
65365         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
65367         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
65368         (__libc_message): Never call vsyslog.
65370 2013-03-28  Alan Modra  <amodra@gmail.com>
65372         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
65373         Define as empty.
65374         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
65375         Likewise.
65377 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65379         [BZ #15214]
65380         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
65381         underflow.
65382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65384 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65386         [BZ #15304]
65387         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
65388         Don't add gid passed as argument.
65390         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
65392 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
65394         [BZ #15307]
65395         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65396         imaginary part between 1.0 and 1.5 and real part less than 0.5
65397         specially.
65398         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65399         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65400         * math/libm-test.inc (cacos_test): Add more tests.
65401         (casin_test): Likewise.
65402         (casinh_test): Likewise.
65403         * sysdeps/i386/fpu/libm-test-ulps: Update.
65404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65406 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65408         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
65409         constants.
65410         (norm): Likewise.
65411         (denorm): Likewise.
65412         (__dbl_mp): Likewise.
65413         (add_magnitudes): Likewise.
65414         (sub_magnitudes): Likewise.
65415         (__add): Likewise.
65416         (__sub): Likewise.
65417         (__mul): Likewise.
65418         (__sqr): Likewise.
65419         (__inv): Likewise.
65420         (__dvd): Likewise.
65422         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
65423         commented code.
65424         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
65425         (__dubcos): Likewise.
65426         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
65427         (__ieee754_acos): Likewise.
65428         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65429         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
65430         (__exp1): Likewise.
65431         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65432         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65433         (log1): Likewise.
65434         (my_log2): Likewise.
65435         (checkint): Likewise.
65436         * sysdeps/ieee754/dbl-64/e_remainder.c
65437         (__ieee754_remainder): Likewise.
65438         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
65440         (bsloww): Likewise.
65441         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65443         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65444         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
65445         MANTISSA_STORE_T to store computations on mantissa.  Use
65446         macros for rounding and division.
65447         (denorm): Likewise.
65448         (__dbl_mp): Likewise.
65449         (add_magnitudes): Likewise.
65450         (sub_magnitudes): Likewise.
65451         (__mul): Likewise.
65452         (__sqr): Likewise.
65453         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65454         powers of two in terms of TWOPOW macro.
65455         (mp_no): Make type of mantissa as MANTISSA_T.
65456         [!RADIXI]: Define RADIXI.
65457         [!TWO52]: Define TWO52.
65458         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65460 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65462         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
65463         llroundl symbol when building for PPC32.
65465 2013-03-24  Mark H Weaver  <mhw@netris.org>
65467         * manual/arith.texi (Normalization Functions): Fix prototypes for
65468         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
65470 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65472         [BZ #13889]
65473         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
65474         high value to check if expl overflow.
65475         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
65476         to check for underflow and overflow.
65477         * math/libm-test.inc: Add exp test.
65479 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
65481         [BZ #11120]
65482         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
65483         with NOT_IN_libc.
65485 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65487         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
65488         symbol.
65490 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65492         * math/gen-libm-test.pl (parse_args, special_functions): Properly
65493         wrap blocks consisting of several statements.
65495         * sysdeps/generic/math-tests.h: New file.
65496         * sysdeps/i386/fpu/math-tests.h: Likewise.
65497         * math/test-snan.c: Include it.
65498         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
65500 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65502         [BZ #15285]
65503         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
65504         (__ieee754_j0l): Do not improve calculations using cos of twice
65505         input for inputs above LDBL_MAX / 2.0L.
65506         (__ieee754_y0l): Likewise.
65507         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
65508         (__ieee754_j1l): Do not improve calculations using cos of twice
65509         input for inputs above LDBL_MAX / 2.0L.
65510         (__ieee754_y1l): Likewise.
65511         * math/libm-test.inc (j0_test): Add another test.
65512         (j1_test): Likewise.
65513         (y0_test): Likewise.
65514         (y1_test): Likewise.
65515         * sysdeps/i386/fpu/libm-test-ulps: Update.
65517 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65519         * Rules ($(objpfx)bench-%.c): Include code from a C source
65520         file.
65522 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65524         [BZ #15287]
65525         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65526         imaginary part 1.0 and real part less than 0.5 specially.
65527         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65528         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65529         * math/libm-test.inc (cacos_test): Add more tests.
65530         (casin_test): Likewise.
65531         (casinh_test): Likewise.
65532         * sysdeps/i386/fpu/libm-test-ulps: Update.
65533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65535 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65537         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
65538         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
65540 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
65542         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
65543         * config.make.in (config-cflags-sse4): Remove variable.
65544         (config-cflags-avx): Likewise.
65545         (config-cflags-sse2avx): Likewise.
65546         (config-cflags-novzeroupper): Likewise.
65547         (config-asflags-i686): Likewise.
65548         (have-mfma4): Likewise.
65549         (have-as-vis3): Likewise.
65550         (MIG): Likewise.
65551         * configure.in (MIG): Do not AC_SUBST.
65552         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
65553         (libc_cv_cc_sse4): Do not AC_SUBST.
65554         (libc_cv_cc_avx): Likewise.
65555         (libc_cv_cc_sse2avx): Likewise.
65556         (libc_cv_cc_novzeroupper): Likewise.
65557         (libc_cv_cc_fma4): Likewise.
65558         (libc_cv_as_i686): Likewise.
65559         (libc_cv_sparc_as_vis3): Likewise.
65560         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
65561         LIBC_CONFIG_VAR.
65562         (config-asflags-i686): Likewise.
65563         (config-cflags-avx): Likewise.
65564         (config-cflags-sse2avx): Likewise.
65565         (have-mfma4): Likewise.
65566         (config-cflags-novzeroupper): Likewise.
65567         * sysdeps/mach/configure.in (MIG): Likewise.
65568         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
65569         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
65570         LIBC_CONFIG_VAR.
65571         (config-cflags-avx): Likewise.
65572         (config-cflags-sse2avx): Likewise.
65573         (have-mfma4): Likewise.
65574         (config-cflags-novzeroupper): Likewise.
65575         * configure: Regenerated.
65576         * sysdeps/i386/configure: Likewise.
65577         * sysdeps/mach/configure: Likewise.
65578         * sysdeps/sparc/configure: Likewise.
65579         * sysdeps/x86_64/configure: Likewise.
65581 2013-03-20  Roland McGrath  <roland@hack.frob.com>
65583         [BZ #14812]
65584         * locale/programs/localedef.c (options): Put N_ translation marker
65585         on argument names, not just descriptions.
65587 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65589         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
65591 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
65593         [BZ #14176]
65594         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
65596 2013-03-19  Roland McGrath  <roland@hack.frob.com>
65598         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
65599         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
65600         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
65601         [!BEFORE_ABORT] (before_abort): New function.
65602         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
65603         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
65604         (writev_for_fatal): New function.
65605         (WRITEV_FOR_FATAL): New macro; call that.
65606         (backtrace_and_maps): New function.
65607         (BEFORE_ABORT): New macro; call that.
65608         (struct str_list): Type removed.
65609         (__libc_message, __libc_fatal): Functions removed.
65610         Include <sysdeps/posix/libc_fatal.c> instead.
65612 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
65614         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
65615         constants.
65616         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
65617         double constants.
65619 2013-03-19  Andreas Schwab  <schwab@suse.de>
65621         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
65622         * sysdeps/gnu/configure: Regenerate.
65624         * configure.in: Substitute libc_cv_rtlddir.
65625         * configure: Regenerate.
65626         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65627         * Makeconfig (rtlddir, inst_rtlddir): New variables.
65628         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65629         * elf/Makefile (install-others, CFLAGS-interp.c)
65630         (ldso_install, common-ldd-rewrite): Likewise.
65631         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65632         $(inst_slibdir)/$(rtld-installed-name).
65633         * scripts/rellns-sh: Add -p option.
65634         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65635         for source.
65637 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65639         * manual/nptl.texi: Renamed to ...
65640         * manual/threads.texi: ... this.
65641         * manual/Makefile (chapters): Update.
65643 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65645         [BZ #14812]
65646         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65647         on argument names, not just descriptions.
65648         * malloc/memusagestat.c (options): Likewise.
65649         * nss/getent.c (options): Likewise.
65651 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65653         [BZ #14812]
65654         * iconv/iconv_prog.c (options): Put N_ translation marker
65655         on argument names, not just descriptions.
65656         * iconv/iconvconfig.c (options): Likewise.
65658 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65660         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65661         implementation which is faster on all x86_64 architectures.
65662         Tested on AMD, Intel Nehalem, SNB, IVB.
65663         * sysdeps/x86_64/strnlen.S: Likewise.
65665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65666         Remove all multiarch strlen and strnlen versions.
65667         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65668         Remove strlen and strnlen related parts.
65670         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65671         Inline strlen part.
65672         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65674         * sysdeps/x86_64/multiarch/strlen.S: Remove.
65675         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65676         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65677         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65678         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65679         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65681 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
65683         * manual/memory.texi (Malloc Tunable Parameters):
65684         Sort parameters alphabetically. Add comments for missing entries.
65686 2013-03-17  David S. Miller  <davem@davemloft.net>
65688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65690 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
65692         [BZ #15283]
65693         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
65694         for arguments at most half maximum finite value.
65695         * math/libm-test.inc (j0_test): Add more tests.
65696         (j1_test): Likewise.
65697         (y0_test): Likewise.
65698         (y1_test): Likewise.
65699         * sysdeps/i386/fpu/libm-test-ulps: Update.
65700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65702         [BZ #14155]
65703         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
65704         1 / x and functions P and Q for arguments above 0x1p256L.
65705         (__ieee754_y0l): Likewise.
65706         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
65707         (__ieee754_y1l): Likewise.
65708         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
65709         (j1_test): Likewise.
65710         (y0_test): Likewise.
65711         (y1_test): Likewise.
65713 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
65715         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
65716         variable.
65718 2013-03-15  Roland McGrath  <roland@hack.frob.com>
65720         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
65721         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
65722         zero since it's initialized to EXEC_PAGESIZE.
65724         * sysdeps/unix/sysv/linux/ldsodefs.h
65725         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
65726         * sysdeps/generic/ldsodefs.h: ... here.
65728 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
65730         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
65732         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
65733         math/test-snan.c.
65734         * math/test-snan.c: Renamed from
65735         sysdeps/powerpc/fpu/test-powerpc-snan.c.
65736         * math/Makefile (tests): Add test-snan.
65737         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
65738         test-powerpc-snan.
65740         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
65741         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
65742         functions.
65743         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
65744         __builtin_nan family of functions.
65745         * math/libm-test.inc (initialize): Initialize qnan_value with
65746         __builtin_nan family of functions.
65747         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
65748         Remove variables.
65749         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
65750         Remove functions.
65751         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
65752         storage class.  Initialize qNaN_var and sNaN_var with
65753         __builtin_nan and __builtin_nans families of functions,
65754         respectively.
65756         * math/libm-test.inc (acosh_test): Also test with qNaN input.
65757         (sqrt_test): Remove duplicate test with qNaN input.
65758         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
65759         (round_test, signbit_test, significand_test): Note missing +/-Inf
65760         as well as qNaN tests.
65762         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
65763         qNaN_var.  Fix a few strings, too.
65764         * math/libm-test.inc (nan_value): Rename to qnan_value.
65765         * math/gen-libm-test.pl (%beautify): Adjust to that.
65766         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
65767         * math/test-misc.c (main): Likewise.
65768         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
65769         to __qnan_bytes, and __qnan_union, respectively.
65770         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
65771         Likewise.
65772         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
65773         and lqnanval, respectively.
65774         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
65775         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
65776         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
65777         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
65779         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
65780         * math/test-misc.c (main) [__x86_64__]: Enable test for long
65781         doubles.
65783         * math/test-misc.c (main): Fix copy'n'pastos.
65784         * misc/tst-efgcvt.c (special): Likewise.
65786         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
65787         Remove declarations.
65789 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65791         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
65792         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
65793         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
65794         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
65796 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65798         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
65799         macro to return vdso values correctly in IFUNC implementations.
65800         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
65801         Optimization by using IFUNC.
65803 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65804             Richard Henderson  <rth@redhat.com>
65805             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65807         * Makefile.in (bench): New target.
65808         * NEWS: Mention the benchmark framework.
65809         * Rules (bench): Likewise.
65810         (binaries-bench): Generate binaries for functions to
65811         benchmark.
65812         * benchtests/Makefile: New makefile for benchmark tests.
65813         * benchtests/bench-skeleton.c: New skeleton file for benchmark
65814         programs.
65815         * benchtests/exp-inputs: New input file for EXP function.
65816         * benchtests/pow-inputs: New input file for POW function.
65817         * scripts/bench.pl: New script to generate source files for
65818         benchmark programs.
65820 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65822         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65823         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
65824         computations on mantissa.  Use macros for rounding and
65825         division.
65826         (denorm): Likewise.
65827         (__dbl_mp): Likewise.
65828         (add_magnitudes): Likewise.
65829         (sub_magnitudes): Likewise.
65830         (__mul): Likewise.
65831         (__sqr): Likewise.
65832         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65833         powers of two in terms of TWOPOW macro.
65834         (mp_no): Make type of mantissa as MANTISSA_T.
65835         [!RADIXI]: Define RADIXI.
65836         [!TWO52]: Define TWO52.
65837         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65839         * manual/nptl.texi (cindex): Modify threads to pthreads.
65841 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
65843         * sysdeps/x86_64/preconfigure: Regenerated.
65845 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
65847         [BZ #14155]
65848         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
65849         0x1p28 and above.
65850         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
65851         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
65852         0x1p28 and above.
65853         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
65854         * math/libm-test.inc (j0_test): Do not allow one spurious
65855         underflow exception.
65856         (y1_test): Likewise.
65858 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65860         * manual/Makefile (chapters): Add nptl.
65861         * manual/debug.texi (Debugging Support): Add link to Threads
65862         chapter.
65863         * manual/nptl.texi: New file.
65865         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
65867 2013-03-14  Petr Baudis  <pasky@ucw.cz>
65869         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
65870         for non-NULL pointer before the memory validity test. Pointed
65871         out by Holger Brunck <holger.brunck@keymile.com>.
65873 2013-03-13  Andreas Schwab  <schwab@suse.de>
65875         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
65876         instead of .os.
65878 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
65880         * timezone/zic.c: Update from tzcode 2013b.
65882 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
65884         * manual/install.texi (Configuring and compiling):
65885         Mention i686 and i586.
65886         * INSTALL: Regenerate.
65888 2013-03-12  Roland McGrath  <roland@hack.frob.com>
65890         * sysdeps/init_array/elf-init.c: New file.
65891         * csu/elf-init.c
65892         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
65893         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
65895         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
65896         __gmon_start__ as global, but as static with a .preinit_array pointer.
65897         * sysdeps/init_array/gmon-start.c: New file.  Use that.
65898         * sysdeps/init_array/crti.S: New file, empty except for comments.
65899         * sysdeps/init_array/crtn.S: Likewise.
65901 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
65903         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
65904         definining bcopy.
65905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65906         Remove Prefer_SSE_for_memop.
65907         * sysdeps/x86_64/multiarch/init-arch.h: Remove
65908         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
65909         HAS_PREFER_SSE_FOR_MEMOP.
65910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
65911         memset-x86-64.
65912         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65913         Remove bzero, memset ifunc support.
65914         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
65915         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
65916         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65917         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65919 2013-03-11  Andreas Schwab  <schwab@suse.de>
65921         [BZ #15234]
65922         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
65923         by SHLIB_COMPAT.
65924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
65925         (GLIBC_2.16): Remove pthread_atfork.
65927 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
65929         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
65930         (ptestcases.h): Likewise.
65932 2013-03-08  Roland McGrath  <roland@hack.frob.com>
65934         * Makeconfig ($(common-objpfx)config.status): Depend on
65935         sysdeps/*/preconfigure{,.in} too.
65937 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
65939         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
65940         (__free_hook): Use void * instead of __malloc_ptr_t.
65941         (__malloc_hook): Likewise.
65942         (__realloc_hook): Likewise.
65943         (__memalign_hook): Likewise.
65944         (__after_morecore_hook): Likewise.
65945         * malloc/arena.c (save_malloc_hook): Likewise.
65946         (save_free_hook): Likewise.
65947         * malloc/hooks.c (malloc_hook_ini): Likewise.
65948         (realloc_hook_ini): Likewise.
65949         (memalign_hook_ini): Likewise.
65950         * malloc/malloc.c (malloc_hook_ini): Likewise.
65951         (realloc_hook_ini): Likewise.
65952         (memalign_hook_ini): Likewise.
65953         (__free_hook): Likewise.
65954         (__malloc_hook): Likewise.
65955         (__realloc_hook): Likewise.
65956         (__memalign_hook): Likewise.
65957         (__libc_malloc): Likewise.
65958         (__libc_free): Likewise.
65959         (__libc_realloc): Likewise.
65960         (__libc_memalign): Likewise.
65961         (__libc_valloc): Likewise.
65962         (__libc_pvalloc): Likewise.
65963         (__libc_calloc): Likewise.
65964         (__posix_memalign): Likewise.
65965         * malloc/morecore.c (__sbrk): Likewise.
65966         (__default_morecore): Likewise.
65968         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
65970         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
65971         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
65972         __malloc_ptrdiff_t.
65974         * malloc/malloc.h (__malloc_size_t): Remove macro.
65975         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
65976         __malloc_size_t.
65977         (old_memalign_hook): Likewise.
65978         (old_realloc_hook): Likewise.
65979         (struct hdr): Likewise.
65980         (flood): Likewise.
65981         (mallochook): Likewise.
65982         (memalignhook): Likewise.
65983         (reallochook): Likewise.
65984         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
65985         (tr_old_realloc_hook): Likewise.
65986         (tr_old_memalign_hook): Likewise.
65987         (tr_mallochook): Likewise.
65988         (tr_reallochook): Likewise.
65989         (tr_memalignhook): Likewise.
65991 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65993         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
65994         default_ldbl_pack and using as default implementation.
65995         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
65996         implementation.
65997         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
65998         redundant definition.
65999         (ldbl_insert_mantissa): Likewise.
66000         (ldbl_canonicalize): Likewise.
66001         (ldbl_nearbyint): Likewise.
66002         (ldbl_pack): Rename to ldbl_pack_ppc.
66003         (ldbl_unpack): Rename to ldbl_unpack_ppc.
66004         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66005         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66007 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66010         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66011         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66012         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66014         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66015         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66016         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66018 2013-03-07  Andreas Jaeger  <aj@suse.de>
66020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66021         bits/mman-linux.h.
66023 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66025         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66026         Include mpa.h and declare __MPEXP.
66027         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66028         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66029         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66030         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66031         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66032         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66033         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66035         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66036         (__slowpow): Use long double EXPL and LOGL functions to
66037         compute POW.
66038         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66039         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66040         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66041         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66042         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66043         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66046         intermediate variable to calculate exponent.
66047         (__sqr): Likewise.
66048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66049         Likewise.
66050         (__sqr): Likewise.
66052         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66053         [!NO__SQR]: Define __sqr.
66054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66055         and NO__SQR.  Remove all code except __mul and __sqr.  Include
66056         sysdeps/ieee754/dbl-64/mpa.c.
66057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66059         [BZ #12723]
66060         * posix/Makefile (tests): Add tst-pathconf.
66061         * posix/tst-pathconf.c: New test case.
66062         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66063         _PC_PIPE_BUF.
66064         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66066 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66068         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66070 2013-03-06  Andreas Jaeger  <aj@suse.de>
66072         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66073         definition via __MAP_ANONYMOUS.
66075         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66076         it's not part of Linux headers.
66078         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66079         (MAP_HUGE_MASK): Define.
66081         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66082         Define.
66083         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66084         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66085         Define.
66086         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66087         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66088         Define.
66089         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66090         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66091         Define.
66092         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66094         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66095         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66096         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66097         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66098         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66099         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66101         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66102         Handle f2fs.
66104         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66105         Handle f2fs and efivarfs.
66107         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66108         f2fs.
66110         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66111         (EFIVARFS_MAGIC): Add.
66112         (F2FS_LINK_MAX): Add.
66114 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66116         * stdio-common/vfprintf.c: Replace __builtin_expect with
66117         __glibc_unlikely.
66119 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66121         [BZ #13550]
66122         * sysdeps/generic/bp-sym.h: Remove file.
66123         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66124         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66125         <bp-sym.h> and <bp-asm.h>.
66126         (__longjmp): Don't use BP_SYM.
66127         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66128         and <bp-asm.h>.
66129         (memcpy): Don't use BP_SYM.
66130         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66131         <bp-sym.h> and <bp-asm.h>.
66132         (memcpy): Don't use BP_SYM.
66133         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66134         <bp-asm.h>.
66135         (memcpy): Don't use BP_SYM.
66136         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66137         <bp-asm.h>.
66138         (memset): Don't use BP_SYM.
66139         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66140         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66141         (__bzero): Don't use BP_SYM.
66142         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66143         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66144         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66145         <bp-sym.h> and <bp-asm.h>.
66146         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66147         pointers.
66148         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66149         <bp-sym.h> and <bp-asm.h>.
66150         (memcpy): Don't use BP_SYM.
66151         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66152         <bp-sym.h> and <bp-asm.h>.
66153         (memset): Don't use BP_SYM.
66154         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66155         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66156         (__bzero): Don't use BP_SYM.
66157         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66158         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66159         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66160         <bp-sym.h> and <bp-asm.h>.
66161         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66162         pointers.
66163         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66164         <bp-sym.h> and <bp-asm.h>.
66165         (memcpy): Don't use BP_SYM.
66166         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66167         <bp-sym.h> and <bp-asm.h>.
66168         (memset): Don't use BP_SYM.
66169         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66170         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66171         (__bzero): Don't use BP_SYM.
66172         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66173         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66174         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66175         <bp-sym.h> and <bp-asm.h>.
66176         (__memchr): Don't use BP_SYM.
66177         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66178         <bp-sym.h> and <bp-asm.h>.
66179         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66180         pointers.
66181         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66182         <bp-sym.h> and <bp-asm.h>.
66183         (memcpy): Don't use BP_SYM.
66184         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66185         <bp-sym.h> and <bp-asm.h>.
66186         (__mempcpy): Don't use BP_SYM.
66187         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66188         <bp-sym.h> and <bp-asm.h>.
66189         (__memrchr): Don't use BP_SYM.
66190         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66191         <bp-sym.h> and <bp-asm.h>.
66192         (memset): Don't use BP_SYM.
66193         (__bzero): Likewise.
66194         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66195         <bp-sym.h> and <bp-asm.h>.
66196         (__rawmemchr): Don't use BP_SYM.
66197         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66198         <bp-sym.h> and <bp-asm.h>.
66199         (__STRCMP): Don't use BP_SYM.
66200         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66201         <bp-sym.h> and <bp-asm.h>.
66202         (strchr): Don't use BP_SYM.
66203         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66204         <bp-sym.h> and <bp-asm.h>.
66205         (__strchrnul): Don't use BP_SYM.
66206         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66207         <bp-sym.h> and <bp-asm.h>.
66208         (strlen): Don't use BP_SYM.
66209         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66210         <bp-sym.h> and <bp-asm.h>.
66211         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66212         pointers.
66213         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66214         <bp-sym.h> and <bp-asm.h>.
66215         (__strnlen): Don't use BP_SYM.
66216         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66217         <bp-sym.h> and <bp-asm.h>.
66218         (__GI__setjmp): Don't use BP_SYM.
66219         (_setjmp): Likewise.
66220         (__sigsetjmp): Likewise.
66221         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66222         (L(start_addresses)): Don't use BP_SYM.
66223         (_start): Likewise.
66224         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66225         <bp-asm.h>.
66226         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66227         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66228         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66229         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66230         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66231         <bp-asm.h>.
66232         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66233         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
66234         about bounded pointers.
66235         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66236         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66237         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66238         <bp-asm.h>.
66239         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66240         about bounded pointers.  Remove GKM FIXME comments.
66241         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66242         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66243         <bp-asm.h>.
66244         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66245         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
66246         Remove GKM FIXME comments.
66247         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66248         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66249         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66250         <bp-asm.h>.
66251         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66252         about bounded pointers.  Remove GKM FIXME comment.
66253         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66254         and <bp-asm.h>.
66255         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66256         pointers.
66257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66258         <bp-sym.h> and <bp-asm.h>.
66259         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66261         <bp-sym.h> and <bp-asm.h>.
66262         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66263         comment.
66265 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66267         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66268         call free(NULL).
66270 2013-03-05  David S. Miller  <davem@davemloft.net>
66272         * po/es.po: Update from translation team.
66274 2013-03-05  Andreas Jaeger  <aj@suse.de>
66276         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66277         <bits/mman-linux.h>.
66278         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66279         is fine.
66280         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66281         <bits/mman-linux.h> to end of file.
66282         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66283         is fine.
66284         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66285         <bits/mman-linux.h> to end of file.
66286         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66287         is fine.
66288         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66289         <bits/mman-linux.h> to end of file.
66291         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
66292         (MCL_CURRENT, MCL_FUTURE): Define here.
66294 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66296         [BZ #15232]
66297         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
66298         attribute_hidden.
66299         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66301 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66303         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
66304         fourth parameter needed for rt_sigprocmask syscall.
66305         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
66306         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66307         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
66308         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66309         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66310         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
66312 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
66314         [BZ #13550]
66315         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
66316         comment about bounded pointers.
66317         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
66318         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
66320 2013-03-04  Andreas Jaeger  <aj@suse.de>
66322         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
66323         common definitions.
66325         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
66326         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
66327         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
66328         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66329         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66330         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66332 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66334         [BZ #15055]
66335         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66336         __ieee754_sqrl instead of __sqrl.
66338 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
66340         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
66341         * sysdeps/powerpc/fpu_control.h: ... here.
66342         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
66343         * sysdeps/powerpc/bits/fenvinline.h: ... here.
66344         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
66345         * sysdeps/powerpc/bits/mathinline.h: ... here.
66347 2013-03-01  Roland McGrath  <roland@hack.frob.com>
66349         * elf/dl-hwcaps.c (_dl_important_hwcaps):
66350         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
66351         to just [NEED_DL_SYSINFO_DSO].
66352         * elf/dl-support.c: Likewise.
66353         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
66354         * elf/rtld.c (dl_main): Likewise.
66355         * elf/setup-vdso.h (setup_vdso): Likewise.
66356         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
66357         * sysdeps/unix/sysv/linux/dl-sysdep.c
66358         (_dl_discover_osversion): Likewise.
66360 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
66362         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
66363         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66365 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
66367         * NEWS: Mention libm performance improvements and non-x86 PI
66368         futex support.
66370         * csu/libc-start.c (__pthread_initialize_minimal): Change
66371         function arguments.
66372         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66374 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
66376         [BZ #13550]
66377         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
66378         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
66379         <bp-sym.h> and <bp-asm.h>.
66380         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66381         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
66382         and <bp-asm.h>.
66383         (memcpy): Don't use BP_SYM.
66384         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
66385         <bp-asm.h>.
66386         (__mpn_add_n): Don't use BP_SYM.
66387         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
66388         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
66389         and <bp-asm.h>.
66390         (__mpn_addmul_1): Don't use BP_SYM.
66391         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66392         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
66393         <bp-sym.h>.
66394         (_setjmp): Don't use BP_SYM.
66395         (__novmx_setjmp): Likewise.
66396         (__GI__setjmp): Likewise.
66397         (__vmx_setjmp): Likewise.
66398         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
66399         <bp-sym.h>.
66400         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
66401         (__bzero): Don't use BP_SYM.
66402         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66403         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66404         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
66405         <bp-sym.h> and <bp-asm.h>.
66406         (memcpy): Don't use BP_SYM.
66407         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
66408         <bp-sym.h> and <bp-asm.h>.
66409         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66410         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
66411         <bp-sym.h> and <bp-asm.h>.
66412         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66413         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
66414         <bp-asm.h>.
66415         (__mpn_lshift): Don't use BP_SYM.
66416         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66417         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
66418         <bp-asm.h>.
66419         (memset): Don't use BP_SYM.
66420         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66421         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66422         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
66423         <bp-asm.h>.
66424         (__mpn_mul_1): Don't use BP_SYM.
66425         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66426         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
66427         <bp-sym.h> and <bp-asm.h>.
66428         (memcmp): Don't use BP_SYM.
66429         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
66430         <bp-sym.h> and <bp-asm.h>.
66431         (memcpy): Don't use BP_SYM.
66432         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
66433         <bp-sym.h> and <bp-asm.h>.
66434         (memset): Don't use BP_SYM.
66435         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
66436         <bp-sym.h> and <bp-asm.h>.
66437         (strncmp): Don't use BP_SYM.
66438         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
66439         <bp-sym.h> and <bp-asm.h>.
66440         (memcpy): Don't use BP_SYM.
66441         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
66442         <bp-sym.h> and <bp-asm.h>.
66443         (memset): Don't use BP_SYM.
66444         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
66445         <bp-sym.h> and <bp-asm.h>.
66446         (__memchr): Don't use BP_SYM.
66447         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
66448         <bp-sym.h> and <bp-asm.h>.
66449         (memcmp): Don't use BP_SYM.
66450         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
66451         <bp-sym.h> and <bp-asm.h>.
66452         (memcpy): Don't use BP_SYM.
66453         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
66454         <bp-sym.h> and <bp-asm.h>.
66455         (__mempcpy): Don't use BP_SYM.
66456         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
66457         <bp-sym.h> and <bp-asm.h>.
66458         (__memrchr): Don't use BP_SYM.
66459         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
66460         <bp-sym.h> and <bp-asm.h>.
66461         (memset): Don't use BP_SYM.
66462         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
66463         <bp-sym.h> and <bp-asm.h>.
66464         (__rawmemchr): Don't use BP_SYM.
66465         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
66466         <bp-sym.h> and <bp-asm.h>.
66467         (__STRCMP): Don't use BP_SYM.
66468         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
66469         <bp-sym.h> and <bp-asm.h>.
66470         (strchr): Don't use BP_SYM.
66471         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
66472         <bp-sym.h> and <bp-asm.h>.
66473         (__strchrnul): Don't use BP_SYM.
66474         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
66475         <bp-sym.h> and <bp-asm.h>.
66476         (strlen): Don't use BP_SYM.
66477         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
66478         <bp-sym.h> and <bp-asm.h>.
66479         (strncmp): Don't use BP_SYM.
66480         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
66481         <bp-sym.h> and <bp-asm.h>.
66482         (__strnlen): Don't use BP_SYM.
66483         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
66484         <bp-asm.h>.
66485         (__mpn_rshift): Don't use BP_SYM.
66486         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66487         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
66488         <bp-sym.h> and <bp-asm.h>.
66489         (__sigsetjmp): Don't use BP_SYM.
66490         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
66491         (L(start_addresses)): Don't use BP_SYM.
66492         (_start): Likewise.
66493         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
66494         <bp-asm.h>.
66495         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
66496         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66497         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66498         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
66499         <bp-asm.h>.
66500         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
66501         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66502         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66503         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
66504         <bp-asm.h>.
66505         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66506         comments.
66507         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66508         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
66509         <bp-asm.h>.
66510         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
66511         FIXME comments.
66512         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66513         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66514         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
66515         <bp-asm.h>.
66516         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66517         comment.
66518         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
66519         and <bp-asm.h>.
66520         (strncmp): Don't use BP_SYM,
66521         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
66522         <bp-asm.h>.
66523         (__mpn_sub_n): Don't use BP_SYM.
66524         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66525         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
66526         and <bp-asm.h>.
66527         (__mpn_submul_1): Don't use BP_SYM.
66528         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
66530         <bp-sym.h> and <bp-asm.h>.
66531         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
66533         <bp-sym.h> and <bp-asm.h>.
66534         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66535         comment.
66537 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
66540         Use ZK to minimize writes to Z.
66541         (sub_magnitudes): Simplify code a bit.
66542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
66543         Use ZK to minimize writes to Z.
66544         (sub_magnitudes): Simplify code a bit.
66546 2013-02-27  Roland McGrath  <roland@hack.frob.com>
66548         * csu/gmon-start.c: Add special exception to license text.
66550 2013-02-27  Richard Henderson  <rth@redhat.com>
66552         * scripts/config.guess: Update from config.git.
66553         * scripts/config.sub: Likewise.
66555 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66557         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
66559         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
66561         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
66563         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
66565         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
66567 2013-02-26  Roland McGrath  <roland@hack.frob.com>
66569         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
66570         [$(build-shared = yes].
66572 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66574         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
66575         (__mul): Reduce iterations for calculating mantissa.
66577         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
66578         MPTWO.
66579         (__mpranred): Likewise.
66581         [BZ #15160]
66582         * malloc/memusagestat.c (main): Draw graphs for heap and stack
66583         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
66585 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
66587         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
66588         Define __attribute__.
66590 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66592         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
66593         unused.
66594         * posix/regex_internal.h (__attribute): Remove.
66595         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
66596         (re_string_context_at): Likewise.
66597         (bitset_not): Use __attribute__ and mark function as possibly
66598         unused.
66599         (bitset_merge): Likewise.
66600         (bitset_mask): Likewise.
66601         (re_string_char_size_at): Likewise.
66602         (re_string_wchar_at): Likewise.
66603         (re_string_elem_size_at): Likewise.
66605 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66607         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66608         code.
66609         (cc32): Likewise.
66611         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
66612         (__acr): Likewise.
66613         (__cpy): Likewise.
66614         (norm): Likewise.
66615         (denorm): Likewise.
66616         (__dbl_mp): Likewise.
66617         (add_magnitudes): Likewise.
66618         (sub_magnitudes): Likewise.
66619         (__mul): Likewise.
66620         (__inv): Likewise.
66622         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66623         style.
66625         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66626         style.
66628         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66629         code.
66631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66632         up changes with default code.
66633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66634         Likewise.
66636 2013-02-24  Allan McRae  <allan@archlinux.org>
66638         * manual/socket.texi (The Internet Namespace): Order menu items
66639         to match that in the file.
66641         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66642         node listing of the info page menu.
66644 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66646         [BZ #13550]
66647         * sysdeps/i386/bp-asm.h: Remove file.
66648         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66649         (PARMS): Do not use macros from bp-asm.h.
66650         (S1): Likewise.
66651         (S2): Likewise.
66652         (SIZE): Likewise.
66653         (__mpn_add_n): Do not use BP_SYM
66654         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66655         "bp-asm.h".
66656         (PARMS): Do not use macros from bp-asm.h.
66657         (S1): Likewise.
66658         (SIZE): Likewise.
66659         (__mpn_addmul_1): Do not use BP_SYM
66660         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66661         "bp-asm.h".
66662         (PARMS): Do not use macros from bp-asm.h.
66663         (SIGMSK): Likewise.
66664         (_setjmp): Likewise.  Do not use BP_SYM.
66665         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66666         "bp-asm.h".
66667         (PARMS): Do not use macros from bp-asm.h.
66668         (SIGMSK): Likewise.
66669         (setjmp): Likewise.  Do not use BP_SYM.
66670         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66671         "bp-asm.h".
66672         (PARMS): Do not use macros from bp-asm.h.
66673         (__frexp): Do not use BP_SYM.
66674         (frexp): Likewise.
66675         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66676         "bp-asm.h".
66677         (PARMS): Do not use macros from bp-asm.h.
66678         (__frexpf): Do not use BP_SYM.
66679         (frexpf): Likewise.
66680         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66681         "bp-asm.h".
66682         (PARMS): Do not use macros from bp-asm.h.
66683         (__frexpl): Do not use BP_SYM.
66684         (frexpl): Likewise.
66685         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
66686         "bp-asm.h".
66687         (PARMS): Do not use macros from bp-asm.h.
66688         (__remquo): Do not use BP_SYM.
66689         (remquo): Likewise.
66690         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66691         "bp-asm.h".
66692         (PARMS): Do not use macros from bp-asm.h.
66693         (__remquof): Do not use BP_SYM.
66694         (remquof): Likewise.
66695         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
66696         "bp-asm.h".
66697         (PARMS): Do not use macros from bp-asm.h.
66698         (__remquol): Do not use BP_SYM.
66699         (remquol): Likewise.
66700         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66701         "bp-asm.h".
66702         (PARMS): Do not use macros from bp-asm.h.
66703         (DEST): Likewise.
66704         (SRC): Likewise.
66705         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
66706         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
66707         "bp-asm.h".
66708         (PARMS): Do not use macros from bp-asm.h.
66709         (strlen): Do not use BP_SYM.
66710         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
66711         "bp-asm.h".
66712         (PARMS): Do not use macros from bp-asm.h.
66713         (S1): Likewise.
66714         (S2): Likewise.
66715         (SIZE): Likewise.
66716         (__mpn_add_n): Do not use BP_SYM.
66717         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
66718         "bp-asm.h".
66719         (PARMS): Do not use macros from bp-asm.h.
66720         (S1): Likewise.
66721         (SIZE): Likewise.
66722         (__mpn_addmul_1): Do not use BP_SYM.
66723         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
66724         weak_alias.
66725         (bzero): Likewise.
66726         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
66727         "bp-asm.h".
66728         (PARMS): Do not use macros from bp-asm.h.
66729         (S): Likewise.
66730         (SIZE): Likewise.
66731         (__mpn_lshift): Do not use BP_SYM.
66732         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
66733         "bp-asm.h".
66734         (PARMS): Do not use macros from bp-asm.h.
66735         (DEST): Likewise.
66736         (SRC): Likewise.
66737         (LEN): Likewise.
66738         (memcpy): Likewise.  Do not use BP_SYM.
66739         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
66740         libc_hidden_def and weak_alias.
66741         (mempcpy): Do not use BP_SYM in weak_alias.
66742         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
66743         "bp-asm.h".
66744         (PARMS): Do not use macros from bp-asm.h.
66745         (DEST): Likewise.
66746         (LEN): Likewise.
66747         [!BZERO_P] (CHR): Likewise.
66748         (memset): Likewise.  Do not use BP_SYM.
66749         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
66750         "bp-asm.h".
66751         (PARMS): Do not use macros from bp-asm.h.
66752         (S1): Likewise.
66753         (SIZE): Likewise.
66754         (__mpn_mul_1): Do not use BP_SYM.
66755         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
66756         "bp-asm.h".
66757         (PARMS): Do not use macros from bp-asm.h.
66758         (S): Likewise.
66759         (SIZE): Likewise.
66760         (__mpn_rshift): Do not use BP_SYM.
66761         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
66762         "bp-asm.h".
66763         (PARMS): Do not use macros from bp-asm.h.
66764         (STR): Likewise.
66765         (CHR): Likewise.
66766         (strchr): Likewise.  Do not use BP_SYM.
66767         (index): Do not use BP_SYM in weak_alias.
66768         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
66769         "bp-asm.h".
66770         (PARMS): Do not use macros from bp-asm.h.
66771         (DEST): Likewise.
66772         (SRC): Likewise.
66773         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
66774         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
66775         "bp-asm.h".
66776         (PARMS): Do not use macros from bp-asm.h.
66777         (strlen): Do not use BP_SYM.
66778         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
66779         "bp-asm.h".
66780         (PARMS): Do not use macros from bp-asm.h.
66781         (S1): Likewise.
66782         (S2): Likewise.
66783         (SIZE): Likewise.
66784         (__mpn_sub_n): Do not use BP_SYM.
66785         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
66786         "bp-asm.h".
66787         (PARMS): Do not use macros from bp-asm.h.
66788         (S1): Likewise.
66789         (SIZE): Likewise.
66790         (__mpn_submul_1): Do not use BP_SYM.
66791         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
66792         "bp-asm.h".
66793         (PARMS): Do not use macros from bp-asm.h.
66794         (S1): Likewise.
66795         (S2): Likewise.
66796         (SIZE): Likewise.
66797         (__mpn_add_n): Do not use BP_SYM.
66798         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
66799         weak_alias.
66800         (bzero): Likewise.
66801         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
66802         "bp-asm.h".
66803         (PARMS): Do not use macros from bp-asm.h.
66804         (BLK2): Likewise.
66805         (LEN): Likewise.
66806         (memcmp): Do not use BP_SYM.
66807         (bcmp): Do not use BP_SYM in weak_alias.
66808         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
66809         "bp-asm.h".
66810         (PARMS): Do not use macros from bp-asm.h.
66811         (DEST): Likewise.
66812         (SRC): Likewise.
66813         (LEN): Likewise.
66814         (memcpy): Likewise.  Do not use BP_SYM.
66815         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
66816         "bp-asm.h".
66817         (PARMS): Do not use macros from bp-asm.h.
66818         (DEST): Likewise.
66819         (SRC): Likewise.
66820         (LEN): Likewise.
66821         (memmove): Likewise.  Do not use BP_SYM.
66822         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
66823         "bp-asm.h".
66824         (PARMS): Do not use macros from bp-asm.h.
66825         (DEST): Likewise.
66826         (SRC): Likewise.
66827         (LEN): Likewise.
66828         (__mempcpy): Likewise.  Do not use BP_SYM.
66829         (mempcpy): Do not use BP_SYM in weak_alias.
66830         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
66831         "bp-asm.h".
66832         (PARMS): Do not use macros from bp-asm.h.
66833         (DEST): Likewise.
66834         (LEN): Likewise.
66835         [!BZERO_P] (CHR): Likewise.
66836         (memset): Likewise.  Do not use BP_SYM.
66837         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
66838         "bp-asm.h".
66839         (PARMS): Do not use macros from bp-asm.h.
66840         (STR2): Likewise.
66841         (strcmp): Do not use BP_SYM.
66842         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
66843         "bp-asm.h".
66844         (PARMS): Do not use macros from bp-asm.h.
66845         (STR): Likewise.
66846         (DELIM): Likewise.
66847         [USE_AS_STRTOK_R] (SAVE): Likewise.
66848         (FUNCTION): Likewise.  Do not use BP_SYM.
66849         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
66850         aliases.
66851         (strtok_r): Likewise.
66852         (__GI___strtok_r): Likewise.
66853         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66854         (PARMS): Do not use macros from bp-asm.h.
66855         (S): Likewise.
66856         (SIZE): Likewise.
66857         (__mpn_lshift): Do not use BP_SYM.
66858         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66859         (PARMS): Do not use macros from bp-asm.h.
66860         (STR): Likewise.
66861         (CHR): Likewise.
66862         (__memchr): Do not use BP_SYM.
66863         (memchr): Do not use BP_SYM in weak_alias.
66864         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66865         (PARMS): Do not use macros from bp-asm.h.
66866         (BLK2): Likewise.
66867         (LEN): Likewise.
66868         (memcmp): Do not use BP_SYM.
66869         (bcmp): Do not use BP_SYM in weak_alias.
66870         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
66871         (PARMS): Do not use macros from bp-asm.h.
66872         (S1): Likewise.
66873         (SIZE): Likewise.
66874         (__mpn_mul_1): Do not use BP_SYM.
66875         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
66876         "bp-asm.h".
66877         (PARMS): Do not use macros from bp-asm.h.
66878         (STR): Likewise.
66879         (CHR): Likewise.
66880         (__rawmemchr): Do not use BP_SYM.
66881         (rawmemchr): Do not use BP_SYM in weak_alias.
66882         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66883         (PARMS): Do not use macros from bp-asm.h.
66884         (S): Likewise.
66885         (SIZE): Likewise.
66886         (__mpn_rshift): Do not use BP_SYM.
66887         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66888         (PARMS): Do not use macros from bp-asm.h.
66889         (SIGMSK): Likewise.
66890         (__sigsetjmp): Likewise.  Do not use BP_SYM.
66891         * sysdeps/i386/start.S: Do not include "bp-sym.h".
66892         (_start): Do not use BP_SYM.
66893         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
66894         (PARMS): Do not use macros from bp-asm.h.
66895         (DEST): Likewise.
66896         (SRC): Likewise.
66897         (__stpcpy): Likewise.  Do not use BP_SYM.
66898         (stpcpy): Do not use BP_SYM in weak_alias.
66899         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
66900         "bp-asm.h".
66901         (PARMS): Do not use macros from bp-asm.h.
66902         (DEST): Likewise.
66903         (SRC): Likewise.
66904         (LEN): Likewise.
66905         (__stpncpy): Likewise.  Do not use BP_SYM.
66906         (stpncpy): Do not use BP_SYM in weak_alias.
66907         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66908         (PARMS): Do not use macros from bp-asm.h.
66909         (STR): Likewise.
66910         (CHR): Likewise.
66911         (strchr): Likewise.  Do not use BP_SYM.
66912         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
66913         "bp-asm.h".
66914         (PARMS): Do not use macros from bp-asm.h.
66915         (STR): Likewise.
66916         (CHR): Likewise.
66917         (__strchrnul): Likewise.  Do not use BP_SYM.
66918         (strchrnul): Do not use BP_SYM in weak_alias.
66919         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
66920         "bp-asm.h".
66921         (PARMS): Do not use macros from bp-asm.h.
66922         (STOP): Likewise.
66923         (strcspn): Do not use BP_SYM.
66924         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
66925         "bp-asm.h".
66926         (PARMS): Do not use macros from bp-asm.h.
66927         (STR): Likewise.
66928         (STOP): Likewise.
66929         (strpbrk): Likewise.  Do not use BP_SYM.
66930         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
66931         "bp-asm.h".
66932         (PARMS): Do not use macros from bp-asm.h.
66933         (STR): Likewise.
66934         (CHR): Likewise.
66935         (strrchr): Likewise.  Do not use BP_SYM.
66936         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
66937         (PARMS): Do not use macros from bp-asm.h.
66938         (SKIP): Likewise.
66939         (strspn): Do not use BP_SYM.
66940         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
66941         (PARMS): Do not use macros from bp-asm.h.
66942         (STR): Likewise.
66943         (DELIM): Likewise.
66944         (SAVE): Likewise.
66945         (FUNCTION): Likewise.  Do not use BP_SYM.
66946         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
66947         aliases.
66948         (strtok_r): Likewise.
66949         (__GI___strtok_r): Likewise.
66950         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66951         (PARMS): Do not use macros from bp-asm.h.
66952         (S1): Likewise.
66953         (S2): Likewise.
66954         (SIZE): Likewise.
66955         (__mpn_sub_n): Do not use BP_SYM.
66956         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
66957         "bp-asm.h".
66958         (PARMS): Do not use macros from bp-asm.h.
66959         (S1): Likewise.
66960         (SIZE): Likewise.
66961         (__mpn_submul_1): Do not use BP_SYM.
66962         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
66963         <bp-sym.h>.
66964         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
66965         and <bp-asm.h>.
66966         (PARMS): Do not use macros from bp-asm.h.
66967         (FLAGS): Likewise.
66968         (PTID): Likewise.
66969         (TLS): Likewise.
66970         (CTID): Likewise.
66971         (__clone): Do not use BP_SYM.
66972         (clone): Do not use BP_SYM in weak_alias.
66973         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
66974         and <bp-asm.h>.
66975         (PARMS): Do not use macros from bp-asm.h.
66976         (LEN): Likewise.
66977         (__mmap64): Do not use BP_SYM.
66978         (mmap64): Do not use BP_SYM in weak_alias.
66979         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66980         <bp-sym.h> and <bp-asm.h>.
66981         (PARMS): Do not use macros from bp-asm.h.
66982         (__posix_fadvise64_l64): Do not use BP_SYM.
66983         * sysdeps/unix/sysv/linux/i386/semtimedop.S
66984         (PARMS): Do not use macros from bp-asm.h.
66985         (NSOPS): Likewise.
66986         (semtimedop): Do not use BP_SYM.
66987         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
66988         and <bp-asm.h>.
66990 2013-02-21  Allan McRae  <allan@archlinux.org>
66992         * manual/message.texi (Charset conversion in gettext):
66993         Move @end statement to beginning of line.
66995 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
66998         static.
66999         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67000         Likewise.
67002         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67003         (denorm): Likewise.
67004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67007 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67009         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67010         tail-call to the resolved function if pltexit isn't needed.
67012 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67015         or Y being zero as being unlikely.
67016         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67017         Likewise.
67019 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
67021         * manual/nss.texi (System Databases and Name Service Switch):
67022         Remove frobnicate @pxref.
67024 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67026         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67027         __attribute__ ((unused)) to __attribute__ ((__unused__)).
67029 2013-02-20  Petr Machata  <pmachata@redhat.com>
67031         * elf/elf.h (R_ARM_TARGET1): New macro.
67032         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67033         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67034         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67035         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67036         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67037         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67038         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67039         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67040         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67041         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67042         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67043         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67044         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67045         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67046         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67047         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67048         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67049         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67050         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67051         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67052         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67053         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67054         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67055         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67056         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67057         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67058         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67059         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67060         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67061         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67062         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67063         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67064         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67065         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67066         (R_ARM_THM_GOT_BREL12): Likewise.
67067         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67068         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67069         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67070         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67071         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67072         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67073         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67074         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67075         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67077 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67079         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67080         __attribute_used__ to __attribute__ ((unused)).
67082 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67084         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67085         powerpc mpa.c.
67086         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67087         comment formatting.
67088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67090 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67092         [BZ #13550]
67093         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67094         Remove macro.
67095         (ENTER): Remove both macro definitions.
67096         (LEAVE): Likewise.
67097         (CHECK_BOUNDS_LOW): Likewise.
67098         (CHECK_BOUNDS_HIGH): Likewise.
67099         (CHECK_BOUNDS_BOTH): Likewise.
67100         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67101         (RETURN_BOUNDED_POINTER): Likewise.
67102         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67103         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67104         (POP_ERRNO_LOCATION_RETURN): Likewise.
67105         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67106         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67107         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67108         macros.
67109         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67110         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67111         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67112         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67113         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67114         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67115         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67116         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67117         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67118         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67119         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67120         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67121         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67122         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67123         removed macros.
67124         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67125         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67126         macros.
67127         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67128         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67129         * sysdeps/i386/i586/memset.S (memset): Likewise.
67130         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67131         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67132         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67133         macros.
67134         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67135         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67136         Change uses of L(2) to L(out).
67137         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67138         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67139         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67140         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67141         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67142         removed macros.
67143         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67144         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67145         macros.
67146         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67147         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67148         (RETURN): Do not use macro LEAVE.
67149         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67150         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67151         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67152         * sysdeps/i386/i686/memset.S (memset): Likewise.
67153         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67154         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67155         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67156         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67157         Likewise.
67158         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67159         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67160         L(1_2) and L(1_3) into L(1).
67161         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67162         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67163         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67164         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67165         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67166         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67167         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67168         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67169         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67170         macros.
67171         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67172         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67173         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67174         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67175         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67176         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67177         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67178         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67179         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67180         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67181         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67182         * sysdeps/i386/strspn.S (strspn): Likewise.
67183         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67184         conditional code.
67185         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67186         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67187         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67188         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
67189         L(1_3) into L(1_1).
67190         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67191         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67192         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67193         macros.
67194         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67196 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
67198         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67199         macro.
67201 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67203         * math/atest-exp.c (exp_mpn): Remove ROUND.
67204         * math/atest-exp2.c (exp_mpn): Likewise.
67205         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67207         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67208         * stdlib/tst-tls-atexit-lib.c: Likewise.
67209         * stdlib/tst-tls-atexit.c: Likewise.
67211 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67213         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67214         and __attribute_alloc_size__.
67216 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67218         * include/programs/xmalloc.h: Change __attribute_alloc_size to
67219         __attribute_alloc_size__.
67220         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67221         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67223 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67225         * include/programs/xmalloc.h: New file.
67226         * catgets/gencat.c: Include it.
67227         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67228         * elf/pldd.c: Likewise.
67229         * iconv/iconv_charmap.c: Likewise.
67230         * iconv/iconvconfig.c: Likewise.
67231         * iconv/strtab.c: Likewise.
67232         * locale/programs/locale.c: Likewise.
67233         * locale/programs/localedef.h: Likewise.
67234         * locale/programs/simple-hash.c: Likewise.
67235         * nscd/nscd.h: Likewise.
67236         * nss/makedb.c: Likewise.
67237         * sysdeps/generic/ldconfig.h: Likewise.
67239 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67241         * Versions.def: Add GLIBC_2.18.
67242         * include/link.h (struct link_map): New member l_tls_dtor_count.
67243         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67244         (__call_tls_dtors): Likewise.
67245         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67246         __cxa_thread_atexit_impl.
67247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67248         Likewise.
67249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67250         Likewise.
67251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67252         Likewise.
67253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67254         Likewise.
67255         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67257         Likewise.
67258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67259         Likewise.
67260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67262         Likewise.
67263         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67264         (tests): Add test case tst-tls-atexit.
67265         (modules-names): Add shared library for tst-tls-atexit.
67266         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67267         (GLIBC_PRIVATE): Add __call_tls_dtors.
67268         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67269         for libstdc++.
67270         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67271         * stdlib/tst-tls-atexit.c: New test case.
67272         * stdlib/tst-tls-atexit-lib.c: New test case.
67274         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67276         * elf/Versions (ld): Add _dl_find_dso_for_object.
67277         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67278         * elf/dl-open.c (_dl_find_dso_for_object): New function.
67279         (dl_open_worker): Use _dl_find_dso_for_object.
67280         * elf/dl-sym.c (do_sym): Likewise.
67281         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67283 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67285         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67286         Syntactic changes only.
67287         (_dl_runtime_profile): Do a tail-call to the resolved function.
67289 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
67291         [BZ #13550]
67292         * sysdeps/x86_64/bp-asm.h: Remove file.
67293         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
67294         <bp-sym.h> and <bp-asm.h>.
67295         (__clone): Do not use BP_SYM.
67296         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
67297         <bp-sym.h> and <bp-asm.h>.
67298         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67299         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
67300         "bp-asm.h".
67301         (_setjmp): Do not use BP_SYM.
67302         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
67303         "bp-asm.h".
67304         (setjmp): Do not use BP_SYM.
67305         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
67306         libc_hidden_def.
67307         (mempcpy): Do not use BP_SYM in weak_alias.
67308         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
67309         "bp-asm.h".
67310         (strchr): Do not use BP_SYM.
67311         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
67312         "bp-asm.h".
67313         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
67314         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
67315         (_start): Do not use BP_SYM.
67316         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
67317         "bp-asm.h".
67318         (strcat): Do not use BP_SYM.
67319         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
67320         "bp-asm.h".
67321         (STRCMP): Do not use BP_SYM.
67322         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
67323         "bp-asm.h".
67324         (STRCPY): Do not use BP_SYM.
67325         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
67326         "bp-asm.h".
67327         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
67328         "bp-asm.h".
67329         (FUNCTION): Do not use BP_SYM.
67330         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
67331         weak_alias.
67332         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
67334 2013-02-17  Andreas Jaeger  <aj@suse.de>
67336         * time/Versions: Sort entries.
67337         * string/Versions: Likewise.
67338         * resolv/Versions: Likewise.
67339         * posix/Versions: Likewise.
67340         * iconv/Versions: Likewise.
67341         * elf/Versions: Likewise.
67342         * wcsmbs/Versions: Likewise.
67344 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67346         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
67347         loop termination condition.
67349         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
67350         variable to calculate EZ.
67351         (__sqr): Likewise.
67353         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
67354         the lower precision input.
67356 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
67358         [BZ #13550]
67359         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
67360         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
67361         (run-via-rtld-prefix): Do not handle %-bp tests.
67362         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
67363         (all-object-suffixes): Remove .ob.
67364         (bppfx): Remove variable.
67365         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
67366         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
67367         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
67368         [$(build-bounded) = yes] (libtype.ob): Likewise.
67369         * Makerules (elide-routines.ob): Remove variable.
67370         (do-tests-clean): Do not handle *-bp.out.
67371         (common-mostlyclean): Do not handle *-bp and *-bp.out.
67372         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
67373         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
67374         (tests): Do not include $(tests-bp.out).
67375         (xtests): Do not include $(xtests-bp.out).
67376         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
67377         [$(build-bounded) = yes] ($(addprefix
67378         $(objpfx),$(binaries-bounded))): Remove rule.
67379         ($(objpfx)%-bp.out): Remove rule.
67380         * config.make.in (build-bounded): Remove variable.
67381         * crypt/Makefile [$(build-bounded) = yes]
67382         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
67383         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
67384         append to variable.
67385         [$(build-bounded) = yes] (install-lib): Likewise.
67386         [$(build-bounded) = yes] (generated): Likewise.
67387         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
67388         Remove rule.
67389         * intl/Makefile [$(build-bounded) = yes]
67390         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
67391         * math/Makefile [$(build-bounded) = yes]
67392         ($(tests:%=$(objpfx)%-bp): Likewise.
67393         * misc/Makefile [$(build-bounded) = yes]
67394         ($(objpfx)tst-tsearch-bp): Likewise.
67395         * nptl/Makeconfig (bounded-thread-library): Remove variable.
67396         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
67397         Remove dependency.
67398         * string/Makefile (o-objects.ob): Remove variable.
67399         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
67400         (CFLAGS-.ob): Remove variable.
67401         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
67402         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
67403         both definitions of variable.
67404         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
67405         (ASFLAGS-.ob): Remove variable.
67407 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
67409         [BZ #13550]
67410         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
67411         Remove __BOUNDED_POINTERS__ from condition.
67412         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
67413         * string/bits/string2.h [!__NO_STRING_INLINES &&
67414         !__BOUNDED_POINTERS__]: Likewise.
67415         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
67416         Likewise.
67417         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
67418         Remove conditional code.
67419         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
67420         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
67421         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
67422         condition.
67424         [BZ #13550]
67425         * csu/libc-start.c: Do not include <bp-sym.h>.
67426         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
67427         * elf/dl-open.c: Do not include <bp-sym.h>.
67428         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
67429         * math/fegetenv.c: Do not include <bp-sym.h>.
67430         (fegetenv): Do not use BP_SYM in versioned symbols.
67431         * nptl/sysdeps/pthread/bits/libc-lockP.h
67432         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
67433         <bp-sym.h>.
67434         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67435         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
67436         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67437         (__pthread_mutex_destroy): Likewise.
67438         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67439         (__pthread_mutex_lock): Likewise.
67440         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67441         (__pthread_mutex_trylock): Likewise.
67442         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67443         (__pthread_mutex_unlock): Likewise.
67444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67445         (__pthread_mutexattr_init): Likewise.
67446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67447         (__pthread_mutexattr_destroy): Likewise.
67448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67449         (__pthread_mutexattr_settype): Likewise.
67450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67451         (__pthread_rwlock_init): Likewise.
67452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67453         (__pthread_rwlock_destroy): Likewise.
67454         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67455         (__pthread_rwlock_rdlock): Likewise.
67456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67457         (__pthread_rwlock_tryrdlock): Likewise.
67458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67459         (__pthread_rwlock_wrlock): Likewise.
67460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67461         (__pthread_rwlock_trywrlock): Likewise.
67462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67463         (__pthread_rwlock_unlock): Likewise.
67464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67465         (__pthread_key_create): Likewise.
67466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67467         (__pthread_setspecific): Likewise.
67468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67469         (__pthread_getspecific): Likewise.
67470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
67471         Likewise.
67472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67473         (_pthread_cleanup_push_defer): Likewise.
67474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67475         (_pthread_cleanup_pop_restore): Likewise.
67476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67477         (pthread_setcancelstate): Likewise.
67478         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
67479         <bp-sym.h>.
67480         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
67481         (memchr): Do not use BP_SYM in weak_alias.
67482         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
67483         (fegetenv): Do not use BP_SYM in versioned symbols.
67484         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
67485         (fesetenv): Do not use BP_SYM in versioned symbols.
67486         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67487         (feupdateenv): Do not use BP_SYM in versioned symbols.
67488         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67489         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67490         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
67491         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
67492         (open64): Do not use BP_SYM in weak_alias.
67493         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
67494         (fegetenv): Do not use BP_SYM in versioned symbols.
67495         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
67496         (fesetenv): Do not use BP_SYM in versioned symbols.
67497         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67498         (feupdateenv): Do not use BP_SYM in versioned symbols.
67499         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
67500         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
67501         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
67502         (feraiseexcept): Do not use BP_SYM in versioned symbols.
67503         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67504         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67505         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
67506         <bp-sym.h>.
67507         (__libc_start_main): Do not use BP_SYM.
67509 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67511         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
67512         redundant return line.
67513         (norm): Likewise.
67514         (denorm): Likewise.
67515         (dbl_mp): Likewise.
67516         (sub_magnitudes): Likewise.
67517         (__add): Likewise.
67518         (__sub): Likewise.
67519         (__mul): Likewise.
67520         (__inv): Likewise.
67521         (__dvd): Likewise.
67522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
67523         (norm): Likewise.
67524         (denorm): Likewise.
67525         (dbl_mp): Likewise.
67526         (sub_magnitudes): Likewise.
67527         (__add): Likewise.
67528         (__sub): Likewise.
67529         (__mul): Likewise.
67530         (__inv): Likewise.
67531         (__dvd): Likewise.
67533         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
67534         instead of __mul.
67535         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67536         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
67537         (cc32): Likewise.
67539         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
67540         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
67541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
67542         of __mul for squares.
67543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
67544         function
67545         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
67546         Likewise.
67547         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
67548         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67550 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
67552         [BZ #13550]
67553         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
67554         code.
67555         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
67556         prototype or function definition.  Rename ubp_* variables and
67557         parameters.  Remove argv definitions conditional on
67558         [__BOUNDED_POINTERS__].
67559         * debug/backtrace.c (__backtrace): Do not use __unbounded.
67560         * elf/dl-runtime.c (_dl_fixup): Likewise.
67561         * include/set-hooks.h (RUN_HOOK): Likewise.
67562         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
67563         definition.
67564         * string/strcpy.c (strcpy): Do not use __unbounded.
67565         * sysdeps/generic/frame.h (struct layout): Likewise.
67566         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
67567         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
67568         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
67569         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
67570         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
67571         (__backtrace): Likewise.
67572         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
67573         use __ptrvalue.
67574         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
67575         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
67576         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
67577         Likewise.
67578         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
67579         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
67580         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
67581         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67582         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
67583         Do not use __unbounded.
67584         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
67585         Rename __unboundedrlimits parameter to rlimits in prototype.
67586         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
67587         Do not use __unbounded.
67588         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
67589         not use __ptrvalue.
67590         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67591         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
67592         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67593         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
67594         __ptrvalue or __unbounded.
67595         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
67596         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
67597         use __unbounded.
67598         (__new_msgctl): Do not use __ptrvalue.
67599         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
67600         __unbounded.
67601         (__libc_msgrcv): Do not use __ptrvalue.
67602         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
67603         startup_info): Do not use __unbounded.
67604         (__libc_start_main): Likewise.  Rename ubp_* variables and
67605         parameters.  Remove argv definitions conditional on
67606         [__BOUNDED_POINTERS__].
67607         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
67608         __ptrvalue.
67609         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
67610         use __unbounded.
67611         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
67612         or __ptrvalue.
67613         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
67614         use __unbounded.
67615         (__new_shmctl): Do not use __ptrvalue.
67616         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
67617         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
67618         Likewise.
67619         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
67620         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
67621         (__libc_sigaction): Likewise.
67622         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67623         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67624         Likewise.
67625         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67627 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
67629         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67631         * string/mempcpy.c: Implement by calling memcpy.
67633 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67635         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67638         evaluation.
67640         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67641         values in the mantissa.
67643         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67644         minimize writes to Z.
67645         (sub_magnitudes): Simplify code a bit.
67647 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67649         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67650         from the message.  The linker prefixes all warnings with that already.
67652 2013-02-12  Andreas Schwab  <schwab@suse.de>
67654         [BZ #15078]
67655         * posix/regexec.c (extend_buffers): Add parameter min_len.
67656         (check_matching): Pass minimum needed length.
67657         (clean_state_log_if_needed): Likewise.
67658         (get_subexp): Likewise.
67659         * posix/Makefile (tests): Add bug-regex34.
67660         (bug-regex34-ENV): Define.
67661         * posix/bug-regex34.c: New file.
67663         [BZ #11561]
67664         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67665         elements compare against the byte sequence of it, not its name.
67666         * posix/Makefile (tests): Add bug-regex35.
67667         (bug-regex35-ENV): Define.
67668         * posix/bug-regex35.c: New file.
67670 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67672         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
67673         comment.
67674         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67675         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67676         (CHECK_EOL): Add undef.
67678 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
67680         * bits/stdlib-bsearch.h: New file.
67681         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
67682         * stdlib/stdlib.h: Likewise.
67684 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67686         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
67687         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
67688         declaration.
67689         * manual/search.texi (Array Search Function): Add missing const in
67690         lfind prototype.
67691         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
67692         declaration to use rlim_t.
67693         (Basic Scheduling Functions): Remove erroneous const from
67694         sched_getparam prototype.  Remove erroneous * from
67695         sched_get_priority_max and sched_get_priority_min prototypes.
67696         (Resource Usage): Fix summary @comment on vtimes to refer to
67697         sys/vtimes.h rather than vtimes.h.
67698         Add missing *s in vtimes prototype.
67699         (Limits on Resources): Fix ulimit prototype to return long int.
67700         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
67701         prototypes to use long int rather than double.
67702         (BSD Random): Fix initstate and setstate to use char *, not void *.
67703         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
67704         prototype to make second argument 'struct aiocb64 *const[]'.
67705         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
67706         (Status of AIO Operations): Remove erroneous const in aio_return and
67707         aio_return64 prototypes.
67708         (Synchronizing I/O): Fix sync prototype to return void.
67709         * manual/startup.texi (Suboptions): Remove an erroneous const in
67710         getsubopt prototype.
67711         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
67712         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
67713         use size_t rather than int.
67714         (Scanning All Users): Likewise for getpwent_r.
67715         (Setting Groups): Add missing const to setgroups prototype.
67716         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
67717         * manual/socket.texi (Host Names): Fix gethostbyaddr and
67718         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
67719         'const void *' rather than 'const char *'.
67720         (Host Address Functions): Likewise for inet_ntop.
67721         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
67722         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
67723         ssize_t for return value.
67724         (Sending Data): Likewise for send, sendto, sendmsg.
67725         (Socket Option Functions): Add a missing const in setsockopt prototype.
67726         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
67727         use wchar_t for the argument.
67728         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
67729         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
67730         take no arguments.
67731         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
67732         double/float/long double for second argument.
67733         Fix return types of significand, significandf, significandl.
67734         * manual/filesys.texi (Setting Permissions): Use mode_t for second
67735         argument in fchmod prototype.
67736         (File Owner): Use uid_t and gid_t in fchown prototype.
67737         (File Times): Add const to utimes, futimes, and lutimes prototypes.
67738         (Making Special Files): Use mode_t and dev_t in mknod prototype.
67739         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
67740         use 'const struct dirent **' as argument types to CMP function pointer
67741         argument.
67742         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
67743         (File Times): Fix summary magic @comment for struct utimbuf and utime
67744         to refer to utime.h, not time.h.
67745         * manual/string.texi (Argz Functions): Add missing const in
67746         argz_extract and argz_next prototypes.
67747         (Finding Tokens in a String): Likewise for basename.
67748         (String/Array Comparison): Fix typo in wcscasecmp prototype.
67749         (Copying and Concatenation): Fix typo in wmemmove prototype.
67750         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
67751         (Signal Stack): Remove erroneous const in sigstack prototype.
67752         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
67753         prototype.
67754         (Simple Calendar Time): Likewise for stime.
67755         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
67756         prototype.
67757         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
67758         say sys/sysctl.h instead.
67759         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
67760         and vsyslog prototypes.
67762 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67764         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
67765         Remove.
67767 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67769         * misc/sys/mman.h: Fix typo in mremap comment.
67771 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67773         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
67774         the '\0' terminator.
67776 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67778         [BZ #13550]
67779         * debug/segfault.c: Don't include <bp-checks.h>.
67780         * sysdeps/generic/bp-checks.h: Remove file.
67781         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
67782         (__GETDENTS): Don't use CHECK_N.
67783         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
67784         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
67785         (__getgroups): Don't use CHECK_N.
67786         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
67787         (setgroups): Don't use CHECK_N.
67788         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
67789         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
67790         (__libc_msgrcv): Don't use CHECK_N.
67791         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
67792         (__libc_msgsnd): Don't use CHECK_N.
67793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
67794         <bp-checks.h>.
67795         (__libc_pread): Don't use CHECK_N.
67796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
67797         include <bp-checks.h>.
67798         (__libc_pread64): Don't use CHECK_N.
67799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
67800         include <bp-checks.h>.
67801         (__libc_pwrite): Don't use CHECK_N.
67802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
67803         include <bp-checks.h>.
67804         (__libc_pwrite64): Don't use CHECK_N.
67805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
67806         <bp-checks.h>.
67807         (__libc_pread): Don't use CHECK_N.
67808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
67809         include <bp-checks.h>.
67810         (__libc_pread64): Don't use CHECK_N.
67811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
67812         include <bp-checks.h>.
67813         (__libc_pwrite): Don't use CHECK_N.
67814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
67815         include <bp-checks.h>.
67816         (__libc_pwrite64): Don't use CHECK_N.
67817         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
67818         (do_pread): Don't use CHECK_N.
67819         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
67820         (do_pread64): Don't use CHECK_N.
67821         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
67822         (do_pwrite): Don't use CHECK_N.
67823         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
67824         (do_pwrite64): Don't use CHECK_N.
67825         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
67826         (__libc_readv): Don't use CHECK_N.
67827         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
67828         (semop): Don't use CHECK_N.
67829         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
67830         <bp-checks.h>.
67831         (semtimedop): Don't use CHECK_N.
67832         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67833         (__libc_pread): Don't use CHECK_N.
67834         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
67835         <bp-checks.h>.
67836         (__libc_pread64): Don't use CHECK_N.
67837         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
67838         <bp-checks.h>.
67839         (__libc_pwrite): Don't use CHECK_N.
67840         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
67841         <bp-checks.h>.
67842         (__libc_pwrite64): Don't use CHECK_N.
67843         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
67844         <bp-checks.h>.
67845         (__libc_msgrcv): Don't use CHECK_N.
67846         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
67847         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
67848         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
67849         (__libc_writev): Don't use CHECK_N.
67851 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67853         * string/strcpy.c: Removed unused variable.
67855         * Makeconfig (+sysdep-includes): Define with := rather than =.
67856         Use an existing include/ subdir of each sysdeps dir before it.
67858 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67860         * nscd/connection.c (register_traced_file): Comment function.
67861         [HAVE_INOTIFY] (union __inev): Define.
67862         [HAVE_INOTIFY] (inotify_check_files): New function.
67863         [HAVE_INOTIFY] (clear_db_cache): Likewise.
67864         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
67865         clear_db_cache.
67866         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
67868 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67870         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
67871         loaded if not already and that a failure is permanent.
67873 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67875         [BZ #15006]
67876         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
67877         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
67879 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67881         [BZ #13550]
67882         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
67883         (CHECK_1_NULL_OK): Likewise.
67884         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
67885         (__fxstat): Do not use CHECK_1.
67886         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
67887         <bp-checks.h>.
67888         (___fxstat64): Do not use CHECK_1.
67889         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
67890         <bp-checks.h>.
67891         (__fxstatat): Do not use CHECK_1.
67892         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
67893         <bp-checks.h>.
67894         (__fxstatat64): Do not use CHECK_1.
67895         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
67896         <bp-checks.h>.
67897         (__fxstat): Do not use CHECK_1.
67898         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
67899         <bp-checks.h>.
67900         (__fxstatat): Do not use CHECK_1.
67901         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67902         <bp-checks.h>.
67903         (__getresgid): Do not use CHECK_1.
67904         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67905         <bp-checks.h>.
67906         (__getresuid): Do not use CHECK_1.
67907         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
67908         <bp-checks.h>.
67909         (__lxstat): Do not use CHECK_1.
67910         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67911         <bp-checks.h>.
67912         (__old_msgctl): Do not use CHECK_1.
67913         (__new_msgctl): Likewise.
67914         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
67915         <bp-checks.h>.
67916         (__new_setrlimit): Do not use CHECK_1.
67917         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67918         <bp-checks.h>.
67919         (__old_shmctl): Do not use CHECK_1.
67920         (__new_shmctl): Likewise.
67921         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
67922         <bp-checks.h>.
67923         (__xstat): Do not use CHECK_1.
67924         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
67925         (__lxstat): Do not use CHECK_1.
67926         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
67927         <bp-checks.h>.
67928         (___lxstat64): Do not use CHECK_1.
67929         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
67930         (__old_msgctl): Do not use CHECK_1.
67931         (__new_msgctl): Likewise.
67932         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
67933         <bp-checks.h>.
67934         (__gettimeofday): Do not use CHECK_1.
67935         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
67936         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
67937         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
67938         <bp-checks.h>.
67939         (__gettimeofday): Do not use CHECK_1.
67940         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
67941         (__old_shmctl): Do not use CHECK_1_NULL_OK.
67942         (__new_shmctl): Do not use CHECK_1.
67943         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
67944         <bp-checks.h>.
67945         (do_sigtimedwait): Do not use CHECK_1.
67946         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
67947         <bp-checks.h>.
67948         (do_sigwaitinfo): Do not use CHECK_1.
67949         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
67950         <bp-checks.h>.
67951         (msgctl): Do not use CHECK_1.
67952         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
67953         <bp-checks.h>.
67954         (shmctl): Do not use CHECK_1.
67955         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
67956         (ustat): Do not use CHECK_1.
67957         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
67958         <bp-checks.h>.
67959         (__fxstat): Do not use CHECK_1.
67960         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
67961         <bp-checks.h>.
67962         (__fxstatat): Do not use CHECK_1.
67963         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
67964         <bp-checks.h>.
67965         (__lxstat): Do not use CHECK_1.
67966         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
67967         <bp-checks.h>.
67968         (__xstat): Do not use CHECK_1.
67969         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
67970         (__xstat): Do not use CHECK_1.
67971         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
67972         (___xstat64): Do not use CHECK_1.
67974         [BZ #13550]
67975         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
67976         definitions.
67977         (CHECK_BOUNDS_HIGH): Likewise.
67978         * string/strcpy.c: Do not include <bp-checks.h>.
67979         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
67981 2013-02-07  Roland McGrath  <roland@hack.frob.com>
67983         * nscd/nscd-client.h (__nscd_drop_map_ref):
67984         Add __attribute__ ((unused)).
67985         * nis/nss-nisplus.h (niserr2nss): Likewise.
67987         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
67988         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
67990         * csu/libc-tls.c (init_static_tls, init_slotinfo):
67991         Remove inline keyword.
67992         * include/rounding-mode.h (round_away): Likewise.
67993         * libio/wfileops.c (adjust_wide_data): Likewise.
67994         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
67995         (__m128i_strloadu_tolower): Likewise.
67996         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
67997         (__m128i_strloadu_tolower): Likewise.
67998         * time/mktime.c (ydhms_diff): Likewise.
67999         * locale/elem-hash.h (elem_hash): Likewise.
68000         * locale/setlocale.c (setdata): Likewise.
68001         * posix/regex_internal.h (re_string_char_size_at): Likewise.
68002         (re_string_wchar_at): Likewise.
68003         (bitset_not, bitset_merge, bitset_mask): Likewise.
68004         [!(__GNUC__ > 3)] (inline): Remove macro.
68005         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68006         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68007         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68008         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68009         * string/memcmp.c (memcmp_bytes): Likewise.
68010         * locale/programs/locarchive.c (compute_hashval): Likewise.
68011         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68012         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68013         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68014         * nss/getent.c (print_rpc, print_protocols): Likewise.
68015         (print_passwd, print_group, print_aliases): Likewise.
68016         * nis/nss-nisplus.h (niserr2nss): Likewise.
68017         * nscd/connections.c (restart_p): Likewise.
68018         Change return type to bool.
68020 2013-02-05  Roland McGrath  <roland@hack.frob.com>
68022         * Makeconfig (all-Depend-files): Add existing
68023         $(sorted-subdirs:=/Depend) files.
68024         (all-subdirs): Remove nss.
68025         * sysdeps/unix/inet/Subdirs: Add it here instead.
68026         * hesiod/Depend: New file.
68028         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68029         instead of calling alloca.
68031         * io/lseek.c (__lseek): Rename to __libc_lseek.
68032         Define __lseek as an alias.
68034         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68036 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
68038         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68039         else clause and remove check for non-standard endianness.
68041 2013-02-04  David S. Miller  <davem@davemloft.net>
68043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68045 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
68047         [BZ #13550]
68048         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68049         (__ubp_memchr): Remove prototype.
68050         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68051         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68052         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68053         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68054         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68055         Remove alias.
68056         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68057         (__ubp_memchr): Likewise.
68058         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68059         (__ubp_memchr): Likewise.
68060         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68061         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68062         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68063         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68064         CHECK_STRING.
68065         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68066         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68067         (__getcwd): Do not use CHECK_STRING.
68068         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68069         <bp-checks.h>.
68070         (__real_chown): Do not use CHECK_STRING.
68071         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68072         <bp-checks.h>.
68073         (fchownat): Do not use CHECK_STRING.
68074         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68075         CHECK_STRING.
68076         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68077         <bp-checks.h>.
68078         (__lchown): Do not use CHECK_STRING.
68079         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68080         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68081         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68082         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68084         include <bp-checks.h>.
68085         (truncate64): Do not use CHECK_STRING.
68086         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68087         <bp-checks.h>.
68088         (__real_chown): Do not use CHECK_STRING.
68089         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68090         <bp-checks.h>.
68091         (__lchown): Do not use CHECK_STRING.
68092         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68093         <bp-checks.h>.
68094         (__chown): Do not use CHECK_STRING.
68095         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68096         <bp-checks.h>.
68097         (truncate64): Do not use CHECK_STRING.
68098         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68099         Likewise.
68100         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68101         (__xmknod): Do not use CHECK_STRING.
68102         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68103         <bp-checks.h>.
68104         (__xmknodat): Do not use CHECK_STRING.
68105         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68106         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68108 2013-02-04  Andreas Schwab  <schwab@suse.de>
68110         [BZ #14142]
68111         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68112         * include/netdb.h: Likewise for h_errno.
68113         * elf/tst-stackguard1.c: Include <tls.h>.
68115 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68117         * elf/link.h (struct link_map): Extend the l_addr comment.
68118         * include/link.h (struct link_map): Likewise.
68120 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68122         [BZ #13550]
68123         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68124         (BOUNDED_1): Remove macro.
68125         * debug/backtrace.c: Don't include <bp-checks.h>.
68126         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68127         (__backtrace): Likewise.
68128         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68129         <bp-checks.h>.
68130         (__backtrace): Don't use BOUNDED_1.
68131         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68132         <bp-checks.h>.
68133         (__backtrace): Don't use BOUNDED_1.
68134         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68135         (__backtrace): Don't use BOUNDED_1.
68136         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68137         (shmat): Don't use BOUNDED_N.
68139 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68141         [BZ #13550]
68142         * sysdeps/generic/bp-start.h: Remove file.
68143         * csu/libc-start.c: Don't include <bp-start.h>.
68144         (LIBC_START_MAIN): Set up __environ directly instead of using
68145         INIT_ARGV_and_ENVIRON.
68146         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68147         <bp-start.h>.
68149         [BZ #13550]
68150         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68151         definitions.
68152         (CHECK_FCNTL): Likewise.
68153         (CHECK_N_PAGES): Likewise.
68155         [BZ #13550]
68156         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68157         definitions.
68158         (CHECK_SIGSET_NULL_OK): Likewise.
68159         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68160         <bp-checks.h>.
68161         (sigpending): Don't use CHECK_SIGSET.
68162         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68163         <bp-checks.h>.
68164         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68165         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68166         <bp-checks.h>.
68167         (do_sigsuspend): Don't use CHECK_SIGSET.
68168         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68169         use CHECK_SIGSET.
68170         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68171         (do_sigwait): Don't use CHECK_SIGSET.
68172         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68173         use CHECK_SIGSET.
68174         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68175         include <bp-checks.h>.
68176         (sigpending): Don't use CHECK_SIGSET.
68177         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68178         include <bp-checks.h>.
68179         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68180         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68181         <bp-checks.h>.
68182         (sigpending): Don't use CHECK_SIGSET.
68183         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68184         <bp-checks.h>.
68185         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68187         [BZ #13550]
68188         * sysdeps/generic/bp-semctl.h: Remove file.
68189         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68190         <bp-checks.h> and <bp-semctl.h>.
68191         (__old_semctl): Don't use CHECK_SEMCTL.
68192         (__new_semctl): Likewise.
68193         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68194         and <bp-semctl.h>.
68195         (__old_semctl): Don't use CHECK_SEMCTL.
68196         (__new_semctl): Likewise.
68197         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68198         <bp-checks.h> and <bp-semctl.h>.
68199         (__old_semctl): Don't use CHECK_SEMCTL.
68200         (__new_semctl): Likewise.
68201         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68202         <bp-checks.h> and <bp-semctl.h>.
68203         (semctl): Don't use CHECK_SEMCTL.
68205         [BZ #13550]
68206         * Makerules (elide-bp-thunks): Remove variable.
68207         (elide-routines.oS): Don't use $(elide-bp-thunks).
68208         (elide-routines.os): Likewise.
68209         (elide-routines.o): Likewise.
68210         (elide-routines.op): Likewise.
68211         (elide-routines.og): Likewise.
68212         (objects): Don't use $(bp-thunks).
68213         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68214         include.
68215         (common-generated): Do not add s-proto-bp.d.
68216         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68217         (int): Likewise.
68218         (typ): Likewise.
68219         Do not generate makefile rules for bounded-pointer thunks.
68220         * sysdeps/generic/bp-thunks.h: Remove file.
68221         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68222         * sysdeps/unix/s-proto-bp.S: Likewise.
68224         [BZ #15062]
68225         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68226         parts of result separately when argument is not close to line from
68227         -i to i and one part of argument is small.
68228         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68229         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68230         * math/libm-test.inc (cacos_test): Add more tests.
68231         (casin_test): Likewise.
68232         (casinh_test): Likewise.
68233         * sysdeps/i386/fpu/libm-test-ulps: Update.
68234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68236 2013-01-31  David S. Miller  <davem@davemloft.net>
68238         * po/de.po: Update from translation team.
68240 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
68242         * time/tzfile.c: Include stdint.h for SIZE_MAX.
68244 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
68246         * configure.in (_AC_PROG_CC_C89): New definition.
68247         * configure: Regenerate.
68249         * configure.in (AC_PROG_CPP): New definition.
68250         * configure: Regenerate.
68252 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68254         * debug/tst-backtrace.h: New file.
68255         * debug/tst-backtrace2.c: Include tst-backtrace.h.
68256         (ret): Remove variable.
68257         (x): Likewise.
68258         (FAIL): Remove macro.
68259         (NO_INLINE): Likewise.
68260         (fn1): Use match function instead of strstr.
68261         * debug/tst-backtrace3.c: Include tst-backtrace.h.
68262         (ret): Remove variable.
68263         (x): Likewise.
68264         (FAIL): Remove macro.
68265         (NO_INLINE): Likewise.
68266         (fn): Use match function instead of strstr.
68267         * debug/tst-backtrace4.c: Include tst-backtrace.h.
68268         (ret): Remove variable.
68269         (x): Likewise.
68270         (FAIL): Remove macro.
68271         (NO_INLINE): Likewise.
68272         (handle_signal): Use match function instead of strstr.
68273         * debug/tst-backtrace5.c: Include tst-backtrace.h.
68274         (ret): Remove variable.
68275         (x): Likewise.
68276         (FAIL): Remove macro.
68277         (NO_INLINE): Likewise.
68278         (handle_signal): Use match function instead of strstr.
68280 2013-01-23  Roland McGrath  <roland@hack.frob.com>
68282         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68284 2013-01-23  David S. Miller  <davem@davemloft.net>
68286         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68287         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68288         argument of CAS if possible.
68289         * sysdeps/sparc/sparc64/bits/atomic.h
68290         (__arch_compare_and_exchange_val_32_acq): Likewise.
68291         (__arch_compare_and_exchange_val_64_acq): Likewise.
68293 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
68295         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
68296         * sysdeps/posix/ulimit.c: ... this.
68297         Include <limits.h>.
68298         * sysdeps/unix/bsd/ulimit.c: Remove file.
68300 2013-01-23  Adam Conrad  <adconrad@0c3.net>
68302         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
68303         (LDFLAGS-tst-array5): Likewise.
68305 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68307         [BZ #15036]
68308         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
68309         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
68310         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
68311         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
68313 2013-01-21  David S. Miller  <davem@davemloft.net>
68315         * sysdeps/sparc/backtrace.c: New file.
68316         * sysdeps/sparc/sparc32/backtrace.h: New file.
68317         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
68318         * sysdeps/sparc/sparc64/backtrace.h: New file.
68319         * sysdeps/sparc/sparc64/backtrace.c: Delete.
68320         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
68321         -funwind-tables.
68323 2013-01-21  Andreas Schwab  <schwab@suse.de>
68325         [BZ #15020]
68326         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
68327         closed its stdout.
68329 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
68331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
68332         "mpa2.h".
68333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68335 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
68336             Mark Mitchell  <mark@codesourcery.com>
68337             Tom de Vries  <tom@codesourcery.com>
68338             Paul Pluzhnikov  <ppluzhnikov@google.com>
68340         * debug/tst-backtrace2.c: New file.
68341         * debug/tst-backtrace3.c: Likewise.
68342         * debug/tst-backtrace4.c: Likewise.
68343         * debug/tst-backtrace5.c: Likewise.
68344         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
68345         (CFLAGS-tst-backtrace3.c): Likewise.
68346         (CFLAGS-tst-backtrace4.c): Likewise.
68347         (CFLAGS-tst-backtrace5.c): Likewise.
68348         (LDFLAGS-tst-backtrace2): Likewise.
68349         (LDFLAGS-tst-backtrace3): Likewise.
68350         (LDFLAGS-tst-backtrace4): Likewise.
68351         (LDFLAGS-tst-backtrace5): Likewise.
68352         (tests): Add new tests tst-backtrace2, tst-backtrace3,
68353         tst-backtrace4 and tst-backtrace5.
68355 2013-01-18  Anton Blanchard  <anton@samba.org>
68356             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68358         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
68359         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
68360         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
68361         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
68362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68363         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
68364         "+r" and remove output regs list as redundant.  Add explicit inline
68365         asm to specify register of return val to work around compiler codegen
68366         bug.  Remove (int) cast on return value.  Add return type parameter to
68367         use in macro so that this macro does not truncate return value for
68368         64-bit values.
68369         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
68370         pass to INTERNAL_VSYSCALL_NCS.
68371         (INLINE_VSYSCALL): Add 'long int' as return type to
68372         INTERNAL_VSYSCALL_NCS macro invocation.
68373         (INTERNAL_VSYSCALL): Add 'long int' as return type to
68374         INTERNAL_VSYSCALL_NCS macro invocation.
68375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68377 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68379         [BZ #14496]
68380         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
68381         Fix application of SIMD FP exception mask.
68383         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
68384         mp_no from a power of two.
68385         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
68386         __mpexp_twomm1.  Use __pow_mp.
68388         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
68389         multiplication.
68391 2013-01-17  David S. Miller  <davem@davemloft.net>
68393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68395 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68397         [BZ #15023]
68398         * include/complex.h: Condition contents on [!_COMPLEX_H].
68399         (__kernel_casinhf): New prototype.
68400         (__kernel_casinh): Likewise.
68401         (__kernel_casinhl): Likewise.
68402         * math/Makefile (libm_calls): Add k_casinh.
68403         * math/k_casinh.c: New file.
68404         * math/k_casinhf.c: Likewise.
68405         * math/k_casinhl.c: Likewise.
68406         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
68407         finite nonzero arguments.
68408         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
68409         finite nonzero arguments.
68410         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
68411         finite nonzero arguments.
68412         * math/s_casinh.c: Do not include <float.h>.
68413         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
68414         * math/s_casinhf.c: Do not include <float.h>.
68415         (__casinhf): Move code for finite nonzero arguments to
68416         k_casinhf.c.
68417         * math/s_casinhl.c: Do not include <float.h>.
68418         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
68419         redefine.
68420         (__casinhl): Move code for finite nonzero arguments to
68421         k_casinhl.c.
68422         * math/libm-test.inc (cacos_test): Add more tests.
68423         * sysdeps/i386/fpu/libm-test-ulps: Update.
68424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68426 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
68428         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
68429         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
68430         [!HAVE_MREMAP]: Remove [defined linux] case.
68431         * malloc/arena.c: Do not include <malloc-sysdep.h>.
68433 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68435         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
68437 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
68439         * elf/elf.h (R_386_SIZE32): New relocation.
68440         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
68441         R_386_SIZE32.
68442         (elf_machine_rela): Likewise.
68443         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68444         R_X86_64_SIZE64 and R_X86_64_SIZE32.
68446 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68448         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
68449         (FP_FAST_FMA): Do not define.
68450         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
68451         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
68452         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
68453         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
68454         !_SOFT_FLOAT]: Likewise.
68455         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
68456         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
68457         value.
68458         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
68459         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
68460         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
68461         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
68462         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
68463         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
68464         file.
68466 2013-01-16  Andreas Schwab  <schwab@suse.de>
68468         [BZ #14327]
68469         * include/stdlib.h (__mktemp): Add declaration.
68470         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
68471         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
68473 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68475         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
68476         definitions.
68477         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68478         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
68479         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
68480         definitions here.
68481         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
68482         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
68483         definitions.
68484         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
68485         and ONE.
68486         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
68487         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
68488         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
68489         definitions.
68490         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
68491         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
68492         definitions.
68493         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68495         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
68497 2013-01-15  David S. Miller  <davem@davemloft.net>
68499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68500         trunc{,f} to libm-sysdep_routes.
68501         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
68503         file.
68504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
68505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
68506         file.
68507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
68508         file.
68509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
68510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
68511         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
68512         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
68513         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
68514         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
68515         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
68516         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
68518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68519         nearbyint{,f} to libm-sysdep_routes.
68520         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
68522         New file.
68523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
68524         file.
68525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
68526         New file.
68527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
68528         file.
68529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
68530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
68531         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
68532         file.
68533         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
68534         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
68535         file.
68536         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
68537         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
68538         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
68540         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
68541         libc_feholdexcept and libc_fesetenv.
68543 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
68545         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
68547 2013-01-14  David S. Miller  <davem@davemloft.net>
68549         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
68550         (SPARC_ASM_VIS2_IFUNC): Likewise.
68551         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
68552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
68553         use of 'siam' instruction.
68554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
68555         Likewise.
68556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
68557         Likewise.
68558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
68559         Likewise.
68560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
68561         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
68562         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
68563         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
68564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
68565         file.
68566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
68567         file.
68568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
68569         file.
68570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
68571         file.
68572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
68573         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
68574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
68575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
68576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
68577         new VIS2 routines.
68578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68581         Likewise.
68582         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68583         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68584         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68585         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
68587         routines to libm-sysdep_routines.
68588         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68591         fdim/fdimf to libm-sysdep_routines.
68592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
68593         file.
68594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
68595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
68596         file.
68597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
68598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
68599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
68600         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
68601         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
68602         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
68603         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
68605 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68607         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
68608         to optimize copies.
68610         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
68611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
68615         local variable MPTWO.
68616         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68617         Likewise.
68619 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68621         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
68622         GLOB_NOESCAPE.
68624 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68626         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68628 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68630         * manual/pattern.texi (glob_t): Document gl_flags.
68631         (glob64_t): Likewise.
68633 2013-01-11  David S. Miller  <davem@davemloft.net>
68635         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68636         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68637         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68638         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68639         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68640         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68641         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68642         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68643         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68644         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68645         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68646         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68647         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68649         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68650         sparc V9 rather than using V8 code.
68651         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68652         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68654         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68655         Move to...
68656         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68657         Here.
68659 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68661         [BZ #14941]
68662         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68663         not in the main loop.
68664         * configure: Regenerated.
68666 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68668         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68669         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68670         to just #else.
68671         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
68672         [!__GLIBC_HAVE_LONG_LONG] case.
68673         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68674         condition to just #else.
68675         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68676         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68677         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68678         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68679         unconditional.
68680         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68681         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68682         #elif condition to just #else.
68683         * sysdeps/unix/sysv/linux/sys/sysmacros.h
68684         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
68685         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68686         #elif condition to just #else.
68688 2013-01-11  Steve Ellcey  <sellcey@mips.com>
68690         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
68691         (EF_MIPS_ARCH_64): Fix value.
68692         (EF_MIPS_ARCH_32R2): New.
68693         (EF_MIPS_ARCH_64R2): New.
68695 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
68697         * Makeconfig (+link-pie-before-libc): New.
68698         (+link-pie-after-libc): Likewise.
68699         (+link-pie-tests): Likewise.
68700         (+link-pie): Rewritten.
68701         (link-before-libc): Remove $(config-LDFLAGS).
68702         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
68703         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
68704         (config-LDFLAGS): Renamed to ...
68705         (rtld-LDFLAGS): This.
68706         (rtld-tests-LDFLAGS): New macro.
68707         (link-libc-rpath-link): Likewise.
68708         (link-libc-tests-rpath-link): Likewise.
68709         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
68710         (link-libc): Prepand $(link-libc-rpath-link).
68711         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
68712         (test-program-prefix): New macro.
68713         (test-via-rtld-prefix): Likewise.
68714         (test-program-cmd): Likewise.
68715         (host-test-program-cmd): Likewise.
68716         * Makefile ($(common-objpfx)testrun.sh): Replace
68717         $(run-program-prefix) with $(test-program-prefix).
68718         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
68719         $(rtld-LDFLAGS).
68720         ($(common-objpfx)shlib.lds): Likewise.
68721         (build-module-helper): Likewise.
68722         ($(common-objpfx)format.lds): Likewise.
68723         * Rules (binaries-pie-tests): New.
68724         (binaries-pie-notests): Likewise.
68725         (binaries-pie): Rewritten.
68726         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
68727         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
68728         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
68729         (make-test-out): Replace $(host-built-program-cmd) with
68730         $(host-test-program-cmd).
68731         * config.make.in (build-hardcoded-path-in-tests): New variable.
68732         * configure.in (--enable-hardcoded-path-in-tests): New configure
68733         option.
68734         (hardcoded_path_in_tests): New AC_SUBST.
68735         * configure: Regenerated.
68736         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
68737         $(built-program-cmd) with $(test-program-cmd).
68738         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
68739         (test_program_cmd): This.
68740         * elf/Makefile ($(objpfx)order.out): Run test with
68741         $(test-program-prefix).
68742         ($(objpfx)order2.out): Likewise.
68743         ($(objpfx)tst-initorder.out): Likewise.
68744         ($(objpfx)tst-initorder2.out): Likewise.
68745         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
68746         $(test-program-cmd).
68747         ($(objpfx)tst-array1-static.out): Likewise.
68748         ($(objpfx)tst-array2.out): Likewise.
68749         ($(objpfx)tst-array3.out): Likewise.
68750         ($(objpfx)tst-array4.out): Likewise.
68751         ($(objpfx)tst-array5.out): Likewise.
68752         ($(objpfx)tst-array5-static.out): Likewise.
68753         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
68754         $(test-program-cmd).
68755         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
68756         $(run-program-prefix) with $(test-program-prefix).
68757         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
68758         (test_program_prefix): This.
68759         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
68760         $(run-program-prefix) with $(test-program-prefix).
68761         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68762         (test_program_prefix): This.
68763         * iconvdata/tst-tables.sh: Likewise.
68764         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
68765         $(run-program-prefix) with $(test-program-prefix).
68766         ($(objpfx)tst-translit.out): Likewise.
68767         ($(objpfx)tst-gettext2.out): Likewise.
68768         ($(objpfx)tst-gettext4.out): Likewise.
68769         ($(objpfx)tst-gettext6.out): Likewise.
68770         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
68771         (test_program_prefix): This.
68772         * intl/tst-gettext2.sh: Likewise.
68773         * intl/tst-gettext4.sh  Likewise.
68774         * intl/tst-gettext6.sh: Likewise.
68775         * intl/tst-translit.sh: Likewise.
68776         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
68777         with $(test-program-cmd).
68778         * libio/Makefile ($(objpfx)test-freopen.out): Replace
68779         $(run-program-prefix) with $(test-program-prefix).
68780         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
68781         (test_program_prefix): This.
68782         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
68783         $(run-program-prefix) with $(test-program-prefix).
68784         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
68785         (test_program_prefix): This.
68786         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
68787         * posix/Makefile ($(objpfx)globtest.out): Replace
68788         $(run-via-rtld-prefix) and $(test-wrapper) with
68789         $(test-program-prefix) and $(test-via-rtld-prefix).
68790         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
68791         $(test-program-prefix).
68792         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
68793         $(host-test-program-cmd).
68794         (tst-spawn-ARGS): Likewise.
68795         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
68796         $(test-program-prefix).
68797         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
68798         (test_via_rtld_prefix): This.
68799         (test_wrapper): Renamed to ...
68800         (test_program_prefix): This.
68801         (run_program_prefix): Replaced by test_program_prefix.
68802         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
68803         (test_program_prefix): This.
68804         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
68805         with $(host-test-program-cmd).
68806         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
68807         $(run-program-prefix) with $(test-program-prefix).
68808         ($(objpfx)tst-printf.out): Likewise.
68809         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
68810         $(test-program-cmd).
68811         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
68812         (test_program_prefix): This.
68813         * stdio-common/tst-unbputc.sh: Likewise.
68814         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
68815         $(run-program-prefix) with $(test-program-prefix).
68816         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
68817         (test_program_prefix): This.
68818         * string/Makefile ($(objpfx)tst-svc.out):  Replace
68819         $(built-program-cmd) with $(test-program-cmd).
68821 2013-01-11  Andreas Jaeger  <aj@suse.de>
68823         [BZ #15003]
68824         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
68825         value. Sync with Linux 3.7.
68827 2013-01-10  David S. Miller  <davem@davemloft.net>
68829         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
68830         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68831         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68833 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68835         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
68836         never set.
68837         * configure: Regenerated.
68839 2013-01-10  David S. Miller  <davem@davemloft.net>
68841         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68842         sparc V9 rather than using V8 code.
68843         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68844         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68846 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68848         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
68849         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
68850         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
68851         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
68852         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
68853         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
68854         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
68855         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
68856         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
68857         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
68858         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
68859         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
68860         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
68861         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
68862         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
68863         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
68864         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
68865         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
68866         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
68867         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
68868         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
68869         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
68870         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
68871         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
68872         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
68873         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
68874         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
68876 2013-01-10  David S. Miller  <davem@davemloft.net>
68878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68880 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68882         * posix/Makefile (tests-static): New variable.
68883         (tests): Add $(tests-static).
68884         (tst-exec-static-ARGS): New variable.
68885         (tst-spawn-static-ARGS): Likewise.
68886         * posix/tst-exec-static.c: New file.
68887         * posix/tst-spawn-static.c: Likewise.
68888         * posix/tst-exec.c: Support run directly.
68889         * posix/tst-spawn.c: Likewise.
68891 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
68893         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
68894         long.
68895         * math/bits/mathcalls.h (llrint): Likewise.
68896         (llround): Likewise.
68897         * stdlib/stdlib.h (struct drand48_data): Likewise.
68898         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
68899         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
68900         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
68901         Likewise.
68902         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
68903         Likewise.
68904         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
68905         (elf_greg_t): Likewise.
68906         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
68907         (__jmp_buf): Likewise.
68908         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
68909         definitions.
68910         (llrint): Likewise, for all definitions.
68911         (llrintl): Likewise.
68913         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
68914         Remove [__GNUC__] condition.
68915         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
68916         condition to just [__USE_ISOC99].
68917         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
68919 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68921         [BZ #14200]
68922         * sysdeps/unix/sysv/linux/x86/bits/environments.h
68923         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
68924         defined.
68925         (_POSIX_V6_ILP32_OFF32): Likewise.
68926         (_XBS5_ILP32_OFF32): Likewise.
68927         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
68928         (__ILP32_OFFBIG_LDFLAGS): Likewise.
68930 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68932         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
68934         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
68935         doubles __mpexp_twomm1.  Adjust usage.
68936         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
68937         Remove.
68939 2013-01-10  Andreas Schwab  <schwab@suse.de>
68941         [BZ #14964]
68942         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
68943         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
68945 2013-01-09  David S. Miller  <davem@davemloft.net>
68947         [BZ #15003]
68948         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
68949         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
68950         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
68951         (TCP_FASTOPEN): Define.
68952         (tcp_repair_opt): New structure.
68953         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
68954         enum values.
68955         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
68956         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
68957         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
68958         (tcp_cookie_transactions): New structure.
68960 2013-01-09  Anton Blanchard  <anton@samba.org>
68962         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
68963         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
68964         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
68965         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
68967 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
68969         * include/features.h (__USE_ANSI): Remove.
68971 2013-01-09  Roland McGrath  <roland@hack.frob.com>
68973         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
68975         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
68977 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
68979         * sysdeps/s390/fpu/libm-test-ulps: Update.
68981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68983         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
68984         (__acr): Likewise.
68985         (__cpy): Likewise.
68986         (norm): Likewise.
68987         (denorm): Likewise.
68988         (__mp_dbl): Likewise.
68989         (__dbl_mp): Likewise.
68990         (add_magnitudes): Likewise.
68991         (sub_magnitudes): Likewise.
68992         (__add): Likewise.
68993         (__sub): Likewise.
68994         (__mul): Likewise.
68995         (__inv): Likewise.
68996         (__dvd): Likewise.
68997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
68998         (__acr): Likewise.
68999         (__cpy): Likewise.
69000         (norm): Likewise.
69001         (denorm): Likewise.
69002         (__mp_dbl): Likewise.
69003         (__dbl_mp): Likewise.
69004         (add_magnitudes): Likewise.
69005         (sub_magnitudes): Likewise.
69006         (__add): Likewise.
69007         (__sub): Likewise.
69008         (__mul): Likewise.
69009         (__inv): Likewise.
69010         (__dvd): Likewise.
69011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69012         (__acr): Likewise.
69013         (__cpy): Likewise.
69014         (norm): Likewise.
69015         (denorm): Likewise.
69016         (__mp_dbl): Likewise.
69017         (__dbl_mp): Likewise.
69018         (add_magnitudes): Likewise.
69019         (sub_magnitudes): Likewise.
69020         (__add): Likewise.
69021         (__sub): Likewise.
69022         (__mul): Likewise.
69023         (__inv): Likewise.
69024         (__dvd): Likewise.
69026 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
69028         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69029         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69030         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69031         2 && __USE_EXTERN_INLINES]: Likewise.
69033 2013-01-08  Andreas Jaeger  <aj@suse.de>
69035         [BZ #14985]
69036         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69037         Remove.
69038         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69039         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69041 2013-01-07  Anton Blanchard  <anton@samba.org>
69043         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69044         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69045         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69046         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69047         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69048         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69049         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69050         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69052         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69053         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69054         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69055         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69056         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69057         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69058         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69059         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69060         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69061         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69062         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69063         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69064         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69065         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69066         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69067         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69068         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69069         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69070         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69071         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69072         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69073         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69075         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69076         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69077         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69078         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69079         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69080         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69081         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69082         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69083         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69084         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69085         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69087 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69089         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69090         (__MALLOC_PMT): Likewise.
69091         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69092         [__GNUC__], only on [_LIBC].
69093         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69094         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69095         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69096         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69097         forward declaration.
69098         (realloc_hook_ini): Likewise.
69099         (memalign_hook_ini): Likewise.
69100         (__libc_memalign): Do not use __MALLOC_PMT in variable
69101         declaration.
69102         (__libc_valloc): Likewise.
69103         (__libc_pvalloc): Likewise.
69104         (__libc_calloc): Likewise.
69105         (__posix_memalign): Likewise.
69107         [BZ #14996]
69108         * math/s_casinh.c: Include <float.h>.
69109         (__casinh): Do not do computation with squaring and square root
69110         for large arguments.
69111         * math/s_casinhf.c: Include <float.h>.
69112         (__casinhf): Do not do computation with squaring and square root
69113         for large arguments.
69114         * math/s_casinhl.c: Include <float.h>.
69115         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69116         (__casinhl): Do not do computation with squaring and square root
69117         for large arguments.
69118         * math/libm-test.inc (casin_test): Add more tests.
69119         (casinh_test): Likewise.
69120         * sysdeps/i386/fpu/libm-test-ulps: Update.
69121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69123 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69125         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69126         (__x86_64_raw_data_cache_size): Likewise.
69127         (__x86_64_data_cache_size_half): Likewise.
69128         (__x86_64_raw_data_cache_size_half): Likewise.
69129         (__x86_64_shared_cache_size): Likewise.
69130         (__x86_64_raw_shared_cache_size): Likewise.
69131         (__x86_64_shared_cache_size_half): Likewise.
69132         (__x86_64_raw_shared_cache_size_half): Likewise.
69133         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69134         to ...
69135         (__x86_data_cache_size): This.
69136         (__x86_64_raw_data_cache_size): Renamed to ...
69137         (__x86_raw_data_cache_size): This.
69138         (__x86_64_data_cache_size_half): Renamed to ...
69139         (__x86_data_cache_size_half): This.
69140         (__x86_64_raw_data_cache_size_half): Renamed to ...
69141         (__x86_raw_data_cache_size_half): This.
69142         (__x86_64_shared_cache_size): Renamed to ...
69143         (__x86_shared_cache_size): This.
69144         (__x86_64_raw_shared_cache_size): Renamed to ...
69145         (__x86_raw_shared_cache_size): This.
69146         (__x86_64_shared_cache_size_half): Renamed to ...
69147         (__x86_shared_cache_size_half): This.
69148         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69149         (__x86_raw_shared_cache_size_half): This.
69150         * sysdeps/x86_64/memcpy.S: Updated.
69151         * sysdeps/x86_64/memset.S: Likewise.
69152         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69153         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69154         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69156 2013-01-04  David S. Miller  <davem@davemloft.net>
69158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69160 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69162         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69163         1 to avoid redefinition warning.
69164         (__USE_GNU): Don't define.
69165         (init_signaling_nan): Protoize.
69167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69169 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69171         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69173         (__cpymn): Likewise.
69174         (norm): Remove commented code.
69175         (denorm): Likewise.
69176         (__mp_dbl): Likewise.
69177         (__inv): Likewise.
69178         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69179         (__cpymn): Likewise.
69180         (norm): Remove commented code.
69181         (denorm): Likewise.
69182         (__mp_dbl): Likewise.
69183         (__inv): Likewise.
69185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69186         mp_no value for 1.0 and 2.0.
69187         (norm): Use RADIXI instead of radixi.d.
69188         (denorm): Likewise.
69189         (__mul): Use 0.0 instead of zero.d.
69190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69191         mp_no value for 1.0 and 2.0.
69192         (norm): Use RADIXI instead of radixi.d.
69193         (denorm): Likewise.
69194         (__mul): Use 0.0 instead of zero.d.
69196 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
69198         [BZ #14994]
69199         * math/s_casinh.c (__casinh): Reduce finite argument to first
69200         quadrant then set signs of results at the end.
69201         * math/s_casinhf.c (__casinhf): Likewise.
69202         * math/s_casinhl.c (__casinhl): Likewise.
69203         * math/libm-test.inc (casin_test): Add more tests.
69204         (casinh_test): Likewise.
69205         * sysdeps/i386/fpu/libm-test-ulps: Update.
69206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69208 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69210         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69212         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69214         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69215         declarations.
69216         (denorm): Likewise.
69217         (__mp_dbl): Likewise.
69218         (__inv): Likewise.
69220         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69221         and adjust the header comment.
69223         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69224         variable name from declaration.
69226 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
69228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69229         Initialize COMMON_CPUID_INDEX_7 element.
69230         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69231         (CPUID_RTM): Likewise.
69232         (HAS_RTM): Likewise.
69233         (COMMON_CPUID_INDEX_7): New enum.
69235 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
69237         [BZ #14981]
69238         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69239         size is zero, record memory as freed.
69241 2013-01-03  Andreas Jaeger  <aj@suse.de>
69243         * po/ia.po: Add new Interlingua translation.
69245 2012-01-03  Allan McRae  <allan@archlinux.org>
69247         * locale/programs/localedef.c: Fix description of '--posix' flag.
69249 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
69251         * NEWS: Update dates in second copyright notice.
69252         * README: Update copyright dates in example.
69253         * manual/libc.texinfo: Update copyright dates.
69254         * scripts/test-installation.pl: Update copyright date in --version
69255         output.
69257         * hurd/ctty-input.c: Fix copyright notice formatting.
69258         * hurd/ctty-output.c: Likewise.
69259         * hurd/dtable.c: Likewise.
69260         * hurd/hurd-raise.c: Likewise.
69261         * hurd/hurdprio.c: Likewise.
69262         * hurd/msgportdemux.c: Likewise.
69263         * misc/sys/file.h: Likewise.
69264         * misc/sys/ioctl.h: Likewise.
69265         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69266         * sysdeps/mach/hurd/chdir.c: Likewise.
69267         * sysdeps/mach/hurd/fchdir.c: Likewise.
69268         * sysdeps/mach/hurd/rename.c: Likewise.
69269         * sysdeps/mach/hurd/rmdir.c: Likewise.
69270         * sysdeps/mach/hurd/seekdir.c: Likewise.
69271         * sysdeps/mach/hurd/setsid.c: Likewise.
69272         * sysdeps/posix/wait3.c: Likewise.
69274         * All files with FSF copyright notices: Update copyright dates
69275         using scripts/update-copyrights.
69276         * intl/plural.c: Regenerated.
69277         * locale/programs/charmap-kw.h: Likewise.
69278         * locale/programs/locfile-kw.h: Likewise.
69280 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69282         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69283         four values.
69285         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69286         calculation loop and add branch prediction.
69288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69289         check access beyond bounds of m1np.
69291         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69292         MPTWO.
69293         (__inv): Remove local variable MPTWO to use the global
69294         constant.
69295         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
69296         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69297         variable MPTWO.
69298         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
69299         MP3HALFS static const.
69301 2013-01-01  David S. Miller  <davem@davemloft.net>
69303         * po/ca.po: Update from translation team.
69305 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
69307         * scripts/update-copyrights: New file.
69308         * Makeconfig: Reformat copyright notice.
69309         * ctype/ctype.h: Likewise.
69310         * debug/swprintf_chk.c: Likewise.
69311         * elf/dl-cache.c: Likewise.
69312         * elf/dl-debug.c: Likewise.
69313         * elf/dl-object.c: Likewise.
69314         * grp/initgroups.c: Likewise.
69315         * hurd/Makefile: Likewise.
69316         * hurd/hurd/signal.h: Likewise.
69317         * hurd/hurdfault.c: Likewise.
69318         * hurd/hurdioctl.c: Likewise.
69319         * hurd/hurdlookup.c: Likewise.
69320         * hurd/intr-msg.c: Likewise.
69321         * iconv/gconv_open.c: Likewise.
69322         * libio/swprintf.c: Likewise.
69323         * locale/lc-ctype.c: Likewise.
69324         * locale/nl_langinfo.c: Likewise.
69325         * mach/Machrules: Likewise.
69326         * mach/Makefile: Likewise.
69327         * malloc/obstack.h: Likewise.
69328         * manual/Makefile: Likewise.
69329         * manual/tsort.awk: Likewise.
69330         * misc/bits/stab.def: Likewise.
69331         * nis/nis_print_group_entry.c: Likewise.
69332         * nis/nis_table.c: Likewise.
69333         * nis/nss_compat/compat-pwd.c: Likewise.
69334         * nis/nss_compat/compat-spwd.c: Likewise.
69335         * po/Makefile: Likewise.
69336         * posix/fnmatch.c: Likewise.
69337         * posix/regex.h: Likewise.
69338         * resolv/Makefile: Likewise.
69339         * resolv/nss_dns/dns-network.c: Likewise.
69340         * resolv/res_hconf.c: Likewise.
69341         * scripts/gen-sorted.awk: Likewise.
69342         * soft-fp/soft-fp.h: Likewise.
69343         * stdio-common/printf.h: Likewise.
69344         * stdlib/monetary.h: Likewise.
69345         * stdlib/random.c: Likewise.
69346         * stdlib/random_r.c: Likewise.
69347         * sysdeps/generic/Makefile: Likewise.
69348         * sysdeps/gnu/Makefile: Likewise.
69349         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69350         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69351         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69352         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69353         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69355         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69356         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69357         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69358         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69359         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69360         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69361         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69362         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69363         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
69364         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69365         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69366         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69367         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69368         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69369         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69370         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69371         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69372         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
69373         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
69374         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69375         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
69376         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
69377         * sysdeps/mach/hurd/errnos.awk: Likewise.
69378         * sysdeps/mach/hurd/fork.c: Likewise.
69379         * sysdeps/mach/hurd/getcwd.c: Likewise.
69380         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
69381         * sysdeps/mach/hurd/mmap.c: Likewise.
69382         * sysdeps/mach/hurd/utimes.c: Likewise.
69383         * sysdeps/mach/hurd/xmknod.c: Likewise.
69384         * sysdeps/posix/profil.c: Likewise.
69385         * sysdeps/posix/readdir_r.c: Likewise.
69386         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69387         * sysdeps/powerpc/bits/setjmp.h: Likewise.
69388         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
69389         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69391         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69392         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69393         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69395         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69396         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69397         * sysdeps/pthread/lio_listio.c: Likewise.
69398         * sysdeps/sparc/dl-procinfo.h: Likewise.
69399         * sysdeps/unix/i386/sysdep.S: Likewise.
69400         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
69401         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
69402         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
69403         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
69404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69405         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
69406         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
69407         * sysdeps/unix/sysv/linux/speed.c: Likewise.
69408         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
69409         * sysdeps/wordsize-32/divdi3.c: Likewise.
69410         * time/sys/time.h: Likewise.
69411         * wcsmbs/Makefile: Likewise.
69413 2013-01-01  David S. Miller  <davem@davemloft.net>
69415         * po/fr.po: Update from translation team.
69417         * catgets/gencat.c: Update copyright year.
69418         * csu/version.c: Likewise.
69419         * debug/catchsegv.sh: Likewise.
69420         * debug/pcprofiledump.c: Likewise.
69421         * debug/xtrace.sh: Likewise.
69422         * elf/ldconfig.c: Likewise.
69423         * elf/ldd.bash.in: Likewise.
69424         * elf/pldd.c: Likewise.
69425         * elf/sotruss.ksh: Likewise.
69426         * elf/sprof.c: Likewise.
69427         * iconv/iconv_prog.c: Likewise.
69428         * iconv/iconvconfig.c: Likewise.
69429         * locale/programs/locale.c: Likewise.
69430         * locale/programs/localedef.c: Likewise.
69431         * login/programs/pt_chown.c: Likewise.
69432         * malloc/memusage.sh: Likewise.
69433         * malloc/memusagestat.c: Likewise.
69434         * malloc/mtrace.pl: Likewise.
69435         * nscd/nscd.c: Likewise.
69436         * nss/getent.c: Likewise.
69437         * nss/makedb.c: Likewise.
69438         * posix/getconf.c: Likewise.
69440 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69442         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
69443         numbers.
69445 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
69447         * math/bits/mathcalls.h (modf): Use __nonnull.
69449 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69451         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
69452         (split): Use macro CN instead of the bare value.
69453         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
69454         could be used.
69455         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
69456         instead of the bare value.
69457         (power1): Likewise.
69459 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69461         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
69462         __ATAN_TWOM.
69463         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69465         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
69466         their values.
69467         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69468         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69469         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
69470         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69472 2012-12-28  Andreas Jaeger  <aj@suse.de>
69474         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
69475         values are from Linux 3.7.
69477         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
69478         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
69480 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69482         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
69483         TRUE case.
69485         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
69486         (norm): Likewise.
69487         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
69488         variables with preprocessor constants.
69489         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69490         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69491         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69493 2012-12-27  Bruno Haible  <bruno@clisp.org>
69495         [BZ #14317]
69496         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
69497         only if needed.
69499 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
69502         and use variable directly.
69503         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
69505         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69506         MPONE.
69507         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
69508         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69509         variable MPONE.
69510         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69511         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69512         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
69513         include directive.  Remove local variable MPONE.
69514         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
69515         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
69516         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69518 2012-12-25  David S. Miller  <davem@davemloft.net>
69520         * version.h (RELEASE): Set to "development".
69521         (VERSION): Set to "2.17.90".
69522         * NEWS: Add 2.18 section.
69524 2012-12-21  David S. Miller  <davem@davemloft.net>
69526         * po/hr.po: Update from translation team.
69528 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69530         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
69532 2012-12-19  Steve Ellcey  <sellcey@mips.com>
69534         * NEWS:  Mention new memcpy for MIPS.
69536 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69538         * manual/contrib.texi (Contributors): Spelling correction.
69540 2012-12-15  David S. Miller  <davem@davemloft.net>
69542         * po/ru.po: Update from translation team.
69544 2012-12-13  David S. Miller  <davem@davemloft.net>
69546         * NEWS: Mention IFUNC testsuite enhancements.
69548         * po/pl.po: Update from translation team.
69549         * po/bg.po: Likewise.
69551         * manual/contrib.texi (Contributors): Update entries for Hongjiu
69552         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
69554 2012-12-11  David S. Miller  <davem@davemloft.net>
69556         * po/sv.po: Update from translation team.
69558         * po/vi.po: Update from translation team.
69560         * po/cs.po: Update from translation team.
69562         * po/de.po: Update from translation team.
69563         * po/eo.po: Likewise.
69564         * po/nl.po: Likewise.
69566 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
69568         [BZ #14246]
69569         * manual/argp.texi (Argp Helper Functions): Move node to follow
69570         Argp Parsing State.
69572         [BZ #14872]
69573         * manual/conf.texi (Limits on File System Capacity): Mention if
69574         terminating null is included in the max size.
69576 2012-12-10  Andreas Jaeger  <aj@suse.de>
69578         * po/cs.po: Update from translation team.
69580 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69582         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
69583         void pointer and cast to uintptr_t.
69584         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
69585         path.
69586         * sysdeps/s390/s390-64/memcpy.S: Likewise.
69587         * sysdeps/s390/s390-64/memset.S: Likewise.
69589 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
69591         [BZ #14833]
69592         * menual/message.texi (Message Translation): Fix typos.
69593         (Helper programs for gettext): Likewise.
69595 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
69597         [BZ #14898]
69598         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
69599         Change to -1.
69601 2012-12-07  David S. Miller  <davem@davemloft.net>
69603         * po/libc.pot: Update.
69605 2012-12-07  Richard Henderson  <rth@redhat.com>
69607         [BZ #10114]
69608         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
69609         normal/normal case to before the switch.
69610         (_FP_DIV): Likewise.
69612 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
69613             Mike Frysinger  <vapier@gentoo.org>
69615         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
69616         check for __NR_fadvise64_64.
69618 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
69620         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
69621         0, not just to plain "0" as a statement.
69622         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69623         with cw.
69625 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
69627         * NEWS: Use sourceware.org in Bugzilla URL.
69629 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69632         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69634         * stdio-common/tst-put-error.c (do_test): Add newline to the
69635         padded test to ensure flush.
69637 2012-12-05  Jeff Law  <law@redhat.com>
69639         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69641 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69643         * README: Don't refer to ports add-on as distributed separately.
69644         Mention AArch64 in list of systems supported in the ports add-on.
69646         * LICENSES: Add more non-FSF copyright and license notices.
69648         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69649         ((unused)).
69651         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69653         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69654         10000 as width of padded output.
69656 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69658         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69660         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69661         variable LX with __attribute__ ((unused)).
69662         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69663         Likewise.
69664         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69665         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69666         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69667         with __attribute__ ((unused)).
69669 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69671         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69673 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69675         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69676         (CFLAGS-nldbl-acos.c): New variable.
69677         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69678         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69679         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69680         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69681         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
69682         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
69683         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
69684         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
69685         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
69686         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
69687         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
69688         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
69689         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
69690         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
69691         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
69692         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
69693         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
69694         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
69695         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
69696         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69697         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
69698         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
69699         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
69700         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
69701         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
69702         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
69703         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
69704         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69705         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
69706         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
69707         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
69708         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
69709         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
69710         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
69711         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
69712         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
69713         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
69714         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
69715         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
69716         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
69717         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
69718         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
69719         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
69720         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
69721         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
69722         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
69723         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
69724         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
69725         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69726         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
69727         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
69728         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
69729         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
69730         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
69731         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
69732         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
69733         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
69734         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
69735         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
69736         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69737         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
69738         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
69739         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
69740         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
69741         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
69742         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
69743         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
69744         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
69745         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
69746         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
69747         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
69748         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
69749         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
69750         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
69751         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
69752         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
69753         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
69754         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
69755         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
69756         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
69757         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
69758         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
69759         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
69760         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
69761         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
69762         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
69763         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
69764         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
69765         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
69766         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
69767         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
69768         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
69769         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
69770         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
69771         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
69772         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
69773         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
69775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69776         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69778         [BZ #14914]
69779         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
69780         whole low double instead of just low 47 bits when splitting values
69781         into two parts.
69783 2012-12-03  Allan McRae  <allan@archlinux.org>
69785         * manual/stdio.texi (Predefined Printf Handlers): Remove
69786         @hsep and @vsep usage.
69788 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
69790         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
69791         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
69793 2012-12-03  Jeff Law  <law@redhat.com>
69795         * time/sys/time.h (settimeofday): Do not mark TV argument
69796         as __nonnull.
69798 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
69800         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
69801         when currently writing and seek to current position when not.
69802         * libio/Makefile (tests): Remove bug-fclose1.
69803         * libio/bug-fclose1.c: Delete.
69805 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
69807         * manual/arith.texi (feenableexcept): Fix typo.
69808         (fedisableexcept): Likewise.
69810 2012-11-30  Roland McGrath  <roland@hack.frob.com>
69812         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
69813         second, differently-typed declaration, rather than a cast.
69815 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69817         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
69818         * include/rpc/svc.h: ... here.
69820 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
69822         [BZ #13013]
69823         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
69824         depending n and resplen2 to catch cases where answer
69825         equals answerp2.
69827 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
69829         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
69830         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
69832 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
69834         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
69836 2012-11-29  Roland McGrath  <roland@hack.frob.com>
69838         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
69840 2012-11-28  Jeff Law  <law@redhat.com>
69842         [BZ #13761]
69843         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
69844         dataset_temporary.  Track alloca usage into alloca_used.
69845         If dataset is large allocate and release it via malloc/free.
69847 2012-06-04  Florian Weimer  <fweimer@redhat.com>
69849         [BZ #14197]
69850         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
69852 2012-11-28  David S. Miller  <davem@davemloft.net>
69854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69856 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69858         [BZ #14803]
69859         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
69860         of pi/2 rounded to nearest to 64 bits.
69861         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
69862         nearest to 64 bits.
69863         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
69864         bits.
69866 2012-11-28  Jeff Law <law@redhat.com>
69867             Martin Osvald <mosvald@redhat.com>
69869         [BZ #14889]
69870         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
69871         * sunrpc/svc.c: Include time.h.
69872         (__svc_accept_failed): New function.
69873         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
69874         any reason other than EINTR, call __svc_accept_failed.
69875         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
69876         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
69878 2012-11-28  Andreas Schwab  <schwab@suse.de>
69880         * scripts/abilist.awk: Also handle indirect functions in .opd
69881         section.
69883 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69885         [BZ #13881]
69886         * sysdeps/x86/fpu/powl_helper.c: New file.
69887         * sysdeps/x86/fpu/Makefile: Likewise.
69888         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
69889         (p3): New object.
69890         (__ieee754_powl): Use __powl_helper for finite arguments except
69891         integer exponents below 8.
69892         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
69893         (p3): New object.
69894         (__ieee754_powl): Use __powl_helper for finite arguments except
69895         integer exponents below 8.
69896         * math/libm-test.inc (pow_test): Add more tests and enable some
69897         previously disabled tests.
69898         * sysdeps/i386/fpu/libm-test-ulps: Update.
69899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69901 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69902             Carlos O'Donell  <carlos_odonell@mentor.com>
69904         * nss/makedb.c (is_prime): Assert that input is odd and greater
69905         than 4.  Note that fact in a comment too.
69906         (next_prime): Add 4 to input.
69908 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69910         [BZ #11741]
69911         * libio/Makefile (tests): Add test case tst-fwrite-error.
69912         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
69913         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
69914         * libio/tst-fwrite-error.c: New test case.
69916 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
69918         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
69919         before casting to void *.
69920         * include/libc-internal.h (__pointer_type): New macro.
69921         (__integer_if_pointer_type_sub): Likewise.
69922         (__integer_if_pointer_type): Likewise.
69923         (cast_to_integer): Likewise.
69924         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
69925         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
69926         before casting to atomic64_t.
69927         (atomic_exchange_acq): Likewise.
69928         (__arch_exchange_and_add_body): Likewise.
69929         (__arch_add_body): Likewise.
69930         (atomic_add_negative): Likewise.
69931         (atomic_add_zero): Likewise.
69933 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
69935         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
69936         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
69937         (add_fdes): Likewise.
69938         (linear_search_fdes): Likewise.
69939         (binary_search_unencoded_fdes): Likewise.
69941 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
69943         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
69945 2012-11-24  Adam Conrad  <adconrad@0c3.net>
69947         * configure.in: Autodetect C++ header directories.
69948         * configure: Regenerated.
69950 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
69952         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
69954 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
69956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69958 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
69960         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
69961         LDBL_MANT_DIG == 106]: Disable some tests.
69962         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69963         Likewise.
69964         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69965         Likewise.
69967         [BZ #14871]
69968         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
69969         input for small inputs.  Return +/- pi/2 for large inputs.
69970         * math/libm-test.inc (atan_test): Add more tests.
69972         * sysdeps/generic/unwind-dw2-fde-glibc.c
69973         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
69974         __attribute__ ((unused)).
69976         [BZ #14645]
69977         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
69978         x * y if x and y are nonzero and z is zero.
69980         [BZ #14811]
69981         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
69982         nonzero exponents with absolute value below 0x1p-117 to +/-
69983         0x1p-117.
69985         [BZ #14869]
69986         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
69987         up arguments below 2**-450, not just those below 2**-500.
69988         * math/libm-test.inc (hypot_test): Add another test.
69990         [BZ #14868]
69991         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
69992         Return a+b for ratio over 2**120, not 2**60.
69993         * math/libm-test.inc (hypot_test): Add another test.
69995         * math/libm-test.inc (clog_test): Use
69996         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
69997         (clog10_test): Likewise.
69999         [BZ #6778]
70000         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70002 2012-11-22  Andreas Schwab  <schwab@suse.de>
70004         * sysdeps/i386/fpu/libm-test-ulps: Update.
70006 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
70008         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70009         printf output with newline.
70011 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
70013         [BZ #14865]
70014         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70015         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70016         -z nodlopen, -z initfirst and -z execstack support.
70017         * configure: Regenerated.
70019         * elf/elf.h (DF_1_NODIRECT): New macro.
70020         (DF_1_IGNMULDEF): Likewise.
70021         (DF_1_NOKSYMS): Likewise.
70022         (DF_1_NOHDR): Likewise.
70023         (DF_1_EDITED): Likewise.
70024         (DF_1_NORELOC): Likewise.
70025         (DF_1_SYMINTPOSE): Likewise.
70026         (DF_1_GLOBAUDIT): Likewise.
70027         (DF_1_SINGLETON): Likewise.
70028         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70029         DT_1_SUPPORTED_MASK bits.
70030         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70032 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
70034         * sysdeps/unix/make-syscalls.sh: Document prefixes.
70036 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
70038         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70039         macro.
70041         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70042         (sendmmsg): Move declarations...
70043         * socket/sys/socket.h: ... here.
70044         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70045         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70046         include it from...
70047         * socket/recvmmsg.c: ... this new file.
70048         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70049         (sendmmsg): Rename to __sendmmsg, create weak alias and make
70050         definition of __sendmmsg hidden.
70051         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70052         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70053         Move ENOSYS stub into and include it from...
70054         * socket/sendmmsg.c: ... this new file.
70055         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70056         (sysdep_routines): Move recvmmsg and sendmmsg...
70057         * socket/Makefile (routines): ... here.
70058         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70059         (GLIBC_PRIVATE): Add __sendmmsg.
70060         * include/sys/socket.h (__sendmmsg): Add declarations.
70061         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70062         sendmmsg.
70064 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70066         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70067         variable I1 with __attribute__ ((unused)).
70068         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70070 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70072         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70073         DUMMY variables with __attribute__ ((unused)).
70075         * bits/byteswap.h: Include <bits/types.h>.
70076         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70078 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70080         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70081         string_t.  Do not manually set errno.
70082         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70083         length with __strnlen.  Make sure to both set errno and return it on
70084         failure.
70086 2012-11-19  David S. Miller  <davem@davemloft.net>
70088         With help from Joseph Myers.
70089         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70090         very large arguments properly.
70091         * math/libm-test.inc (atan_test): New tests.
70092         (atan2_test): New tests.
70093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70096 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70098         [BZ #14856]
70099         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70100         Define to 3.
70102         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70103         [POSIX] (EADDRNOTAVAIL): Likewise.
70104         [POSIX] (EAFNOSUPPORT): Likewise.
70105         [POSIX] (EALREADY): Likewise.
70106         [POSIX] (ECONNABORTED): Likewise.
70107         [POSIX] (ECONNREFUSED): Likewise.
70108         [POSIX] (ECONNRESET): Likewise.
70109         [POSIX] (EDESTADDRREQ): Likewise.
70110         [POSIX] (EDQUOT): Likewise.
70111         [POSIX] (EHOSTUNREACH): Likewise.
70112         [POSIX] (EIDRM): Likewise.
70113         [POSIX] (EISCONN): Likewise.
70114         [POSIX] (ELOOP): Likewise.
70115         [POSIX] (EMULTIHOP): Likewise.
70116         [POSIX] (ENETDOWN): Likewise.
70117         [POSIX] (ENETUNREACH): Likewise.
70118         [POSIX] (ENOBUFS): Likewise.
70119         [POSIX] (ENODATA): Likewise.
70120         [POSIX] (ENOLINK): Likewise.
70121         [POSIX] (ENOMSG): Likewise.
70122         [POSIX] (ENOPROTOOPT): Likewise.
70123         [POSIX] (ENOSR): Likewise.
70124         [POSIX] (ENOSTR): Likewise.
70125         [POSIX] (ENOTCONN): Likewise.
70126         [POSIX] (ENOTSOCK): Likewise.
70127         [POSIX] (EOPNOTSUPP): Likewise.
70128         [POSIX] (EOVERFLOW): Likewise.
70129         [POSIX] (EPROTO): Likewise.
70130         [POSIX] (EPROTONOSUPPORT): Likewise.
70131         [POSIX] (EPROTOTYPE): Likewise.
70132         [POSIX] (ESTALE): Likewise.
70133         [POSIX] (ETIME): Likewise.
70134         [POSIX] (ETXTBSY): Likewise.
70135         [POSIX] (EWOULDBLOCK): Likewise.
70136         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70137         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70138         [POSIX] (SEEK_CUR): Likewise.
70139         [POSIX] (SEEK_END): Likewise.
70140         [POSIX || UNIX98] (mode_t): Do not require.
70141         [POSIX] (off_t): Likewise.
70142         [POSIX] (pid_t): Likewise.
70143         [POSIX] (sys/stat.h): Do not allow header.
70144         [POSIX] (unistd.h): Likewise.
70145         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70146         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70147         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70148         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70149         require.
70150         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70151         sigevent): Specify elements.
70152         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70153         entry.
70154         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70155         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70157         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70158         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70159         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70160         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70161         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70162         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70163         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70164         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70165         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70166         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70167         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70168         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70169         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70170         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70171         Likewise.
70172         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70173         Likewise.
70174         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70175         Likewise.
70176         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70177         Likewise.
70178         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70179         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70180         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70181         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70182         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70183         Specify lower bound on value.
70184         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70185         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70186         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70187         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70188         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70189         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70190         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70191         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70192         value.
70193         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70194         as optional.
70195         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70196         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70197         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70198         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70199         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70200         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70201         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70202         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70203         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70204         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70205         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70206         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70207         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70208         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70209         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70210         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70211         entry.
70212         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70213         optional.
70214         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70215         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70216         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70217         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70218         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70219         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70220         Likewise.
70221         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70222         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70223         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70224         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70225         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
70226         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70227         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70228         as optional.
70229         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70230         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70231         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70232         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70233         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70234         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70235         specify as optional.
70236         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70237         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70238         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70239         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70240         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70241         [XPG3] (NL_LANGMAX): Likewise.
70242         [POSIX || XPG3] (NL_MSGMAX): Likewise.
70243         [POSIX || XPG3] (NL_NMAX): Likewise.
70244         [POSIX || XPG3] (NL_SETMAX): Likewise.
70245         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70246         [XPG3] (NZERO): Likewise.
70247         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70248         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70249         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70250         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70251         (REG_ERANGE): Expect.
70252         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70253         optional-constant.
70254         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70255         Use (void) in prototype.
70256         [POSIX] (*_t): Allow.
70257         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70258         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70259         (WRDE_BADVAL): Expect.
70261         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70262         expect.
70263         [XPG3 || XPG4] (O_RSYNC): Likewise.
70264         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70265         Likewise.
70266         [XPG3 || XPG4] (pthread_sigmask): Likewise.
70267         [XPG3 || XPG4] (sigqueue): Likewise.
70268         [XPG3 || XPG4] (sigtimedwait): Likewise.
70269         [XPG3 || XPG4] (sigwaitinfo): Likewise.
70270         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70271         [XPG3 || XPG4] (vsnprintf): Likewise.
70272         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70273         Likewise.
70274         [XPG3 || XPG4] (blksize_t): Likewise.
70275         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70276         Likewise.
70277         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70278         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70279         [XPG3 || XPG4] (struct itimerspec): Likewise.
70280         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70281         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70282         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70283         [XPG3 || XPG4] (clockid_t): Likewise.
70284         [XPG3 || XPG4] (timer_t): Likewise.
70285         [XPG3 || XPG4] (clock_getres): Likewise.
70286         [XPG3 || XPG4] (clock_gettime): Likewise.
70287         [XPG3 || XPG4] (clock_settime): Likewise.
70288         [XPG3 || XPG4] (nanosleep): Likewise.
70289         [XPG3 || XPG4] (timer_create): Likewise.
70290         [XPG3 || XPG4] (timer_delete): Likewise.
70291         [XPG3 || XPG4] (timer_gettime): Likewise.
70292         [XPG3 || XPG4] (timer_getoverrun): Likewise.
70293         [XPG3 || XPG4] (timer_settime): Likewise.
70294         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
70295         [XPG3 || XPG4] (getlogin_r): Likewise.
70296         [XPG3 || XPG4] (pread): Likewise.
70297         [XPG3 || XPG4] (pthread_atfork): Likewise.
70298         [XPG3 || XPG4] (pwrite): Likewise.
70300         [BZ #14835]
70301         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
70302         <bits/siginfo.h>.
70304 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70306         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
70307         finalizing MALLSTREAM.
70309         * sysdeps/mach/hurd/syncfs.c: New file.
70311 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70313         [BZ #14719]
70314         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
70315         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
70316         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
70317         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
70318         (_nss_dns_gethostbyname4_r): Likewise.
70319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
70320         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
70322 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
70324         [BZ #13763]
70325         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
70327 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
70329         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
70330         * elf/cache.c (print_entry): Print ",AArch64" for
70331         FLAG_AARCH64_LIB64
70333         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
70334         * elf/cache.c (print_entry): Print ",hard-float" for
70335         FLAG_ARM_LIBHF.
70337 2012-11-18  David S. Miller  <davem@davemloft.net>
70339         With help from Joseph Myers.
70340         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
70341         cutoff to 2**-13.
70342         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
70343         cutoff to 2**-25.
70344         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
70345         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
70346         small.
70347         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
70348         * math/libm-test.inc (y0_test): New tests.
70349         (y1_test): New tests.
70350         * sysdeps/i386/fpu/libm-test-ulps: Update.
70351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70354 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
70356         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
70357         64-bit targets.
70358         * configure: Regenerated.
70360 2012-11-17  David S. Miller  <davem@davemloft.net>
70362         [BZ #14811]
70363         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
70364         nonzero exponents with absolute value below 0x1p-128 to +/-
70365         0x1p-128.
70367 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
70369         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
70371         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
70373         * posix/getconf-speclist.c: New file.
70374         * posix/posix-envs.def: Likewise.
70375         * posix/confstr.c (START_ENV_GROUP): New macro.
70376         (END_ENV_GROUP): Likewise.
70377         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70378         (KNOWN_PRESENT_ENV_STRING): Likewise.
70379         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70380         (UNKNOWN_ENVIRONMENT): Likewise.
70381         (confstr): Include posix-envs.def instead of handling
70382         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
70383         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
70384         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
70385         (END_ENV_GROUP): Likewise.
70386         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70387         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70388         (UNKNOWN_ENVIRONMENT): Likewise.
70389         (__sysconf): Include posix-envs.def instead of handling associated
70390         cases directly here.
70391         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
70392         preprocessing getconf-speclist.c rather than running getconf or
70393         generating empty file.
70395 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
70397         * scripts/check-local-headers.sh: Ignore 'mach' headers.
70399 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
70401         [BZ #14672]
70402         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
70404 2012-11-16  David S. Miller  <davem@davemloft.net>
70406         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
70407         smaller than LDBL_EPSILON/2.0L, just return xm1.
70409 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
70411         * elf/tst-array1.c (init): Set constructor priority to 1000.
70412         (fini): Set destructor priority to 1000.
70413         * elf/tst-array2dep.c: Likewise.
70415 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70417         [BZ #11741]
70418         * libio/fileops.c (_IO_new_file_write): Correctly return error.
70419         (_IO_new_file_xsputn): Also return EOF if none of the input
70420         data was written when overflow failed.
70421         * libio/iopadn.c (_IO_padn): Likewise.
70422         * libio/iowpadn.c (_IO_wpadn): Likewise.
70423         * stdio-common/tst-put-error.c: Add copyright notice.
70424         (do_test): Add case for printing padded string.
70425         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
70426         _IO_padn returned error.
70427         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
70428         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
70429         return EOF.
70431 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70433         * libio/libioP.h: Add comment note that the references to C++
70434         bits are now obsolete.
70436 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70438         * math/libm-test.inc (check_complex): Use asprintf.
70440 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
70442         * debug/pcprofiledump.c (print_version): Update copyright year.
70443         * malloc/memusagestat.c (print_version): Likewise.
70445 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
70447         [BZ #14831]
70448         * elf/Makefile (tests): Add tst-audit8.
70449         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
70450         ($(objpfx)tst-audit8.out): New target.
70451         (tst-audit8-ENV): New variable.
70452         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
70453         audit if l_reloc_result is NULL.
70454         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
70455         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
70456         * elf/tst-audit8.c: New file.
70458 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70460         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
70461         * misc/Makefile (CFLAGS-select.c): Define.
70462         * posix/Makefile (CFLAGS-pause.c): Define.
70464 2012-11-13  David S. Miller  <davem@davemloft.net>
70466         * crypt/Makefile: Move test targets after toplevel Rules
70467         inclusion.  Grab any necessary sysdep routines when linking.
70468         * crypt/md5.c (md5_process_block): Remove define, we will always
70469         name it __md5_process_block.
70470         (md5_finish_ctx): Update md5_process_block call.
70471         (md5_stream): Likewise.
70472         (md5_process_bytes): Likewise.
70473         (md5_process_block): Rename to __md5_process_block and move to ...
70474         * crypt/md5-block.c: ... here.
70475         * crypt/sha256.c (sha256_process_block): Move to ...
70476         * crypt/sha256-block.c: ... here.
70477         * crypt/sha512.c (sha512_process_block): Move to ...
70478         * crypt/sha512-block.c: ... here.
70479         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
70480         path.
70481         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
70482         * sysdeps/sparc/sparc64/multiarch/Makefile
70483         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
70484         crypt subdir.
70485         (localedef-aux): Add md5 crypto assembler when in locale subdir.
70486         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
70487         multiarch changes.
70488         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
70489         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
70490         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
70491         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
70492         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
70493         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
70494         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
70495         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
70496         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
70497         file.
70498         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
70499         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
70500         file.
70501         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
70503 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
70505         * timezone/tzselect.ksh: Update from tzcode git revision
70506         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
70507         * timezone/zdump.c: Likewise.
70508         * timezone/zic.c: Likewise.
70509         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
70510         in TZVERSION setting, not $(PKGVERSION).
70511         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
70512         REPORT_BUGS_TO settings.
70514         [BZ #14838]
70515         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
70516         macro.
70518 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70520         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
70521         detection to immediately after _FP_ROUND().
70522         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
70523         bits are 0.
70525 2012-11-11  David S. Miller  <davem@davemloft.net>
70527         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
70528         inttypes.h
70529         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
70530         __close rather than their public counterparts.
70532 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
70534         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
70535         file.
70536         [UNIX98] (sem_timedwait): Do not expect.
70537         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
70538         [XPG4 || UNIX98] (sockatmark): Do not expect.
70539         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
70540         (clock_getcpuclockid): Do not expect.
70541         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
70542         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
70543         Do not expect.
70544         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
70545         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
70546         [UNIX98] (vwscanf): Likewise.
70547         [UNIX98] (vswscanf): Likewise.
70549 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
70551         * timezone/version.h: Remove file.
70552         * timezone/README: Do not refer to version.h.
70553         * timezone/Makefile ($(objpfx)zic.o): New dependency on
70554         $(objpfx)version.h.
70555         ($(objpfx)zdump.o): Likewise.
70556         ($(objpfx)version.h): New target.
70558         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
70559         2012i.
70560         * timezone/README: Don't mention modification to tzselect.ksh.
70561         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
70562         work on unmodified tzselect.ksh.  Substitute version numbers in
70563         tzselect.ksh.
70565         * Makefile (format-me): Remove.
70566         (INSTALL): Adjust indentation.  Use commands directly instead of
70567         using $(format-me).
70569         * aclocal.m4 (ACX_PKGVERSION): New macro.
70570         (ACX_BUGURL): Likewise.
70571         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
70572         (PKGVERSION): New AC_DEFINE_UNQUOTED.
70573         (REPORT_BUGS_TO): Likewise.
70574         * configure: Regenerated.
70575         * config.h.in (PKGVERSION): New macro.
70576         (REPORT_BUGS_TO): Likewise.
70577         * config.make.in (PKGVERSION): New variable.
70578         (PKGVERSION_TEXI): Likewise.
70579         (REPORT_BUGS_TO): Likewise.
70580         (REPORT_BUGS_TEXI): Likewise.
70581         * Makefile (format-me): Use -I$(common-objpfx)manual.
70582         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
70583         ($(common-objpfx)manual/%): New target.
70584         (manual/%): Remove target.
70585         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
70586         (print_version): Use PKGVERSION.
70587         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
70588         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
70589         and REPORT_BUGS_TO.
70590         ($(objpfx)xtrace): Likewise.
70591         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
70592         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
70593         (print_version): Use PKGVERSION.
70594         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
70595         (do_version): Use PKGVERSION.
70596         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
70597         REPORT_BUGS_TO.
70598         (common-ldd-rewrite): Likewise.
70599         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
70600         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70601         (print_version): Use PKGVERSION.
70602         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
70603         * elf/pldd.c (argp_program_bug_address): Remove variable.
70604         (more_help): New function.
70605         (argp): Use more_help.
70606         (print_version): Use PKGVERSION.
70607         * elf/sln.c (main): Use PKGVERSION.
70608         (usage): Use REPORT_BUGS_TO.
70609         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
70610         (top level): Use PKGVERSION.
70611         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
70612         (print_version): Use PKGVERSION.
70613         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
70614         (print_version): Use PKGVERSION.
70615         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
70616         (print_version): Use PKGVERSION.
70617         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
70618         (print_version): Use PKGVERSION.
70619         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
70620         (print_version): Use PKGVERSION.
70621         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
70622         (print_version): Use PKGVERSION.
70623         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70624         and BUGURL.
70625         ($(objpfx)memusage): Likewise.
70626         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70627         (do_version): Use PKGVERSION.
70628         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70629         (print_version): Use PKGVERSION.
70630         * malloc/mtrace.pl ($PACKAGE): Remove variable.
70631         ($PKGVERSION): New variable.
70632         ($REPORT_BUGS_TO): Likewise.
70633         (usage): Use $REPORT_BUGS_TO.
70634         (top level): Use $PKGVERSION.
70635         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70636         ($(objpfx)pkgvers.texi): New rule.
70637         ($(objpfx)stamp-pkgvers): Likewise.
70638         * manual/install.texi: Include pkgvers.texi.
70639         (--with-pkgversion): Document new configure option.
70640         (--with-bugurl): Likewise.
70641         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70642         than necessarily for this particular distribution.  Use
70643         REPORT_BUGS_TO for where to report bugs.
70644         * INSTALL: Regenerated.
70645         * manual/libc.texinfo: Include pkgvers.texi.
70646         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70647         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70648         (print_version): Use PKGVERSION.
70649         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70650         (print_version): Use PKGVERSION.
70651         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70652         (print_version): Use PKGVERSION.
70653         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70654         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70655         macro.
70656         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70657         (print_version): Use PKGVERSION.
70658         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70659         (print_version): Use PKGVERSION.
70660         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70661         and PKGVERSION.
70663         * timezone/checktab.awk: Update from tzcode 2012i.
70664         * timezone/ialloc.c: Likewise.
70665         * timezone/private.h: Likewise.
70666         * timezone/scheck.c: Likewise.
70667         * timezone/tzfile.h: Likewise.
70668         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70669         (TZVERSION): Hardcode tzcode version number.
70670         * timezone/zdump.c: Update from tzcode 2012i.
70671         * timezone/zic.c: Likewise.
70672         * timezone/version.h: New file.
70673         * timezone/README: Describe version.h.  Update upstream location.
70675         [BZ #14824]
70676         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70677         (mktemp): Enable declaration.
70678         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70679         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70680         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70681         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
70682         Likewise.
70683         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
70684         Likewise.
70685         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
70686         Likewise.
70687         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
70688         Likewise.
70689         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
70690         Likewise.
70691         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
70692         Likewise.
70694         [BZ #14821]
70695         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
70696         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
70697         for copies of such integer values.
70698         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70699         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70701 2012-11-09  Andreas Jaeger  <aj@suse.de>
70703         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
70704         definitions and declarations that are provided by
70705         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70707 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70709         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
70710         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
70711         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
70712         definition.
70714 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70716         * elf/elf.h: Update comment before AArch64 relocations.
70718 2012-11-07  David S. Miller  <davem@davemloft.net>
70720         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
70721         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70722         (__start_context): Declare.
70723         (__makecontext_ret): Delete.
70724         (__makecontext): Hook up __start_context instead of
70725         __makecontext_ret.
70726         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
70727         (sysdep_routines): Add __start_context when in stdlib.
70729 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70731         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
70732         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
70733         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
70734         hardcoded "nm".
70735         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
70736         (READELF): New variable.  Use it instead of hardcoded "readelf".
70738 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70740         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
70741         * sysdeps/x86/Makefile: Here.
70742         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
70743         * sysdeps/x86/tst-xmmymm.sh: This.
70745 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70747         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
70748         expectations.
70749         [UNIX98] (pthread_barrier_t): Do not expect.
70750         [UNIX98] (pthread_barrierattr_t): Likewise.
70751         [UNIX98] (pthread_spinlock_t): Likewise.
70752         [UNIX98] (pthread_barrier_destroy): Likewise.
70753         [UNIX98] (pthread_barrier_init): Likewise.
70754         [UNIX98] (pthread_barrier_wait): Likewise.
70755         [UNIX98] (pthread_barrierattr_destroy): Likewise.
70756         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
70757         [UNIX98] (pthread_barrierattr_init): Likewise.
70758         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
70759         [UNIX98] (pthread_getcpuclockid): Likewise.
70760         [UNIX98] (pthread_mutex_timedlock): Likewise.
70761         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
70762         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
70763         [UNIX98] (pthread_sigmask): Likewise.
70764         [UNIX98] (pthread_spin_destroy): Likewise.
70765         [UNIX98] (pthread_spin_init): Likewise.
70766         [UNIX98] (pthread_spin_lock): Likewise.
70767         [UNIX98] (pthread_spin_trylock): Likewise.
70768         [UNIX98] (pthread_spin_unlock): Likewise.
70769         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
70770         Do not expect.
70771         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
70772         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
70773         [XPG3 || XPG4] (pthread_cond_t): Likewise.
70774         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
70775         [XPG3 || XPG4] (pthread_key_t): Likewise.
70776         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
70777         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
70778         [XPG3 || XPG4] (pthread_once_t): Likewise.
70779         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
70780         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
70781         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
70782         [XPG3 || XPG4] (pthread_t): Likewise.
70784         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
70785         not expect.
70786         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
70788         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
70789         Change function return type to int.
70791         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
70792         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
70793         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
70794         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
70795         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
70796         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
70797         [!POSIX] (posix_madvise): Likewise.
70798         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
70799         && !UNIX98].
70800         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
70801         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
70802         (mode_t): Likewise.
70803         (posix_mem_offset): Likewise.
70804         (posix_typed_mem_get_info): Likewise.
70805         (posix_typed_mem_open): Likewise.
70807         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
70808         Change condition to [XOPEN2K8].
70810         * conform/conformtest.pl: Preprocess allow-header data with -x c
70811         instead of from stdin.
70812         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
70813         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70814         [C99-based standards] (cerfc): Likewise.
70815         [C99-based standards] (cexp2): Likewise.
70816         [C99-based standards] (cexpm1): Likewise.
70817         [C99-based standards] (clog10): Likewise.
70818         [C99-based standards] (clog1p): Likewise.
70819         [C99-based standards] (clog2): Likewise.
70820         [C99-based standards] (clgamma): Likewise.
70821         [C99-based standards] (ctgamma): Likewise.
70822         [C99-based standards] (cerff): Likewise.
70823         [C99-based standards] (cerfcf): Likewise.
70824         [C99-based standards] (cexp2f): Likewise.
70825         [C99-based standards] (cexpm1f): Likewise.
70826         [C99-based standards] (clog10f): Likewise.
70827         [C99-based standards] (clog1pf): Likewise.
70828         [C99-based standards] (clog2f): Likewise.
70829         [C99-based standards] (clgammaf): Likewise.
70830         [C99-based standards] (ctgammaf): Likewise.
70831         [C99-based standards] (cerfl): Likewise.
70832         [C99-based standards] (cerfcl): Likewise.
70833         [C99-based standards] (cexp2l): Likewise.
70834         [C99-based standards] (cexpm1l): Likewise.
70835         [C99-based standards] (clog10l): Likewise.
70836         [C99-based standards] (clog1pl): Likewise.
70837         [C99-based standards] (clog2l): Likewise.
70838         [C99-based standards] (clgammal): Likewise.
70839         [C99-based standards] (ctgammal): Likewise.
70840         * conform/data/inttypes.h-data [C99-based standards]: Include
70841         stdint.h-data.  Remove all expectations for stdint.h contents.
70842         [C99-based standards] (PRI*): Do not allow.
70843         [C99-based standards] (SCN*): Likewise.
70844         [C99-based standards] (*_t): Likewise.
70845         [C99-based-standards] (PRId8): Expect macro.
70846         [C99-based-standards] (PRIi8): Likewise.
70847         [C99-based-standards] (PRIo8): Likewise.
70848         [C99-based-standards] (PRIu8): Likewise.
70849         [C99-based-standards] (PRIx8): Likewise.
70850         [C99-based-standards] (PRIX8): Likewise.
70851         [C99-based-standards] (SCNd8): Likewise.
70852         [C99-based-standards] (SCNi8): Likewise.
70853         [C99-based-standards] (SCNo8): Likewise.
70854         [C99-based-standards] (SCNu8): Likewise.
70855         [C99-based-standards] (SCNx8): Likewise.
70856         [C99-based-standards] (PRIdLEAST8): Likewise.
70857         [C99-based-standards] (PRIiLEAST8): Likewise.
70858         [C99-based-standards] (PRIoLEAST8): Likewise.
70859         [C99-based-standards] (PRIuLEAST8): Likewise.
70860         [C99-based-standards] (PRIxLEAST8): Likewise.
70861         [C99-based-standards] (PRIXLEAST8): Likewise.
70862         [C99-based-standards] (SCNdLEAST8): Likewise.
70863         [C99-based-standards] (SCNiLEAST8): Likewise.
70864         [C99-based-standards] (SCNoLEAST8): Likewise.
70865         [C99-based-standards] (SCNuLEAST8): Likewise.
70866         [C99-based-standards] (SCNxLEAST8): Likewise.
70867         [C99-based-standards] (PRIdFAST8): Likewise.
70868         [C99-based-standards] (PRIiFAST8): Likewise.
70869         [C99-based-standards] (PRIoFAST8): Likewise.
70870         [C99-based-standards] (PRIuFAST8): Likewise.
70871         [C99-based-standards] (PRIxFAST8): Likewise.
70872         [C99-based-standards] (PRIXFAST8): Likewise.
70873         [C99-based-standards] (SCNdFAST8): Likewise.
70874         [C99-based-standards] (SCNiFAST8): Likewise.
70875         [C99-based-standards] (SCNoFAST8): Likewise.
70876         [C99-based-standards] (SCNuFAST8): Likewise.
70877         [C99-based-standards] (SCNxFAST8): Likewise.
70878         [C99-based-standards] (PRId16): Likewise.
70879         [C99-based-standards] (PRIi16): Likewise.
70880         [C99-based-standards] (PRIo16): Likewise.
70881         [C99-based-standards] (PRIu16): Likewise.
70882         [C99-based-standards] (PRIx16): Likewise.
70883         [C99-based-standards] (PRIX16): Likewise.
70884         [C99-based-standards] (SCNd16): Likewise.
70885         [C99-based-standards] (SCNi16): Likewise.
70886         [C99-based-standards] (SCNo16): Likewise.
70887         [C99-based-standards] (SCNu16): Likewise.
70888         [C99-based-standards] (SCNx16): Likewise.
70889         [C99-based-standards] (PRIdLEAST16): Likewise.
70890         [C99-based-standards] (PRIiLEAST16): Likewise.
70891         [C99-based-standards] (PRIoLEAST16): Likewise.
70892         [C99-based-standards] (PRIuLEAST16): Likewise.
70893         [C99-based-standards] (PRIxLEAST16): Likewise.
70894         [C99-based-standards] (PRIXLEAST16): Likewise.
70895         [C99-based-standards] (SCNdLEAST16): Likewise.
70896         [C99-based-standards] (SCNiLEAST16): Likewise.
70897         [C99-based-standards] (SCNoLEAST16): Likewise.
70898         [C99-based-standards] (SCNuLEAST16): Likewise.
70899         [C99-based-standards] (SCNxLEAST16): Likewise.
70900         [C99-based-standards] (PRIdFAST16): Likewise.
70901         [C99-based-standards] (PRIiFAST16): Likewise.
70902         [C99-based-standards] (PRIoFAST16): Likewise.
70903         [C99-based-standards] (PRIuFAST16): Likewise.
70904         [C99-based-standards] (PRIxFAST16): Likewise.
70905         [C99-based-standards] (PRIXFAST16): Likewise.
70906         [C99-based-standards] (SCNdFAST16): Likewise.
70907         [C99-based-standards] (SCNiFAST16): Likewise.
70908         [C99-based-standards] (SCNoFAST16): Likewise.
70909         [C99-based-standards] (SCNuFAST16): Likewise.
70910         [C99-based-standards] (SCNxFAST16): Likewise.
70911         [C99-based-standards] (PRId32): Likewise.
70912         [C99-based-standards] (PRIi32): Likewise.
70913         [C99-based-standards] (PRIo32): Likewise.
70914         [C99-based-standards] (PRIu32): Likewise.
70915         [C99-based-standards] (PRIx32): Likewise.
70916         [C99-based-standards] (PRIX32): Likewise.
70917         [C99-based-standards] (SCNd32): Likewise.
70918         [C99-based-standards] (SCNi32): Likewise.
70919         [C99-based-standards] (SCNo32): Likewise.
70920         [C99-based-standards] (SCNu32): Likewise.
70921         [C99-based-standards] (SCNx32): Likewise.
70922         [C99-based-standards] (PRIdLEAST32): Likewise.
70923         [C99-based-standards] (PRIiLEAST32): Likewise.
70924         [C99-based-standards] (PRIoLEAST32): Likewise.
70925         [C99-based-standards] (PRIuLEAST32): Likewise.
70926         [C99-based-standards] (PRIxLEAST32): Likewise.
70927         [C99-based-standards] (PRIXLEAST32): Likewise.
70928         [C99-based-standards] (SCNdLEAST32): Likewise.
70929         [C99-based-standards] (SCNiLEAST32): Likewise.
70930         [C99-based-standards] (SCNoLEAST32): Likewise.
70931         [C99-based-standards] (SCNuLEAST32): Likewise.
70932         [C99-based-standards] (SCNxLEAST32): Likewise.
70933         [C99-based-standards] (PRIdFAST32): Likewise.
70934         [C99-based-standards] (PRIiFAST32): Likewise.
70935         [C99-based-standards] (PRIoFAST32): Likewise.
70936         [C99-based-standards] (PRIuFAST32): Likewise.
70937         [C99-based-standards] (PRIxFAST32): Likewise.
70938         [C99-based-standards] (PRIXFAST32): Likewise.
70939         [C99-based-standards] (SCNdFAST32): Likewise.
70940         [C99-based-standards] (SCNiFAST32): Likewise.
70941         [C99-based-standards] (SCNoFAST32): Likewise.
70942         [C99-based-standards] (SCNuFAST32): Likewise.
70943         [C99-based-standards] (SCNxFAST32): Likewise.
70944         [C99-based-standards] (PRId64): Likewise.
70945         [C99-based-standards] (PRIi64): Likewise.
70946         [C99-based-standards] (PRIo64): Likewise.
70947         [C99-based-standards] (PRIu64): Likewise.
70948         [C99-based-standards] (PRIx64): Likewise.
70949         [C99-based-standards] (PRIX64): Likewise.
70950         [C99-based-standards] (SCNd64): Likewise.
70951         [C99-based-standards] (SCNi64): Likewise.
70952         [C99-based-standards] (SCNo64): Likewise.
70953         [C99-based-standards] (SCNu64): Likewise.
70954         [C99-based-standards] (SCNx64): Likewise.
70955         [C99-based-standards] (PRIdLEAST64): Likewise.
70956         [C99-based-standards] (PRIiLEAST64): Likewise.
70957         [C99-based-standards] (PRIoLEAST64): Likewise.
70958         [C99-based-standards] (PRIuLEAST64): Likewise.
70959         [C99-based-standards] (PRIxLEAST64): Likewise.
70960         [C99-based-standards] (PRIXLEAST64): Likewise.
70961         [C99-based-standards] (SCNdLEAST64): Likewise.
70962         [C99-based-standards] (SCNiLEAST64): Likewise.
70963         [C99-based-standards] (SCNoLEAST64): Likewise.
70964         [C99-based-standards] (SCNuLEAST64): Likewise.
70965         [C99-based-standards] (SCNxLEAST64): Likewise.
70966         [C99-based-standards] (PRIdFAST64): Likewise.
70967         [C99-based-standards] (PRIiFAST64): Likewise.
70968         [C99-based-standards] (PRIoFAST64): Likewise.
70969         [C99-based-standards] (PRIuFAST64): Likewise.
70970         [C99-based-standards] (PRIxFAST64): Likewise.
70971         [C99-based-standards] (PRIXFAST64): Likewise.
70972         [C99-based-standards] (SCNdFAST64): Likewise.
70973         [C99-based-standards] (SCNiFAST64): Likewise.
70974         [C99-based-standards] (SCNoFAST64): Likewise.
70975         [C99-based-standards] (SCNuFAST64): Likewise.
70976         [C99-based-standards] (SCNxFAST64): Likewise.
70977         [C99-based-standards] (PRIdMAX): Likewise.
70978         [C99-based-standards] (PRIiMAX): Likewise.
70979         [C99-based-standards] (PRIoMAX): Likewise.
70980         [C99-based-standards] (PRIuMAX): Likewise.
70981         [C99-based-standards] (PRIxMAX): Likewise.
70982         [C99-based-standards] (PRIXMAX): Likewise.
70983         [C99-based-standards] (SCNdMAX): Likewise.
70984         [C99-based-standards] (SCNiMAX): Likewise.
70985         [C99-based-standards] (SCNoMAX): Likewise.
70986         [C99-based-standards] (SCNuMAX): Likewise.
70987         [C99-based-standards] (SCNxMAX): Likewise.
70988         [C99-based-standards] (PRIdPTR): Likewise.
70989         [C99-based-standards] (PRIiPTR): Likewise.
70990         [C99-based-standards] (PRIoPTR): Likewise.
70991         [C99-based-standards] (PRIuPTR): Likewise.
70992         [C99-based-standards] (PRIxPTR): Likewise.
70993         [C99-based-standards] (PRIXPTR): Likewise.
70994         [C99-based-standards] (SCNdPTR): Likewise.
70995         [C99-based-standards] (SCNiPTR): Likewise.
70996         [C99-based-standards] (SCNoPTR): Likewise.
70997         [C99-based-standards] (SCNuPTR): Likewise.
70998         [C99-based-standards] (SCNxPTR): Likewise.
70999         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71000         allow.
71001         * conform/data/stdint.h-data: Update comments to clarify
71002         requirements.
71003         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
71004         type.
71005         [C99-based standards] (INT8_MAX): Likewise.
71006         [C99-based standards] (INT16_MIN): Likewise.
71007         [C99-based standards] (INT16_MAX): Likewise.
71008         [C99-based standards] (INT32_MIN): Likewise.
71009         [C99-based standards] (INT32_MAX): Likewise.
71010         [C99-based standards] (INT64_MIN): Likewise.
71011         [C99-based standards] (INT64_MAX): Likewise.
71012         [C99-based standards] (UINT8_MAX): Likewise.
71013         [C99-based standards] (UINT16_MAX): Likewise.
71014         [C99-based standards] (UINT32_MAX): Likewise.
71015         [C99-based standards] (UINT64_MAX): Likewise.
71016         [C99-based standards] (INT_LEAST8_MIN): Likewise.
71017         [C99-based standards] (INT_LEAST8_MAX): Likewise.
71018         [C99-based standards] (INT_LEAST16_MIN): Likewise.
71019         [C99-based standards] (INT_LEAST16_MAX): Likewise.
71020         [C99-based standards] (INT_LEAST32_MIN): Likewise.
71021         [C99-based standards] (INT_LEAST32_MAX): Likewise.
71022         [C99-based standards] (INT_LEAST64_MIN): Likewise.
71023         [C99-based standards] (INT_LEAST64_MAX): Likewise.
71024         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71025         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71026         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71027         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71028         [C99-based standards] (INT_FAST8_MIN): Likewise.
71029         [C99-based standards] (INT_FAST8_MAX): Likewise.
71030         [C99-based standards] (INT_FAST16_MIN): Likewise.
71031         [C99-based standards] (INT_FAST16_MAX): Likewise.
71032         [C99-based standards] (INT_FAST32_MIN): Likewise.
71033         [C99-based standards] (INT_FAST32_MAX): Likewise.
71034         [C99-based standards] (INT_FAST64_MIN): Likewise.
71035         [C99-based standards] (INT_FAST64_MAX): Likewise.
71036         [C99-based standards] (UINT_FAST8_MAX): Likewise.
71037         [C99-based standards] (UINT_FAST16_MAX): Likewise.
71038         [C99-based standards] (UINT_FAST32_MAX): Likewise.
71039         [C99-based standards] (UINT_FAST64_MAX): Likewise.
71040         [C99-based standards] (INTPTR_MIN): Likewise.
71041         [C99-based standards] (INTPTR_MAX): Likewise.
71042         [C99-based standards] (UINTPTR_MAX): Likewise.
71043         [C99-based standards] (INTMAX_MIN): Likewise.
71044         [C99-based standards] (INTMAX_MAX): Likewise.
71045         [C99-based standards] (UINTMAX_MAX): Likewise.
71046         [C99-based standards] (PTRDIFF_MIN): Likewise.
71047         [C99-based standards] (PTRDIFF_MAX): Likewise.
71048         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71049         [C99-based standards] (SIZE_MAX): Likewise.
71050         [C99-based standards] (WCHAR_MAX): Likewise.
71051         [C99-based standards] (WINT_MAX): Likewise.
71052         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
71053         constraint on value.
71054         [C99-based standards] (WCHAR_MIN): Likewise.
71055         [C99-based standards] (WINT_MIN): Likewise.
71056         [C99-based standards] (*_t): Allow.
71057         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71058         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71059         Include math.h-data and complex.h-data.  Remove all expectations
71060         of math.h and complex.h contents.
71061         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71062         at end of line.
71063         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71064         (struct tm): Expect tag.
71065         [C99-based-standards] (wcstof): Expect function.
71066         [C99-based-standards] (wcstold): Likewise.
71067         [C99-based-standards] (wcstoll): Likewise.
71068         [C99-based-standards] (wcstoull): Likewise.
71069         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71070         macro-int-constant.  Specify type.
71071         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71072         constraint on value.
71073         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71074         Specify type.
71075         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71076         Specify value.
71077         [ISO C standards]: Do not allow headers.
71078         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71079         wcs[abcdefghijklmnopqrstuvwxyz]*.
71080         [ISO C standards] (*_t): Do not allow.
71081         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71082         Expect function.
71083         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71084         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71085         Specify type.
71086         [ISO C standards]: Do not allow headers.
71087         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71088         is[abcdefghijklmnopqrstuvwxyz]*.
71089         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71090         to[abcdefghijklmnopqrstuvwxyz]*.
71091         [ISO C standards] (*_t): Do not allow.
71092         * conform/data/stdalign.h-data: New file.
71093         * conform/data/stdbool.h-data: Likewise.
71094         * conform/data/stdnoreturn.h-data: Likewise.
71096 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71098         [BZ #14815]
71099         * manual/filesys.texi (Directory Entries): Typo fix.
71100         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71102 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71104         * elf/elf.h (EM_AARCH64): New macro.
71105         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71106         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71107         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71108         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71109         (R_AARCH64_TLSDESC): Likewise.
71110         (NT_ARM_TLS): Likewise.
71111         (NT_ARM_HW_BREAK): Likewise.
71112         (NT_ARM_HW_WATCH): Likewise.
71114 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71116         [BZ #14811]
71117         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71118         (__ieee754_powl): Saturate nonzero exponents with absolute value
71119         below 0x1p-79 to +/- 0x1p-79.
71120         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71121         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71122         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71123         nonzero exponents with absolute value below 0x1p-32 to +/-
71124         0x1p-32.
71125         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71126         (__ieee754_powl): Saturate nonzero exponents with absolute value
71127         below 0x1p-79 to +/- 0x1p-79.
71128         * math/libm-test.inc (pow_test): Add more tests.
71130 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71132         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71133         _dl_s390_cap_flags with kernel. Increase string length.
71134         (_dl_s390_platforms): Add z196 and zEC12.
71136 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71138         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71139         Change XOPEN21K to XOPEN2K.
71141 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71143         * string/memmove.c: Use memcpy when possible.
71145 2012-11-06  Andreas Jaeger  <aj@suse.de>
71147         * po/eo.po: Update from translation team.
71149 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71151         [BZ #14793]
71152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71153         exponent and small x and y exponents, scale x or y up.  Increase
71154         by 2 the exponent used in scaling up.
71155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71156         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71157         * math/libm-test.inc (fma_test): Add more tests.
71158         (fma_test_towardzero): Likewise.
71159         (fma_test_downward): Likewise.
71160         (fma_test_upward): Likewise.
71162 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71164         [BZ #14805]
71165         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71166         fenv_t *.
71168         [BZ #14801]
71169         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71170         namespace for names of struct fields.
71171         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71172         fenv_t fields.
71173         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71174         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71176 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71178         [BZ #3665]
71179         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71181 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71183         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71184         PTR_DEMANGLE.
71186         [BZ #5246]
71187         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71188         PTR_DEMANGLE.
71190 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
71192         [BZ #14797]
71193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71194         definitely overflow as x * y not x * y + z.
71195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71197         * math/libm-test.inc (fma_test): Add more tests.
71198         (fma_test_towardzero): Likewise.
71199         (fma_test_downward): Likewise.
71200         (fma_test_upward): Likewise.
71202 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71204         [BZ #157]
71206         * include/stub-tag.h: Remove file.
71207         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71208         '#include' of it.
71209         * manual/maint.texi (Porting): Don't reference it.
71210         * Makerules ($(objpfx)stubs): Likewise.
71211         * dirent/closedir.c: Don't include <stub-tag.h>.
71212         * dirent/dirfd.c: Likewise.
71213         * dirent/fdopendir.c: Likewise.
71214         * dirent/getdents.c: Likewise.
71215         * dirent/getdents64.c: Likewise.
71216         * dirent/opendir.c: Likewise.
71217         * dirent/readdir.c: Likewise.
71218         * dirent/readdir64.c: Likewise.
71219         * dirent/readdir64_r.c: Likewise.
71220         * dirent/readdir_r.c: Likewise.
71221         * dirent/rewinddir.c: Likewise.
71222         * dirent/seekdir.c: Likewise.
71223         * dirent/telldir.c: Likewise.
71224         * gmon/profil.c: Likewise.
71225         * grp/setgroups.c: Likewise.
71226         * inet/if_index.c: Likewise.
71227         * io/access.c: Likewise.
71228         * io/chdir.c: Likewise.
71229         * io/chmod.c: Likewise.
71230         * io/chown.c: Likewise.
71231         * io/close.c: Likewise.
71232         * io/dup.c: Likewise.
71233         * io/dup2.c: Likewise.
71234         * io/dup3.c: Likewise.
71235         * io/euidaccess.c: Likewise.
71236         * io/faccessat.c: Likewise.
71237         * io/fchdir.c: Likewise.
71238         * io/fchmod.c: Likewise.
71239         * io/fchmodat.c: Likewise.
71240         * io/fchown.c: Likewise.
71241         * io/fchownat.c: Likewise.
71242         * io/fcntl.c: Likewise.
71243         * io/flock.c: Likewise.
71244         * io/fstatfs.c: Likewise.
71245         * io/fstatfs64.c: Likewise.
71246         * io/fstatvfs.c: Likewise.
71247         * io/fstatvfs64.c: Likewise.
71248         * io/futimens.c: Likewise.
71249         * io/fxstat.c: Likewise.
71250         * io/fxstat64.c: Likewise.
71251         * io/fxstatat.c: Likewise.
71252         * io/fxstatat64.c: Likewise.
71253         * io/getcwd.c: Likewise.
71254         * io/isatty.c: Likewise.
71255         * io/lchmod.c: Likewise.
71256         * io/lchown.c: Likewise.
71257         * io/link.c: Likewise.
71258         * io/linkat.c: Likewise.
71259         * io/lseek.c: Likewise.
71260         * io/lseek64.c: Likewise.
71261         * io/lxstat64.c: Likewise.
71262         * io/mkdir.c: Likewise.
71263         * io/mkdirat.c: Likewise.
71264         * io/mkfifo.c: Likewise.
71265         * io/mkfifoat.c: Likewise.
71266         * io/open.c: Likewise.
71267         * io/open64.c: Likewise.
71268         * io/openat.c: Likewise.
71269         * io/openat64.c: Likewise.
71270         * io/pipe.c: Likewise.
71271         * io/pipe2.c: Likewise.
71272         * io/poll.c: Likewise.
71273         * io/posix_fadvise.c: Likewise.
71274         * io/posix_fadvise64.c: Likewise.
71275         * io/posix_fallocate.c: Likewise.
71276         * io/posix_fallocate64.c: Likewise.
71277         * io/read.c: Likewise.
71278         * io/readlink.c: Likewise.
71279         * io/readlinkat.c: Likewise.
71280         * io/rmdir.c: Likewise.
71281         * io/sendfile.c: Likewise.
71282         * io/sendfile64.c: Likewise.
71283         * io/statfs.c: Likewise.
71284         * io/statfs64.c: Likewise.
71285         * io/statvfs.c: Likewise.
71286         * io/statvfs64.c: Likewise.
71287         * io/symlink.c: Likewise.
71288         * io/symlinkat.c: Likewise.
71289         * io/ttyname.c: Likewise.
71290         * io/ttyname_r.c: Likewise.
71291         * io/umask.c: Likewise.
71292         * io/unlink.c: Likewise.
71293         * io/unlinkat.c: Likewise.
71294         * io/utime.c: Likewise.
71295         * io/utimensat.c: Likewise.
71296         * io/write.c: Likewise.
71297         * io/xmknod.c: Likewise.
71298         * io/xmknodat.c: Likewise.
71299         * io/xstat.c: Likewise.
71300         * io/xstat64.c: Likewise.
71301         * login/getpt.c: Likewise.
71302         * login/grantpt.c: Likewise.
71303         * login/unlockpt.c: Likewise.
71304         * math/e_acoshl.c: Likewise.
71305         * math/e_acosl.c: Likewise.
71306         * math/e_asinl.c: Likewise.
71307         * math/e_atan2l.c: Likewise.
71308         * math/e_atanhl.c: Likewise.
71309         * math/e_coshl.c: Likewise.
71310         * math/e_expl.c: Likewise.
71311         * math/e_fmodl.c: Likewise.
71312         * math/e_gammal_r.c: Likewise.
71313         * math/e_hypotl.c: Likewise.
71314         * math/e_j0l.c: Likewise.
71315         * math/e_j1l.c: Likewise.
71316         * math/e_jnl.c: Likewise.
71317         * math/e_lgammal_r.c: Likewise.
71318         * math/e_log10l.c: Likewise.
71319         * math/e_log2l.c: Likewise.
71320         * math/e_logl.c: Likewise.
71321         * math/e_powl.c: Likewise.
71322         * math/e_rem_pio2l.c: Likewise.
71323         * math/e_sinhl.c: Likewise.
71324         * math/e_sqrtl.c: Likewise.
71325         * math/fclrexcpt.c: Likewise.
71326         * math/fedisblxcpt.c: Likewise.
71327         * math/feenablxcpt.c: Likewise.
71328         * math/fegetenv.c: Likewise.
71329         * math/fegetexcept.c: Likewise.
71330         * math/fegetround.c: Likewise.
71331         * math/feholdexcpt.c: Likewise.
71332         * math/fesetenv.c: Likewise.
71333         * math/fesetround.c: Likewise.
71334         * math/feupdateenv.c: Likewise.
71335         * math/fgetexcptflg.c: Likewise.
71336         * math/fraiseexcpt.c: Likewise.
71337         * math/fsetexcptflg.c: Likewise.
71338         * math/ftestexcept.c: Likewise.
71339         * math/k_cosl.c: Likewise.
71340         * math/k_rem_pio2l.c: Likewise.
71341         * math/k_sinl.c: Likewise.
71342         * math/k_tanl.c: Likewise.
71343         * math/s_asinhl.c: Likewise.
71344         * math/s_atanl.c: Likewise.
71345         * math/s_cbrtl.c: Likewise.
71346         * math/s_erfl.c: Likewise.
71347         * math/s_expm1l.c: Likewise.
71348         * math/s_log1pl.c: Likewise.
71349         * math/s_tanhl.c: Likewise.
71350         * misc/acct.c: Likewise.
71351         * misc/brk.c: Likewise.
71352         * misc/chflags.c: Likewise.
71353         * misc/chroot.c: Likewise.
71354         * misc/fchflags.c: Likewise.
71355         * misc/fgetxattr.c: Likewise.
71356         * misc/flistxattr.c: Likewise.
71357         * misc/fremovexattr.c: Likewise.
71358         * misc/fsetxattr.c: Likewise.
71359         * misc/fsync.c: Likewise.
71360         * misc/ftruncate.c: Likewise.
71361         * misc/futimes.c: Likewise.
71362         * misc/futimesat.c: Likewise.
71363         * misc/getdomain.c: Likewise.
71364         * misc/getdtsz.c: Likewise.
71365         * misc/gethostid.c: Likewise.
71366         * misc/gethostname.c: Likewise.
71367         * misc/getloadavg.c: Likewise.
71368         * misc/getpagesize.c: Likewise.
71369         * misc/getsysstats.c: Likewise.
71370         * misc/getxattr.c: Likewise.
71371         * misc/gtty.c: Likewise.
71372         * misc/ioctl.c: Likewise.
71373         * misc/lgetxattr.c: Likewise.
71374         * misc/listxattr.c: Likewise.
71375         * misc/llistxattr.c: Likewise.
71376         * misc/lremovexattr.c: Likewise.
71377         * misc/lsetxattr.c: Likewise.
71378         * misc/lutimes.c: Likewise.
71379         * misc/madvise.c: Likewise.
71380         * misc/mincore.c: Likewise.
71381         * misc/mlock.c: Likewise.
71382         * misc/mlockall.c: Likewise.
71383         * misc/mmap.c: Likewise.
71384         * misc/mprotect.c: Likewise.
71385         * misc/msync.c: Likewise.
71386         * misc/munlock.c: Likewise.
71387         * misc/munlockall.c: Likewise.
71388         * misc/munmap.c: Likewise.
71389         * misc/preadv.c: Likewise.
71390         * misc/preadv64.c: Likewise.
71391         * misc/ptrace.c: Likewise.
71392         * misc/pwritev.c: Likewise.
71393         * misc/pwritev64.c: Likewise.
71394         * misc/readv.c: Likewise.
71395         * misc/reboot.c: Likewise.
71396         * misc/remap_file_pages.c: Likewise.
71397         * misc/removexattr.c: Likewise.
71398         * misc/revoke.c: Likewise.
71399         * misc/select.c: Likewise.
71400         * misc/setdomain.c: Likewise.
71401         * misc/setegid.c: Likewise.
71402         * misc/seteuid.c: Likewise.
71403         * misc/sethostid.c: Likewise.
71404         * misc/sethostname.c: Likewise.
71405         * misc/setregid.c: Likewise.
71406         * misc/setreuid.c: Likewise.
71407         * misc/setxattr.c: Likewise.
71408         * misc/sstk.c: Likewise.
71409         * misc/stty.c: Likewise.
71410         * misc/swapoff.c: Likewise.
71411         * misc/swapon.c: Likewise.
71412         * misc/sync.c: Likewise.
71413         * misc/syncfs.c: Likewise.
71414         * misc/syscall.c: Likewise.
71415         * misc/truncate.c: Likewise.
71416         * misc/ualarm.c: Likewise.
71417         * misc/usleep.c: Likewise.
71418         * misc/ustat.c: Likewise.
71419         * misc/utimes.c: Likewise.
71420         * misc/vhangup.c: Likewise.
71421         * misc/writev.c: Likewise.
71422         * posix/_exit.c: Likewise.
71423         * posix/alarm.c: Likewise.
71424         * posix/execve.c: Likewise.
71425         * posix/fexecve.c: Likewise.
71426         * posix/fork.c: Likewise.
71427         * posix/fpathconf.c: Likewise.
71428         * posix/getaddrinfo.c: Likewise.
71429         * posix/getegid.c: Likewise.
71430         * posix/geteuid.c: Likewise.
71431         * posix/getgid.c: Likewise.
71432         * posix/getgroups.c: Likewise.
71433         * posix/getlogin.c: Likewise.
71434         * posix/getlogin_r.c: Likewise.
71435         * posix/getpgid.c: Likewise.
71436         * posix/getpid.c: Likewise.
71437         * posix/getppid.c: Likewise.
71438         * posix/getresgid.c: Likewise.
71439         * posix/getresuid.c: Likewise.
71440         * posix/getsid.c: Likewise.
71441         * posix/getuid.c: Likewise.
71442         * posix/glob64.c: Likewise.
71443         * posix/nanosleep.c: Likewise.
71444         * posix/pathconf.c: Likewise.
71445         * posix/pause.c: Likewise.
71446         * posix/posix_madvise.c: Likewise.
71447         * posix/pread.c: Likewise.
71448         * posix/pread64.c: Likewise.
71449         * posix/pwrite.c: Likewise.
71450         * posix/pwrite64.c: Likewise.
71451         * posix/sched_getaffinity.c: Likewise.
71452         * posix/sched_getp.c: Likewise.
71453         * posix/sched_gets.c: Likewise.
71454         * posix/sched_primax.c: Likewise.
71455         * posix/sched_primin.c: Likewise.
71456         * posix/sched_rr_gi.c: Likewise.
71457         * posix/sched_setaffinity.c: Likewise.
71458         * posix/sched_setp.c: Likewise.
71459         * posix/sched_sets.c: Likewise.
71460         * posix/sched_yield.c: Likewise.
71461         * posix/setgid.c: Likewise.
71462         * posix/setlogin.c: Likewise.
71463         * posix/setpgid.c: Likewise.
71464         * posix/setresgid.c: Likewise.
71465         * posix/setresuid.c: Likewise.
71466         * posix/setsid.c: Likewise.
71467         * posix/setuid.c: Likewise.
71468         * posix/sleep.c: Likewise.
71469         * posix/spawni.c: Likewise.
71470         * posix/sysconf.c: Likewise.
71471         * posix/times.c: Likewise.
71472         * posix/wait.c: Likewise.
71473         * posix/wait3.c: Likewise.
71474         * posix/wait4.c: Likewise.
71475         * posix/waitpid.c: Likewise.
71476         * resolv/gai_sigqueue.c: Likewise.
71477         * resource/getpriority.c: Likewise.
71478         * resource/getrlimit.c: Likewise.
71479         * resource/getrusage.c: Likewise.
71480         * resource/nice.c: Likewise.
71481         * resource/setpriority.c: Likewise.
71482         * resource/setrlimit.c: Likewise.
71483         * resource/ulimit.c: Likewise.
71484         * rt/aio_cancel.c: Likewise.
71485         * rt/aio_fsync.c: Likewise.
71486         * rt/aio_read.c: Likewise.
71487         * rt/aio_sigqueue.c: Likewise.
71488         * rt/aio_suspend.c: Likewise.
71489         * rt/aio_write.c: Likewise.
71490         * rt/clock_getres.c: Likewise.
71491         * rt/clock_gettime.c: Likewise.
71492         * rt/clock_nanosleep.c: Likewise.
71493         * rt/clock_settime.c: Likewise.
71494         * rt/lio_listio.c: Likewise.
71495         * rt/mq_close.c: Likewise.
71496         * rt/mq_getattr.c: Likewise.
71497         * rt/mq_notify.c: Likewise.
71498         * rt/mq_open.c: Likewise.
71499         * rt/mq_receive.c: Likewise.
71500         * rt/mq_send.c: Likewise.
71501         * rt/mq_setattr.c: Likewise.
71502         * rt/mq_timedreceive.c: Likewise.
71503         * rt/mq_timedsend.c: Likewise.
71504         * rt/mq_unlink.c: Likewise.
71505         * rt/shm_open.c: Likewise.
71506         * rt/shm_unlink.c: Likewise.
71507         * rt/timer_create.c: Likewise.
71508         * rt/timer_delete.c: Likewise.
71509         * rt/timer_getoverr.c: Likewise.
71510         * rt/timer_gettime.c: Likewise.
71511         * rt/timer_settime.c: Likewise.
71512         * setjmp/__longjmp.c: Likewise.
71513         * setjmp/setjmp.c: Likewise.
71514         * signal/kill.c: Likewise.
71515         * signal/killpg.c: Likewise.
71516         * signal/raise.c: Likewise.
71517         * signal/sigaction.c: Likewise.
71518         * signal/sigaltstack.c: Likewise.
71519         * signal/sigblock.c: Likewise.
71520         * signal/sigignore.c: Likewise.
71521         * signal/sigintr.c: Likewise.
71522         * signal/signal.c: Likewise.
71523         * signal/sigpause.c: Likewise.
71524         * signal/sigpending.c: Likewise.
71525         * signal/sigqueue.c: Likewise.
71526         * signal/sigreturn.c: Likewise.
71527         * signal/sigset.c: Likewise.
71528         * signal/sigsetmask.c: Likewise.
71529         * signal/sigstack.c: Likewise.
71530         * signal/sigsuspend.c: Likewise.
71531         * signal/sigtimedwait.c: Likewise.
71532         * signal/sigvec.c: Likewise.
71533         * signal/sigwait.c: Likewise.
71534         * signal/sigwaitinfo.c: Likewise.
71535         * signal/sysv_signal.c: Likewise.
71536         * socket/accept.c: Likewise.
71537         * socket/accept4.c: Likewise.
71538         * socket/bind.c: Likewise.
71539         * socket/connect.c: Likewise.
71540         * socket/getpeername.c: Likewise.
71541         * socket/getsockname.c: Likewise.
71542         * socket/getsockopt.c: Likewise.
71543         * socket/isfdtype.c: Likewise.
71544         * socket/listen.c: Likewise.
71545         * socket/recv.c: Likewise.
71546         * socket/recvfrom.c: Likewise.
71547         * socket/recvmsg.c: Likewise.
71548         * socket/send.c: Likewise.
71549         * socket/sendmsg.c: Likewise.
71550         * socket/sendto.c: Likewise.
71551         * socket/setsockopt.c: Likewise.
71552         * socket/shutdown.c: Likewise.
71553         * socket/sockatmark.c: Likewise.
71554         * socket/socket.c: Likewise.
71555         * socket/socketpair.c: Likewise.
71556         * stdio-common/ctermid.c: Likewise.
71557         * stdio-common/cuserid.c: Likewise.
71558         * stdio-common/remove.c: Likewise.
71559         * stdio-common/rename.c: Likewise.
71560         * stdio-common/renameat.c: Likewise.
71561         * stdio-common/tempname.c: Likewise.
71562         * stdlib/getcontext.c: Likewise.
71563         * stdlib/makecontext.c: Likewise.
71564         * stdlib/setcontext.c: Likewise.
71565         * stdlib/swapcontext.c: Likewise.
71566         * stdlib/system.c: Likewise.
71567         * streams/fattach.c: Likewise.
71568         * streams/fdetach.c: Likewise.
71569         * streams/getmsg.c: Likewise.
71570         * streams/getpmsg.c: Likewise.
71571         * streams/putmsg.c: Likewise.
71572         * streams/putpmsg.c: Likewise.
71573         * sysdeps/unix/bsd/getpt.c: Likewise.
71574         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
71575         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
71576         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
71577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71578         Likewise.
71579         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
71580         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71581         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
71582         * sysvipc/msgctl.c: Likewise.
71583         * sysvipc/msgget.c: Likewise.
71584         * sysvipc/msgrcv.c: Likewise.
71585         * sysvipc/msgsnd.c: Likewise.
71586         * sysvipc/semctl.c: Likewise.
71587         * sysvipc/semget.c: Likewise.
71588         * sysvipc/semop.c: Likewise.
71589         * sysvipc/semtimedop.c: Likewise.
71590         * sysvipc/shmat.c: Likewise.
71591         * sysvipc/shmctl.c: Likewise.
71592         * sysvipc/shmdt.c: Likewise.
71593         * sysvipc/shmget.c: Likewise.
71594         * termios/tcdrain.c: Likewise.
71595         * termios/tcflow.c: Likewise.
71596         * termios/tcflush.c: Likewise.
71597         * termios/tcgetattr.c: Likewise.
71598         * termios/tcgetpgrp.c: Likewise.
71599         * termios/tcsendbrk.c: Likewise.
71600         * termios/tcsetattr.c: Likewise.
71601         * termios/tcsetpgrp.c: Likewise.
71602         * time/adjtime.c: Likewise.
71603         * time/clock.c: Likewise.
71604         * time/getitimer.c: Likewise.
71605         * time/gettimeofday.c: Likewise.
71606         * time/setitimer.c: Likewise.
71607         * time/settimeofday.c: Likewise.
71608         * time/stime.c: Likewise.
71609         * time/time.c: Likewise.
71611 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
71613         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
71614         /usr/old/bin.
71616         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
71617         instead of spaces.
71618         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
71620 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
71622         [BZ #14796]
71623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71624         FE_TONEAREST before applying Dekker multiplication and Knuth
71625         addition.  Clear inexact exceptions and check for exact zero
71626         results afterwards.
71627         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71628         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71629         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71630         * math/libm-test.inc (fma_test): Add more tests.
71631         (fma_test_towardzero): Likewise.
71632         (fma_test_downward): Likewise.
71633         (fma_test_upward): Likewise.
71634         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71635         function.
71636         (libc_fesetround): New macro.
71637         (libc_fesetroundf): Likewise.
71638         (libc_fesetroundl): Likewise.
71639         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71640         function.
71641         (libc_fesetround_387): Likewise.
71642         (libc_fesetroundf): New macro.
71643         (libc_fesetround): Likewise.
71644         (libc_fesetroundl): Likewise.
71645         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71646         function.
71647         (libc_fesetroundf): New macro.
71648         (libc_fesetround): Likewise.
71649         (libc_fesetroundl): Likewise.
71650         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71651         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71652         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71653         libm_hidden_ver.
71654         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71655         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71656         libm_hidden_def.
71657         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71658         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71659         libm_hidden_ver.
71660         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71661         libm_hidden_def.
71663         [BZ #3439]
71664         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71665         integer constant usable in #if and use that to give value to enum
71666         constant.
71667         (FE_DIVBYZERO): Likewise.
71668         (FE_UNDERFLOW): Likewise.
71669         (FE_OVERFLOW): Likewise.
71670         (FE_INVALID): Likewise.
71671         (FE_INVALID_SNAN): Likewise.
71672         (FE_INVALID_ISI): Likewise.
71673         (FE_INVALID_IDI): Likewise.
71674         (FE_INVALID_ZDZ): Likewise.
71675         (FE_INVALID_IMZ): Likewise.
71676         (FE_INVALID_COMPARE): Likewise.
71677         (FE_INVALID_SOFTWARE): Likewise.
71678         (FE_INVALID_SQRT): Likewise.
71679         (FE_INVALID_INTEGER_CONVERSION): Likewise.
71680         (FE_TONEAREST): Likewise.
71681         (FE_TOWARDZERO): Likewise.
71682         (FE_UPWARD): Likewise.
71683         (FE_DOWNWARD): Likewise.
71684         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
71685         (FE_DIVBYZERO): Likewise.
71686         (FE_OVERFLOW): Likewise.
71687         (FE_UNDERFLOW): Likewise.
71688         (FE_INEXACT): Likewise.
71689         (FE_TONEAREST): Likewise.
71690         (FE_DOWNWARD): Likewise.
71691         (FE_UPWARD): Likewise.
71692         (FE_TOWARDZERO): Likewise.
71693         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
71694         (FE_UNDERFLOW): Likewise.
71695         (FE_OVERFLOW): Likewise.
71696         (FE_DIVBYZERO): Likewise.
71697         (FE_INVALID): Likewise.
71698         (FE_TONEAREST): Likewise.
71699         (FE_TOWARDZERO): Likewise.
71700         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
71701         (FE_OVERFLOW): Likewise.
71702         (FE_UNDERFLOW): Likewise.
71703         (FE_DIVBYZERO): Likewise.
71704         (FE_INEXACT): Likewise.
71705         (FE_TONEAREST): Likewise.
71706         (FE_TOWARDZERO): Likewise.
71707         (FE_UPWARD): Likewise.
71708         (FE_DOWNWARD): Likewise.
71709         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
71710         (FE_DIVBYZERO): Likewise.
71711         (FE_OVERFLOW): Likewise.
71712         (FE_UNDERFLOW): Likewise.
71713         (FE_INEXACT): Likewise.
71714         (FE_TONEAREST): Likewise.
71715         (FE_DOWNWARD): Likewise.
71716         (FE_UPWARD): Likewise.
71717         (FE_TOWARDZERO): Likewise.
71719 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
71721         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
71723 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
71725         * scripts/cross-test-ssh.sh (command): Use newlines to separate
71726         commands.  Quote $PWD.
71727         (blacklist_exports): Don't use remove_newlines.  Replace "declare
71728         -x" by "export".
71729         (remove_newlines): Remove.
71731 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
71733         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
71734         * stdlib/stdlib.h (atof): Moved to ...
71735         * include/bits/stdlib-float.h: Here.  New file.
71736         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
71737         * stdlib/bits/stdlib-float.h: New file.
71738         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
71739         -mno-sse -mno-mmx.
71740         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
71741         <xmmintrin.h>.
71743 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71745         * conform/conformtest.pl (@headers): Add fenv.h.
71746         * conform/data/fenv.h-data: New file.
71747         * include/fenv.h [_ISOMAC]: Disable all contents of file except
71748         include of <math/fenv.h>.
71750         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
71751         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
71752         && !UNIX98].  Enables tests for XOPEN2K8.
71753         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
71754         POSIX2008]: Likewise.
71756         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
71757         (struct rusage): Do not expect type or its members.
71759         [BZ #3439]
71760         * math/math.h (FP_NAN): Define macro to integer constant usable in
71761         #if and use that to give value to enum constant.
71762         (FP_INFINITE): Likewise.
71763         (FP_ZERO): Likewise.
71764         (FP_SUBNORMAL): Likewise.
71765         (FP_NORMAL): Likewise.
71767 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
71769         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
71770         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
71771         arguments.
71773 2012-11-02  Roland McGrath  <roland@hack.frob.com>
71775         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
71776         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
71777         autoconf-time if not.
71778         * configure.in: Remove AC_PREREQ.
71780 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71782         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
71783         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
71784         of the internal implementation.
71786 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71788         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71789         except include of <misc/sys/syslog.h>.
71791 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
71794         function returns with a NULL context exit with zero.
71796 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71798         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
71800 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
71802         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
71803         (run_program_cmd): This.
71804         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
71805         (tst_langinfo): New variable.  Use it.
71807 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
71809         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
71810         floating point opcodes.
71812 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71814         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
71815         variable.
71817         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
71819         * sysdeps/mach/hurd/powerpc: Remove directory.
71820         * sysdeps/mach/powerpc: Likewise.
71822 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71824         * scripts/check-local-headers.sh: Ignore c++ headers.
71826 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71828         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
71829         __libc_cleanup_region_start argument.
71831 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
71833         [BZ #14784]
71834         [BZ #14785]
71835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
71836         x * y using scaling, not as x * y + z.
71837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71838         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71839         * math/libm-test.inc (fma_test): Add more tests.
71840         (fma_test_towardzero): Likewise.
71841         (fma_test_downward): Likewise.
71842         (fma_test_upward): Likewise.
71844 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71846         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
71848 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71850         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
71851         New variable.
71853 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
71855         * rt/tst-shm.c (worker): Correct checking for mmap failure.
71857 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71860         Fix sort order.
71861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71862         Likewise.
71864 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71867         Fix the order of the list for glibc 2.17.
71868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71869         Likewise.
71871 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71875 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71877         [BZ #14610]
71878         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
71879         for low part of x being zero before using __atanl (y).
71880         * math/libm-test.inc (atan2_test): Add another test.
71882         * manual/install.texi (Configuring and compiling): Document
71883         general use of test-wrapper and test-wrapper-env.
71884         * INSTALL: Regenerated.
71886         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
71887         (__fma): Do not extract and scale down low bits on after-rounding
71888         systems when result rounded to normal precision would have normal
71889         exponent.
71890         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
71891         (__fmal): Do not extract and scale down low bits on after-rounding
71892         systems when result rounded to normal precision would have normal
71893         exponent.
71894         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
71895         (__fmal): Do not extract and scale down low bits on after-rounding
71896         systems when result rounded to normal precision would have normal
71897         exponent.
71898         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
71899         macro.
71900         (fma_test): Add more tests.
71901         (fma_test_towardzero): Likewise.
71902         (fma_test_downward): Likewise.
71903         (fma_test_upward): Likewise.
71905 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
71907         * sysdeps/i386/tininess.h: Renamed to ...
71908         * sysdeps/x86/tininess.h: This.
71909         * sysdeps/x86_64/tininess.h: Removed.
71911 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71913         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
71914         input.  Use $(build-program-cmd).
71915         ($(objpfx)tst-array1-static.out): Likewise.
71916         ($(objpfx)tst-array2.out): Likewise.
71917         ($(objpfx)tst-array3.out): Likewise.
71918         ($(objpfx)tst-array4.out): Likewise.
71919         ($(objpfx)tst-array5.out): Likewise.
71920         ($(objpfx)tst-array5-static.out): Likewise.
71922 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
71924         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
71925         if defined.
71927         * nss/nsswitch.h (nss_interface_function): Provide new
71928         macro for use with NSS functions.
71929         * grp/initgroups.c: Use new macro.
71930         * nss/getXXbyYY.c: Likewise.
71931         * nss/getXXbyYY_r.c: Likewise.
71932         * nss/getXXent.c: Likewise.
71933         * nss/getXXent_r.c: Likewise.
71934         * sysdeps/posix/getaddrinfo.c: Likewise.
71936 2012-10-30  Andreas Jaeger  <aj@suse.de>
71938         * po/ru.po: Update Russion translation from translation project.
71940 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71942         [BZ #14152]
71943         [BZ #14783]
71944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
71945         result and shift together with sticky bit instead of replicating
71946         round-to-nearest rounding.
71947         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71949         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
71950         missing underflow exceptions.
71951         (fma_test_towardzero): Add more tests.
71952         (fma_test_downward): Likewise.
71953         (fma_test_upward): Likewise.
71955         [BZ #14047]
71956         * sysdeps/generic/tininess.h: New file.
71957         * sysdeps/i386/tininess.h: Likewise.
71958         * sysdeps/sh/tininess.h: Likewise.
71959         * sysdeps/x86_64/tininess.h: Likewise.
71960         * stdlib/tst-strtod-underflow.c: Likewise.
71961         * stdlib/tst-tininess.c: Likewise.
71962         * stdlib/strtod_l.c: Include <tininess.h>.
71963         (round_and_return): Do not set errno for exact underflow cases.
71964         Force an underflow exception when setting errno for underflow.
71965         Determine underflow based on rounding to normal precision if
71966         TININESS_AFTER_ROUNDING.
71967         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
71968         ERANGE for exact underflow cases.
71969         * stdlib/Makefile (tests): Add tst-tininess and
71970         tst-strtod-underflow.
71971         ($(objpfx)tst-tininess): Use $(link-libm).
71972         ($(objpfx)tst-strtod-underflow): Likewise.
71974 2012-10-30  Andreas Jaeger  <aj@suse.de>
71976         [BZ #14767]
71977         * elf/Makefile (tests): Remove conditional for have-initfini-array
71978         since this is now always required and the variable does not exist
71979         anymore.
71980         (tests-static): Likewise.
71981         (modules-names): Likewise.
71983         * po/eo.po: Add Esperanto translation from translation project.
71985         * elf/tst-array1.c (fini_array): Make writeable so that it can be
71986         merged with constructor/destructor.
71987         (init_array): Likewise.
71988         * elf/tst-array2dep.c (fini_array): Likewise.
71989         (init_array): Likewise.
71991 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
71993         * manual/message.texi: Delete @cartouche tags.
71995 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
71997         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
71998         EOPNOTSUPP.
71999         * sysdeps/mach/hurd/fsync.c: Likewise.
72001         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72002         [_POSIX_REALTIME_SIGNALS]: Change condition to
72003         [_POSIX_REALTIME_SIGNALS > 0].
72005 2012-10-27  Andreas Jaeger  <aj@suse.de>
72007         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72008         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72009         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72010         [__WORDSIZE != 64]: Likewise.
72012 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
72014         *  iconvdata/tst-table.sh: Remove ${SHELL}.
72015         *  iconvdata/tst-tables.sh: Likewise.
72017 2012-10-25  David S. Miller  <davem@davemloft.net>
72019         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72020         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72021         of strtoull.
72023         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72024         ifunc-impl-list.c
72025         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72026         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72027         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72028         file.
72030 2012-10-25  Roland McGrath  <roland@hack.frob.com>
72032         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72033         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72034         __getdirentries.
72036 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72037             Jim Blandy  <jimb@codesourcery.com>
72039         * scripts/cross-test-ssh.sh: New file.
72040         * manual/install.texi (Configuring and compiling): Document use of
72041         cross-test-ssh.sh.
72042         * INSTALL: Regenerated.
72044 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
72046         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72047         EOPNOTSUPP.
72049 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72051         * Makeconfig (run-program-prefix): Fix comment.
72053 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72054             Jim Blandy  <jimb@codesourcery.com>
72056         * Makeconfig (test-wrapper): New variable,
72057         (test-wrapper-env): Likewise.
72058         [$(cross-compiling) = yes && $(test-wrapper) != ""]
72059         (run-built-tests): Define to yes.
72060         (run-program-prefix): Use $(test-wrapper).
72061         (built-program-cmd): Likewise.
72062         * Rules (make-test-out): Use $(test-wrapper-env) and
72063         $(host-built-program-cmd).
72064         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72065         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72066         tst-pathopt.sh.
72067         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72068         $(test-wrapper-env) to tst-rtld-load-self.sh.
72069         ($(objpfx)order2.out): Use $(test-wrapper).
72070         ($(objpfx)tst-initorder.out): Likewise.
72071         ($(objpfx)tst-initorder2.out): Likewise.
72072         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72073         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72074         (test_wrapper_env): New variable.  Use it to run ld.so.
72075         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72076         Use it to run ld.so.
72077         (test_wrapper_env): Likewise.
72078         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72079         $(test-wrapper) to run-iconv-test.sh.
72080         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72081         (ICONV): Use $test_wrapper.
72082         * posix/Makefile ($(objpfx)globtest.out): Pass
72083         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72084         globtest.sh, not $(run-program-prefix).
72085         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72086         (test_wrapper): Likewise.
72087         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72088         set together with run_via_rtld_prefix.
72089         (run_program_prefix): Define in terms of test_wrapper and
72090         run_via_rtld_prefix.
72092 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72094         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72095         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72096         Targets removed.
72098         [BZ #14743]
72099         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72100         Declare __clock_getres, __clock_gettime, __clock_settime,
72101         __clock_nanosleep, and __clock_getcpuclockid.
72102         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72103         Remove librt_hidden_def (clock_gettime).
72104         * sysdeps/unix/clock_gettime.c: Likewise.
72105         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72106         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72107         * rt/clock_getres.c: Define __clock_getres as an alias.
72108         * sysdeps/posix/clock_getres.c: Likewise.
72109         * rt/clock_settime.c: Define __clock_settime as an alias.
72110         * sysdeps/unix/clock_settime.c: Likewise.
72111         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72112         * sysdeps/unix/clock_nanosleep.c: Likewise.
72113         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72114         * rt/clock-compat.c: New file.
72115         * rt/Makefile (librt-routines): Add clock-compat and move
72116         $(clock-routines) to ...
72117         (routines): ... here, new variable.
72118         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72119         Don't add get_clockfreq here.
72120         * rt/Versions (libc: GLIBC_2.17): New version set.
72121         Add clock_* symbols here.
72122         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72123         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72124         (GLIBC_2.17): Add clock_* symbols.
72125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72127         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72129         Likewise.
72130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72131         Likewise.
72132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72136         * NEWS: Mention the move.
72138         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72139         Use __open, __read, __close rather than their public counterparts.
72140         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72141         (__get_clockfreq_via_cpuinfo): Likewise.
72142         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72143         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72145         * config.h.in (HAVE_IFUNC): New #undef.
72146         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72147         was successful.
72148         * configure: Regenerated.
72150 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72152         * configure.in: Move READELF check to start of file.
72153         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72154         libc_cv_asm_gnu_indirect_function in the process.
72155         * configure: Regenerated.
72157 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72159         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72160         send the output to /dev/null.
72161         (libc_cv_cc_with_libunwind): Likewise.
72162         (libc_cv_as_noexecstack): Likewise.
72163         * configure: Regenerate.
72165 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72167         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72169         * posix/globtest.sh (TMPDIR): Do not set.
72170         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72171         (testout): Likewise.
72173 2012-10-24  Andreas Jaeger  <aj@suse.de>
72175         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72176         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72177         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72178         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72179         posix_fadvise64, posix_fallocate64.
72181         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72182         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72183         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72184         Likewise.
72185         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72186         Likewise.
72187         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72189         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72190         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72191         <bits/fcntl-linux.h>.
72192         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72194         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72195         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72196         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72197         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72198         [__WORDSIZE != 64]: Likewise.
72200 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72202         * Makeconfig (run-built-tests): New variable.
72203         * Rules [$(cross-compiling) = yes]: Change condition to
72204         [$(run-built-tests) = no].
72205         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72206         to [$(run-built-tests) = yes].
72207         * elf/Makefile [$(cross-compiling) = no]: Likewise.
72208         * grp/Makefile [$(cross-compiling) = no]: Likewise.
72209         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72210         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72211         * intl/Makefile [$(cross-compiling) = no]: Likewise.
72212         * io/Makefile [$(cross-compiling) = no]: Likewise.
72213         * libio/Makefile [$(cross-compiling) = no]: Likewise.
72214         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72215         * misc/Makefile [$(cross-compiling) = no]: Likewise.
72216         * posix/Makefile [$(cross-compiling) = no]: Likewise.
72217         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72218         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72219         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72220         * string/Makefile [$(cross-compiling) = no]: Likewise.
72222         * posix/Makefile ($(objpfx)globtest.out): Pass
72223         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72224         $(rtld-installed-name).
72225         * posix/globtest.sh (elf_objpfx): Remove variable.
72226         (rtld_installed_name): Likewise.
72227         (library_path): Likewise.
72228         (run_program_prefix): New variable.  Use for running globtest
72229         binary.
72231 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
72232             Joseph Myers  <joseph@codesourcery.com>
72234         * Makeconfig (host-built-program-cmd): New variable.
72235         * elf/Makefile (tst-stackguard1-ARGS): Use
72236         $(host-built-program-cmd).
72237         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72238         (tst-spawn-ARGS): Likewise.
72239         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72241 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72242             Jim Blandy  <jimb@codesourcery.com>
72244         * Makeconfig (run-via-rtld-prefix): New variable.
72245         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72246         (built-program-cmd): Likewise.
72248 2012-10-22  Andreas Jaeger  <aj@suse.de>
72250         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72251         __O_RSYNC if it exists, otherwise to O_SYNC.
72253 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
72254             Joseph Myers  <joseph@codesourcery.com>
72256         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72257         /dev/null.
72258         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72259         from /dev/null
72260         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72261         /dev/null.
72263 2012-10-22  Andreas Jaeger  <aj@suse.de>
72265         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72266         Define always.
72267         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72270         bits/fcntl-linux.h.
72272         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72273         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72275         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72276         to __O_LARGEFILE.
72277         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72278         to __O_LARGEFILE.
72280 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
72281             Joseph Myers  <joseph@codesourcery.com>
72283         * config.make.in (NM): New variable.
72285 2012-10-21  Andreas Jaeger  <aj@suse.de>
72287         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72288         definitions and declarations that are provided by
72289         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72291 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72293         [BZ #14683]
72294         * elf/Makefile (tests-static): Add tst-leaks1-static.
72295         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
72296         ($(objpfx)tst-leaks1-static): New rule.
72297         ($(objpfx)tst-leaks1-static-mem): Likewise.
72298         (tst-leaks1-static-ENV): New macro.
72299         * elf/dl-open.c (dl_open_worker): Check the main application
72300         only if SHARED is defined.
72301         * elf/tst-leaks1-static.c: New file.
72303 2012-10-20  Andreas Jaeger  <aj@suse.de>
72305         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
72306         generic values for Linux.
72307         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
72308         and declarations that are provided by <bits/fcntl-linux.h> and
72309         include <bits/fcntl-linux.h>.
72310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72313 2012-10-20  Roland McGrath  <roland@hack.frob.com>
72315         * io/fcntl.h: Move include of <bits/types.h> to the top and
72316         include it unconditionally.
72318 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72320         * wcsmbs/Makefile (tests-ifunc): New variable.
72321         (tests): Add $(tests-ifunc).
72322         * wcsmbs/test-wcschr-ifunc.c: New file.
72323         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72324         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
72325         * wcsmbs/test-wcslen-ifunc.c: Likewise.
72326         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
72327         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
72329         * string/Makefile (tests-ifunc): New variable.
72330         (tests): Add $(tests-ifunc).
72331         * string/test-memccpy.c (TEST_NAME): New macro.
72332         * string/test-memchr.c (TEST_NAME): Likewise.
72333         * string/test-memcmp.c (TEST_NAME): Likewise.
72334         * string/test-memcpy.c (TEST_NAME): Likewise.
72335         * string/test-memmem.c (TEST_NAME): Likewise.
72336         * string/test-memmove.c (TEST_NAME): Likewise.
72337         * string/test-memset.c (TEST_NAME): Likewise.
72338         * string/test-rawmemchr.c (TEST_NAME): Likewise.
72339         * string/test-stpcpy.c (TEST_NAME): Likewise.
72340         * string/test-stpncpy.c (TEST_NAME): Likewise.
72341         * string/test-strcasecmp.c (TEST_NAME): Likewise.
72342         * string/test-strcasestr.c (TEST_NAME): Likewise.
72343         * string/test-strcat.c (TEST_NAME): Likewise.
72344         * string/test-strchr.c (TEST_NAME): Likewise.
72345         * string/test-strcmp.c(TEST_NAME): Likewise.
72346         * string/test-strcpy.c (TEST_NAME): Likewise.
72347         * string/test-strcspn.c (TEST_NAME): Likewise.
72348         * string/test-strlen.c (TEST_NAME): Likewise.
72349         * string/test-strncasecmp.c (TEST_NAME): Likewise.
72350         * string/test-strncmp.c (TEST_NAME): Likewise.
72351         * string/test-strncpy.c (TEST_NAME): Likewise.
72352         * string/test-strnlen.c (TEST_NAME): Likewise.
72353         * string/test-strpbrk.c (TEST_NAME): Likewise.
72354         * string/test-strrchr.c (TEST_NAME): Likewise.
72355         * string/test-strspn.c (TEST_NAME): Likewise.
72356         * string/test-strstr.c (TEST_NAME): Likewise.
72357         * string/test-bcopy-ifunc.c: New file.
72358         * string/test-bzero-ifunc.c: Likewise.
72359         * string/test-memccpy-ifunc.c: Likewise.
72360         * string/test-memchr-ifunc.c: Likewise.
72361         * string/test-memcmp-ifunc.c: Likewise.
72362         * string/test-memcpy-ifunc.c: Likewise.
72363         * string/test-memmem-ifunc.c: Likewise.
72364         * string/test-memmove-ifunc.c: Likewise.
72365         * string/test-mempcpy-ifunc.c: Likewise.
72366         * string/test-memset-ifunc.c: Likewise.
72367         * string/test-rawmemchr-ifunc.c: Likewise.
72368         * string/test-stpcpy-ifunc.c: Likewise.
72369         * string/test-stpncpy-ifunc.c: Likewise.
72370         * string/test-strcasecmp-ifunc.c: Likewise.
72371         * string/test-strcasestr-ifunc.c: Likewise.
72372         * string/test-strcat-ifunc.c: Likewise.
72373         * string/test-strchr-ifunc.c: Likewise.
72374         * string/test-strchrnul-ifunc.c: Likewise.
72375         * string/test-strcmp-ifunc.c: Likewise.
72376         * string/test-strcpy-ifunc.c: Likewise.
72377         * string/test-strcspn-ifunc.c: Likewise.
72378         * string/test-strlen-ifunc.c: Likewise.
72379         * string/test-strncasecmp-ifunc.c: Likewise.
72380         * string/test-strncat-ifunc.c: Likewise.
72381         * string/test-strncmp-ifunc.c: Likewise.
72382         * string/test-strncpy-ifunc.c: Likewise.
72383         * string/test-strnlen-ifunc.c: Likewise.
72384         * string/test-strpbrk-ifunc.c: Likewise.
72385         * string/test-strrchr-ifunc.c: Likewise.
72386         * string/test-strspn-ifunc.c: Likewise.
72387         * string/test-strstr-ifunc.c: Likewise.
72389         * debug/Makefile (tests-ifunc): New variable.
72390         (tests): Add $(tests-ifunc).
72391         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
72392         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
72393         * debug/test-stpcpy_chk-ifunc.c: New file.
72394         * debug/test-strcpy_chk-ifunc.c: Likewise.
72396 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
72398         [BZ #13601]
72399         * elf/dl-load.c (open_verify): Retry read if the entire ELF
72400         header is not read in.
72402 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
72404         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
72405         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
72406         directly.  Pass built executable to script as
72407         $(built-program-cmd).
72408         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
72409         $testprogram without using LD_LIBRARY_PATH and $ldso.
72411         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
72412         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
72413         $(rtld-installed-name).
72414         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
72415         (rtld_installed_name): Likewise.
72416         (library_path): Likewise.
72417         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
72418         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
72419         $(run-program-prefix) to tst-tables.sh.
72420         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
72421         it to run tst-table-from and tst-table-to.
72422         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
72423         Pass it to tst-table.sh.
72424         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
72425         $(run-program-prefix) to tst-gettext.sh.
72426         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
72427         tst-translit.sh.
72428         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
72429         tst-gettext2.sh.
72430         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
72431         to run tst-gettext.
72432         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
72433         to run tst-gettext2.
72434         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
72435         to run tst-translit.
72436         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
72437         $(run-program-prefix) to tst-mtrace.sh.
72438         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
72439         to run tst-mtrace.
72440         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
72441         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
72442         $(rtld-installed-name).
72443         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
72444         (rtld_installed_name): Likewise.
72445         (run_program_prefix): New variable.  Use it to run wordexp-test.
72447         * Makeconfig (ARCH): Remove all definitions.
72448         (machine): Likewise.
72449         [ARCH]: Remove conditional code.
72450         [!objdir]: Give error.
72451         [!objdir] (objpfx): Remove.
72452         [!objdir] (common-objpfx): Likewise.
72453         [!objdir] (common-objdir): Likewise.
72454         * configure.in (config_makefile): Remove.  Hardcode Makefile in
72455         AC_CONFIG_FILES call.
72456         * configure: Regenerated.
72458         [BZ #13888]
72459         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
72460         or TMPDIR.
72461         (testout): Likewise.
72463         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
72464         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
72465         $(rtld-installed-name).
72466         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
72467         (rtld_installed_name): Likewise.
72468         (runit): Remove function.
72469         (run_getconf): New variable,  Use it for running getconf binary.
72471 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
72473         [BZ #14716]
72474         * string/test-memmem.c (check_result): New function.
72475         (do_one_test): Use it.
72476         (check1): New function.
72477         (test_main): Use it.
72479 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
72481         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
72483 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
72485         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
72486         (_G_LSEEK64): Likewise.
72487         (_G_MMAP64): Likewise.
72488         (_G_FSTAT64): Likewise.
72489         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
72490         (_G_LSEEK64): Likewise.
72491         (_G_MMAP64): Likewise.
72492         (_G_FSTAT64): Likewise.
72493         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
72494         unconditional.  Call __mmap64 directly.
72495         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
72496         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
72497         __lseek64 directly.
72498         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
72499         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
72500         __mmap64 directly.
72501         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
72502         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72503         __lseek64 directly.
72504         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
72505         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72506         __lseek64 directly.
72507         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
72508         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
72509         __lseek64 directly.
72510         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
72511         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
72512         __fxstat64 directly.
72513         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
72514         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
72515         unconditional.
72516         (freopen64) [!_G_OPEN64]: Remove conditional code.
72517         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
72518         unconditional.
72519         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
72520         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
72521         unconditional.
72522         (ftello64) [!_G_LSEEK64]: Remove conditional code.
72523         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
72524         unconditional.
72525         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72526         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
72527         unconditional.
72528         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
72529         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
72530         unconditional.
72531         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72532         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
72533         unconditional.
72534         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72535         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
72536         unconditional.
72537         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72539 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72541         [BZ #12140]
72542         * manual/memory.texi (Malloc Tunable Parameters): Add note
72543         about free list pointers overwriting some perturb bytes.
72544         Wording suggested by Roland McGrath.
72546 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
72548         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
72549         (lgamma_test): Likewise.
72550         (tgamma_test): Likewise.
72552 2012-10-16  Florian Weimer  <fweimer@redhat.com>
72554         [BZ #14700]
72555         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
72556         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
72558 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
72560         * NEWS: Mention BZ #14716.
72561         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
72562         when removing AVAILABLE1_USES_J macro.
72564 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
72566         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
72567         (__bswap_64): __uint64_t for unsigned 64-bit int.
72569 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
72571         * include/string.h (memmem): Declare libc hidden alias.
72572         * string/memmem.c (memmem): Define libc hidden alias.
72573         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
72574         __read, __close instead of open, read, close.
72576 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
72578         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
72579         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
72580         global and hidden.
72581         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
72582         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
72583         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
72584         Likewise.
72585         (__rawmemchr_sse2): Likewise.
72586         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
72587         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
72588         (__strchr_sse2): Likewise.
72589         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
72590         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
72591         (__strcasecmp_sse2): Likewise.
72592         (__strncasecmp_sse2): Likewise.
72593         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
72594         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
72595         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
72596         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
72597         (__strrchr_sse2): Likewise.
72598         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
72599         ifunc-impl-list.c.
72600         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
72601         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
72602         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
72603         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72604         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
72605         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72606         * sysdeps/x86_64/multiarch/memset.S: Likewise.
72607         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
72608         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
72609         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
72610         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
72611         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
72612         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
72613         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
72614         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
72615         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
72616         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
72617         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
72618         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
72619         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
72620         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
72621         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
72622         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72623         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72624         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72625         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72626         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72627         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72628         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72629         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72631         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72632         global and hidden.
72633         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72634         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72635         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72636         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72637         Likewise.
72638         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72639         Likewise.
72640         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72641         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72642         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72643         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72644         ifunc-impl-list.c.
72645         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72646         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72647         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72648         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72649         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72650         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72651         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72652         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72653         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72654         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72655         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72656         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72657         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72658         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72659         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72660         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72661         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72662         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72663         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72664         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72665         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72666         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72667         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72668         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72669         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72670         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72671         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72672         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72673         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72674         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72675         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72676         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72677         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72678         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72679         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72680         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72681         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72682         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72683         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72684         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72685         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
72687         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
72688         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
72689         * include/ifunc-impl-list.h: New file.
72690         * misc/ifunc-impl-list.c: Likewise.
72691         * misc/Makefile (routines): Add ifunc-impl-list.
72692         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
72693         * string/test-string.h: Include <ifunc-impl-list.h>.
72694         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
72695         TEST_NAME]: New variables.
72696         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
72697         are defined.
72698         (test_init): Call __libc_ifunc_impl_list to initialize
72699         func_list if TEST_IFUNC and TEST_NAME are defined.
72701         * string/Makefile (strop-tests): Add bcopy and bzero.
72702         * string/test-bcopy.c: New file.
72703         * string/test-bzero.c: Likewise.
72704         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
72705         defined.
72706         * string/test-memset.c: Support bzero test if TEST_BZERO is
72707         defined.
72708         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
72709         __libc_memmove.
72710         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
72711         __libc_memset.
72712         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
72713         of memset.
72715 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
72717         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
72718         * configure: Regenerated.
72720         * Makeconfig (+link-static-before-libc): Don't include
72721         $(link-static-libc).
72723         * libio/libio.h (_IO_pos_t): Remove.
72725 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72727         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
72728         McGrath.
72730 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72732         * crypt/crypt-entry.c: Include fips-private.h.
72733         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
72734         * crypt/md5c-test.c (main): Tolerate disabled MD5.
72735         * sysdeps/unix/sysv/linux/fips-private.h: New file.
72736         * sysdeps/generic/fips-private.h: New file, dummy fallback.
72738 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72740         * crypt/crypt-private.h: Include stdbool.h.
72741         (_ufc_setup_salt_r): Return bool.
72742         * crypt/crypt-entry.c: Include errno.h.
72743         (__crypt_r): Return NULL with EINVAL for bad salt.
72744         * crypt/crypt_util.c (bad_for_salt): New.
72745         (_ufc_setup_salt_r): Check that salt is long enough and within
72746         the specified alphabet.
72747         * crypt/badsalttest.c: New file.
72748         * crypt/Makefile (tests): Add it.
72749         ($(objpfx)badsalttest): New.
72751 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
72753         * NEWS: Add entry for BZ #14602.
72755 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72757         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
72758         type-generic.
72759         * math/libm-test.inc: Update comment listing what functions and
72760         macros are tested.
72761         (isgreater_test): New function.
72762         (isgreaterequal_test): Likewise.
72763         (isless_test): Likewise.
72764         (islessequal_test): Likewise.
72765         (islessgreater_test): Likewise.
72766         (isunordered_test): Likewise.
72767         (main): Call the new functions.
72769 2012-10-09  Roland McGrath  <roland@hack.frob.com>
72771         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
72772         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
72773         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
72774         * sysdeps/i386/configure: Regenerated.
72775         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
72776         * sysdeps/mach/configure: Regenerated.
72777         * sysdeps/mach/hurd/configure: Regenerated.
72778         * sysdeps/powerpc/configure: Regenerated.
72779         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72780         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72781         * sysdeps/s390/s390-32/configure: Regenerated.
72782         * sysdeps/s390/s390-64/configure: Regenerated.
72783         * sysdeps/sh/configure: Regenerated.
72784         * sysdeps/sparc/configure: Regenerated.
72785         * sysdeps/unix/sysv/linux/configure: Regenerated.
72786         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
72787         * sysdeps/x86_64/configure: Regenerated.
72789         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
72790         defined.  Don't check if MAP is NULL.
72792 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72794         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
72795         (_G_stat64): Likewise.
72796         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
72797         (_G_stat64): Likewise.
72798         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
72799         instead of struct _G_stat64.
72800         * libio/fileops.c (mmap_remap_check): Likewise.
72801         (decide_maybe_mmap): Likewise.
72802         (_IO_new_file_seekoff): Likewise.
72803         (_IO_file_stat): Likewise.
72804         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
72805         _G_off64_t.
72806         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
72807         instead of struct _G_stat64.
72808         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72810 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
72812         [BZ #14602]
72813         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72814         Replace with ...
72815         (CHECK_EOL): New macro.
72816         (two_way_short_needle): Check beginning of haystack for EOL.  Use
72817         CHECK_EOL.
72818         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72819         Replace with CHECK_EOL.
72820         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72821         Replace with CHECK_EOL.
72823 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
72825         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
72826         type-generic.
72827         * math/libm-test.inc: Update comment listing what functions and
72828         macros are tested.
72829         (finite_test): New function.
72830         (isinf_test): Likewise.
72831         (isnan_test): Likewise.
72832         (fpclassify_test): Test subnormal input.
72833         (isfinite_test): Likewise.
72834         (isnormal_test): Likewise.
72835         (main): Call the new functions.
72837 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
72839         [BZ #14660]
72840         * Makerules (%.dynsym): Force C locale when running
72841         $(OBJDUMP) --dynamic-syms.
72843 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
72845         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
72846         <stdint.h>.
72848 2012-10-06  David S. Miller  <davem@davemloft.net>
72850         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
72851         upper 32-bits of the length value in %o2 since we use branch-on-register
72852         tests which consider the entire 64-bit register.
72854 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
72856         * string/test-strstr.c (check2): Add a test for page boundary.
72858 2012-10-05  David S. Miller  <davem@davemloft.net>
72860         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
72861         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
72862         file.
72863         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72864         sysdep_routines.
72865         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72866         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
72867         and bzero when HWCAP_SPARC_CRYPTO is present.
72869 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
72871         [BZ #14602]
72872         * string/test-strstr.c (check2): New function.
72873         (test_main): Call check2.
72875         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
72876         and bug-strchr1.
72877         * string/bug-strcasestr1.c (do_test): Moved to ...
72878         * string/test-strcasestr.c (check1): Here.  New function.
72879         (do_one_test): Break out result checking code into ...
72880         (check_result): This.  New function.
72881         (do_one_test): Call check_result.
72882         (test_main): Call check1.
72883         * string/bug-strchr1.c (do_test): Moved to ...
72884         * string/test-strchr.c (check1): Here.  New function.
72885         (do_one_test): Break out result checking code into ...
72886         (check_result): This.  New function.
72887         (do_one_test): Call check_result.
72888         (test_main): Call check1.
72889         * string/bug-strstr1.c (main): Moved to ...
72890         * string/test-strstr.c (check1): Here.  New function.
72891         (do_one_test): Break out result checking code into ...
72892         (check_result): This.  New function.
72893         (do_one_test): Call check_result.
72894         (test_main): Call check1.
72895         * string/bug-strcasestr1.c: Removed.
72896         * string/bug-strchr1.c: Likewise.
72897         * string/bug-strstr1.c: Likewise.
72899         * elf/Makefile (dl-routines): Add hwcaps.
72900         * elf/dl-support.c (_dl_important_hwcaps): Removed.
72901         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
72902         (_dl_important_hwcaps): Moved to ...
72903         * elf/dl-hwcaps.c: Here.  New file.
72904         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
72906         [BZ #14557]
72907         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
72908         if IS_IN_rtld isn't defined.
72910         * elf/dl-support.c (_dl_sysinfo_map): New.
72911         Include "get-dynamic-info.h" and "setup-vdso.h".
72912         (_dl_non_dynamic_init): Call setup_vdso.
72913         * elf/dynamic-link.h: Don't include <assert.h>.
72914         (elf_get_dynamic_info): Moved to ...
72915         * elf/get-dynamic-info.h: Here.  New file.
72916         * elf/dynamic-link.h: Include "get-dynamic-info.h".
72917         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
72918         * elf/setup-vdso.h: Here.  New file.
72919         * elf/rtld.c: Include "setup-vdso.h".
72920         (dl_main): Call setup_vdso.
72922 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
72924         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
72925         creal in comment listing functions tested.  List finite, isinf,
72926         isnan, isless, islessequal, isgreater, isgreaterequal,
72927         islessgreater, isunordered, lgamma_r and pow10 as functions and
72928         macros not tested.  Mention which functions not tested are aliases
72929         for other functions.  Fix typo.  Note that signs of NaNs are not
72930         tested.
72932         * scripts/config.guess: Update from config.git.
72933         * scripts/config.sub: Likewise.
72935 2012-10-04  Roland McGrath  <roland@hack.frob.com>
72937         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
72938         * misc/madvise.c (madvise): Renamed to __madvise.
72939         Make madvise a weak alias.
72940         * include/sys/mman.h: Declare __madvise.
72941         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
72942         * sysdeps/unix/syscalls.list
72943         (madvise): Make __madvise the strong name, and madvise a weak alias.
72944         * sysdeps/unix/sysv/linux/syscalls.list
72945         (madvise, mmap): Remove redundant entries.
72946         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
72947         * malloc/malloc.c (mtrim): Likewise.
72948         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
72950 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72952         * sysdeps/mach/hurd/dl-cache.c: File removed.
72953         * config.h.in (USE_LDCONFIG): New #undef.
72954         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
72955         * configure: Regenerated.
72956         * elf/Makefile (dl-routines): Add dl-cache only under
72957         [$(use-ldconfig) = yes].
72958         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
72959         cache on [USE_LDCONFIG].
72960         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
72961         [USE_LDCONFIG].
72962         * elf/rtld.c (dl_main): Likewise.
72964 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
72966         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
72967         _SC_LEVEL4_CACHE_LINESIZE.
72969 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72971         * sysdeps/unix/bsd/confstr.h: File removed.
72973 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
72975         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
72976         sys/sdt-config.h.
72978 2012-10-02  Roland McGrath  <roland@hack.frob.com>
72980         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
72981         Make 'mapoff' field ElfW(Off) rather than off_t.
72983 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
72985         * nscd/Makefile: Remove nscd-cflags and all its users.
72986         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
72987         (CFLAGS-nonlib): Add compiler flags for nscd modules.
72989         [BZ #10631]
72990         * malloc.c (malloc_printerr): Clarify error message.
72992 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
72994         [BZ #14648]
72995         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72996         Set bit_FMA_Usable if FMA is supported.
72997         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
72998         macro.
72999         (bit_FMA4_Usable): Updated.
73000         (index_FMA_Usable): New macro.
73001         (CPUID_FMA): Likewise.
73002         (HAS_FMA): Defined with bit_FMA_Usable.
73004 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73006         * bits/types.h (__swblk_t): Type removed.
73007         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73008         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73010         (__SWBLK_T_TYPE): Likewise.
73011         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73012         (__SWBLK_T_TYPE): Likewise.
73013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73014         (__SWBLK_T_TYPE): Likewise.
73015         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73016         (__SWBLK_T_TYPE): Likewise.
73018 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
73019             Honza Horak <hhorak@redhat.com>
73021         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73022         (xdr_mapname): Use YPMAXMAP as maxsize.
73023         (xdr_peername): Use YPMAXPEER as maxsize.
73024         (xdr_keydat): Use YPAXRECORD as maxsize.
73025         (xdr_valdat): Use YPMAXRECORD as maxsize.
73027 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73029         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73031         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73032         * csu/init-first.c: ... here.
73033         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73034         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73035         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73036         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73037         * sysdeps/i386/init-first.c: File removed.
73038         * sysdeps/sh/init-first.c: File removed.
73040 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
73042         [BZ #14645]
73043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73044         if x * y might underflow to zero and z is zero.
73045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73046         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73047         * math/libm-test.inc (min_subnorm_value): New variable.
73048         (fma_test): Add more tests.
73049         (fma_test_towardzero): Likewise.
73050         (fma_test_downward): Likewise.
73051         (fma_test_upward): Likewise.
73052         (initialize): Set min_subnorm_value.
73054 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
73056         [BZ #14638]
73057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73058         0 + 0.
73059         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73060         mode for addition resulting in exact zero.
73061         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73062         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73063         exact 0 + 0.
73064         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73065         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73066         * math/libm-test.inc (fma_test): Add more tests.
73067         (fma_test_towardzero): New function.
73068         (fma_test_downward): Likewise.
73069         (fma_test_upward): Likewise.
73070         (main): Call the new functions.
73072 2012-09-28  David S. Miller  <davem@davemloft.net>
73074         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73076 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73078         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73079         instead of SIGALRM.
73081         * sysdeps/gnu/_G_config.h: Moved to ...
73082         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73083         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73084         * sysdeps/generic/_G_config.h: ... here.
73086         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73088         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73090         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73091         Conditionalize target on [libnss_test1.so-version].
73093         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73095         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73096         (elfobjdir): Move out of conditionals.
73098         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73099         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73100         (__nss_lookup_function): Conditionalize label remove_from_tree on
73101         [!DO_STATIC_NSS || SHARED], matching its only use.
73103 2012-09-28  David S. Miller  <davem@davemloft.net>
73105         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73106         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73107         file.
73108         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73109         sysdep_routines.
73110         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73111         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73112         when HWCAP_SPARC_CRYPTO is present.
73114 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73116         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73118 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73120         [BZ #6530]
73121         * stdio-common/vfprintf.c (process_string_arg): Revert
73122         2000-07-22 change.
73124 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73126         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73127         for testcase.
73128         * stdio-common/tst-sprintf.c: Include <locale.h>
73129         (main): Test sprintf's handling of incomplete multibyte
73130         characters.
73132 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73134         * elf/dl-runtime.c (VERSYMIDX): Removed.
73135         * elf/dl-version.c (VERSYMIDX): Likewise.
73136         * elf/do-rel.h (VERSYMIDX): Likewise.
73137         (VALIDX): Likewise.
73138         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73139         * elf/rtld.c (VALIDX): Likewise.
73140         (ADDRIDX): Likewise.
73141         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73142         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73143         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73144         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73145         (VALIDX): Likewise.
73146         (ADDRIDX): Likewise.
73148 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73150         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73152 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73154         [BZ #11438]
73155         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73156         to global scope.
73157         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73158         addresses are in the same scope as 192.0.2/24.
73159         * posix/gai.conf: Document new scope table defaults.
73161 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73163         [BZ #5298]
73164         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73165         for ftell.  Compute offsets from write pointers instead.
73166         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73168 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73170         [BZ #14543]
73171         * libio/Makefile (tests): New test case tst-fseek.
73172         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73173         combination works in wide mode.
73174         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73175         state when the external buffer state changes.
73177 2012-09-27  David S. Miller  <davem@davemloft.net>
73179         [BZ #14376]
73180         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73181         pass reloc->r_addend in as the 'high' argument to
73182         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73186 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73188         * rt/tst-aio2.c: Include <pthread.h>.
73189         * rt/tst-aio3.c: Likewise.
73191 2012-09-27  Steve Ellcey  <sellcey@mips.com>
73193         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73195 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
73197         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73198         contents on [SHARED].
73200 2012-09-26  Marek Polacek  <polacek@redhat.com>
73202         [BZ #14530]
73203         [BZ #13741]
73204         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73205         for C++ and GCC <4.3 as well as for non GCC compilers.
73207 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
73209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73211 2012-09-25  Roland McGrath  <roland@hack.frob.com>
73213         * Makefile.in (all, install): Declare with .PHONY.
73214         Reported by Michael Hope <michael.hope@linaro.org>.
73216 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73218         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73219         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73220         system header.
73221         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73222         Likewise.
73223         (sydep_routines): Add the new and the internal functions.
73224         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73225         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73227         (GLIBC_2.17): Add the new function.
73228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73229         (GLIBC_2.17): Likewise.
73230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73231         (GLIBC_2.17): Likewise.
73232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73233         (GLIBC_2.17): Likewise.
73234         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73236 2012-09-25  Alan Modra  <amodra@gmail.com>
73238         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73239         Add release barrier before setting once_control to say
73240         initialisation is done.  Add hints on lwarx.  Use macro in
73241         place of isync.
73242         (clear_once_control): Add release barrier.
73244 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73246         [BZ #13629]
73247         * math/s_clog.c (__clog): Handle more values close to |z| = 1
73248         specially.
73249         * math/s_clog10.c (__clog10): Likewise.
73250         * math/s_clog10f.c (__clog10f): Likewise.
73251         * math/s_clog10l.c (__clog10l): Likewise.
73252         * math/s_clogf.c (__clogf): Likewise.
73253         * math/s_clogl.c (__clogl): Likewise.
73254         * math/Makefile (libm-calls): Add x2y2m1.
73255         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73256         (__x2y2m1): Likewise.
73257         (__x2y2m1l): Likewise.
73258         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73259         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73260         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73261         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73262         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73263         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73264         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73265         * sysdeps/i386/fpu/libm-test-ulps: Update.
73266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73268         [BZ #14621]
73269         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73270         int as type of variable DEPTH.
73271         (glob): Use size_t instead of int as type of variables NEWCOUNT
73272         and OLD_PATHC.
73274 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73276         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73277         Add s_sincosf-sse2.
73278         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73279         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73280         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73281         macros for using routine as __sincosf_ia32.
73282         Use macro for function declaration and weak_alias.
73283         * sysdeps/i386/fpu/libm-test-ulps: Update.
73285         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73288         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73289         subnormal argument.
73290         * math/s_cexpf.c (__cexpf): Likewise.
73291         * math/s_csinf.c (__csinf): Likewise.
73292         * math/s_csinhf.c (__csinhf): Likewise.
73293         * math/s_ctanf.c (__ctanf): Likewise.
73294         * math/s_ctanhf.c (__ctanhf): Likewise.
73295         * math/s_ccosh.c (__ccoshf): Likewise.
73296         * math/s_cexp.c (__cexpl): Likewise.
73297         * math/s_csin.c (__csin): Likewise.
73298         * math/s_csinh.c (__csinh): Likewise.
73299         * math/s_ctan.c (__ctan): Likewise.
73300         * math/s_ctanh.c (ctanh): Likewise.
73301         * math/s_ccoshl.c (__ccoshl): Likewise.
73302         * math/s_cexpl.c (__cexpl): Likewise.
73303         * math/s_csinl.c (__csinl): Likewise.
73304         * math/s_csinhl.c (__csinhl): Likewise.
73305         * math/s_ctanl.c (__ctanl): Likewise.
73306         * math/s_ctanhl.c (__ctanhl): Likewise.
73308 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73310         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
73311         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
73312         (_IO_off_t): Define to __off_t, not _G_off_t.
73313         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
73314         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
73315         (_IO_wint_t): Define to wint_t, not _G_wint_t.
73316         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
73317         type of __dummy and __dummy2 fields.
73318         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
73319         (_G_ssize_t): Likewise.
73320         (_G_off_t): Likewise.
73321         (_G_pid_t): Likewise.
73322         (_G_uid_t): Likewise.
73323         (_G_wchar_t): Likewise.
73324         (_G_wint_t): Likewise.
73325         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
73326         (_G_ssize_t): Likewise.
73327         (_G_off_t): Likewise.
73328         (_G_pid_t): Likewise.
73329         (_G_uid_t): Likewise.
73330         (_G_wchar_t): Likewise.
73331         (_G_wint_t): Likewise.
73332         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
73333         (_G_ssize_t): Likewise.
73334         (_G_off_t): Likewise.
73335         (_G_pid_t): Likewise.
73336         (_G_uid_t): Likewise.
73337         (_G_wchar_t): Likewise.
73338         (_G_wint_t): Likewise.
73340 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73342         * malloc/arena.c: Include malloc-sysdep.h.
73343         (shrink_heap): Use check_may_shrink_heap to decide if madvise
73344         is sufficient to shrink the heap or an unmap is needed.
73345         * sysdeps/generic/malloc-sysdep.h: New file.  Define
73346         new function check_may_shrink_heap.
73347         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
73348         new function check_may_shrink_heap.
73350 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73352         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
73353         comments.
73355 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
73357         * catgets/test-gencat.sh: Add "set -e".
73358         * elf/tst-pathopt.sh: Likewise.
73359         * grp/tst_fgetgrent.sh: Likewise.
73360         * iconvdata/run-iconv-test.sh: Likewise.
73361         * intl/tst-gettext.sh: Likewise.
73362         * intl/tst-gettext2.sh: Likewise.
73363         * intl/tst-gettext4.sh: Likewise.
73364         * intl/tst-gettext6.sh: Likewise.
73365         * intl/tst-translit.sh: Likewise.
73366         * io/ftwtest-sh: Likewise.
73367         * libio/test-freopen.sh: Likewise.
73368         * malloc/tst-mtrace.sh: Likewise.
73369         * posix/globtest.sh: Likewise.
73370         * posix/tst-getconf.sh: Likewise.
73371         * posix/wordexp-tst.sh: Likewise.
73372         * stdio-common/tst-printf.sh: Likewise.
73373         * stdio-common/tst-unbputc.sh: Likewise.
73374         * stdlib/tst-fmtmsg.sh: Likewise.
73375         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73376         * catgets/Makefile: Do not specify -e option when running
73377         testsuite shell scripts.
73378         * elf/Makefile: Likewise.
73379         * grp/Makefile: Likewise.
73380         * iconvdata/Makefile: Likewise.
73381         * intl/Makefile: Likewise.
73382         * io/Makefile: Likewise.
73383         * libio/Makefile: Likewise.
73384         * malloc/Makefile: Likewise.
73385         * posix/Makefile: Likewise.
73386         * stdio-common/Makefile: Likewise.
73387         * stdlib/Makefile: Likewise.
73388         * sysdeps/x86_64/Makefile: Likewise.
73390         * io/ftwtest-sh: Add copyright header.
73391         * posix/globtest.sh: Likewise.
73392         * posix/tst-getconf.sh: Likewise.
73393         * posix/wordexp-tst.sh: Likewise.
73394         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73396 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
73398         [BZ #13679]
73399         * Makeconfig (+link): Defined as $(+link-static) if
73400         $(build-shared) isn't yes.
73401         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
73402         isn't yes.
73403         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
73405         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
73407         [BZ #14562]
73408         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
73409         new chunk size with MALLOC_ALIGN_MASK.
73411 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
73413         [BZ #5044]
73414         * stdio-common/printf_fphex.c: Include <stdbool.h> and
73415         <rounding-mode.h>.
73416         (__printf_fphex): Determine rounding using get_rounding_mode and
73417         round_away.
73418         * stdio-common/tst-printf-round.c (struct hex_test): New
73419         structure.
73420         (hex_tests): New variable.
73421         (test_hex_in_one_mode): New function.
73422         (do_test): Also run tests for hex float output.
73424 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
73426         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73427         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73428         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
73429         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73430         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73431         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
73432         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73433         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73435 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
73437         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
73438         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
73439         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
73440         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
73442 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
73444         [BZ #14579]
73445         * elf/rtld.c (dl_main): Limit the check for self loading to normal
73446         mode only.
73447         * elf/tst-rtld-load-self.sh: New test.
73448         * elf/Makefile: Run it.
73450 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
73452         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
73453         (tst-writev-ENV): Remove.
73454         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
73456 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
73458         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
73460 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
73462         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
73463         unconditional.
73464         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
73465         Likewise.
73466         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
73467         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73468         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
73469         Likewise.
73471 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
73473         [BZ #14587]
73474         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
73475         * config.make.in (have-cpp-asm-debuginfo): Removed.
73476         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
73477         * configure: Regenerated.
73479 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
73481         [BZ #5044]
73482         * stdio-common/printf_fp.c: Include <stdbool.h> and
73483         <rounding-mode.h>.
73484         (___printf_fp): Determine rounding using get_rounding_mode and
73485         round_away.
73486         * stdio-common/tst-printf-round.c: New file.
73487         * stdio-common/Makefile (tests): Add tst-printf-round.
73488         (link-libm): New variable.
73489         ($(objpfx)tst-printf-round): Depend in $(link-libm).
73491 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
73493         [BZ #14576]
73494         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
73495         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
73496         Likewise.
73497         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
73498         Likewise.
73500 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
73502         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
73503         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73504         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73505         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73507 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
73509         [BZ #14518]
73510         * include/rounding-mode.h: New file.
73511         * sysdeps/generic/get-rounding-mode.h: Likewise.
73512         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
73513         * stdlib/strtod_l.c: Include <rounding-mode.h>.
73514         (MAX_VALUE): New macro.
73515         (MIN_VALUE): Likewise.
73516         (overflow_value): New function.
73517         (underflow_value): Likewise.
73518         (round_and_return): Use overflow_value and underflow_value to
73519         determine return values in overflow and underflow cases.  Use
73520         round_away to determine rounding depending on rounding mode.
73521         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
73522         determine return values in overflow and underflow cases.
73523         * stdlib/tst-strtod-round.c: Include <fenv.h>.
73524         (struct test_results): New structure.
73525         (struct test): Use struct test_results to store expected results
73526         for all rounding modes.
73527         (TEST): Include expected results for all rounding modes.
73528         (test_in_one_mode): New function.
73529         (do_test): Use test_in_one_mode to compute and check results.
73530         Check results for all rounding modes.
73531         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
73532         $(link-libm).
73534 2012-12-09  Allan McRae  <allan@archlinux.org>
73536         * sysdeps/i386/fpu/libm-test-ulps: Update
73538 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
73540         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
73541         (_G_int32_t): Likewise.
73542         (_G_uint16_t): Likewise.
73543         (_G_uint32_t): Likewise.
73544         (_G_HAVE_BOOL): Likewise.
73545         (_G_HAVE_ATEXIT): Likewise.
73546         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73547         (_G_HAVE_IO_FILE_OPEN): Likewise.
73548         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
73549         (_G_int32_t): Likewise.
73550         (_G_uint16_t): Likewise.
73551         (_G_uint32_t): Likewise.
73552         (_G_HAVE_BOOL): Likewise.
73553         (_G_HAVE_ATEXIT): Likewise.
73554         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73555         (_G_HAVE_IO_FILE_OPEN): Likewise.
73556         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
73557         (_G_int32_t): Likewise.
73558         (_G_uint16_t): Likewise.
73559         (_G_uint32_t): Likewise.
73560         (_G_HAVE_BOOL): Likewise.
73561         (_G_HAVE_ATEXIT): Likewise.
73562         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73563         (_G_HAVE_IO_FILE_OPEN): Likewise.
73565 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
73567         * csu/libc-tls.c: Update copyright years.
73569 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
73571         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
73572         [!_G_USING_THUNKS]: Remove conditional code.
73573         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
73574         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
73576         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
73577         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
73578         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73579         (_G_VTABLE_LABEL_PREFIX): Likewise.
73580         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73581         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73582         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73583         (_G_VTABLE_LABEL_PREFIX): Likewise.
73584         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73585         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73586         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73587         (_G_VTABLE_LABEL_PREFIX): Likewise.
73588         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73590 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
73592         * libio/Makefile: Include ../Makeconfig before tests.
73593         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
73594         only if $(build-shared) is yes.
73596         * iconv/gconv_db.c: Update copyright years.
73598 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73600         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
73601         unwind info if defined PIC. Fix special cases description.
73602         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
73604         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
73605         DP_HI_MASK entry.
73606         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
73608 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
73610         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
73612         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
73613         is NULL.
73615         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
73616         (LDLIBS-tst-chk4): This.
73617         (LDFLAGS-tst-chk5): Renamed to ...
73618         (LDLIBS-tst-chk5): This.
73619         (LDFLAGS-tst-chk6): Renamed to ...
73620         (LDLIBS-tst-chk6): This.
73621         (LDFLAGS-tst-lfschk4): Renamed to ...
73622         (LDLIBS-tst-lfschk4): This.
73623         (LDFLAGS-tst-lfschk5): Renamed to ...
73624         (LDLIBS-tst-lfschk5): This.
73625         (LDFLAGS-tst-lfschk6): Renamed to ...
73626         (LDLIBS-tst-lfschk6): This.
73628         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73629         on $(common-objpfx)soversions.mk.
73631 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73633         [BZ #10014]
73634         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73635         example host name.
73637 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73639         * malloc/arena.c (arena_get_retry): New function that gets
73640         another arena for the caller to try its request on.
73641         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73642         current arena cannot fulfill the request.
73643         (__libc_memalign): Likewise.
73644         (__libc_memalign): Likewise.
73645         (__libc_pvalloc): Likewise.
73646         (__libc_calloc): Likewise.
73648 2012-09-05  John Tobey  <john.tobey@gmail.com>
73650         [BZ #13542]
73651         * manual/arith.texi (Operations on Complex): Fix description
73652         of carg branch cut.
73654 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73656         [BZ #10014]
73657         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73658         host name.
73660         [BZ #10038]
73661         * manual/memory.texi (Memory): Make order of menu items match
73662         order of sections.
73664 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73666         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73667         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73668         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73670 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73672         * csu/libc-tls.c (static_dtv): Renamed to ...
73673         (_dl_static_dtv): This.  Make it global.
73674         (_dl_initial_dtv): Removed.
73675         (__libc_setup_tls): Updated.
73676         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73677         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73678         DL_INITIAL_DTV.
73680 2012-09-06  Petr Machata  <pmachata@redhat.com>
73682         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
73683         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
73684         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73685         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
73687 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73689         [BZ #14545]
73690         * csu/libc-tls.c (_dl_initial_dtv): New variable.
73691         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
73692         freeing dtv[-1].
73694 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73696         [BZ #14544]
73697         * Makeconfig (link-static-before-libc): Replace $(+prector)
73698         with $(+prectorT).
73699         (link-static-after-libc): Replace $(+postctor) with
73700         $(+postctorT).
73701         (link-bounded): Replace $(+prector)/$(+postctor) with
73702         $(+prectorT)/$(+postctorT).
73703         (+prectorT): New macro.
73704         (+postctorT): Likewise.
73706 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73708         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
73709         (round_str): Handle values above the maximum for IBM long double
73710         as inexact.
73711         * stdlib/tst-strtod-round.c (tests): Regenerated.
73713 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73715         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
73716         assembler flag.
73717         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
73718         zarch_nohighgprs around the zarch optimized routines.
73719         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
73720         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
73721         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
73722         for zarch.
73724 2012-09-05  David S. Miller  <davem@davemloft.net>
73726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73728         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
73729         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
73730         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
73731         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73732         entries.
73734 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73736         * malloc/arena.c: Fold copyright years.
73737         * malloc/mcheck.c, malloc/memusage.c: Likewise.
73739 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73741         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73743 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73745         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
73747 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73749         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
73750         change internal state upon failure.
73752 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73754         * malloc/mcheck.c (mcheck_check_all): Fix typo.
73755         * malloc/memusage.c (mmap): Likewise.
73756         (mmap64, mremap): Likewise.  Adjust name in comment.
73758 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73760         * libio/fileops.c: Fix typos in comments.
73761         * libio/oldfileops.c: Likewise.
73762         * libio/wfileops.c: Likewise.
73764 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73766         [BZ #1349]
73767         * malloc/Makefile (tests): Add tst-malloc-usable test case.
73768         (tst-malloc-usable-ENV): Set environment for test case.
73769         * malloc/hooks.c (malloc_check_get_size): New function to get
73770         requested size.
73771         * malloc/malloc.c (musable): Use malloc_check_get_size.
73772         * malloc/tst-malloc-usable.c: New test case.
73774 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73776         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
73778 2012-09-05  Allan McRae  <allan@archlinux.org>
73780         [BZ #13966]
73781         * configure.in (CXX_SYSINCLUDES): Use compiler output to
73782         determine header location.
73783         * configure: Regenerated.
73785 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73787         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
73788         float format.
73789         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
73790         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
73791         format.
73792         (test): Regenerate.
73794 2012-09-04  David S. Miller  <davem@davemloft.net>
73796         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
73797         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
73798         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
73800 2012-09-04  Florian Weimer  <fweimer@redhat.com>
73802         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
73803         failures.
73805         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73807 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
73809         [BZ #9914]
73810         * libio/iogetdelim.c: Include <limits.h>.
73811         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
73812         + len + 1 would overflow.
73814 2012-09-03  Andreas Jaeger  <aj@suse.de>
73816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73817         * sysdeps/i386/fpu/libm-test-ulps: Update.
73819 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73821         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73822         Add s_sinf-sse2, s_conf-sse2.
73824         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
73825         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
73826         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
73827         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
73829         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
73830         for using routine as __sinf_ia32.
73831         Use macro for function declaration and weak_alias.
73832         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
73833         for using routine as __cosf_ia32.
73834         Use macro for function declaration and weak_alias.
73836         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
73837         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
73839         * sysdeps/x86_64/fpu/s_sinf.S: New file.
73840         * sysdeps/x86_64/fpu/s_cosf.S: New file.
73841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73843         * math/libm-test.inc (cos_test): Add more test cases.
73844         (sin_test): Likewise.
73845         (sincos_test): Likewise.
73847 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73849         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
73850         (IFUNC_RESOLVE): Make pointers to the specialized implementations
73851         hidden.
73852         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
73854 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
73856         [BZ #14538]
73857         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
73858         first element of the GOT.
73859         (elf_machine_load_address): Return the difference between
73860         the runtime address of _DYNAMIC and elf_machine_dynamic ().
73862 2012-09-01  Allan McRae  <allan@archlinux.org>
73864         [BZ #13412]
73865         * configure.in (AWK): Require gawk version 3.0 or later.
73866         * configure: Regenerated.
73868 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
73870         * sysdeps/unix/sysv/linux/kernel-features.h
73871         (__ASSUME_POSIX_CPU_TIMERS): Remove.
73872         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73873         [__NR_clock_getres]: Make code unconditional.
73874         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
73875         (clock_getcpuclockid): Remove code left unreachable by removal of
73876         conditionals.
73877         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
73878         code unconditional.
73879         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73880         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73881         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
73882         Make code unconditional.
73883         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73884         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73885         * sysdeps/unix/sysv/linux/clock_settime.c
73886         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
73887         conditional code.
73888         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
73889         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73891 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
73893         [BZ #14476]
73894         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
73895         scripts/test-installation.pl.
73897         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
73898         and $ld_so_version if it is set.
73900 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73902         [BZ #14516]
73903         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
73904         failure if reading from procfs failed.
73905         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
73907 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73909         * sysdeps/unix/sysv/linux/kernel-features.h
73910         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
73911         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73912         Remove conditional code.
73913         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73914         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
73915         Remove conditional code.
73916         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73917         * sysdeps/unix/sysv/linux/i386/fxstat.c
73918         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73919         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73920         * sysdeps/unix/sysv/linux/i386/fxstatat.c
73921         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73922         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73923         * sysdeps/unix/sysv/linux/i386/lxstat.c
73924         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73925         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73926         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
73927         Remove conditional code.
73928         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73929         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73930         Remove conditional code.
73931         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73932         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
73933         <kernel-features.h>.
73934         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
73935         Remove.
73936         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
73937         Remove conditional code.
73938         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73939         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
73940         Remove conditional.
73942 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
73944         [BZ #5400]
73945         * NEWS: Add fixed bug number.
73947 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73949         [BZ #14519]
73950         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
73951         underflowing exponent in case of negative sign.
73952         * stdlib/tst-strtod-round-data: Add more tests.
73953         * stdlib/tst-strtod-round.c (tests): Regenerated.
73955         [BZ #3479]
73956         * stdlib/strtod_l.c (NDIG): Remove.
73957         (HEXNDIG): Likewise.
73958         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
73959         smallest representable value.
73960         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
73961         lie within an exact representation of 1/2 ulp of the result.
73962         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
73963         unconditionally.
73964         (TENS_P9_IDX): Define unconditionally.
73965         (TENS_P9_SIZE): Likewise.
73966         (TENS_P10_IDX): Likewise.
73967         (TENS_P10_SIZE): Likewise.
73968         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
73969         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
73970         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
73971         entries for 10^2^13 and 10^2^14.
73972         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
73973         (TENS_P13_IDX): Define.
73974         (TENS_P13_SIZE): Likewise.
73975         (TENS_P14_IDX): Likewise.
73976         (TENS_P14_SIZE): Likewise.
73977         (_fpioconst_pow10): Change array size to
73978         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
73979         unconditional.
73980         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
73981         1024]: Add entries for 10^2^13 and 10^2^14.
73982         [LAST_POW10 > _LAST_POW10]: Remove #error.
73983         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
73984         (_fpioconst_pow10): Change array size to
73985         FPIOCONST_POW10_ARRAY_SIZE.
73986         * stdlib/gen-fpioconst.c: New file.
73987         * stdlib/gen-tst-strtod-round.c: Likewise.
73988         * stdlib/tst-strtod-round-data: Likewise.
73989         * stdlib/tst-strtod-round.c: Likewise.
73990         * stdlib/Makefile (tests): Add tst-strtod-round.
73992         [BZ #14459]
73993         * stdlib/strtod_l.c: Include <stdint.h>.
73994         (NDEBUG): Do not define.
73995         (round_and_return): Change EXPONENT parameter to type intmax_t.
73996         Rearrange calculations to avoid internal overflow possibilities.
73997         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
73998         Rearrange calculations to avoid internal overflow possibilities.
73999         Assert that number fits inside MPNSIZE limbs.
74000         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74001         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
74002         calculations and add assertions to avoid internal overflow
74003         possibilities.  Add casts to avoid signed/unsigned operations.
74004         * stdlib/tst-strtod-overflow.c: New file.
74005         * stdlib/Makefile (tests): Add tst-strtod-overflow.
74007 2012-08-25  Marek Polacek  <polacek@redhat.com>
74009         * time/time.h: Fix some typos in comments.
74011 2012-08-23  Roland McGrath  <roland@hack.frob.com>
74013         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74014         * posix/tst-rfc3484-2.c: Likewise.
74015         * posix/tst-rfc3484-3.c: Likewise.
74017 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
74019         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74020         (EF_ARM_ABI_FLOAT_HARD): Likewise.
74022 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
74024         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74025         #include of fxstatat64.c.
74027 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74029         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74030         * shadow/getspent_r.c: Likewise.
74031         * shadow/getspnam.c: Likewise.
74032         * shadow/getspnam_r.c: Likewise.
74033         * gshadow/getsgent.c: Likewise.
74034         * gshadow/getsgent_r.c: Likewise.
74035         * gshadow/getsgnam.c: Likewise.
74036         * gshadow/getsgnam_r.c: Likewise.
74037         * inet/getnetbyad.c: Likewise.
74038         * inet/getnetbyad_r.c: Likewise.
74039         * inet/getnetbynm.c: Likewise.
74040         * inet/getnetbynm_r.c: Likewise.
74041         * inet/getnetent.c: Likewise.
74042         * inet/getnetent_r.c: Likewise.
74043         * inet/getproto.c: Likewise.
74044         * inet/getproto_r.c: Likewise.
74045         * inet/getprtent.c: Likewise.
74046         * inet/getprtent_r.c: Likewise.
74047         * inet/getprtname.c: Likewise.
74048         * inet/getprtname_r.c: Likewise.
74049         * inet/getrpcbyname.c: Likewise.
74050         * inet/getrpcbyname_r.c: Likewise.
74051         * inet/getrpcbynumber.c: Likewise.
74052         * inet/getrpcbynumber_r.c: Likewise.
74053         * inet/getrpcent.c: Likewise.
74054         * inet/getrpcent_r.c: Likewise.
74055         * inet/getaliasent.c: Likewise.
74056         * inet/getaliasent_r.c: Likewise.
74057         * inet/getaliasname.c: Likewise.
74058         * inet/getaliasname_r.c: Likewise.
74059         * nscd/getgrgid_r.c: Likewise.
74060         * nscd/getgrnam_r.c: Likewise.
74061         * nscd/gethstbyad_r.c: Likewise.
74062         * nscd/gethstbynm3_r.c: Likewise.
74063         * nscd/getpwnam_r.c: Likewise.
74064         * nscd/getpwuid_r.c: Likewise.
74065         * nscd/getsrvbynm_r.c: Likewise.
74066         * nscd/getsrvbypt_r.c: Likewise.
74067         * nscd/gai.c: Likewise.
74069         * configure.in (build_nscd): New substituted variable, set
74070         by --disable-build-nscd and defaults to $use_nscd.
74071         * configure: Regenerated.
74072         * config.make.in (build-nscd): New substituted variable.
74073         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74074         Change conditional to require [$(build-nscd) = yes] as well.
74075         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74077         [BZ #13696]
74078         * configure.in (use_nscd): New substituted variable, set by
74079         --disable-nscd.  If enabled, define USE_NSCD.
74080         * configure: Regenerated.
74081         * config.h.in: Add USE_NSCD.
74082         * config.make.in (use-nscd): New substituted variable.
74083         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74084         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74085         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74086         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74087         (CFLAGS-getgrnam_r.c): Likewise.
74088         (CFLAGS-initgroups.c): Likewise.
74089         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74090         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74091         Variables removed.
74092         * inet/getnetgrent_r.c
74093         (nscd_setnetgrent): New function, broken out of ...
74094         (setnetgrent): ... here.  Call it.
74095         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74096         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74097         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74098         * nscd/Makefile (routines, aux): Move definitions after include of
74099         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74100         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74101         Conditionalize on [USE_NSCD].
74102         (is_nscd, nscd_init_cb): Likewise.
74103         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74104         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74105         * nss/nss_db/db-init.c: Likewise.
74106         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74107         [USE_NSCD].
74108         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74109         (make_request): Use it.
74110         (cache_valid_p): New function.
74111         (__check_pf): Use it.
74112         * NEWS: Add item for --disable-nscd.
74114 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74116         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74117         to support sed >= 4.2.1-20-ga9bf076.
74118         * configure: Regenerated.
74120 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74122         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74123         Conditionalize whole body on [IREL].
74125 2012-08-22  Jeff Law <law@redhat.com>
74127         [BZ #14505]
74128         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74129         if the family is PF_UNSPEC.
74131 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74133         * Makerules (lib-version): Rename from V.
74134         (install-lib-nosubdir): Change V to lib-version.
74136 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74138         [BZ #14252]
74139         * powerpc32/power6/wcschr.c: New file.
74140         * powerpc32/power6/wcscpy.c: New file.
74141         * powerpc32/power6/wcsrchr.c: New file.
74142         * powerpc64/power6/wcschr.c: New file.
74143         * powerpc64/power6/wcscpy.c: New file.
74144         * powerpc64/power6/wcsrchr.c: New file.
74146 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74148         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74149         (two_way_short_needle): Use it.
74150         * string/strstr.c (AVAILABLE1_USES_J): Define.
74151         * string/strcasestr.c: Likewise.
74153         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74154         array references.
74155         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74157         [BZ #11607]
74158         * NEWS: Add an entry.
74159         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74160         define their defaults.
74161         (two_way_short_needle): Detect end-of-string on-the-fly.
74162         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74163         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74164         * string/bug-strcasestr1.c: New test.
74165         * string/Makefile: Run it.
74167 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74169         [BZ #11607]
74170         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74171         the first character.
74173 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74175         * csu/elf-init.c (__libc_csu_irel): Function removed.
74176         * csu/libc-start.c (apply_irel): New function.
74177         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74179 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74181         * sysdeps/unix/sysv/linux/kernel-features.h
74182         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74183         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74184         <kernel-features.h>.
74185         [__NR_fadvise64_64]: Make code unconditional.
74186         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74187         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74188         !__NR_fadvise64_64)]: Likewise.
74189         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74190         !__NR_fadvise64_64))]: Likewise.
74191         [__NR_fadvise64]: Make code unconditional.
74192         [!__NR_fadvise64]: Remove conditional code.
74193         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74194         <kernel-features.h>.
74195         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74196         unconditional.
74197         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74198         conditional code.
74199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74200         not include <kernel-features.h>.
74201         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74202         unconditional.
74203         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74204         conditional code.
74205         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74206         include <kernel-features.h>.
74207         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74208         unconditional.
74209         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74210         conditional code.
74212 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74214         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74215         slight instruction rearrangements per scrollpipe analysis.
74216         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74218 2012-08-20  Roland McGrath  <roland@hack.frob.com>
74220         * manual/syslog.texi (syslog; vsyslog, closelog):
74221         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74222         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74224         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74225         DSOCAPS to match condition on defining it.
74227 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
74229         * sysdeps/unix/sysv/linux/kernel-features.h
74230         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74232         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74233         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74235         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74236         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74238         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74239         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74241         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74242         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74244         * sysdeps/unix/sysv/linux/kernel-features.h
74245         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74246         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74247         unconditional.
74248         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74249         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74250         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74251         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74252         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74253         Make code unconditional.
74254         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74255         (__mmap64) [!__NR_mmap2]: Likewise.
74256         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74257         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74258         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74259         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74260         [__NR_mmap2]: Make code unconditional.
74261         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74262         (__mmap64) [!__NR_mmap2]: Likewise.
74264 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74266         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74268 2012-08-18  Andreas Jaeger  <aj@suse.de>
74270         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74272 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74274         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74275         * include/unistd.h (__have_sock_cloexec): Likewise.
74276         (__have_pipe2): Likewise.
74277         (__have_dup3): Likewise.
74279 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74281         [BZ #9685]
74282         * include/unistd.h (__have_pipe2): Change define into an extern int.
74283         (__have_dup3): Likewise.
74284         * socket/have_sock_cloexec.c: Include fcntl.h.
74285         (__have_pipe2): New variable.
74286         (__have_dup3): Likewise.
74288 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
74290         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74292 2012-08-17  Marek Polacek  <polacek@redhat.com>
74294         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
74295         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
74297 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74299         * configure.in: Add AC_SUBST for sysheaders.
74300         * configure: Regenerated.
74301         * config.make.in (sysheaders): New substituted variable.
74303         * sysdeps/unix/mkfifo.c: Moved ...
74304         * sysdeps/posix/mkfifo.c: ... here.
74305         * sysdeps/unix/mkfifoat.c: Moved ...
74306         * sysdeps/posix/mkfifoat.c: ... here.
74308         * sysdeps/unix/utime.c: Moved ...
74309         * sysdeps/posix/utime.c: ... here.
74311         * sysdeps/unix/time.c: Moved ...
74312         * sysdeps/posix/time.c: ... here.
74313         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
74314         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
74316         * sysdeps/unix/nice.c: Moved ...
74317         * sysdeps/posix/nice.c: ... here.
74319         * sysdeps/unix/alarm.c: Moved ...
74320         * sysdeps/posix/alarm.c: ... here.
74322         * intl/Makefile ($(codeset_mo)): Depend on the input file.
74324 2012-08-17  Jeff Law <law@redhat.com>
74326         * intl/Makefile (codeset_mo): New variable.
74327         ($(codeset_mo)): New target.
74328         (tst-codeset.out): Depend on that.  Remove explicit rule.
74329         (tst-gettext3.out, tst-gettext5.out): Likewise.
74330         (LOCPATH-ENV, tst-codeset-ENV): New variables.
74331         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
74332         * intl/tst-codeset.sh: Remove.
74333         * intl/tst-gettext3.sh: Likewise.
74334         * intl/tst-gettext5.sh: Likewise.
74336 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74338         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
74339         * sysdeps/unix/syscalls.list: ... here.
74341         * sysdeps/posix/getaddrinfo.c
74342         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
74343         (gaiconf_init, gaiconf_reload): Use them.
74344         [!_STATBUF_ST_NSEC]
74345         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
74346         Define using time_t rather than struct timespec.
74348         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
74349         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
74350         Macros removed.
74351         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
74352         [!NO_THREADS].
74353         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
74354         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
74355         Likewise.
74357         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
74358         __libc_cleanup_push argument.
74360         * bits/param.h: New file.
74361         * misc/sys/param.h: New file.
74362         * include/sys/param.h: New file.
74363         * misc/Makefile (headers): Add bits/param.h.
74364         * sysdeps/generic/sys/param.h: File removed.
74365         * sysdeps/unix/sysv/linux/bits/param.h: New file.
74366         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
74367         * sysdeps/mach/hurd/bits/param.h: New file.
74368         * sysdeps/mach/hurd/sys/param.h: File removed.
74370         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
74371         last change.
74373         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
74374         [_IO_MTSAFE_IO].
74375         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
74376         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
74377         New macros.
74379         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
74380         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
74381         rather than -D_IO_MTSAFE_IO conditionally.
74382         * stdio-common/Makefile (CPPFLAGS): Likewise.
74383         * wcsmbs/Makefile (CPPFLAGS): Likewise.
74384         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
74385         Use $(libio-mtsafe).
74386         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
74387         of -D_IO_MTSAFE_IO.
74388         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
74389         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
74390         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
74391         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
74392         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
74393         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
74394         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
74395         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
74396         (CFLAGS-fread_u_chk.c): Likewise.
74397         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
74398         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
74399         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
74400         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
74401         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
74402         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
74403         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
74404         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
74405         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
74407         * libio/Makefile: Test [$(libc-reentrant) = yes]
74408         instead of [$(filter %REENTRANT, $(defines)) nonempty].
74410         * Makeconfig
74411         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
74412         * sysdeps/pthread/configure: File removed.
74413         * sysdeps/pthread/Makeconfig: New file.
74414         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
74415         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
74417 2012-08-16  Gary Benson  <gbenson@redhat.com>
74419         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
74420         unmapping the first object in a namespace.
74422 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74424         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
74425         (__internal_setnetgrent): ... this.  Add internal_function to
74426         definition.  Add libc_hidden_def.
74427         (setnetgrent): Update caller.
74428         (internal_endnetgrent): Renamed to ...
74429         (__internal_endnetgrent): ... this.  Add internal_function to
74430         definition.  Add libc_hidden_def.
74431         (endnetgrent): Update caller.
74432         (internal_getnetgrent_r): Renamed to ...
74433         (__internal_getnetgrent_r): ... this.  Add internal_function to
74434         definition.  Add libc_hidden_def.
74435         (__getnetgrent_r): Update caller.
74436         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
74438 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74440         * stdlib/longlong.h: Update from GCC.
74442 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74444         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
74445         on _QL, which is set by umul_ppmm but never used.
74446         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
74447         variables, which are set by GMP macros but never used.
74448         * stdio-common/_itowa.c (_itowa): Likewise.
74449         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
74450         * stdlib/mod_1.c (mpn_mod_1): Likewise.
74452 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
74454         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
74455         struct La_sh_regs is not constant.
74456         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
74457         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
74458         and struct La_sparc64_regs are not constant.
74460 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74462         * sysdeps/unix/sysv/linux/kernel-features.h
74463         (__ASSUME_POSIX_TIMERS): Remove.
74464         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74465         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74466         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
74467         Make code unconditional.
74468         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74469         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
74470         Make code unconditional.
74471         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74472         * sysdeps/unix/sysv/linux/clock_nanosleep.c
74473         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
74474         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74475         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
74476         Make code unconditional.
74477         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74478         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
74479         (__libc_missing_posix_timers): Remove.
74481 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74483         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
74484         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
74486         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
74488         * elf/dl-sym.c: Include <stdlib.h>.
74490         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
74491         constants, which avoids warnings in 32-bit builds.
74493         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
74494         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
74496         * misc/lseek.c: File moved to ...
74497         * io/lseek.c: ... here.
74499         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
74501         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
74502         shifting LEN more than 31 bits at once.
74504 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74506         [BZ #14195]
74507         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
74508         segmentation fault for a case of two empty input strings.
74509         * string/test-strncasecmp.c (check1): Renamed to...
74510         (bz12205): ...this.
74511         (bz14195): Add new testcase for two empty input strings and N > 0.
74512         (test_main): Call new testcase, adapt for renamed function.
74514 2012-08-15  Andreas Jaeger  <aj@suse.de>
74516         [BZ #14090]
74517         * crypt/md5test2.c: New test, based on test supplied by Serge
74518         Belyshev <belyshev@depni.sinp.msu.ru>.
74519         * crypt/Makefile (xtests): Add md5test-giant..
74520         * crypt/Makefile ($(objpfx)md5test-giant): Add.
74522 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
74524         [BZ #14090]
74525         * crypt/md5.c (md5_process_block): Don't assume the buffer
74526         length is less than 2**32.
74527         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
74528         length is less than 2**64.
74530 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74532         * string/str-two-way.h: Include <sys/param.h>.
74533         (MAX): Macro removed.
74535         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
74536         Move #define and #undef of memmove to just before and after
74537         including <string.h>.
74539         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
74540         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
74541         and after including <string.h>.  Move declarations of
74542         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
74543         to before #include "string/memmove.c".
74545         * include/dirent.h: Declare __getdirentries.
74547         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
74548         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
74550 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
74552         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
74553         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
74554         * sysdeps/i386/configure: Regenerated.
74555         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
74556         STABS_CURRENT_FILE, and STABS_FUN.
74557         (END): Remove call to STABS_FUN_END.
74558         (STABS_CURRENT_FILE1): Delete.
74559         (STABS_CURRENT_FILE): Likewise.
74560         (STABS_FUN): Likewise.
74561         (STABS_FUN_END): Likewise.
74562         (STABS_FUN2): Likewise.
74563         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
74564         * sysdeps/x86_64/configure: Regenerated.
74566 2012-08-14  Roland McGrath  <roland@hack.frob.com>
74568         * elf/dl-open.c: Include <atomic.h>.
74569         * elf/dl-lookup.c: Likewise.
74571 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
74573         * sysdeps/unix/sysv/linux/kernel-features.h
74574         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
74575         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
74576         unconditionally.
74577         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
74578         unconditionally.
74579         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
74580         condition on __ASSUME_CLONE_THREAD_FLAGS.
74582 2012-08-14  Andreas Jaeger  <aj@suse.de>
74584         * sysdeps/i386/fpu/libm-test-ulps: Update.
74586 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
74588         * include/atomic.h (atomic_exchange_and_add): Split into ...
74589         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
74590         New atomic macros.
74592 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
74594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74596 2012-08-13  Jeff Law <law@redhat.com>
74598         * manual/stdio.texi (snprintf): Clarify handling of the trailing
74599         null byte in the output string.
74601 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
74603         * sysdeps/unix/sysv/linux/kernel-features.h
74604         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
74605         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74606         (__ASSUME_ARG_MAX_STACK_BASED): Define.
74607         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
74608         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
74609         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
74610         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
74612 2012-08-09  Jeff Law <law@redhat.com>
74614         [BZ #13939]
74615         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74616         When avoid_arena is set, don't retry in the that arena.  Pick the
74617         next one, whatever it might be.
74618         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
74619         (arena_lock): Pass in new parameter to arena_get2.
74620         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
74621         arena_get2.
74622         (__libc_malloc): Unify retrying after main arena failure with
74623         __libc_memalign version.
74624         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74626 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
74628         [BZ #14166]
74629         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74630         to __redirect_strstr.
74631         (__strstr_sse42): Use typeof __redirect_strstr.
74632         (__strstr_ia32): Likewise.
74633         (__libc_strstr): New prototype.
74634         (strstr): Renamed to ...
74635         (__libc_strstr): This.
74636         (strstr): New strong alias of __libc_strstr.
74637         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74638         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74639         __redirect_time.
74640         Include <time.h>.
74641         (__libc_time): New prototype.
74642         (time_ifunc): Replace time with __libc_time.
74643         (time): New strong alias and hidden definition of __libc_time.
74644         (__GI_time): Remove strong alias.
74645         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74646         Include <stddef.h>.
74647         (memmove): Redefined to __redirect_memmove.
74648         (__memmove_sse2): Use typeof __redirect_memmove.
74649         (__memmove_ssse3): Likewise.
74650         (__memmove_ssse3_back): Likewise.
74651         (__libc_memmove): New prototype.
74652         (memmove): Renamed to ...
74653         (__libc_memmove): This.
74654         (memmove): New strong alias of __libc_memmove.
74656 2012-08-08  Mark Salter  <msalter@redhat.com>
74658         * elf/elf.h
74659         (R_MN10300_TLS_GD): Define.
74660         (R_MN10300_TLS_LD): Likewise.
74661         (R_MN10300_TLS_LDO): Likewise.
74662         (R_MN10300_TLS_GOTIE): Likewise.
74663         (R_MN10300_TLS_IE): Likewise.
74664         (R_MN10300_TLS_LE): Likewise.
74665         (R_MN10300_TLS_DTPMOD): Likewise.
74666         (R_MN10300_TLS_DTPOFF): Likewise.
74667         (R_MN10300_TLS_TPOFF): Likewise.
74668         (R_MN10300_SYM_DIFF): Likewise.
74669         (R_MN10300_ALIGN): Likewise.
74670         (R_MN10300_NUM): Update.
74672 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
74674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74675         Remove.
74677 2012-08-08  Roland McGrath  <roland@hack.frob.com>
74679         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74681         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
74682         sysdeps/unix -> sysdeps/posix move.
74683         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
74685 2012-08-07      Allan McRae     <allan@archlinux.org>
74687         [BZ #14303]
74688         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
74689         (SUNOS_CPP): Likewise.
74690         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
74691         not found.
74692         (open_input): Call CPP using execvp.
74694 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74696         * sysdeps/unix/sysv/linux/kernel-features.h
74697         (__ASSUME_PROT_GROWSUPDOWN): Remove.
74698         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74699         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74700         (__ASSUME_WAITID_SYSCALL): Likewise.
74701         * sysdeps/unix/sysv/linux/dl-execstack.c
74702         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
74703         code unconditional.
74704         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
74705         conditional code.
74706         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
74707         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
74708         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
74709         code.
74710         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
74711         unconditional.
74712         [__ASSUME_WAITID_SYSCALL]: Likewise.
74713         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
74715 2012-08-07  Roland McGrath  <roland@hack.frob.com>
74717         * sysdeps/unix/closedir.c: Renamed to ...
74718         * sysdeps/posix/closedir.c: ... here.
74719         * sysdeps/unix/dirfd.c: Renamed to ...
74720         * sysdeps/posix/dirfd.c: ... here.
74721         * sysdeps/unix/dirstream.h: Renamed to ...
74722         * sysdeps/posix/dirstream.h: ... here.
74723         * sysdeps/unix/fdopendir.c: Renamed to ...
74724         * sysdeps/posix/fdopendir.c: ... here.
74725         * sysdeps/unix/opendir.c: Renamed to ...
74726         * sysdeps/posix/opendir.c: ... here.
74727         * sysdeps/unix/readdir.c: Renamed to ...
74728         * sysdeps/posix/readdir.c: ... here.
74729         * sysdeps/unix/readdir_r.c: Renamed to ...
74730         * sysdeps/posix/readdir_r.c: ... here.
74731         * sysdeps/unix/rewinddir.c: Renamed to ...
74732         * sysdeps/posix/rewinddir.c: ... here.
74733         * sysdeps/unix/seekdir.c: Renamed to ...
74734         * sysdeps/posix/seekdir.c: ... here.
74735         * sysdeps/unix/telldir.c: Renamed to ...
74736         * sysdeps/posix/telldir.c: ... here.
74737         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
74738         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
74739         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
74740         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
74742         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
74743         * bits/fcntl.h: ... here.
74745         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
74746         not 0.
74747         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
74748         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
74749         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74750         (struct flock): Move l_start, l_len to the beginning.
74751         Use __pid_t for l_pid.
74752         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
74753         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
74754         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
74755         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
74756         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
74757         [__USE_LARGEFILE64] (struct flock64): New type.
74758         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
74760         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
74761         * bits/dirent.h: ... here.
74763         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
74764         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
74766 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74768         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74769         Change from 2.6.0 to 2.6.16.
74770         * sysdeps/unix/sysv/linux/configure: Regenerated.
74771         * sysdeps/unix/sysv/linux/kernel-features.h
74772         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
74773         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
74774         version.
74775         (__ASSUME_UTIMES): Likewise.
74776         (__ASSUME_CLONE_STOPPED): Remove.
74777         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
74778         architectures, not kernel version.
74779         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
74780         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74781         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74782         (__ASSUME_WAITID_SYSCALL): Likewise.
74783         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
74784         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
74785         * README: State 2.6.16 as minimum Linux kernel version.  Do not
74786         refer to older versions.
74788 2012-08-06  Roland McGrath  <roland@hack.frob.com>
74790         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
74791         Define alphasort64 as an alias.
74792         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
74793         Define versionsort64 as an alias.
74794         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
74795         Define scandir64 as an alias.
74796         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
74797         Define scandirat64 as an alias.
74798         * dirent/alphasort64.c (alphasort64):
74799         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
74800         * dirent/versionsort64.c: Likewise.
74801         * dirent/scandir64.c: Likewise.
74802         * dirent/scandirat64.c: Likewise.
74803         * sysdeps/wordsize-64/alphasort.c: File removed.
74804         * sysdeps/wordsize-64/alphasort64.c: File removed.
74805         * sysdeps/wordsize-64/scandir.c: File removed.
74806         * sysdeps/wordsize-64/scandir64.c: File removed.
74807         * sysdeps/wordsize-64/scandirat.c: File removed.
74808         * sysdeps/wordsize-64/scandirat64.c: File removed.
74809         * sysdeps/wordsize-64/versionsort.c: File removed.
74810         * sysdeps/wordsize-64/versionsort64.c: File removed.
74811         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
74812         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
74813         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
74814         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
74815         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
74816         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
74817         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
74818         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
74820         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
74821         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74822         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
74823         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74824         [defined __arch64__ || defined __sparcv9]
74825         (__INO_T_MATCHES_INO64_T): New macro.
74826         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74827         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
74828         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
74829         * sysdeps/unix/sysv/linux/bits/dirent.h
74830         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74831         (_DIRENT_MATCHES_DIRENT64): New macro.
74833         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
74834         Define lockf64 as an alias.
74835         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
74836         Define fseeko64 as an alias.
74837         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
74838         Define ftello64 as an alias.
74839         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
74840         Define _IO_fgetpos64 and fgetpos64 as aliases.
74841         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
74842         Define _IO_fsetpos64 and fsetpos64 as aliases.
74843         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
74844         Conditionalize body on this.
74845         * libio/fseeko64.c: Likewise.
74846         * libio/ftello64.c: Likewise.
74847         * libio/iofgetpos64.c: Likewise.
74848         * libio/iofsetpos64.c: Likewise.
74849         * sysdeps/wordsize-64/lockf.c: File removed.
74850         * sysdeps/wordsize-64/lockf64.c: File removed.
74851         * sysdeps/wordsize-64/fseeko.c: File removed.
74852         * sysdeps/wordsize-64/fseeko64.c: File removed.
74853         * sysdeps/wordsize-64/ftello.c: File removed.
74854         * sysdeps/wordsize-64/ftello64.c: File removed.
74855         * sysdeps/wordsize-64/iofgetpos.c: File removed.
74856         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
74857         * sysdeps/wordsize-64/iofsetpos.c: File removed.
74858         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
74859         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
74860         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
74861         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
74862         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
74863         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
74864         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
74865         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
74866         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
74867         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
74868         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
74870         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74871         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74872         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
74873         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74874         [defined __arch64__ || defined __sparcv9]
74875         (__OFF_T_MATCHES_OFF64_T): New macro.
74876         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74877         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74878         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74879         (__OFF_T_MATCHES_OFF64_T): New macro.
74881 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74883         * stdlib/secure-getenv.c (__secure_getenv): Replace
74884         GLIBC_2_16 with GLIBC_2_17.
74886 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74888         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
74889         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74891 2012-08-03  David S. Miller  <davem@davemloft.net>
74893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74895 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74897         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
74898         Remove.
74899         (__ASSUME_CORRECT_SI_PID): Likewise.
74900         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
74901         (__ASSUME_TMPFS_NAME): Likewise.
74902         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
74903         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
74904         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
74905         (HAVE_AUX_SECURE): Make definition unconditional.
74906         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
74907         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
74909 2012-08-03  Roland McGrath  <roland@hack.frob.com>
74911         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
74912         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
74913         * sysdeps/mach/hurd/eloop-threshold.h: New file.
74914         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74915         __eloop_threshold instead of SYMLOOP_MAX.
74917         * sysdeps/generic/eloop-threshold.h: New file.
74918         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
74919         of MAXSYMLINKS.
74920         * elf/chroot_canon.c (chroot_canon): Likewise.
74922 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74924         [BZ #13717]
74925         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74926         Change to 2.6.0 everywhere.
74927         * sysdeps/unix/sysv/linux/configure: Regenerated.
74928         * sysdeps/unix/sysv/linux/kernel-features.h
74929         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
74930         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
74931         kernel versions.
74932         (__ASSUME_POSIX_TIMERS): Define unconditionally.
74933         (__ASSUME_FUTEX_REQUEUE): Remove.
74934         (__ASSUME_STATFS64): Define unconditionally.
74935         (__ASSUME_AT_SECURE): Likewise.
74936         (__ASSUME_CORRECT_SI_PID): Likewise.
74937         (__ASSUME_TGKILL): Define without depending on kernel version for
74938         i386.
74939         (__ASSUME_UTIMES): Likewise.
74940         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
74941         kernel version.
74942         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
74943         (__ASSUME_TMPFS_NAME): Likewise.
74944         * README: Update reference to Linux kernel versions.
74946 2012-08-02  Marek Polacek  <polacek@redhat.com>
74948         [BZ #14150]
74949         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
74950         libc_cv_asm_type_prefix with %.
74951         * configure: Regenerated.
74952         * include/libc-symbols.h: Remove comment about
74953         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74954         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
74955         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
74956         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
74957         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
74958         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74959         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
74960         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
74961         * elf/tst-unique2mod1.c: Likewise.
74962         * elf/tst-unique1mod2.c: Likewise.
74963         * elf/tst-unique1mod1.c: Likewise.
74964         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
74965         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
74966         Replace ASM_TYPE_DIRECTIVE with .type.
74967         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74968         * sysdeps/i386/sysdep.h: Likewise.
74969         * sysdeps/x86_64/sysdep.h: Likewise.
74970         * sysdeps/sh/sysdep.h: Likewise.
74971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74972         Do not define ASM_TYPE_DIRECTIVE.
74973         * sysdeps/powerpc/sysdep.h: Likewise.
74974         * sysdeps/powerpc/powerpc32/sysdep.h:
74975         Replace ASM_TYPE_DIRECTIVE with .type.
74976         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74977         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74978         * sysdeps/i386/fpu/e_powf.S: Likewise.
74979         * sysdeps/i386/fpu/e_expl.S: Likewise.
74980         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74981         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74982         * sysdeps/i386/fpu/e_pow.S: Likewise.
74983         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74984         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74985         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74986         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74987         * sysdeps/i386/fpu/e_log2.S: Likewise.
74988         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74989         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74990         * sysdeps/i386/fpu/e_powl.S: Likewise.
74991         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74992         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74993         * sysdeps/i386/fpu/e_logl.S: Likewise.
74994         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74995         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74996         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74997         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74998         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74999         * sysdeps/i386/fpu/e_log.S: Likewise.
75000         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75001         * sysdeps/i386/fpu/e_logf.S: Likewise.
75002         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75003         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75004         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75005         * sysdeps/i386/fpu/e_log10.S: Likewise.
75006         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75007         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75008         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75009         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75010         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75011         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75012         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75013         * sysdeps/i386/i686/strtok.S: Likewise.
75014         * sysdeps/i386/i386-mcount.S: Likewise.
75015         * sysdeps/i386/strtok.S: Likewise.
75016         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75017         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75018         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75019         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75020         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75021         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75022         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75023         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75024         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75025         * sysdeps/x86_64/_mcount.S: Likewise.
75026         * sysdeps/x86_64/strtok.S: Likewise.
75027         * sysdeps/sh/_mcount.S: Likewise.
75029 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75031         * libio/iofopen.c: Include <fcntl.h>.
75032         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75033         (_IO_fopen64, fopen64): Define as aliases.
75034         * libio/iofopen64.c: Include <fcntl.h>.
75035         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75036         Conditionalize body on this.
75037         * sysdeps/wordsize-64/iofopen.c: File removed.
75038         * sysdeps/wordsize-64/iofopen64.c: File removed.
75040 2012-08-01  Marek Polacek  <polacek@redhat.com>
75042         * libc/Makeconfig: Use elf in place of binfmt-subdir.
75043         Use dlfcn directly instead of a variable.
75044         (binfmt-subdir): Do not define.
75045         (dlfcn): Likewise.
75047 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
75049         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75050         Remove all definitions.
75051         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75052         <kernel-features.h>.
75053         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75054         (miss_F_GETOWN_EX): Remove all definitions.
75055         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75056         macro definition.
75057         [!__ASSUME_FCNTL64]: Remove conditional code.
75058         [__ASSUME_FCNTL64]: Make code unconditional.
75059         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75060         <kernel-features.h>.
75061         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75062         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75063         (lockf64) [__NR_fcntl64]: Make code unconditional.
75064         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75066         * sysdeps/unix/sysv/linux/kernel-features.h
75067         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75068         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75069         Make code unconditional.
75070         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75071         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75073         [__NR_vfork]: Make code unconditional.
75074         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75075         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75077         [__NR_vfork]: Make code unconditional.
75078         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75079         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75081 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75083         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75084         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75086         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75087         Define mkstemp64 as an alias.
75088         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75089         Define mkstemps64 as an alias.
75090         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75091         Define mkostemp64 as an alias.
75092         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75093         Define mkostemps64 as an alias.
75094         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75095         Conditionalize body on this.
75096         * misc/mkostemp64.c: Likewise.
75097         * misc/mkostemps64.c: Likewise.
75098         * misc/mkstemps64.c: Likewise.
75099         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75100         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75101         * sysdeps/wordsize-64/mkostemp.c: File removed.
75102         * sysdeps/wordsize-64/mkstemp.c: File removed.
75103         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75104         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75105         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75106         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75108         [BZ #14138]
75109         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75110         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75111         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75112         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75114         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75115         compat_symbol macros from <shlib-compat.h> rather than the underlying
75116         default_symbol_version and symbol_version macros, so that DEFAULT
75117         lines in shlib-versions are respected.
75118         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75120 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75122         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75123         Declare with warn_unused_result.
75124         (setgid, setregid, setegid, setresgid): Likewise.
75125         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75126         Likewise.
75127         * WUR-REPORT: Remove set*id functions.
75129 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75131         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75133 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75135         [BZ #10191]
75136         * include/sys/socket.h (__libc_accept, __libc_accept4):
75137         Add attribute_hidden.
75138         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75140         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75141         use of PTR_MANGLE.
75142         * inet/getnetgrent_r.c (setup): Likewise.
75144         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75146 2012-07-31  David S. Miller  <davem@davemloft.net>
75148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75150 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75152         [BZ #13629]
75153         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75154         value between 1.0 and 2.0 and smaller part has absolute value less
75155         than 1.0.
75156         * math/s_clog10.c (__clog10): Likewise.
75157         * math/s_clog10f.c (__clog10f): Likewise.
75158         * math/s_clog10l.c (__clog10l): Likewise.
75159         * math/s_clogf.c (__clogf): Likewise.
75160         * math/s_clogl.c (__clogl): Likewise.
75161         * math/libm-test.inc (clog_test): Add more tests.
75162         (clog10_test): Likewise.
75163         * sysdeps/i386/fpu/libm-test-ulps: Update.
75164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75166 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75168         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75169         Exit with zero in case no suitable GID is found, and write a
75170         message to standard error.
75172 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75174         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75175         rather than to 1.
75176         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75177         (MAXPATHLEN): Removed.
75178         (NOGROUP, NODEV): New macros.
75179         (setbit, clrbit, isset, isclr): New macros.
75180         (howmany, roundup, powerof2): New macros.
75181         (DEV_BSIZE): New macro.
75183         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75184         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75186         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75187         definition on [!__NO_LONG_DOUBLE_MATH].
75189         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75190         PTR_MANGLE and PTR_DEMANGLE.
75192         * socket/accept4.c (accept4): Rename to __libc_accept4.
75193         Define accept4 as a weak alias.
75195         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75196         on [_DIRENT_HAVE_D_TYPE].
75197         * io/ftw.c (ftw_dir): Likewise.
75199         * io/xmknod.c (__xmknod): Don't check PATH for being null.
75201         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75203         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75204         Use the BSD numbers rather than the arbitrary ones we had.
75205         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75206         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75207         (SIGXCPU, SIGXFSZ): New macros.
75208         (_NSIG): Now 32.
75210         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75211         initializer on [_LIBC_REENTRANT].
75213         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75214         definitions inside [_POSIX_MAPPED_FILES].
75216         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75218         * dirent/opendir.c: Include <fcntl.h>.
75220         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75221         (__libc_getspecific): Likewise.
75222         (__libc_key_create): Likewise.
75224         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75225         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75226         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75227         (tmpfile64): Define as alias.
75228         * sysdeps/wordsize-64/tmpfile.c: File removed.
75229         * sysdeps/wordsize-64/tmpfile64.c: File removed.
75230         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75231         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75233         * stdio-common/vfscanf.c: Include <stdbool.h>.
75234         * nss/makedb.c: Likewise.
75235         * stdio-common/_i18n_number.h: Likewise.
75236         * argp/argp-help.c: Likewise.
75237         * posix/wordexp.c: Likewise.
75238         * sysdeps/posix/spawni.c: Likewise.
75239         * nss/nss_files/files-initgroups.c: Likewise.
75240         * stdio-common/reg-modifier.c: Include <stdlib.h>.
75241         * nss/nss_files/files-initgroups.c: Likewise.
75242         * nss/nss_db/db-netgrp.c: Likewise.
75243         * nss/nss_db/db-initgroups.c: Likewise.
75244         * io/fchmodat.c: Include <sys/stat.h>.
75246         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75247         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75249         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75250         [HAVE_MMAP].
75252         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75253         Add multiple inclusion protection.
75255 2012-07-27  David S. Miller  <davem@davemloft.net>
75257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75259 2012-07-27  Gary Benson  <gbenson@redhat.com>
75261         [BZ #14298]
75262         * elf/rtld.c: Include <stap-probe.h>.
75263         (dl_main): Added static probes "init_start" and "init_complete".
75264         * elf/dl-load.c: Include <stap-probe.h>.
75265         (lose): Take new parameter "nsid".
75266         Added static probe "map_failed".
75267         (_dl_map_object_from_fd): Pass namespace id to lose.
75268         Added static probe "map_start".
75269         (open_verify): Pass namespace id to lose.
75270         * elf/dl-open.c: Include <stap-probe.h>.
75271         (dl_open_worker) Added static probes "map_complete", "reloc_start"
75272         and "reloc_complete".
75273         * elf/dl-close.c: Include <stap-probe.h>.
75274         (_dl_close_worker): Added static probes "unmap_start" and
75275         "unmap_complete".
75276         * elf/rtld-debugger-interface.txt: New file documenting the above.
75278 2012-07-26  Roland McGrath  <roland@hack.frob.com>
75280         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75281         rather than a string variable.
75282         * sunrpc/rpc_main.c (h_output): Likewise.
75283         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75285 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
75287         * inet/check_native.c: New file.
75289 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
75291         [BZ #13629]
75292         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
75293         if larger part has absolute value 1.0.
75294         * math/s_clog10.c (__clog10): Likewise.
75295         * math/s_clog10f.c (__clog10f): Likewise.
75296         * math/s_clog10l.c (__clog10l): Likewise.
75297         * math/s_clogf.c (__clogf): Likewise.
75298         * math/s_clogl.c (__clogl): Likewise.
75299         * math/libm-test.inc (clog_test): Add more tests.
75300         (clog10_test): Likewise.
75301         * sysdeps/i386/fpu/libm-test-ulps: Update.
75302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75304         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
75305         (pltexit): Likewise.
75306         (La_regs): Likewise.
75307         (La_retval): Likewise.
75308         (int_retval): Likewise.
75309         Update #error for removed macros to refer only to definitions in
75310         tst-audit.h.
75311         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
75312         macro.
75313         (pltexit): Likewise.
75314         (La_regs): Likewise.
75315         (La_retval): Likewise.
75316         (int_retval): Likewise.
75317         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
75318         macro.
75319         (pltexit): Likewise.
75320         (La_regs): Likewise.
75321         (La_retval): Likewise.
75322         (int_retval): Likewise.
75323         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
75324         macro.
75325         (pltexit): Likewise.
75326         (La_regs): Likewise.
75327         (La_retval): Likewise.
75328         (int_retval): Likewise.
75329         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
75330         macro.
75331         (pltexit): Likewise.
75332         (La_regs): Likewise.
75333         (La_retval): Likewise.
75334         (int_retval): Likewise.
75335         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
75336         macro.
75337         (pltexit): Likewise.
75338         (La_regs): Likewise.
75339         (La_retval): Likewise.
75340         (int_retval): Likewise.
75341         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
75342         macro.
75343         (pltexit): Likewise.
75344         (La_regs): Likewise.
75345         (La_retval): Likewise.
75346         (int_retval): Likewise.
75347         * sysdeps/generic/tst-audit.h: Update comment to refer only to
75348         macro definitions in tst-audit.h.
75349         * sysdeps/i386/tst-audit.h: New file.
75350         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
75351         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
75352         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
75353         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
75354         * sysdeps/sh/tst-audit.h: Likewise.
75355         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
75356         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
75357         * sysdeps/x86_64/tst-audit.h: Likewise.
75359 2012-07-26  Andreas Jaeger  <aj@suse.de>
75361         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
75362         ptrace.
75364         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
75365         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
75366         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
75367         PTRACE_O_MASK.
75368         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
75369         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
75370         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
75372         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
75373         value.
75375         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
75376         _sigsys.
75377         (si_call_addr, si_syscall, si_arch): Define new macro.
75378         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
75379         _sigsys.
75380         (si_call_addr, si_syscall, si_arch): Define new marcro.
75381         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
75382         _sigsys.
75383         (si_call_addr, si_syscall, si_arch): Define new macro.
75384         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
75385         _sigsys.
75386         (si_call_addr, si_syscall, si_arch): Define new macro.
75388 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75390         [BZ #13717]
75391         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75392         Change to 2.4.21 where previously 2.4.1.
75393         * sysdeps/unix/sysv/linux/configure: Regenerated.
75394         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
75395         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
75396         Linux kernel version.
75397         (__ASSUME_STD_AUXV): Remove.
75398         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
75399         kernel version.
75400         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
75401         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
75402         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
75403         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
75404         (__ASSUME_NETLINK_SUPPORT): Likewise.
75405         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
75406         (__no_netlink_support): Remove conditional definition.
75407         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
75408         Remove.
75409         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75410         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
75411         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
75412         (if_nameindex_ioctl): Remove.
75413         (if_nameindex_netlink): Do not handle __no_netlink_support.
75414         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75415         code.
75416         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
75417         Remove conditional code.
75418         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75419         code.
75420         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
75421         unconditional.
75422         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75423         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
75424         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
75425         Remove.
75426         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
75427         [!__ASSUME_STD_AUXV]: Remove conditional code.
75428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
75429         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
75430         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
75431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
75432         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
75433         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75434         code.
75435         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
75437         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
75438         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75439         conditional code.
75440         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
75442         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75443         code.
75444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
75445         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75446         conditional code.
75447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
75448         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75449         code unconditional.
75450         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75451         conditional code.
75452         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75453         unconditional.
75454         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75455         conditional code.
75456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75457         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75458         unconditional.
75459         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75460         conditional code.
75461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
75462         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75463         code unconditional.
75464         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75465         conditional code.
75466         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75467         unconditional.
75468         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75469         conditional code.
75470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
75471         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75472         code unconditional.
75473         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75474         conditional code.
75475         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75476         unconditional.
75477         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75478         conditional code.
75480 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
75482         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
75483         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
75484         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
75485         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
75486         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
75487         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
75488         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
75489         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
75490         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
75491         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
75492         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
75493         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
75494         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
75495         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
75496         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
75497         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
75498         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
75499         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
75500         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
75501         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
75502         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
75503         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
75504         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75506 2012-07-25  Florian Weimer  <fweimer@redhat.com>
75508         * Versions.def: Add GLIBC_2.17.
75509         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
75510         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
75511         Introduce __libc_secure_getenv.
75512         * stdlib/Versions (2.17): Add secure_getenv
75513         (GLIBC_PRIVATE): Add __libc_secure_getenv.
75514         * stdlib/secure-getenv.c: Rename __secure_getenv to
75515         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
75516         symbol __secure_getenv for GLIBC_2.0.
75517         * stdlib/tst-secure-getenv.c: New.
75518         * stdlib/Makefile (tests): Add testcase.
75519         * manual/startup.texi (Environment Access): Document
75520         secure_getenv.
75521         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
75522         __libc_secure_getenv.
75523         * inet/ruserpass.c (ruserpass): Likewise.
75524         * malloc/mtrace.c (mtrace): Likewise.
75525         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
75526         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
75527         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
75528         * sysdeps/posix/tempname.c: Likewise.  Evaluate
75529         HAVE_SECURE_GETENV.
75530         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
75531         __secure_getenv to __libc_secure_getenv.
75532         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
75533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75534         Likewise.
75535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75536         Likewise.
75537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75539         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75545 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75547         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
75548         (struct La_i86_retval): Likewise.
75549         (struct La_x86_64_regs): Likewise.
75550         (struct La_x86_64_retval): Likewise.
75551         (struct La_x32_regs): Likewise.
75552         (struct La_x32_retval): Likewise.
75553         (struct La_ppc32_regs): Likewise.
75554         (struct La_ppc32_retval): Likewise.
75555         (struct La_ppc64_regs): Likewise.
75556         (struct La_ppc64_retval): Likewise.
75557         (struct La_sh_regs): Likewise.
75558         (struct La_sh_retval): Likewise.
75559         (struct La_s390_32_regs): Likewise.
75560         (struct La_s390_32_retval): Likewise.
75561         (struct La_s390_64_regs): Likewise.
75562         (struct La_s390_64_retval): Likewise.
75563         (struct La_sparc32_regs): Likewise.
75564         (struct La_sparc32_retval): Likewise.
75565         (struct La_sparc64_regs): Likewise.
75566         (struct La_sparc64_retval): Likewise.
75567         (struct audit_ifaces): Remove architecture-specific pltenter and
75568         pltexit members.
75569         * sysdeps/i386/ldsodefs.h: New file.
75570         * sysdeps/powerpc/ldsodefs.h: Likewise.
75571         * sysdeps/s390/ldsodefs.h: Likewise.
75572         * sysdeps/sh/ldsodefs.h: Likewise.
75573         * sysdeps/sparc/ldsodefs.h: Likewise.
75574         * sysdeps/x86_64/ldsodefs.h: Likewise.
75576 2012-07-25  Marek Polacek  <polacek@redhat.com>
75578         [BZ #6808]
75579         * math/libm-test.inc (yn_test): Add another test.
75580         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
75581         to ERANGE when the result is +-Inf.
75582         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
75583         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
75584         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
75585         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
75587 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
75589         * conform/data/time.h-data (NULL): Use macro-constant.  Require
75590         equal to 0.
75591         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
75592         clock_t.
75593         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
75595 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
75597         * configure.in <sysdeps resolving>: Correct printing
75598         Implies_before.
75599         * configure: Regenerate.
75601 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
75603         * math/w_ilogb.c: Include <limits.h>.
75604         * math/w_ilogbl.c: Likewise.
75606 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75608         * manual/lang.texi (__va_copy): Document primarily as ISO C99
75609         va_copy.  Document allowing for unavailable va_copy only as
75610         pre-C99 compatibility.
75611         * manual/string.texi (Copying and Concatenation): Use va_copy
75612         instead of __va_copy in concat example.
75614 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
75616         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
75617         (__sendto): Use create_address_port.  Initialize APORT and deallocate
75618         it if not null.
75620         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
75621         with O_NOLINK passed to __file_name_lookup.
75623         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75624         with O_NOLINK passed to __file_name_lookup.
75626         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75627         negative N or less than NGIDS.
75629         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75630         type to string_t.  Set ERANGE as errno and return it if NAME is not big
75631         enough.  Use memcpy instead of strncpy.
75633 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75635         * elf/Makefile (check-data): Remove.
75636         (localplt.data): New vpath directive.
75637         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75638         instead of $(check-data).
75639         * scripts/data/localplt-generic.data: Move to ...
75640         * sysdeps/generic/localplt.data: ... here.
75641         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75642         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75643         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75645         ... here.
75646         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75648         ... here.
75649         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75651         ... here.
75652         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75654         ... here.
75655         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75657         ... here.
75658         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75660         ... here.
75662 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75664         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75665         PPC32 and PPC64 files.
75666         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75667         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75669 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75671         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75672         __makecontext_ret to ...
75673         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75674         ... here and call exit if uc_link is NULL.  New file.
75675         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75676         __makecontext_ret.S.
75677         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75678         __makecontext_ret to ...
75679         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75680         ... here and call exit if uc_link is NULL.  New file.
75681         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
75682         __makecontext_ret.S.
75684 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75686         * elf/elf.h (R_390_IRELATIVE): New definition.
75687         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75688         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
75689         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
75690         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
75691         (elf_machine_lazy_rel): Likewise.
75692         * sysdeps/s390/dl-irel.h: New file.
75693         * sysdeps/s390/s390-64/memcpy.S: New asm code.
75694         * sysdeps/s390/s390-64/memset.S: New asm code.
75695         * sysdeps/s390/s390-64/memcmp.S: New asm code.
75696         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
75697         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
75698         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
75699         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
75700         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
75701         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
75702         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
75703         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
75704         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
75705         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
75706         * sysdeps/s390/s390-32/memcpy.S: New asm code.
75707         * sysdeps/s390/s390-32/memset.S: New asm code.
75708         * sysdeps/s390/s390-32/memcmp.S: New asm code.
75710 2012-07-17  Marek Polacek  <polacek@redhat.com>
75712         [BZ #14349]
75713         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
75714         * sysdeps/s390/s390-64/configure.in: Likewise.
75715         * sysdeps/sparc/configure.in: Likewise.
75716         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
75717         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
75718         * sysdeps/i386/configure.in: Likewise.
75719         * sysdeps/x86_64/configure.in: Likewise.
75720         * sysdeps/sh/configure.in: Likewise.
75721         * sysdeps/s390/s390-32/configure: Regenerated.
75722         * sysdeps/s390/s390-64/configure: Likewise.
75723         * sysdeps/x86_64/configure: Likewise.
75724         * sysdeps/sh/configure: Likewise.
75725         * sysdeps/powerpc/powerpc64/configure: Likewise.
75726         * sysdeps/powerpc/powerpc32/configure: Likewise.
75727         * sysdeps/sparc/configure: Likewise.
75728         * sysdeps/i386/configure: Likewise.
75730         * elf/dl-open.c: Comment fixes.
75732 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
75734         * Makefile [CXX] (check-data): Remove.
75735         [CXX] (c++-types.data): New vpath directive.
75736         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
75737         vpath.  Do not allow for C++ type data being missing.
75738         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
75739         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
75740         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
75741         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
75742         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75743         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
75744         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
75745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
75746         ... here.
75747         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
75748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
75749         ... here.
75750         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
75751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
75752         ... here.
75753         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
75754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
75755         ... here.
75756         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
75757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
75758         ... here.
75759         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
75760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
75761         ... here.
75762         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
75763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
75764         ... here.
75765         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
75766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
75768         * elf/tls-macros.h (TLS_LE): Move architecture-specific
75769         definitions to architecture-specific files.
75770         (TLS_IE): Likewise.
75771         (TLS_LD): Likewise.
75772         (TLS_GD): Likewise.
75773         * sysdeps/i386/tls-macros.h: New file.
75774         * sysdeps/powerpc/tls-macros.h: Likewise.
75775         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
75776         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
75777         * sysdeps/sh/tls-macros.h: Likewise.
75778         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
75779         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
75780         * sysdeps/x86_64/tls-macros.h: Likewise.
75782 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75784         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
75785         zero value for regular exit case.
75787         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
75788         (__start_context): Preserve zero value for regular exit case.
75790 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75791             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75793         * manual/setjmp.texi (setcontext): Clarify normal process
75794         termination when uc_link is the null pointer.
75795         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
75796         exit call.
75798 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
75800         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
75801         preprocessor.  Test for each exception mask separately.
75803 2012-07-16  Andreas Jaeger  <aj@suse.de>
75805         * po/ru.po: Update from translation team.
75807 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
75809         * conform/data/string.h-data (NULL): Use macro-constant.  Require
75810         equal to 0.
75811         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75812         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75813         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
75814         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
75815         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75817 2012-07-13  Andreas Jaeger  <aj@suse.de>
75819         * po/fr.po: Update from translation team.
75821 2012-07-12  Marek Polacek  <polacek@redhat.com>
75823         [BZ #14173]
75824         * math/libm-test.inc (yn_test): Add test for BZ #14173.
75825         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
75826         loop condition.
75828 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
75830         [BZ #13717]
75831         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75832         Change to 2.4.1 where previously 2.4.0.
75833         * sysdeps/unix/sysv/linux/configure: Regenerated.
75834         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
75835         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
75836         version.
75837         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
75838         (__ASSUME_AT_CLKTCK): Remove.
75839         (__ASSUME_AT_PAGESIZE): Likewise.
75840         (__ASSUME_AT_XID): Likewise.
75841         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
75842         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
75843         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
75844         unconditionally.
75845         (HAVE_AUX_PAGESIZE): Likewise.
75846         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
75847         [__ASSUME_AT_CLKTCK]: Make code unconditional.
75848         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
75850 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
75852         [BZ #14307]
75853         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
75854         the temporary buffer used to invoke __gethostbyname2_r,
75855         __gethostbyaddr_r and gethostbyname4_r to make room for struct
75856         host_data / struct gaih_addrtuple.
75857         * resolv/nss_dns/dns-host.c (global scope): Move definition of
75858         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
75859         header file nss/nsswitch.h.
75860         * nss/nsswitch.h (global scope): Add definition of implementation
75861         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
75862         resolv/nss_dns/dns-host.c).
75864 2012-07-11  Andreas Jaeger  <aj@suse.de>
75866         * po/fr.po: Update from translation team.
75868         * po/sv.po: Update from translation team
75869         * po/fr.po: Another update from translation team.
75871 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75873         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
75874         for subnormals or multiply small sinh result by itself.
75875         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75878 2012-07-11  David S. Miller  <davem@davemloft.net>
75880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75882 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
75884         [BZ #14347]
75885         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
75886         (INTERNAL_MARK): Shift it here.
75888 2012-07-10  Marek Polacek  <polacek@redhat.com>
75890         [BZ #14151]
75891         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
75892         libc_cv_asm_global_directive with .globl.
75893         * configure: Regenerated.
75894         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
75895         with .globl.
75896         * sysdeps/i386/configure: Regenerated.
75897         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
75898         with .globl.
75899         * sysdeps/x86_64/configure: Regenerated.
75900         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
75901         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
75902         * elf/tst-unique2mod2.c: Likewise.
75903         * elf/tst-unique2mod1.c: Likewise.
75904         * elf/tst-unique1mod2.c: Likewise.
75905         * elf/tst-unique1mod1.c: Likewise.
75906         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75907         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75908         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75909         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75910         * sysdeps/mach/sysdep.h: Likewise.
75911         * sysdeps/i386/sysdep.h: Likewise.
75912         * sysdeps/i386/i386-mcount.S: Likewise.
75913         * sysdeps/x86_64/_mcount.S: Likewise.
75914         * sysdeps/x86_64/sysdep.h: Likewise.
75915         * sysdeps/sh/_mcount.S: Likewise.
75916         * sysdeps/sh/sysdep.h: Likewise.
75917         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
75918         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
75919         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
75920         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75921         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
75922         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
75923         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
75924         * locale/localeinfo.h: Likewise.
75925         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
75926         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
75928 2012-07-09  Roland McGrath  <roland@hack.frob.com>
75930         [BZ #14336]
75931         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
75932         system".
75933         * manual/message.texi (The Uniforum approach): Likewise.
75934         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
75935         (glibc iconv Implementation): Likewise.
75937 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
75939         [BZ #14337]
75940         * math/s_clog.c (__clog): Avoid scaling a value down where that
75941         could result in underflow.
75942         * math/s_clog10.c (__clog10): Likewise.
75943         * math/s_clog10f.c (__clog10f): Likewise.
75944         * math/s_clog10l.c (__clog10l): Likewise.
75945         * math/s_clogf.c (__clogf): Likewise.
75946         * math/s_clogl.c (__clogl): Likewise.
75947         * math/libm-test.inc (clog_test): Add more tests.
75948         (clog10_test): Likewise.
75949         * sysdeps/i386/fpu/libm-test-ulps: Update.
75950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75952 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
75954         [BZ #14283]
75955         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
75956         by 7 not 8 to examine high bit of fractional part.
75958         [BZ #14042]
75959         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
75960         for call to __mcount_internal.
75961         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
75962         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
75963         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
75965 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
75967         [BZ #14154]
75968         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
75969         approximation for values within 0x1p-13f of an odd multiple of
75970         pi/4.
75971         * math/libm-test.inc (tan_test): Do not allow spurious underflow
75972         exception.  Add more tests.
75973         * sysdeps/i386/fpu/libm-test-ulps: Update.
75975         [BZ #6778]
75976         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
75977         inputs and return -1 for them.  Do not check for +Inf in case not
75978         reachable for +Inf.
75979         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
75980         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
75981         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75982         and return -1 for them.  Do not check for +Inf in case not
75983         reachable for +Inf.
75984         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
75985         define.
75986         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75987         and return -1 for them.  Do not check for +Inf in case not
75988         reachable for +Inf.
75989         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
75990         spurious underflow.
75991         * sysdeps/i386/fpu/libm-test-ulps: Update.
75992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75994 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
75996         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
75998 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
76000         [BZ #14157]
76001         [BZ #14331]
76002         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76003         could result in spurious underflow.  Scale down values above
76004         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76005         * math/s_csqrtf.c (__csqrtf): Likewise.
76006         * math/s_csqrtl.c (__csqrtl): Likewise.
76007         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
76008         spurious underflow.
76009         * sysdeps/i386/fpu/libm-test-ulps: Update.
76010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76012 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
76014         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76015         xopen-msg.sed.
76016         * catgets/xopen-msg.awk: New file.
76017         * catgets/xopen-msg.sed: Removed.
76019         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76020         po2text.sed.
76021         * intl/po2test.awk: New file.
76022         * intl/po2test.sed: Removed.
76024 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
76026         [BZ #14328]
76027         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76028         or multiply small sinh result by itself.
76029         * math/s_ctanf.c (__ctanf): Likewise.
76030         * math/s_ctanh.c (__ctanh): Likewise.
76031         * math/s_ctanhf.c (__ctanhf): Likewise.
76032         * math/s_ctanhl.c (__ctanhl): Likewise.
76033         * math/s_ctanl.c (__ctanl): Likewise.
76034         * math/libm-test.inc (ctan_test_tonearest): New function.
76035         (ctan_test_towardzero): Likewise.
76036         (ctan_test_downward): Likewise.
76037         (ctan_test_upward): Likewise.
76038         (ctanh_test_tonearest): Likewise.
76039         (ctanh_test_towardzero): Likewise.
76040         (ctanh_test_downward): Likewise.
76041         (ctanh_test_upward): Likewise.
76042         (main): Call these new functions.
76043         * sysdeps/i386/fpu/libm-test-ulps: Update.
76044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76046 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
76048         * .gitignore: Delete /ports entry.
76050 2012-07-03  Andreas Jaeger  <aj@suse.de>
76052         * po/bg.po: Update from translation team.
76053         * po/cs.po: Likewise.
76054         * po/de.po: Likewise.
76055         * po/hr.po: Likewise.
76056         * po/nl.pl: Likewise.
76057         * po/pl.po: Likewise.
76058         * po/vi.po: Likewise.
76060 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76062         * Makeconfig [!+link] (+link-before-libc): New variable.
76063         [!+link] (+link-after-libc): Likewise.
76064         [!+link] (+link-tests): Likewise.
76065         [!+link] (+link): Define in terms of $(+link-before-libc) and
76066         $(+link-after-libc).
76067         [!+link-static] (+link-static-before-libc): New variable.
76068         [!+link-static] (+link-static-after-libc): Likewise.
76069         [!+link-static] (+link-static-tests): Likewise.
76070         [!+link-static] (+link-static): Define in terms of
76071         $(+link-static-before-libc) and $(+link-static-after-libc).
76072         [build-shared] (link-libc-before-gnulib): New variable.
76073         [build-shared] (link-libc-tests): Likewise.
76074         [build-shared] (link-libc): Define in terms of
76075         $(link-libc-before-gnulib).
76076         [!build-shared] (link-libc-tests): New variable.
76077         (link-libc-static-tests): New variable.
76078         [!gnulib] (gnulib-arch): New variable.
76079         [!gnulib] (gnulib-tests): Likewise.
76080         [!gnulib] (static-gnulib-arch): Likewise.
76081         [!gnulib] (static-gnulib-tests): Likewise.
76082         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76083         Define with "=" instead of ":=".
76084         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76085         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76086         * Rules (binaries-all-notests): New variable.
76087         (binaries-all-tests): Likewise.
76088         (binaries-static-notests): Likewise.
76089         (binaries-static-tests): Likewise.
76090         (binaries-all): Define using $(binaries-all-notests) and
76091         $(binaries-all-tests).
76092         (binaries-static): Define using $(binaries-static-notests) and
76093         $(binaries-static-tests).
76094         (binaries-shared-tests): New variable.
76095         (binaries-shared-notests): Likewise.
76096         (binaries-shared): Remove variable.
76097         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76098         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76099         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76100         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76101         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76102         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76103         * elf/Makefile (sln-modules): New variable.
76104         (extra-objs): Add $(sln-modules:=.o).
76105         (ldconfig-modules): Add static-stubs.
76106         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76107         * elf/static-stubs.c: New file.
76109         [BZ #14283]
76110         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76111         by 7 not 8 to examine high bit of fractional part.  Use volatile
76112         variables when splitting into final array of floats if
76113         __FLT_EVAL_METHOD__ != 0.
76114         * math/libm-test.inc (cos_test): Add another test.
76115         (sin_test): Likewise.
76116         * sysdeps/i386/fpu/libm-test-ulps: Update.
76118         [BZ #14273]
76119         * math/libm-test.inc (cosh_test): Add more tests.
76121         * version.h (RELEASE): Set to "development".
76122         (VERSION): Set to "2.16.90".
76124 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76126         * NEWS: Update copyright. Remove last-updated date.
76127         Mention math library bug fixes and timezone data changes.
76128         * README: Mention GNU/Hurd, x32, and HPPA support status.
76130 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76132         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76134 2012-06-27  Andreas Jaeger  <aj@suse.de>
76136         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76138 2012-06-25  Andreas Jaeger  <aj@suse.de>
76140         * sysdeps/s390/fpu/libm-test-ulps: Update.
76142 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76143             Thomas Schwinge  <thomas@codesourcery.com>
76145         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76146         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76147         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76148         fanotify_mark.
76150 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76152         * sysdeps/mach/start.c: Remove file.
76153         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76154         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76155         * sysdeps/sh/init-first.c: Likewise.
76157         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76158         registers for frame unwinding purposes, add CFI directives.
76159         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76160         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76161         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76162         Likewise.
76164         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76165         __fortify_fail returning.
76166         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76168         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76169         sysdeps/sh/____longjmp_chk.S.
76170         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76171         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76172         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76173         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76175         * sysdeps/sh/abort-instr.h: New file.
76176         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76177         process in case exit returns.
76179         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76180         initialize the GOT register before use.
76182         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76183         calculation of ARGC > 4.
76185         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76186         meaningful names to some local labels.
76188 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76189             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76191         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76192         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76193         (__arch_compare_and_exchange_val_16_acq): Likewise.
76194         (__arch_compare_and_exchange_val_32_acq): Likewise.
76195         (atomic_exchange_and_add): Fix gUSA sequence.
76196         (atomic_add): Likewise.
76197         (atomic_add_negative): Likewise.
76198         (atomic_add_zero): Likewise.
76199         (atomic_bit_test_set): Likewise.
76201 2012-06-22  Andreas Schwab  <schwab@redhat.com>
76203         [BZ #13579]
76204         * include/link.h (struct link_map): Add l_free_initfini.
76205         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76206         l_initfini.
76207         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76208         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76209         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76210         set.
76212 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
76214         * configure.in: Use AC_LANG_SOURCE.
76215         * configure: Regenerate.
76217 2012-06-22  Roland McGrath  <roland@hack.frob.com>
76219         * configure.in (libc_cv_localstatedir): New substituted variable.
76220         * configure: Regenerated.
76221         * config.make.in (localstatedir): New variable, substituted from
76222         libc_cv_localstatedir.
76223         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76224         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76225         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76226         * sysdeps/gnu/configure: Regenerated.
76228 2012-06-21  Jeff Law  <law@redhat.com>
76230         [BZ #14277]
76231         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76232         free.  Simplify list management for _LIBC case.
76234 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
76236         [BZ #14273]
76237         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76238         Clear sign bit of 64-bit integer value before comparing against
76239         overflow value.
76241         * sysdeps/mach/configure: Regenerated.
76243 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
76245         [BZ #14278]
76246         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76248 2012-06-21  Jeff Law  <law@redhat.com>
76250         [BZ #13882]
76251         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
76252         uint16_t for elements in the "seen" array to avoid char overflows.
76253         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76254         * elf/dl-open.c (dl_open_worker): Likewise.
76256 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
76258         * scripts/list-sources.sh: Scan PORTS for translations.
76259         * po/libc.pot: Regenerated.
76261 2012-06-21  Andreas Jaeger  <aj@suse.de>
76263         [BZ #12194]
76264         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76265         warning.
76266         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76267         * bits/byteswap-16.h (__bswap_16): Likewise.
76268         * bits/byteswap.h (__bswap_constant_16): Likewise.
76270 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
76272         [BZ #14117]
76273         * sysdeps/i386/fpu_control.h: Removed.
76274         * sysdeps/x86_64/fpu_control.h: Moved to ...
76275         * sysdeps/x86/fpu_control.h: Here.
76277         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76278         (_FPU_SETCW): Likewise.
76280 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
76282         [BZ #14117]
76283         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76284         * sysdeps/x86/fpu/bits/mathinline.h: This.
76285         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76287         [BZ #14050]
76288         [BZ #14117]
76289         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76290         functions if __x86_64__ is defined.
76292 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
76294         * string/endian.h: Add !__ASSEMBLER__ condition for including
76295         conversion interfaces.
76297 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
76299         [BZ #14241]
76300         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
76301         of ABS(x) in calculating zero to negative powers other than odd
76302         integers.
76303         * math/libm-test.inc (pow_test): Add more tests.
76305 2012-06-15  Andreas Jaeger  <aj@suse.de>
76307         * manual/contrib.texi (Contributors): Update entry of Liubov
76308         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
76309         Machado Filho.
76311 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
76313         * string/string.h: Add __wur to GNU version of strerror_r.
76315 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
76317         [BZ #14229]
76318         * string/Makefile (tests): Add tst-strtok_r.
76319         * string/tst-strtok_r.c: New file.
76320         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
76321         RAX_LP/RDX_LP on SAVE_PTR.
76323 2012-06-14  Roland McGrath  <roland@hack.frob.com>
76325         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
76327 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
76329         * libm_test.inc (csqrt_test): Allow more spurious underflow
76330         exceptions.
76331         (j0_test): Likewise.
76332         (j1_test): Likewise.
76333         (y0_test): Likewise.
76334         (y1_test): Likewise.
76336 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
76338         * po/Makefile (libc.pot): Use UTF-8 charset.
76340 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
76342         [BZ #14210]
76343         Suppress sign-conversion warning from FD_SET.
76344         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76345         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
76346         not unsigned long int.
76347         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
76349 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
76351         [BZ #14050]
76352         [BZ #14117]
76353         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
76354         __extern_always_inline instead of __extern_inline.
76355         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
76356         (__signbit): Likewise.
76357         (__signbitl): Support C++ namespace.
76358         (lrintf): New inline function.
76359         (lrint): Likewise.
76360         (llrintf): Likewise.
76361         (llrint): Likewise.
76362         (fmaxf): Likewise.
76363         (fmax): Likewise.
76364         (fminf): Likewise.
76365         (fmin): Likewise.
76366         (rint): Likewise.
76367         (rintf): Likewise.
76368         (ceil): Likewise.
76369         (ceilf): Likewise.
76370         (floor): Likewise.
76371         (floorf): Likewise.
76372         (nearbyint): Likewise.
76373         (nearbyintf): Likewise.
76375 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
76377         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
76378         non-default versions.
76380 2012-06-11  Roland McGrath  <roland@hack.frob.com>
76382         [BZ #14218]
76383         * manual/argp.texi (Argp): Reword argp_parse description slightly.
76385 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
76387         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
76388         (FE_UPWARD, FE_DOWNWARD): Don't define.
76389         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
76390         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76392         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
76393         reading it.
76394         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76395         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76397 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76399         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76400         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
76401         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
76402         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
76404 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
76406         [BZ #14117]
76407         * sysdeps/i386/fpu/bits/fenv.h: Removed.
76408         * sysdeps/i386/fpu/Implies: New file.
76409         * sysdeps/x86_64/fpu/Implies: Likewise.
76410         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
76411         * sysdeps/x86/fpu/bits/fenv.h: This.
76413         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
76414         __SSE_MATH__.
76416 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
76418         [BZ #14134]
76419         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
76420         character 0xffff that matches the last element of the
76421         conversion table.
76423 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76425         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
76426         fmodl commit.
76428 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76430         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
76431         values higher than 25.6283.
76433 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76435         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
76436         subnormal exponent extraction and add some __builtin_expect.
76437         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
76438         Fix for subnormal mantissa calculation.
76440 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
76442         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
76443         cpu2 is -1 and errno is not ENOSYS.
76445 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
76447         [BZ #14117]
76448         * sysdeps/i386/i486/bits/string.h: Renamed to ...
76449         * sysdeps/x86/bits/string.h: This.
76450         * sysdeps/x86_64/bits/string.h: Removed.
76452         * sysdeps/i386/i486/bits/string.h: Define inline functions only
76453         if not compiling for x86-64, but compiling for >= i486.
76455         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
76456         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
76458         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
76459         New macro from Linux kernel 3.4.0.
76460         (FP_XSTATE_MAGIC2): Likewise.
76461         (FP_XSTATE_MAGIC2_SIZE): Likewise.
76462         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
76463         (struct _fpx_sw_bytes): New struct.
76464         (struct _xsave_hdr): Likewise.
76465         (struct _ymmh_state): Likewise.
76466         (struct _xstate): Likewise.
76468         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
76469         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
76470         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
76471         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
76472         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
76473         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
76475         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
76476         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
76477         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
76478         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
76479         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
76480         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
76482 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76484         [BZ #13743]
76485         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
76486         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
76487         (sysdep_headers): Include sys/platform/ppc.h.
76488         * sysdeps/powerpc/test-gettimebase.c: Test for
76489         __ppc_get_timebase() to catch future ISA opcode/insn changes.
76490         * manual/Makefile (appendices): Include platform.texi.
76491         * manual/contrib.texi (Contributors): Update @node pointers.
76492         * manual/maint.texi (Maintenance): Likewise.
76493         (Platform): New node.
76494         * manual/platform.texi: New file.  Document the new features.
76496 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
76497             Jakub Jelinek  <jakub@redhat.com>
76499         [BZ #14188]
76500         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
76501         where __builtin_expect is unavailable.
76503 2012-06-03  David S. Miller  <davem@davemloft.net>
76505         * stdlib/longlong.h: Updated from GCC.
76507 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
76509         [BZ #14042]
76510         * sysdeps/powerpc/powerpc32/mcount.c: New file.
76511         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
76512         __mcount_internal.
76513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76514         (GLIBC_2.16): Likewise.
76516 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76518         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
76520 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
76523         (default-abi): New variable.
76524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
76525         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
76526         variable.
76527         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
76528         Likewise.
76529         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
76530         Likewise.
76531         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
76532         Likewise.
76534         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
76535         definition.  Document in comment.
76537 2012-06-01  David S. Miller  <davem@davemloft.net>
76539         * stdlib/longlong.h: Updated from GCC.
76541 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76543         [BZ #14117]
76544         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
76545         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
76546         sys/debugreg.h sys/io.h here.
76547         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
76548         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
76549         sys/io.h.
76550         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
76551         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
76552         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
76553         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
76554         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
76555         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
76557         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
76558         Define only if __x86_64__ is defined.
76560 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76562         [BZ #14048]
76563         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
76564         Use int64_t for variable i.
76565         * math/libm-test.inc (fmod_test): Add more tests.
76567         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
76568         z computation is not scheduled after fetestexcept.
76569         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
76570         Use math_force_eval instead of asm to ensure calculation scheduled
76571         before exception test.
76572         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
76573         Ensure a1 + u.d computation is not scheduled after fetestexcept.
76575 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
76577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
76578         computation is not scheduled after fetestexcept.
76580 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76582         [BZ #14117]
76583         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
76584         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
76586 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76588         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
76589         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76591 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76593         [BZ #14117]
76594         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
76595         <bits/wordsize.h>.
76596         (__WCHAR_MIN): Support __WORDSIZE == 64.
76597         (__WCHAR_MAX): Likewise.
76599         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
76600         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
76602         [BZ #14183]
76603         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
76604         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
76606         [BZ #14117]
76607         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
76608         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
76610         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
76611         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
76613         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
76614         Defined to 1 if __x86_64__ isn't defined.
76615         (_STAT_VER_LINUX_OLD): New.
76616         (st_atime): Remove duplicate.
76617         (st_mtime): Likewise.
76618         (st_ctime): Likewise.
76620 2012-05-31  David S. Miller  <davem@davemloft.net>
76622         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76623         entries.
76625 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
76627         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76628         gen-libm-test.pl.
76630         [BZ #14132]
76631         * elf/dl-reloc.c: Include <_itoa.h>.
76632         (_dl_reloc_bad_type): Remove use of INTUSE.
76633         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76634         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76635         * stdio-common/psiginfo.c (psiginfo): Likewise.
76636         * stdio-common/psignal.c (psignal): Likewise.
76637         * string/strsignal.c (strsignal): Likewise.
76638         * include/signal.h (_sys_siglist): Declare hidden proto.
76639         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76640         INTVARDEF with libc_hidden_data_def.
76641         * stdio-common/itoa-udigits.c: Likewise.
76642         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76643         (_itoa_lower_digits_internal): Remove declaration.
76644         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76645         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76646         (_sys_sigabbrev_internal): Remove aliases.
76647         (_sys_siglist): Define hidden alias.
76649 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76652         bits/sysctl.h.
76654 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76656         [BZ #14117]
76657         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76658         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76660         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76661         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76662         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76663         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76664         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76665         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76667         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76668         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76669         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76671         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76672         with __addr.
76673         (insw): Likewise.
76674         (insl): Likewise.
76675         (outsb): Likewise.
76676         (outsw): Likewise.
76677         (outsl): Likewise.
76679         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76680         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76681         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
76683         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
76684         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76685         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
76686         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
76687         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
76688         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
76690         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
76691         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
76693         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
76694         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
76696         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
76697         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
76698         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
76700         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
76701         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
76702         to ...
76703         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
76705         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
76706         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
76707         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
76709         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
76710         for x86-64.
76711         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
76713 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
76715         * math/math.h (M_El): Use two more decimal places.
76716         (M_LOG2El): Likewise.
76717         (M_LOG10El): Likewise.
76718         (M_LN2l): Likewise.
76719         (M_LN10l): Likewise.
76720         (M_PIl): Likewise.
76721         (M_PI_2l): Likewise.
76722         (M_PI_4l): Likewise.
76723         (M_1_PIl): Likewise.
76724         (M_2_PIl): Likewise.
76725         (M_2_SQRTPIl): Likewise.
76726         (M_SQRT2l): Likewise.
76727         (M_SQRT1_2l): Likewise.
76729 2012-05-31  David S. Miller  <davem@davemloft.net>
76731         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
76732         values between float registers.
76733         * sysdeps/sparc/sparc64/memset.S: Likewise.
76734         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76736 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
76738         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
76739         -D_FORTIFY_SOURCE=1.
76740         (CPPFLAGS-tst-longjmp_chk.c): Define.
76741         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
76742         (CPPFLAGS-tst-longjmp_chk2.c): Define.
76743         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
76744         CFLAGS-tst-wchar-h.c.
76746 2012-05-31  Marek Polacek  <polacek@redhat.com>
76748         [BZ #14132]
76749         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
76750         __endmntent_internal): Remove declaration.
76751         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
76752         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
76753         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76755 2012-05-30  David S. Miller  <davem@davemloft.net>
76757         * sysdeps/sparc/sparc32/soft-fp/q_util.c
76758         (___Q_simulate_exceptions): Use real FP ops rather than writing
76759         into the %fsr.
76760         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
76761         Likewise.
76763 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76765         [BZ #14117]
76766         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
76767         * sysdeps/x86/bits/xtitypes.h: This.
76769         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
76770         * sysdeps/x86/bits/wordsize.h: This.
76772         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
76773         * sysdeps/x86/bits/huge_vall.h: This.
76775         * sysdeps/i386/bits/select.h: Removed.
76776         * sysdeps/x86_64/bits/select.h: Renamed to ...
76777         * sysdeps/x86/bits/select.h: This.
76779         * sysdeps/i386/bits/setjmp.h: Removed.
76780         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76781         * sysdeps/x86/bits/setjmp.h: This.
76783         * sysdeps/i386/bits/mathdef.h: Removed.
76784         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
76785         * sysdeps/x86/bits/mathdef.h: This.
76787 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
76789         [BZ #14132]
76790         * include/sys/socket.h (__connect_internal)
76791         (__libc_sa_len_internal): Remove declaration.
76792         (__connect, __libc_sa_len): Declare hidden_proto.
76793         (SA_LEN): Remove use of INTUSE.
76794         * socket/connect.c: Add libc_hidden_def.
76795         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
76796         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
76797         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
76798         alias.
76799         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
76800         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
76801         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
76802         of adding _internal alias.
76804 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76806         [BZ #14117]
76807         * sysdeps/i386/bits/link.h: Removed.
76808         * sysdeps/i386/bits/linkmap.h: Likewise.
76809         * sysdeps/x86_64/bits/link.h: Renamed to ...
76810         * sysdeps/x86/bits/link.h: This.
76811         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
76812         * sysdeps/x86/bits/linkmap.h: This.
76814         * sysdeps/i386/bits/endian.h: Removed.
76815         * sysdeps/x86_64/bits/endian.h: Renamed to ...
76816         * sysdeps/x86/bits/endian.h: This.
76818         * sysdeps/i386/bits/byteswap.h: Removed.
76819         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76820         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
76821         * sysdeps/x86/bits/byteswap.h: This.
76822         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
76823         * sysdeps/x86/bits/byteswap-16.h: This.
76824         * sysdeps/i386/Implies: Add x86.
76825         * sysdeps/x86_64/Implies: Likewise.
76827 2012-05-30  David S. Miller  <davem@davemloft.net>
76829         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
76830         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
76831         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
76832         (FP_TRAPPING_EXCEPTIONS): Define.
76833         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
76834         (FP_TRAPPING_EXCEPTIONS): Define.
76835         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
76836         subnormals only when inexact has been signalled or underflow
76837         exceptions are enabled.
76838         (_FP_PACK_CANONICAL): Likewise.
76840 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76842         [BZ #14183]
76843         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
76844         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
76846 2012-05-30  Richard Henderson  <rth@twiddle.net>
76848         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
76849         with #ifndef NOT_IN_libc.
76851         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
76852         marked to avoid plt entry.
76854 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76856         [BZ #14112]
76857         * Makeconfig (default-abi): New macro.
76858         (abi-includes): Likewise.
76859         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
76860         $(abi-$(default-abi)-lib-soname) for soname if defined.
76861         ($(common-objpfx)gnu/lib-names.stmp): Generate from
76862         abi-variants.
76863         * Makefile (installed-stubs): Likewise.
76864         * include/stubs-biarch.h: Removed.
76865         * scripts/lib-names.awk: Only handle one library at a time.
76866         * scripts/soversions.awk: Remove WORDSIZE support.
76867         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
76868         entries.
76869         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
76870         Removed.
76871         (syscall-list-default-condition): Likewise.
76872         (syscall-list-default-condition): Likewise.
76873         (syscall-list-includes): Likewise.
76874         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
76875         syscall-list-* with abi-*.  Handle undefined abi-variants.
76876         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
76877         * sysdeps/unix/sysv/linux/i386/Implies: New file.
76878         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
76879         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
76880         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
76881         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
76882         Removed.
76883         (syscall-list-32-options): Likewise.
76884         (syscall-list-32-condition): Likewise.
76885         (syscall-list-64-options): Likewise.
76886         (syscall-list-64-condition): Likewise.
76887         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
76888         macro.
76889         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
76890         Renamed to ...
76891         (abi-*): This.
76892         (abi-64-ld-soname): New macro.
76893         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
76894         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
76895         Renamed to ...
76896         (abi-*): This.
76897         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
76898         * sysdeps/x86_64/x32/shlib-versions: Likewise.
76900 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
76902         * sysdeps/unix/sysv/linux/kernel-features.h
76903         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
76904         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
76905         include <kernel-features.h>.
76906         [!__NR_ftruncate64]: Remove conditional code.
76907         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76908         [__NR_ftruncate64]: Make code unconditional.
76909         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76910         * sysdeps/unix/sysv/linux/truncate64.c: Do not
76911         include <kernel-features.h>.
76912         [!__NR_ftruncate64]: Remove conditional code.
76913         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76914         [__NR_ftruncate64]: Make code unconditional.
76915         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
76917         include <kernel-features.h>.
76918         [!__NR_ftruncate64]: Remove conditional code.
76919         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76920         [__NR_ftruncate64]: Make code unconditional.
76921         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
76923         include <kernel-features.h>.
76924         [!__NR_ftruncate64]: Remove conditional code.
76925         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76926         [__NR_ftruncate64]: Make code unconditional.
76927         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76929         * configure.in (libc_cv_fpie): Weaken to a compile test using
76930         LIBC_TRY_CC_OPTION.
76931         * configure: Regenerated.
76933 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
76936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
76937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
76938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76939         Refreshed.
76940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
76941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
76942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
76943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
76944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
76945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76946         Refreshed.
76948 2012-05-27  David S. Miller  <davem@davemloft.net>
76950         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
76951         (___Q_zero): New.
76952         (__Q_simulate_exceptions): Return void.  Change to simulate
76953         exceptions by writing into the %fsr.
76954         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
76955         (__Qp_handle_exceptions): Likewise.
76956         (numbers): Delete.
76957         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
76958         __Qp_handle_exceptions.
76959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
76960         __Qp_handle_exceptions.
76961         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76962         as unused and give dummy FP_RND_NEAREST initializer.
76963         (FP_INHIBIT_RESULTS): Define.
76964         (___Q_simulate_exceptions): Update declaration.
76965         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
76966         formatting.
76967         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76968         as unused and give dummy FP_RND_NEAREST initializer.
76969         (__Qp_handle_exceptions): Update declaration.
76970         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
76971         formatting.
76973 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
76975         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
76976         the temporary FPU control word.
76977         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
76978         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
76979         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
76980         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76981         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
76982         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
76983         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
76984         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76985         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
76986         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
76987         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76989 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76991         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
76992         fields.
76994 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
76996         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
76997         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
76998         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
76999         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77000         Likewise.
77001         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77002         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77003         Likewise.
77005 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
77007         * po/h.po: Update from translation team.
77009 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
77011         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77013         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77014         handling of denormals.
77015         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77016         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77017         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77018         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77019         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77020         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77022         Likewise.
77024 2012-05-26  Marek Polacek  <polacek@redhat.com>
77026         [BZ #14152]
77027         * math/libm-test.inc (fma_test): Don't always expect underflow
77028         exception.
77030 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77032         [BZ #12416]
77033         * elf/tst-execstack.c: Include stackinfo.h.
77034         (do_test): Adjust test case to ensure that pthread_getattr_np
77035         behaviour remains the same after marking stack executable.
77037 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77039         * sysdeps/unix/sysv/linux/kernel-features.h
77040         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77041         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77042         kernel-features.h.
77043         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77044         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77045         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77046         kernel-features.h.
77047         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77048         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77050 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
77052         * configure.in: Define the default includes to being none.
77053         * configure: Regenerated.
77055 2012-05-25  Roland McGrath  <roland@hack.frob.com>
77057         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77058         * sysdeps/x86_64/setjmp.S: Likewise.
77059         * sysdeps/i386/bsd-setjmp.S: Likewise.
77060         * sysdeps/i386/bsd-_setjmp.S: Likewise.
77061         * sysdeps/i386/setjmp.S: Likewise.
77062         * sysdeps/i386/__longjmp.S: Likewise.
77063         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77064         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77066         * include/stap-probe.h: New file.
77067         * configure.in: Handle --enable-systemtap.
77068         * configure: Regenerated.
77069         * config.h.in (USE_STAP_PROBE): New #undef.
77070         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77071         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77072         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77074 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77076         [BZ #13717]
77077         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77078         to 2.4.0 where earlier.
77079         * sysdeps/unix/sysv/linux/configure: Regenerated.
77080         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77081         <kernel-features.h>.
77082         [__ASSUME_32BITUIDS]: Make code unconditional.
77083         [!__ASSUME_32BITUIDS]: Remove conditional code.
77084         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77085         <kernel-features.h>.
77086         [__ASSUME_32BITUIDS]: Make code unconditional.
77087         [!__ASSUME_32BITUIDS]: Remove conditional code.
77088         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77089         [__ASSUME_32BITUIDS]: Make code unconditional.
77090         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77091         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77092         <kernel-features.h>.
77093         [__ASSUME_32BITUIDS]: Make code unconditional.
77094         [!__ASSUME_32BITUIDS]: Remove conditional code.
77095         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77096         <kernel-features.h>.
77097         [__ASSUME_32BITUIDS]: Make code unconditional.
77098         [!__ASSUME_32BITUIDS]: Remove conditional code.
77099         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77100         <kernel-features.h>.
77101         [__ASSUME_32BITUIDS]: Make code unconditional.
77102         [!__ASSUME_32BITUIDS]: Remove conditional code.
77103         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77104         <kernel-features.h>.
77105         [__ASSUME_32BITUIDS]: Make code unconditional.
77106         [!__ASSUME_32BITUIDS]: Remove conditional code.
77107         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77108         <kernel-features.h>.
77109         [__ASSUME_32BITUIDS]: Make code unconditional.
77110         [!__ASSUME_32BITUIDS]: Remove conditional code.
77111         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77112         <kernel-features.h>.
77113         [__ASSUME_32BITUIDS]: Make code unconditional.
77114         [!__ASSUME_32BITUIDS]: Remove conditional code.
77115         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77116         <kernel-features.h>.
77117         [__ASSUME_32BITUIDS]: Make code unconditional.
77118         [!__ASSUME_32BITUIDS]: Remove conditional code.
77119         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77120         <kernel-features.h>.
77121         [__ASSUME_32BITUIDS]: Make code unconditional.
77122         [!__ASSUME_32BITUIDS]: Remove conditional code.
77123         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77124         <kernel-features.h>.
77125         [__ASSUME_32BITUIDS]: Make code unconditional.
77126         [!__ASSUME_32BITUIDS]: Remove conditional code.
77127         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77128         <kernel-features.h>.
77129         [__ASSUME_32BITUIDS]: Make code unconditional.
77130         [!__ASSUME_32BITUIDS]: Remove conditional code.
77131         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77132         <kernel-features.h>.
77133         [__NR_setresgid] (__setresgid): Do not declare.
77134         [__ASSUME_32BITUIDS]: Make code unconditional.
77135         [!__ASSUME_32BITUIDS]: Remove conditional code.
77136         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77137         <kernel-features.h>.
77138         [__NR_setresuid] (__setresuid): Do not declare.
77139         [__ASSUME_32BITUIDS]: Make code unconditional.
77140         [!__ASSUME_32BITUIDS]: Remove conditional code.
77141         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77142         <kernel-features.h>.
77143         [__ASSUME_32BITUIDS]: Make code unconditional.
77144         [!__ASSUME_32BITUIDS]: Remove conditional code.
77145         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
77146         <kernel-features.h>.
77147         [__ASSUME_32BITUIDS]: Make code unconditional.
77148         [!__ASSUME_32BITUIDS]: Remove conditional code.
77149         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
77150         <kernel-features.h>.
77151         [__ASSUME_32BITUIDS]: Make code unconditional.
77152         [!__ASSUME_32BITUIDS]: Remove conditional code.
77153         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77154         <kernel-features.h>.
77155         [__ASSUME_32BITUIDS]: Make code unconditional.
77156         [!__ASSUME_32BITUIDS]: Remove conditional code.
77157         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77158         <kernel-features.h>.
77159         [__ASSUME_32BITUIDS]: Make code unconditional.
77160         [!__ASSUME_32BITUIDS]: Remove conditional code.
77161         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77162         <kernel-features.h>.
77163         [__ASSUME_32BITUIDS]: Make code unconditional.
77164         [!__ASSUME_32BITUIDS]: Remove conditional code.
77165         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77166         <kernel-features.h>.
77167         [__ASSUME_32BITUIDS]: Make code unconditional.
77168         [!__ASSUME_32BITUIDS]: Remove conditional code.
77169         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77170         <kernel-features.h>.
77171         [__ASSUME_32BITUIDS]: Make code unconditional.
77172         [!__ASSUME_32BITUIDS]: Remove conditional code.
77173         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77174         <kernel-features.h>.
77175         [__ASSUME_32BITUIDS]: Make code unconditional.
77176         [!__ASSUME_32BITUIDS]: Remove conditional code.
77177         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77178         <kernel-features.h>.
77179         [__ASSUME_32BITUIDS]: Make code unconditional.
77180         [!__ASSUME_32BITUIDS]: Remove conditional code.
77181         * sysdeps/unix/sysv/linux/kernel-features.h
77182         (__ASSUME_SETRESUID_SYSCALL): Remove.
77183         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77184         (__ASSUME_32BITUIDS): Likewise.
77185         (__ASSUME_LDT_WORKS): Likewise.
77186         (__ASSUME_O_DIRECTORY): Likewise.
77187         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77188         architecture but not kernel version.
77189         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77190         (__ASSUME_MMAP2_SYSCALL): Likewise.
77191         (__ASSUME_STAT64_SYSCALL): Likewise.
77192         (__ASSUME_IPC64): Likewise.
77193         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77194         <kernel-features.h>.
77195         [__ASSUME_32BITUIDS]: Make code unconditional.
77196         [!__ASSUME_32BITUIDS]: Remove conditional code.
77197         * sysdeps/unix/sysv/linux/opendir.c: Do not include
77198         <kernel-features.h>.
77199         [__ASSUME_O_DIRECTORY]: Make code unconditional.
77200         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77201         132096]: Remove conditional code.
77202         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77203         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77204         <kernel-features.h>.
77205         [__ASSUME_32BITUIDS]: Make code unconditional.
77206         [!__ASSUME_32BITUIDS]: Remove conditional code.
77207         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77208         <kernel-features.h>.
77209         [__ASSUME_32BITUIDS]: Make code unconditional.
77210         [!__ASSUME_32BITUIDS]: Remove conditional code.
77211         * sysdeps/unix/sysv/linux/setegid.c: Do not include
77212         <kernel-features.h>.
77213         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77214         unconditional.
77215         (__setresgid): Do not declare.
77216         [__ASSUME_32BITUIDS]: Make code unconditional.
77217         [!__ASSUME_32BITUIDS]: Remove conditional code.
77218         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77219         <kernel-features.h>.
77220         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77221         unconditional.
77222         (__setresuid): Do not declare.
77223         [__ASSUME_32BITUIDS]: Make code unconditional.
77224         [!__ASSUME_32BITUIDS]: Remove conditional code.
77225         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
77230         <kernel-features.h>.
77231         [__ASSUME_32BITUIDS]: Make code unconditional.
77232         [!__ASSUME_32BITUIDS]: Remove conditional code.
77234 2012-05-25  Richard Henderson  <rth@twiddle.net>
77236         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77237         dl_hwcap to ifunc resolver.
77238         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77239         elf_ifunc_invoke.
77240         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77241         dl_hwcap to ifunc resolver.
77242         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77244 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77246         [BZ #14153]
77247         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77248         for |x| <= 2**-26, not 2**-57.
77249         * math/libm-test.inc (acos_test): Do not allow spurious underflow
77250         exception.
77252 2012-05-24  Jeff Law  <law@redhat.com>
77254         * stdio-common/Makefile (tests): Add bug25.
77255         * stdio-common/bug25.c: New test.
77257 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77259         [BZ #13576]
77260         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77261         multiple of MALLOC_ALIGNMENT in size.
77262         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77264 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77266         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77267         Require >= 256.
77268         (FILENAME_MAX): Use macro-int-constant.
77269         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
77270         (_IOFBF): Use macro-int-constant.
77271         (_IOLBF): Likewise.
77272         (_IONBF): Likewise.
77273         (SEEK_CUR): Likewise.
77274         (SEEK_END): Likewise.
77275         (SEEK_SET): Likewise.
77276         (TMP_MAX): Likewise.
77277         (EOF): Use macro-int-constant.  Require < 0.
77278         (NULL): Use macro-constant.  Require == 0.
77279         (stdin): Require type to be FILE *.
77280         (stdout): Likewise.
77281         (stderr): Likewise.
77282         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77283         macro-int-constant.
77284         (EXIT_SUCCESS): Likewise.
77285         (NULL): Use macro-constant.  Require == 0.
77286         (RAND_MAX): Use macro-int-constant.
77287         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77288         [C99-based standards] (strtof): Require function.
77289         [C99-based standards] (strtold): Likewise.
77290         [C99-based standards] (strtoll): Likewise.
77291         [C99-based standards] (strtoull): Likewise.
77292         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77293         [ISO || ISO99 || ISO11] (limits.h): Likewise.
77294         [ISO || ISO99 || ISO11] (math.h): Likewise.
77295         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
77296         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77297         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77299 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
77301         [BZ #14132]
77302         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
77303         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
77304         * intl/dgettext.c (DCGETTEXT): Likewise.
77305         * intl/gettext.c (DCGETTEXT): Likewise.
77306         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
77307         * posix/regex_internal.h (gettext): Likewise.
77308         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
77309         Remove declaration.
77310         * include/argz.h (__argz_count_internal)
77311         (__argz_stringify_internal): Remove declaration.
77312         (__argz_count, __argz_stringify): Declare hidden proto.
77313         * intl/dcgettext.c: Remove use of INTDEF.
77314         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
77315         * string/argz-stringify.c: Likewise.
77316         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77317         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77318         Declare hidden proto.
77319         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77320         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77321         Declare hidden proto.
77322         * include/stdio.h (__asprintf_internal): Don't declare.
77323         (__asprintf): Don't define as macro.  Declare hidden proto.
77324         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
77325         (__fsetlocking): Declare hidden proto.
77326         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
77327         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77328         hidden proto.
77329         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
77330         (_IO_setlinebuf): Remove use of INTUSE.
77331         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
77332         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77333         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
77334         Remove declaration.
77335         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
77336         (_IO_do_flush): Remove use of INTUSE.
77337         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
77338         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
77339         (_IO_adjust_column, _IO_least_wmarker)
77340         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
77341         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
77342         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
77343         (_IO_default_doallocate, _IO_wdefault_doallocate)
77344         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
77345         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
77346         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
77347         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
77348         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
77349         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
77350         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
77351         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
77352         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
77353         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
77354         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
77355         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
77356         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
77357         proto.
77358         (_IO_flush_all_internal, _IO_adjust_column_internal)
77359         (_IO_default_uflow_internal, _IO_default_finish_internal)
77360         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
77361         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
77362         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
77363         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
77364         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
77365         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
77366         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
77367         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
77368         (_IO_file_close_internal, _IO_file_close_it_internal)
77369         (_IO_file_underflow_internal, _IO_file_overflow_internal)
77370         (_IO_file_init_internal, _IO_file_attach_internal)
77371         (_IO_file_fopen_internal, _IO_file_read_internal)
77372         (_IO_file_sync_internal, _IO_file_seek_internal)
77373         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
77374         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
77375         (_IO_str_underflow_internal, _IO_str_overflow_internal)
77376         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
77377         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
77378         (_IO_list_all_internal, _IO_link_in_internal)
77379         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
77380         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
77381         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
77382         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
77383         (_IO_do_write_internal, _IO_padn_internal)
77384         (_IO_getline_info_internal, _IO_getline_internal)
77385         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
77386         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
77387         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
77388         (_IO_vfscanf_internal, _IO_vfprintf_internal)
77389         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
77390         (_IO_init_internal, _IO_un_link_internal): Don't declare.
77391         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
77392         with libc_hidden_ver, remove use of INTUSE.
77393         * libio/genops.c: Likewise.
77394         * libio/freopen.c: Likewise.
77395         * libio/freopen64.c: Likewise.
77396         * libio/iofclose.c: Likewise.
77397         * libio/iofdopen.c: Likewise.
77398         * libio/iofflush.c: Likewise.
77399         * libio/iofflush_u.c: Likewise.
77400         * libio/iofgets.c: Likewise.
77401         * libio/iofgets_u.c: Likewise.
77402         * libio/iofopen.c: Likewise.
77403         * libio/iofopncook.c: Likewise.
77404         * libio/iofread.c: Likewise.
77405         * libio/iofread_u.c: Likewise.
77406         * libio/ioftell.c: Likewise.
77407         * libio/iofwrite.c: Likewise.
77408         * libio/iogetline.c: Likewise.
77409         * libio/iogets.c: Likewise.
77410         * libio/iogetwline.c: Likewise.
77411         * libio/iopadn.c: Likewise.
77412         * libio/iopopen.c: Likewise.
77413         * libio/ioseekoff.c: Likewise.
77414         * libio/ioseekpos.c: Likewise.
77415         * libio/iosetbuffer.c: Likewise.
77416         * libio/iosetvbuf.c: Likewise.
77417         * libio/ioungetc.c: Likewise.
77418         * libio/ioungetwc.c: Likewise.
77419         * libio/iovdprintf.c: Likewise.
77420         * libio/iovsprintf.c: Likewise.
77421         * libio/iovsscanf.c: Likewise.
77422         * libio/memstream.c: Likewise.
77423         * libio/obprintf.c: Likewise.
77424         * libio/oldfileops.c: Likewise.
77425         * libio/oldiofclose.c: Likewise.
77426         * libio/oldiofdopen.c: Likewise.
77427         * libio/oldiofopen.c: Likewise.
77428         * libio/oldiopopen.c: Likewise.
77429         * libio/oldstdfiles.c: Likewise.
77430         * libio/putc.c: Likewise.
77431         * libio/setbuf.c: Likewise.
77432         * libio/setlinebuf.c: Likewise.
77433         * libio/stdfiles.c: Likewise.
77434         * libio/strops.c: Likewise.
77435         * libio/vasprintf.c: Likewise.
77436         * libio/vscanf.c: Likewise.
77437         * libio/vsnprintf.c: Likewise.
77438         * libio/vswprintf.c: Likewise.
77439         * libio/wfiledoalloc.c: Likewise.
77440         * libio/wfileops.c: Likewise.
77441         * libio/wgenops.c: Likewise.
77442         * libio/wmemstream.c: Likewise.
77443         * libio/wstrops.c: Likewise.
77444         * libio/__fpurge.c: Likewise.
77445         * libio/__fsetlocking.c: Likewise.
77446         * assert/assert.c: Likewise.
77447         * debug/fgets_chk.c: Likewise.
77448         * debug/fgets_u_chk.c: Likewise.
77449         * debug/fread_chk.c: Likewise.
77450         * debug/fread_u_chk.c: Likewise.
77451         * debug/gets_chk.c: Likewise.
77452         * debug/obprintf_chk.c: Likewise.
77453         * debug/vasprintf_chk.c: Likewise.
77454         * debug/vdprintf_chk.c: Likewise.
77455         * debug/vsnprintf_chk.c: Likewise.
77456         * debug/vsprintf_chk.c: Likewise.
77457         * malloc/mtrace.c: Likewise.
77458         * misc/error.c: Likewise.
77459         * misc/syslog.c: Likewise.
77460         * stdio-common/asprintf.c: Likewise.
77461         * stdio-common/fxprintf.c: Likewise.
77462         * stdio-common/getw.c: Likewise.
77463         * stdio-common/isoc99_fscanf.c: Likewise.
77464         * stdio-common/isoc99_scanf.c: Likewise.
77465         * stdio-common/isoc99_vfscanf.c: Likewise.
77466         * stdio-common/isoc99_vscanf.c: Likewise.
77467         * stdio-common/isoc99_vsscanf.c: Likewise.
77468         * stdio-common/printf-prs.c: Likewise.
77469         * stdio-common/printf_fp.c: Likewise.
77470         * stdio-common/printf_fphex.c: Likewise.
77471         * stdio-common/printf_size.c: Likewise.
77472         * stdio-common/putw.c: Likewise.
77473         * stdio-common/scanf.c: Likewise.
77474         * stdio-common/sprintf.c: Likewise.
77475         * stdio-common/tmpfile.c: Likewise.
77476         * stdio-common/vfprintf.c: Likewise.
77477         * stdio-common/vfscanf.c: Likewise.
77478         * stdlib/strfmon_l.c: Likewise.
77479         * sunrpc/openchild.c: Likewise.
77480         * sunrpc/xdr_stdio.c: Likewise.
77481         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
77482         * sysdeps/mach/hurd/tmpfile.c: Likewise.
77484 2012-05-24  Roland McGrath  <roland@hack.frob.com>
77486         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77488         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
77489         in the third column, to generate for the shared library an IFUNC
77490         that uses _dl_vdso_vsym.
77491         * Makerules (COMPILE.c, compile-stdin.c): New variables.
77492         * Makeconfig (object-suffixes-noshared): New variable.
77494         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
77495         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
77496         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
77497         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
77499         [BZ #14132]
77500         * include/sys/time.h (__gettimeofday): Remove macro.
77501         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
77502         * time/gettimeofday.c (__gettimeofday): Remove #undef.
77503         Remove INTDEF.
77504         (__gettimeofday): Add libc_hidden_def.
77505         (gettimeofday): Add libc_hidden_weak.
77506         * sysdeps/mach/gettimeofday.c: Likewise.
77507         * sysdeps/posix/gettimeofday.c: Likewise.
77508         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
77509         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
77510         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
77511         (__gettimeofday_internal): Remove strong_alias.
77512         (__gettimeofday): Add libc_hidden_def.
77513         (gettimeofday): Add libc_hidden_weak.
77514         * sysdeps/unix/syscalls.list (gettimeofday):
77515         Remove __gettimeofday_internal alias.
77517 2012-05-24  Daniel Jacobowitz  <drow@false.org>
77518             H.J. Lu  <hongjiu.lu@intel.com>
77520         [BZ #12495]
77521         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
77522         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
77523         (largebin_index_32_big): New.
77524         (largebin_index): Use it for 16-byte alignment.
77525         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
77526         correction with front_misalign.
77528 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
77531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
77532         Likewise.
77533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
77534         Likewise.
77535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
77536         Likewise.
77537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
77538         Likewise.
77539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
77540         Likewise.
77541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
77542         Likewise.
77543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
77544         Likewise.
77545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
77546         Likewise.
77547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
77548         Likewise.
77549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
77550         Likewise.
77551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
77552         Likewise.
77553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
77554         Likewise.
77556         * scripts/data/c++-types-x32-linux-gnu.data: New file.
77557         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
77559 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77561         [BZ #10846]
77562         [BZ #14036]
77563         * math/libm-test.inc (exp_test): Add test from bug 14036.
77564         (pow_test): Add test from bug 10846.
77566         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
77567         and other flags.
77568         (special_function): Do not include flags in test name.
77569         (parse_args): Likewise.
77570         * sysdeps/i386/fpu/libm-test-ulps: Update.
77571         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77572         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
77573         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
77574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77576         * math/gen-libm-test.pl (%beautify): Add entries for underflow
77577         exceptions.
77578         * math/libm-test.inc ("Philosophy"): Update comment about
77579         exception testing.
77580         (UNDERFLOW_EXCEPTION): New macro.
77581         (UNDERFLOW_EXCEPTION_OK): Likewise.
77582         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
77583         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
77584         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
77585         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
77586         (INVALID_EXCEPTION_OK): Update value.
77587         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77588         (OVERFLOW_EXCEPTION_OK): Likewise.
77589         (IGNORE_ZERO_INF_SIGN): Likewise.
77590         (test_exceptions): Handle underflow exceptions.
77591         (acos_test): Update for underflow exception expectations.
77592         (cexp_test): Likewise.
77593         (clog_test): Likewise.
77594         (clog10_test): Likewise.
77595         (csqrt_test): Likewise.
77596         (ctan_test): Likewise.
77597         (ctanh_test): Likewise.
77598         (exp_test): Likewise.
77599         (exp10_test): Likewise.
77600         (exp2_test): Likewise.
77601         (expm1_test): Likewise.
77602         (fma_test): Likewise.
77603         (j0_test): Likewise.
77604         (jn_test): Likewise.
77605         (nexttoward_test): Likewise.
77606         (pow_test): Likewise.
77607         (scalbn_test): Likewise.
77608         (scalbln_test): Likewise.
77609         (tan_test): Likewise.
77610         (y1_test): Likewise.
77611         * sysdeps/i386/fpu/libm-test-ulps: Update.
77612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77614 2012-05-23  David S. Miller  <davem@davemloft.net>
77616         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77617         (__libc_sigaction): Remove unused local variables.
77619 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77621         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77623 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
77625         mktime: avoid signed integer overflow
77626         * time/mktime.c (__mktime_internal): Do not mishandle the case
77627         where diff == INT_MIN.
77629         mktime: simplify computation of average
77630         * time/mktime.c (ranged_convert): Use new time_t_avg function
77631         instead of rolling our own (probably-slower) code.
77633         mktime: do not assume signed right shift propagates sign bit
77634         * time/mktime.c (isdst_differ): New static function.
77635         (__mktime_internal): No need to normalize tm_isdst now.
77636         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77637         tm_isdst values.
77639         mktime: merge another wrapv change from gnulib
77640         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77641         from some compilers.
77643         mktime: remove incorrect attempt at unusual arithmetics
77644         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77645         The code didn't really work on such machines anyway.
77646         (TYPE_MINIMUM): Assume two's complement.
77647         (twos_complement_arithmetic): Verify that long_int and time_t
77648         are two's complement (or unsigned, in the latter case).
77650         mktime: check signed shifts on long_int and time_t, too
77651         * time/mktime.c (SHR): Check that shifts work as desired
77652         on the types long_int and time_t too, as SHR is used on
77653         such types.
77655         mktime: do not assume 'long' is wide enough
77656         * time/mktime.c (verify): Move decl up.
77657         (long_int): New type.
77658         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77659         to remove assumption in the code that 'long' is wide enough to
77660         store year values.  This assumption is not true on x32 and on
77661         some non-glibc platforms.
77663         mktime: merge wrapv change from gnulib
77664         * time/mktime.c (WRAPV): New macro.
77665         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77666         (guess_time_tm, __mktime_internal): Do not assume that signed
77667         integer overflow wraps around; modern compilers generate code
77668         where this assumption is no longer valid.
77670 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77672         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77673         Replace "jmp L(pseudo_end)" with "ret".
77674         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77675         Likewise.
77677 2012-05-23  Andreas Jaeger  <aj@suse.de>
77679         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77680         * sysdeps/unix/sysv/linux/poll.c: Remove file.
77682 2012-05-23  Andreas Jaeger  <aj@suse.de>
77683             Maximilian Attems  <max@stro.at>
77685         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
77686         New macros.
77688 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77690         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
77691         code so that pseudo_end is just ret and the stack pointer is
77692         correct also for static library in error case.
77694 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
77696         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
77697         move to syscalls.list.
77698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
77699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
77700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
77701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
77703         * manual/install.texi (Running make install): Do not mention Linux
77704         kernel version for which pt_chown is not needed.
77705         (Linux): Do not mention problems with nscd with 2.0 kernels.
77706         * INSTALL: Regenerated.
77708 2012-05-23  Andreas Jaeger  <aj@suse.de>
77710         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
77711         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
77712         macro.
77713         * sysdeps/unix/sysv/linux/s390/bits/mman.h
77714         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77715         * sysdeps/unix/sysv/linux/sh/bits/mman.h
77716         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77717         * sysdeps/unix/sysv/linux/i386/bits/mman.h
77718         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77719         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
77720         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77721         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
77722         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77723         * sysdeps/unix/sysv/linux/bits/in.h
77724         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
77726 2012-05-22  Roland McGrath  <roland@hack.frob.com>
77728         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
77729         (PREPARE_VERSION): Just use assert instead, it will be elided
77730         under [NDEBUG] anyway.
77732 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77734         * sysdeps/unix/sysv/linux/Makefile: Include
77735         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
77736         (sysdep_routines): Remove sysctl.
77737         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
77738         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
77739         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
77740         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
77741         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
77743 2012-05-22  Andreas Jaeger  <aj@suse.de>
77745         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77746         that pseudo_end is just ret and the stack pointer is correct also
77747         for static library in error case.
77749 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
77751         [BZ #14122]
77752         * nss/nsswitch.c (defconfig_entries): New variable.
77753         (__nss_database_lookup): Don't leak defconfig entries.
77754         (nss_parse_service_list): Don't leak on error paths.
77755         (free_database_entries): New function.
77756         (free_defconfig): New function.
77757         (free_mem): Move common code to free_database_entries.
77759 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77761         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
77762         Add arch_prctl.
77763         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
77765         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
77766         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
77767         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
77768         New macro.
77769         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
77770         (INTERNAL_SYSCALL_TYPES): Likewise.
77771         (LOAD_ARGS_TYPES_[1-6]): Likewise.
77772         (LOAD_REGS_TYPES_[1-6]): Likewise.
77773         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
77774         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
77776 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77778         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
77779         copysignl for GLIBC_2_0.
77780         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
77781         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
77782         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
77783         logbl for GLIBC_2_0.
77784         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
77785         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
77787 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77789         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
77790         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77792         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77793         Use "neg %eax".
77795         * time/mktime.c: Update copyright years.
77797 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
77799         mktime: merge comment-quoting-style change from gnulib
77800         * time/mktime.c: Quote 'like this' in comments.
77801         The GNU coding standards suggest that we no longer quote `like this',
77802         as "`" and "'" are typically rendered asymmetrically nowadays.
77803         The typical gnulib style is to quote 'like this' when quoting
77804         code, and "like this" when quoting English.
77806         * time/mktime.c (compile-command): Add "-I.".
77808         mktime: merge mktime-internal.h change from gnulib
77809         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
77811         mktime: merge time_r change from gnulib
77812         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
77814         mktime: merge DEBUG change from gnulib
77815         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
77816         case system <time.h> has a #define.
77818         mktime: merge <sys/types.h> change from gnulib
77819         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
77820         since <time.t> is now guaranteed to define time_t.
77822         mktime: merge HAVE_CONFIG_H change from gnulib
77823         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
77825 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77828         Use "neg %eax".
77830         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
77831         __rlim_t cast.
77832         (struct rusage): Use anonymous union to pad each field to
77833         __syscall_slong_t.
77835 2012-05-21  David S. Miller  <davem@davemloft.net>
77837         * Makefules (o-iterator): Remove .s cases.
77838         (compile-command.s): Delete.
77839         (COMPILE.s): Delete.
77840         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
77842 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
77844         * configure.in (libc_cv_predef_stack_protector): Only consider
77845         "foobar" and "__stack_chk_fail" lines in libc_undefs.
77846         * configure: Regenerated.
77848 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77851         New macro.  Use R*LP on int and pointer.
77852         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
77853         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
77854         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
77855         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
77857         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
77858         [__WORDSIZE_TIME64_COMPAT32] instead of
77859         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
77860         (struct utmp): Likewise.
77861         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
77862         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
77863         Renamed to ...
77864         (__WORDSIZE_TIME64_COMPAT32): This.
77865         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
77866         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
77867         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
77868         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77869         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
77870         (__WORDSIZE_TIME64_COMPAT32): New macro.
77872 2012-05-21  Andreas Jaeger  <aj@suse.de>
77874         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
77875         only if [SHARED]. Add prototype for __wcschr_ia32.
77877 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77879         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
77880         of %rbp unmolested in the jmp_buf while mangling the low bits.
77881         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
77882         unmolested high bits of %rbp while demangling the low bits.
77883         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77885 2012-05-21  Andreas Jaeger  <aj@suse.de>
77887         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
77888         * sunrpc/svc_simple.c: Use it for registerrpc.
77889         * sunrpc/xcrypt.c: Use it for passwd2des.
77891         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
77893 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77895         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
77896         Don't define if [__SYSCALL_WORDSIZE != 32].
77897         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
77898         New macro.
77900 2012-05-21  Bruno Haible  <bruno@clisp.org>
77901             Andreas Jaeger  <aj@suse.de>
77903         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
77904         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
77905         inptr and inend for must_buffer_ch.
77906         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
77907         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
77908         * stdio-common/Makefile (tests): Remove bug15.
77909         (bug15-ENV): Remove macro.
77910         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
77911         anymore.
77913 2012-05-19  Andreas Jaeger  <aj@suse.de>
77914             Roland McGrath  <roland@hack.frob.com>
77916         * manual/contrib.texi: Completely rewritten. It contains now an
77917         alphabetical list of contributors and their contributions.
77919 2012-05-21  Richard Henderson  <rth@twiddle.net>
77921         * misc/getauxval.c (__getauxval): Use unsigned long int.
77922         * misc/sys/auxv.h: Include <sys/cdefs.h>.
77923         (getauxval): Use unsigned long int.
77925 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77927         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77929 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77931         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
77932         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
77933         __alignof__ (long double).
77935 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77939 2012-05-20  Richard Henderson  <rth@twiddle.net>
77941         * misc/getauxval.c: New file.
77942         * misc/sys/auxv.h: New file.
77943         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
77944         (routines): Add getauxval.
77945         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
77946         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
77947         * elf/dl-sysdep.c (_dl_auxv): Remove.
77948         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
77949         * elf/dl-support.c (_dl_auxv): New variable.
77950         (_dl_aux_init): Initialize it.
77951         * manual/startup.texi (Auxiliary Vector): New node.
77952         * sysdeps/generic/bits/hwcap.h: New file.
77953         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
77954         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
77955         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
77956         * sysdeps/sparc/sysdep.h: ... here.  Include it.
77957         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
77958         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
77959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77960         Update.
77961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
77962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
77963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
77964         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
77965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
77968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
77970 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77974 2012-05-19  David S. Miller  <davem@davemloft.net>
77976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77978 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77980         [BZ #14123]
77981         * math/s_ccosh.c: Include <float.h>
77982         (__ccosh): Avoid internal overflow calculating sinh and cosh
77983         values before multiplying by sin and cos values.
77984         * math/s_ccoshf.c: Likewise.
77985         * math/s_ccoshl.c: Likewise.
77986         * math/s_csin.c: Likewise.
77987         * math/s_csinf.c: Likewise.
77988         * math/s_csinl.c: Likewise.
77989         * math/s_csinh.c: Likewise.
77990         * math/s_csinhf.c: Likewise.
77991         * math/s_csinhl.c: Likewise.
77992         * math/libm-test.inc (ccos_test): Add more tests.
77993         (ccosh_test): Likewise.
77994         (csin_test): Likewise.
77995         (csinh_test): Likewise.
77996         * sysdeps/i386/fpu/libm-test-ulps: Update.
77997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77999 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
78001         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78002         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78004         * sysdeps/x86_64/x32/_itoa.h: Add comment.
78006 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78008         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78009         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78010         * sysdeps/powerpc/soft-fp/Versions: Likewise.
78011         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78012         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78013         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78014         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78015         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78016         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78017         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78018         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78019         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78020         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78021         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78022         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78023         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78024         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78025         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78026         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78027         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78028         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78029         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78030         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78031         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78032         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78033         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78034         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78035         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78036         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78037         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78038         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78040 2012-05-18  Andreas Jaeger  <aj@suse.de>
78042         * csu/.gitignore: Delete.
78044 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78046         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78047         (timex): Use __syscall_slong_t.
78049 2012-05-18  Andreas Jaeger  <aj@suse.de>
78050             Carlos O'Donell  <carlos_odonell@mentor.com>
78052         * manual/install.texi (Configuring and compiling): Update
78053         description about files modified in the source directory.
78054         * INSTALL: Regenerated.
78056 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78058         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78059         value.  Use "or" to set return value to -1.
78060         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78061         negate return value.
78063 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78065         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78066         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78067         failure if the compiler has Graphite support disabled.
78068         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78069         Likewise.
78070         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78071         (CFLAGS-memmove.c): Likewise.
78072         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78073         Likewise.
78075 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78077         * sysdeps/x86_64/x32/_itoa.h: New file.
78079         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78080         getdents system call only if kernel and user dirents have the
78081         same d_ino and d_off.
78083         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78084         LLONG_MAX != LONG_MAX.
78085         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78086         (_fitoa_word): Likewise.
78088         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78089         years.
78090         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78091         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78092         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78094         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78095         include <bits/wordsize.h>.  Check __x86_64__ instead of
78096         __WORDSIZE.
78097         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78098         if __x86_64__ is defined.  Use anonymous union on fpstate.
78100         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78101         anonymous union.
78103 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78105         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78106         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78107         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78108         Refer to _rtld_local_ro instead of _rtld_global_ro.
78109         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78110         Likewise.
78111         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78112         Likewise.
78113         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78114         Likewise.
78115         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78116         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78117         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78119         [BZ #10882]
78120         * sysdeps/powerpc/powerpc32/dl-machine.c
78121         (__elf_machine_runtime_setup) [PROF]: Don't reference
78122         _dl_prof_resolve.
78124 2012-05-18  Andreas Jaeger  <aj@suse.de>
78126         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78127         function only available for GCCs before 3.4 since GCC 3.4
78128         introduced a builtin.
78129         (lrint): Likewise.
78130         (llrintf): Likewise.
78131         (llrint): Likewise.
78132         (fmaxf): Likewise.
78133         (fmax): Likewise.
78134         (fminf): Likewise.
78135         (fmin): Likewise.
78136         (rint): Likewise.
78137         (rintf): Likewise.
78138         (nearbyint): Likewise.
78139         (nearbyintf): Likewise.
78140         (ceil): Likewise.
78141         (ceilf): Likewise.
78142         (floor): Likewise.
78143         (floorf): Likewise.
78145 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78147         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78148         on both fields and cast pointer to __syscall_ulong_t.
78150         * bits/types.h (__fsword_t): New type.
78151         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78152         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78153         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78154         (__FSWORD_T_TYPE): Likewise.
78155         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78156         (__FSWORD_T_TYPE): Likewise.
78157         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78158         (__FSWORD_T_TYPE): Likewise.
78159         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78160         (__FSWORD_T_TYPE): Likewise.
78161         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78162         __SWORD_TYPE with __fsword_t.
78163         (statfs64): Likewise.
78165 2012-05-17  David S. Miller  <davem@davemloft.net>
78167         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78169 2012-05-17  Andreas Jaeger  <aj@suse.de>
78171         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78172         warning.
78174 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78176         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78178 2012-05-17  Andreas Jaeger  <aj@suse.de>
78180         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78181         when it is used.
78183 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78185         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78187 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78189         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78190         * sysdeps/x86_64/tst-mallocalign1.c: New file.
78192 2012-05-17  Andreas Jaeger  <aj@suse.de>
78193             Carlos O'Donell  <carlos_odonell@mentor.com>
78195         [BZ #14059]
78196         * sysdeps/x86_64/multiarch/init-arch.h
78197         (bit_YMM_Usable): Rename to...
78198         (bit_AVX_Usable): ... this.
78199         (bit_FMA4_Usable): New macro.
78200         (bit_XMM_state): New macro.
78201         (bit_YMM_state): New macro.
78202         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78203         [__ASSEMBLER__] (index_AVX_Usable): ... this.
78204         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78205         (CPUID_OSXSAVE): New macro.
78206         (CPUID_AVX): New macro.
78207         (CPUID_FMA4): New macro.
78208         (index_YMM_Usable): Rename to...
78209         (index_AVX_Usable): ... this.
78210         (HAS_AVX): Use HAS_ARCH_FEATURE.
78211         (HAS_FMA4): Likewise.
78212         (HAS_YMM_USABLE): Remove.
78213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78214         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78215         are present.
78216         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78217         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78218         * sysdeps/x86_64/multiarch/Makefile: Likewise.
78219         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78220         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78222 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78224         * math/libm-test.c: Support platforms without multiple rounding modes.
78225         * math/bug-nextafter.c: Support platforms without FP exceptions.
78226         * math/bug-nexttoward.c: Likewise.
78227         * math/test-fenv.c: Likewise.
78228         * math/test-misc.c: Likewise.
78229         * stdlib/bug-getcontext.c: Likewise.
78231 2012-05-17  Andreas Jaeger  <aj@suse.de>
78233         * manual/examples/search.c (critter_cmp): Change signature to
78234         avoid warnings.
78235         * manual/string.texi (Collation Functions): Likewise.
78237 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78239         * bits/types.h: Fold copyright years.
78240         * bits/typesizes.h: Likewise.
78241         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78242         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78243         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78244         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78245         * time/time.h: Likewise.
78247 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
78249         [BZ #208]
78250         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78251         in instead of returning them.  Return void.
78252         (__libc_mallinfo): Accumulate over all arenas.
78253         (__malloc_stats): Adjust for change in int_mallinfo interface.
78255 2012-05-16  Roland McGrath  <roland@hack.frob.com>
78257         [BZ #10375]
78258         * configure.in (NM): Add AC_CHECK_TOOL for it.
78259         (libc_extra_cflags): New substituted variable.
78260         Check for -fstack-protector being used implicitly.
78261         * configure: Regenerated.
78262         * config.make.in (config-extra-cflags): New variable,
78263         gets @libc_extra_cflags@.
78264         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78266         [BZ #10375]
78267         * configure.in: Check for _FORTIFY_SOURCE being predefined.
78268         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78269         * configure: Regenerated.
78270         * config.make.in (CPPUNDEFS): New substituted variable.
78271         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78272         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78273         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78275 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78277         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78278         (mq_attr): Use __syscall_slong_t.
78280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78282         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78283         Check __x86_64__ instead of __WORDSIZE.
78284         (_STAT_VER_LINUX): Likewise.
78285         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
78286         __syscall_ulong_t and __syscall_slong_t.
78287         (stat64): Likewise.
78289 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78291         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
78293 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78295         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
78297 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78299         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
78300         __syscall_ulong_t.
78302         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
78303         include <bits/wordsize.h>.  Check __x86_64__ instead of
78304         __WORDSIZE.
78305         (greg_t): Use "__extension__ long long int" if __x86_64__ is
78306         defined.
78307         (mcontext_t): Replace "unsigned long" with "unsigned long long".
78309         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
78310         include <bits/wordsize.h>.  Check __x86_64__ instead of
78311         __WORDSIZE.
78312         (user_regs_struct): Use "__extension__ unsigned long long"
78313         instead of "unsigned long" if __x86_64__ is defined.
78314         (user): Likewise.  Pad after pointer field if __ILP32__ is
78315         defined.
78317 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
78319         * configure.in (makeinfo): Require version 4.5 or later.  Allow
78320         versions 5 to 9.
78321         * configure: Regenerated.
78322         * manual/install.texi (texinfo): Increase version requirement to
78323         4.5 or later.
78324         * INSTALL: Regenerated.
78326         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
78328 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78330         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
78332         * sysdeps/x86_64/x32/ffs.c: New file.
78334         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
78335         __syscall_ulong_t.
78336         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
78337         defined.  Use __syscall_ulong_t.
78338         (shminfo): Use __syscall_ulong_t.
78339         (shm_info): Likewise.
78341         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
78342         __syscall_ulong_t.
78344         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78345         <bits/wordsize.h>.
78346         (msgqnum_t): Use __syscall_ulong_t.
78347         (msglen_t): Likewise.
78348         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
78349         __syscall_ulong_t.
78351         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78352         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78354         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
78356         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
78357         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
78359         * sysvipc/sys/msg.h (msgbuf): Replace long int with
78360         __syscall_slong_t.
78362         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
78363         include <bits/wordsize.h>.  Check __x86_64__ instead of
78364         __WORDSIZE.
78366         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
78367         "unsigned long long int" if __x86_64__ is defined.
78368         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
78370         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
78371         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78372         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
78374         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
78375         <stdint.h>.
78376         (GET_PC): Cast to uintptr_t first.
78377         (GET_FRAME): Likewise.
78378         (GET_STACK): Likewise.
78380         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
78381         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
78382         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
78383         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
78384         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
78385         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
78386         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
78387         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
78388         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
78389         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
78390         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
78391         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
78392         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78393         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
78394         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
78395         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
78396         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
78397         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
78398         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
78399         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
78400         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
78401         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
78402         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
78403         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
78404         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
78405         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
78406         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
78407         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
78408         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
78410 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
78412         * Makerules (+depfiles): Also collect depfiles from .oS in
78413         $(extra-objs).
78414         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
78415         .oS, $(libnldbl-routines)).
78417         * Makerules (native-compile-mkdep-flags): Define.
78418         * sunrpc/Makefile (extra-objs): Add $(addprefix
78419         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
78420         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
78421         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
78422         calling $(make-target-directory).
78424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78426         * bits/types.h (__snseconds_t): Removed.
78427         * time/time.h (struct timespec): Replace __snseconds_t with
78428         __syscall_slong_t.
78429         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
78430         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
78431         Likewise.
78432         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78433         (__SNSECONDS_T_TYPE): Likewise.
78434         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78435         (__SNSECONDS_T_TYPE): Likewise.
78436         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78437         (__SNSECONDS_T_TYPE): Likewise.
78439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78441         * sysdeps/mach/hurd/bits/typesizes.h
78442         (__SYSCALL_SLONG_TYPE): New macro.
78443         (__SYSCALL_ULONG_TYPE): Likewise.
78445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78447         * bits/types.h (__syscall_slong_t): New type.
78448         (__syscall_ulong_t): Likewise.
78450         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
78451         (__SYSCALL_ULONG_TYPE): Likewise.
78452         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78453         (__SYSCALL_SLONG_TYPE): Likewise.
78454         (__SYSCALL_ULONG_TYPE): Likewise.
78455         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78456         (__SYSCALL_SLONG_TYPE): Likewise.
78457         (__SYSCALL_ULONG_TYPE): Likewise.
78458         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78459         (__SYSCALL_SLONG_TYPE): Likewise.
78460         (__SYSCALL_ULONG_TYPE): Likewise.
78462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78464         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
78465         Add sigaltstack-offsets.sym.
78466         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
78467         <sigaltstack-offsets.h>.
78468         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
78469         longjmp_msg pointer.
78470         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
78471         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
78472         signal stack.
78473         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
78475 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78477         * elf/stackguard-macros.h: Remove file.
78478         * sysdeps/generic/stackguard-macros.h: New file.
78479         * sysdeps/i386/stackguard-macros.h: Likewise.
78480         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
78481         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
78482         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
78483         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
78484         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
78485         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
78486         * sysdeps/x86_64/stackguard-macros.h: Likewise.
78487         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
78488         <elf/stackguard-macros.h>.
78490         [BZ #14109]
78491         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
78492         __aligned__ in attribute.
78493         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
78494         (gregset_t): Likewise.
78496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78498         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
78499         * sysdeps/x86_64/64/Implies-after: Here.  New file.
78500         * sysdeps/x86_64/x32/Implies-after: New file.
78502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78504         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
78505         and access return value for _dl_profile_fixup.  Use R10_LP to
78506         load frame size.
78508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78510         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
78512 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78514         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
78515         * sysdeps/x86_64/x32/sysdep.h: New file.
78517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78519         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
78520         * sysdeps/x86_64/setjmp.S: Likewise.
78522 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78524         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
78525         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
78526         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
78527         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
78528         remove unused global constant.
78530 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
78532         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
78533         include of <not-cancel.h>.
78535 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78537         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
78539 2012-05-15  Jeff Law  <law@redhat.com>
78540             Andreas Jaeger  <aj@suse.de>
78542         [BZ #13594]
78543         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
78544         out from...
78545         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
78546         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
78547         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
78548         code changing __hst_map_handle.map.
78550 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78552         * configure.in (sysnames): Look for Implies-before and Implies-after
78553         files.
78554         * configure: Regenerated.
78556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78558         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
78559         8-byte data alignment with LP_SIZE alignment.
78561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78563         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
78564         into R10_LP.
78566 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78568         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
78570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78572         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
78573         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
78574         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
78575         Likewise.
78576         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78580         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
78581         (stackinfo_sub_sp): Likewise.
78583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78585         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
78586         RAX_LP.
78588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78590         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
78591         into R*_LP.
78593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78595         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
78596         sizes into R*_LP.
78598 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78600         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
78602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78604         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
78605         into R11_LP and load __x86_64_shared_cache_size_half into
78606         R8_LP.
78608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78610         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
78611         R8_LP.
78613 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78615         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
78616         logb for POWER7.
78617         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
78618         logbf for POWER7.
78619         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
78620         logbl for POWER7.
78621         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
78622         powerpc32/power7/fpu/s_logb.c via #include.
78623         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78624         powerpc32/power7/fpu/s_logbf.c via #include.
78625         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78626         powerpc32/power7/fpu/s_logbl.c via #include.
78628 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78630         * README.libm: Remove file.
78632 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78634         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78635         count for x32.  Use R*_LP and omit operand-size suffix.
78637 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78639         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78640         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78641         * sysdeps/x86_64/x32/shlib-versions: New file.
78643 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78645         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78646         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78647         Use _dl_fatal_printf instead.
78649 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78651         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78652         set if not set by the user.  Do not allow for being unset.
78653         * sysdeps/unix/sysv/linux/configure: Regenerated.
78655 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78657         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78658         the `q' suffix from lea and replace .quad with ASM_ADDR.
78660 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78663         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78664         instead of $17.
78665         (PTR_DEMANGLE): Likewise.
78667 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78669         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78670         (LP_OP): Likewise.
78671         (ASM_ADDR): Likewise.
78672         (RAX_LP): Likewise.
78673         (RBP_LP): Likewise.
78674         (RBX_LP): Likewise.
78675         (RCX_LP): Likewise.
78676         (RDI_LP): Likewise.
78677         (RSI_LP): Likewise.
78678         (RSP_LP): Likewise.
78679         (R8_LP): Likewise.
78680         (R9_LP): Likewise.
78681         (R10_LP): Likewise.
78682         (R10_LP): Likewise.
78683         (R11_LP): Likewise.
78684         (R12_LP): Likewise.
78685         (R13_LP): Likewise.
78686         (R14_LP): Likewise.
78687         (R15_LP): Likewise.
78689 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78691         * sysdeps/x86_64/x32/dl-machine.h: New file.
78693 2012-05-14  Andreas Jaeger  <aj@suse.de>
78695         * manual/Makefile (subdir): Remove export of subdir.
78696         (all): Remove target.
78697         (.PHONY): Remove all from list.
78698         (mkinstalldirs): Remove.
78699         (.PHONY): Remove installdirs from list.
78700         ($(inst_infodir)/libc.info): Use make-target-directory.
78701         (installdirs): Remove.
78702         (subdir_%): Remove.
78703         (glibc-targets): Remove.
78704         (lib): Remove.
78705         (stubs): Remove.
78706         ($(objpfx)stubs ../po/manual.pot): Remove.
78707         ($(objpfx)stamp%): Remove.
78708         (make-target-directory): Remove.
78709         (subdir_install): Remove.
78710         (routines): Remove.
78711         (aux): Remove.
78712         (sources): Remove.
78713         (objects): Remove.
78714         (headers): Remove.
78716         [BZ #13750]
78717         * manual/.gitignore: Remove, it's not needed anymore.
78718         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
78719         all files in it.
78720         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
78721         directory.
78722         (texis): Renamed to $(objpfx)texis.
78723         (texis-path): New, contains path to generated files.
78724         (chapters.%): Use texis-path for complete path, add extra argument
78725         libc-texinfo.sh.
78726         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
78727         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
78728         (summary,texi, stamp-summary): Use complete path of
78729         files. Generate files in build dir.
78730         (dir-add.texi): Build in build dir.
78731         (libm-err.texi,stamp-libm-err): Likewise.
78732         (version.texi, stamp-version): Likewise.
78733         (.%c.texi): Likewise.
78734         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
78735         (mostlyclean): Remove target.
78736         (realclean): Remove target.
78737         (generated): Add new variable with contents from mostlyclean and
78738         realclean, remove entries duplicated in common-mostlyclean, add
78739         stamp-libm-err and stamp-version.
78740         (generated-dirs): Add libc directory.
78741         ($(inst_infodir)/libc.info): Install files from build dir.
78743         * manual/install.texi (Configuring and compiling): Adjust since
78744         the info files are not part of the tar ball anymore.
78746 2012-05-14  Andreas Jaeger  <aj@suse.de>
78748         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
78749         variable.
78751 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78753         [BZ #13717]
78754         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78755         to 2.2.0 where earlier.
78756         * sysdeps/unix/sysv/linux/configure: Regenerated.
78757         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
78758         Remove conditional code.
78759         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
78760         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
78761         Remove conditional code.
78762         [!__NR_lchown]: Likewise.
78763         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78764         [__NR_lchown]: Likewise.
78765         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
78766         comment referencing __ASSUME_LCHOWN_SYSCALL.
78767         * sysdeps/unix/sysv/linux/i386/sigaction.c
78768         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78769         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78770         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
78771         Remove conditional code.
78772         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
78773         (__protocol_available): Remove #if 0 code.
78774         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
78775         conditional code.
78776         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
78777         * sysdeps/unix/sysv/linux/kernel-features.h
78778         (__ASSUME_GETCWD_SYSCALL): Don't define.
78779         (__ASSUME_REALTIME_SIGNALS): Likewise.
78780         (__ASSUME_PREAD_SYSCALL): Likewise.
78781         (__ASSUME_PWRITE_SYSCALL): Likewise.
78782         (__ASSUME_POLL_SYSCALL): Likewise.
78783         (__ASSUME_LCHOWN_SYSCALL): Likewise.
78784         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
78785         non-SPARC.
78786         (__ASSUME_SIOCGIFNAME): Don't define.
78787         (__ASSUME_MSG_NOSIGNAL): Likewise.
78788         (__ASSUME_SENDFILE): Define unconditionally.
78789         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
78790         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
78791         conditional code.
78792         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
78793         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
78794         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78795         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78796         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
78797         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78798         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
78800         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78801         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
78803         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78804         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
78806         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78807         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
78809         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78810         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
78812         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78813         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
78815         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78816         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
78818         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78819         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
78821         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78822         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78823         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
78824         Remove conditional code.
78825         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78826         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78827         Remove conditional code.
78828         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78829         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
78830         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
78831         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78832         Remove conditional code.
78833         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78834         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
78835         Remove conditional code.
78836         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78837         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
78838         Remove conditional code.
78839         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78840         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78841         Remove conditional code.
78842         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78843         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78844         Remove conditional code.
78845         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78846         * sysdeps/unix/sysv/linux/sh/pwrite64.c
78847         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78848         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78849         * sysdeps/unix/sysv/linux/sigaction.c
78850         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78851         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78852         * sysdeps/unix/sysv/linux/sigpending.c
78853         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78854         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78855         * sysdeps/unix/sysv/linux/sigprocmask.c
78856         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78857         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78858         * sysdeps/unix/sysv/linux/sigsuspend.c
78859         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78860         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78861         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78862         (__libc_missing_rt_sigs): Remove.
78863         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
78864         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
78865         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
78866         Remove conditional code.
78867         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
78868         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
78869         return 1.
78870         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
78871         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
78872         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
78873         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
78875 2012-05-14  Andreas Jaeger  <aj@suse.de>
78877         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
78878         it's not used in glibc.
78879         (__coshm1): Likewise.
78880         (__acosh1p): Likewise.
78881         (__sgn): Likewise.
78883         * manual/string.texi (Copying and Concatenation): Add missing
78884         variable in concat example.
78885         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
78887 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78889         [BZ #14103]
78890         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
78891         __builtin_clzl with __builtin_clzll.
78893 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78895         [BZ #14104]
78896         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
78897         libc_freeres_ptr.
78899 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78901         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
78902         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
78903         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
78904         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
78906 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
78908         * NEWS: Update ia64 info.
78910 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
78912         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
78913         used as bcopy.
78915 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
78917         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
78918         * sysdeps/unix/syscalls.list (dup3): Likewise.
78919         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
78920         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
78922 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78924         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
78925         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
78927 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78929         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
78930         thread pointer.
78931         (TLS_IE): Use mov/add instead of movq/addq to load thread
78932         pointer.
78933         (TLS_GD_PREFIX): New.
78934         (TLS_GD): Use it.
78936 2012-05-11  David S. Miller  <davem@davemloft.net>
78938         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
78939         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
78940         (_FPU_SETCW): Likewise.
78942 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78944         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
78945         is 32-byte aligned.
78947 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
78949         [BZ #11837]
78950         * iconvdata/gb18030.c: Update tables.
78951         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
78952         characters specially.
78953         (BODY for TO_LOOP): Add encoding of missing ranges.
78955 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
78957         [BZ #13673]
78958         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
78959         * sysdeps/mach/hurd/dup3.c: Likewise.
78960         * sysdeps/mach/hurd/readlinkat.c: Likewise.
78961         * sysdeps/powerpc/memmove.c:: Likewise.
78963 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78965         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
78966         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
78968 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78970         * elf/elf.h (R_X86_64_RELATIVE64): New.
78971         (R_X86_64_NUM): Updated.
78972         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
78973         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
78974         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
78975         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
78976         tst-quad1pie tst-quad2pie
78977         (modules-names): Add tst-quadmod1 tst-quadmod2.
78978         ($(objpfx)tst-quad1): New dependency.
78979         ($(objpfx)tst-quad2): Likewise.
78980         ($(objpfx)tst-quad1pie): Likewise.
78981         ($(objpfx)tst-quad2pie): Likewise.
78982         * sysdeps/x86_64/tst-quad1.c: New file.
78983         * sysdeps/x86_64/tst-quad1pie.c: New file.
78984         * sysdeps/x86_64/tst-quad2.c: Likewise.
78985         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
78986         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
78987         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
78988         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
78989         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
78991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78993         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
78994         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
78995         * streams/stropts.h (t_scalar_t): Define type.
78997         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
78998         (_PATH_PRESERVE): Set to "/var/lib".
78999         (_PATH_RWHODIR): Set to "/var/spool/rwho".
79001         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79002         instead of int.
79004         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79005         if __dir_mkfile succeeded.
79007         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79008         checking for _hurd_dtablesize.  Unlock it right after having
79009         finished _hurd_dtable allocation.
79011 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79013         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79014         * sysdeps/mach/hurd/configure: Regenerated.
79015         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79016         special-casing to...
79017         * sysdeps/gnu/configure.in: ... this new file.
79018         * sysdeps/unix/sysv/linux/configure: Regenerated.
79019         * sysdeps/gnu/configure: New generated file.
79021         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79022         for Linux: use nsec instead of usec, as well as:
79023         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79024         members of type struct timespec.
79025         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79026         New macros.
79027         (struct stat64): Likewise.
79028         (_STATBUF_ST_NSEC): New macro.
79029         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79031         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79032         __strtoul_internal rather than strtoul.
79034 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79036         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79037         and reject them.
79039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79041         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79042         which preserves existing values.
79043         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79045 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79047         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79048         TIMEOUT values.  Return EINVAL for NFDS values either negative or
79049         greater than FD_SETSIZE.
79051 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79053         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79054         allocated, call __vm_protect to finish enabling the existing space, and
79055         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79056         allocate the remainder.
79058 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79060         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79061         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79065         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79066         sysdeps/mach/hurd/readlink.c.
79068         * posix/tst-sysconf.c (posix_options): Only use
79069         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79070         _POSIX_SYNCHRONIZED_IO when they are defined
79071         * sysdeps/mach/hurd/bits/posix_opt.h:
79072         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79073         (_XOPEN_REALTIME): Undefine macro.
79074         (_XOPEN_REALTIME_THREADS): Undefine macro.
79075         (_XOPEN_SHM): Undefine macro.
79076         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79077         macro to -1.
79078         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79079         macro to -1.
79080         (_POSIX_ASYNC_IO): Undefine macro.
79081         (_POSIX_PRIORITIZED_IO): Undefine macro.
79082         (_POSIX_SPIN_LOCKS): Define macro to -1.
79084         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79085         SA_NODEFER, SA_RESETHAND.
79086         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79087         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79088         F_DUPFD_CLOEXEC.
79090 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79092         * elf/Makefile (pldd-modules): Define unconditionally.
79094 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79096         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79098 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79100         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79101         Return ENOENT when name is empty.
79102         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79104 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79106         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79108         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79110 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79112         Fix mlock in all cases except non-readable pages.
79113         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79114         instead of VM_PROT_ALL as parameter to __vm_wire function.
79116         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79117         (__mkdir): When path is `/', just fail with EEXIST.
79118         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79120 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79122         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79123         <sys/uio.h> (for writev).
79124         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79125         and <sys/param.h> (for MIN).
79127 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79129         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79130         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79131         if interrupted.
79133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79135         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79136         Depend on against $(link-rpcuserlibs).
79138 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79140         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79141         (__libc_stack_end): Do not use attribute_relro.
79142         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79143         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79144         to libthread-provided value.
79145         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79146         attribute_relro.
79148 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79150         [BZ #3748]
79151         * bits/libc-lock.h (__libc_once_get): New macro.
79152         * sysdeps/mach/bits/libc-lock.h: Likewise.
79153         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79154         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79155         instead of using implementation details.
79157         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79158         * libio/freopen.c: Likewise.
79159         * libio/freopen64.c: Likewise.
79160         * misc/syslog.c: Likewise.
79161         * nscd/connections.c: Likewise.
79162         * nscd/netgroupcache.c: Likewise.
79163         * sysdeps/posix/getcwd.c: Likewise.
79165 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79167         * math/w_ilogbf.c: Add #include <limits.h>.
79169 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79171         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79172         path instead of returning without unlocking.
79174         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79175         immediate-write ioctls.
79176         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79178 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79180         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79181         __builtin_frame_address instead of making assumptions about the
79182         location of the return address relative to DATA.  Force early load of
79183         the return address.
79184         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79185         __builtin_frame_address.
79187         dup3 for GNU Hurd.
79188         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79189         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
79190         implement dup3 and do some further code clean-ups.
79191         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79192         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79194 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79196         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79198         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79199         HURD_CRITICAL_END around holding _hurd_dtable_lock.
79200         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79201         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79202         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79203         d->port.lock.
79205         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79206         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
79207         when handler == SIG_ERR, not when handler != SIG_ERR.
79209 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79211         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79212         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79213         definitions.
79215         accept4 for GNU Hurd.
79216         * include/sys/socket.h (__libc_accept4): New prototype.
79217         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
79218         to implement __libc_accept4.
79219         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79220         __libc_accept4.
79221         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79223         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79224         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79225         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79226         signal-defines.sym.
79228 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79230         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79234         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79235         assertion on O_CLOEXEC flag.
79236         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79237         * hurd/intern-fd.c: Likewise.
79238         * hurd/port2fd.c: Likewise.
79240 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79242         [BZ #3906]
79243         * bits/in.h (IPV6_PKTINFO): Define new macro.
79244         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79246 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79248         [BZ #13954]
79249         [BZ #13955]
79250         [BZ #13956]
79251         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79252         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79253         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79254         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79255         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79256         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79257         * math/libm-test.inc (logb_test) : Additional logb tests.
79259 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
79260             Andreas Jaeger  <aj@suse.de>
79262         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79263         * configure: Regenerated.
79264         * config.h.in (LINK_OBSOLETE_RPC): New macro.
79265         * config.make.in (link-obsolete-rpc): New substituted variable.
79266         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79267         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79268         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79269         (shared-only-routines): Don't set it under [link-obsolete-rpc],
79270         so that libc.a contains the symbols.
79271         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79272         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79273         * sunrpc/auth_none.c: Likewise.
79274         * sunrpc/auth_unix.c: Likewise.
79275         * sunrpc/authdes_prot.c: Likewise.
79276         * sunrpc/authuxprot.c: Likewise.
79277         * sunrpc/clnt_gen.c: Likewise.
79278         * sunrpc/clnt_perr.c: Likewise.
79279         * sunrpc/clnt_raw.c: Likewise.
79280         * sunrpc/clnt_simp.c: Likewise.
79281         * sunrpc/clnt_tcp.c: Likewise.
79282         * sunrpc/clnt_udp.c: Likewise.
79283         * sunrpc/clnt_unix.c: Likewise.
79284         * sunrpc/des_crypt.c: Likewise.
79285         * sunrpc/des_soft.c: Likewise.
79286         * sunrpc/get_myaddr.c: Likewise.
79287         * sunrpc/key_call.c: Likewise.
79288         * sunrpc/key_prot.c: Likewise.
79289         * sunrpc/netname.c: Likewise.
79290         * sunrpc/pm_getmaps.c: Likewise.
79291         * sunrpc/pm_getport.c: Likewise.
79292         * sunrpc/pmap_clnt.c: Likewise.
79293         * sunrpc/pmap_prot.c: Likewise.
79294         * sunrpc/pmap_prot2.c: Likewise.
79295         * sunrpc/pmap_rmt.c: Likewise.
79296         * sunrpc/publickey.c: Likewise.
79297         * sunrpc/rpc_cmsg.c: Likewise.
79298         * sunrpc/rpc_common.c: Likewise.
79299         * sunrpc/rpc_dtable.c: Likewise.
79300         * sunrpc/rpc_prot.c: Likewise.
79301         * sunrpc/rpc_thread.c: Likewise.
79302         * sunrpc/rtime.c: Likewise.
79303         * sunrpc/svc.c: Likewise.
79304         * sunrpc/svc_auth.c: Likewise.
79305         * sunrpc/svc_raw.c: Likewise.
79306         * sunrpc/svc_run.c: Likewise.
79307         * sunrpc/svc_tcp.c: Likewise.
79308         * sunrpc/svc_udp.c: Likewise.
79309         * sunrpc/svc_unix.c: Likewise.
79310         * sunrpc/svcauth_des.c: Likewise.
79311         * sunrpc/xcrypt.c: Likewise.
79312         * sunrpc/xdr.c: Likewise.
79313         * sunrpc/xdr_array.c: Likewise.
79314         * sunrpc/xdr_float.c: Likewise.
79315         * sunrpc/xdr_intXX_t.c: Likewise.
79316         * sunrpc/xdr_mem.c: Likewise.
79317         * sunrpc/xdr_rec.c: Likewise.
79318         * sunrpc/xdr_ref.c: Likewise.
79319         * sunrpc/xdr_sizeof.c: Likewise.
79320         * sunrpc/xdr_stdio.c: Likewise.
79322 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79324         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
79325         change.  Update copyright years.
79327 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79329         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
79331 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
79332             Joseph Myers  <joseph@codesourcery.com>
79333             Paul Pluzhnikov  <ppluzhnikov@google.com>
79335         [BZ #14012]
79336         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79337         requiring rpcgen.
79338         [cross-compiling] (extra-libs): Likewise.
79339         [cross-compiling] (extra-libs-others): Likewise.
79340         [cross-compiling] (librpcsvc-routines): Likewise.
79341         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
79342         [cross-compiling] (omit-deps): Likewise.
79343         (sunrpc-CPPFLAGS): New variable.
79344         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
79345         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
79346         (cross-rpcgen-objs): New variable.
79347         (extra-objs): Append $(cross-rpcgen-objs).
79348         ($(cross-rpcgen-objs)): New rule.
79349         ($(objpfx)cross-rpcgen): Likewise.
79350         (rpcgen-cmd): Define to use $(built-program-file).  Expand
79351         comment.
79352         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
79353         ($(objpfx)x%.stmp): Likewise.
79354         * sunrpc/proto.h [IS_IN_build] (_): Define.
79355         [IS_IN_build] (_libc_intl_domainname): Likewise.
79357 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79359         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
79360         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
79361         and R_X86_64_TPOFF64.
79363 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79365         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
79366         sysdeps/unix/sysv/syscalls.list.
79367         (stime): Likewise.
79368         (utime): Likewise.
79369         * sysdeps/unix/sysv/syscalls.list: Remove file.
79371 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
79373         [BZ #3440]
79374         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
79375         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
79376         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
79377         (__LC_IDENTIFICATION): Make these macros useful in #if
79378         expressions, as required by C99.
79380 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
79382         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
79383         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
79384         after this.
79386 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
79388         * stdlib/longlong.h: Updated from GCC.
79390 2012-05-09  Andreas Jaeger  <aj@suse.de>
79392         * nscd/nscd.c (run_modes): Make named enum, reorder so that
79393         default is first entry.
79394         (run_mode): Set type.
79395         (main): Remove informal message about syslog.
79396         (options): Fix typo.
79398         [BZ #14053]
79399         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
79400         to asm.
79401         (lrint): Likewise.
79402         (llrintf): Likewise.
79403         (llrint): Likewise.
79404         (rint): Likewise.
79405         (rintf): Likewise.
79406         (nearbyint): Likewise.
79407         (nearbyintf): Likewise.
79409 2012-05-09  Andreas Jaeger  <aj@suse.de>
79410             Pedro Alves  <palves@redhat.com>
79412         * nscd/nscd.c (run_mode): Use enum.
79413         (main): Cleanup coding style issue.
79415 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
79416             Andreas Jaeger  <aj@suse.de>
79418         * nscd/nscd.c (go_background): Replaced with...
79419         (run_mode): ... this.
79420         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
79421         (options): Add -F --foreground.
79422         (main): Implement it.
79423         (parse_opt): Parse it.
79425 2012-05-09  Andreas Jaeger  <aj@suse.de>
79427         [BZ #14083]
79428         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
79429         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
79430         -Wconversion warning.
79431         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
79432         Likewise.
79434 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
79436         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
79437         == 0.
79438         (LC_ALL): Use macro-int-constant.
79439         (LC_COLLATE): Likewise.
79440         (LC_CTYPE): Likewise.
79441         (LC_MESSAGES): Likewise.
79442         (LC_MONETARY): Likewise.
79443         (LC_NUMERIC): Likewise.
79444         (LC_TIME): Likewise.
79445         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
79446         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79447         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79448         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
79449         Specify type.
79450         [C99-based standards] (float_t): Expect type.
79451         [C99-based standards] (double_t): Expect type.
79452         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
79453         type.
79454         [C99-based standards] (HUGE_VALL): Likewise.
79455         [C99-based standards] (INFINITY): Likewise.
79456         [C99-based standards] (NAN): Likewise.
79457         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
79458         [C99-based standards] (FP_NAN): Likewise.
79459         [C99-based standards] (FP_NORMAL): Likewise.
79460         [C99-based standards] (FP_SUBNORMAL): Likewise.
79461         [C99-based standards] (FP_ZERO): Likewise.
79462         [C99-based standards] (FP_FAST_FMA): Use
79463         optional-macro-int-constant.  Specify type.  Require == 1.
79464         [C99-based standards] (FP_FAST_FMAF): Likewise.
79465         [C99-based standards] (FP_FAST_FMAL): Likewise.
79466         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
79467         [C99-based standards] (FP_ILOGBNAN): Likewise.
79468         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
79469         Specify type.
79470         [C99-based standards] (MATH_ERREXCEPT): Likewise.
79471         [C99-based standards] (math_errhandling): Specify type.
79472         [ISO99 || ISO11] (signgam): Do not allow.
79473         [non-C99-based standards] (copysignf): Do not allow.
79474         [non-C99-based standards] (exp2f): Likewise.
79475         [non-C99-based standards] (log2f): Likewise.
79476         [non-C99-based standards] (modff): Allow.
79477         [non-C99-based standards] (erff): Do not allow.
79478         [non-C99-based standards] (erfcf): Likewise.
79479         [non-C99-based standards] (gammaf): Likewise.
79480         [non-C99-based standards] (hypotf): Likewise.
79481         [non-C99-based standards] (j0f): Likewise.
79482         [non-C99-based standards] (j1f): Likewise.
79483         [non-C99-based standards] (jnf): Likewise.
79484         [non-C99-based standards] (lgammaf): Likewise.
79485         [non-C99-based standards] (tgammaf): Likewise.
79486         [non-C99-based standards] (y0f): Likewise.
79487         [non-C99-based standards] (y1f): Likewise.
79488         [non-C99-based standards] (ynf): Likewise.
79489         [non-C99-based standards] (isnanf): Likewise.
79490         [non-C99-based standards] (acoshf): Likewise.
79491         [non-C99-based standards] (asinhf): Likewise.
79492         [non-C99-based standards] (atanhf): Likewise.
79493         [non-C99-based standards] (cbrtf): Likewise.
79494         [non-C99-based standards] (expm1f): Likewise.
79495         [non-C99-based standards] (ilogbf): Likewise.
79496         [non-C99-based standards] (log1pf): Likewise.
79497         [non-C99-based standards] (logbf): Likewise.
79498         [non-C99-based standards] (nextafterf): Likewise.
79499         [non-C99-based standards] (remainderf): Likewise.
79500         [non-C99-based standards] (rintf): Likewise.
79501         [non-C99-based standards] (scalbf): Likewise.
79502         [non-C99-based standards] (copysignl): Likewise.
79503         [non-C99-based standards] (exp2l): Likewise.
79504         [non-C99-based standards] (log2l): Likewise.
79505         [non-C99-based standards] (modfl): Allow.
79506         [non-C99-based standards] (erfl): Do not allow.
79507         [non-C99-based standards] (erfcl): Likewise.
79508         [non-C99-based standards] (gammal): Likewise.
79509         [non-C99-based standards] (hypotl): Likewise.
79510         [non-C99-based standards] (j0l): Likewise.
79511         [non-C99-based standards] (j1l): Likewise.
79512         [non-C99-based standards] (jnl): Likewise.
79513         [non-C99-based standards] (lgammal): Likewise.
79514         [non-C99-based standards] (tgammal): Likewise.
79515         [non-C99-based standards] (y0l): Likewise.
79516         [non-C99-based standards] (y1l): Likewise.
79517         [non-C99-based standards] (ynl): Likewise.
79518         [non-C99-based standards] (isnanl): Likewise.
79519         [non-C99-based standards] (acoshl): Likewise.
79520         [non-C99-based standards] (asinhl): Likewise.
79521         [non-C99-based standards] (atanhl): Likewise.
79522         [non-C99-based standards] (cbrtl): Likewise.
79523         [non-C99-based standards] (expm1l): Likewise.
79524         [non-C99-based standards] (ilogbl): Likewise.
79525         [non-C99-based standards] (log1pl): Likewise.
79526         [non-C99-based standards] (logbl): Likewise.
79527         [non-C99-based standards] (nextafterl): Likewise.
79528         [non-C99-based standards] (remainderl): Likewise.
79529         [non-C99-based standards] (rintl): Likewise.
79530         [non-C99-based standards] (scalbl): Likewise.
79531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79532         [non-C99-based standards] (FP_*): Do not allow.
79533         [C99-based standards] (FP_*): Change to
79534         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79535         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79536         allow.
79537         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
79538         (SIG_ERR): Likewise.
79539         [X/Open-based standards] (SIG_HOLD): Likewise.
79540         (SIG_IGN): Likewise.
79541         (SIGABRT): Use macro-int-constant.  Specify type.  Require
79542         positive value.
79543         (SIGFPE): Likewise.
79544         (SIGILL): Likewise.
79545         (SIGINT): Likewise.
79546         (SIGSEGV): Likewise.
79547         (SIGTER): Likewise.
79548         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
79549         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
79550         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
79551         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
79552         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
79553         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
79554         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
79555         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
79556         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
79557         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
79558         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
79559         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
79560         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
79561         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
79562         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
79563         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
79564         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
79565         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
79566         [X/Open-based standards] (SIGTRAP): Likewise.
79567         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
79568         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
79569         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
79570         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
79571         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79572         allow.
79574 2012-05-08  Ian Wienand  <ianw@vmware.com>
79576         [BZ #14080]
79577         * time/tzset.c (__tzset_parse_tz): Update default rules for
79578         daylight time changes in the Energy Policy Act of 2005.
79580 2012-05-09  Andreas Jaeger  <aj@suse.de>
79582         [BZ #13983]
79583         * elf/ldconfig.c (parse_conf): Change string to make clear that
79584         ldconfig only issued a warning if ld.so.conf does not exist.
79586 2012-05-08  David S. Miller  <davem@davemloft.net>
79588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
79589         movxtod instead of popping the value on the stack.
79591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79593 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
79595         * config.h.in: Add HAVE_ARM_PCS_VFP.
79597 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
79599         [BZ #13979]
79600         * include/features.h: Warn if user requests __FORTIFY_SOURCE
79601         checking but the checks are disabled for any reason.
79603 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
79605         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
79606         and ELF64_R_TYPE with ELFW(R_TYPE).
79608 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
79610         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
79611         (ulimit): Likewise.
79613         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
79614         (settimeofday): Likewise.
79616 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
79618         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
79619         a struct th_u2 inside the union, and move tu_block/tu_code into
79620         a new th_u3 union of tu_block/tu_code inside of that.  Move
79621         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
79622         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
79623         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79624         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79625         (th_stuff): Change to th_u1.tu_stuff.
79626         (th_data): Define.
79627         (th_msg): Change to th_u1.th_u2.tu_data.
79629 2012-05-07  David S. Miller  <davem@davemloft.net>
79631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79633         [BZ #14074]
79634         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79635         (SETUP_PIC_REG): Use it.
79636         (SETUP_PIC_REG_LEAF): Use it.
79638 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79640         [BZ #13885]
79641         [BZ #13923]
79642         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79643         USE_AS_EXPM1L.
79644         (EXPL_FINITE): Likewise.
79645         (FLDLOG): Likewise.
79646         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79647         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79648         e_expl.S.
79649         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79650         USE_AS_EXPM1L.
79651         (EXPL_FINITE): Likewise.
79652         (FLDLOG): Likewise.
79653         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79654         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79655         e_expl.S.
79656         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79657         test of -max_value argument for long double.
79658         * sysdeps/i386/fpu/libm-test-ulps: Update.
79659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79661 2012-05-06  David S. Miller  <davem@davemloft.net>
79663         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79664         quad soft-float symbols whose references which are compiler
79665         generated.
79666         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79668 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79670         [BZ #13884]
79671         [BZ #13914]
79672         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79673         USE_AS_EXP10L.
79674         (EXPL_FINITE): Likewise.
79675         (FLDLOG): Likewise.
79676         (c0): Likewise.
79677         (c1): Likewise.
79678         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79679         Adjust comments for base varying.
79680         (__expl_finite): Change alias to EXPL_FINITE.
79681         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
79682         e_expl.S.
79683         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
79684         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
79685         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
79686         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
79687         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79688         USE_AS_EXP10L.
79689         (EXPL_FINITE): Likewise.
79690         (FLDLOG): Likewise.
79691         (c0): Likewise.
79692         (c1): Likewise.
79693         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79694         Adjust comments for base varying.
79695         (__expl_finite): Change alias to EXPL_FINITE.
79696         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
79697         tests for bugs.
79698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79700         [BZ #14064]
79701         * math/libm-test.inc (check_float_internal): Correct ulp
79702         calculation for subnormal expected results.
79704 2012-05-06  Andreas Jaeger  <aj@suse.de>
79706         * Makeconfig (+math-flags): New, set to -frounding-math.
79707         (+cflags): Add +math-flags so that all of glibc gets compiled with
79708         it.
79710         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
79712 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
79714         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79715         Disable one test.
79717         [BZ #13787]
79718         [BZ #13922]
79719         [BZ #14036]
79720         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
79721         (__ieee754_expl): Allow for and saturate large arguments.
79722         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
79723         (u_threshold): Likewise.
79724         (__exp): Call __ieee754_exp before checking for overflow and
79725         underflow.
79726         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
79727         (u_threshold): Likewise.
79728         (__expf): Call __ieee754_expf before checking for overflow and
79729         underflow.
79730         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
79731         (u_threshold): Likewise.
79732         (__expl): Call __ieee754_expl before checking for overflow and
79733         underflow.
79734         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
79735         (__ieee754_expl): Allow for and saturate large arguments.
79736         * math/libm-test.inc (exp_test): Add another test.  Do not allow
79737         missing overflow exception on overflow.
79738         (expm1_test): Do not allow missing overflow exception on overflow.
79740         * sysdeps/i386/fpu/e_expl.c: Move to ...
79741         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
79742         rather than using inline asm.
79743         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
79744         * sysdeps/x86_64/fpu/e_expl.S: Copy from
79745         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
79747         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
79748         (nice): Likewise.
79749         (poll): Likewise.
79750         (signal): Likewise.
79751         (time): Likewise.
79752         (times): Likewise.
79754 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79756         * sysdeps/unix/syscalls.list (adjtime): Add entry from
79757         sysdeps/unix/common/syscalls.list.
79758         (fchmod): Likewise.
79759         (fchown): Likewise.
79760         (ftruncate): Likewise.
79761         (getrusage): Likewise.
79762         (gettimeofday): Likewise.
79763         (setpgid): Likewise.
79764         (setregid): Likewise.
79765         (setreuid): Likewise.
79766         (sigaction): Likewise.
79767         (truncate): Likewise.
79768         (vhangup): Likewise.
79769         * sysdeps/unix/common/syscalls.list: Remove file.
79770         * sysdeps/unix/bsd/Implies: Don't include unix/common.
79771         * sysdeps/unix/sysv/linux/Implies: Likewise.
79773 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
79775         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
79776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
79777         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
79778         Moved to ...
79779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
79780         Here.
79781         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
79782         to ...
79783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
79784         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
79785         to ...
79786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
79787         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
79788         to ...
79789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
79790         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
79791         to ...
79792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79793         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
79794         to ...
79795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
79796         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
79797         to ...
79798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
79799         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
79800         to ...
79801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79802         Here.
79803         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
79804         to ...
79805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
79806         Here.
79807         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
79808         to ...
79809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
79810         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
79811         Moved to ...
79812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
79813         Here.
79814         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
79815         to ...
79816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
79818 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79820         * sysdeps/unix/common/bits/dirent.h: Remove file.
79821         * sysdeps/unix/common/bits/fcntl.h: Likewise.
79823         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
79824         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
79825         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
79826         * sysdeps/unix/bsd/isatty.c: Likewise.
79827         * sysdeps/unix/bsd/tcdrain.c: Likewise.
79828         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
79829         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
79831 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79833         [BZ #13563]
79834         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
79835         long double comparison inaccuracies.
79836         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
79837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79839 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
79841         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
79842         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
79844 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79846         [BZ #14049]
79847         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
79848         nonzero digits before rounding a hex value.
79849         * stdlib/tst-strtod.c (tests): Add another test.
79851 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79853         * sysdeps/s390/fpu/libm-test-ulps: Update.
79855 2012-05-03  Andreas Jaeger  <aj@suse.de>
79857         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
79858         does not get optimized out.
79859         (malloc_opt_barrier): New.
79861 2012-05-03  Andreas Jaeger  <aj@suse.de>
79862             Roland McGrath  <roland@hack.frob.com>
79864         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
79865         intermediate file deletion.
79866         (generated): Add .symlist files.
79868 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
79870         [BZ #13775]
79871         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
79872         Redirect under this condition.
79873         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79874         [__USE_GNU] (__dprintf_chk): Not under this condition.
79875         [__USE_GNU] (__vdprintf_chk): Likewise.
79876         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
79877         under this condition.
79878         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79879         [__USE_XOPEN2K8] (dprintf): Define under this condition.
79880         [__USE_XOPEN2K8] (vdprintf): Likewise.
79881         [__USE_GNU] (__dprintf_chk): Not under this condition.
79882         [__USE_GNU] (__vdprintf_chk): Likewise.
79883         [__USE_GNU] (dprintf): Likewise.
79884         [__USE_GNU] (vdprintf): Likewise.
79886 2012-05-03  Roland McGrath  <roland@hack.frob.com>
79888         * elf/Makefile (common-generated): Set this instead of generated for
79889         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
79890         $(all-built-dso)-derived lists.
79892 2012-05-03  Andreas Jaeger  <aj@suse.de>
79894         * sysdeps/i386/fpu/libm-test-ulps: Update.
79896         * FAQ: Removed.
79897         * FAQ.in: Likewise.
79898         * scripts/gen-FAQ.pl: Likewise.
79899         * manual/install.texi (Installation): Point to online location of
79900         FAQ.
79901         * Makefile (files-for-dist): Remove FAQ.
79902         (FAQ): Remove.
79904 2012-05-02  Allan McRae  <allan@archlinux.org>
79906         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
79907         (LDFLAGS-reldepmod5.so): Likewise.
79908         (LDFLAGS-reldep6mod1.so): Likewise.
79909         (LDFLAGS-reldep6mod4.so): Likewise.
79910         (LDFLAGS-reldep8mod3.so): Likewise.
79911         (LDFLAGS-unload4mod1.so): Likewise.
79912         (LDFLAGS-unload4mod2.so): Likewise.
79913         (LDFLAGS-tst-initorder): Likewise.
79914         (LDFLAGS-tst-initordera2.so): Likewise.
79915         (LDFLAGS-tst-initordera3.so): Likewise.
79916         (LDFLAGS-tst-initordera4.so): Likewise.
79917         (LDFLAGS-tst-initorderb2.so): Likewise.
79918         (LDFLAGS-noload): Likewise.
79919         (LDFLAGS-next): Likewise.
79920         (LDFLAGS-order2mod1.so): Likewise.
79921         (LDFLAGS-order2mod2.so): Likewise.
79922         (LDFLAGS-tst-initorder2): Likewise.
79923         (LDFLAGS-tst-initorder2a.so): Likewise.
79924         (LDFLAGS-tst-initorder2b.so): Likewise.
79925         (LDFLAGS-tst-initorder2c.so): Likewise.
79926         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
79928 2012-05-02  David S. Miller  <davem@davemloft.net>
79930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79932 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
79934         [BZ #14055]
79935         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
79937 2012-05-02  Andreas Jaeger  <aj@suse.de>
79939         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
79940         since we manipulate rounding mode.
79941         (CPPFLAGS-test-idouble.c): Likewise.
79942         (CPPFLAGS-test-ifloat.c): Likewise.
79943         (CFLAGS-test-ldouble.c): Likewise.
79944         (CFLAGS-test-double.c): Likewise.
79945         (CFLAGS-test-float.c): Likewise.
79946         (CFLAGS-test-misc.c): Likewise.
79947         (CFLAGS-test-test-fenv.c): Likewise.
79949 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79951         [BZ #2550]
79952         [BZ #2570]
79953         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
79954         comparisons to determine direction to adjust input.
79956 2012-05-01  Roland McGrath  <roland@hack.frob.com>
79958         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
79959         output to the target.
79961         * scripts/localplt.awk: New file.
79962         * elf/Makefile ($(objpfx)check-localplt): Target removed.
79963         (check-localplt-CFLAGS): Variable removed.
79964         ($(all-built-dso:=.jmprel)): New static pattern rule.
79965         (generated): Add those targets.
79966         (localplt-built-dso): New variable.
79967         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
79969         * elf/check-localplt.c: File removed.
79971         * scripts/check-execstack.awk: New file.
79972         * elf/Makefile ($(objpfx)check-execstack): Target removed.
79973         (check-execstack-CFLAGS): Variable removed.
79974         ($(objpfx)check-execstack.h): Target removed.
79975         ($(objpfx)execstack-default): New target.
79976         (generated): Add that instead of check-execstack.h.
79977         ($(all-built-dso:=.phdr)): New static pattern rule.
79978         (generated): Add those targets.
79979         * elf/check-execstack.c: File removed.
79981         * scripts/check-textrel.awk: New file.
79982         * elf/Makefile ($(objpfx)check-textrel): Target removed.
79983         (check-textrel-CFLAGS): Variable removed.
79984         (all-built-dso): Use := to define.o
79985         ($(all-built-dso:=.dyn)): New static pattern rule.
79986         (generated): Add those targets.
79987         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
79988         * config.make.in (READELF): New substituted variable.
79989         * elf/check-textrel.c: File removed.
79991 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79993         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79994         allow.
79995         * conform/data/ctype.h-data [C99-based standards] (isblank):
79996         Expect function.
79997         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
79998         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
79999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80000         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80001         Specify type.  Require positive value.
80002         (EILSEQ): Likewise.
80003         (ERANGE): Likewise.
80004         [ISO || POSIX] (EILSEQ): Do not expect.
80005         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80006         Specify type.  Require positive value.
80007         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80008         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80009         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80010         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80011         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80012         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80013         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80014         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80015         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80016         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80017         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80018         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80019         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80020         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80021         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80022         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80023         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80024         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80025         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80026         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80027         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80028         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80029         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80030         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80031         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80032         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80033         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80034         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80035         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80036         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80037         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80038         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80039         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80040         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80041         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80042         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80043         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80044         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80045         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80046         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80047         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80048         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80049         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80050         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80051         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80052         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80053         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80054         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80055         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80056         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80057         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80058         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80059         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80060         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80061         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80062         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80063         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80064         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80065         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80066         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80067         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80068         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80069         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80070         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80071         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80072         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80073         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80074         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80075         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80076         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80077         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80078         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80079         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80080         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80081         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80082         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80083         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80084         Require >= 2.
80085         (FLT_ROUNDS): Expect as macro, not constant.
80086         (FLT_MANT_DIG): Use macro-int-constant.
80087         (DBL_MANT_DIG): Likewise.
80088         (LDBL_MANT_DIG): Likewise.
80089         (FLT_DIG): Likewise.
80090         (DBL_DIG): Likewise.
80091         (LDBL_DIG): Likewise.
80092         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80093         (DBL_MIN_EXP): Likewise.
80094         (LDBL_MIN_EXP): Likewise.
80095         (FLT_MAX_EXP): Use macro-int-constant.
80096         (DBL_MAX_EXP): Likewise.
80097         (LDBL_MAX_EXP): Likewise.
80098         (FLT_MAX_10_EXP): Likewise.
80099         (DBL_MAX_10_EXP): Likewise.
80100         (LDBL_MAX_10_EXP): Likewise.
80101         (FLT_MAX): Use macro-constant.
80102         (DBL_MAX): Likewise.
80103         (LDBL_MAX): Likewise.
80104         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80105         (DBL_EPSILON): Likewise.
80106         (LDBL_EPSILON): Likewise.
80107         (FLT_MIN): Likewise.
80108         (DBL_MIN): Likewise.
80109         (LDBL_MIN): Likewise.
80110         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80111         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80112         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80113         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80114         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80115         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80116         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80117         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80118         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80119         [ISO11] (FLT_TRUE_MIN): Likewise.
80120         [ISO11] (LDBL_TRUE_MIN): Likewise.
80121         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80122         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80123         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80124         (SCHAR_MAX): Likewise.
80125         (UCHAR_MAX): Likewise.
80126         (CHAR_MIN): Likewise.
80127         (CHAR_MAX): Likewise.
80128         (MB_LEN_MAX): Use macro-int-constant.
80129         (SHRT_MIN): Use macro-int-constant.  Specify type.
80130         (SHRT_MAX): Likewise.
80131         (USHRT_MAX): Likewise.
80132         (INT_MAX): Likewise.
80133         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80134         bound negative.
80135         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80136         bound with "U".
80137         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80138         bound with "L".
80139         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80140         bound negative.  Suffix upper bound with "L".
80141         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80142         bound with "UL".
80143         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80144         Specify type.
80145         [C99-based standards] (LLONG_MAX): Likewise.
80146         [C99-based standards] (ULLONG_MAX): Likewise.
80147         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80148         == 0.
80149         [ISO11] (max_align_t): Require type.
80150         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80152         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80153         from $CFLAGS, without defining away __attribute__ calls.
80154         (checknamespace): Use $CFLAGS_namespace.
80156         * conform/conformtest.pl (@keywords): Only include C99 keywords
80157         for standards based on C99 or C11.
80159         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80160         Disable tests.
80161         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80162         UNIX98]: Likewise.
80164         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80165         usability of symbols in #if.
80167         * conform/conformtest.pl: If macro or constant types start
80168         "promoted:", expect the symbol to be of the following type
80169         promoted by the integer promotions.
80171         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80172         in one place.  Also handle "macro-constant".
80174         * conform/conformtest.pl: Only accept expected macro values with
80175         "==".  Parse all "macro" lines in one place.
80176         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80178         * conform/conformtest.pl: Handle braced types on "constant" lines
80179         instead of handling "typed-constant".
80180         * conform/data/signal.h-data: Use "constant" instead of
80181         "typed-constant".
80183         * conform/conformtest.pl: Handle "optional-" at start of lines in
80184         one place rather than duplicating several cases.  Handle each
80185         format of "macro" line with initial "optional-".
80187         * conform/conformtest.pl: Only accept expected constant or
80188         optional-constant values with "==".  Parse all "constant" lines in
80189         one place.  Parse all "optional-constant" lines in one place.
80190         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80191         * conform/data/fmtmsg.h-data: Likewise.
80192         * conform/data/netinet/in.h-data: Likewise.
80193         * conform/data/tar.h-data: Likewise.
80194         * conform/data/limits.h-data: Use "==" form on "constant" and
80195         "optional-constant" lines.
80197         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80198         Use -std=c99 for XOPEN2K.
80199         (@knownproblems): Remove.
80200         (newtoken): Don't check %isknown.
80202         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80203         Do not expect macro.
80204         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80205         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80206         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80207         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80208         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80209         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80210         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80211         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80212         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80213         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80214         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80215         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80216         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80217         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80218         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80219         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80220         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80221         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80222         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80223         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80224         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80225         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80226         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80227         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80228         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80229         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80230         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80231         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80232         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80233         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80234         [XPG3] (acosh): Likewise.
80235         [XPG3] (asinh): Likewise.
80236         [XPG3] (atanh): Likewise.
80237         [XPG3] (cbrt): Likewise.
80238         [XPG3] (expm1): Likewise.
80239         [XPG3] (ilogb): Likewise.
80240         [XPG3] (log1p): Likewise.
80241         [XPG3] (logb): Likewise.
80242         [XPG3] (nextafter): Likewise.
80243         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80244         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80245         [XPG3] (remainder): Likewise.
80246         [XPG3] (rint): Likewise.
80247         [XPG3 || XPG4 || UNIX98] (round): Likewise.
80248         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80249         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80250         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80251         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80252         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80253         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80254         [UNIX98 || XOPEN2K] (scalb): Expect.
80255         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80256         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80257         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80258         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80259         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80260         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80261         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80262         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80263         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80264         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80265         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80266         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80267         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80268         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80269         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80270         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80271         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80272         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80273         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80274         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80275         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80276         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80277         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80278         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80279         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80280         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80281         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80282         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80283         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80284         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80285         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80286         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80287         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80288         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80289         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80290         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80291         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
80292         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
80293         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
80294         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
80295         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
80296         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
80297         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
80298         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
80299         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
80300         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
80301         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
80302         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
80303         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
80304         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
80305         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
80306         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
80307         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
80308         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
80309         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
80310         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
80311         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
80312         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
80313         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
80314         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
80315         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
80316         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
80317         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
80318         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
80319         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
80320         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
80321         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
80322         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
80323         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
80324         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
80325         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
80326         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
80327         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
80328         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
80329         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
80330         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
80331         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
80332         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
80333         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
80334         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
80335         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
80336         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
80337         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
80338         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
80339         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
80340         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
80341         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
80342         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
80343         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
80344         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
80345         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
80346         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
80347         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
80348         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
80349         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
80350         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
80351         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
80352         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
80353         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
80354         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
80355         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
80356         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
80357         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
80358         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
80359         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
80360         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
80361         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
80362         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
80363         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
80364         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
80365         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
80366         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
80367         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
80368         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
80369         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
80370         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
80371         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
80372         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
80373         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
80374         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
80375         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
80376         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
80377         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
80378         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
80379         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
80380         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
80381         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
80382         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
80383         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
80384         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
80385         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
80386         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
80387         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
80388         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
80389         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
80390         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
80391         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
80393         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
80394         _XOPEN_SOURCE_EXTENDED for XPG4.
80396         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
80398         * Makeconfig (localtime): Remove variable.
80399         (inst_localtime-file): Likewise.
80401 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
80404         Update.
80405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80406         Update.
80407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
80408         Update.
80409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
80410         Update.
80411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
80412         Update.
80413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
80414         Update.
80415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
80416         Update.
80417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
80418         Update.
80419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80420         Update.
80422 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80424         [BZ #2550]
80425         [BZ #2570]
80426         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
80427         comparisons to determine direction to adjust input.
80428         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
80429         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
80430         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
80431         Likewise.
80432         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
80433         Likewise.
80434         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
80435         Likewise.
80436         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
80437         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
80438         Likewise.
80439         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
80440         Likewise.
80441         * math/libm-test.inc (nexttoward_test): Add more tests.
80443 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80445         [BZ #14040]
80446         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
80447         in version GLIBC_2.1, not GLIBC_2.0.
80448         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
80449         Likewise.
80451 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
80453         [BZ #13942]
80454         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
80455         (1 - x) * (1 + x).
80456         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80457         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
80458         * math/libm-test.inc (acos_test): Add more tests.
80459         (asin_test): Likewise.
80460         * sysdeps/i386/fpu/libm-test-ulps: Update.
80461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80463         [BZ #14034]
80464         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
80465         of square root.
80466         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
80467         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80468         * math/libm-test.inc (acos_test_tonearest): New function.
80469         (acos_test_towardzero): Likewise.
80470         (acos_test_downward): Likewise.
80471         (acos_test_upward): Likewise.
80472         (asin_test_tonearest): Likewise.
80473         (asin_test_towardzero): Likewise.
80474         (asin_test_downward): Likewise.
80475         (asin_test_upward): Likewise.
80476         (main): Call the new functions.
80477         * sysdeps/i386/fpu/libm-test-ulps: Update.
80478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80480         [BZ #13884]
80481         [BZ #13924]
80482         * math/e_exp10.c: Include <float.h>.
80483         (__ieee754_exp10): Handle underflow here rather than multiplying
80484         large negative argument by M_LN10.
80485         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
80486         of __ieee754_expf.
80487         * math/e_exp10l.c: Include <float.h>.
80488         (__ieee754_exp10l): Handle underflow here rather than multiplying
80489         large negative argument by M_LN10l.
80490         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
80491         spurious overflow exception on underflow.
80493 2012-04-29  Marek Polacek  <polacek@redhat.com>
80495         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
80496         (__fortify_function): New macro.
80497         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
80498         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
80499         __extern_always_inline.
80500         * libio/bits/stdio2.h: Likewise.
80501         * libio/bits/stdio.h: Likewise.
80502         * string/string.h: Likewise.
80503         * string/bits/string3.h: Likewise.
80504         * include/stdio.h: Likewise.
80505         * stdlib/bits/stdlib.h: Likewise.
80506         * stdlib/stdlib.h: Likewise.
80507         * rt/bits/mqueue2.h: Likewise.
80508         * rt/mqueue.h: Likewise.
80509         * posix/bits/unistd.h: Likewise.
80510         * posix/unistd.h: Likewise.
80511         * io/bits/poll2.h: Likewise.
80512         * io/bits/fcntl2.h: Likewise.
80513         * io/fcntl.h: Likewise.
80514         * io/sys/poll.h: Likewise.
80515         * misc/bits/syslog.h: Likewise.
80516         * misc/bits/syslog-ldbl.h: Likewise.
80517         * misc/sys/syslog.h: Likewise.
80518         * socket/bits/socket2.h: Likewise.
80519         * socket/sys/socket.h: Likewise.
80520         * debug/tst-chk1.c: Likewise.
80521         * wcsmbs/bits/wchar2.h: Likewise.
80522         * wcsmbs/bits/wchar-ldbl.h: Likewise.
80523         * wcsmbs/wchar.h: Likewise.
80525 2012-04-29  Andreas Jaeger  <aj@suse.de>
80527         * Makerules (tests): Remove enable-check-abi protection.
80528         (check-abi-warn): Remove.
80529         (check-abi-%): Remove check-abi-warn usage.
80531         * configure.in: Remove check-abi configure option.
80532         * configure: Regenerated.
80533         * config.make.in (enable-check-abi): Remove.
80535 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
80537         [BZ #14033]
80538         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
80539         double functions to double *_finite functions.
80541         [BZ #13941]
80542         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
80543         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
80544         LDBL_MIN_EXP.
80545         * stdio-common/Makefile (tests): Add tst-sprintf3.
80546         * stdio-common/tst-sprintf3.c: New file.
80548         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
80549         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
80551 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80553         * conform/conformtest.pl: Remove duplicate typed-constant
80554         handling.
80556 2012-04-28  David S. Miller  <davem@davemloft.net>
80558         * Makerules (%.abilist): Add vpath on sysdep_dirs.
80559         (check-abi-%): Remove AWK script prerequisite and explicit
80560         abilist directory.
80561         (check-abi): Rewrite to just diff the symlist with the abilist.
80562         (config-tls, config-abi-config): Delete, no longer used.
80563         (update-abi-%): Remove AWK script and explicit abilist directory.
80564         (update-abi): Rewrite to simply compare and conditionally copy the
80565         symlist and the sysdep abilist file.  Remove update-abi-config
80566         checks.
80567         * abilist/ld.abilist: Remove.
80568         * abilist/libBrokenLocale.abilist: Remove.
80569         * abilist/libanl.abilist: Remove.
80570         * abilist/libcrypt.abilist: Remove.
80571         * abilist/libdl.abilist: Remove.
80572         * abilist/librt.abilist: Remove.
80573         * abilist/libthread_db.abilist: Remove.
80574         * abilist/libutil.abilist: Remove.
80575         * scripts/extract-abilist.awk: Remove.
80576         * scripts/merge-abilist.awk: Remove.
80577         * sysdeps/generic/libcidn.abilist: New file.
80578         * sysdeps/generic/libnss_compat.abilist: New file.
80579         * sysdeps/generic/libnss_db.abilist: New file.
80580         * sysdeps/generic/libnss_dns.abilist: New file.
80581         * sysdeps/generic/libnss_files.abilist: New file.
80582         * sysdeps/generic/libnss_hesiod.abilist: New file.
80583         * sysdeps/generic/libnss_nis.abilist: New file.
80584         * sysdeps/generic/libnss_nisplus.abilist: New file.
80585         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
80586         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
80587         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
80588         file.
80589         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
80590         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
80591         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
80592         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
80593         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
80594         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
80595         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
80596         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
80597         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
80598         file.
80599         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
80600         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
80601         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
80602         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
80603         file.
80604         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80605         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
80606         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
80607         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
80608         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
80609         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
80610         file.
80611         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
80612         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
80613         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
80614         file.
80615         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
80616         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
80617         New file.
80618         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
80619         New file.
80620         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
80621         New file.
80622         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80623         New file.
80624         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80625         New file.
80626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80627         New file.
80628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80629         New file.
80630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80631         New file.
80632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80633         New file.
80634         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80635         New file.
80636         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80637         New file.
80638         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80639         New file.
80640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80641         New file.
80642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80643         file.
80644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80645         New file.
80646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80647         New file.
80648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80649         file.
80650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80651         New file.
80652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80653         New file.
80654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80655         file.
80656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80657         New file.
80658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80659         New file.
80660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80661         New file.
80662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80663         New file.
80664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80665         New file.
80666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80667         New file.
80668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80670         file.
80671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80672         New file.
80673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80674         file.
80675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80676         file.
80677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80678         file.
80679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80680         file.
80681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
80682         file.
80683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80684         New file.
80685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
80686         file.
80687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
80688         file.
80689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
80690         New file.
80691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
80692         file.
80693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
80694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
80695         file.
80696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
80697         New file.
80698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
80699         file.
80700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
80701         file.
80702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
80703         file.
80704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
80705         file.
80706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
80707         file.
80708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80709         New file.
80710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
80711         file.
80712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
80713         file.
80714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
80715         New file.
80716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
80717         file.
80718         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80719         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
80720         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
80721         file.
80722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
80723         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
80724         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
80725         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
80726         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
80727         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
80728         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
80729         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
80730         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
80731         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
80732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
80733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
80734         file.
80735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80736         New file.
80737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
80738         file.
80739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
80740         file.
80741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
80742         file.
80743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
80744         file.
80745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
80746         file.
80747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
80748         New file.
80749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
80750         New file.
80751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
80752         file.
80753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
80754         New file.
80755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
80756         file.
80757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
80758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
80759         file.
80760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
80761         New file.
80762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
80763         file.
80764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
80765         file.
80766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
80767         file.
80768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
80769         file.
80770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
80771         file.
80772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
80773         New file.
80774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
80775         New file.
80776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
80777         file.
80778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
80779         New file.
80780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
80781         file.
80783 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80785         * conform/conformtest.pl: Fix typo in handling typed-constant from
80786         allow-header.
80788 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80790         * README: Cut down references to pre-2.6 Linux kernels and
80791         Linuxthreads.  Update lists of configurations in libc and ports
80792         and sort alphabetically.  Say "or newer" with Linux kernel version
80793         requirements.
80795         * config.h.in [IS_IN_build]: Allow compiling without optimization.
80797 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
80799         [BZ #887]
80800         * math/libm-test.inc (logb_test_downward): New test to expose
80801         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
80802         rounding mode.
80804 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80806         [BZ #14027]
80807         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
80808         to be done.
80809         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
80810         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
80812 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
80814         * sysdeps/unix/i386/brk.S: Remove file.
80815         * sysdeps/unix/i386/dl-brk.S: Likewise.
80816         * sysdeps/unix/i386/pipe.S: Likewise.
80817         * sysdeps/unix/i386/sigreturn.S: Likewise.
80818         * sysdeps/unix/i386/syscall.S: Likewise.
80819         * sysdeps/unix/i386/vfork.S: Likewise.
80820         * sysdeps/unix/i386/wait.S: Likewise.
80822         * sysdeps/unix/common/tcsendbrk.c: Move to ...
80823         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
80825         * configure.in (arm*-none*): Do not allow without
80826         --enable-hacker-mode.
80827         (netbsd*): Remove case setting base_os.
80828         (386bsd*): Likewise.
80829         (freebsd*): Likewise.
80830         (bsdi*): Likewise.
80831         (osf*): Likewise.
80832         (sunos*): Likewise.
80833         (ultrix*): Likewise.
80834         (newsos*): Likewise.
80835         (dynix*): Likewise.
80836         (*bsd*): Likewise.
80837         (sysv*): Likewise.
80838         (isc*): Likewise.
80839         (esix*): Likewise.
80840         (sco*): Likewise.
80841         (minix*): Likewise.
80842         (irix4*): Likewise.
80843         (irix6*): Likewise.
80844         (solaris[2-9]*): Likewise.
80845         (none): Likewise.
80846         * configure: Regenerated.
80848 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80850         [BZ #11521]
80851         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
80852         overflow or cancellation in calculating denominator.
80853         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
80854         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
80855         down expression to avoid unexpected rounding in newer GCCs.
80856         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
80858 2012-04-26  David S. Miller  <davem@davemloft.net>
80860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
80861         long-double compat symbols.
80862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
80866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
80868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
80869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
80870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
80871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
80872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
80873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
80874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80876 2012-04-25  David S. Miller  <davem@davemloft.net>
80878         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
80879         HWCAP_* values only after the memory barriers have been defined.
80880         (atomic_full_barrier): Define.
80881         (atomic_read_barrier): Define.
80882         (atomic_write_barrier): Define.
80884 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80886         * shlib-versions: Add libgcc_s version information.
80887         * sysdeps/generic/libgcc_s.h: Remove.
80888         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
80889         libgcc_s.h.
80890         * sysdeps/gnu/unwind-resume.c: Likewise.
80891         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
80893 2012-04-25  David S. Miller  <davem@davemloft.net>
80895         * sysdeps/unix/sparc/brk.S: Delete.
80896         * sysdeps/unix/sparc/dl-brk.S: Delete.
80897         * sysdeps/unix/sparc/pipe.S: Delete.
80898         * sysdeps/unix/sparc/sysdep.S: Delete.
80899         * sysdeps/unix/sparc/sysdep.h: Delete.
80900         * sysdeps/unix/sparc/vfork.S: Delete.
80901         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
80902         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
80903         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
80904         (ret_ERRVAL, r0, r1, MOVE): Define.
80905         (JUMPTARGET): Remove.
80906         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
80907         sysdeps/unix/sparc/sysdep.h
80908         (ENTRY, END): Remove.
80909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80911 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
80913         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
80914         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
80915         -DIS_IN_build.
80917         * timezone/README: Update upstream location and email address for
80918         tzcode and tzdata.
80919         * timezone/zdump.c: Update from tzcode 2012b.
80920         * timezone/zic.c: Likewise.
80922         * configure.in (libc_cv_as_needed): Remove test.
80923         * configure: Regenerated.
80924         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
80925         conditional definition.
80926         [$(have-as-needed) != yes] (no-as-needed): Likewise.
80927         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
80928         * config.make.in (have-as-needed): Remove variable.
80930 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
80931             Paul Pluzhnikov  <ppluzhnikov@google.com>
80933         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
80934         strings correctly.
80936 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
80938         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
80939         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
80940         * sysdeps/sh/strlen.S: Likewise.
80942 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80944         * sysdeps/unix/fork.S: Remove file.
80945         * sysdeps/unix/i386/fork.S: Likewise.
80946         * sysdeps/unix/sparc/fork.S: Likewise.
80948         * sysdeps/unix/system.c: Remove file.
80949         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
80951         * sysdeps/unix/getegid.S: Remove file.
80952         * sysdeps/unix/geteuid.S: Likewise.
80954 2012-04-24  Roland McGrath  <roland@hack.frob.com>
80956         * scripts/check-localplt.awk: New file.
80957         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
80958         of diff.
80959         * scripts/data/localplt-generic.data: Add a comment.
80961         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
80962         NODE when __dir_mkfile failed.
80963         * sysdeps/mach/hurd/symlinkat.c: Likewise.
80964         Reported by Ludovic Courtès <ludo@gnu.org>.
80966 2012-04-24  Andreas Jaeger  <aj@suse.de>
80968         * Makerules (common-clean): Also remove gen-as-const-headers
80969         files.
80971 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80973         * Makerules (native-compile): Do not change working directory for
80974         build.  Use $(OUTPUT_OPTION) in command.
80975         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
80977 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80979         [BZ #13886]
80980         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
80981         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
80982         * math/libm-test.inc (floor_test): Add more tests.
80983         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
80985 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80987         * sysdeps/unix/getdents.c: Remove file.
80988         * sysdeps/unix/sysv/getdents.c: Likewise.
80989         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
80991         * sysdeps/unix/syscalls.list (madvise): Add syscall from
80992         sysdeps/unix/mman/syscalls.list.
80993         (mmap): Likewise.
80994         (mprotect): Likewise.
80995         (msync): Likewise.
80996         (munmap): Likewise.
80997         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
80998         * sysdeps/unix/mman/syscalls.list: Remove.
80999         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81001         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81002         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81003         * configure: Regenerated.
81004         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81005         $(libgcc_s_suffix).
81006         * config.make.in (libgcc_s_suffix): Remove variable.
81008 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
81010         * sysdeps/unix/sysv/gethostname.c: Move to ...
81011         * sysdeps/posix/gethostname.c: ... here.
81013         * sysdeps/unix/execve.S: Remove file.
81015         * sysdeps/unix/_exit.S: Remove file.
81017 2012-04-23  Andreas Jaeger  <aj@suse.de>
81019         [BZ #13739]
81020         * manual/Makefile: Remove make dist support, there's no
81021         need for a stand-alone documentation tar ball.
81022         (TEXI2DVI): Define always, it's not in Makeconfig.
81023         (dist): Removed.
81024         (tar-it): Removed.
81025         (edition): Removed.
81026         (glibc-doc-$(edition).tar): Removed
81027         (%.Z): Removed.
81028         (%.gz): Removed.
81029         (%.uu): Removed.
81030         (ETAGS): Remove, it's in Makeconfig.
81031         (move-if-change): Remove, it's in Makeconfig.
81033 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81035         [BZ #13970]
81036         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81037         (strtod, strtof, strtold, strtol, strtoul, strtoq)
81038         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81039         (strtod_l, strtof_l, strtold_l): Remove __wur.
81040         It is not necessarily an error to ignore strtol's return value.
81041         One can reliably look at the stored endptr to decide whether
81042         the number had valid syntax.
81044 2012-04-21  Andreas Jaeger  <aj@suse.de>
81046         [BZ #13739]
81047         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81049 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
81051         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81052         * sysdeps/unix/sysv/Versions: Remove file.
81054 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
81056         [BZ #13927]
81057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81059 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
81061         [BZ #7064]
81062         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81063         version from __vm86.
81065 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81067         * sysdeps/unix/common/lxstat.c: Remove file.
81068         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81070         * sysdeps/unix/sysv/Makefile: Remove file.
81072         * sysdeps/unix/sysv/direct.h: Remove file.
81074         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81075         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81076         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81077         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81078         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81079         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81080         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81082         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81084         * sysdeps/unix/xmknod.c: Remove file.
81085         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81087         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81089         * sysdeps/unix/sysv/i386/time.S: Remove file.
81091         * sysdeps/unix/fxstat.c: Remove file.
81092         * sysdeps/unix/xstat.c: Likewise.
81093         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81095         * sysdeps/unix/sysv/sigaction.c: Remove file.
81097         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81098         (sysdep_headers): Remove variable.
81099         [termio.h not in sysdep_headers] (generated): Likewise.
81100         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81101         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81102         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81103         * sysdeps/unix/sysv/tcflow.c: Likewise.
81104         * sysdeps/unix/sysv/tcflush.c: Likewise.
81105         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81106         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81107         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81108         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81109         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81111         * sysdeps/unix/siglist.c: Remove file.
81113         * sysdeps/unix/getppid.S: Remove file.
81115         * sysdeps/unix/mkdir.c: Remove file.
81116         * sysdeps/unix/rmdir.c: Likewise.
81118 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81120         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81121         ERR_MAX value.
81122         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81123         errlist-compat value.
81125 2012-04-18  David S. Miller  <davem@davemloft.net>
81127         * sysdeps/generic/memcopy.h (reg_char): Delete.
81128         * debug/strcat_chk.c: Use char, not reg_char.
81129         * debug/strcpy_chk.c: Likewise.
81130         * debug/strncat_chk.c: Likewise.
81131         * debug/strncpy_chk.c: Likewise.
81132         * string/memchr.c: Likewise.
81133         * string/memrchr.c: Likewise.
81134         * string/rawmemchr.c: Likewise.
81135         * string/strcat.c: Likewise.
81136         * string/strchr.c: Likewise.
81137         * string/strchrnul.c: Likewise.
81138         * string/strcmp.c: Likewise.
81139         * string/strcpy.c: Likewise.
81140         * string/strncat.c: Likewise.
81141         * string/strncmp.c: Likewise.
81142         * string/strncpy.c: Likewise.
81144 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81146         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81147         __builtin_memcopy is called when src and dest ranges are known to not
81148         overlap.
81150 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81152         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81153         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81154         fwd_align_merge macro call.
81155         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81156         bwd_align_merge macro call.
81157         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81159 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81161         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81162         bwd_align_merge macros.
81163         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81164         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81165         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81167 2012-04-18  David S. Miller  <davem@davemloft.net>
81169         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81171 2012-04-18  Andreas Jaeger  <aj@suse.de>
81173         [BZ #6794]
81174         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81175         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81176         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81178         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81179         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81180         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81182         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81183         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81184         Adjust for changed ldbl-128 files.
81186         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81187         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81188         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81190 2012-04-17  David S. Miller  <davem@davemloft.net>
81192         * sysdeps/sparc/sparc32/memcopy.h: Delete.
81194 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
81196         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81197         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81198         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81199         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81200         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81201         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81203 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81205         [BZ #6794]
81206         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81207         * math/libm-test.inc: Add ilogb errno and exception tests.
81208         * math/w_ilogb.c: New file: ilogb wrapper.
81209         * math/w_ilogbf.c: New file: ilogbf wrapper.
81210         * math/w_ilogbl.c: New file: ilogbl wrapper.
81211         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81212         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81213         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81214         exception being thrown with 0.0 as argument.
81215         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81216         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81217         exception being thrown with 0.0 as argument.
81218         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81219         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81220         exception being thrown with 0.0 as argument.
81221         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81222         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81223         exception being thrown with 0.0 as argument.
81224         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81225         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81226         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81227         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81228         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81229         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81230         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81231         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81232         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81234 2012-04-17  Petr Baudis  <pasky@ucw.cz>
81236         * include/sys/uio.h: Change __vector to __iovec to avoid clash
81237         with altivec.
81239 2012-04-16  Marek Polacek  <polacek@redhat.com>
81241         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81243 2012-04-16  Marek Polacek  <polacek@redhat.com>
81245         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81246         operands of fdivp instruction.
81248 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81250         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81251         * elf/tst-auditmod3b.c: Likewise.
81252         * elf/tst-auditmod4b.c: Likewise.
81253         * elf/tst-auditmod5b.c: Likewise.
81254         * elf/tst-auditmod6b.c: Likewise.
81255         * elf/tst-auditmod6c.c: Likewise.
81256         * elf/tst-auditmod7b.c: Likewise.
81257         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81258         * sysdeps/x86_64/preconfigure.in: Likewise.
81259         * sysdeps/x86_64/preconfigure: Regenerated.
81261 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81263         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81264         __ILP32__.
81266 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
81268         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81269         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81271 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
81273         [BZ #13973]
81274         * locale/iso-639.def: Fix gl language name. Spotted by
81275         Yaron Shahrabani.
81277 2012-04-12  Roland McGrath  <roland@hack.frob.com>
81279         [BZ #2074]
81280         * libio/libio.h (__io_write_fn): Update comment.
81282 2012-04-12  Petr Baudis  <pasky@ucw.cz>
81284         [BZ #2074]
81285         * stdio.texi (Hook Functions): The user provided writer function
81286         is not allowed to return -1.
81288 2012-04-11  David S. Miller  <davem@davemloft.net>
81290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81292 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
81294         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
81295         Add a leading slash to rtkaio.
81297 2012-04-11  Jim Meyering  <meyering@redhat.com>
81299         [BZ #11959]
81300         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
81301         It is not necessarily an error to ignore fwrite's return
81302         value.  One can reliably use ferror to test for errors after
81303         the fact.
81305 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81307         * bits/types.h (__snseconds_t): New type.
81308         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
81310         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
81311         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81312         (__SNSECONDS_T_TYPE): Likewise.
81313         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81314         (__SNSECONDS_T_TYPE): Likewise.
81315         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81316         (__SNSECONDS_T_TYPE): Likewise.
81318 2012-04-10  Andreas Jaeger  <aj@suse.de>
81320         [BZ #2636]
81321         * manual/time.texi (Processor Time): Return type of times is
81322         elapsed real time since an arbitrary point in the past.
81323         (CPU Time): Move CLK_TCK from here...
81324         (Processor Time): ...to here.  Correct description.
81325         * manual/conf.texi (Constants for Sysconf): Correct description of
81326         _SC_CLK_TCK.
81328 2012-04-10  David S. Miller  <davem@davemloft.net>
81330         [BZ #13967]
81331         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
81332         where the is a gap between DT_REL(A) and DT_JMPREL.
81334 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81336         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
81337         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81338         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81340 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
81342         * elf/dl-support.c (_dl_inhibit_cache): New variable.
81343         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
81344         (dl_main): Handle --inhibit-cache.
81345         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
81346         _dl_inhibit_cache.
81347         * elf/dl-load.c (_dl_map_object): Use it.
81348         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
81350 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81352         [BZ #13872]
81353         * sysdeps/i386/fpu/e_powl.S (p78): New object.
81354         (__ieee754_powl): Saturate large exponents rather than testing for
81355         overflow of y*log2(x).
81356         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81357         * math/libm-test.inc (pow_test): Do not permit spurious overflow
81358         exceptions.
81360         [BZ #11521]
81361         * math/s_ctan.c: Include <float.h>.
81362         (__ctan): Avoid internal overflow or cancellation in calculating
81363         denominator.
81364         * math/s_ctanf.c: Likewise.
81365         * math/s_ctanl.c: Likewise.
81366         * math/s_ctanh.c: Likewise.
81367         * math/s_ctanhf.c: Likewise.
81368         * math/s_ctanhl.c: Likewise.
81369         * math/libm-test.inc (ctan_test): Add more tests.
81370         (ctanh_test): Likewise.
81371         * sysdeps/i386/fpu/libm-test-ulps: Update.
81372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81374 2012-04-09  Andreas Jaeger  <aj@suse.de>
81376         [BZ #6894]
81377         * manual/filesys.texi (Directory Entries): Mention that d_namlen
81378         is an optional BSD extension.
81380         [BZ #10254]
81381         * manual/stdio.texi (Opening Streams): Document additional fopen
81382         parameters.
81384 2012-04-09  Roland McGrath  <roland@hack.frob.com>
81386         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
81387         %eax without telling the compiler.
81389 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
81391         [BZ # 13963]
81392         * manual/install.texi: Use sourceware.org.
81394 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81396         [BZ #13873]
81397         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
81398         (__ieee754_pow): Generate overflow and underflow using huge*huge
81399         and tiny*tiny rather than just returning constant infinity or zero
81400         for large exponents.
81401         * math/libm-test.inc (pow_test): Require overflow exceptions for
81402         applicable cases of large exponents.
81404         [BZ #706]
81405         * sysdeps/i386/fpu/e_pow.S (p10): New object.
81406         (__ieee754_pow): Use iterative multiplication algorithm only for
81407         integer exponents with absolute value below 1024.  Check for odd
81408         integer exponents when using algorithm for real exponents.
81409         * math/libm-test.inc (pow_test): Add more tests.
81410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81412 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
81414         [BZ #13705]
81415         * math/libm-test.inc (exp_test): Do not allow overflow exception
81416         on underflow test.
81418 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
81420         [BZ #13705]
81421         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
81422         instead of __kernel_standard_f.
81424 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
81426         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
81427         * sysdeps/x86_64/memset_chk.S: Likewise.
81429 2012-04-08  Andreas Jaeger  <aj@suse.de>
81431         [BZ #10153]
81432         * manual/startup.texi (Environment Access): Describe return value
81433         for putenv and setenv.
81435         [BZ #6895]
81436         * manual/filesys.texi (Directory Entries): Add description for
81437         DT_LNK.
81439         [BZ #6890]
81440         * manual/filesys.texi (Directory Entries): Clarify that it's file
81441         system not operating system in the description of DT_UNKNOWN.
81443         [BZ #6578]
81444         * manual/syslog.texi (closelog): Fix reference, it's openlog.
81446 2012-04-08  Stephen Compall  <s11@member.fsf.org>
81448         [BZ #6649]
81449         * manual/llio.texi (Opening and Closing Files): Add cross
81450         reference to explain mode argument.
81452 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
81454         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
81455         * sysdeps/x86_64/memset_chk.S: Likewise.
81457 2012-04-07  David S. Miller  <davem@davemloft.net>
81459         * elf/elf.h (R_SPARC_WDISP10): Define.
81460         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
81461         R_SPARC_SIZE32.
81462         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
81463         R_SPARC_SIZE64 and R_SPARC_H34.
81465 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
81467         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
81468         conditions and remove no longer applicable assertion.
81470 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81472         * bits/byteswap.h: Include <features.h>.
81473         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81474         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81476 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81478         * bits/byteswap.h (__bswap_16): Removed.
81479         Include <bits/byteswap-16.h> to get __bswap_16.
81480         * sysdeps/i386/bits/byteswap.h: Likewise.
81481         * sysdeps/s390/bits/byteswap.h: Likewise.
81482         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81483         * bits/byteswap-16.h: New file.
81484         * sysdeps/i386/bits/byteswap-16.h: Likewise.
81485         * sysdeps/s390/bits/byteswap-16.h: Likewise.
81486         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
81487         * string/Makefile (headers): Add bits/byteswap-16.h.
81489 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81491         [BZ #13895]
81492         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
81493         extra indirection.
81494         * nss/Makefile (tests-static, tests): Add tst-nss-static.
81495         * nss/tst-nss-static.c: New.
81497 2012-04-06  Robert Millan  <rmh@gnu.org>
81499         [BZ #6486]
81500         * manual/llio.texi (File Position Primitive): lseek
81501         refers to WHENCE when it really means OFFSET.
81503 2012-04-06  Andreas Jaeger  <aj@suse.de>
81505         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
81506         strncmp declarations.
81508         * abilist/libc.abilist: Add __poll and __ppoll.
81510 2012-04-05  David S. Miller  <davem@davemloft.net>
81512         * scripts/check-local-headers.sh: Accept a host triplet in the
81513         path matched by the exclude regexp.
81515         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
81516         definition.
81517         * sysdeps/powerpc/powerpc32/dl-machine.h
81518         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
81519         * sysdeps/s390/s390-32/dl-machine.h
81520         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81521         * sysdeps/sparc/sparc32/dl-machine.h
81522         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81523         * sysdeps/sparc/sparc64/dl-machine.h
81524         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81526         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
81527         lazy binding.
81528         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
81529         undefined symbol errors.
81531         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
81532         DT_NEEDED entries.
81534 2012-04-05  Michael Matz  <matz@suse.de>
81536         [BZ #13592]
81537         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
81539 2012-04-05  Andreas Jaeger  <aj@suse.de>
81541         [BZ #13908]
81542         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
81543         comment.
81545 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81547         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
81548         which ROUND is no valid rounding mode.
81550 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81552         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
81553         read again.
81554         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
81556 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81558         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
81559         an exception using FPU order intentionally.
81561 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81563         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
81564         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
81565         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
81566         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
81568 2012-04-05  Simon Josefsson  <simon@josefsson.org>
81570         [BZ #12340]
81571         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
81572         EINVAL when BUFLEN is too smal.
81574 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
81576         [BZ #13553]
81577         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
81578         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
81580 2012-04-03  Andreas Jaeger  <aj@suse.de>
81582         [BZ #13938]
81583         * manual/setjmp.texi (System V contexts): Fix sentence.
81585         [BZ #13926]
81586         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
81587         New macro for this case.
81588         [!__GNUC__] (__bswap_64): New inline function for this case.
81589         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81590         * bits/byteswap.h: Likewise.
81591         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
81592         ull, guard with __GLIBC_HAVE_LONG_LONG.
81594         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
81595         __GLIBC_HAVE_LONG_LONG.
81597         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
81598         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
81600 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81602         [BZ #13691]
81603         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81604         inptr and inend, rather than using last_ch.
81606 2012-04-02  David S. Miller  <davem@davemloft.net>
81608         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
81609         * stdio-common/printf-parse.h (read_int): Change return type to
81610         'int', return -1 on INT_MAX overflow.
81611         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
81612         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
81613         overflows INT_MAX.  Check for overflow of in-format-string precision
81614         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
81615         SIZE_MAX not INT_MAX for integer overflow test.
81616         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
81617         skip the construct in the format string but do not record anything.
81618         * stdio-common/bug22.c: Adjust to test both width/prevision
81619         INT_MAX overflow as well as total length INT_MAX overflow.  Check
81620         explicitly for proper errno values.
81622 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
81624         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81625         CHAR_MAX.
81626         * string/test-strcmp.c [! WIDE]: Likewise.
81627         * time/tst-mktime2.c: Likewise for INT_MAX.
81628         * string/test-string.h: #include <sys/param.h> for MIN.
81630         * csu/init-first.c (__libc_init_first): Call __ctype_init.
81631         * sysdeps/i386/init-first.c (init): Likewise.
81632         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81633         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81634         * sysdeps/sh/init-first.c (init): Likewise.
81636 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81638         * po/ru.po: Update from translation team.
81639         * po/vi.po: Likewise.
81641 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81643         * resolv/nss_dns/dns-host.c: Merge copyright years.
81645 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81647         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81648         Optimize memcpy with prefetch if
81649         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81650         src, dst pointers have unequal 16 byte alignments.
81652 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81654         [BZ #13928]
81655         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81656         from a CNAME entry and return the minimum ttl for the query.
81657         (gaih_getanswer_slice): Likewise.
81659 2012-03-30  Jeff Law  <law@redhat.com>
81661         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81662         due to long keys.
81663         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81664         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81666         * resolv/nss_dns/dns-host.c: Update copyright year.
81668 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81670         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81671         requests to save a system call.  Fix check that all bytes are sent.
81673         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81674         comments for sendmmsg.
81676 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81678         [BZ #13691]
81679         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81680         with only 1 character between 0x0041 and 0x01b0.
81681         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
81682         * wcsmbs/tst-mbsnrtowcs.c: New file.
81684 2012-03-29  David S. Miller  <davem@davemloft.net>
81686         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
81687         small copies by hand.
81689 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
81691         [BZ #13761]
81692         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
81693         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
81694         group memberships.
81696 2012-03-28  David S. Miller  <davem@davemloft.net>
81698         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
81699         that branches into memcpy.
81700         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
81701         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
81702         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
81703         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
81704         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
81705         bits.
81706         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
81707         implementation too.
81708         * sysdeps/sparc/mempcpy.S: New file.
81710         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
81711         the IFUNC routine in the libc case.
81712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81714         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
81715         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
81716         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81717         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
81718         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
81719         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
81720         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81721         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
81723         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
81724         loop to 256 bytes instead of 64 bytes and fix test signedness.
81726         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
81727         * sysdeps/sparc/sparc32/Makefile: rather than here...
81728         * sysdeps/sparc/sparc64/Makefile: and here.
81730 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
81732         * malloc/mallocbug.c: Avoid warnings about unused variables.
81734 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
81736         [BZ #13760]
81737         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
81738         in the right place. Discard and retry query if response is
81739         larger than input buffer size.
81741 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
81743         [BZ #369]
81744         [BZ #2678]
81745         [BZ #3866]
81746         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
81747         x for large integer exponent.
81748         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
81749         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
81750         sign of result as needed afterwards.
81751         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
81752         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
81753         result for underflowing pow the same as for overflow.
81754         (__kernel_standard_l): Handle powl overflow and underflow here
81755         rather than calling __kernel_standard.
81756         * math/libm-test.inc (pow_test): Add more tests.
81758         [BZ #3868]
81759         [BZ #13879]
81760         [BZ #13910]
81761         [BZ #13911]
81762         [BZ #13912]
81763         [BZ #13913]
81764         [BZ #13915]
81765         [BZ #13916]
81766         [BZ #13917]
81767         [BZ #13918]
81768         [BZ #13919]
81769         [BZ #13920]
81770         [BZ #13921]
81771         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
81772         * sysdeps/ieee754/k_standard.c: Include <float.h>.
81773         (__kernel_standard_l): New function.
81774         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
81775         __kernel_standard.
81776         * math/w_acosl.c (__acosl): Likewise.
81777         * math/w_asinl.c (__asinl): Likewise.
81778         * math/w_atan2l.c (__atan2l): Likewise.
81779         * math/w_atanhl.c (__atanhl): Likewise.
81780         * math/w_coshl.c (__coshl): Likewise.
81781         * math/w_exp10l.c (__exp10l): Likewise.
81782         * math/w_exp2l.c (__exp2l): Likewise.
81783         * math/w_fmodl.c (__fmodl): Likewise.
81784         * math/w_hypotl.c (__hypotl): Likewise.
81785         * math/w_j0l.c (__j0l, __y0l): Likewise.
81786         * math/w_j1l.c (__j1l, __y1l): Likewise.
81787         * math/w_jnl.c (__jnl, __ynl): Likewise.
81788         * math/w_lgammal.c (__lgammal): Likewise.
81789         * math/w_log10l.c (__log10l): Likewise.
81790         * math/w_log2l.c (__log2l): Likewise.
81791         * math/w_logl.c (__logl): Likewise.
81792         * math/w_powl.c (__powl): Likewise.
81793         * math/w_remainderl.c (__remainderl): Likewise.
81794         * math/w_scalbl.c (sysv_scalbl): Likewise.
81795         * math/w_sinhl.c (__sinhl): Likewise.
81796         * math/w_sqrtl.c (__sqrtl): Likewise.
81797         * math/w_tgammal.c (__tgammal): Likewise.
81798         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
81799         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
81800         * math/libm-test.inc (acos_test): Add more tests.
81801         (acosh_test): Likewise.
81802         (asin_test): Likewise.
81803         (atanh_test): Likewise.
81804         (exp_test): Likewise.
81805         (exp10_test): Likewise.
81806         (exp2_test): Likewise.
81807         (expm1_test): Likewise.
81808         (lgamma_test): Likewise.
81809         (log_test): Likewise.
81810         (log10_test): Likewise.
81811         (log1p_test): Likewise.
81812         (log2_test): Likewise.
81813         (pow_test): Do not allow some spurious overflow exceptions.
81814         (sqrt_test): Add more tests.
81815         (tgamma_test): Likewise.
81816         (y0_test): Likewise.
81817         (y1_test): Likewise.
81818         (yn_test): Likewise.
81820 2012-03-27  Anton Blanchard  <anton@samba.org>
81822         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
81823         MAP_HUGETLB.
81824         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81825         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81826         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81828 2012-03-27  David S. Miller  <davem@davemloft.net>
81830         * conform/Makefile: Run run-conformtest.sh using $(BASH).
81832         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
81833         have-as-vis3 check.
81835 2012-03-27  Andreas Jaeger  <aj@suse.de>
81837         * sysdeps/x86_64/elf/configure.in: Moved to ...
81838         * sysdeps/x86_64/configure.in: ... here.
81839         * sysdeps/x86_64/elf/start.S: Moved to ...
81840         * sysdeps/x86_64/start.S: ... here.
81841         * sysdeps/x86_64/elf/configure: Delete.
81843         * sysdeps/x86_64/configure.in: Merge contents from
81844         sysdeps/i386/configure.in (without i686 check).
81846         * sysdeps/i386/elf/Versions: Merge into ...
81847         * sysdeps/i386/Versions: ... this.
81848         * sysdeps/i386/elf/Versions: Delete file.
81849         * sysdeps/i386/elf/start.S: Moved to ...
81850         * sysdeps/i386/start.S: ...here.
81851         * sysdeps/i386/elf/configure.in: Merge into...
81852         * sysdeps/i386/configure.in: ...here.
81853         * sysdeps/i386/elf/configure.in: Delete file.
81854         * sysdeps/i386/elf/configure: Delete file.
81856         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
81857         * debug/backtracesyms.c: ... here.
81858         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
81859         * debug/backtracesymsfd.c: ... here.
81860         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
81861         * sysdeps/generic/ifunc-sel.h: ... here.
81863         * sysdeps/unix/i386/start.c: Delete file.
81864         * sysdeps/unix/sparc/start.c: Delete file.
81865         * sysdeps/unix/start.c: Delete file.
81867         * sysdeps/sh/elf/configure.in: Moved to ...
81868         * sysdeps/sh/configure.in: ... here.
81869         * sysdeps/sh/elf/start.S: Moved to ...
81870         * sysdeps/sh/start.S: ... here.
81871         * sysdeps/sh/elf/configure: Delete file.
81873         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
81874         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
81875         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
81876         * sysdeps/powerpc/powerpc64/entry.h: ... here.
81877         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
81878         * sysdeps/powerpc/powerpc64/start.S: here.
81879         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
81880         * sysdeps/powerpc/powerpc64/Makefile: ... this.
81881         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
81882         * sysdeps/powerpc/powerpc64/configure.in: ... this.
81883         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
81885         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
81886         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
81887         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
81888         * sysdeps/powerpc/powerpc32/start.S: ... here.
81889         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
81890         * sysdeps/powerpc/powerpc32/configure.in: ... this.
81891         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
81893         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
81894         * sysdeps/powerpc/ifunc-sel.h: ... here.
81895         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
81896         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
81898         * sysdeps/sparc/elf/configure.in: Moved to ...
81899         * sysdeps/sparc/configure.in: ... here.
81900         * sysdeps/sparc/elf/configure: Delete file.
81901         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
81902         * sysdeps/sparc/sparc32/start.S: ... here.
81903         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
81904         * sysdeps/sparc/sparc64/start.S: ... here.
81905         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
81906         * sysdeps/sparc/sparc32/Makefile: ... this.
81907         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
81908         * sysdeps/sparc/sparc64/Makefile: ... this.
81910         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
81911         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
81912         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
81913         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
81914         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
81915         * sysdeps/s390/s390-32/setjmp.S: ... here.
81916         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
81917         * sysdeps/s390/s390-32/configure.in: ... here.
81918         * sysdeps/s390/s390-32/elf/configure: Delete file.
81919         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
81920         * sysdeps/s390/s390-32/start.S: ... here.
81922         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
81923         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
81924         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
81925         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
81926         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
81927         * sysdeps/s390/s390-64/setjmp.S: ... here.
81928         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
81929         * sysdeps/s390/s390-64/configure.in: ... here
81930         * sysdeps/s390/s390-64/elf/configure: Delete file.
81931         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
81932         * sysdeps/s390/s390-64/start.S: ... here.
81933         * sysdeps/s390/s390-64/elf/configure: Delete.
81935         * configure.in: Remove support for elf directories in sysdeps.
81937         * configure: Regenerated.
81938         * sysdeps/i386/configure: Regenerated.
81939         * sysdeps/powerpc/powerpc32/configure: Regenerated.
81940         * sysdeps/powerpc/powerpc64/configure: Regenerated.
81941         * sysdeps/s390/s390-32/configure: Regenerated.
81942         * sysdeps/s390/s390-64/configure: Regenerated.
81943         * sysdeps/sh/configure: Regenerated.
81944         * sysdeps/sparc/configure: Regenerated.
81945         * sysdeps/x86_64/configure: Regenerated.
81947 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
81949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81951         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
81952         denormal result into account.
81954 2012-03-25  Roland McGrath  <roland@hack.frob.com>
81956         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
81957         Reported by Allan McRae <allan@archlinux.org>.
81959 2012-03-23  Jeff Law  <law@redhat.com>
81961         * nss/getnssent.c (__nss_getent): Fix typo.
81963 2012-03-23  David S. Miller  <davem@davemloft.net>
81965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81967 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
81969         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
81970         to pad to uint64_t for each field.
81971         (dl_tls_index): Replace unsigned long with uint64_t.
81973 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
81974         Paul Pluzhnikov  <ppluzhnikov@google.com>
81976         [BZ #6528]
81977         * grp/Makefile (otherlibs): Don't set it.
81978         * inet/Makefile (otherlibs): Likewise.
81979         * login/Makefile (otherlibs): Likewise.
81980         * nscd/Makefile (otherlibs): Likewise.
81981         * posix/Makefile (otherlibs): Likewise.
81982         * pwd/Makefile (otherlibs): Likewise.
81983         * rt/Makefile (otherlibs): Likewise.
81984         * sunrpc/Makefile (otherlibs): Likewise.
81985         * nss/Makefile (otherlibs): Likewise.
81986         Add libnss_files to routines and static-only-routines.
81987         ($(objpfx)getent): Remove rule.
81988         * resolv/Makefile: Add libnss_dns and libresolv to routines and
81989         static-only-routines.
81991 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81993         [BZ #13892]
81994         * math/s_cexp.c: Include <float.h>.
81995         (__cexp): Handle exp result overflowing not necessarily
81996         overflowing both real and imaginary parts of result.
81997         * math/s_cexpf.c: Likewise.
81998         * math/s_cexpl.c: Likewise.
81999         * math/libm-test.inc (cexp_test): Add more tests.
82000         * sysdeps/i386/fpu/libm-test-ulps: Update.
82001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82003 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82005         * include/link.h (ELFW): New macro.
82006         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82007         Replace ELF64_R_TYPE with ELFW(R_TYPE).
82009 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82011         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82012         with uint64_t.
82014 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82016         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82017         declaration.
82018         (struct La_x32_retval): Likewise.
82020 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82022         * sysdeps/x86_64/preconfigure.in: New file.
82023         * sysdeps/x86_64/preconfigure: New generated file.
82025 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82027         [BZ #13824]
82028         * math/e_exp2l.c: Include <float.h>.
82029         (__ieee754_exp2l): Handle overflow and underflow cases
82030         separately.  Only pass fractional part of argument to
82031         __ieee754_expl.
82032         * math/libm-test.inc (exp2_test): Add more tests.
82034         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82035         negating x to take absolute value.
82036         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82037         Likewise.
82038         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82039         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82040         Likewise.
82041         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82042         computing low part if x was negated.
82043         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82045 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82047         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82048         la_x32_gnu_pltexit.
82049         (pltexit): Cast int_retval to ptrdiff_t.
82050         * elf/tst-auditmod3b.c: Likewise.
82051         * elf/tst-auditmod4b.c: Likewise.
82052         * elf/tst-auditmod5b.c: Likewise.
82053         * elf/tst-auditmod6b.c: Likewise.
82054         * elf/tst-auditmod6c.c: Likewise.
82055         * elf/tst-auditmod7b.c: Likewise.
82057         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82058         and x32_gnu_pltexit.
82060         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82061         __ELF_NATIVE_CLASS.
82062         (La_x32_regs): New macro.
82063         (La_x32_retval): Likewise.
82064         (la_x32_gnu_pltenter): New function prototype.
82065         (la_x32_gnu_pltexit): Likewise.
82067 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82069         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82070         exponent.
82072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82074         * configure.in (libc_cv_cc_nofma): Check for option to disable
82075         generation of FMA instructions.
82076         * configure: Regenerate.
82077         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82078         * sysdeps/ieee754/dbl-64/Makefile: New file.
82079         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82080         Remove brandred-fma4.
82081         (CFLAGS-brandred-fma4.c): Remove.
82082         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82083         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82084         define.
82085         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82086         define.
82088 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82090         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82091         LLONG_MAX != LONG_MAX.
82092         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82093         (_fitoa_word): Likewise.
82094         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82095         LLONG_MAX != LONG_MAX.
82096         * stdio-common/_itowa.h: Include <_itoa.h>.
82097         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82098         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82099         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82100         only if not defined.
82101         (_ITOA_WORD_TYPE): Likewise.
82102         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82103         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82105 2012-03-21  David S. Miller  <davem@davemloft.net>
82107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82109 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82111         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82112         of x86_64 when setting libc_cv_slibdir, libdir and
82113         libc_cv_localedir.
82114         * sysdeps/unix/sysv/linux/configure: Regenerated.
82116 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82118         * manual/lang.texi (Old Varargs): Remove section.
82119         (How Variadic): Update menu.
82120         (va_start): Do not mention varargs.h.
82122 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82123             Joseph Myers  <joseph@codesourcery.com>
82125         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82126         link test.
82127         * configure: Regenerated.
82129 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82131         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82132         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82133         conformtest.pl
82135 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82137         * NOTES: Remove.
82138         * Makefile (files-for-dist): Remove NOTES.
82139         (NOTES): Remove rule.
82140         * README: Don't refer to NOTES.
82141         * manual/creature.texi: Don't include macros.texi.
82142         * manual/intro.texi (creature.texi): Remove comment referring to
82143         NOTES.
82145         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82146         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82147         * configure: Regenerated.
82148         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82149         LIBC_TRY_CC_OPTION.
82150         (libc_cv_as_i686): Likewise.
82151         (libc_cv_cc_avx): Likewise.
82152         (libc_cv_cc_sse2avx): Likewise.
82153         (libc_cv_cc_fma4): Likewise.
82154         (libc_cv_cc_novzeroupper): Likewise.
82155         * sysdeps/i386/configure: Regenerated.
82157         [BZ #13883]
82158         * sysdeps/i386/fpu/s_cexp.S: Remove.
82159         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82160         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82161         * math/libm-test.inc (cexp_test): Add more tests.
82162         * sysdeps/i386/fpu/libm-test-ulps: Update.
82163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82165 2012-03-21  Allan McRae  <allan@archlinux.org>
82167         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82169 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82171         [BZ #13871]
82172         * math/w_exp2.c: Do not include <float.h>.
82173         (o_threshold, u_threshold): Remove.
82174         (__exp2): Calculate result before checking finiteness and calling
82175         __kernel_standard.
82176         * math/w_exp2f.c: Likewise.
82177         * math/w_exp2l.c: Likewise.
82178         * math/libm-test.inc (exp2_test): Require overflow exception for
82179         1e6 input.
82181         [BZ #3866]
82182         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82183         range of signed 64-bit integers before using fistpll.  Remove
82184         checks for whether integers fit in mantissa bits.
82185         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82186         the range of signed 32-bit integers before using fistpl.  Remove
82187         checks for whether integers fit in mantissa bits.
82188         * sysdeps/i386/fpu/e_powl.S (p64): New object.
82189         (__ieee754_powl): Test for y outside the range of signed 64-bit
82190         integers before using fistpll.  Reduce 64-bit values to 63-bit
82191         ones as needed.
82192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82193         divide-by-zero is raised for zero to large negative powers.
82194         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82195         (__ieee754_powl): Test for y outside the range of signed 64-bit
82196         integers before using fistpll.  Reduce 64-bit values to 63-bit
82197         ones as needed.
82198         * math/libm-test.inc (pow_test): Add more tests.
82200 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82202         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82203         <stdio-common/_itoa.h>.
82204         * debug/segfault.c: Likewise.
82205         * elf/dl-cache.c: Likewise.
82206         * elf/dl-minimal.c: Likewise.
82207         * elf/dl-misc.c: Likewise.
82208         * elf/dl-sysdep.c: Likewise.
82209         * elf/dl-version.c: Likewise.
82210         * elf/rtld.c: Likewise.
82211         * hurd/hurdsock.c: Likewise.
82212         * hurd/lookup-retry.c: Likewise.
82213         * malloc/malloc.c: Likewise.
82214         * malloc/mtrace.c: Likewise.
82215         * nscd/nscd_getgr_r.c: Likewise.
82216         * nscd/nscd_getpw_r.c: Likewise.
82217         * nscd/nscd_getserv_r.c: Likewise.
82218         * posix/getopt_init.c: Likewise.
82219         * posix/wordexp.c: Likewise.
82220         * stdio-common/_itoa.c: Likewise.
82221         * stdio-common/printf_fphex.c: Likewise.
82222         * stdio-common/vfprintf.c: Likewise.
82223         * string/_strerror.c: Likewise.
82224         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82225         * sysdeps/i386/i686/hp-timing.h: Likewise.
82226         * sysdeps/mach/_strerror.c: Likewise.
82227         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82228         * sysdeps/mach/hurd/sethostid.c: Likewise.
82229         * sysdeps/mach/hurd/xmknodat.c: Likewise.
82230         * sysdeps/mach/xpg-strerror.c: Likewise.
82231         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82232         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82233         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82234         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82235         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82236         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82237         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82238         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82239         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82240         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82241         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82242         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82243         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82244         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82245         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82246         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82247         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82248         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82249         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82250         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82251         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82253         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82255         * stdio-common/_itoa.h: Moved to ...
82256         * sysdeps/generic/_itoa.h: Here.
82258         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82260         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82261         instead of "_itoa.h" and "_itowa.h".
82262         * stdio-common/vfprintf.: Likewise.
82264 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82266         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82267         <bits/wordsize.h>.
82268         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82269         (__signbit): Likewise.
82270         (llrintf): Likewise.
82271         (llrint): Likewise.
82273 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82275         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82276         __WORDSIZE != 64.
82278 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
82280         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82281         OVERFLOW_EXCEPTION_OK.
82282         * math/libm-test.inc ("Philosophy"): Update comment about
82283         exception testing.
82284         (OVERFLOW_EXCEPTION): Define.
82285         (OVERFLOW_EXCEPTION_OK): Likewise.
82286         (INVALID_EXCEPTION_OK): Renumber.
82287         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82288         (IGNORE_ZERO_INF_SIGN): Likewise.
82289         (test_exceptions): Handle FE_OVERFLOW.
82290         (exp10_test): Expect overflow exceptions.
82291         (exp2_test): Likewise.
82292         (expm1_test): Likewise.
82293         (nextafter_test): Likewise.
82294         (pow_test): Likewise.
82295         (scalbn_test): Likewise.
82296         (scalbln_test): Likewise.
82298 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82300         * sysdeps/x86_64/bits/atomic.h
82301         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
82302         64bit integer.
82303         (atomic_exchange_acq): Likewise.
82304         (__arch_exchange_and_add_body): Likewise.
82305         (__arch_add_body): Likewise.
82306         (atomic_add_negative): Likewise.
82307         (atomic_add_zero): Likewise.
82309 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82311         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
82312         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
82314 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82316         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
82317         Check __x86_64__ instead of __WORDSIZE.
82319 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82321         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
82323 2012-03-19  David S. Miller  <davem@davemloft.net>
82325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82327         * sysdeps/sparc/fpu/fenv_private.h: New file.
82328         * sysdeps/sparc/fpu/math_private.h: Use it.
82329         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
82330         Remove.
82331         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
82332         (libc_feholdexcept_setroundl): Remove.
82333         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
82334         Remove.
82335         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
82336         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
82338 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82340         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
82341         int64_t instead of long int.
82342         (INSERT_WORDS64): Likewise.
82344 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82346         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
82347         _Unwind_GetCFA return to _Unwind_Ptr first.
82349 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
82351         [BZ #13629]
82352         * math/s_clog.c: Include <float.h>.
82353         (__clog): Scale large or subnormal inputs.
82354         * math/s_clogf.c: Likewise.
82355         * math/s_clogl.c: Likewise.
82356         * math/s_clog10.c: Include <float.h>.
82357         (M_LOG10_2): Define.
82358         (__clog10): Scale large or subnormal inputs.
82359         * math/s_clog10f.c: Likewise.
82360         * math/s_clog10l.c: Likewise.
82361         * math/libm-test.inc (clog_test): Add more tests.
82362         (clog10_test): Likewise.
82363         * sysdeps/i386/fpu/libm-test-ulps: Update.
82364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82366         [BZ #11451]
82367         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
82368         x and y.
82369         * math/libm-test.inc (atan2_test): Add another test.
82371         * Makerules (common-objdir-compile): Remove.
82372         * sysdeps/unix/Makefile (config-generated): Do not add
82373         $(unix-generated) to variable.
82374         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
82375         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
82376         Remove rule.
82377         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
82378         Likewise.
82379         [generic bits/local_lim.h] (before-compile): Do not append to
82380         variable.
82381         [generic bits/local_lim.h] (common-generated): Likewise.
82382         [generic sys/param.h] (before-compile): Do not append to variable.
82383         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
82384         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
82385         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
82386         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
82387         include.
82388         [generic sys/param.h] (sys/param.h-includes): Remove variable.
82389         [generic sys/param.h] (sys/param.h-includes): Remove rule.
82390         [generic sys/param.h] ($(addprefix
82391         $(common-objpfx),$(sys/param.h-includes))): Likewise.
82392         [generic sys/param.h] (common-generated): Do not append to
82393         variable.
82394         [generic sys/param.h] (sysdep_headers): Likewise.
82395         [generic bits/errno.h] (before-compile): Do not append to
82396         variable.
82397         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
82398         rule.
82399         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
82400         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
82401         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
82402         [generic bits/errno.h] (common-generated): Do not append to
82403         variable.
82404         [generic bits/ioctls.h] (before-compile): Do not append to
82405         variable.
82406         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
82407         rule.
82408         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
82409         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
82410         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
82411         rule.
82412         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
82413         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
82414         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
82415         [generic bits/ioctls.h] (common-generated): Do not append to
82416         variable.
82417         [generic sys/syscall.h] (syscall.h): Remove variable.
82418         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
82419         rule.
82420         [generic sys/syscall.h] (before-compile): Do not append to
82421         variable.
82422         [generic sys/syscall.h] (common-generated): Likewise.
82423         * sysdeps/unix/errnos-tmpl.c: Remove file.
82424         * sysdeps/unix/errnos.awk: Likewise.
82425         * sysdeps/unix/ioctls-tmpl.c: Likewise.
82426         * sysdeps/unix/ioctls.awk: Likewise.
82427         * sysdeps/unix/mk-local_lim.c: Likewise.
82428         * sysdeps/unix/snarf-ioctls: Likewise.
82430 2012-03-19  Richard Henderson  <rth@twiddle.net>
82432         * sysdeps/i386/fpu/fenv_private.h: New file.
82433         * sysdeps/i386/fpu/math_private.h: Use it.
82434         (math_opt_barrier, math_force_eval): Remove.
82435         (libc_feholdexcept_setround_53bit): Remove.
82436         (libc_feupdateenv_53bit): Remove.
82437         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82438         (math_opt_barrier, math_force_eval): Remove.
82439         (libc_feholdexcept): Remove.
82440         (libc_feholdexcept_setround): Remove.
82441         (libc_fetestexcept, libc_fesetenv): Remove.
82442         (libc_feupdateenv_test): Remove.
82443         (libc_feupdateenv, libc_feholdsetround): Remove.
82444         (libc_feresetround): Remove.
82446         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
82447         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
82449         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
82450         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
82451         (libc_feupdateenv_testl): New.
82452         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
82453         (libc_feupdateenv_testf): New.
82454         (libc_feupdateenv): Use libc_feupdateenv_test.
82455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
82456         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
82458         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
82459         (libc_feholdsetroundf, libc_feholdsetroundl): New.
82460         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
82461         (libc_feresetround_noex): New.
82462         (libc_feresetround_noexf): New.
82463         (libc_feresetround_noexl): New.
82464         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
82465         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
82466         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
82467         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
82468         SET_RESTORE_ROUND.
82469         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
82470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
82471         (__cos): Likewise.
82472         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
82473         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
82474         SET_RESTORE_ROUND_NOEX.
82475         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
82476         SET_RESTORE_ROUND_NOEXF.
82477         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
82478         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
82479         (libc_feholdsetroundf): New.
82480         (libc_feresetround, libc_feresetroundf): New.
82482         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
82483         (libc_feholdexcept_setround_53bit): Convert from macro to function.
82484         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
82486         * sysdeps/generic/math_private.h: Include <fenv.h>.
82487         (default_libc_feholdexcept): New.
82488         (default_libc_feholdexcept_setround): New.
82489         (default_libc_fesetenv, default_libc_feupdateenv): New.
82490         (libc_feholdexcept): Only define if undefined.
82491         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
82492         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
82493         (libc_feholdexcept_setroundl): Likewise.
82494         (libc_feholdexcept_setround_53bit): Likewise.
82495         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
82496         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
82497         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
82498         (libc_feupdateenv_53bit): Likewise.
82499         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
82500         (libc_feholdexcept): Convert from macro to inline function.
82501         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
82502         (libc_fesetenv, libc_feupdateenv): Likewise.
82504         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
82505         not previously defined.
82506         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
82507         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
82508         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
82509         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
82510         * sysdeps/ieee754/flt-32/math_private.h: New file.
82511         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
82512         math_private.h below SET_FLOAT_WORD.
82513         (__isnan, __isinf_ns, __finite): Remove.
82514         (__isnanf, __isinf_nsf, __finitef): Remove.
82516 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
82518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82520 2012-03-17  David S. Miller  <davem@davemloft.net>
82522         [BZ #6471]
82523         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
82524         for 2.16.
82526 2012-03-16  David S. Miller  <davem@davemloft.net>
82528         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
82529         warnings.
82531         [BZ #6471]
82532         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
82533         properly.
82534         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
82535         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
82536         sysdep_routines when subdir is sysvipc.
82537         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
82538         __getshmlba helper.
82540         * sysdeps/sparc/fpu/libm-test/ulps: Update.
82542 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82544         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
82545         [__LP64__].
82547 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82549         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
82550         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
82551         (__lround): Renamed to ...
82552         (__llround): This.  Replace long int with long long int.
82553         Define lround functions as aliases of llround functions.
82554         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
82556 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82558         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
82559         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
82560         adresses to uintptr_t.  Replace "long int" and "unsigned long
82561         int" with "greg_t" on va_arg.
82563 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82565         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
82566         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
82568         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
82569         Move e_machine check before EI_CLASS check.  Handle x32
82570         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
82571         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
82572         SKIP_EM_IA_64 and include
82573         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
82575         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
82576         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
82577         (add_system_dir): New macro.
82579         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
82580         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
82582 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82584         [BZ #2551]
82585         [BZ #2552]
82586         [BZ #2553]
82587         [BZ #2554]
82588         [BZ #2562]
82589         [BZ #2563]
82590         [BZ #2565]
82591         [BZ #2566]
82592         [BZ #2576]
82593         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
82594         (y0): Likewise.
82595         * math/w_j0f.c (j0f): Likewise.
82596         (y0f): Likewise.
82597         * math/w_j0l.c (__j0l): Likewise.
82598         (__y0l): Likewise.
82599         * math/w_j1.c (j1): Likewise.
82600         (y1): Likewise.
82601         * math/w_j1f.c (j1f): Likewise.
82602         (y1f): Likewise.
82603         * math/w_j1l.c (__j1l): Likewise.
82604         (__y1l): Likewise.
82605         * math/w_jn.c (jn): Likewise.
82606         (yn): Likewise.
82607         * math/w_jnf.c (jnf): Likewise.
82608         (ynf): Likewise.
82609         * math/w_jnl.c (__jnl): Likewise.
82610         (__ynl): Likewise.
82611         * math/libm-test.inc (j0_test): Add more tests.
82612         (j1_test): Likewise.
82613         (jn_test): Likewise.  Add trailing semicolon to existing test.
82614         (y0_test): Likewise.
82615         (y1_test): Likewise.
82616         * sysdeps/i386/fpu/libm-test-ulps: Update.
82617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82619         [BZ #13851]
82620         [BZ #13854]
82621         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
82622         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82623         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82624         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82625         (__tanl): Set errno for infinite argument.
82626         * sysdeps/i386/fpu/mptan.c: Remove.
82627         * sysdeps/i386/fpu/s_tan.S: Likewise.
82628         * sysdeps/i386/fpu/s_tanl.S: Likewise.
82629         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82630         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82631         * math/libm-test.inc (tan_test): Add more tests and enable more
82632         tests for double and long double.
82633         * sysdeps/i386/fpu/libm-test-ulps: Update.
82634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82636 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82638         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82639         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82641 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82643         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82644         * configure.in: Use it for both main tree and add-ons.
82645         * configure: Regenerated.
82647 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82649         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82651 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82653         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82654         in comment.
82656         [BZ #13851]
82657         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82658         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82659         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82660         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82661         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82662         infinite argument.
82663         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82664         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82665         != 0 for prec == 2.
82666         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82667         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82668         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82669         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82670         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82671         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82672         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82673         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82674         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82675         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82676         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82677         * math/libm-test.inc (cos_test): Add more tests and enable more
82678         tests for long double.
82679         (sin_test): Likewise.
82680         (sincos_test): Likewise.
82681         * sysdeps/i386/fpu/libm-test-ulps: Update.
82682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82684 2012-03-16  David S. Miller  <davem@davemloft.net>
82686         * sysdeps/sparc/fpu/math_private.h: New file.
82688 2012-03-15  David S. Miller  <davem@davemloft.net>
82690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
82691         file.
82692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
82693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
82694         file.
82695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
82696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
82697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
82698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
82699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
82700         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
82701         sysdep routines.
82702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82704         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
82705         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
82707         * sysdeps/sparc/sparc-ifunc.h: New file.
82708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
82709         sparc-ifunc.h
82710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
82711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
82712         Likewise.
82713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
82714         Likewise.
82715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
82716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
82717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
82719         Likewise.
82720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
82722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
82724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
82725         Likewise.
82726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
82727         Likewise.
82728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
82730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
82731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
82732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
82733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
82734         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
82735         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
82736         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
82737         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
82738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
82739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
82741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
82742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
82743         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
82744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
82745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
82746         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
82747         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
82748         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
82749         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
82750         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
82751         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
82753 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82755         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
82756         scaling.
82757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82759 2012-03-15  Andreas Jaeger  <aj@suse.de>
82761         [BZ #13852]
82762         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
82763         ieee754/flt-32 implementation for sin, cos and sincos.
82764         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
82765         * sysdeps/i386/fpu/s_cosf.S: Likewise.
82766         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
82767         * sysdeps/i386/fpu/s_sinf.S: Likewise.
82768         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
82769         ieee754/flt-32 implementation for tan.
82771         * math/libm-test.inc (cos_test): Enable some large input tests for
82772         float as well
82773         (sin_test): Likewise.
82774         (sincos_test): Likewise.
82775         (tan_test): Add tests for large input.
82777         * sysdeps/i386/fpu/libm-test-ulps: Update.
82779 2012-03-15  Andreas Jaeger  <aj@suse.de>
82781         [BZ #13658]
82782         * math/libm-test.inc (cos_test): Add more test cases.
82783         (sin_test): Likewise.
82784         (sincos_test): Likewise.
82786 2012-03-15  Andreas Jaeger  <aj@suse.de>
82788         [BZ #13837]
82789         * math/libm-test.inc (cos_test): Add a test case for large input
82790         value.
82791         (sin_test): Likewise.
82792         (sincos_test): Likewise.
82794 2012-03-15  Andreas Jaeger  <aj@suse.de>
82795             Joseph Myers  <joseph@codesourcery.com>
82797         [BZ #13658]
82798         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
82799         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
82800         * sysdeps/i386/fpu/branred.c: Likewise.
82801         * sysdeps/i386/fpu/dosincos.c: Likewise.
82802         * sysdeps/i386/fpu/mpa.c: Likewise.
82803         * sysdeps/i386/fpu/s_cos.S: Likewise.
82804         * sysdeps/i386/fpu/s_sin.S: Likewise.
82805         * sysdeps/i386/fpu/s_sincos.S: Likewise.
82806         * sysdeps/i386/fpu/sincos32.c: Likewise.
82808         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
82809         Define.
82810         (libc_feupdateenv_53bit): Define.
82811         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
82812         Define.
82813         (libc_feupdateenv_53bit): Define.
82815         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
82816         53 bit (without extend i386 double precision).
82818         * math/libm-test.inc (sincos_test): Add tests for large input.
82819         (sin): Likewise.
82820         (cos): Likewise.
82822         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
82824 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82828 2012-03-15  David S. Miller  <davem@davemloft.net>
82830         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
82831         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
82832         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
82833         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
82834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
82835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
82836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
82837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
82838         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
82839         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
82840         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
82841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
82842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
82843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
82844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
82845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
82846         file.
82847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
82848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
82849         file.
82850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
82851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
82852         file.
82853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
82854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
82855         file.
82856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
82857         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
82858         fmin/fmax sysdep routines.
82859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82861 2012-03-14  David S. Miller  <davem@davemloft.net>
82863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
82864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
82865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
82866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
82867         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
82868         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
82869         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
82870         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
82871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
82872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
82873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
82874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
82875         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
82876         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
82877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
82878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
82879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
82880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
82881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
82882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
82883         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
82884         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
82885         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
82886         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
82887         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
82888         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
82889         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
82890         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
82891         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
82892         routines.
82893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
82894         file.
82895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
82896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
82897         file.
82898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
82899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
82900         file.
82901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
82902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
82903         file.
82904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
82905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
82906         file.
82907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
82908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
82909         file.
82910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
82911         file.
82912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
82913         file.
82914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
82915         file.
82916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
82917         New file.
82918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
82919         file.
82920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
82921         file.
82922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
82923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
82924         file.
82925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
82926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
82927         file.
82928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
82929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
82930         file.
82931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
82932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
82933         VIS3 routines.
82935         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
82936         New file.
82938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82940         * sysdeps/sparc/configure.in: New file.
82941         * sysdeps/sparc/configure: Generate.
82942         * configure.in (libc_cv_sparc_as_vis3): Substitute.
82943         * configure: Regenerate.
82944         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
82945         * config.make.in (have-as-vis3): New.
82946         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
82947         available use -Av9d instead of -Av9a.
82948         * sysdeps/sparc/sparc64/Makefile: Likewise.
82949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
82950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
82951         New file.
82952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
82953         file.
82954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
82955         New file.
82956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
82957         file.
82958         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
82959         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
82960         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
82961         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
82962         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
82964         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
82965         fzeros/fnegs to load 0x80000000 into a float register instead of
82966         using the stack.
82967         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
82969 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82972         bits/syscall.h.
82973         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
82974         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
82975         ($(inst_includedir)/bits/syscall.h): Remove rule.
82976         ($(objpfx)bits/syscall.d): Include instead of
82977         $(objpfx)syscall-list.d.
82978         (generated): Change syscall-list.h and syscall-list.d to
82979         bits/syscall.h and bits/syscall.d.
82981 2012-03-14  Roland McGrath  <roland@hack.frob.com>
82983         [BZ #13846]
82984         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
82986 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82988         [BZ #13841]
82989         * math/s_csqrt.c: Include <float.h>.
82990         (__csqrt): Scale large or subnormal inputs.
82991         * math/s_csqrtf.c: Likewise.
82992         * math/s_csqrtl.c: Likewise.
82993         * math/libm-test.inc (csqrt_test): Add more tests.
82994         * sysdeps/i386/fpu/libm-test-ulps: Update.
82995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82997         [BZ #13840]
82998         * math/libm-test.inc (hypot_test): Add more tests.
83000 2012-03-13  David S. Miller  <davem@davemloft.net>
83002         [BZ #13840]
83003         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83004         double-precision for the calculation instead of scaling.
83006 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
83008         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83009         manipulate bits before adding and subtracting TWO52[sx].
83010         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83011         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83012         Likewise.
83013         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83015 2012-03-13  David S. Miller  <davem@davemloft.net>
83017         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83018         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83020         rtld-global-offsets.h
83021         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83023         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83024         large parameters.
83026         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83028         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83029         'err' in the ifdef scope in which it is actually used.
83031         * nss/nss_db/db-init.c: Include string.h
83033 2012-03-12  David S. Miller  <davem@davemloft.net>
83035         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83036         masking out of the most significant byte of random value used.
83037         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83038         Fix coding style in previous change.
83040         * sysdeps/unix/sysv/linux/kernel-features.h
83041         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83042         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83043         expression.
83044         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83045         later.
83047 2012-03-11  David S. Miller  <davem@davemloft.net>
83049         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83050         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83051         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83052         for 'resultvar' otherwise things get truncated on 64-bit.
83054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83055         Fix masking out of the most significant byte of random value used.
83057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83059 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
83061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83063 2012-03-09  David S. Miller  <davem@davemloft.net>
83065         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83066         variables with appropriate CPP guards.
83067         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83068         from the frame pointer, not the stack pointer.  Correct layout
83069         comments.  Fix test on resulting framesize and the management of
83070         the outregs buffer for pltexit.  Preserve floating point return
83071         values across _dl_call_pltexit call.
83072         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83073         framesize and the management of the outregs buffer for pltexit.
83074         Preserve floating point return values across _dl_call_pltexit
83075         call.
83076         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83077         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83078         (la_sparc64_gnu_pltexit): New functions.
83079         (print_exit): Fix format string for return register value.
83081 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83083         * sunrpc/Makefile (others): Add rpcgen.
83084         ($(objpfx)rpcgen): Remove special build rule and dependency on
83085         libc.
83086         * sunrpc/rpcgen.c: New file.
83088 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83090         [BZ #13673]
83091         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83092         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83093         * sysdeps/i386/crti.S: Likewise.
83094         * sysdeps/i386/crtn.S: Likewise.
83095         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83096         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83097         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83098         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83099         * sysdeps/sh/crti.S: Likewise.
83100         * sysdeps/sh/crtn.S: Likewise.
83101         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83103         [BZ #13673]
83104         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83105         with URL.
83106         * locale/programs/locfile-kw.gperf: Likewise.
83107         * locale/programs/charmap-kw.h: Regenerated.
83108         * locale/programs/locfile-kw.h: Likewise.
83110         [BZ #13673]
83111         * intl/plural.y: Replace FSF snail mail address with URL.
83112         * intl/plural.c: Regenerated.
83114 2012-03-09  Richard Henderson  <rth@twiddle.net>
83116         * include/math_private.h: Remove file.
83117         * math/math_private.h: Move file ...
83118         * sysdeps/generic/math_private.h: ... here.
83120         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83121         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83122         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83124         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83125         and <math_private.h>.
83126         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83127         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83128         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83129         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83130         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83131         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83132         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83133         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83134         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83135         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83136         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83137         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83138         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83139         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83140         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83141         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83142         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83143         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83144         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83145         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83146         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83147         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83148         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83150         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83151         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83152         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83153         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83154         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83155         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83156         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83157         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83158         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83159         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83160         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83161         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83162         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83163         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83164         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83165         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83166         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83167         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83168         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83169         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83170         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83171         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83172         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83173         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83174         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83175         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83176         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83177         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83178         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83179         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83180         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83181         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83182         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83183         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83184         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83185         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83186         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83187         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83188         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83189         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83190         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83191         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83192         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83193         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83194         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83195         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83196         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83197         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83198         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83199         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83200         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83201         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83202         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83203         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83204         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83205         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83206         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83207         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83208         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83209         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83210         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83211         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83212         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83213         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83214         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83215         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83216         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83217         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83218         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83219         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83220         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83221         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83222         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83223         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83224         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83225         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83226         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83227         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83228         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83229         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83230         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83231         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83232         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83233         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83234         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83235         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83236         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83237         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83238         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83239         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83240         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83241         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83242         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83243         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83244         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83245         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83246         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83247         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83248         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83249         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83250         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83251         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83252         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83253         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83254         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83255         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83256         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83257         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83258         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83259         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83260         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83261         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83262         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83263         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83264         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83265         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83266         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83267         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83268         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83269         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83270         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83271         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83272         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83273         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83274         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83275         * sysdeps/ieee754/k_standard.c: Likewise.
83276         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83277         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83278         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83279         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83280         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83281         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83282         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83283         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83284         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83285         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83286         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83287         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83288         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83289         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83290         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83291         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83292         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
83293         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83294         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83295         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
83296         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
83297         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
83298         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83299         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83300         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
83301         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
83302         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83303         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83304         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83305         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83306         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
83307         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83308         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83309         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83310         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
83311         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83312         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83313         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
83314         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
83315         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83316         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
83317         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83318         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
83319         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83320         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
83321         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
83322         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83323         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83324         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83325         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83326         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83327         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
83328         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83329         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
83330         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83331         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83332         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
83333         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
83334         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83335         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83336         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83337         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
83338         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83339         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83340         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83341         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83342         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83343         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83344         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83345         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83346         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83347         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83348         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83349         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83350         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83352         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
83353         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83354         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83355         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
83356         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
83357         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
83358         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83359         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83360         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
83361         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83362         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83363         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
83364         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
83365         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83366         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
83367         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83368         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
83369         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
83370         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83371         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83372         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
83373         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
83374         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
83375         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
83376         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83377         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83378         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83379         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83380         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
83381         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83382         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83383         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
83384         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
83385         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83386         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83387         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83388         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83389         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83390         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83391         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83392         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83393         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83394         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83395         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83396         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83397         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83398         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83399         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83400         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83401         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
83402         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83403         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83404         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83405         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83406         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83407         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83408         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83409         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
83410         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83411         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83412         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
83413         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
83414         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83415         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
83416         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
83417         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83418         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
83419         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
83420         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83421         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83422         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83423         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83424         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83425         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
83426         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83427         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83428         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83429         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83430         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
83431         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
83432         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83433         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83434         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83435         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
83436         * sysdeps/ieee754/s_lib_version.c: Likewise.
83437         * sysdeps/ieee754/s_matherr.c: Likewise.
83438         * sysdeps/ieee754/s_signgam.c: Likewise.
83439         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83440         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83441         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
83442         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
83443         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
83444         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
83445         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
83446         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
83447         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
83448         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
83449         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
83450         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
83451         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83452         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83453         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
83454         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
83455         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
83456         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
83457         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
83458         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83461 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83463         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
83464         * sunrpc/rpc_main.c: Likewise.
83465         * sunrpc/rpc_svcout.c: Likewise.
83467 2012-03-09  David S. Miller  <davem@davemloft.net>
83469         * include/math_private.h: New file.
83471 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83473         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
83474         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
83475         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
83476         from <bits/socket_type.h>.
83477         (enum __socket_type): Don't define here.
83478         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
83479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83480         bits/socket_type.h.
83482         [BZ #13566]
83483         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
83484         checking __USE_GNU.
83486         * Makerules ($(inst_includedir)/%.h): New rule.
83487         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
83488         (install-others): Remove variable setting.
83489         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
83491 2012-03-08  Richard Henderson  <rth@twiddle.net>
83493         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
83494         from macro to inline function; merge with the
83495         !__LIBC_INTERNAL_MATH_INLINES version.
83496         (__ieee754_sqrtf): Likewise.
83498         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
83499         to inline function.
83500         (__rintf, __floor, __floorf): Likewise.
83502         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
83503         macro to inline function.
83504         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
83506         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
83507         not <math/math_private.h>.
83509 2012-03-08  David S. Miller  <davem@davemloft.net>
83511         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
83512         copyright year.
83513         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
83515 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
83517         * resolv/gai_misc.c (handle_requests): Fix struct timespec
83518         normalization.
83519         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
83520         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
83522 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
83524         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
83525         be defined individually, they must be defined as a block.  Define
83526         S for printing a string instead of hidint the different by using a
83527         macro for adding the 'l'.
83528         * stdio-common/tst-fphex-wide.c: Adjust.
83530 2012-03-07  Marek Polacek  <polacek@redhat.com>
83532         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
83534 2012-03-08  Marek Polacek  <polacek@redhat.com>
83536         [BZ #13806]
83537         * stdio-common/Makefile (tests): Add tst-fphex-wide.
83538         * stdio-common/tst-fphex.c: Define a few macros to make the
83539         test reusable.  Use them.
83540         * stdio-common/tst-fphex-wide.c: New file.
83542 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
83544         [BZ #6911]
83545         * manual/macros.texi (gnusystems): New macro.
83546         (nongnusystems): Likewise.
83547         (gnulinuxhurdsystems): Likewise.
83548         (gnuhurdsystems): Likewise..
83549         (gnulinuxsystems): Likewise.
83550         * manual/charset.texi: Use new macros or @theglibc{} to refer to
83551         variants of the GNU system, not "GNU system".
83552         * manual/conf.texi: Likewise.
83553         * manual/errno.texi: Likewise.  Update example of errno macro
83554         expansion.
83555         * manual/filesys.texi: Likewise.
83556         (getumask): Document as specific to GNU/Hurd.
83557         * manual/install.texi: Likewise.  Reword some references to
83558         GNU/Linux.
83559         * manual/intro.texi: Likewise.
83560         * manual/io.texi: Likewise.
83561         (File Name Portability): Detail which constraints are inapplicable
83562         to all GNU systems and which are only inapplicable to GNU/Hurd.
83563         * manual/job.texi: Likewise.
83564         * manual/llio.texi: Likewise.
83565         (O_NOCTTY): Document as present on GNU/Linux.
83566         * manual/maint.texi: Likewise.
83567         * manual/memory.texi: Likewise.
83568         * manual/pattern.texi: Likewise.
83569         * manual/pipe.texi: Likewise.
83570         * manual/process.texi: Likewise.
83571         * manual/resource.texi: Likewise.
83572         (RUSAGE_CHILDREN): Remove statement about specifying a particular
83573         child on GNU/Hurd.
83574         * manual/setjmp.texi: Likewise.
83575         * manual/signal.texi: Likewise.
83576         * manual/startup.texi: Likewise.
83577         * manual/stdio.texi: Likewise.
83578         * manual/terminal.texi: Likewise.
83579         (ONLCR): Document as POSIX.
83580         (OXTABS): Document availability on GNU/Linux as XTABS.
83581         (ONOEOT): Document availability separately from other bits.
83582         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
83583         * manual/time.texi: Likewise.
83584         * manual/users.texi: Likewise.
83585         * INSTALL: Regenerated.
83586         * sysdeps/gnu/errlist.c: Regenerated.
83588         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
83589         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
83590         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
83591         puts.
83592         * configure: Regenerated.
83594 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
83596         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
83597         default includes instead of AC_HEADER_CHECK.
83598         * sysdeps/i386/configure: Regenerated.
83600         [BZ #10716]
83601         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
83602         * math/s_cacoshf.c (__cacoshf): Likewise.
83603         * math/s_cacoshl.c (__cacoshl): Likewise.
83604         * math/s_casinh.c (__casinh): Set signs of result from argument.
83605         * math/s_casinhf.c (__casinhf): Likewise.
83606         * math/s_casinhl.c (__casinhl): Likewise.
83607         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
83608         (casinh_test): Add more tests.
83609         * sysdeps/i386/fpu/libm-test-ulps: Update.
83610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83612 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
83614         * po/zh_TW.po: Update from translation team.
83616         * login/Makefile (distribute): Remove variable.
83617         * catgets/Makefile: Likewise.
83618         * mach/Makefile: Likewise.
83619         * malloc/Makefile: Likewise.
83620         * misc/Makefile: Likewise.
83621         * iconv/Makefile: Likewise.
83622         * nscd/Makefile: Likewise.
83623         * hurd/Makefile: Likewise.
83624         * manual/Makefile: Likewise.
83625         * locale/Makefile: Likewise.
83626         * intl/Makefile: Likewise.
83627         * conform/Makefile: Likewise.
83628         * nss/Makefile: Likewise.
83629         * time/Makefile: Likewise.
83630         * soft-fp/Makefile: Likewise.
83631         * dirent/Makefile: Likewise.
83632         * gmon/Makefile: Likewise.
83633         * po/Makefile: Likewise.
83634         * rt/Makefile: Likewise.
83635         * socket/Makefile: Likewise.
83636         * math/Makefile: Likewise.
83637         * signal/Makefile: Likewise.
83638         * debug/Makefile: Likewise.
83639         * elf/Makefile: Likewise.
83640         * timezone/Makefile: Likewise.
83641         * stdlib/Makefile: Likewise.
83642         * iconvdata/Makefile: Likewise.
83643         * sunrpc/Makefile: Likewise.
83644         * io/Makefile: Likewise.
83645         * argp/Makefile: Likewise.
83646         * inet/Makefile: Likewise.
83647         * hesiod/Makefile: Likewise.
83648         * grp/Makefile: Likewise.
83649         * csu/Makefile: Likewise.
83650         * wctype/Makefile: Likewise.
83651         * crypt/Makefile: Likewise.
83652         * libio/Makefile: Likewise.
83653         * string/Makefile: Likewise.
83654         * nis/Makefile: Likewise.
83655         * resolv/Makefile: Likewise.
83656         * stdio-common/Makefile: Likewise.
83657         * wcsmbs/Makefile: Likewise.
83658         * dlfcn/Makefile: Likewise.
83659         * posix/Makefile: Likewise.
83661         [BZ #6959]
83662         * timezone/Makefile: Don't install timezone files, just the programs
83663         and scripts.
83665 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83667         * nss/databases.def: Add missing gshadow entry.
83669         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83671 2012-03-06  Marek Polacek  <polacek@redhat.com>
83673         [BZ #13726]
83674         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83675         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83676         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83677         * stdio-common/tst-long-dbl-fphex.c: New file.
83679 2012-03-06  David S. Miller  <davem@davemloft.net>
83681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83682         (set_obp_int): New function.
83683         (get_obp_int): New function.
83684         (__get_clockfreq_via_dev_openprom): Likewise.
83685         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
83686         Avoid unused variable warnings on 'val' and use builtin_expect.
83687         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
83688         __builtin_expect.
83689         (INLINE_CLONE_SYSCALL): Likewise.
83691 2012-03-05  David S. Miller  <davem@davemloft.net>
83693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83695 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
83697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83699         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
83700         only for |x| >= 40.
83701         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83703 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
83705         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
83706         Replace gettimeofday with __vdso_gettimeofday.
83708         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83709         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
83710         __vdso_clock_gettime and __vdso_getcpu.
83712         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
83713         time with __vdso_time.
83715 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83717         * manual/lang.texi (size_t): Note types to which size_t may be
83718         equivalent with the GNU C Library, but do not describe when
83719         differences between them are significant.
83721 2012-03-05  Andreas Jaeger  <aj@suse.de>
83723         * sysdeps/i386/fpu/libm-test-ulps: Update.
83725 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83727         [BZ #3976]
83728         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
83729         (__ieee754_pow): Save and restore rounding mode and use
83730         round-to-nearest for main computations.
83731         * math/libm-test.inc (pow_test_tonearest): New function.
83732         (pow_test_towardzero): Likewise.
83733         (pow_test_downward): Likewise.
83734         (pow_test_upward): Likewise.
83735         (main): Call the new functions.
83736         * sysdeps/i386/fpu/libm-test-ulps: Update.
83737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83739         [BZ #3976]
83740         * math/libm-test.inc (cosh_test_tonearest): New function.
83741         (cosh_test_towardzero): Likewise.
83742         (cosh_test_downward): Likewise.
83743         (cosh_test_upward): Likewise.
83744         (sinh_test_tonearest): Likewise.
83745         (sinh_test_towardzero): Likewise.
83746         (sinh_test_downward): Likewise.
83747         (sinh_test_upward): Likewise.
83748         (main): Call the new functions.
83749         * sysdeps/i386/fpu/libm-test-ulps: Update.
83750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83752 2012-03-05  Tom de Vries  <tom@codesourcery.com>
83754         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
83755         default stack guard is set in last bytes.
83756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
83758 2012-03-05  Kees Cook  <keescook@chromium.org>
83760         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
83762         [BZ #13656]
83763         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
83764         possibly allocate from heap instead of stack.
83765         * stdio-common/bug-vfprintf-nargs.c: New file.
83766         * stdio-common/Makefile (tests): Add nargs overflow test.
83768 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
83770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83772 2012-03-03  Marek Polacek  <polacek@redhat.com>
83774         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
83775         * math/math_private.h: Likewise.
83776         * stdlib/tst-strtod.c: Likewise.
83777         * sysdeps/i386/i486/bits/atomic.h: Likewise.
83778         * sysdeps/x86_64/bits/atomic.h: Likewise.
83780 2012-03-02  David S. Miller  <davem@davemloft.net>
83782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
83783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
83784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
83786         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
83787         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
83788         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
83789         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
83791 2012-03-02  Roland McGrath  <roland@hack.frob.com>
83793         [BZ #13792]
83794         * manual/examples/README: New file, says the example source files
83795         can be used under GPL>=2.
83796         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83797         line containing just "*/".
83798         * manual/examples/add.c: Add copyright header (GPL>=2).
83799         * manual/examples/argp-ex1.c: Likewise.
83800         * manual/examples/argp-ex2.c: Likewise.
83801         * manual/examples/argp-ex3.c: Likewise.
83802         * manual/examples/argp-ex4.c: Likewise.
83803         * manual/examples/atexit.c: Likewise.
83804         * manual/examples/db.c: Likewise.
83805         * manual/examples/dir.c: Likewise.
83806         * manual/examples/dir2.c: Likewise.
83807         * manual/examples/execinfo.c: Likewise.
83808         * manual/examples/filecli.c: Likewise.
83809         * manual/examples/filesrv.c: Likewise.
83810         * manual/examples/fmtmsgexpl.c: Likewise.
83811         * manual/examples/genpass.c: Likewise.
83812         * manual/examples/inetcli.c: Likewise.
83813         * manual/examples/inetsrv.c: Likewise.
83814         * manual/examples/isockad.c: Likewise.
83815         * manual/examples/longopt.c: Likewise.
83816         * manual/examples/memopen.c: Likewise.
83817         * manual/examples/memstrm.c: Likewise.
83818         * manual/examples/mkfsock.c: Likewise.
83819         * manual/examples/mkisock.c: Likewise.
83820         * manual/examples/mygetpass.c: Likewise.
83821         * manual/examples/pipe.c: Likewise.
83822         * manual/examples/popen.c: Likewise.
83823         * manual/examples/rprintf.c: Likewise.
83824         * manual/examples/search.c: Likewise.
83825         * manual/examples/select.c: Likewise.
83826         * manual/examples/setjmp.c: Likewise.
83827         * manual/examples/sigh1.c: Likewise.
83828         * manual/examples/sigusr.c: Likewise.
83829         * manual/examples/stpcpy.c: Likewise.
83830         * manual/examples/strdupa.c: Likewise.
83831         * manual/examples/strftim.c: Likewise.
83832         * manual/examples/strncat.c: Likewise.
83833         * manual/examples/subopt.c: Likewise.
83834         * manual/examples/swapcontext.c: Likewise.
83835         * manual/examples/termios.c: Likewise.
83836         * manual/examples/testopt.c: Likewise.
83837         * manual/examples/testpass.c: Likewise.
83838         * manual/examples/timeval_subtract.c: Likewise.
83840         [BZ #13792]
83841         * manual/time.texi (Elapsed Time): Move timeval_subtract example
83842         function to ...
83843         * manual/timeval_subtract.c.texi: ... here, new file.
83845 2012-03-02  David S. Miller  <davem@davemloft.net>
83847         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
83849 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
83851         [BZ #3976]
83852         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
83853         (__sin): Save and restore rounding mode and use round-to-nearest
83854         for all computations.
83855         (__cos): Save and restore rounding mode and use round-to-nearest
83856         for all computations.
83857         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
83858         <fenv.h>.
83859         (tan): Save and restore rounding mode and use round-to-nearest for
83860         all computations.
83861         * math/libm-test.inc (cos_test_tonearest): New function.
83862         (cos_test_towardzero): Likewise.
83863         (cos_test_downward): Likewise.
83864         (cos_test_upward): Likewise.
83865         (sin_test_tonearest): Likewise.
83866         (sin_test_towardzero): Likewise.
83867         (sin_test_downward): Likewise.
83868         (sin_test_upward): Likewise.
83869         (tan_test_tonearest): Likewise.
83870         (tan_test_towardzero): Likewise.
83871         (tan_test_downward): Likewise.
83872         (tan_test_upward): Likewise.
83873         (main): Call the new functions.
83874         * sysdeps/i386/fpu/libm-test-ulps: Update.
83875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83877         [BZ #10135]
83878         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
83879         small n, then large n, before computing and testing k+n.
83880         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
83881         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
83882         Likewise.
83883         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
83884         Likewise.
83885         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
83886         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
83887         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
83888         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
83889         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
83890         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
83891         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
83892         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
83893         * math/libm-test.inc (scalbn_test): Add more tests.
83894         (scalbln_test): Likewise.
83896         * manual/filesys.texi (mode_t): Describe constraints on size and
83897         signedness, not exact equivalence to a particular type.
83898         (ino_t): Likewise.
83899         (ino64_t): Likewise.
83900         (dev_t): Likewise.
83901         (nlink_t): Likewise.
83902         (blkcnt_t): Likewise.
83903         (blkcnt64_t): Likewise.
83904         * manual/llio.texi (off_t): Likewise.
83906         [BZ #3976]
83907         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
83908         (__ieee754_exp): Save and restore rounding mode and use
83909         round-to-nearest for all computations.
83910         * math/libm-test.inc (exp_test_tonearest): New function.
83911         (exp_test_towardzero): Likewise.
83912         (exp_test_downward): Likewise.
83913         (exp_test_upward): Likewise.
83914         (main): Call the new functions.
83915         * sysdeps/i386/fpu/libm-test-ulps: Update.
83916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83918 2012-03-01  Chris Demetriou  <cgd@google.com>
83920         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
83921         have predictable order.
83923 2012-03-01  David S. Miller  <davem@davemloft.net>
83925         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
83927         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
83928         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
83929         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
83930         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
83932         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
83933         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
83934         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
83935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
83936         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
83937         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
83938         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
83939         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
83940         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
83942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83944         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
83945         * sysdeps/sparc/fpu/libm-test-ulps: to here.
83946         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
83948         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
83949         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83950         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83951         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
83952         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
83953         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
83954         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
83955         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83956         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83957         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
83958         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
83959         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83960         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83961         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83962         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83963         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83964         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
83965         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
83966         * sysdeps/sparc/elf/configure: Regenerated.
83968 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
83970         * configure.in (AS, LD): Require binutils 2.20 or later.
83971         * configure: Regenerated.
83972         * manual/install.texi (Tools for Compilation): Give binutils 2.20
83973         as required minimum version.
83974         * INSTALL: Regenerated.
83976         [BZ #2541]
83977         [BZ #4108]
83978         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
83979         before squaring exponent.
83980         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
83981         bottom long double and 27 bits of top long double before squaring
83982         exponent.
83983         * math/libm-test.inc (erfc_test): Add more tests.
83984         * sysdeps/i386/fpu/libm-test-ulps: Update.
83985         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83988 2012-03-01  Kai Tietz  <ktietz@redhat.com>
83990         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
83991         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
83992         containing bit-fields.
83993         * soft-fp/extended.h (_FP_UNION_E): Likewise.
83994         * soft-fp/single.h (_FP_UNION_S): Likewise.
83995         * soft-fp/double.h (_FP_UNION_D): Likewise.
83997 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83999         [BZ #13786]
84000         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84001         not include ../strcmp.S.
84002         [USE_AS_STRNCASECMP_L]: Likewise.
84003         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84004         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84005         * sysdeps/i386/i686/multiarch/strncase_l-c.c
84006         (__strncasecmp_l_ia32): Define as alias to
84007         __strncasecmp_l_nonascii.
84009         [BZ #5794]
84010         * math/libm-test.inc (expm1_test): Add test for bug 5794.
84011         * sysdeps/i386/fpu/libm-test-ulps: Update.
84012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84014         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84017 2012-02-29  Jeff Law  <law@redhat.com>
84019         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84020         out of bounds read.
84022 2012-02-29  Marek Polacek  <polacek@redhat.com>
84024         [BZ #13706]
84025         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84026         * elf/Makefile: Add rules to run tst-unused-dep.out.
84028 2012-02-28  David S. Miller  <davem@davemloft.net>
84030         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84031         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84032         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84033         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84034         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84035         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84037 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84039         * math/libm-test.inc (llround_test): Move one test from
84040         lround_test.  Use TEST_f_L in moved test.
84041         (lround_test): Move misplaced test to llround_test.  Add testcase
84042         from bug 2561.
84044 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
84046         * sysdeps/x86_64/fpu/e_expf.S: New file.
84047         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84049 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
84051         [BZ #13637]
84052         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84053         of remain_len that may cause incomplete multi-byte character and
84054         false match.
84055         * posix/bug-regex33.c: New file.
84056         * posix/Makefile (tests): Add bug-regex33.
84058 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
84060         * manual/macros.texi: New file.
84061         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84062         * manual/libc.texinfo: Include macros.texi.
84063         * manual/creatute.texi: Likewise.
84064         * manual/install.texi: Likewise.
84065         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84066         @glibcadj{} in references to the GNU C Library.
84067         * manual/charset.texi: Likewise.
84068         * manual/conf.texi: Likewise.
84069         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84070         when not using those macros.
84071         * manual/creature.texi: Likewise.
84072         * manual/crypt.texi: Likewise.
84073         * manual/errno.texi: Likewise.
84074         * manual/filesys.texi: Likewise.
84075         * manual/header.texi: Likewise.
84076         * manual/install.texi: Likewise.
84077         * manual/intro.texi: Likewise.
84078         * manual/io.texi: Likewise.
84079         * manual/job.texi: Likewise.
84080         * manual/lang.texi: Likewise.
84081         * manual/libc.texiinfo: Likewise.
84082         * manual/llio.texi: Likewise.
84083         * manual/locale.texi: Likewise.
84084         * manual/maint.texi: Likewise.
84085         * manual/math.texi: Likewise.
84086         * manual/memory.texi: Likewise.
84087         * manual/message.texi: Likewise.
84088         * manual/nss.texi: Likewise.
84089         * manual/pattern.texi: Likewise.
84090         * manual/process.texi: Likewise.
84091         * manual/resource.texi: Likewise.
84092         * manual/search.texi: Likewise.
84093         * manual/setjmp.texi: Likewise.
84094         * manual/signal.texi: Likewise.
84095         * manual/socket.texi: Likewise.
84096         * manual/startup.texi: Likewise.
84097         * manual/stdio.texi: Likewise.
84098         * manual/string.texi: Likewise.
84099         * manual/sysinfo.texi: Likewise.
84100         * manual/syslog.texi: Likewise.
84101         * manual/terminal.texi: Likewise.
84102         * manual/time.texi: Likewise.
84103         * manual/users.texi: Likewise.
84104         * INSTALL: Regenerated.
84105         * NOTES: Regenerated.
84106         * sysdeps/gnu/errlist.c: Regenerated.
84108 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84110         * include/dirent.h: Include <dirstream.h> before
84111         <dirent/dirent.h>.
84113 2012-02-28  David S. Miller  <davem@davemloft.net>
84115         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84116         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84117         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84118         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84120 2012-02-27  David S. Miller  <davem@davemloft.net>
84122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84124         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84125         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84128         frame pointer instead of stack pointer relative arg slot.
84129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84130         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84131         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84133 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84135         [BZ #3992]
84136         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84138 2012-02-27  David S. Miller  <davem@davemloft.net>
84140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84144         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84145         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84146         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84147         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84149 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84151         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84152         later.  Allow versions 5-9.
84153         * configure: Regenerated.
84154         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84155         required minimum version and 4.6 as recommended version.  Do not
84156         mention bugs in GCC 2.7 and 2.8.
84157         * INSTALL: Regenerated.
84159 2012-02-27  David S. Miller  <davem@davemloft.net>
84161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84165         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84166         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84167         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84168         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84170         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84171         manipulate bits before adding and subtracting TWO112[sx].
84172         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84174 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84176         [BZ #13775]
84177         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84178         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84179         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84180         being in POSIX, because they are in 1003.1-2008.
84182         * rt/tst-aio.c: Include <fcntl.h>.
84183         * rt/tst-aio7.c: Likewise.
84184         * rt/tst-aio64.c: Likewise.
84186         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84188 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84190         * manual/install.texi (--with-headers): Describe headers as
84191         interface headers, not private headers.
84192         (Specific advice for GNU/Linux systems): Describe use of headers
84193         from "make headers_install", not private headers from older
84194         kernels.
84195         * INSTALL: Regenerated.
84196         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84197         Change to 2.6.19.
84198         * sysdeps/unix/sysv/linux/configure: Regenerated.
84200         * manual/llio.texi (fclean): Remove documentation.
84202         * manual/Makefile (libc-texi-generated): New variable.  Include
84203         version.texi.
84204         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84205         $(libc-texi-generated), not duplicated list of files.
84206         (version.texi, stamp-version): New rules.
84207         (realclean): Remove $(libc-texi-generated), not individual files
84208         from that list.  Do not remove dir-add.texinfo.
84209         * manual/libc.texinfo: Comment out uses of edition numbers and
84210         references to printed manual.  Remove last-updated dates.
84211         (EDITION): Comment out.
84212         (ISBN): Likewise.
84213         (VERSION, UPDATED): Remove.
84214         (version.texi): Include.
84216 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
84218         * sysdeps/posix/spawni.c: Include <signal.h>.
84219         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84220         * sysdeps/pthread/aio_fsync.c: Likewise.
84222 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
84224         * conform/Makefile (tests): Run only when not cross-compiling and
84225         when fast-check is not defined.
84227         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84228         * conform/data/limits.h-data: Fixes for POSIX2008.
84229         * conform/run-conformtest.sh: Run all tests.
84230         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84231         headers.
84232         * include/bits/dlfcn.h: Likewise.
84233         * include/langinfo.h: Likewise.
84234         * include/monetary.h: Likewise.
84235         * include/sys/poll.h: Likewise.
84237         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84238         for __USE_GNU.
84239         * posix/spawn.h: Define __need_sigset_t.
84240         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84241         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84242         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
84243         to get sigevent_t only.
84244         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84245         only for __USE_GNU.
84246         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84247         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84248         process_vm_writev only for __USE_GNU.
84249         * termios/termios.h: Declare tcgetsid also for POSIX2008.
84251         * conform/Makefile: For now ignore errors from run-conformtest.
84252         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
84253         POSIX to avoid namespace pollution.  Don't prepend headers.
84254         * conform/data/aio.h-data: Fixes for POSIX testing.
84255         * conform/data/fcntl.h-data: Likewise.
84256         * conform/data/glob.h-data: Likewise.
84257         * conform/data/grp.h-data: Likewise.
84258         * conform/data/pthread.h-data: Likewise.
84259         * conform/data/pwd.h-data: Likewise.
84260         * conform/data/signal.h-data: Likewise.
84261         * conform/data/spawn.h-data: Likewise.
84262         * conform/data/stdio.h-data: Likewise.
84263         * conform/data/stdlib.h-data: Likewise.
84264         * conform/data/stropts.h-data: Likewise.
84265         * conform/data/sys/mman.h-data: Likewise.
84266         * conform/data/sys/stat.h-data: Likewise.
84267         * conform/data/sys/types.h-data: Likewise.
84268         * conform/data/sys/wait.h-data: Likewise.
84269         * conform/data/time.h-data: Likewise.
84270         * conform/data/unistd.h-data: Likewise.
84271         * conform/data/utime.h-data: Likewise.
84273         * io/sys/stat.h: fchmod was always in POSIX.
84274         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84275         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84276         * rt/aio.h: Define __need_timespec before including <time.h>.
84277         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84278         struct.  Add forward declaration of pthread_attr_t and use it in
84279         sigevent.
84280         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84281         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84282         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84283         always remove CLK_TCK definition.
84285 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
84287         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84289 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
84291         * conform/run-conformtest.sh: New file.
84292         * conform/Makefile: Run run-conformtest for tests.
84293         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
84294         support.
84296         * conform/data/uchar.h-data: New file.
84297         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
84298         * conform/data/arpa/inet.h-data: Likewise.
84299         * conform/data/assert.h-data: Likewise.
84300         * conform/data/complex.h-data: Likewise.
84301         * conform/data/cpio.h-data: Likewise.
84302         * conform/data/ctype.h-data: Likewise.
84303         * conform/data/dirent.h-data: Likewise.
84304         * conform/data/dlfcn.h-data: Likewise.
84305         * conform/data/errno.h-data: Likewise.
84306         * conform/data/fcntl.h-data: Likewise.
84307         * conform/data/float.h-data: Likewise.
84308         * conform/data/fmtmsg.h-data: Likewise.
84309         * conform/data/fnmatch.h-data: Likewise.
84310         * conform/data/ftw.h-data: Likewise.
84311         * conform/data/glob.h-data: Likewise.
84312         * conform/data/grp.h-data: Likewise.
84313         * conform/data/iconv.h-data: Likewise.
84314         * conform/data/inttypes.h-data: Likewise.
84315         * conform/data/langinfo.h-data: Likewise.
84316         * conform/data/libgen.h-data: Likewise.
84317         * conform/data/limits.h-data: Likewise.
84318         * conform/data/locale.h-data: Likewise.
84319         * conform/data/math.h-data: Likewise.
84320         * conform/data/monetary.h-data: Likewise.
84321         * conform/data/mqueue.h-data: Likewise.
84322         * conform/data/ndbm.h-data: Likewise.
84323         * conform/data/net/if.h-data: Likewise.
84324         * conform/data/netdb.h-data: Likewise.
84325         * conform/data/netinet/in.h-data: Likewise.
84326         * conform/data/nl_types.h-data: Likewise.
84327         * conform/data/poll.h-data: Likewise.
84328         * conform/data/pthread.h-data: Likewise.
84329         * conform/data/pwd.h-data: Likewise.
84330         * conform/data/regex.h-data: Likewise.
84331         * conform/data/sched.h-data: Likewise.
84332         * conform/data/search.h-data: Likewise.
84333         * conform/data/semaphore.h-data: Likewise.
84334         * conform/data/setjmp.h-data: Likewise.
84335         * conform/data/signal.h-data: Likewise.
84336         * conform/data/spawn.h-data: Likewise.
84337         * conform/data/stdarg.h-data: Likewise.
84338         * conform/data/stdio.h-data: Likewise.
84339         * conform/data/stdlib.h-data: Likewise.
84340         * conform/data/string.h-data: Likewise.
84341         * conform/data/strings.h-data: Likewise.
84342         * conform/data/stropts.h-data: Likewise.
84343         * conform/data/sys/ipc.h-data: Likewise.
84344         * conform/data/sys/mman.h-data: Likewise.
84345         * conform/data/sys/msg.h-data: Likewise.
84346         * conform/data/sys/resource.h-data: Likewise.
84347         * conform/data/sys/select.h-data: Likewise.
84348         * conform/data/sys/sem.h-data: Likewise.
84349         * conform/data/sys/shm.h-data: Likewise.
84350         * conform/data/sys/socket.h-data: Likewise.
84351         * conform/data/sys/stat.h-data: Likewise.
84352         * conform/data/sys/statvfs.h-data: Likewise.
84353         * conform/data/sys/time.h-data: Likewise.
84354         * conform/data/sys/timeb.h-data: Likewise.
84355         * conform/data/sys/times.h-data: Likewise.
84356         * conform/data/sys/types.h-data: Likewise.
84357         * conform/data/sys/uio.h-data: Likewise.
84358         * conform/data/sys/un.h-data: Likewise.
84359         * conform/data/sys/utsname.h-data: Likewise.
84360         * conform/data/sys/wait.h-data: Likewise.
84361         * conform/data/syslog.h-data: Likewise.
84362         * conform/data/tar.h-data: Likewise.
84363         * conform/data/termios.h-data: Likewise.
84364         * conform/data/utime.h-data: Likewise.
84365         * conform/data/utmpx.h-data: Likewise.
84366         * conform/data/varargs.h-data: Likewise.
84367         * conform/data/wchar.h-data: Likewise.
84368         * conform/data/wctype.h-data: Likewise.
84369         * conform/data/wordexp.h-data: Likewise.
84371         * include/stropts.h: New file.
84372         * include/uchar.h: New file.
84373         * include/aio.h: Changes to allow conformtest.pl to use the headers.
84374         * include/assert.h: Likewise.
84375         * include/ctype.h: Likewise.
84376         * include/dirent.h: Likewise.
84377         * include/dlfcn.h: Likewise.
84378         * include/fcntl.h: Likewise.
84379         * include/fnmatch.h: Likewise.
84380         * include/glob.h: Likewise.
84381         * include/grp.h: Likewise.
84382         * include/libio.h: Likewise.
84383         * include/locale.h: Likewise.
84384         * include/math.h: Likewise.
84385         * include/net/if.h: Likewise.
84386         * include/netdb.h: Likewise.
84387         * include/netinet/in.h: Likewise.
84388         * include/pthread.h: Likewise.
84389         * include/pwd.h: Likewise.
84390         * include/regex.h: Likewise.
84391         * include/sched.h: Likewise.
84392         * include/search.h: Likewise.
84393         * include/setjmp.h: Likewise.
84394         * include/signal.h: Likewise.
84395         * include/stdio.h: Likewise.
84396         * include/stdlib.h: Likewise.
84397         * include/string.h: Likewise.
84398         * include/sys/cdefs.h: Likewise.
84399         * include/sys/mman.h: Likewise.
84400         * include/sys/msg.h: Likewise.
84401         * include/sys/resource.h: Likewise.
84402         * include/sys/select.h: Likewise.
84403         * include/sys/socket.h: Likewise.
84404         * include/sys/stat.h: Likewise.
84405         * include/sys/statvfs.h: Likewise.
84406         * include/sys/time.h: Likewise.
84407         * include/sys/times.h: Likewise.
84408         * include/sys/uio.h: Likewise.
84409         * include/sys/utsname.h: Likewise.
84410         * include/sys/wait.h: Likewise.
84411         * include/termios.h: Likewise.
84412         * include/time.h: Likewise.
84413         * include/ulimit.h: Likewise.
84414         * include/unistd.h: Likewise.
84415         * include/utime.h: Likewise.
84416         * include/wchar.h: Likewise.
84417         * include/wctype.h: Likewise.
84418         * include/wordexp.h: Likewise.
84420         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
84422         * time/time.h: TIME_UTC must be a macro.
84423         Make timespec_get available for ISO C11 only as well.
84425 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
84427         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
84428         Reported by Peng Haitao <penght@cn.fujitsu.com>.
84430 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84432         * configure.in: Use -o not -a in test for unsupported multi-arch.
84434 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84436         * manual/texinfo.tex: Update to version 2012-01-19.16.
84438 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84440         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
84442 2012-02-24  Roland McGrath  <roland@hack.frob.com>
84444         [BZ #13738]
84445         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
84446         * manual/fdl-1.3.texi: New file.
84447         * manual/fdl-1.1.texi: File removed.
84449         [BZ #13738]
84450         * manual/libc.texinfo (FDL_VERSION): New @set.
84451         Use it for mention of FDL in cover text.
84452         (Documentation License): Use it in @include file name.
84454 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84455             Roland McGrath  <roland@hack.frob.com>
84457         [BZ #5461]
84458         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
84459         (not LONG_LONG_MAX and LONG_LONG_MIN.
84460         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
84461         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
84462         name.
84463         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
84465 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84467         [BZ #2547]
84468         [BZ #11365]
84469         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
84470         manipulate bits before adding and subtracting TWO23[sx].
84471         * math/libm-test.inc (nearbyint_test): Add more tests.
84473 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84475         [BZ #2548]
84476         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
84477         bits before adding and subtracting TWO23[sx].
84478         * math/libm-test.inc (rint_test): Add more tests.
84479         (rint_test_tonearest): Likewise.
84480         (rint_test_towardzero): Likewise.
84481         (rint_test_downward): Likewise.
84482         (rint_test_upward: Likewise.
84484 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84486         [BZ #10110]
84487         * include/stdc-predef.h: New file.  Extracted from features.h.
84488         * include/features.h: Include stdc-predef.h.
84489         * Makefile (headers): Add stdc-predef.h.
84490         * CONFORMANCE (Compiler limitations): Update.
84492 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84494         * manual/libc.texinfo (VERSION, UPDATED): Revert.
84496 2012-02-21  David S. Miller  <davem@davemloft.net>
84498         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
84499         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84501 2012-02-20  David S. Miller  <davem@davemloft.net>
84503         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
84504         using a normal save/restore sequence, rather than allocating a
84505         dummy stack frame just to store a frame pointer and restore.
84506         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84508 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84510         * manual/install.texi: Fix stray word in line-wrapped comment.
84512 2012-02-20  David S. Miller  <davem@davemloft.net>
84514         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
84515         both binutils and gcc support GOTDATA.
84517         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
84518         "rd %pc" in the PIC register setup sequences.
84520         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
84521         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
84522         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84523         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
84524         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84525         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84526         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84527         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84528         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
84529         (SYSCALL_ERROR_HANDLER): Likewise.
84530         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84531         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84532         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
84533         (SYSCALL_ERROR_HANDLER): Likewise.
84535         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
84536         (HAVE_GCC_GOTDATA): New.
84537         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
84538         relocation support in both binutils and gcc.
84539         * sysdeps/sparc/elf/configure: Regenerate.
84541         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
84542         * sysdeps/sparc/sparc32/elf/configure: Delete.
84543         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
84544         * sysdeps/sparc/sparc64/elf/configure: Delete.
84545         * sysdeps/sparc/elf/configure.in: New file.
84546         * sysdeps/sparc/elf/configure: Generate.
84548         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
84549         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
84550         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84551         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
84552         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
84554 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84556         * manual/install.texi: Do not mention specific glibc version
84557         numbers.
84558         * manual/libc.texinfo (VERSION, UPDATED): Update.
84559         (@copying): Use @copyright{} and range of years.
84561 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84563         [BZ #13695]
84564         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
84565         [crti.S not in sysdirs] (generated): Do not append.
84566         [crti.S not in sysdirs] (omit-deps): Likewise.
84567         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
84568         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
84569         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
84570         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
84571         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
84572         Likewise.
84573         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
84574         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
84575         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
84576         * csu/defs.awk: Remove file.
84577         * sysdeps/generic/initfini.c: Likewise.
84578         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
84579         variable.
84580         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
84581         Likewise.
84583 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84585         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
84586         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
84587         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
84588         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
84589         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84590         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
84591         <bits/epoll.h>.
84592         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
84593         (__EPOLL_PACKED): Define to empty if not defined by
84594         <bits/epoll.h>.
84595         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
84596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84597         bits/epoll.h.
84599 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84601         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
84602         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
84603         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
84604         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
84605         <bits/timerfd.h>.
84606         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
84607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84608         bits/timerfd.h.
84610 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84612         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
84613         in C locale.
84614         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84615         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
84616         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
84617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84619 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
84621         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84622         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84624 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
84626         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84627         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84628         defined.
84629         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84630         Likewise.
84631         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84632         entry for 2.16.
84634 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84636         * math/w_acos.c: Use non-signaling floating-point comparisons.
84637         * math/w_acosf.c: Likewise.
84638         * math/w_acosh.c: Likewise.
84639         * math/w_acoshf.c: Likewise.
84640         * math/w_acoshl.c: Likewise.
84641         * math/w_acosl.c: Likewise.
84642         * math/w_asin.c: Likewise.
84643         * math/w_asinf.c: Likewise.
84644         * math/w_asinl.c: Likewise.
84645         * math/w_atanh.c: Likewise.
84646         * math/w_atanhf.c: Likewise.
84647         * math/w_atanhl.c: Likewise.
84648         * math/w_exp2.c: Likewise.
84649         * math/w_exp2f.c: Likewise.
84650         * math/w_exp2l.c: Likewise.
84651         * math/w_j0.c: Likewise.
84652         * math/w_j0f.c: Likewise.
84653         * math/w_j0l.c: Likewise.
84654         * math/w_j1.c: Likewise.
84655         * math/w_j1f.c: Likewise.
84656         * math/w_j1l.c: Likewise.
84657         * math/w_jn.c: Likewise.
84658         * math/w_jnf.c: Likewise.
84659         * math/w_log.c: Likewise.
84660         * math/w_log10.c: Likewise.
84661         * math/w_log10f.c: Likewise.
84662         * math/w_log10l.c: Likewise.
84663         * math/w_log2.c: Likewise.
84664         * math/w_log2f.c: Likewise.
84665         * math/w_log2l.c: Likewise.
84666         * math/w_logf.c: Likewise.
84667         * math/w_logl.c: Likewise.
84668         * math/w_sqrt.c: Likewise.
84669         * math/w_sqrtf.c: Likewise.
84670         * math/w_sqrtl.c: Likewise.
84671         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84672         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84673         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84674         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84675         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84677 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84679         [BZ #9739]
84680         * manual/string.texi (strnlen): Use correct parameter name in
84681         equivalent expression.
84683 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84685         [BZ #11174]
84686         * manual/users.texi (seteuid): Consistently use neweuid for
84687         argument name.
84689 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84691         [BZ #13704]
84692         * manual/nss.texi (Services in the NSS configuration): Correct
84693         list of services in example configuration file.
84695 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
84697         [BZ #11322]
84698         * manual/arith.texi: Remove statements about negative zero
84699         behaving identically to zero.
84701 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84703         [BZ #5993]
84704         * manual/install.texi: Do not document upgrading from libc5.
84706 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84708         [BZ #4596]
84709         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
84711 2012-02-18  David S. Miller  <davem@davemloft.net>
84713         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
84714         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
84715         %o7 across the call.
84716         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
84717         instead.
84718         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
84719         SETUP_PIC_REG_LEAF.
84720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84721         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
84722         * sysdeps/sparc/crtn.S: Likewise.
84724 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
84726         * aout/Makefile: Remove.
84728 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
84730         [BZ #13058]
84731         * manual/examples/argp-ex1.c (main): Format definition in GNU
84732         style.
84733         * manual/examples/argp-ex2.c (main): Likewise.
84734         * manual/examples/argp-ex3.c (main): Likewise.
84735         * manual/examples/argp-ex4.c (main): Likewise.
84736         * manual/examples/longopt.c (main): Use new-style prototype
84737         definition.
84738         * manual/examples/strncat.c (main): Specify return type and use
84739         (void) for arguments.
84740         * manual/examples/subopt.c (main): Use char **argv argument.
84742 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84744         [BZ #5077]
84745         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
84746         rounding modes.
84748 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
84750         [BZ #6907]
84751         * manual/string.texi (strchr): Change when strchrnul is
84752         recommended.
84754 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
84756         [BZ #174]
84757         * manual/locale.texi (setlocale): Document LOCPATH.
84759 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84761         [BZ #10210]
84762         * manual/process.texi (execle): Move @dots{} before last argument.
84764 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
84766         [BZ #12047]
84767         * manual/charset.texi (Generic Charset Conversion): Fix typo
84768         (LC_TYPE -> LC_CTYPE).
84770 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
84772         [BZ #5805]
84773         * manual/arith.texi (scalbn): Use @var{} on parameter names.
84774         (scalbnf): Likewise.
84775         (scalbnl): Likewise.
84776         (scalbln): Likewise.
84777         (scalblnf): Likewise.
84778         (scalblnl): Likewise.
84779         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
84780         (vwarnx): Likewise.
84781         (verr): Likewise.
84782         (verrx): Likewise.
84783         * manual/filesys.texi (telldir): Use braces around return type.
84784         * manual/llio.texi (mmap): Add space after comma.
84785         (mmap64): Likewise.
84786         * manual/math.texi (jn): Use @var{} on parameter names.
84787         (jnf): Likewise.
84788         (jnl): Likewise.
84789         (yn): Likewise.
84790         (ynf): Likewise.
84791         (ynl): Likewise.
84792         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
84793         line.
84794         * manual/resource.texi (ulimit): Use @dots{} instead of literal
84795         "...".
84796         (sched_get_priority_min): Remove semicolon on @deftypefun line.
84797         (sched_get_priority_max): Likewise.
84798         * manual/signal.texi (sigvec): Add space after comma.
84799         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
84800         names.
84801         (if_indextoname): Likewise.
84802         (if_freenameindex): Likewise.
84803         (sendto): Use ',' instead of '.' in prototype.
84804         * manual/startup.texi (syscall): Use @dots{} instead of literal
84805         "...".
84806         * manual/stdio.texi (__fpending): Separate initial words of
84807         paragraph from @deftypefun line.
84808         * manual/syslog.texi (syslog): Use @dots{} instead of literal
84809         "...".
84810         (vsyslog): Use @var{} on parameter names.
84811         * manual/terminal.texi (stty): Use @var{} on parameter names.
84812         * manual/users.texi (getutmp): Use @var{} on parameter names.
84813         (getutmpx): Likewise.
84815 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84817         [BZ #6884]
84818         * manual/stdio.texi (fopen): Fix typos in description of
84819         ",ccs=STRING".
84821 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
84823         [BZ #4026]
84824         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
84825         get clock_id definition.
84827 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
84829         [BZ #4822]
84830         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
84831         (madvise): Cast every argument to void on its own.
84833 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84835         [BZ #9902]
84836         * manual/startup.texi (Exit Status): Fix typo.
84838 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84840         [BZ #10140]
84841         * manual/examples/argp-ex1.c: Include <stdlib.h>.
84842         * manual/examples/argp-ex2.c: Likewise.
84843         * manual/examples/argp-ex3.c: Likewise.
84845 2012-02-16  Richard Henderson  <rth@redhat.com>
84847         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
84848         * sysdeps/s390/s390-32/initfini.c: Remove.
84849         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
84850         * sysdeps/s390/s390-64/initfini.c: Remove.
84852 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
84854         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
84855         compiler output for sysdeps/generic/initfini.c.
84856         * sysdeps/sh/elf/initfini.c: Remove file.
84858 2012-02-16  David S. Miller  <davem@davemloft.net>
84860         [BZ #11494]
84861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
84863         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
84864         * sysdeps/sparc/crti.S: New file.
84865         * sysdeps/sparc/crtn.S: New file.
84866         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
84867         * sysdeps/sparc/sparc64/Makefile: Likewise.
84869 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
84871         [BZ #3335]
84872         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
84874 2012-02-15  Roland McGrath  <roland@hack.frob.com>
84876         [BZ #4822]
84877         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
84879         * mach/devstream.c (cookie_io_functions_t): Macro removed.
84880         (write, read, close): Likewise.
84881         Patch by Aurelien Jarno <aurelien@aurel32.net>.
84883 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
84885         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
84886         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
84887         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
84888         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
84889         <bits/signalfd.h>.
84890         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
84891         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84892         bits/signalfd.h.
84894 2012-02-14  Marek Polacek  <polacek@redhat.com>
84896         * sysdeps/x86_64/crti.S: New file.
84897         * sysdeps/x86_64/crtn.S: New file.
84898         * sysdeps/x86_64/elf/initfini.c: Remove file.
84900 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84902         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
84903         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
84904         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
84905         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
84906         <bits/inotify.h>.
84907         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
84908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84909         bits/inotify.h.
84911 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84913         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
84914         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
84915         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
84916         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
84917         <bits/eventfd.h>.
84918         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
84919         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84920         bits/eventfd.h.
84922 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
84924         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
84925         __feraiseexcept instead of feraiseexcept.
84927         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
84928         nanosleep invocations.
84929         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
84930         strings, and add error checking for a nanosleep invocations.
84932 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
84934         Replace FSF snail mail address with URLs, as per GNU coding standards.
84935         Most of the snail mail addresses were wrong anyway, and omitting
84936         them makes the source code easier to maintain.  Almost all of the
84937         changes are to license notices and to locale LC_IDENTIFICATION
84938         addresses, except for this one:
84939         * manual/libc.texinfo: In "Published by", give the FSF's URL,
84940         not its snail mail address.
84942 2012-02-09  Richard Henderson  <rth@twiddle.net>
84944         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
84945         of kernel-features.h.
84947         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
84949 2012-02-08  Marek Polacek  <polacek@redhat.com>
84951         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
84952         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
84953         * sysdeps/gnu/_G_config.h: Likewise.
84954         * sysdeps/generic/_G_config.h: Likewise.
84956 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
84958         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
84959         tests.
84960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84962         * sysdeps/powerpc/powerpc32/crti.S: New file.
84963         * sysdeps/powerpc/powerpc32/crtn.S: New file.
84964         * sysdeps/powerpc/powerpc64/crti.S: New file.
84965         * sysdeps/powerpc/powerpc64/crtn.S: New file.
84967         * Makeconfig (have-initfini): Don't set.
84968         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
84969         * configure.in (nopic_initfini): Don't substitute.
84970         * config.h.in (HAVE_INITFINI): Don't #undef.
84971         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
84972         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
84974 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
84976         Support crti.S and crtn.S provided directly by architectures.
84977         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
84978         [crti.S in sysdirs] (omit-deps): Likewise.
84979         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
84980         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
84981         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
84982         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
84983         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
84984         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
84985         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
84986         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
84987         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
84988         compiler output for sysdeps/generic/initfini.c.
84989         * sysdeps/i386/elf/Makefile: Remove file.
84990         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
84992 2012-02-07  Marek Polacek  <polacek@redhat.com>
84994         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
84995         * sysdeps/gnu/_G_config.h: Likewise.
84996         * sysdeps/mach/hurd/_G_config.h: Likewise.
84998 2012-02-07  Marek Polacek  <polacek@redhat.com>
85000         * math/Makefile (tests): Add tst-CMPLX2.
85001         * math/tst-CMPLX2.c: New file.
85003 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
85005         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85007         * math/libm-test.inc (jn_test): Add missing L suffix.
85009 2012-02-06  Marek Polacek  <polacek@redhat.com>
85011         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85012         * sysdeps/i386/fpu/e_powf.S: Likewise.
85013         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85014         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85015         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85016         * sysdeps/i386/fpu/e_pow.S: Likewise.
85017         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85018         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85019         * sysdeps/i386/fpu/s_expm1.S: Likewise.
85020         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85021         * sysdeps/i386/fpu/e_log2.S: Likewise.
85022         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85023         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85024         * sysdeps/i386/fpu/e_powl.S: Likewise.
85025         * sysdeps/i386/fpu/s_log1p.S: Likewise.
85026         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85027         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85028         * sysdeps/i386/fpu/e_logl.S: Likewise.
85029         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85030         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85031         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85032         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85033         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85034         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85035         * sysdeps/i386/fpu/e_log.S: Likewise.
85036         * sysdeps/i386/fpu/s_cexp.S: Likewise.
85037         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85038         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85039         * sysdeps/i386/fpu/e_logf.S: Likewise.
85040         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85041         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85042         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85043         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85044         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85045         * sysdeps/i386/fpu/e_log10.S: Likewise.
85046         * sysdeps/i386/fpu/s_frexp.S: Likewise.
85047         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85048         * sysdeps/i386/fpu/s_asinh.S: Likewise.
85049         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85050         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85051         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85052         * sysdeps/i386/asm-syntax.h: Likewise.
85053         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85054         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85055         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85056         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85057         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85058         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85059         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85060         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85061         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85062         * sysdeps/powerpc/sysdep.h: Likewise.
85063         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85064         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85066 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85068         [BZ #411]
85069         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85071 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85073         * sysdeps/i386/sysdep.h: Include <features.h>.
85074         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85075         version.
85077 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85079         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85080         Define.
85081         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85082         LOAD_PIC_REG_STR.
85084 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85086         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85087         (SETUP_PIC_REG): Use GET_PC_THUNK.
85088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85089         macro.
85091 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85093         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85094         for non-PIC compilation.
85095         (SETUP_PIC_REG): Add .p2align directive.
85096         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85097         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85098         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85099         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85100         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85101         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85102         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85104         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85105         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85106         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85107         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85108         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85109         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85110         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85111         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85112         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85113         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85114         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85115         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85116         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85117         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85118         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85119         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85120         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85121         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85122         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85123         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85124         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85125         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85126         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85127         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85128         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85129         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85130         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85131         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85132         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85133         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85134         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85135         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85136         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85138 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85140         * math/tst-CMPLX.c: Include <stdio.h>.
85142 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85144         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85145         float.
85146         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85147         * sysdeps/sparc/bits/mathdef.h: Likewise.
85149 2012-01-31  Marek Polacek  <polacek@redhat.com>
85151         * libio/libio.h: Don't define _PARAMS.
85152         * locale/programs/config.h: Don't define PARAMS.
85153         * stdlib/strtol_l.c: Likewise.
85154         (__strtol_l): Remove PARAMS from the prototype.
85156 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85158         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85159         names.  Just use the correct names.  Remove unnecessary wrapper
85160         functions.
85161         * malloc/arena.c: Likewise.
85162         * malloc/hooks.c: Likewise.
85164         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85165         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85166         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85168 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85170         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85171         into tail calls.
85172         (update_get_addr): New function.
85173         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85174         GET_ADDR_MODULE parameter.
85176 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85178         * crypt/cert.c: Remove __STDC__ conditionals.
85179         * crypt/crypt-entry.c: Likewise.
85180         * crypt/crypt_util.c: Likewise.
85181         * libio/filedoalloc.c: Likewise.
85182         * libio/fileops.c: Likewise.
85183         * libio/genops.c: Likewise.
85184         * libio/iofclose.c: Likewise.
85185         * libio/iofdopen.c: Likewise.
85186         * libio/iofopen.c: Likewise.
85187         * libio/iofopen64.c: Likewise.
85188         * libio/iogetdelim.c: Likewise.
85189         * libio/iopopen.c: Likewise.
85190         * libio/obprintf.c: Likewise.
85191         * libio/oldfileops.c: Likewise.
85192         * libio/oldiofclose.c: Likewise.
85193         * libio/oldiofdopen.c: Likewise.
85194         * libio/oldiofopen.c: Likewise.
85195         * libio/oldiopopen.c: Likewise.
85196         * libio/wfiledoalloc.c: Likewise.
85197         * libio/wgenops.c: Likewise.
85198         * locale/programs/xmalloc.c: Likewise.
85199         * misc/syslog.c: Likewise.
85200         * stdio-common/xbug.c: Likewise.
85201         * string/memchr.c: Likewise.
85202         * string/memcmp.c: Likewise.
85203         * string/memrchr.c: Likewise.
85204         * string/rawmemchr.c: Likewise.
85205         * sysdeps/posix/getcwd.c: Likewise.
85206         * time/strftime_l.c: Likewise.
85208 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85210         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85211         * config.make.in (config-cflags-sse2avx): Define.
85212         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85213         Fix typo.
85215 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
85217         * scripts/config.guess: Update from upstream config git repository.
85218         * scripts/config.sub: Likewise.
85220 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
85222         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85223         (EM_NUM): Update.
85224         (R_TILEPRO_*, R_TILEGX_*): New macros.
85226         * scripts/firstversions.awk: Fix bug in version range handling.
85228         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85230         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85232         * include/sys/epoll.h: New file.
85233         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85234         libc_hidden_def.
85236 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
85238         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85239         Avoid unnecessary __WORDSIZE == 64 test.
85240         (fmaxf): Use VEX format if possible.
85241         (fmax): Likewise.
85242         (fminf): Likewise.
85243         (fmin): Likewise.
85245         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85246         * math/math_private.h: Remove libc_fegetround* and
85247         libc_fesetround*.
85248         * sysdeps/i386/configure.in: Check for -msse2avx.
85249         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85250         also if SSE2AVX is defined.
85251         Remove libc_fegetround* and libc_fesetround*.
85252         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85253         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
85254         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85255         of HAS_YMM_USABLE.
85256         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85257         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85258         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85259         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85260         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85262         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85264 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85266         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85267         size is not set.
85268         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85270 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
85272         [BZ #13618]
85273         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85274         relocation.
85275         * Makeconfig (libm): Define.
85276         * elf/Makefile: Add rules to build and run tst-relsort1.
85277         * elf/tst-relsort1.c: New file.
85278         * elf/tst-relsort1mod1.c: New file.
85279         * elf/tst-relsort1mod2.c: New file.
85281 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
85283         * math/s_ldexp.c: Remove __STDC__ conditionals.
85284         * math/s_ldexpf.c: Likewise.
85285         * math/s_ldexpl.c: Likewise.
85286         * math/s_nextafter.c: Likewise.
85287         * math/s_nexttowardf.c: Likewise.
85288         * math/s_significand.c: Likewise.
85289         * math/s_significandf.c: Likewise.
85290         * math/s_significandl.c: Likewise.
85291         * math/w_jnl.c: Likewise.
85292         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85293         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85294         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85295         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85296         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85297         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85298         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
85299         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85300         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85301         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85302         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85303         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85304         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85305         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85306         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85307         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85308         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85309         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85311         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85312         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85313         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85314         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85315         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85316         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85317         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85318         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85319         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85320         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85321         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85322         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85323         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85324         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85325         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85326         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85327         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85328         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85329         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85330         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85331         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85332         * sysdeps/ieee754/k_standard.c: Likewise.
85333         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85334         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85335         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85336         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85337         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85338         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85339         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85340         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85341         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85342         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85343         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85344         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85345         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85346         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85347         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85348         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85349         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85350         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85351         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85352         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85353         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85354         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85355         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85356         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85357         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85358         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85359         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85360         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85361         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85362         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85363         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85364         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
85365         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85366         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85367         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85368         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85369         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
85370         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85371         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85372         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
85373         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
85374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85375         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
85376         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
85377         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85378         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
85379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
85380         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85381         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85382         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
85383         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
85384         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85385         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85386         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85387         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85388         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85389         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
85390         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85391         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85392         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85393         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85394         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85395         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85396         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85397         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85398         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85399         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85400         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85401         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85402         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85403         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85404         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85405         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85406         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85407         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85408         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85409         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85410         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85411         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85412         * sysdeps/ieee754/s_matherr.c: Likewise.
85413         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85414         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85415         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85416         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85418 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85420         * crypt/md5.h: Remove __STDC__ conditionals.
85421         * libio/libioP.h: Likewise.
85422         * locale/programs/config.h: Likewise.
85423         * sysdeps/generic/sysdep.h: Likewise.
85424         * sysdeps/i386/asm-syntax.h: Likewise.
85425         * sysdeps/s390/asm-syntax.h: Likewise.
85426         * sysdeps/unix/sysdep.h: Likewise.
85427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
85428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
85430 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85432         * libio/libio.h: Remove __STDC__ conditionals.
85433         * malloc/obstack.h: Likewise.
85434         * math/complex.h: Likewise.
85435         * math/math.h: Likewise.
85436         * sysdeps/generic/_G_config.h: Likewise.
85437         * sysdeps/gnu/_G_config.h: Likewise.
85438         * sysdeps/mach/hurd/_G_config.h: Likewise.
85439         * sysdeps/powerpc/bits/mathdef.h: Likewise.
85440         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85441         * sysdeps/sparc/bits/mathdef.h: Likewise.
85443 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
85445         [BZ #13583]
85446         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
85447         Clean up HAS_* macros.
85448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
85449         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
85450         possible.
85451         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
85452         HAS_AVX.
85453         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85454         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85455         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85456         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85457         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85459 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
85461         * elf/tst-unique3.cc (gets): Remove declaration.
85462         * elf/tst-unique3lib.cc (gets): Likewise.
85463         * elf/tst-unique3lib2.cc (gets): Likewise.
85464         * elf/tst-unique4.cc (gets): Likewise.
85466 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
85468         * include/stdio.h: Add C++ protection.  Add gets declarations and
85469         definitions.
85470         * debug/tst-chk1.c: Don't declare gets here.
85471         * stdio-common/tst-gets.c: Likewise.
85473 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85475         * posix/glob: Remove directory.
85477 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85479         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
85481 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
85483         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
85484         of the non-standard EPFNOSUPPORT.
85486 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85488         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
85489         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
85490         ANYWHERE set to 1 only on KERN_NO_SPACE error.
85492 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
85494         * wcsmbs/uchar.h: Test __STDC_VERSION__.
85496 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
85498         * nscd/aicache.c (addhstaiX): Do not cache negative results of
85499         transient errors.
85500         * nscd/grpcache.c (cache_addgr): Likewise.
85501         * nscd/hstcache.c (cache_addhst): Likewise.
85502         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85503         * nscd/pwdcache.c (cache_addpw): Likewise.
85504         * nscd/servicescache.c (cache_addserv): Likewise.
85506 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
85508         * malloc/malloc.c: Various cleanups.
85509         * malloc/hooks.c: Likewise.
85511         * stdlib/Makefile (tests): Add bug-fmtmsg1.
85512         * stdlib/bug-fmtmsg1.c: New file.
85514         * stdlib/fmtmsg.c (init): Add missing unlock.
85515         Patch by Peng Haitao <penght@cn.fujitsu.com>.
85517 2012-01-12  Marek Polacek  <polacek@redhat.com>
85519         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
85520         and _GNU_SOURCE.
85522 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85524         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
85525         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
85526         macro to ensure uniqueness of label name.
85527         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85528         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85530 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
85532         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
85534         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
85535         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85536         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85537         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
85539 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
85541         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
85543         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
85544         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85545         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85547         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
85549         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
85550         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85551         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85552         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
85554         * math/bits/math-finite.h: Add ldexp support.
85556 2012-01-10  Marek Polacek  <polacek@redhat.com>
85558         * locale/programs/localedef.h (show_archive_content): Add noreturn
85559         attribute.
85561 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
85563         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
85565 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85567         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
85569         * io/Makefile (headers): Add bits/poll2.h.
85571 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
85573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
85574         typo #include statement.
85576 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85578         * include/sys/cdefs.h: Define __attribute_alloc_size.
85579         * catgets/gencat.c: Add alloc_size attribute and apply consistently
85580         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
85581         * elf/pldd.c: Likewise.
85582         * iconv/iconv_charmap.c: Likewise.
85583         * iconv/iconvconfig.c: Likewise.
85584         * iconv/strtab.c: Likewise.
85585         * locale/programs/locale.c: Likewise.
85586         * locale/programs/localedef.h: Likewise.
85587         * locale/programs/simple-hash.c: Likewise.
85588         * nscd/nscd.h: Likewise.
85589         * nss/makedb.c: Likewise.
85590         * sysdeps/generic/ldconfig.h: Likewise.
85591         * locale/programs/localedef.c: Remove xmalloc prototype.
85592         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
85594 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85596         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
85597         appropriate.
85599 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85601         * math/Makefile (tests): Add tst-CMPLX.
85602         * math/tst-CMPLX.c: New file.
85604         * math/complex.h (CMPLXL): Fix typo.
85606         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
85607         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
85608         GLIBC_2.16.
85609         * debug/tst-chk1.c: Add poll and ppoll tests.
85610         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
85611         * include/sys/poll.h: Add hidden proto for ppoll.
85612         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
85613         * sysdeps/mach/hurd/ppoll.c: Likewise.
85614         * io/ppoll.c: Likewise.
85615         * debug/poll_chk.c: New file.
85616         * debug/ppoll_chk.c: New file.
85617         * include/bits/poll2.h: New file.
85618         * io/bits/poll2.h: New file.
85620         [BZ #1350]
85621         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85623         * configure.in: static is always set to yes.  Remove.
85624         * config.make.in: Don't set build-static.
85625         * Makeconfig: Remove use of build-static.
85626         * dlfcn/Makefile: Likewise.
85627         * elf/Makefile: Likewise.
85628         * math/Makefile: Likewise.
85629         * misc/Makefile: Likewise.
85630         * nptl/Makefile: Likewise.
85631         * sysdeps/mach/hurd/Makefile: Likewise.
85633         * configure.in: PWD_P is not used anymore.
85634         * config.make.in: Remove PWD_P entry.
85636         * configure.in: Remove last remnants of RANLIB.
85637         No need to check for signed size_t anymore.
85638         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85639         and IA-64.
85640         Remove __builtin_expect test because we require at least gcc 3.4.
85641         * aclocal.m4: Likewise.
85643         * wcsmbs/mbrtoc16.c: Implement using towc function.
85644         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85645         * wcsmbs/wcsmbsload.c: Likewise.
85646         * iconv/gconv_simple.c: Likewise.
85647         * iconv/gconv_int.h: Likewise.
85648         * iconv/gconv_builtin.h: Likewise.
85649         * iconv/iconv_prog.c: Remove CHAR16 handling.
85651         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85653         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85655         * configure.in: Remove --with-elf and --enable-bounded options.
85656         Dont set base_machine for ia64.  More non-ELF conditions removed.
85657         Remove testing and setting of leading underscore information.
85658         * config.make.in (build-bounded): Set to no.
85659         * config.h.in: Remove NO_UNDERSCORES entry.
85660         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85661         them.
85662         * csu/start.c: Remove !NO_UNDERSCORE code.
85663         * locale/localeinfo.h: Likewise.
85664         * sysdeps/generic/machine-gmon.h: Likewise.
85665         * sysdeps/generic/sysdep.h: Likewise.
85666         * sysdeps/i386/sysdep.h: Likewise.
85667         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85668         * sysdeps/mach/sysdep.h: Likewise.
85669         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85670         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85671         * sysdeps/sh/sysdep.h: Likewise.
85672         * sysdeps/sparc/sparc32/alloca.S: Likewise.
85673         * sysdeps/unix/i386/sysdep.S: Likewise.
85674         * sysdeps/unix/sparc/start.c: Likewise.
85675         * sysdeps/unix/sparc/sysdep.S: Likewise.
85676         * sysdeps/unix/sparc/sysdep.h: Likewise.
85677         * sysdeps/unix/start.c: Likewise.
85678         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85679         * sysdeps/x86_64/sysdep.h: Likewise.
85681 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
85683         [BZ #13553]
85684         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
85685         for non-gcc.
85686         * argp/argp-fmtstream.h: Use const instead __const.
85687         * argp/argp.h: Likewise.
85688         * assert/assert.h: Likewise.
85689         * bits/fenv.h: Likewise.
85690         * bits/sched.h: Likewise.
85691         * bits/sigset.h: Likewise.
85692         * bits/sigthread.h: Likewise.
85693         * catgets/nl_types.h: Likewise.
85694         * conform/data/pthread.h-data: Likewise.
85695         * crypt/crypt-private.h: Likewise.
85696         * crypt/crypt.h: Likewise.
85697         * crypt/crypt_util.c: Likewise.
85698         * ctype/ctype.h: Likewise.
85699         * debug/execinfo.h: Likewise.
85700         * debug/mbsnrtowcs_chk.c: Likewise.
85701         * debug/mbsrtowcs_chk.c: Likewise.
85702         * debug/wcsnrtombs_chk.c: Likewise.
85703         * debug/wcsrtombs_chk.c: Likewise.
85704         * debug/wcstombs_chk.c: Likewise.
85705         * dirent/dirent.h: Likewise.
85706         * dlfcn/dlfcn.h: Likewise.
85707         * elf/neededtest4.c: Likewise.
85708         * grp/grp.h: Likewise.
85709         * gshadow/gshadow.h: Likewise.
85710         * iconv/gconv.h: Likewise.
85711         * iconv/gconv_int.h: Likewise.
85712         * iconv/gconv_simple.c: Likewise.
85713         * iconv/iconv.h: Likewise.
85714         * iconv/loop.c: Likewise.
85715         * iconv/skeleton.c: Likewise.
85716         * include/aio.h: Likewise.
85717         * include/aliases.h: Likewise.
85718         * include/argz.h: Likewise.
85719         * include/arpa/inet.h: Likewise.
85720         * include/assert.h: Likewise.
85721         * include/dirent.h: Likewise.
85722         * include/dlfcn.h: Likewise.
85723         * include/execinfo.h: Likewise.
85724         * include/fcntl.h: Likewise.
85725         * include/fenv.h: Likewise.
85726         * include/glob.h: Likewise.
85727         * include/grp.h: Likewise.
85728         * include/libintl.h: Likewise.
85729         * include/mntent.h: Likewise.
85730         * include/netdb.h: Likewise.
85731         * include/pwd.h: Likewise.
85732         * include/rpc/netdb.h: Likewise.
85733         * include/sched.h: Likewise.
85734         * include/search.h: Likewise.
85735         * include/shadow.h: Likewise.
85736         * include/signal.h: Likewise.
85737         * include/stdio.h: Likewise.
85738         * include/stdlib.h: Likewise.
85739         * include/string.h: Likewise.
85740         * include/sys/socket.h: Likewise.
85741         * include/sys/stat.h: Likewise.
85742         * include/sys/statfs.h: Likewise.
85743         * include/sys/statvfs.h: Likewise.
85744         * include/sys/syslog.h: Likewise.
85745         * include/sys/time.h: Likewise.
85746         * include/sys/uio.h: Likewise.
85747         * include/time.h: Likewise.
85748         * include/unistd.h: Likewise.
85749         * include/utmp.h: Likewise.
85750         * include/wchar.h: Likewise.
85751         * include/wctype.h: Likewise.
85752         * inet/aliases.h: Likewise.
85753         * inet/arpa/inet.h: Likewise.
85754         * inet/netinet/ether.h: Likewise.
85755         * inet/netinet/in.h: Likewise.
85756         * intl/libintl.h: Likewise.
85757         * io/bits/fcntl2.h: Likewise.
85758         * io/fcntl.h: Likewise.
85759         * io/ftw.h: Likewise.
85760         * io/sys/poll.h: Likewise.
85761         * io/sys/stat.h: Likewise.
85762         * io/sys/statfs.h: Likewise.
85763         * io/sys/statvfs.h: Likewise.
85764         * io/utime.h: Likewise.
85765         * libio/bits/stdio.h: Likewise.
85766         * libio/bits/stdio2.h: Likewise.
85767         * libio/libio.h: Likewise.
85768         * libio/libioP.h: Likewise.
85769         * libio/stdio.h: Likewise.
85770         * locale/lc-ctype.c: Likewise.
85771         * locale/locale.h: Likewise.
85772         * login/utmp.h: Likewise.
85773         * malloc/arena.c: Likewise.
85774         * malloc/malloc.c: Likewise.
85775         * malloc/malloc.h: Likewise.
85776         * malloc/mcheck.c: Likewise.
85777         * malloc/mtrace.c: Likewise.
85778         * math/bits/mathcalls.h: Likewise.
85779         * math/fenv.h: Likewise.
85780         * math/math_private.h: Likewise.
85781         * misc/bits/error.h: Likewise.
85782         * misc/bits/syslog.h: Likewise.
85783         * misc/err.h: Likewise.
85784         * misc/error.h: Likewise.
85785         * misc/fstab.h: Likewise.
85786         * misc/mntent.h: Likewise.
85787         * misc/regexp.h: Likewise.
85788         * misc/search.h: Likewise.
85789         * misc/sgtty.h: Likewise.
85790         * misc/sys/mman.h: Likewise.
85791         * misc/sys/syslog.h: Likewise.
85792         * misc/sys/uio.h: Likewise.
85793         * misc/sys/xattr.h: Likewise.
85794         * misc/ttyent.h: Likewise.
85795         * nis/rpcsvc/ypclnt.h: Likewise.
85796         * nss/nss.h: Likewise.
85797         * posix/bits/unistd.h: Likewise.
85798         * posix/fnmatch.h: Likewise.
85799         * posix/glob.h: Likewise.
85800         * posix/sched.h: Likewise.
85801         * posix/spawn.h: Likewise.
85802         * posix/sys/wait.h: Likewise.
85803         * posix/unistd.h: Likewise.
85804         * posix/wordexp.h: Likewise.
85805         * pwd/pwd.h: Likewise.
85806         * resolv/netdb.h: Likewise.
85807         * resource/sys/resource.h: Likewise.
85808         * rt/aio.h: Likewise.
85809         * rt/bits/mqueue2.h: Likewise.
85810         * rt/mqueue.h: Likewise.
85811         * shadow/shadow.h: Likewise.
85812         * signal/signal.h: Likewise.
85813         * socket/send.c: Likewise.
85814         * socket/sendto.c: Likewise.
85815         * socket/sys/socket.h: Likewise.
85816         * stdio-common/printf.h: Likewise.
85817         * stdlib/bits/stdlib.h: Likewise.
85818         * stdlib/fmtmsg.h: Likewise.
85819         * stdlib/monetary.h: Likewise.
85820         * stdlib/stdlib.h: Likewise.
85821         * stdlib/ucontext.h: Likewise.
85822         * streams/stropts.h: Likewise.
85823         * string/argz.h: Likewise.
85824         * string/bits/string2.h: Likewise.
85825         * string/string.h: Likewise.
85826         * string/strings.h: Likewise.
85827         * sunrpc/rpc/auth.h: Likewise.
85828         * sunrpc/rpc/auth_des.h: Likewise.
85829         * sunrpc/rpc/clnt.h: Likewise.
85830         * sunrpc/rpc/netdb.h: Likewise.
85831         * sunrpc/rpc/pmap_clnt.h: Likewise.
85832         * sunrpc/rpc/xdr.h: Likewise.
85833         * sysdeps/generic/inttypes.h: Likewise.
85834         * sysdeps/generic/net/if.h: Likewise.
85835         * sysdeps/generic/sys/swap.h: Likewise.
85836         * sysdeps/gnu/net/if.h: Likewise.
85837         * sysdeps/gnu/utmpx.h: Likewise.
85838         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
85839         * sysdeps/i386/i486/bits/string.h: Likewise.
85840         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
85841         * sysdeps/s390/bits/string.h: Likewise.
85842         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
85843         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
85844         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
85845         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
85846         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
85847         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
85848         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
85849         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
85850         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
85851         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
85852         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
85853         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
85854         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
85855         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
85856         * sysdeps/unix/sysv/linux/readv.c: Likewise.
85857         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
85858         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
85859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85860         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
85861         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
85862         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85863         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
85864         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
85865         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
85866         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
85867         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
85868         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
85869         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85870         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
85871         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
85872         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
85873         * sysvipc/sys/ipc.h: Likewise.
85874         * sysvipc/sys/msg.h: Likewise.
85875         * sysvipc/sys/sem.h: Likewise.
85876         * sysvipc/sys/shm.h: Likewise.
85877         * termios/termios.h: Likewise.
85878         * time/sys/time.h: Likewise.
85879         * time/time.h: Likewise.
85880         * wcsmbs/bits/wchar2.h: Likewise.
85881         * wcsmbs/uchar.h: Likewise.
85882         * wcsmbs/wchar.h: Likewise.
85883         * wctype/wctype.h: Likewise.
85885         [BZ #13551]
85886         * Makeconfig: Remove all but ELF support including AIX support.
85887         * Makerules: Likewise.
85888         * config.h.in: Likewise.
85889         * config.make.in: Likewise.
85890         * configure: Likewise.
85891         * configure.in: Likewise.
85892         * csu/Makefile: Likewise.
85893         * csu/version.c: Likewise.
85894         * debug/Makefile: Likewise.
85895         * dlfcn/Makefile: Likewise.
85896         * elf/Makefile: Likewise.
85897         * extra-lib.mk: Likewise.
85898         * iconv/Makefile: Likewise.
85899         * include/libc-symbols.h: Likewise.
85900         * include/shlib-compat.h: Likewise.
85901         * resolv/Makefile: Likewise.
85902         * resolv/res_libc.c: Likewise.
85903         * rt/Makefile: Likewise.
85904         * sysdeps/i386/asm-syntax.h: Likewise.
85905         * sysdeps/i386/sysdep.h: Likewise.
85906         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85907         * sysdeps/mach/sysdep.h: Likewise.
85908         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
85909         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
85910         * sysdeps/s390/asm-syntax.h: Likewise.
85911         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85912         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85913         * sysdeps/sh/sysdep.h: Likewise.
85914         * sysdeps/unix/sparc/sysdep.h: Likewise.
85915         * sysdeps/wordsize-32/divdi3.c: Likewise.
85916         * sysdeps/x86_64/sysdep.h: Likewise.
85918         * argp/Versions: Remove _argp_unlock_xxx.
85920         [BZ #13559]
85921         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
85922         * abilist/libBrokenLocale.abilist: Likewise.
85923         * abilist/libanl.abilist: Likewise.
85924         * abilist/libc.abilist: Likewise.
85925         * abilist/libcrypt.abilist: Likewise.
85926         * abilist/libdl.abilist: Likewise.
85927         * abilist/libm.abilist: Likewise.
85928         * abilist/libnsl.abilist: Likewise.
85929         * abilist/libpthread.abilist: Likewise.
85930         * abilist/libresolv.abilist: Likewise.
85931         * abilist/librt.abilist: Likewise.
85932         * abilist/libthread_db.abilist: Likewise.
85933         * abilist/libutil.abilist: Likewise.
85934         * abilist/libnss_db.abilist: New file.
85936         * scripts/abilist.awk: Add support for indirect functions.
85938         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
85940         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
85942         * shlib-versions: Remove entries for ports architectures.
85944         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
85945         files in ports.
85946         * elf/stackguard-macros.h: Remove support for IA-64.
85947         * elf/tst-auditmod1.c: Likewise.
85948         * sysdeps/generic/ldsodefs.h: Likewise.
85950         * sysdeps/unix/sysv/linux/configure.in: Ports should define
85951         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
85952         configure files.
85954         [BZ #13552]
85955         * configure.in: Remove --enable-omitfp support.
85956         * FAQ.in: Adjust.
85957         * config.make.in: Likewise.
85958         * Makeconfig: Likewise.
85959         * manual/install.texi: Likewise.
85961         In case anyone cares, the IA-64 architecture could move to ports.
85962         * sysdeps/ia64/*: Removed.
85963         * sysdeps/unix/sysv/linux/ia64/*: Removed.
85964         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
85966         [BZ #13555]
85967         * configure.in: Remove entries for unsupported architectures.
85969         [BZ #13533]
85970         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
85971         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
85972         routines.
85973         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
85974         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
85975         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
85976         fall back to using wcrtomb.
85977         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
85978         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
85979         renaming.
85980         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
85981         * wcsmbs/tst-c16c32-1.c: New file.
85983         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
85984         local variable.
85986         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
85988         * elf/tst-unique3.cc: Add explicit declaration of gets.
85989         * elf/tst-unique3lib.cc: Likewise.
85990         * elf/tst-unique3lib2.cc: Likewise.
85991         * elf/tst-unique4.cc: Likewise.
85993         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
85995 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
85997         [BZ #13566]
85998         * assert/assert.h (static_assert): Don't define for C++.
85999         * libio/stdio.h (gets): Do declare for C++ <= C++11.
86000         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86002 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
86004         * iconv/loop.c (single loop): Fix assertion in storing of
86005         remaining bytes.
86007         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86009 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
86011         * posix/getconf.c: Update copyright year.
86012         * nss/getent.c: Likewise.
86013         * nss/makedb.c: Likewise.
86014         * iconv/iconvconfig.c: Likewise.
86015         * iconv/iconv_prog.c: Likewise.
86016         * elf/ldconfig.c: Likewise.
86017         * elf/pldd.c: Likewise.
86018         * elf/sotruss.ksh: Likewise.
86019         * catgets/gencat.c: Likewise.
86020         * csu/version.c: Likewise.
86021         * elf/ldd.bash.in: Likewise.
86022         * elf/sprof.c (print_version): Likewise.
86023         * locale/programs/locale.c: Likewise.
86024         * locale/programs/localedef.c: Likewise.
86025         * login/programs/pt_chown.c: Likewise.
86026         * nscd/nscd.c (print_version): Likewise.
86027         * debug/xtrace.sh: Likewise.
86028         * malloc/memusage.sh: Likewise.
86029         * malloc/mtrace.pl: Likewise.
86030         * debug/catchsegv.sh: Likewise.
86032 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
86034         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86035         pure attribute.
86037 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
86039         [BZ #13533]
86040         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86041         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86042         transformations.
86043         * iconv/gconv_int.h: Likewise.
86044         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86045         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86046         from libc for GLIBC_2.16.
86047         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86048         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86049         * wcsmbs/uchar.h: Really define mbstate_t.
86050         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86051         * wcsmbs/c16rtomb.c: New file.
86052         * wcsmbs/mbrtoc16.c: New file.
86053         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86054         for C/POSIX locale.
86055         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86056         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86058         * wcsmbs/wchar.h: Add missing __restrict.
86060 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86062         [BZ #13532]
86063         * time/Makefile (routines): Add timespec_get.
86064         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86065         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86066         timespec for ISO C11.
86067         * time/timespec_get.c: New file.
86068         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86069         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86071         [BZ #13531]
86072         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86073         * stdlib/stdlib.h: Declare aligned_alloc.
86074         * Versions.def: Add GLIBC_2.16 for libc.
86075         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86077         [BZ 13527]
86078         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86079         ISO C11.
86081         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86082         code.
86084         [BZ #13528]
86085         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86087         [BZ #13529]
86088         * assert/assert.h (static_assert): Define.
86090         * version.h: Update for 2.16 development version.
86092         [BZ #13526]
86093         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86094         _ISOC11_SOURCE.
86096         * version.h (RELEASE): Bump for 2.15 release.
86097         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86099         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86100         Patch by Marek Polacek <mpolacek@redhat.com>.
86102         * bits/byteswap.h: Protect long long constants with __extension__.
86103         * sysdeps/i386/bits/byteswap.h: Likewise.
86104         * sysdeps/ia64/bits/byteswap.h: Likewise.
86105         * sysdeps/s390/bits/byteswap.h: Likewise.
86106         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86108 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86110         [BZ #13540]
86111         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86112         destination buffer.
86113         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86115 2011-12-23  Marek Polacek  <polacek@redhat.com>
86117         * elf/dl-addr.c (determine_info): Add inline keyword.
86118         * elf/tst-auditmod4b.c (check_avx): Likewise.
86119         * elf/tst-auditmod6b.c (check_avx): Likewise.
86120         * elf/tst-auditmod6c.c (check_avx): Likewise.
86121         * elf/tst-auditmod7b.c (check_avx): Likewise.
86123 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86125         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86126         !__SSE_MATH__.
86128 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86130         [BZ #13540]
86131         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86132         processing for last bytes.
86134 2011-08-06  Bruno Haible  <bruno@clisp.org>
86136         [BZ #13061]
86137         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86138         U+0385, not to U+1FEE.
86140         [BZ #13062]
86141         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86142         entry for U+00A5 U+0301.
86144 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86146         [BZ #13166]
86147         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86148         buffer for the output is too small.
86150         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86151         optimization.
86153         [BZ #13185]
86154         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86155         SSE flags if possible.
86157 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86159         [BZ #13540]
86160         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86161         processing for last bytes.
86163 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86165         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86166         (syscall-list-default-options, syscall-list-default-condition)
86167         (syscall-list-includes): Define.
86168         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86169         list of ABIs and options and #if conditions for each ABI.  Do not
86170         handle common syscalls between ABIs specially.
86171         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86172         Remove.
86173         (syscall-list-variants, syscall-list-32bit-options)
86174         (syscall-list-32bit-condition, syscall-list-64bit-options)
86175         (syscall-list-64bit-condition): Define.
86176         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86177         (syscall-list-variants, syscall-list-32bit-options)
86178         (syscall-list-32bit-condition, syscall-list-64bit-options)
86179         (syscall-list-64bit-condition): Define.
86180         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86181         Remove.
86182         (syscall-list-variants, syscall-list-32bit-options)
86183         (syscall-list-32bit-condition, syscall-list-64bit-options)
86184         (syscall-list-64bit-condition): Define.
86185         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86186         Remove.
86187         (syscall-list-variants, syscall-list-32bit-options)
86188         (syscall-list-32bit-condition, syscall-list-64bit-options)
86189         (syscall-list-64bit-condition): Define.
86191 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86193         * locale/iso-639.def: Add brx entry.
86195         [BZ #13328]
86196         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86197         Proposed by Mariusz_Cukr <marcukr@op.pl>.
86199         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86200         __feraiseexcept_renamed.
86202 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86204         [BZ #13538]
86205         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86206         EPOLLET with unsigned values.
86207         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86208         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86210         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86211         to large cancellation.
86212         * math/s_cacoshf.c: Likewise.
86213         * math/s_cacoshl.c: Likewise.
86215 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
86217         [BZ #13305]
86218         [BZ #12786]
86219         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86220         * math/s_cacoshf.c: Likewise.
86221         * math/s_cacoshl.c: Likewise.
86223 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86225         [BZ #13439]
86226         * iconv/gconv.h: Define __GCONV_SWAP.
86227         * iconvdata/unicode.c: The swap bit must be stored in __flags.
86228         * iconvdata/utf-16.c: Likewise.
86229         * iconvdata/utf-32.c: Likewise.
86231 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
86233         [BZ #13524]
86234         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86235         numerator after shifting it by one limb.
86237 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
86239         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86240         under [__USE_EXTERN_INLINES].
86242 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86244         [BZ #13446]
86245         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86247 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86249         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86250         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86251         optimized code.
86252         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86253         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86254         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86255         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86256         for strncasecmp/strncasecmp_l compilation.
86257         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86258         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86260 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
86262         [BZ #13484]
86263         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86264         of __asm__.
86266 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86268         [BZ #13506]
86269         * time/tzfile.c (__tzfile_read): Check values from file header.
86271 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
86273         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86274         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86275         * powerpc/powerpc32/dl-start.S: Likewise.
86276         * powerpc/powerpc32/elf/start.S: Likewise.
86277         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86278         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86279         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86280         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86281         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86282         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86283         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86284         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86285         * powerpc/powerpc32/fpu/s_round.S: Likewise.
86286         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86287         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86288         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86289         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86290         * powerpc/powerpc32/memset.S: Likewise.
86291         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
86292         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
86293         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
86294         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
86295         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
86296         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
86297         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
86298         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86299         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
86300         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
86301         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
86302         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86303         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86305 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86307         * math/libm-test.inc: Added more nearbyint tests.
86308         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
86309         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
86310         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
86311         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
86313 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
86315         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86316         FD_CLOEXEC.
86318 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86320         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
86321         Add wcscpy-ssse3 wcscpy-c.
86322         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
86323         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
86324         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
86325         * sysdeps/x86_64/wcschr.S: New file.
86326         * sysdeps/x86_64/wcsrchr.S: New file.
86327         * string/test-strcmp.c: Remove checking of wcscmp function for
86328         wrong alignments.
86329         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
86330         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
86331         wcsrchr-sse2 wcsrchr-c.
86332         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
86333         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
86334         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
86335         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
86336         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
86337         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
86338         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
86339         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
86340         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
86341         * wcsmbc/wcschr.c (WCSCHR): New macro.
86343 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86345         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
86346         * wcsmbs/test-wcsrchr.c: New file.
86347         * string/test-strrchr.c: Add wcsrchr support.
86348         (WIDE): New macro.
86349         * wcsmbs/test-wcscpy.c: New file.
86350         * string/test-strcpy.c: Add wcscpy support.
86351         (WIDE): New macro.
86353 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
86355         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
86356         the inner loop.
86358 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
86360         [BZ #13472]
86361         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
86363 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
86365         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
86366         Minor optimizations.
86368         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
86369         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
86370         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
86372 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
86374         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
86375         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
86376         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
86377         for gcc to avoid warnings.
86378         * inet/Makefile (tests): Add tst-checks.
86379         * inet/tst-checks.c: New file.
86381         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
86382         warning.
86384         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
86385         __wmemcmp_sse2.
86387         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
86388         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
86390         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
86392 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
86394         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
86395         problem.
86397         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
86399 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
86401         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
86402         conditional on GCC version.
86403         (__arch_compare_and_exchange_val_8_acq)
86404         (__arch_compare_and_exchange_val_16_acq)
86405         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
86406         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
86407         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
86409 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
86411         * sysdeps/sh/backtrace.c: New file.
86413 2011-12-02  Andreas Schwab  <schwab@redhat.com>
86415         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
86416         parenthesis.
86418 2011-12-01  Andreas Schwab  <schwab@redhat.com>
86420         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
86421         falling back to utime.
86423 2011-11-30  Andreas Schwab  <schwab@redhat.com>
86425         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
86426         expectations for float.
86428 2011-11-29  Andreas Schwab  <schwab@redhat.com>
86430         * locale/weight.h (findidx): Add parameter len.
86431         * locale/weightwc.h (findidx): Likewise.
86432         * posix/fnmatch_loop.c (FCT): Adjust caller.
86433         * posix/regcomp.c (build_equiv_class): Likewise.
86434         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
86435         * posix/regexec.c (check_node_accept_bytes): Likewise.
86436         * string/strcoll_l.c (STRCOLL): Likewise.
86437         * string/strxfrm_l.c (STRXFRM): Likewise.
86439 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
86441         * Makefile.in: Remove CVSOPT handling.
86442         * configure.in: Remove use of AC_REVISION.
86443         * iconvdata/Makefile (distribute): No need to filter out CVS.
86444         * scripts/list-sources.sh: Remove CVS, subversion and monotone
86445         handling.
86447 2011-11-16  Andreas Schwab  <schwab@redhat.com>
86449         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
86450         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
86451         [USE_AS_STRNCASECMP_L]: Likewise.
86452         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
86453         NO_TLS_DIRECT_SEG_REFS.
86454         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
86455         Fix argument offsets for non-PIC.
86456         [USE_AS_STRNCASECMP_L]: Likewise.
86457         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
86458         NO_TLS_DIRECT_SEG_REFS.
86460 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86462         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
86463         O_CLOEXEC.
86464         * locale/loadlocale.c (_nl_load_locale): Likewise.
86466 2011-11-15  Andreas Schwab  <schwab@redhat.com>
86468         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
86469         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
86470         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
86471         (SYSCALL_GETTIME): Set errno on error.
86473         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
86474         count references to noai6ai_cached.
86476 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86478         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
86480         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
86481         FD_CLOEXEC for /proc/self/maps.
86483         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
86484         FD_CLOEXEC for /proc/meminfo.
86486         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
86487         gai.conf.
86489         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
86490         FD_CLOEXEC for given file.
86492         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
86494         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
86495         FD_CLOEXEC for /etc/hosts.
86496         (_gethtent): Likewise.
86498         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
86500         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
86501         cancellation and set FD_CLOEXEC for /etc/netgroup.
86503         * nss/nss_files/files-key.c (search): Don't allow cancellation when
86504         reading /etc/publickey.
86506         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
86507         allow cancellation when reading /etc/group.
86509         * nss/nss_files/files-alias.c (internal_setent): Don't allow
86510         cancellation.
86511         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
86513         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
86514         when using data file.
86516         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
86518         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
86519         (write_nis_obj): Use "c" and "e" in fopen.
86521         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
86523         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
86525         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
86527         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
86529         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
86530         locale.alias.
86532         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
86534         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
86536         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
86538         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
86539         file parsing and set FD_CLOEXEC.
86541 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86543         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
86545 2011-11-14  Andreas Schwab  <schwab@redhat.com>
86547         * malloc/arena.c (arena_get2): Don't call reused_arena when
86548         _int_new_arena failed.
86550 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86552         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
86553         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
86554         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
86555         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86556         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86557         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
86558         to compile strcasecmp and strncasecmp.
86559         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
86560         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
86562         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
86564 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
86566         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
86567         locale-defines.sym to gen-as-const-headers.
86568         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
86569         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
86570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
86571         to compile strcasecmp and strncasecmp.
86572         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
86573         strcasecmp_l and strncasecmp_l.
86574         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
86575         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
86576         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
86577         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
86578         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
86579         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
86580         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
86581         * sysdeps/i386/i686/multiarch/strncase.S: New file.
86582         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
86583         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
86584         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
86586 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
86588         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
86589         result of SYSDEP_GETTIME_CPU to retval.
86590         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
86591         parameter list to macro.  Remove trailing semicolon.  Adjust users.
86593         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
86594         variable.
86596         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
86597         mantissa words.
86598         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
86600         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
86601         from unused variable.
86603         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
86604         DWARF definitions.
86605         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
86606         for assembling.
86608         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
86609         over namespaces.
86611         * sunrpc/rpc_prot.c (rejected): Fix case value.
86613         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
86614         unsigned long long int to avoid warnings in shift.
86616         * posix/regex_internal.c (re_string_reconstruct): Actually use result
86617         of use of trans.
86618         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
86619         variable tmp.
86621         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
86622         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86623         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86625         * nis/nis_table.c (nis_list): Use variable of correct type for
86626         result of __follow_path call.
86628 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86630         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86631         of math functions ceil, trunc, floor, round, and sqrt, when
86632         avaliable on the platform.
86633         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86634         name clash.
86635         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86636         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86637         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86639 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86641         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86642         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86644 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86646         * include/unistd.h: Fix __readlink return type.
86647         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86649 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86651         * stdlib/ucontext.h: Undo last change for makecontext.
86653 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86655         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86657         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86658         * setjmp/setjmp.h: Mark functions as non-leaf.
86659         * setjmp/bits/setjmp2.h: Likewise.
86660         * stdlib/ucontext.h: Likewise.
86662 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86664         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86665         (reused_arena): Don't check arena limit.
86666         (arena_get2): Atomically check arena limit.
86668 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86670         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86671         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86673         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86674         instructions.
86676 2011-11-07  Andreas Schwab  <schwab@redhat.com>
86678         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86679         handler when locking.
86681         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86682         Fix size of allocated buffer.
86684 2011-11-04  Andreas Schwab  <schwab@redhat.com>
86686         [BZ #10103]
86687         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
86688         declarations for long double functions.
86689         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
86691         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
86693 2011-11-03  Andreas Schwab  <schwab@redhat.com>
86695         * nscd/nscd.c (main): Don't start AVC thread until credentials are
86696         installed.
86698         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
86699         is disabled.
86701 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86703         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
86705 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
86707         * include/alloca.h (stackinfo_alloca_round): Define.
86708         (extend_alloca): Use it.
86709         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
86710         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
86711         here.
86713         * scripts/check-local-headers.sh: Ignore libaudit.h.
86715         * nscd/Makefile (extra-objs): Make recursively expanded.
86717 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
86719         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
86720         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
86722         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
86723         * posix/tst-rfc3484-2.c: Likewise.
86724         * posix/tst-rfc3484-3.c: Likewise.
86726         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86727         process_vm_writev.
86728         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
86729         process_vm_writev.
86730         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
86731         process_vm_writev from libc using GLIBC_2.15 version.
86733         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
86735 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
86737         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
86738         stack usage.
86740 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
86742         [BZ #13367]
86743         * nss/getent.c (initgroups_keys): Show error message in case no group
86744         names are given.
86746         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
86747         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
86748         __bump_nl_timestamp.
86749         * nscd/connections (nscd_init): When host database is served open
86750         netlink socket and request notification about configuration changes.
86751         (main_loop_poll): Track netlink file descriptor and bump timestamp
86752         in case data becomes available.
86753         (main_loop_epoll): Likewise.
86754         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
86755         (database_pers_head): Add extra_data fileds.
86756         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
86757         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
86758         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
86759         Adjust caller.
86760         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
86761         in6ai data, call __free_in6ai.
86762         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
86763         Add -DHAVE_NETLINK.
86764         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
86765         interface information.  Reuse previous data if netlink timestamp
86766         is not changed.
86767         (__bump_nl_timestamp): New function.
86768         (__free_in6ai): New function.
86770 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
86772         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
86773         close_not_cancel_no_status here.
86774         (__check_pf): Reorganize code a bit to not call close twice if OOM.
86776 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86778         [BZ #13276]
86779         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
86780         return value.
86782         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
86783         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
86784         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
86786 2011-07-03  Andreas Jaeger  <aj@suse.de>
86788         [BZ #10709]
86789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
86790         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
86791         * math/libm-test.inc (sin_test): Add test case.
86793 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86795         [BZ #13337]
86796         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
86797         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86799         * elf/chroot_canon.c (chroot_canon): Cleanups.
86801         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
86803         [BZ #13335]
86804         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
86805         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86807         * string/test-strchr.c: Make usable for strchrnul testing.
86808         * string/test-strchrnul.c: New file.
86809         * string/Makefile (strop-tests): Add strchrnul.
86811         * po/it.po: Update from translation team.
86812         * po/es.po: Likewise.
86814 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
86816         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
86817         the three constants needed as parameters.  Drop the others.
86818         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
86819         __m128i_strloadu_tolower.
86820         Create and initialize variable zero and use it in all the places
86821         where _mm_setzero_si128 was used.
86823         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
86824         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
86825         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
86826         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
86827         anymore.
86828         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
86829         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
86830         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
86831         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
86832         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
86833         __mpranred, __mptan.
86834         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
86835         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
86836         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
86837         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
86838         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
86839         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
86840         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
86841         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
86842         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
86844 2011-10-28  Andreas Schwab  <schwab@redhat.com>
86846         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
86847         redefine if SHARED.
86848         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
86850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
86851         wide char related routines to wcsmbs subdir.
86853 2011-10-27  Andreas Schwab  <schwab@redhat.com>
86855         [BZ #13344]
86856         * misc/sys/cdefs.h (__THROWNL): Define.
86857         * posix/unistd.h: Use __THREADNL instead of __THREAD
86858         for memory synchronization functions.
86860 2011-10-26  Roland McGrath  <roland@hack.frob.com>
86862         [BZ #13349]
86863         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
86864         doesn't exist.
86865         * manual/stdio.texi (Obstack Streams): Node removed.
86867 2011-10-26  Andreas Schwab  <schwab@redhat.com>
86869         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
86870         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86871         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86873         * math/math_private.h (math_force_eval): Allow non-addressable
86874         arguments.
86875         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
86877 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86879         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
86880         file is not needed.
86882         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
86883         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
86884         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86885         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86886         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86887         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86888         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86889         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
86890         Add AVX variants.
86891         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
86892         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
86893         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
86894         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
86895         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
86896         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
86897         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
86898         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
86899         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
86900         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
86901         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
86902         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
86903         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
86904         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
86905         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
86906         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
86907         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
86908         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
86909         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
86911         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
86912         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
86914         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
86915         place.  Use VEX encoding when compiling for AVX.
86917 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86919         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
86920         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
86922         * string/test-strchr.c (do_test): Don't generate NUL bytes.
86924 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86926         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
86927         useless if() expression.
86928         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86929         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86930         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86931         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86932         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86933         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86934         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86936         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86937         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86938         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86939         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86940         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86941         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86942         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86943         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86944         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86945         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86946         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86948         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
86950 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86952         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
86953         condition.
86954         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86956 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86958         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
86959         .text section.  Avoid duplicate constants.
86960         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86961         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86962         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86963         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86964         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86965         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86966         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86967         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86968         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
86969         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
86970         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
86971         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
86972         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
86973         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
86974         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
86975         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
86976         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
86977         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
86978         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86979         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86980         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86981         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86982         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86983         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
86984         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
86985         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
86986         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
86987         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
86988         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
86989         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
86990         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
86991         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
86992         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
86993         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
86994         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
86995         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
86996         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
86997         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
86998         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
86999         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87000         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87001         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87002         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87003         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87004         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87006 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
87008         * sysdeps/x86_64/dla.h: Move to ...
87009         * sysdeps/x86_64/fpu/dla.h: ...here.
87010         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87011         situations.  Use __builtin_fma only for gcc 4.6 and up.
87013         * config.make.in: Add have-mfma4 entry.
87014         * configure.in: Substitute libc_cv_cc_fma4.
87015         * math/Makefile (dbl-only-routines): Add sincostab.
87016         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87017         Use __sincostab not sincos.
87018         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87019         name is a macro.
87020         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87022         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87023         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
87024         using __copysign.
87025         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
87026         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
87027         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87028         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87029         and __inv.
87030         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87031         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87032         __copysign.
87033         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
87034         define aliases when function name is a macro.
87035         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87036         sysdeps/ieee754/dbl-64/sincos.tbl.
87037         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87038         fma4-enabled routines.
87039         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87040         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87041         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87042         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87043         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87044         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87045         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87046         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87047         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87048         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87049         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87050         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87051         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87052         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87053         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87054         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87055         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87056         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87057         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87058         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87059         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87060         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87061         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87062         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87063         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87064         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87065         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87066         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87067         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87068         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87070         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87071         rename.
87072         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87073         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87076         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87078         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87079         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87081 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87083         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87085 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87087         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87089         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87090         prediction.
87091         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87093         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87094         Remove unused variable magic_bits.
87095         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87097         * string/strnlen.c: Define and use STRNLEN macro.
87098         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87099         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87100         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87101         * wcsmbs/wcslen.c: Define and use WCSLEN.
87102         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87103         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87104         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87105         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87106         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87107         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87108         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87110 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87113         strnlen-sse2-no-bsf.
87114         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87115         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87116         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87117         Add strnlen support.
87118         (USE_AS_STRNLEN): New macro.
87119         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87120         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87121         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87122         * sysdeps/x86_64/wcslen.S: New file.
87124 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87126         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87127         XMM-moves are used for copying on small sizes.
87129 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87131         * wcsmbs/Makefile (strop-tests): Add wcschr.
87132         * wcsmbs/test-wcschr.c: New file.
87133         * string/test-strchr.c: Update.
87134         Add wcschr support.
87135         (WIDE): New macro.
87137 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87139         * wcsmbs/Makefile (strop-tests): Add wcslen.
87140         * wcsmbs/test-wcslen.c: New file.
87141         * string/test-strlen.c: Update.
87142         Add wcslen support.
87143         (WIDE): New macro.
87145 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87147         * po/it.po: Update from translation team.
87149 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87151         * sysdeps/x86_64/wcscmp.S: Update.
87152         Fix wrong comparison semantics.
87153         wcscmp shall use signed comparison not unsigned.
87154         Don't use substraction to avoid overflow bug.
87155         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87156         * wcsmbc/wcscmp.c: Likewise.
87157         * string/test-strcmp.c: Likewise.
87158         Add new tests to check cases with negative values.
87160 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87162         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87163         * sysdeps/x86_64/dla.h: ...here.  New file.
87164         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87169         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87170         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87171         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87172         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87174 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87177         __ynl_finite aliases.
87179 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87183         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87184         define DLA_FMA.
87185         [DLA_FMA] (EMULV): Use DLA_FMA.
87186         [DLA_FMA] (MUL12): Use EMULV.
87187         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87188         that are not needed.
87189         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87190         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87194         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87195         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87197 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
87199         * math/s_nan.c: Undef __nan.
87200         * math/s_nanf.c: Undef __nanf.
87201         * math/s_nanl.c: Undef __nanl.
87202         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87203         "math_private.h".
87205 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87207         * math/s_catan.c: Add branch predictions.
87208         * math/s_catanf.c: Likewise.
87209         * math/s_catanh.c: Likewise.
87210         * math/s_catanhf.c: Likewise.
87211         * math/s_catanhl.c: Likewise.
87212         * math/s_catanl.c: Likewise.
87213         * math/s_cexp.c: Likewise.
87214         * math/s_cexpf.c: Likewise.
87215         * math/s_cexpl.c: Likewise.
87216         * math/s_clog.c: Likewise.
87217         * math/s_clog10.c: Likewise.
87218         * math/s_clog10f.c: Likewise.
87219         * math/s_clog10l.c: Likewise.
87220         * math/s_clogf.c: Likewise.
87221         * math/s_clogl.c: Likewise.
87222         * math/s_csqrt.c: Likewise.
87223         * math/s_csqrtf.c: Likewise.
87224         * math/s_csqrtl.c: Likewise.
87225         * math/s_ctanf.c: Likewise.
87226         * math/s_ctanh.c: Likewise.
87227         * math/s_ctanhf.c: Likewise.
87228         * math/s_ctanhl.c: Likewise.
87229         * math/s_ctanl.c: Likewise.
87231         * math/math_private.h: Define __nan, __nanf, __nanl.
87232         * math/s_cacosh.c: Include <math_private.h>.
87233         * math/s_cacoshl.c: Likewise.
87234         * math/s_casinh.c: Likewise.
87235         * math/s_casinhf.c: Likewise.
87236         * math/s_casinhl.c: Likewise.
87237         * math/s_ccos.c: Rely entire on ccosh.
87238         * math/s_ccosf.c: Rely entire on ccoshf.
87239         * math/s_ccosl.c: Rely entirely on ccoshl.
87240         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
87241         Remove tests for FE_INVALID.
87242         * math/s_ccoshf.c: Likewise.
87243         * math/s_ccoshl.c: Likewise.
87244         * math/s_csin.c: Likewise.
87245         * math/s_csinf.c: Likewise.
87246         * math/s_csinh.c Likewise.
87247         * math/s_csinhf.c: Likewise.
87248         * math/s_csinhl.c: Likewise.
87249         * math/s_csinl.c: Likewise.
87250         * math/s_ctan.c: Likewise.
87251         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87252         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87253         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87255 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
87257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87258         compilation problems.
87260         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87261         __builtin_expect.
87263 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
87265         * sysdeps/i386/configure.in: Test for -mfma4 option.
87266         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87267         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87268         COMMON_CPUID_INDEX_80000001.
87269         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87270         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87271         use it if FMA3 is not supported.
87272         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87274         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87275         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87277 2011-10-20  Andreas Schwab  <schwab@redhat.com>
87279         [BZ #12892]
87280         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87281         it would create a cycle with a link time dependency.
87283 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
87285         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87286         instruction.
87287         * string/Makefile (strop-tests): Add rawmemchr.
87288         * string/test-rawmemchr.c: New file.
87290         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87291         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
87292         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
87293         when compiling str{,n}casecmp and when AVX is available.  Hook up
87294         new optimized code in initializers.
87296 2011-10-19  Andreas Schwab  <schwab@redhat.com>
87298         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
87299         __feraiseexcept instead of feraiseexcept.
87301 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
87303         * math/math_private.h: Define defaults for libc_fetestexcept and
87304         libc_feupdateenv.
87305         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
87306         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
87307         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87308         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87309         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87310         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87311         libc_fetestexcept and libc_feupdateenv.
87313         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
87314         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
87315         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
87316         * sysdeps/x86_64/fpu/math_private.h: Define special version of
87317         libc_feholdexcept_setround.
87319         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
87320         Add s_nearbyint-c and s_nearbyintf-c.
87321         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
87322         nearbyintf inlines.
87323         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
87324         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
87325         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
87326         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
87328         * math/math_private.h: Define defaults for libc_fegetround,
87329         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
87330         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
87331         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
87332         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
87333         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
87334         standard functions.
87335         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87336         Remove comments and hacks for old compiler versions.
87337         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87338         libc_fegetround, libc_fesetround, libc_feholdexcept, and
87339         libc_feholdexceptl.
87341 2011-10-18  Andreas Schwab  <schwab@redhat.com>
87343         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
87344         (__feraiseexcept_renamed): Add __NTH.
87345         (feraiseexcept): Add __NTH.  Rename local variables to fix
87346         namespace violations.
87348 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
87350         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
87352         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
87354         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
87355         recently added interfaces.
87356         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
87358         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
87359         about macro parameter expansion.
87361         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
87362         __NO_MATH_INLINES is defined.  Cleanups.
87364         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
87365         and __floorf is target has SSE4.1.
87366         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
87367         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
87368         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
87369         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
87371         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
87372         name.
87373         (floorf): Likewise.
87375         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
87377 2011-10-17  Andreas Schwab  <schwab@redhat.com>
87379         * misc/sys/cdefs.h: Fix last change.
87381         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
87382         database lookup.
87384 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
87386         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
87388         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
87389         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87390         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87391         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87392         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87393         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87394         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87395         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87396         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87397         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
87398         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
87399         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
87400         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
87401         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
87402         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
87403         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
87404         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
87405         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
87406         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
87407         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
87408         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
87409         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
87411         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
87412         ceil, ceilf, floor, floorf.
87414         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
87415         Perform IRELATIVE relocations last.
87417         * elf/do-rel.h: Add another parameter nrelative, replacing the
87418         local variable with the same name.  Change name of the function
87419         to end in Rel or Rela (uppercase).
87420         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
87421         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
87422         elf_dynamic_do_##reloc function.
87424 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87426         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
87427         is sufficient, at least on modern CPUs.
87429         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
87431         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
87432         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
87434         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
87435         __expl_finite.
87436         * math/bits/math-finite.h: Add entries for exp.
87437         * math/e_expl.c: Add __*_finite alias.
87438         * sysdeps/i386/fpu/e_exp.S: Likewise.
87439         * sysdeps/i386/fpu/e_expf.S: Likewise.
87440         * sysdeps/i386/fpu/e_expl.c: Likewise.
87441         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87442         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87443         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
87444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
87445         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
87446         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87447         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87449         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
87450         is sufficient, at least on modern CPUs.
87452         * ctype/ctype-info.c (__ctype_init): Define.
87453         * include/ctype.h (__ctype_init): Declare.
87454         (__ctype_b_loc): The variable is always initialized.
87455         (__ctype_toupper_loc): Likewise.
87456         (__ctype_tolower_loc): Likewise.
87457         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
87458         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
87460 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
87462         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
87464         * configure.in: Also look in $cxxmachine/include for C++ system
87465         headers.
87467 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87469         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
87470         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
87471         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
87472         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
87473         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
87474         (USE_AS_WMEMCMP): New macro.
87475         Fixing indents.
87476         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
87477         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
87478         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
87479         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
87480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87481         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
87482         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
87483         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
87484         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
87485         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
87486         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
87487         (USE_AS_WMEMCMP): New macro.
87488         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
87489         * sysdeps/string/test-memcmp.c: Update.
87490         Fix simple_wmemcmp.
87491         Add new tests.
87492         * wcsmbs/wmemcmp.c: Update.
87493         (WMEMCMP): New macro.
87494         Fix overflow bug.
87496 2011-10-12  Andreas Jaeger  <aj@suse.de>
87498         [BZ #13268]
87499         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
87501 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87503         * libio/iofwide.c (do_length): Avoid warning.
87505         * ctype/ctype.h (__isctype_f): Add missing __THROW.
87507 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
87509         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
87511         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
87512         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
87513         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
87514         * sysdeps/i386/i686/fpu/e_log.S: New file.
87515         * sysdeps/i386/i686/fpu/e_logf.S: New file.
87516         * sysdeps/i386/i686/fpu/e_logl.S: New file.
87518         * ctype/ctype.h: Add support for inlined isXXX functions when
87519         compiling C++ code.
87521 2011-10-14  Andreas Schwab  <schwab@redhat.com>
87523         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87525         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
87527 2011-10-13  Roland McGrath  <roland@hack.frob.com>
87529         [BZ #13291]
87530         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
87532 2011-10-13  Andreas Schwab  <schwab@redhat.com>
87534         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
87535         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
87536         feraiseexcept.
87538         * sysdeps/x86_64/memrchr.S: Check for zero size.
87540         * string/stratcliff.c: Add memrchr tests.
87542 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87544         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87545         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
87546         rawmemchr-sse2 rawmemchr-sse2-bsf.
87547         * sysdeps/i386/i686/multiarch/memchr.S: New file.
87548         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
87549         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
87550         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
87551         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
87552         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
87553         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
87554         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
87555         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
87556         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
87557         * string/memrchr.c (MEMRCHR): New macro.
87559 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
87561         Add integration with gcc's -ffinite-math-only and optimize wrapper
87562         functions in libm.
87563         * Versions.def: Define GLIBC_2.15 version for libm.
87564         * math/Makefile (headers): Add bits/math-finite.h.
87565         * math/bits/math-finite.h: New file.
87566         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
87567         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
87568         * math/e_acoshl.c: Add __*_finite alias.
87569         * math/e_acosl.c: Likewise.
87570         * math/e_asinl.c: Likewise.
87571         * math/e_atan2l.c: Likewise.
87572         * math/e_atanhl.c: Likewise.
87573         * math/e_coshl.c: Likewise.
87574         * math/e_exp10.c: Likewise.
87575         * math/e_exp10f.c: Likewise.
87576         * math/e_exp10l.c: Likewise.
87577         * math/e_exp2l.c: Likewise.
87578         * math/e_fmodl.c: Likewise.
87579         * math/e_gammal_r.c: Likewise.
87580         * math/e_hypotl.c: Likewise.
87581         * math/e_j0l.c: Likewise.
87582         * math/e_j1l.c: Likewise.
87583         * math/e_jnl.c: Likewise.
87584         * math/e_lgammal_r.c: Likewise.
87585         * math/e_log10l.c: Likewise.
87586         * math/e_log2l.c: Likewise.
87587         * math/e_logl.c: Likewise.
87588         * math/e_powl.c: Likewise.
87589         * math/e_sinhl.c: Likewise.
87590         * math/e_sqrtl.c: Likewise.
87591         * math/e_scalb.c: Completely rewritten and optimized.
87592         * math/e_scalbf.c: Likewise.
87593         * math/e_scalbl.c: Likewise.
87594         * math/w_acos.c: Likewise.
87595         * math/w_acosf.c: Likewise.
87596         * math/w_acosl.c: Likewise.
87597         * math/w_acosh.c: Likewise.
87598         * math/w_acoshf.c: Likewise.
87599         * math/w_acoshl.c: Likewise.
87600         * math/w_asin.c: Likewise.
87601         * math/w_asinf.c: Likewise.
87602         * math/w_asinl.c: Likewise.
87603         * math/w_atan2.c: Likewise.
87604         * math/w_atan2f.c: Likewise.
87605         * math/w_atan2l.c: Likewise.
87606         * math/w_atanh.c: Likewise.
87607         * math/w_atanhf.c: Likewise.
87608         * math/w_atanhl.c: Likewise.
87609         * math/w_exp10.c: Likewise.
87610         * math/w_exp10f.c: Likewise.
87611         * math/w_exp10l.c: Likewise.
87612         * math/w_fmod.c: Likewise.
87613         * math/w_fmodf.c: Likewise.
87614         * math/w_fmodl.c: Likewise.
87615         * math/w_j0.c: Likewise.
87616         * math/w_j0f.c: Likewise.
87617         * math/w_j0l.c: Likewise.
87618         * math/w_j1.c: Likewise.
87619         * math/w_j1f.c: Likewise.
87620         * math/w_j1l.c: Likewise.
87621         * math/w_jn.c: Likewise.
87622         * math/w_jnf.c: Likewise.
87623         * math/w_log.c: Likewise.
87624         * math/w_logf.c: Likewise.
87625         * math/w_logl.c: Likewise.
87626         * math/w_log10.c: Likewise.
87627         * math/w_log10f.c: Likewise.
87628         * math/w_log10l.c: Likewise.
87629         * math/w_log2.c: Likewise.
87630         * math/w_log2f.c: Likewise.
87631         * math/w_log2l.c: Likewise.
87632         * math/w_pow.c: Likewise.
87633         * math/w_powf.c: Likewise.
87634         * math/w_powl.c: Likewise.
87635         * math/w_remainder.c: Likewise.
87636         * math/w_remainderf.c: Likewise.
87637         * math/w_remainderl.c: Likewise.
87638         * math/w_scalb.c: Likewise.
87639         * math/w_scalbf.c: Likewise.
87640         * math/w_scalbl.c: Likewise.
87641         * math/w_sqrt.c: Likewise.
87642         * math/w_sqrtf.c: Likewise.
87643         * math/w_sqrtl.c: Likewise.
87644         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87645         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87646         used.
87647         * math/math_private.h: Declare __kernel_standard_f.
87648         * math/w_cosh.c: Remove cruft and optimize a bit.
87649         * math/w_coshf.c: Likewise.
87650         * math/w_coshl.c: Likewise.
87651         * math/w_exp2.c: Likewise.
87652         * math/w_exp2f.c: Likewise.
87653         * math/w_exp2l.c: Likewise.
87654         * math/w_hypot.c: Likewise.
87655         * math/w_hypotf.c: Likewise.
87656         * math/w_hypotl.c: Likewise.
87657         * math/w_lgamma.c: Likewise.
87658         * math/w_lgamma_r.c: Likewise.
87659         * math/w_lgammaf.c: Likewise.
87660         * math/w_lgammaf_r.c: Likewise.
87661         * math/w_lgammal.c: Likewise.
87662         * math/w_lgammal_r.c: Likewise.
87663         * math/w_sinh.c: Likewise.
87664         * math/w_sinhf.c: Likewise.
87665         * math/w_sinhl.c: Likewise.
87666         * math/w_tgamma.c: Likewise.
87667         * math/w_tgammaf.c: Likewise.
87668         * math/w_tgammal.c: Likewise.
87669         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87670         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87671         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87672         Minor optimizations.  Pretty printing.  Remove cruft.
87673         * sysdeps/i386/fpu/e_acosf.S: Likewise.
87674         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87675         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87676         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87677         * sysdeps/i386/fpu/e_acosl.c: Likewise.
87678         * sysdeps/i386/fpu/e_asin.S: Likewise.
87679         * sysdeps/i386/fpu/e_asinf.S: Likewise.
87680         * sysdeps/i386/fpu/e_atan2.S: Likewise.
87681         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
87682         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
87683         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87684         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87685         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87686         * sysdeps/i386/fpu/e_exp10.S: Likewise.
87687         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
87688         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
87689         * sysdeps/i386/fpu/e_exp2.S: Likewise.
87690         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
87691         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
87692         * sysdeps/i386/fpu/e_fmod.S: Likewise.
87693         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
87694         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
87695         * sysdeps/i386/fpu/e_hypot.S: Likewise.
87696         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
87697         * sysdeps/i386/fpu/e_log.S: Likewise.
87698         * sysdeps/i386/fpu/e_log10.S: Likewise.
87699         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87700         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87701         * sysdeps/i386/fpu/e_log2.S: Likewise.
87702         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87703         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87704         * sysdeps/i386/fpu/e_logf.S: Likewise.
87705         * sysdeps/i386/fpu/e_logl.S: Likewise.
87706         * sysdeps/i386/fpu/e_pow.S: Likewise.
87707         * sysdeps/i386/fpu/e_powf.S: Likewise.
87708         * sysdeps/i386/fpu/e_powl.S: Likewise.
87709         * sysdeps/i386/fpu/e_remainder.S: Likewise.
87710         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
87711         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
87712         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87713         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87714         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87715         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
87716         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
87717         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
87718         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87719         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87721         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87722         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87723         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87724         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
87725         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87726         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87727         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87728         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87729         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87731         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87732         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87733         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87734         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87735         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87736         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87737         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87738         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87739         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87740         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87741         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87742         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87743         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87744         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87745         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87746         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87747         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87748         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87749         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87750         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87751         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87752         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87753         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87754         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87755         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87756         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87757         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87758         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87759         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87760         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87761         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87762         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87763         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87764         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87765         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87766         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87767         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
87768         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87769         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87770         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87771         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87772         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87773         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87774         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87775         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87776         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87777         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87778         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87779         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87780         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87781         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87782         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87783         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87784         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87785         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87786         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
87787         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87788         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87789         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87790         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87791         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87792         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87793         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87794         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87795         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87796         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87797         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87798         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87799         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87800         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
87801         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87802         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87803         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87804         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87805         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87806         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87807         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87808         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87809         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87810         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87811         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
87812         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87813         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87814         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87815         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
87816         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
87817         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
87818         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
87819         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
87820         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
87821         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
87822         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87823         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87824         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87825         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87826         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
87827         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87828         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
87829         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
87830         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
87831         (__isnanf): Likewise.
87832         (__isinf_ns): Likewise.
87833         (__isinf_nsf): Likewise.
87834         (__finite): Likewise.
87835         (__finitef): Likewise.
87836         (__ieee754_sqrt): Define as macro.
87837         (__ieee754_sqrtf): Define as macro.
87838         (__ieee754_sqrtl): Define as macro.
87839         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
87840         inlined copy.
87841         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
87842         __FINITE_MATH_ONLY__ consistent.
87843         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
87845 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
87847         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
87848         of rawmemchr.
87850         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
87852 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
87854         * po/ja.po: Update from translation team.
87856 2011-10-08  Roland McGrath  <roland@hack.frob.com>
87858         * locale/programs/locarchive.c (prepare_address_space): New function.
87859         (create_archive, enlarge_archive, open_archive): Use it.
87861         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
87862         inside [SHARED], where it is used.
87864         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
87866         * nss/getent.c (netgroup_keys): Remove unused variable.
87867         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87869 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
87871         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
87872         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
87873         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
87874         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
87875         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
87876         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
87877         * math/Makefile (libm-calls): Add s_isinf_ns.
87878         * math/divtc3.c: Use __isinf_nsl instead of isinf.
87879         * math/multc3.c: Likewise.
87880         * math/s_casin.c: Likewise.
87881         * math/s_casinf.c: Likewise.
87882         * math/s_casinl.c: Likewise.
87883         * math/s_ccos.c: Likewise.
87884         * math/s_ccosf.c: Likewise.
87885         * math/s_ccosl.c: Likewise.
87886         * math/s_ctan.c: Likewise.
87887         * math/s_ctanf.c: Likewise.
87888         * math/s_ctanh.c: Likewise.
87889         * math/s_ctanhf.c: Likewise.
87890         * math/s_ctanhl.c: Likewise.
87891         * math/s_ctanl.c: Likewise.
87892         * math/w_fmod.c: Likewise.
87893         * math/w_fmodf.c: Likewise.
87894         * math/w_fmodl.c: Likewise.
87895         * math/w_remainder.c: Likewise.
87896         * math/w_remainderf.c: Likewise.
87897         * math/w_remainderl.c: Likewise.
87898         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
87899         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
87900         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
87901         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
87902         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
87903         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
87904         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
87905         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
87907         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
87908         of the number.
87909         * stdio-common/printf_fphex.c: Likewise.
87910         * stdio-common/printf_size.c: Likewise.
87912         * math/e_exp10.c: Include math_private.h using <...> not "...".
87913         * math/e_exp10f.c: Likewise.
87914         * math/e_exp10l.c: Likewise.
87915         * math/e_exp2l.c: Likewise.
87916         * math/e_j0l.c: Likewise.
87917         * math/e_j1l.c: Likewise.
87918         * math/e_jnl.c: Likewise.
87919         * math/e_lgammal_r.c: Likewise.
87920         * math/e_rem_pio2l.c: Likewise.
87921         * math/e_scalb.c: Likewise.
87922         * math/e_scalbf.c: Likewise.
87923         * math/e_scalbl.c: Likewise.
87924         * math/k_cosl.c: Likewise.
87925         * math/k_sinl.c: Likewise.
87926         * math/k_tanl.c: Likewise.
87927         * math/s_cacoshf.c: Likewise.
87928         * math/s_catan.c: Likewise.
87929         * math/s_catanf.c: Likewise.
87930         * math/s_catanh.c: Likewise.
87931         * math/s_catanhf.c: Likewise.
87932         * math/s_catanhl.c: Likewise.
87933         * math/s_catanl.c: Likewise.
87934         * math/s_ccosh.c: Likewise.
87935         * math/s_ccoshf.c: Likewise.
87936         * math/s_ccoshl.c: Likewise.
87937         * math/s_cexp.c: Likewise.
87938         * math/s_cexpf.c: Likewise.
87939         * math/s_cexpl.c: Likewise.
87940         * math/s_clog.c: Likewise.
87941         * math/s_clog10.c: Likewise.
87942         * math/s_clog10f.c: Likewise.
87943         * math/s_clog10l.c: Likewise.
87944         * math/s_clogf.c: Likewise.
87945         * math/s_clogl.c: Likewise.
87946         * math/s_csin.c: Likewise.
87947         * math/s_csinf.c: Likewise.
87948         * math/s_csinh.c: Likewise.
87949         * math/s_csinhf.c: Likewise.
87950         * math/s_csinhl.c: Likewise.
87951         * math/s_csinl.c: Likewise.
87952         * math/s_csqrt.c: Likewise.
87953         * math/s_csqrtf.c: Likewise.
87954         * math/s_csqrtl.c: Likewise.
87955         * math/s_ctan.c: Likewise.
87956         * math/s_ctanf.c: Likewise.
87957         * math/s_ctanh.c: Likewise.
87958         * math/s_ctanhf.c: Likewise.
87959         * math/s_ctanhl.c: Likewise.
87960         * math/s_ctanl.c: Likewise.
87961         * math/s_ldexp.c: Likewise.
87962         * math/s_ldexpf.c: Likewise.
87963         * math/s_ldexpl.c: Likewise.
87964         * math/s_significand.c: Likewise.
87965         * math/s_significandf.c: Likewise.
87966         * math/s_significandl.c: Likewise.
87967         * math/w_acos.c: Likewise.
87968         * math/w_acosf.c: Likewise.
87969         * math/w_acosh.c: Likewise.
87970         * math/w_acoshf.c: Likewise.
87971         * math/w_acoshl.c: Likewise.
87972         * math/w_acosl.c: Likewise.
87973         * math/w_asin.c: Likewise.
87974         * math/w_asinf.c: Likewise.
87975         * math/w_asinl.c: Likewise.
87976         * math/w_atan2.c: Likewise.
87977         * math/w_atan2f.c: Likewise.
87978         * math/w_atan2l.c: Likewise.
87979         * math/w_atanh.c: Likewise.
87980         * math/w_atanhf.c: Likewise.
87981         * math/w_atanhl.c: Likewise.
87982         * math/w_cosh.c: Likewise.
87983         * math/w_coshf.c: Likewise.
87984         * math/w_coshl.c: Likewise.
87985         * math/w_dremf.c: Likewise.
87986         * math/w_exp10.c: Likewise.
87987         * math/w_exp10f.c: Likewise.
87988         * math/w_exp10l.c: Likewise.
87989         * math/w_exp2.c: Likewise.
87990         * math/w_exp2f.c: Likewise.
87991         * math/w_fmod.c: Likewise.
87992         * math/w_fmodf.c: Likewise.
87993         * math/w_fmodl.c: Likewise.
87994         * math/w_hypot.c: Likewise.
87995         * math/w_hypotf.c: Likewise.
87996         * math/w_hypotl.c: Likewise.
87997         * math/w_j0.c: Likewise.
87998         * math/w_j0f.c: Likewise.
87999         * math/w_j0l.c: Likewise.
88000         * math/w_j1.c: Likewise.
88001         * math/w_j1f.c: Likewise.
88002         * math/w_j1l.c: Likewise.
88003         * math/w_jn.c: Likewise.
88004         * math/w_jnf.c: Likewise.
88005         * math/w_jnl.c: Likewise.
88006         * math/w_lgamma.c: Likewise.
88007         * math/w_lgamma_r.c: Likewise.
88008         * math/w_lgammaf.c: Likewise.
88009         * math/w_lgammaf_r.c: Likewise.
88010         * math/w_lgammal.c: Likewise.
88011         * math/w_lgammal_r.c: Likewise.
88012         * math/w_log.c: Likewise.
88013         * math/w_log10.c: Likewise.
88014         * math/w_log10f.c: Likewise.
88015         * math/w_log10l.c: Likewise.
88016         * math/w_log2.c: Likewise.
88017         * math/w_log2f.c: Likewise.
88018         * math/w_log2l.c: Likewise.
88019         * math/w_logf.c: Likewise.
88020         * math/w_logl.c: Likewise.
88021         * math/w_pow.c: Likewise.
88022         * math/w_powf.c: Likewise.
88023         * math/w_powl.c: Likewise.
88024         * math/w_remainder.c: Likewise.
88025         * math/w_remainderf.c: Likewise.
88026         * math/w_remainderl.c: Likewise.
88027         * math/w_scalb.c: Likewise.
88028         * math/w_scalbf.c: Likewise.
88029         * math/w_scalbl.c: Likewise.
88030         * math/w_sinh.c: Likewise.
88031         * math/w_sinhf.c: Likewise.
88032         * math/w_sinhl.c: Likewise.
88033         * math/w_sqrt.c: Likewise.
88034         * math/w_sqrtf.c: Likewise.
88035         * math/w_sqrtl.c: Likewise.
88036         * math/w_tgamma.c: Likewise.
88037         * math/w_tgammaf.c: Likewise.
88038         * math/w_tgammal.c: Likewise.
88040         * po/ja.po: Update from translation team.
88042 2011-09-29  Andreas Jaeger  <aj@suse.de>
88044         [BZ #13179]
88045         * sunrpc/netname.c (netname2host): Fix logic.
88047         [BZ #6779]
88048         [BZ #6783]
88049         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88050         correctly.
88051         * math/w_remainder.c (__remainder): Likewise.
88052         * math/w_remainderf.c (__remainderf): Likewise.
88053         * math/libm-test.inc (remainder_test): Add test cases.
88055 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88057         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
88058         sdiv_qrnnd.
88060 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88062         * string/test-memcmp.c: Avoid unncessary #defines.
88063         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88065 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88067         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88068         Use new sse2 version for core i3 - i7 as it's faster
88069         than sse42 version.
88070         (bit_Prefer_PMINUB_for_stringop): New.
88071         * sysdeps/x86_64/rawmemchr.S: Update.
88072         Replace with faster SSE2 version.
88073         * sysdeps/x86_64/memrchr.S: New file.
88074         * sysdeps/x86_64/memchr.S: Update.
88075         Replace with faster SSE2 version.
88077 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88079         * elf/dl-load.c (lose): Add cast to avoid warning.
88081 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88083         * po/ca.po: Update from translation team.
88085         * inet/getnetgrent_r.c: Hook up nscd.
88086         * nscd/Makefile (routines): Add nscd_netgroup.
88087         (nscd-modules): Add netgroupcache.
88088         (CFLAGS-netgroupcache.c): Define.
88089         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88090         (cache_search): Add const to second parameter.
88091         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88092         INNETGR.
88093         (dbs): Add netgrdb entry.
88094         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88095         (verify_persistent_db): Handle netgrdb.
88096         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88097         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88098         GETFDNETGR.
88099         (netgroup_response_header): Define.
88100         (innetgroup_response_header): Define.
88101         (datahead): Add netgroup_response_header and innetgroup_response_header
88102         elements.
88103         * nscd/nscd.conf: Add entries for netgroup cache.
88104         * nscd/nscd.h (dbtype): Add netgrdb.
88105         (_PATH_NSCD_NETGROUP_DB): Define.
88106         (netgroup_iov_disabled): Declare.
88107         (xmalloc, xcalloc, xrealloc): Move declarations here.
88108         (cache_search): Adjust prototype.
88109         Add netgroup-related prototypes.
88110         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88111         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88112         (__nscd_innetgr): Declare.
88113         * nscd/selinux.c (perms): Use access_vector_t as element type and
88114         add netgroup-related initializers.
88115         * nscd/netgroupcache.c: New file.
88116         * nscd/nscd_netgroup.c: New file.
88117         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88118         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88119         For four parameters use innetgr.
88120         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88121         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88122         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88123         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88125         * nscd/connections.c (register_traced_file): Don't register file
88126         for disabled databases.
88128 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88130         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88132         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88133         from tree and freeing node.
88135 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88137         * nss/nsswitch.c (__nss_database_lookup): Handle
88138         nss_parse_service_list out of memory case.
88140 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88142         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88143         out of memory case.
88145 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88147         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88148         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88149         pass it down.
88150         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88151         elf_machine_rela, elf_machine_lazy_rel.
88152         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88153         (ELF_DYNAMIC_DO_REL): Likewise.
88154         (ELF_DYNAMIC_DO_RELA): Likewise.
88155         (ELF_DYNAMIC_RELOCATE): Likewise.
88156         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88157         to ELF_DYNAMIC_DO_REL.
88158         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88159         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88160         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88161         elf_machine_rela.
88162         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88163         skip_ifunc, don't call ifunc function if non-zero.
88164         (elf_machine_rela): Likewise.
88165         (elf_machine_lazy_rel): Likewise.
88166         (elf_machine_lazy_rela): Likewise.
88167         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88168         (elf_machine_lazy_rel): Likewise.
88169         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88170         Likewise.
88171         (elf_machine_lazy_rel): Likewise.
88172         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88173         Likewise.
88174         (elf_machine_lazy_rel): Likewise.
88175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88176         (elf_machine_lazy_rel): Likewise.
88177         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88178         (elf_machine_lazy_rel): Likewise.
88179         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88180         (elf_machine_lazy_rel): Likewise.
88181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88182         (elf_machine_lazy_rel): Likewise.
88183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88184         (elf_machine_lazy_rel): Likewise.
88185         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88186         (elf_machine_lazy_rel): Likewise.
88188 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
88190         * nss/nss_files/files-init.c (_nss_files_init): Use static
88191         initialization for all the *_traced_file variables.
88193 2011-09-28  Andreas Schwab  <schwab@redhat.com>
88195         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88197 2011-09-27  Roland McGrath  <roland@hack.frob.com>
88199         [BZ #13226]
88200         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88202 2011-09-27  Andreas Schwab  <schwab@redhat.com>
88204         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88205         Reread the line before reparsing it.
88207 2011-09-26  Andreas Schwab  <schwab@redhat.com>
88209         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88211 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
88212             Maxim Kuvyrkov  <maxim@codesourcery.com>
88213             Joseph Myers  <joseph@codesourcery.com>
88215         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88216         if needed for __stack_chk_guard.
88218 2011-09-19  Roland McGrath  <roland@hack.frob.com>
88220         * sysdeps/posix/spawni.c (script_execute): Always define it.
88221         It will be optimized away if unused.
88222         (maybe_script_execute): New function.
88223         (__spawni): Call it.
88225         * Makerules: Don't include tls.make.
88226         (config-tls): Always set to thread.
88227         * tls.make.c: File removed.
88229 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
88231         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88232         * config.make.in (CPPFLAGS-config): New substituted variable.
88234 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88236         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88238         [BZ #13192]
88239         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88240         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88242 2011-09-15  Roland McGrath  <roland@hack.frob.com>
88244         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88245         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88246         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88247         (CALL_FAIL): Likewise.
88248         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88249         (CALL_FAIL): Macro removed.
88250         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88252 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88254         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88255         for __FINITE_MATH_ONLY__ == 1.
88257 2011-09-15  Andreas Schwab  <schwab@redhat.com>
88259         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88260         __ieee754_sqrt instead of sqrt.
88261         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88262         __ieee754_sqrtf instead of sqrtf.
88263         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88264         __floorf instead of floorf.
88265         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88266         __floorf, __truncf instead of floorf, truncf.
88268 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
88270         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88272         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88273         __extern_always_inline.
88274         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88275         32-bit.
88277 2011-09-14  Andreas Schwab  <schwab@redhat.com>
88279         * elf/rtld.c (dl_main): Also relocate in dependency order when
88280         doing symbol dependency testing.
88282 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
88284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88285         Always define `refsym'.
88287 2011-09-13  Andreas Schwab  <schwab@redhat.com>
88289         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88290         (__FD_ELT): Renamed from __FDELT.
88291         * misc/bits/select2.h (__FD_ELT): Likewise.
88292         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
88293         __FD_MASK instead of __FDELT, __FDMASK.
88294         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88295         Likewise.
88296         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88297         Likewise.
88299         * elf/Makefile (gen-ldd): Fix pattern.
88301         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
88302         (init_tls): Likewise.
88304 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
88306         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
88308 2011-09-12  Andreas Schwab  <schwab@redhat.com>
88310         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
88311         `struct cmsghdr *' instead of `void *'.
88312         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
88313         Likewise.
88315 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
88317         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
88318         if non-absolute.
88319         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
88320         ldd_rewrite_script.
88322 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
88324         * configure.in: Remove --with-tls option.
88325         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
88326         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
88327         out in case it is missing.
88328         * sysdeps/ia64/elf/configure.in: Likewise.
88329         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
88330         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
88331         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
88332         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
88333         * sysdeps/sh/elf/configure.in: Likewise.
88334         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
88335         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88336         * sysdeps/x86_64/elf/configure.in: Likewise.
88337         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
88338         * sysdeps/mach/hurd/tls.h: Likewise.
88340         [BZ #13067]
88341         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
88343         [BZ #13090]
88344         * configure.in: Fix use of AC_INIT.
88346         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
88348 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
88350         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
88351         __set_errno.
88352         * malloc/hooks.c: Likewise.
88354         [BZ #11929]
88355         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
88356         variables statically.
88357         (narenas): Initialize.
88358         (list_lock): Initialize.
88359         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
88360         initializtion of main_arena and list_lock.  Small cleanups.
88361         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
88362         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
88363         Add initializers to main_arena and mp_.
88364         (malloc_state): Remove pagesize member.  Change all users to use
88365         GLRO(dl_pagesize).
88367         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
88368         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
88369         is always initialized.
88371         * malloc/malloc.c: Removed unused configurations and dead code.
88372         * malloc/arena.c: Likewise.
88373         * malloc/hooks.c: Likewise.
88374         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
88376         * include/tls.h: Removed.  USE___THREAD must always be defined.
88377         * bits/libc-tsd.h: Don't handle !USE___THREAD.
88378         * elf/dl-libc.c: Likewise.
88379         * elf/dl-tsd.c: Likewise.
88380         * include/errno.h: Likewise.
88381         * include/netdb.h: Likewise.
88382         * include/resolv.h: Likewise.
88383         * inet/herrno-loc.c: Likewise.
88384         * inet/herrno.c: Likewise.
88385         * malloc/arena.c: Likewise.
88386         * malloc/hooks.c: Likewise.
88387         * malloc/malloc.c: Likewise.
88388         * resolv/res-state.c: Likewise.
88389         * resolv/res_libc.c: Likewise.
88390         * sysdeps/i386/dl-machine.h: Likewise.
88391         * sysdeps/ia64/dl-machine.h: Likewise.
88392         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
88393         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
88394         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
88395         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
88396         * sysdeps/sh/dl-machine.h: Likewise.
88397         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
88398         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
88399         * sysdeps/unix/i386/sysdep.S: Likewise.
88400         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
88401         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
88402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
88403         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
88404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
88405         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
88406         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
88407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
88408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
88410         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88411         * sysdeps/x86_64/dl-machine.h: Likewise.
88412         * tls.make.c: Likewise.
88414         * configure.in: Remove --with-__thread option.  Make tests for
88415         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
88416         tls_model attribute fail if no support is available.  Remove
88417         USE_IN_LIBIO.
88418         * Makeconfig: Adjust for dropped configure option.  All features are
88419         now mandatory.
88420         * Makerules: Likewise.
88421         * Versions.def: Likewise.
88422         * argp/argp-fmtstream.c: Likewise.
88423         * argp/argp-fmtstream.h: Likewise.
88424         * argp/argp-help.c: Likewise.
88425         * assert/assert.c: Likewise.
88426         * config.h.in: Likewise.
88427         * config.make.in: Likewise.
88428         * configure: Likewise.
88429         * configure.in: Likewise.
88430         * csu/Versions: Likewise.
88431         * csu/init.c: Likewise.
88432         * elf/tst-audit2.c: Likewise.
88433         * elf/tst-tls10.c: Likewise.
88434         * elf/tst-tls10.h: Likewise.
88435         * elf/tst-tls11.c: Likewise.
88436         * elf/tst-tls12.c: Likewise.
88437         * elf/tst-tls14.c: Likewise.
88438         * elf/tst-tlsmod11.c: Likewise.
88439         * elf/tst-tlsmod12.c: Likewise.
88440         * elf/tst-tlsmod13.c: Likewise.
88441         * elf/tst-tlsmod13a.c: Likewise.
88442         * elf/tst-tlsmod14a.c: Likewise.
88443         * elf/tst-tlsmod15b.c: Likewise.
88444         * elf/tst-tlsmod16a.c: Likewise.
88445         * elf/tst-tlsmod16b.c: Likewise.
88446         * elf/tst-tlsmod7.c: Likewise.
88447         * elf/tst-tlsmod8.c: Likewise.
88448         * elf/tst-tlsmod9.c: Likewise.
88449         * gmon/gmon.c: Likewise.
88450         * grp/fgetgrent_r.c: Likewise.
88451         * grp/putgrent.c: Likewise.
88452         * hurd/fopenport.c: Likewise.
88453         * include/libc-symbols.h: Likewise.
88454         * include/tls.h: Likewise.
88455         * intl/gettextP.h: Likewise.
88456         * intl/loadinfo.h: Likewise.
88457         * locale/global-locale.c: Likewise.
88458         * locale/localeinfo.h: Likewise.
88459         * mach/devstream.c: Likewise.
88460         * malloc/arena.c: Likewise.
88461         * malloc/set-freeres.c: Likewise.
88462         * misc/err.c: Likewise.
88463         * misc/getttyent.c: Likewise.
88464         * misc/mntent_r.c: Likewise.
88465         * posix/getopt.c: Likewise.
88466         * posix/wordexp.c: Likewise.
88467         * pwd/fgetpwent_r.c: Likewise.
88468         * resolv/Versions: Likewise.
88469         * resolv/res_hconf.c: Likewise.
88470         * shadow/fgetspent_r.c: Likewise.
88471         * shadow/putspent.c: Likewise.
88472         * stdio-common/printf_fphex.c: Likewise.
88473         * stdio-common/tmpfile.c: Likewise.
88474         * stdlib/abort.c: Likewise.
88475         * stdlib/fmtmsg.c: Likewise.
88476         * sunrpc/auth_unix.c: Likewise.
88477         * sunrpc/clnt_perr.c: Likewise.
88478         * sunrpc/clnt_tcp.c: Likewise.
88479         * sunrpc/clnt_udp.c: Likewise.
88480         * sunrpc/clnt_unix.c: Likewise.
88481         * sunrpc/openchild.c: Likewise.
88482         * sunrpc/svc_simple.c: Likewise.
88483         * sunrpc/svc_tcp.c: Likewise.
88484         * sunrpc/svc_udp.c: Likewise.
88485         * sunrpc/svc_unix.c: Likewise.
88486         * sunrpc/xdr.c: Likewise.
88487         * sunrpc/xdr_array.c: Likewise.
88488         * sunrpc/xdr_rec.c: Likewise.
88489         * sunrpc/xdr_ref.c: Likewise.
88490         * sunrpc/xdr_stdio.c: Likewise.
88492 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88494         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88496 2011-07-03  Andreas Jaeger  <aj@suse.de>
88498         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
88499         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
88500         regenerate with gen-libm-tests.pl.
88502 2010-05-12  Petr Baudis  <pasky@suse.cz>
88504         [BZ #11589]
88505         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
88506         around j0() zero points by switching to j1().
88507         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88508         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88510         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88512 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88514         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
88515         instead of 0.
88516         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
88517         instead of 0.
88518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88519         Patch in part by Pavel Roskin <proski@gnu.org>.
88521         [BZ #13138]
88522         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
88523         realloc.
88524         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
88525         Free memory block if necessary.
88527         [BZ #12847]
88528         * libio/genops.c (INTDEF): For string streams the _lock pointer can
88529         be NULL.  Don't lock in this case.
88531 2011-09-09  Roland McGrath  <roland@hack.frob.com>
88533         * elf/elf.h (ELFOSABI_GNU): New macro.
88534         (ELFOSABI_LINUX): Define to that.
88536 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
88538         * string/strncat.c (strncat): Undef the symbol in case it has been
88539         defined in bits/string.h.
88541 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88543         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
88545         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
88546         link map.
88548 2011-08-17  Andreas Jaeger  <aj@suse.de>
88550         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
88552 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
88553             Ian Lance Taylor  <iant@google.com>
88555         * math/libm-test.inc (lround_test): New testcase.
88556         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
88558 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
88560         * Makefile: Remove support for automatic cvs check-ins.
88561         * Makerules: Likewise.
88562         * config.make.in: Likewise.
88563         * configure.in: Likewise.
88564         * intl/Makefile: Likewise.
88565         * locale/Makefile: Likewise.
88566         * po/Makefile: Likewise.
88567         * posix/Makefile: Likewise.
88568         * sysdeps/gnu/Makefile: Likewise.
88569         * sysdeps/mach/hurd/Makefile: Likewise.
88570         * sysdeps/sparc/sparc32/Makefile: Likewise.
88572         [BZ #13118]
88573         * posix/Makefile (bug-regex32-ENV): Define.
88574         Patch by John Stanley <jpsinthemix@verizon.net>.
88576         * misc/Makefile (headers): Add bits/select2.h.
88577         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
88578         * misc/bits/select2.h: New file.
88579         * include/bits/select2.h: New file.
88580         * debug/Makefile (routines): Add fdelt_chk.
88581         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
88582         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
88583         FD_ISSET.
88584         * debug/fdelt_chk.c: New file.
88586         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
88587         * wcsmbs/test-wmemcmp.c: Likewise.
88588         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
88589         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
88591 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88593         * string/Makefile (strop-tests): Add memcmp.
88594         * string/test-wmemcmp.c: New file.
88595         * string/test-memcmp.c: Add wmemcmp support.
88597 2011-09-08  Roland McGrath  <roland@hack.frob.com>
88599         [BZ #13153]
88600         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
88601         2011-07-19 change.
88603         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
88604         garbage value in a __mach_port_mod_refs call in the cases of the
88605         task-self and thread-self ports.
88607 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88609         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
88611 2011-09-08  Andreas Schwab  <schwab@redhat.com>
88613         * elf/dl-load.c (lose): Check for non-null L.
88615 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88617         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
88619         * elf/dl-libc.c (dlerror_run): Pass back error code from
88620         dl_catch_error.
88622         [BZ #13123]
88623         * elf/dl-load.c (lose): Free l_origin if it is valid.
88625         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88626         names.
88627         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88628         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88629         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88630         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88631         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88632         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88634 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88636         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88637         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88638         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88639         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88640         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88641         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88642         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88643         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88644         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88645         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88647 2011-08-15  Alan Modra  <amodra@gmail.com>
88649         [BZ #13092]
88650         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88651         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88652         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88653         ppc_mcount to static-only-routines.
88654         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88655         __mcount_internal.
88656         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88657         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88659 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88661         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88662         for finite and infinity parameters.
88664 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88666         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88667         and add nop instructions for throughput optimization.
88668         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88670 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
88672         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88673         aligned copy for power7 with vector-scalar instructions.
88674         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88676 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
88678         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88679         AVX check.
88681 2011-09-07  Andreas Schwab  <schwab@redhat.com>
88683         [BZ #13144]
88684         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
88685         last change.
88687 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88689         * sysdeps/unix/sysv/linux/x86_64/init-first.c
88690         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
88691         syscall wrapper around clock_gettime in __vdso_clock_gettime.
88692         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
88693         clock_gettime.
88695 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88697         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
88698         Forgot to demangle the pointer.
88700         * sysdeps/i386/sysdep.h: Define atom_text_section.
88701         * sysdeps/x86_64/sysdep.h: Likewise.
88702         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
88703         section with atom_text_section.
88704         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88705         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88706         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
88707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88708         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
88710         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
88711         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
88712         already be defined.  Change to take two parameters and don't assign
88713         result to variable.  Adjust all users.
88714         Define INTERNAL_GETTIME if not already defined.
88715         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
88716         call.
88717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
88718         HAVE_CLOCK_GETTIME_VSYSCALL.
88719         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
88721         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
88722         gettimeofday vsyscall, just use time.
88724 2011-09-06  Andreas Schwab  <schwab@redhat.com>
88726         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
88727         <errno.h>.
88729 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88731         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
88732         syscall on x86-64.
88733         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
88734         syscall.
88735         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
88736         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
88737         syscall if possible.
88739 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88741         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
88742         e_ident.  Don't pass to find_mapsXX.
88743         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
88745 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88748         strchr-sse2-no-bsf strrchr-sse2-no-bsf
88749         * sysdeps/x86_64/multiarch/strchr.S: Update.
88750         Check bit_slow_BSF bit.
88751         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
88752         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
88753         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
88755 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88757         [BZ #13134]
88758         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
88759         before glibc 2.15.
88760         (tryshell): Define.
88761         (__spawni): Change last parameter to be flag.  Test
88762         SPAWN_XFLAGS_USE_PATH flag to use path or not.
88763         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
88764         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
88765         * posix/spawni.c: Likewise.
88766         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
88767         * posix/spawnp.c: Likewise.  Change normal version to use
88768         SPAWN_XFLAGS_USE_PATH.
88769         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
88770         SPAWN_XFLAGS_TRY_SHELL.
88772         [BZ #13150]
88773         * posix/glob.h: Remove gcc 1.x support.
88775         [BZ #13068]
88776         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
88778 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88780         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88781         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
88782         strrchr-sse2-bsf
88783         * sysdeps/i386/i686/multiarch/strchr.S: New file.
88784         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
88785         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
88786         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
88787         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
88788         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
88790 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88792         * sysdeps/x86_64/wcscmp.S: New file.
88794         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
88795         wcscmp-c wcscmp-sse2
88796         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
88797         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
88798         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
88799         * wcsmbs/wcscmp.c: Allow renaming.
88801 2011-09-05  David S. Miller  <davem@davemloft.net>
88803         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
88804         stack slot, rather than the struct return pointer slot.
88805         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
88806         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
88807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
88808         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
88810 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88812         * po/ja.po: Update from translation team.
88814         [BZ #13144]
88815         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
88816         kernel in 64-bit binaries.
88818 2011-09-01  David S. Miller  <davem@davemloft.net>
88820         * elf/elf.h (HWCAP_SPARC_*): Move to..
88821         * sysdeps/sparc/sysdep.h: this new file and add new values.
88822         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
88823         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
88824         _DL_HWCAP_COUNT to 24.
88825         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
88826         entries.
88827         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
88828         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
88829         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
88830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
88831         instead of magic constants.
88832         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88834 2011-08-31  David S. Miller  <davem@davemloft.net>
88836         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
88837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
88838         Reimplement to do errno handling inline.
88839         (SYSCALL_ERROR_HANDLER): New macro.
88840         (__SYSCALL_STRING): Do not do errno handling in asm.
88841         (__CLONE_SYSCALL_STRING): Delete.
88842         (__INTERNAL_SYSCALL_STRING): Delete.
88843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
88844         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
88845         (PSEUDO): Reimplement to do errno handling inline.
88846         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
88847         (SYSCALL_ERROR_HANDLER): New macro.
88848         (__SYSCALL_STRING): Do not do errno handling in asm.
88849         (__CLONE_SYSCALL_STRING): Delete.
88850         (__INTERNAL_SYSCALL_STRING): Delete.
88851         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
88852         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
88853         i386.
88854         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
88855         (inline_syscall*): Add 'err' argument.
88856         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
88857         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
88858         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
88859         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
88861         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
88862         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
88864 2011-08-30  Andreas Schwab  <schwab@redhat.com>
88866         * elf/rtld.c (dl_main): Relocate objects in dependency order.
88868 2011-08-29  Jiri Olsa <jolsa@redhat.com>
88870         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
88871         directive.
88873 2011-08-24  David S. Miller  <davem@davemloft.net>
88875         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
88877 2011-08-24  Andreas Schwab  <schwab@redhat.com>
88879         * elf/Makefile: Add rules to build and run unload8 test.
88880         * elf/unload8.c: New file.
88881         * elf/unload8mod1.c: New file.
88882         * elf/unload8mod1x.c: New file.
88883         * elf/unload8mod2.c: New file.
88884         * elf/unload8mod3.c: New file.
88886         * elf/dl-close.c (_dl_close_worker): Reset private search list if
88887         it wasn't used.
88889 2011-08-23  David S. Miller  <davem@davemloft.net>
88891         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
88892         subtract stack bias.
88893         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
88894         %sp not %fp in calculations.
88895         (_JMPBUF_UNWINDS_ADJ): Likewise.
88897         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
88898         (aio_suspend): Call it to force an exception region around the
88899         AIO_MISC_WAIT() invocation.
88901 2011-08-23  Andreas Schwab  <schwab@redhat.com>
88903         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
88904         backslash.
88906 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
88908         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
88909         protection macro.
88910         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
88911         and <dl-machine.h>.
88912         (Elf64_FuncDesc): Remove.
88914 2011-08-22  David S. Miller  <davem@davemloft.net>
88916         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
88917         sigaltstack check, add missing cfi directives.
88918         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
88919         missing cfi directives, and sigaltstack handling.
88921 2011-08-16  Andreas Schwab  <schwab@redhat.com>
88923         [BZ #11724]
88924         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
88925         object is seen twice.
88926         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88928         * elf/Makefile (distribute): Add tst-initorder2.c.
88929         (tests): Add tst-initorder2.
88930         (modules-names): Add tst-initorder2a tst-initorder2b
88931         tst-initorder2c tst-initorder2d.  Add rules to build them.
88932         ($(objpfx)tst-initorder2.out): New rule.
88933         * elf/tst-initorder2.c: New file.
88934         * elf/tst-initorder2.exp: New file.
88936 2011-08-22  Andreas Schwab  <schwab@redhat.com>
88938         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
88940         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
88941         dependencies back to end of function.
88943         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88944         $(elfobjdir)/ld.so.
88946 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
88948         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
88949         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
88950         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
88951         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
88952         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
88953         of __vdso_gettimeofday.
88954         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
88955         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
88956         attribute_hidden.
88957         (_libc_vdso_platform_setup): Remove initialization of
88958         __vdso_gettimeofday and __vdso_time.
88960 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88962         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
88963         and fgetc_unlocked.
88964         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
88965         getc_unlocked.
88967         * elf/dl-open.c (add_to_global): Report additions to the global scope
88968         for LD_DEBUG=scopes.
88969         (dl_open_worker): Also print scope of newly loaded dependencies.
88970         (_dl_show_scope): Indicate if there is no scope.
88972         [BZ #13114]
88973         * stdio-common/Makefile (tests): Add bug24.
88974         * stdio-common/bug24.c: New file.
88976 2011-08-19  Andreas Jaeger  <aj@suse.de>
88978         [BZ #13114]
88979         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
88980         non-existant file when using close-on-exec mode.
88982 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88984         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
88985         the very first instruction.
88987         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
88988         the CFI state in the end.
88989         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
88990         inclusion of dl-trampoline.h.
88991         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
88993 2011-08-19  Andreas Schwab  <schwab@redhat.com>
88995         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
88996         expectations for long double.
88998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
88999         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89001 2011-08-14  David S. Miller  <davem@davemloft.net>
89003         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89004         artificual limit depends upon the system page size.
89006 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89008         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89009         * resolv/Makefile: Define CFLAGS-libresolv.
89011 2011-08-17  Andreas Schwab  <schwab@redhat.com>
89013         * nss/makedb.c (compute_tables): Make variables used in nested
89014         function static.
89016 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89018         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89019         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89020         if buffer was too small.
89022         * elf/pldd.c (main): Attach to all threads in the process.
89023         Rewrite /proc handling to use *at functions.
89025 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
89027         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89028         specifies first scope to show.
89029         (dl_open_worker): Update callers.  Move printing scope of new
89030         object to before the relocation.
89031         * elf/rtld.c (dl_main): Update _dl_show_scope call.
89032         * sysdeps/generic/ldsodefs.h: Update declaration.
89034         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89035         string for the scope number.
89037 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
89039         * nscd/servicescache.c (cache_addserv): Make sure written is always
89040         initialized.
89042 2011-08-14  Roland McGrath  <roland@hack.frob.com>
89044         * sysdeps/i386/i486/bits/atomic.h
89045         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89046         statement expression, so as to suppress "set but not used" warning.
89047         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89049         * string/strncat.c (STRNCAT): Use prototype definition.
89051         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89052         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89053         -Iprograms here.
89054         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89055         (localedef-modules): Add localedef.
89056         (locale-modules): Add locale.
89058         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89059         * elf/rtld.c (dl_main): Invert order of assignment in last change,
89060         to avoid a warning.
89062 2011-08-14  David S. Miller  <davem@davemloft.net>
89064         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89065         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89067 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89069         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89070         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89071         * elf/rtld.c (dl_main): Set l_name of vDSO.
89072         Call _dl_show_scope when DL_DEBUG_SCOPES.
89073         (process_dl_debug): Recognize scopes flag and also set it for all.
89074         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89075         Declare _dl_show_scope.
89077         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89078         (do_dlopen): Pass caller_dlopen to dl_open.
89079         (__libc_dlopen_mode): Initialize caller_dlopen.
89081         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89082         of libc.  Make tolower call locale-independent.  Optimize a bit by
89083         using isdigit instead of isalnum.
89084         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89086 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89088         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89089         was a dependency or dynamically loaded.
89091 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89093         * intl/l10nflist.c: Allow architecture-specific pop function.
89094         * sysdeps/x86_64/l10nflist.c: New file.
89096         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89097         classification.
89099 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89101         * include/dirent.h: Add libc_hidden_proto for scandirat and
89102         scandirat64.  Don't declare __scandirat64.
89103         * dirent/scandirat.c: Add libc_hidden_def.
89104         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89105         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89107 2011-08-10  David S. Miller  <davem@davemloft.net>
89109         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89110         enum.
89111         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89112         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89113         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89115 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89117         * Versions.def [libc]: Add GLIBC_2.15.
89118         * dirent/Makefile (routines): Add scandirat and scandirat64.
89119         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89120         GLIBC_2.15.
89121         * dirent/dirent.h: Declare scandirat and scandirat64.
89122         * dirent/scandirat.c: New file.
89123         * dirent/scandirat64.c: New file.
89124         * sysdeps/wordsize-64/scandirat.c: New file.
89125         * sysdeps/wordsize-64/scandirat64.c: New file.
89126         * dirent/opendir.c: Define opendirat.
89127         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89128         using scandirat.
89129         * dirent/scandir64.c: Adjust for scandir.c change.
89130         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89131         __scandirat64, and __scandir_cancel_handler.
89132         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89133         additional parameter and use openat instead of open (outside of ld.so).
89134         Add new __opendir as wrapper around __opendirat.
89135         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89136         here without requiring old scandirat implementation.
89138 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89140         * dirent/scandir.c (cancel_handler): Renamed to
89141         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89142         defined.  Adjust users.
89143         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89144         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89146 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89148         * string/test-string.h (IMPL): Use __STRING to expand name and then
89149         stringify it.
89151         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89152         of cleanups.
89154 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89156         * string/Makefile: Update.
89157         (strop-tests): Append strncat.
89158         * string/test-wcscmp.c: New file.
89159         New comprehensive test for wcscmp.
89160         * string/test-strcmp.c: Update.
89161         (WIDE): New define.
89163 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89165         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89166         line.
89168 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89171         encoding to ACE if AI_IDN.
89173 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89175         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89176         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89178 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89180         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89181         Fix overflow bug in strncat.
89182         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89184         * string/test-strncat.c: Update.
89185         Add new tests for checking overflow bugs.
89187 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89190         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89191         * sysdeps/i386/i686/multiarch/strcat.S: New file.
89192         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89193         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89194         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89195         * sysdeps/i386/i686/multiarch/strncat.S: New file.
89196         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89197         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89199         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89200         (USE_AS_STRCAT): Define.
89201         Add strcat and strncat support.
89202         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89204 2011-07-25  Andreas Schwab  <schwab@redhat.com>
89206         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89207         __n bigger than INT_MAX+1.
89208         (__strncmp_g): Likewise.
89210 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
89212         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89213         * libio/stido.h: Likewise.
89215         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89216         (AF_NFC): Define.
89217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89218         (AF_NFC): Define.
89220         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89222         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89223         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89226         [BZ #13021]
89227         * scripts/test-installation.pl: Don't expect libnss_test1 to be
89228         installed.
89230         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89231         typo.
89232         (_dl_x86_64_save_sse): Likewise.
89234 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
89236         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89237         OSXSAVE.
89238         (_dl_x86_64_save_sse): Likewise.
89240         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89242         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89244 2011-07-21  Andreas Schwab  <schwab@redhat.com>
89246         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89247         change.
89248         (_dl_x86_64_save_sse): Use correct AVX check.
89250 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89252         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89253         bug in strncpy/strncat.
89254         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89256 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
89258         * string/tester.c (test_strcat): Add tests for different alignments
89259         of source and destination.
89260         (test_strncat): Likewise.
89262 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89264         [BZ #12852]
89265         * posix/glob.c (glob): Check passed in values before using them in
89266         expressions to avoid some overflows.
89267         (glob_in_dir): Likewise.
89269         [BZ #13007]
89270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89271         check for AVX enablement so that we don't crash with old kernels and
89272         new hardware.
89273         * elf/tst-audit4.c: Add same checks here.
89274         * elf/tst-audit6.c: Likewise.
89276         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89278 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
89280         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89282 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89284         * po/cs.po: Update from translation team.
89285         * po/bg.po: Likewise.
89287 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
89289         * misc/sys/cdefs.h: Add support for const attribute.
89290         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89291         to gnu_dev_{major,minor,makedev} functions.
89293 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
89295         * intl/dcigettext.c (get_output_charset): Add missing bracket.
89297 2011-07-20  Andreas Schwab  <schwab@redhat.com>
89299         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
89300         strlen results.
89302 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
89305         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
89306         register in order to avoid conflicts with the soft frame pointer
89307         being held in r11 when necessary.
89308         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
89309         (INTERNAL_VSYSCALL_NCS): Likewise.
89311 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
89313         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
89314         * elf/dl-fini.c (_dl_fini): Adjust caller.
89315         * elf/dl-close.c (_dl_close_worker): Likewise.
89316         * sysdeps/generic/ldsodefs.h: Adjust declaration.
89318 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89320         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
89321         "aux_cache->nlibs < 0".
89323         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
89324         in the reload-count case.
89326 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89329         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
89330         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
89331         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
89332         * sysdeps/x86_64/multiarch/strcat.S: New file.
89333         * sysdeps/x86_64/multiarch/strncat.S: New file.
89334         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
89335         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
89336         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
89337         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
89338         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
89339         (USE_AS_STRCAT): Define.
89340         Add strcat and strncat support.
89341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89342         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
89343         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
89344         * string/strncat.c: Update.
89345         (USE_AS_STRNCAT): Define.
89346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89347         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
89348         and i7.
89349         * sysdeps/x86_64/multiarch/init-arch.h
89350         (bit_Prefer_PMINUB_for_stringop): New.
89351         (index_Prefer_PMINUB_for_stringop): Likewise.
89352         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
89353         bit_Prefer_PMINUB_for_stringop.
89355 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89357         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
89358         buffer64.
89359         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
89360         of casting of buffer.
89361         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
89362         buffer32 and buffer64.
89363         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
89364         writes instead of casting of buffer.
89365         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
89366         buffer32.
89367         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
89368         casting of buffer.
89370 2011-07-19  Andreas Schwab  <schwab@redhat.com>
89372         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
89374 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89376         * nscd/nscd.c (termination_handler): Don't do anything for a database
89377         if it has not yet been initialized.
89379 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89381         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89383 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89385         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89387 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89389         * po/nl.po: Update from translation team.
89390         * po/sv.po: Likewise.
89392 2011-07-16  Roland McGrath  <roland@hack.frob.com>
89394         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
89395         now disallowed by GCC.
89397         * configure.in (use-default-link): Default to yes if a test -shared
89398         link meets our qualifications.
89399         * configure: Regenerated.
89401         * config.make.in (output-format): New variable.
89402         * configure.in: Check for ld --print-output-format support.
89403         * configure: Regenerated.
89404         * Makerules ($(common-objpfx)format.lds)
89405         [$(output-format) != unknown]: Just use $(output-format),
89406         instead of the linker-script munging.
89408 2011-07-14  Roland McGrath  <roland@hack.frob.com>
89410         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
89411         of $(common-objpfx)shlib.lds.
89412         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
89414         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
89415         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
89417         * configure.in (-z relro check): Adjust test code to add a large
89418         writable data section after it.
89419         * configure: Regenerated.
89421 2011-07-11  Roland McGrath  <roland@hack.frob.com>
89423         * configure.in (-z relro check): Fix test code to make the variable
89424         truly const.
89425         * configure: Regenerated.
89427 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
89429         * nscd/nscd.h (struct traced_file): Define.
89430         (struct database_dyn): Remove inotify_descr, reset_res, and filename
89431         elements.  Add traced_files.
89432         (inotify_fd): Declare.
89433         (register_traced_file): Declare.
89434         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
89435         (inotify_fd): Export.
89436         (resolv_conf_descr): Remove.
89437         (nscd_init): Move inotify descriptor creation to main.
89438         Don't register files for notification here.
89439         (register_traced_file): New function.
89440         (invalidate_cache): Don't use reset_res to determine whether to call
89441         res_init, go through the list of registered files.
89442         (main_loop_poll): The inotify descriptors are now stored in the
89443         structures for the traced files.
89444         (main_loop_epoll): Likewise.
89445         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
89446         to __nss_disable_nscd.
89447         * nscd/cache.c (prune_cache): There is no single inotify descriptor
89448         for a database anymore.  Check the records for all the registered
89449         files instead.
89450         * nss/Makefile (libnss_files-routines): Add files-init.
89451         (libnss_db-routines): Add db-init.
89452         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
89453         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
89454         * nss/nss_db/db-init.c: New file.
89455         * nss/nss_files/files-init.c: New file.
89456         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
89457         __nss_lookup_function.
89458         (__nss_lookup_function): Call nss_load_library.
89459         (nss_load_all_libraries): New function.
89460         (__nss_disable_nscd): Take parameter with callback function for files
89461         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
89462         used for the cached services.
89463         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
89464         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
89465         options for features to all the files in nscd.
89467         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
89469 2011-07-10  Roland McGrath  <roland@hack.frob.com>
89471         * csu/elf-init.c (__libc_csu_init): Comment typo.
89473 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
89475         * po/pl.po: Update from translation team.
89476         * po/ja.po: Likewise.
89477         * po/ru.po: Likewise.
89478         * po/ko.po: Likewise.
89479         * po/fr.po: Likewise.
89481 2011-07-09  Roland McGrath  <roland@hack.frob.com>
89483         * configure.in (.ctors/.dtors header and trailer check):
89484         Use an empirical test on a built program.
89485         * configure: Regenerated.
89487         * configure.in (-z relro check): Use an empirical test on a built DSO.
89488         Detect, but do not require, on ia64.
89489         * configure: Regenerated.
89491         * configure.in (READELF): Find it with AC_CHECK_TOOL.
89492         Update tests that use readelf to use $READELF instead.
89493         * configure: Regenerated.
89495 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
89497         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
89498         if the result is not used.
89500 2011-07-05  Andreas Jaeger  <aj@suse.de>
89502         [BZ #9696]
89503         * stdlib/tst-strtod.c: Add testcase.
89505 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
89507         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
89508         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
89509         The latter has a higher limit.  Take additional parameter to pass to
89510         the new function.
89511         (__pathconf): Pass file to __statfs_link_max.
89512         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
89513         __statfs_link_max.
89514         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
89515         __statfs_link_max.
89517         [BZ #12868]
89518         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
89519         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89520         Handle Lustre.
89521         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
89522         (__statfs_filesize_max): Likewise.
89523         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
89525 2011-07-05  Andreas Jaeger  <aj@suse.de>
89527         * resolv/res_comp.c (dn_skipname): Remove unused variable.
89529 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
89531         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
89532         `status' variable.
89533         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
89534         Likewise.
89536 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
89538         * Makefile (strop-tests): Add strncat.
89539         * string/test-strncat.c: New file.
89541 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
89543         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
89545 2011-06-21  Andreas Jaeger  <aj@suse.de>
89547         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
89548         Copy rule from iconvdata/Makefile.
89550 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89552         [BZ #12922]
89553         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
89554         but no long options are defined, just return 'W'.
89556 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
89558         [BZ #9696]
89559         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
89561 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89563         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
89564         netgroups to read.
89565         (innetgr): Likewise.
89567 2011-07-05  Roland McGrath  <roland@hack.frob.com>
89569         * config.make.in (install_root): Default to $(DESTDIR).
89571 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
89573         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
89575 2011-07-02  Roland McGrath  <roland@hack.frob.com>
89577         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
89579         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
89580         containing directory rather than embedding absolute directory names.
89582         * scripts/check-local-headers.sh: Rewritten using awk.
89583         Match by word, not by line.  Print error messages for matches.
89584         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
89586         * Makerules [shlib-lds-flags empty]:
89587         ($(common-objpfx)libc_pic.opts): New target.
89588         ($(common-objpfx)libc_pic.os.clean): New target.
89589         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
89591         * config.make.in (OBJCOPY): New variable.
89592         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
89593         * configure: Regenerated.
89595         * config.make.in (use-default-link): New variable.
89596         * configure.in (use_default_link): Grok --with-default-link to set it.
89597         * configure: Regenerated.
89598         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
89599         (shlib-lds, shlib-lds-flags): Define to empty.
89601         * Makerules (shlib-lds): New variable.
89602         (shlib-lds-flags): New variable.
89603         (build-shlib, build-moduile, build-module-asneeded): Use it.
89604         ($(common-objpfx)libc.so): Use $(shlib-lds).
89605         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
89606         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
89608         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
89609         DT_FLAGS/DT_FLAGS_1 with zero flags.
89611         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
89612         linker script munging.
89614 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
89616         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
89617         as 128-bit value.
89618         * crypt/sha512.c (sha512_process_block): Perform total addition using
89619         128-bit if possible.
89620         (__sha512_finish_ctx): Likewise.
89621         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
89622         as 64-bit value.
89623         * crypt/sha256.c (SWAP64): Define.
89624         (sha256_process_block): Perform total addition using 64-bit if
89625         possible.
89626         (__sha256_finish_ctx): Likewise.
89628 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
89630         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
89631         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89632         * nscd/hstcache.c (cache_addhst): Likewise.
89633         * nscd/grpcache.c (cache_addgr): Likewise.
89634         * nscd/aicache.c (addhstaiX): Likewise.
89635         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89637 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89639         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89640         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89641         * nscd/hstcache.c (cache_addhst): Likewise.
89642         * nscd/grpcache.c (cache_addgr): Likewise.
89643         * nscd/aicache.c (addhstaiX): Likewise.
89645 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89647         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89648         domain only when needed.
89650 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89653         is always restored.
89655 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89657         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89658         are re-adding the entry.
89659         * nscd/servicescache.c (cache_addserv): Likewise.
89661 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89663         * sysdeps/generic/dl-irel.h: fix protection against multiple
89664         inclusions.
89665         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89667 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89669         [BZ #12935]
89670         * malloc/memusage.sh: Fix quoting in message.
89671         * debug/xtrace.sh: Likewise.
89673         * configure.in: Remove support for --experimental-malloc option, make
89674         it the default.
89675         * config.make.in: Likewise.
89676         * malloc/Makefile: Likewise.
89678 2011-06-27  Andreas Schwab  <schwab@redhat.com>
89680         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89681         two-byte characters.
89683 2011-06-27  Roland McGrath  <roland@hack.frob.com>
89685         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
89686         AC_CACHE_CHECK invocation.
89687         * configure: Regenerated.
89689         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
89691 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
89693         [BZ #12350]
89694         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
89695         bit from old_res_options.
89697         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
89699         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
89700         value type for setfct.
89702 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
89704         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89705         __gettimeofday instead of gettimeofday.
89707 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
89709         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
89711 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
89713         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
89715         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
89716         info.
89718 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89721         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89722         strcpy-sse2-unaligned strncpy-sse2-unaligned
89723         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
89724         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
89725         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
89726         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
89727         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
89728         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
89729         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
89730         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
89731         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
89732         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
89733         (STRCPY): Support SSE2 and SSSE3 versions.
89735 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
89737         [BZ #12874]
89738         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
89739         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
89740         kernels which artificially limit size of requests.
89742 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89744         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89745         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89746         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
89747         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
89748         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
89749         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
89750         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
89751         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
89752         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
89753         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
89754         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89755         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
89756         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
89757         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
89758         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
89759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89760         Enable unaligned load optimization for Intel Core i3, i5 and i7
89761         processors.
89762         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
89763         Define.
89764         (index_Fast_Unaligned_Load): Define.
89765         (HAS_FAST_UNALIGNED_LOAD): Define.
89767 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
89769         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
89771 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89773         [BZ #12907]
89774         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
89775         until it is clear that the information is realy needed.
89776         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
89778 2011-06-22  Andreas Schwab  <schwab@redhat.com>
89780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
89782 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89784         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89785         /sys/devices/system/cpu/online if it is usable.
89787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
89788         reading the information from the /proc filesystem to once a second.
89790 2011-06-21  Andreas Jaeger  <aj@suse.de>
89792         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
89793         NULL after inclusion of kernel headers.
89795 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
89797         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
89798         calls to internal_setent.
89800         [BZ #12885]
89801         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
89802         addresses using gethostbyname4_r ignore IPv4 addresses.
89804         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
89805         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
89807         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
89809 2011-06-20  David S. Miller  <davem@davemloft.net>
89811         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
89812         inclusions.
89813         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
89815         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
89816         (elf_irel): Use it.
89817         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
89818         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
89819         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
89820         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
89821         * sysdeps/x86_64/dl-irel.h: Likewise.
89823         * elf/dl-runtime.c: Use elf_ifunc_invoke.
89824         * elf/dl-sym.c: Likewise.
89826 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89828         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
89829         need to dereference resplen2.
89831 2011-06-14  Andreas Schwab  <schwab@redhat.com>
89833         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
89835 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89837         * Makeconfig: Define vardbdir and inst_vardbdir.
89838         * nss/Makefile: Add rules to install db-Makefile.
89840         * nss/nss_db/db-XXX.c: Cleanup.
89842         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
89843         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
89844         GLIBC_PRIVATE.
89845         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
89846         * nss/makedb.c: Implement -g option to specify that value strings
89847         are generated and should not be added to table iterated over for
89848         get*ent calls.
89849         * nss/nss_db/db-initgroups.c: New file.
89851         * nss/getent.c: Add support for initgroups lookups through getgrouplist
89852         interface.
89854         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
89855         (internal_getgrouplist): Adjust to name change.
89856         Update use_initgroups_entry if this is not the first call.
89857         * nss/databases.def: Add initgroups entry.
89859         * nss/makedb.c (compute_tables): Check result of multiple hash table
89860         sizes to minimize maximum chain length.
89862 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
89864         * Versions.def: Add entry for libnss_db.
89865         * shlib-versions: Likewise.
89866         * nss/Makefile: Add rules to build libnss_db.
89867         * nss/Versions: Add libnss_db information.  Organize libnss_files
89868         entries better.
89869         * nss/db-Makefile: Add gshadow support.  Change rules for the new
89870         makedb progra.  Some minor improvements to generate smaller files.
89871         * nss/nss_db/nss_db.h: Move NSS database header data structures to
89872         here from...
89873         * nss/makedb.c: ...here.
89874         Improve database format to be smaller and require less memory at
89875         runtime.
89876         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
89877         db anymore.
89878         * nss/nss_db/db-netgrp.c: Likewise.
89879         * nss/nss_db/db-open.c: Likewise.
89880         * nss/nss_files/flies-XXX.x: Adjust comments.
89881         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
89882         * nss/nss_files/files-grp.c: Likewise.
89883         * nss/nss_files/files-hosts.c: Likewise.
89884         * nss/nss_files/files-network.c: Likewise.
89885         * nss/nss_files/files-proto.c: Likewise.
89886         * nss/nss_files/files-pwd.c: Likewise.
89887         * nss/nss_files/files-rpc.c: Likewise.
89888         * nss/nss_files/files-service.c: Likewise.
89889         * nss/nss_files/files-sgrp.c: Likewise.
89890         * nss/nss_files/files-spwd.c: Likewise.
89891         * nss/nss_db/db-alias.c: Removed.
89892         * nss/nss_db/dummy-db.h: Removed.
89894 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
89896         * nss/makedb.c: Rewritten to not use database library.
89897         * nss/Makefile: Update to build new makedb program.
89899 2011-06-14  Andreas Jaeger  <aj@suse.de>
89901         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
89902         memset declaration.
89904 2011-06-10  Andreas Schwab  <schwab@redhat.com>
89906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
89907         tmpbuf.
89909 2011-06-10  Roland McGrath  <roland@hack.frob.com>
89911         * Makerules (shlib.lds): Fail if the linker script comes out empty.
89912         * elf/Makefile ($(objpfx)ld.so): Likewise.
89914         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
89915         Don't list ld.so twice in dependencies.
89917         * posix/bug-regex31.c: Include <stdlib.h>.
89919         * nscd/hstcache.c (cache_addhst): Remove unused variable.
89921         * nis/nss_compat/compat-spwd.c
89922         (getspent_next_nss_netgr): Remove unused variable.
89923         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
89925         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
89926         nonmembers" output to use the right array.
89928         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
89930         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
89932         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
89933         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
89934         * catgets/gencat.c (read_input_file): Likewise.
89935         * locale/programs/locarchive.c (enlarge_archive): Likewise.
89937         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
89938         variable definition inside #if's controlling its use.
89940         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
89942         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
89944         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
89946         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
89947         unreachable code.
89949         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
89951         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
89952         * configure: Regenerated.
89954         * Makerules: Revert last change.
89955         * elf/Makefile: Likewise.
89957 2011-06-09  Roland McGrath  <roland@hack.frob.com>
89959         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
89960         * elf/Makefile ($(objpfx)librtld.os): Likewise.
89961         (reloc-link): Likewise.
89963 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
89965         * elf/Makefile: Add rules to build pldd.
89966         * elf/pldd.c: New file.
89967         * elf/pldd-xx.c: New file.
89969 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
89971         * version.h: Update for 2.15 development version.
89973 2011-06-07  David S. Miller  <davem@davemloft.net>
89975         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
89976         ifuncs.
89977         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
89978         elf_machine_lazy_rel): Likewise.
89979         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
89980         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
89981         elf_machine_lazy_rel): Likewise.
89982         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
89983         dl_hwcap via passed in argument.
89984         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
89985         Likewise.
89987 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89989         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
89991 2011-06-06  Roland McGrath  <roland@hack.frob.com>
89993         [BZ #12849]
89994         * manual/fdl-1.1.texi: New file, verbatim from:
89995         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
89996         * manual/lgpl-2.1.texi: New file, verbatim from:
89997         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
89998         * manual/Makefile (licenses): New variable, list those new file names.
89999         (texis): Use it.
90000         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90002         * manual/fdl.texi: File removed.
90003         * manual/lesser.texi: File removed.
90004         * manual/libc.texinfo (Copying, Documentation License):
90005         Use new @include file names, put @appendix directive before @include.
90007 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
90009         [BZ #12841]
90010         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90011         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90012         (mq_open): Add __NTH.
90014 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
90016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90017         Assume Intel Core i3/i5/i7 processor if AVX is available.
90019 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90021         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90022         typo.
90024 2011-05-31  Andreas Schwab  <schwab@redhat.com>
90026         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90027         memory.  Use alloca_account.  Fix memory leak when retrying.
90029 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90031         * version.h (RELEASE): Bump for 2.14 release.
90032         * include/features.h (__GLIBC_MINOR__): Bump to 14.
90034         * config.make.in (RANLIB): Remove entry.
90036 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
90038         * po/Makefile (po-sed-cmd): Add ksh to extensions.
90039         (libc.pot): Work around missing support for .ksh extension in xgettext.
90041         [BZ #12684]
90042         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90043         if both request failed.
90044         (send_dg): In case of server errors clear resplen or *resplen2.
90046         [BZ #12454]
90047         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90048         when there are multiple maps.
90049         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90050         (_dl_fini): Remove test here.
90052         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90054 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
90056         [BZ #12350]
90057         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90058         bit from old_res_options.
90059         (gaih_inet): Likewise.
90061         [BZ #11099]
90062         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90063         as signed.
90065         * resolv/res_init.c (res_setoptions): Make the code more compact.
90067         [BZ #11558]
90068         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90069         set RES_USEVC.
90071         [BZ #11634]
90072         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90074         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90076         [BZ #11781]
90077         * malloc/malloc.h: Declare malloc hook variables as volatile.
90079         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90080         in last patch.
90082         [BZ #11799]
90083         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90084         raise in the comment.
90085         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90086         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90087         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90089 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90091         [BZ #12811]
90092         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90093         grow the buffers more if it already has to be sufficient.
90094         (build_wcs_upper_buffer): Likewise.
90095         * posix/regexec.c (check_matching): Likewise.
90096         (clean_state_log_if_needed): Likewise.
90097         (extend_buffers): Don't enlarge buffers beyond size of the input
90098         buffer.
90099         Patches mostly by Emil Wojak <emil@wojak.eu>.
90100         * posix/bug-regex32.c: New file.
90101         * posix/Makefile (tests): Add bug-regex32.
90103         * locale/findlocale.c (_nl_find_locale): Return right away if
90104         _nl_explode_name failed.
90105         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90107         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90109         * debug/xtrace.sh: Unify messages.
90110         * malloc/memusage.sh: Likewise.
90112         [BZ #12813]
90113         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90114         time symbol from vDSO.  Substitute with vsyscall if not available.
90115         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90116         __vdso_time.
90118         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90119         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90120         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90121         Add sendmmsg and internal_sendmmsg.
90122         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90123         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90124         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90126         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90127         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90128         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90130 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90132         [BZ #12813]
90133         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90134         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90135         available.
90136         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90137         __vdso_getcpu.
90139         [BZ #12814]
90140         * iconvdata/Makefile (tests): Add bug-iconv9.
90141         * iconvdata/bug-iconv9.c: New file.
90143 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90145         [BZ #12814]
90146         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90148 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90150         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90151         (struct user_regs_struct): Change intcs field back to cs.
90153 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90155         * po/ja.po: Update from translation team.
90157 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90159         [BZ #12795]
90160         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90161         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90163 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90165         * stdlib/longlong.h: Update from GCC.
90167 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90169         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90170         parameter name.
90171         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90172         Add parameter name.
90173         (__sysconf): Pass it down.
90175 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90177         [BZ #12671]
90178         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90179         some situations.
90180         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90181         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90182         add in in __libc_use_alloca calls.  Adjust callers.
90183         (glob): Use malloc in some situations.
90185         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90186         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90187         pltexit.
90189 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
90191         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90192         and CLOCK_BOOTTIME_ALARM.
90194         [BZ #12782]
90195         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90196         is returned.
90198         * string/_strerror.c (__strerror_r): Print negative errors as signed
90199         numbers.
90201         [BZ #12777]
90202         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90203         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90204         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90206         * configure.in: Fix typo in redirection and correct removal of test
90207         files in two cases.
90209         [BZ #12788]
90210         * locale/setlocale.c (new_composite_name): Fix test to check for
90211         identical name of all categories.
90213         [BZ #12792]
90214         * libio/filedoalloc.c (local_isatty): New function.
90215         (_IO_file_doallocate): Use local_isatty.
90216         * stdio-common/perror.c (perror): In case a new stream is used
90217         forward the stream error.
90218         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90219         error flag.
90221 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
90223         [BZ #11884]
90224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90225         alloca.
90226         * include/alloca.h (extend_alloca_account): Define.
90228         [BZ #11857]
90229         * posix/regex.h: Fix comments with documentation of user-accessible
90230         fields after compilation and describe correct free'ing of pattern
90231         after re_compile_pattern.
90232         Patch by Reuben Thomas <rrt@sc3d.org>.
90234 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
90236         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90237         and -mno-altivec to prevent the compiler from using Altivec and/or
90238         VSX instructions when the corresponding registers are not available.
90240 2011-05-19  Andreas Schwab  <schwab@redhat.com>
90242         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90244 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
90246         * libio/freopen.c (freopen): Use __dup2, not dup2.
90247         * libio/freopen64.c (freopen64): Likewise.
90249 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
90251         [BZ #12775]
90252         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90253         * math/Makefile (tests): Add test-powl.
90254         (CFLAGS-test-powl.c): Define.
90255         * math/test-powl.c: New file.
90257 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
90259         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90261 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
90263         [BZ #11837]
90264         * iconvdata/gb18030.c: Update to GB18020-2005.
90266 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
90268         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90269         RE_SYNTAX_POSIX_AWK): Update to match recent development.
90270         Patch by Aharon Robbins <arnold@skeeve.com>.
90272         [BZ #11892]
90273         * stdlib/putenv.c (putenv): Don't always create copy of the variable
90274         on the stack.
90276         [BZ #11895]
90277         * misc/pselect.c (__pselect): Handle timeout value errors hidden
90278         through underflows.
90280         [BZ #12766]
90281         * misc/error.c (error_at_line): Ensure file_name and old_file_name
90282         point to strings before performing equality test for error_one_per_line
90283         mode.
90285         [BZ #11697]
90286         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90288         [BZ #11820]
90289         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90290         (struct user_fpregs_struct): Avoid __uint*_t types.
90292         [BZ #6420]
90293         * malloc/mtrace.c (tr_where): Add additional parameter to point to
90294         symbol info.  Use it instead of calling _dl_addr locally.
90295         (lock_and_info): New function.
90296         (tr_freehook): Call lock_and_info and pass symbol info as additional
90297         parameter to tr_where.
90298         (tr_mallochook): Likewise.
90299         (tr_reallochook): Likewise.
90300         (tr_memalignhook): Likewise.
90302         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
90303         used and couldn't be at all thread-safe.
90305 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
90307         * libio/freopen.c (freopen): Don't close old file descriptor
90308         before the new one is opened.  Instead dup the new file descriptor
90309         to the old one after the new stream is created.
90310         * libio/freopen64.c (freopen64): Likewise.
90311         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
90312         * libio/fileops.c (_IO_new_file_close_it): Handle new
90313         _IO_FLAGS2_NOCLOSE flag.
90314         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
90315         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
90316         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
90317         _IO_FLAGS2_NOCLOSE flag.
90318         * include/unistd.h: Add hidden_proto for dup3.
90319         Define __have_dup3.
90320         * io/dup3.c: Define hidden symbol.
90321         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
90323         [BZ #7101]
90324         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
90325         when an incomplete long option is used.
90326         * posix/tst-getopt_long1.c: New file.
90327         * posix/Makefile (tests): Add tst-getopt_long1.
90329         [BZ #10138]
90330         * scripts/config.guess: Update from autoconf-2.68.
90331         * scripts/config.sub: Likewise.
90333         [BZ #10157]
90334         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
90335         tests into ...
90336         (has_cpuclock): ...this.  New function.
90337         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
90338         macro here based on has_cpuclock code.
90340         [BZ #10149]
90341         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90342         First byte (not low byte) is now always NUL.
90343         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
90345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90346         Use non-cancelable interfaces.
90348         [BZ #9809]
90349         * locale/iso-639.def: Add entry for Sorani.
90351         [BZ #11901]
90352         * include/stdlib.h: Move include protection to the right place.
90353         Define abort_msg_s.  Declare __abort_msg with it.
90354         * stdlib/abort.c (__abort_msg): Adjust type.
90355         * assert/assert.c (__assert_fail_base): New function.  Majority
90356         of code from __assert_fail.  Allocate memory for __abort_msg with
90357         mmap.
90358         (__assert_fail): Now call __assert_fail_base.
90359         * assert/assert-perr.c: Remove bulk of implementation.  Use
90360         __assert_fail_base.
90361         * include/assert.hL Declare __assert_fail_base.
90362         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
90363         mmap.
90364         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
90366 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
90368         [BZ #11952]
90369         [BZ #12453]
90370         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
90371         until all modules are registered in the DTV.
90372         * elf/Makefile: Add rules to build and run tst-tls19.
90373         * elf/tst-tls19.c: New file.
90374         * elf/tst-tls19mod1.c: New file.
90375         * elf/tst-tls19mod2.c: New file.
90376         * elf/tst-tls19mod3.c: New file.
90377         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
90379         [BZ #12083]
90380         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
90381         correctly.
90383         [BZ #12601]
90384         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
90385         two-byte sequence errors.
90386         * iconvdata/Makefile (tests): Add bug-iconv8.
90387         * iconvdata/bug-iconv8.c: New file.
90389         [BZ #12626]
90390         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
90391         buf2 definition.
90393         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
90395         [BZ #12432]
90396         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
90397         (dummy_getcfa): New function.
90398         (init): Get _Unwind_GetCFA address, use dummy if not found.
90399         (backtrace_helper): In recursion check, also check whether CFA changes.
90400         (__backtrace): Completely initialize arg.
90402         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
90403         storing incomplete byte sequence in state object.  Avoid testing for
90404         guaranteed too small input if we know there is enough data available.
90406 2011-05-11  Andreas Schwab  <schwab@redhat.com>
90408         * Makeconfig (+link-pie): Indent.
90409         * Rules (binaries-pie): Define if $(have-fpie) and
90410         $(build-shared).
90411         (binaries-shared): Also filter out $(binaries-pie).
90412         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
90413         * nscd/Makefile (others-pie): Add nscd.
90414         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
90415         ($(objpfx)nscd): Remove command override.
90416         * login/Makefile (others-pie): Add pt_chown.
90417         ($(objpfx)pt_chown): Remove command override.
90418         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
90419         remove command overrides.
90421 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
90423         * libio/tst_putwc.c: Fix error messages.
90425         [BZ #12724]
90426         * libio/fileops.c (_IO_new_file_close_it): Always flush when
90427         currently writing and seek to current position when not.
90428         * libio/Makefile (tests): Add bug-fclose1.
90429         * libio/bug-fclose1.c: New file.
90431 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
90433         [BZ #12511]
90434         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
90435         don't set DF_1_NODELETE here.
90436         (do_lookup_x): When entering new entry test for copy relocation
90437         and if necessary set DF_1_NODELETE flag.
90438         * elf/tst-unique4.cc: New file.
90439         * elf/tst-unique4.h: New file.
90440         * elf/tst-unique4lib.cc: New file.
90441         * elf/Makefile: Add rules to build and run tst-unique4.
90442         Patch by Piotr Bury <pbury@goahead.com>.
90444 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
90446         [BZ #12052]
90447         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
90449         [BZ #12625]
90450         * misc/mntent_r.c (addmntent): Flush the stream after the output
90452         [BZ #12393]
90453         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
90454         (is_trusted_path_normalize): Skip initial colon.  Append slash
90455         to empty buffer.  Duplicate is_trusted_path code but allow
90456         constructed patch to be prefix.
90457         (is_dst): Allow $ORIGIN followed by /.
90458         (_dl_dst_substitute): Correct clearing of check_for_trusted.
90459         Correct testing of result of is_trusted_path_normalize
90460         (decompose_rpath): Fix warning.
90462 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
90464         [BZ #11257]
90465         * grp/initgroups.c (internal_getgrouplist): When we found the service
90466         list through the initgroups entry in nsswitch.conf do not always
90467         continue on a successful lookup.  Don't always use the
90468         __nss_group_database value if it is set.
90469         * nss/nsswitch.conf (initgroups): Change action for successful db
90470         lookup to continue for compatibility.
90472 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
90474         [BZ #11532]
90475         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
90476         and CP774 modules.
90477         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
90478         and CP774 modules.
90479         * iconvdata/tst-tables.sh: Likewise.
90480         * iconvdata/cp770.c: New file.
90481         * iconvdata/cp771.c: New file.
90482         * iconvdata/cp772.c: New file.
90483         * iconvdata/cp773.c: New file.
90484         * iconvdata/cp774.c: New file.
90485         * iconvdata/testdata/CP770: New file.
90486         * iconvdata/testdata/CP770..UTF8: New file.
90487         * iconvdata/testdata/CP771: New file.
90488         * iconvdata/testdata/CP771..UTF8: New file.
90489         * iconvdata/testdata/CP772: New file.
90490         * iconvdata/testdata/CP772..UTF8: New file.
90491         * iconvdata/testdata/CP773: New file.
90492         * iconvdata/testdata/CP773..UTF8: New file.
90493         * iconvdata/testdata/CP774: New file.
90494         * iconvdata/testdata/CP774..UTF8: New file.
90496         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
90497         END CHARMAP line.
90498         * iconvdata/gen-8bit-gap.sh: Likewise.
90499         * iconvdata/gen-8bit.sh: Likewise.
90501         * locale/iso-639.def: Add ary entry.
90503         [BZ #11258]
90504         * locale/C-translit.h.in: Add U20A1 transliteration.
90506         [BZ #12178]
90507         * locale/iso-639.def: Add wae entry.
90508         Patch by Kevin Bortis <bortis@translate-wae.ch>.
90510         [BZ #12545]
90511         * locale/programs/localedef.c (construct_output_path): Use ssize_t
90512         for n.
90514         [BZ #12711]
90515         * locale/C-translit.h.in: Add entry for U20B9.
90516         Patch by pravin.d.s@gmail.com.
90518 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
90520         [BZ #12713]
90521         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
90522         ENAMETOOLONG use generic getcwd.
90523         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
90524         in rtld.  Use *stat64.
90525         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
90526         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
90527         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
90528         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
90529         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
90530         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
90531         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
90532         __fstatat64 macros.
90533         * include/dirent.h: Add libc_hidden_proto for rewinddir.
90534         * dirent/rewinddir.c: Add libc_hidden_def.
90535         * sysdeps/mach/hurd/rewinddir.c: Likewise.
90536         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
90538         * include/dirent.h (__alloc_dir): Add flags parameter.
90539         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
90540         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
90541         __alloc_dir.
90542         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
90543         from fdopendir if O_CLOEXEC is already set.
90545 2011-03-15  Alan Modra  <amodra@gmail.com>
90547         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
90548         l_tls_firstbyte_offset non-zero.  Save padding offset in
90549         l_tls_firstbyte_offset for later use.
90550         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
90551         freeing static tls block.
90553 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
90555         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
90556         where #ifdef was intended.  The intent is to prevent ARG_MAX from
90557         being defined by the kernel headers.
90559 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
90561         [BZ #12734]
90562         * resolv/resolv.h: Define RES_NOTLDQUERY.
90563         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
90564         no-tld-query and set RES_NOTLDQUERY.
90565         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
90566         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
90567         modern BIND to search name as TLD unless forbidden.
90569 2011-05-07  Petr Baudis  <pasky@suse.cz>
90570             Ulrich Drepper  <drepper@gmail.com>
90572         [BZ #12393]
90573         * elf/dl-load.c (fillin_rpath): Move trusted path check...
90574         (is_trusted_path): ...to here.
90575         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
90576         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
90577         using is_trusted_path_normalize() in setuid scripts.
90579 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
90581         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
90582         __BEGIN/__END_DECLS.
90584 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
90586         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
90587         NSS_STATUS_NOTFOUND if no record was found.
90589 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90591         * sunrpc/Makefile (headers): Add rpc/netdb.h.
90592         (headers-not-in-tirpc): Remove rpc/netdb.h
90593         * resolv/netdb.h: Revert last change.
90595 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
90597         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
90598         circular dependency between libgcc.a and libc.a.
90600 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90602         * resolv/netdb.h: Don't include <rpc/netdb.h>.
90603         * nis/Makefile: Don't install rpcsvc/*.
90604         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
90605         instead of <rpc/types.h>.
90606         (MAXHOSTNAMELEN): Define.
90608 2011-05-03  Andreas Schwab  <schwab@redhat.com>
90610         * elf/ldconfig.c (add_dir): Don't crash on empty path.
90612 2011-04-28  Maciej Babinski  <mbabinski@google.com>
90614         [BZ #12714]
90615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
90616         gethostbyname4_r when IPv6 results are possible.
90618 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
90620         [BZ #12723]
90621         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
90622         _PC_PIPE_BUF handling.
90624 2011-04-30  Bruno Haible  <bruno@clisp.org>
90626         [BZ #12717]
90627         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90628         * resolv/netdb.h (getnameinfo): Change type of flags parameter
90629         to 'int'.
90630         * inet/getnameinfo.c (getnameinfo): Likewise.
90632 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90634         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90635         to groups setting in database lookup.
90636         * nss/nsswitch.conf: Add initgroups entry.
90638 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90640         [BZ #12685]
90641         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90642         mode string.
90643         Patch by Eric Blake <eblake@redhat.com>.
90645 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90647         * sunrpc/Makefile (need-export-routines): Add svc_run.
90648         (routines): Remove svc_run.
90649         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90650         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90651         * sunrpc/svc_run.c (svc_run): Likewise.
90652         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90654 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90656         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90657         problem in reallocation in last patch.
90659 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90661         * sunrpc/Makefile: Move inclusion of Rules.
90663 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90665         * nss/nss_files/files-initgroups.c: New file.
90666         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90667         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90668         _nss_files_initgroups_dyn.
90670 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
90672         * elf/elf.h (R_ARM_IRELATIVE): Define.
90674 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90676         * po/ru.po: Update from translation team.
90678 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90680         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90681         dependencies.
90683 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
90685         [BZ #12653]
90686         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
90687         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
90688         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90689         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
90690         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
90692 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
90694         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
90695         differing bytes.
90696         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
90697         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
90698         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90700 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90702         [BZ #12420]
90703         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
90704         storing it.
90705         * stdlib/bug-getcontext.c: New file.
90706         * stdlib/Makefile: Add rules to build and run bug-getcontext.
90708 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90710         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
90711         instructions into .machine "z9-109".
90712         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
90713         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
90715 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90717         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
90718         between environment variables and auxiliary vector.
90720 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
90722         * Makefile: Add rules to build linkobj/libc.so.
90723         * include/libc-symbols.h: Define libc_hidden_nolink.
90724         * include/rpc/auth.h: Mark functions which are to be hidden.
90725         * include/rpc/auth_des.h: Likewise.
90726         * include/rpc/auth_unix.h: Likewise.
90727         * include/rpc/clnt.h: Likewise.
90728         * include/rpc/des_crypt.h: Likewise.
90729         * include/rpc/key_prot.h: Likewise.
90730         * include/rpc/pmap_clnt.h: Likewise.
90731         * include/rpc/pmap_prot.h: Likewise.
90732         * include/rpc/pmap_rmt.h: Likewise.
90733         * include/rpc/rpc_msg.h: Likewise.
90734         * include/rpc/svc.h: Likewise.
90735         * include/rpc/svc_auth.h: Likewise.
90736         * include/rpc/xdr.h: Likewise.
90737         * nis/Makefile: Link all DSOs against linkobj/libc.so.
90738         * nss/Makefile: Likewise.
90739         * sunrpc/Makefile: Don't install headers.  Build library with normal
90740         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
90741         * sunrpc/auth_des.c: Hide exported symbols by default, export some
90742         for the compat linking library.  Remove use of INTDEF/INTUSE.
90743         * sunrpc/auth_none.c: Likewise.
90744         * sunrpc/auth_unix.c: Likewise.
90745         * sunrpc/authdes_prot.c: Likewise.
90746         * sunrpc/authuxprot.c: Likewise.
90747         * sunrpc/clnt_gen.c: Likewise.
90748         * sunrpc/clnt_perr.c: Likewise.
90749         * sunrpc/clnt_raw.c: Likewise.
90750         * sunrpc/clnt_simp.c: Likewise.
90751         * sunrpc/clnt_tcp.c: Likewise.
90752         * sunrpc/clnt_udp.c: Likewise.
90753         * sunrpc/clnt_unix.c: Likewise.
90754         * sunrpc/des_crypt.c: Likewise.
90755         * sunrpc/des_soft.c: Likewise.
90756         * sunrpc/get_myaddr.c: Likewise.
90757         * sunrpc/key_call.c: Likewise.
90758         * sunrpc/key_prot.c: Likewise.
90759         * sunrpc/netname.c: Likewise.
90760         * sunrpc/pm_getmaps.c: Likewise.
90761         * sunrpc/pm_getport.c: Likewise.
90762         * sunrpc/pmap_clnt.c: Likewise.
90763         * sunrpc/pmap_prot.c: Likewise.
90764         * sunrpc/pmap_prot2.c: Likewise.
90765         * sunrpc/pmap_rmt.c: Likewise.
90766         * sunrpc/publickey.c: Likewise.
90767         * sunrpc/rpc_cmsg.c: Likewise.
90768         * sunrpc/rpc_common.c: Likewise.
90769         * sunrpc/rpc_dtable.c: Likewise.
90770         * sunrpc/rpc_prot.c: Likewise.
90771         * sunrpc/rpc_thread.c: Likewise.
90772         * sunrpc/rtime.c: Likewise.
90773         * sunrpc/svc.c: Likewise.
90774         * sunrpc/svc_auth.c: Likewise.
90775         * sunrpc/svc_authux.c: Likewise.
90776         * sunrpc/svc_raw.c: Likewise.
90777         * sunrpc/svc_run.c: Likewise.
90778         * sunrpc/svc_simple.c: Likewise.
90779         * sunrpc/svc_tcp.c: Likewise.
90780         * sunrpc/svc_udp.c: Likewise.
90781         * sunrpc/svc_unix.c: Likewise.
90782         * sunrpc/svcauth_des.c: Likewise.
90783         * sunrpc/xcrypt.c: Likewise.
90784         * sunrpc/xdr.c: Likewise.
90785         * sunrpc/xdr_array.c: Likewise.
90786         * sunrpc/xdr_float.c: Likewise.
90787         * sunrpc/xdr_intXX_t.c: Likewise.
90788         * sunrpc/xdr_mem.c: Likewise.
90789         * sunrpc/xdr_rec.c: Likewise.
90790         * sunrpc/xdr_ref.c: Likewise.
90791         * sunrpc/xdr_sizeof.c: Likewise.
90792         * sunrpc/xdr_stdio.c: Likewise.
90794 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
90796         [BZ #12650]
90797         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
90798         * sysdeps/ia64/dl-tls.h: Likewise.
90799         * sysdeps/powerpc/dl-tls.h: Likewise.
90800         * sysdeps/s390/dl-tls.h: Likewise.
90801         * sysdeps/sh/dl-tls.h: Likewise.
90802         * sysdeps/sparc/dl-tls.h: Likewise.
90803         * sysdeps/x86_64/dl-tls.h: Likewise.
90804         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
90806 2011-03-14  Andreas Schwab  <schwab@redhat.com>
90808         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
90809         rpath element also skip the following colon.
90810         (expand_dynamic_string_token): Add is_path parameter and pass
90811         down to DL_DST_REQUIRED and _dl_dst_substitute.
90812         (decompose_rpath): Call expand_dynamic_string_token with
90813         non-zero is_path.  Ignore empty rpaths.
90814         (_dl_map_object_from_fd): Call expand_dynamic_string_token
90815         with zero is_path.
90817 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
90819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
90820         Make cancelable.
90822 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
90824         [BZ #12655]
90825         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
90826         Patch by Filipe David Manana <fdmanana@apache.org>.
90828 2011-04-07  Andreas Schwab  <schwab@redhat.com>
90830         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
90831         Maintain aligned stack.
90832         (CHECK_RSP): Remove unused macro.
90834 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
90836         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
90837         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
90839 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
90841         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
90843         * include/features.h: Mention __USE_XOPEN2K8 in comment.
90845 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
90847         [BZ #12518]
90848         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
90849         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
90850         * sysdeps/x86_64/memmove.c: New file.
90851         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
90852         (memcpy): Renamed to ...
90853         (__new_memcpy): This.
90854         (memcpy): Provide GLIBC_2_14 memcpy.
90855         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
90856         (memcpy): Provide GLIBC_2_2_5 memcpy.
90858 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90860         [BZ #12631]
90861         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
90863 2011-03-30  Andreas Schwab  <schwab@redhat.com>
90865         * misc/syncfs.c: New file.
90866         * misc/Makefile (routines): Add syncfs.
90867         * posix/unistd.h: Declare syncfs.
90868         * sysdeps/unix/syscalls.list: Add syncfs.
90870 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90872         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
90873         open_by_handle_at.
90874         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90875         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90877         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90878         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90879         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
90880         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90882 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90884         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
90885         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90886         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
90887         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90888         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90890         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90892         * io/Makefile: Compile fallocate.c, fallocate64.c, and
90893         sync_file_range.c with -fexceptions.
90894         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
90895         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
90896         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
90897         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
90898         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
90899         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
90900         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
90901         sync_file_range as cancellation point
90902         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
90903         now a wrapper around __call_sync_file_range with cancellation handling.
90904         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
90905         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
90906         function name to __call_sync_file_range.
90907         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
90908         Add call_sync_file_range.
90910 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
90913         bits/timex.h.
90915 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90917         * iconv/iconv.h: Fix typo in comment.
90918         * io/fcntl.h: Likewise.
90919         * libio/stdio.h: Likewise.
90920         * posix/spawn.h: Likewise.
90921         * posix/unistd.h: Likewise.
90922         * stdlib/stdlib.h: Likewise.
90923         * time/time.h: Likewise.
90924         * wcsmbs/wchar.h: Likewise.
90926         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
90927         open_by_handle): Add.
90928         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
90929         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
90930         Augment a few comments.
90931         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90932         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90933         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90934         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90935         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90936         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
90937         open_by_handle.
90939         * io/fcntl.h (AT_EMPTY_PATH): Define.
90941 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
90943         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
90944         * sysdeps/unix/sysv/linux/bits/time.h: New file.
90945         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
90946         to...
90947         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
90948         * Versions.def: Add GLIBC_2.14.
90949         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
90950         Export.
90952 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
90954         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
90955         round counter.
90956         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90958 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
90960         [BZ #12597]
90961         * string/test-strncmp.c (do_page_test): New function.
90962         (check2): Likewise.
90963         (test_main): Call check2.
90964         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
90966 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
90968         [BZ #12587]
90969         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
90970         Handle cache information in CPU leaf 4.
90971         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90973 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
90975         [BZ #12583]
90976         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
90977         character representation.
90978         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
90980 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
90982         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
90983         END(__isnan) to END(__isnanf) to match function entry point/label
90984         EALIGN(__isnanf,...).
90986 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
90988         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
90990 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
90992         [BZ #12510]
90993         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
90994         copy from the symbol referenced in the relocation to initialize the
90995         used variable.
90996         Patch by Piotr Bury <pbury@goahead.com>.
90997         * elf/Makefile: Add rules to build and tst-unique3.
90998         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
90999         * elf/tst-unique3.cc: New file.
91000         * elf/tst-unique3.h: New file.
91001         * elf/tst-unique3lib.cc: New file.
91002         * elf/tst-unique3lib2.cc: New file.
91004         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91006 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
91008         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91009         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
91010         to _start.
91012 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
91014         * elf/dl-load.c (_dl_map_object): If we are looking for the first
91015         to-be-loaded object along a path to loader is ld.so.
91017 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91018             Ulrich Drepper  <drepper@gmail.com>
91020         * sysdeps/x86_64/memset.S: After aligning destination, code
91021         branches to different locations depending on the value of
91022         misalignment, when multiarch is enabled. Fix this.
91024 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91026         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91027         Set _x86_64_preferred_memory_instruction for AMD processsors.
91028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91029         Set bit_Prefer_SSE_for_memop for AMD processors.
91031 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
91033         * libio/fmemopen.c (fmemopen): Optimize a bit.
91035 2011-03-03  Andreas Schwab  <schwab@redhat.com>
91037         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91039 2011-03-03  Roland McGrath  <roland@redhat.com>
91041         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91043 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
91045         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91046         __bzero_ultra1 instead of __memset_ultra1.
91048 2011-02-23  Andreas Schwab  <schwab@redhat.com>
91049             Ulrich Drepper  <drepper@gmail.com>
91051         [BZ #12509]
91052         * include/link.h (struct link_map): Add l_orig_initfini.
91053         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91054         returning unsuccessfully.
91055         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91056         close of a file loaded at startup, restore the original l_initfini
91057         list.
91058         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91059         list, store the pointer.
91060         * elf/Makefile ($(objpfx)noload-mem): New rule.
91061         (noload-ENV): Define.
91062         (tests): Add $(objpfx)noload-mem.
91063         * elf/noload.c: Include <memcheck.h>.
91064         (main): Call mtrace.  Close all opened handles.
91066 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91068         [BZ #12454]
91069         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91070         dependencies are missing.
91072 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91074         Fix __if_freereq crash: Unlike the generic version which uses free,
91075         Hurd needs munmap.
91076         * sysdeps/mach/hurd/ifreq.h: New file.
91078 2011-01-27  Petr Baudis  <pasky@suse.cz>
91079             Ulrich Drepper  <drepper@gmail.com>
91081         [BZ 12445]#
91082         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91083         to extend_alloca().
91084         * stdio-common/bug23.c: New file.
91085         * stdio-common/Makefile (tests): Add bug23.
91087 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91088             Ulrich Drepper  <drepper@gmail.com>
91090         [BZ #12489]
91091         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91092         before performing relro protection.  At old place add assertion
91093         to make sure nothing changed.
91095 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91096             Glauber de Oliveira Costa  <glommer@gmail.com>
91098         * elf/elf.h: Add new ARM TLS relocs.
91100 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91103         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91104         cast from r3.
91105         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91106         'tests' variable.
91107         * sysdeps/wordsize-64/tst-writev.c: New file.
91109 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91111         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91112         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91113         insns in _dl_start to prevent a TOC reference before relocs are
91114         resolved.
91116 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91118         [BZ #12469]
91119         * Makeconfig: Remove RANLIB definition.
91120         * Makerules: Don't use RANLIB.
91121         * aclocal.m4: Remove ranlib test.
91122         * configure.in: No need to check for ranlib.
91123         * elf/rtld-Rules: Don't use RANLIB.
91125 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91127         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91128         protection macro.
91129         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91130         inclusion protection macro.
91132         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91133         SIGRTMIN and SIGRTMAX and print information in that case only when
91134         SIGRTMIN is defined.
91136 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91138         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91139         arginfo fn returning -1.
91141         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91142         and thousands string is zero terminated.
91144 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91147         sysdeps/unix/sysv/linux/bits/socket.h.
91149 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91151         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91152         (__CPU_COUNT): Remove old macros.
91153         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91154         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91155         (__CPU_ALLOC, __CPU_FREE): Add macros.
91156         (__sched_cpualloc, __sched_cpufree): Add declarations.
91158 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91160         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91161         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91162         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91163         (readdhstai): Return value of addhstaiX call.
91164         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91165         (addgrbyX): Return value returned by cache_addgr.
91166         (readdgrbyname): Return value returned by addgrbyX.
91167         (readdgrbygid): Likewise.
91168         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91169         (addpwbyX): Return value returned by cache_addpw.
91170         (readdpwbyname): Return value returned by addhstbyX.
91171         (readdpwbyuid): Likewise.
91172         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91173         (addservbyX): Return value returned by cache_addserv.
91174         (readdservbyname): Return value returned by addservbyX:
91175         (readdservbyport): Likewise.
91176         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91177         (addhstbyX): Return value returned by cache_addhst.
91178         (readdhstbyname): Return value returned by addhstbyX.
91179         (readdhstbyaddr): Likewise.
91180         (readdhstbynamev6): Likewise.
91181         (readdhstbyaddrv6): Likewise.
91182         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91183         (readdinitgroups): Return value returned by addinitgroupsX.
91184         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91185         (prune_cache): Keep track of timeout value of re-added entries.
91186         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91187         * nscd/nscd.h: Adjust prototypes of readd* functions.
91189 2011-02-04  Roland McGrath  <roland@redhat.com>
91191         * nis/nis_server.c (nis_servstate): Use the right name for 0.
91192         (nis_stats): Likewise.
91193         * nis/nis_modify.c (nis_modify): Likewise.
91194         * nis/nis_remove.c (nis_remove): Likewise.
91195         * nis/nis_add.c (nis_add): Likewise.
91197         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91199         * posix/fnmatch_loop.c: Add some consts.
91201         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91203 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
91205         [BZ #12460]
91206         * config.make.in (config-cflags-novzeroupper): Define.
91207         * configure.in: Substitute libc_cv_cc_novzeroupper.
91208         * elf/Makefile (AVX-CFLAGS): Define.
91209         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91210         (CFLAGS-tst-auditmod4a.c): Likewise.
91211         (CFLAGS-tst-auditmod4b.c): Likewise.
91212         (CFLAGS-tst-auditmod6b.c): Likewise.
91213         (CFLAGS-tst-auditmod6c.c): Likewise.
91214         (CFLAGS-tst-auditmod7b.c): Likewise.
91215         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91217 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
91219         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91220         function to the callback.
91221         Patch partly by Jiri Olsa <jolsa@redhat.com>.
91223 2011-02-02  Andreas Schwab  <schwab@redhat.com>
91225         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91226         of errno.
91228 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
91230         [BZ #11724]
91231         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91232         of constructors.
91233         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91234         of destructors.
91235         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91237         [BZ #11724]
91238         * elf/Makefile: Add rules to build and run new test.
91239         * elf/tst-initorder.c: New file.
91240         * elf/tst-initorder.exp: New file.
91241         * elf/tst-initordera1.c: New file.
91242         * elf/tst-initordera2.c: New file.
91243         * elf/tst-initordera3.c: New file.
91244         * elf/tst-initordera4.c: New file.
91245         * elf/tst-initorderb1.c: New file.
91246         * elf/tst-initorderb2.c: New file.
91247         * elf/tst-order-a1.c: New file.
91248         * elf/tst-order-a2.c: New file.
91249         * elf/tst-order-a3.c: New file.
91250         * elf/tst-order-a4.c: New file.
91251         * elf/tst-order-b1.c: New file.
91252         * elf/tst-order-b2.c: New file.
91253         * elf/tst-order-main.c: New file.
91254         New test case by George Gensure <werkt0@gmail.com>.
91256 2010-10-01  Andreas Schwab  <schwab@redhat.com>
91258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91259         decoding ACE if AI_CANONIDN.
91261 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
91263         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91265 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
91267         * version.h (RELEASE): Bump for 2.13 release.
91268         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91270         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91272         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91273         MADV_NOHUGEPAGE.
91274         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91275         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91276         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91277         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91278         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91279         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91281         * posix/getconf.c: Update copyright year.
91282         * catgets/gencat.c: Likewise.
91283         * csu/version.c: Likewise.
91284         * debug/catchsegv.sh: Likewise.
91285         * debug/xtrace.sh: Likewise.
91286         * elf/ldconfig.c: Likewise.
91287         * elf/ldd.bash.in: Likewise.
91288         * elf/sprof.c (print_version): Likewise.
91289         * iconv/iconv_prog.c: Likewise.
91290         * iconv/iconvconfig.c: Likewise.
91291         * locale/programs/locale.c: Likewise.
91292         * locale/programs/localedef.c: Likewise.
91293         * malloc/memusage.sh: Likewise.
91294         * malloc/mtrace.pl: Likewise.
91295         * nscd/nscd.c (print_version): Likewise.
91296         * nss/getent.c: Likewise.
91298         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
91299         PF_CAIF, and PF_ALG.
91300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91302 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
91304         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
91305         (modules-names): Use them.
91306         (ifunc-test-modules, ifunc-pie-tests): Define.
91307         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
91308         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
91309         (test-extras): Likewise.
91310         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
91311         $(compile-command.c).
91312         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
91313         (all-built-dso): Define.
91314         (check-textrel.out, check-execstack.out): Depend on it.
91316         * configure.in: Don't override --enable-multi-arch.
91318 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
91320         [BZ #6812]
91321         * nscd/hstcache.c (tryagain): Define.
91322         (cache_addhst): Return tryagain not notfound for temporary errors.
91323         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
91324         failed.
91326 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
91328         [BZ #10563]
91329         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
91330         to make the syscall.
91331         * sysdeps/unix/sysv/linux/setgroups.c: New file.
91333         [BZ #12378]
91334         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
91335         and fall back to matching as normal character if the string ends before
91336         the matching ']' is found.  This is what POSIX requires.
91337         * posix/testfnm.c: Adjust test result.
91338         * posix/globtest.sh: Adjust test result.  Add new test.
91339         * posix/tst-fnmatch.input: Likewise.
91340         * posix/tst-fnmatch2.c: Add new test.
91342 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
91344         * elf/Makefile (check-execstack): Revert last change.  Depend on
91345         check-execstack.h.
91346         (check-execstack.h): New target.
91347         (generated): Add check-execstack.h.
91348         * elf/check-execstack.c: Include "check-execstack.h".
91349         (main): Revert last change.
91350         (handle_file): Return zero if GNU_STACK is absent and
91351         DEFAULT_STACK_PERMS doesn't include PF_X.
91353 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
91355         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
91356         in child fails because the descriptor is already closed.
91357         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
91358         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
91359         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
91361         [BZ #12397]
91362         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
91363         syscall.
91365         [BZ #10484]
91366         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
91367         temporary buffer used to handle multi lookups locally.
91368         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
91370 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91372         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
91373         loader is ld.so.
91375 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
91377         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
91378         alignment for SSE2.
91380 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91382         [BZ #12394]
91383         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
91384         characters.  When rounding increased number of integer digits recompute
91385         number of groups.
91386         * stdio-common/tst-grouping.c: New file.
91387         * stdio-common/Makefile: Add rules to build and run tst-grouping.
91389 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
91391         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
91392         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
91394         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
91395         void.
91396         * bits/select.h: Likewise.
91398 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
91400         * po/ja.po: Update from translation team.
91402 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
91404         [BZ #11155]
91405         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
91406         implementation just like for lxstat, fxstatat, et al.
91408 2010-12-27  Jim Meyering  <meyering@redhat.com>
91410         [BZ #12348]
91411         * posix/regexec.c (build_trtable): Return failure indication upon
91412         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
91414 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
91416         [BZ #12201]
91417         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
91418         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
91419         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
91420         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
91422         [BZ #12207]
91423         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
91425         [BZ #12204]
91426         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
91427         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
91429 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
91431         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
91432         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
91433         script has SORT_BY_INIT_PRIORITY.
91434         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
91435         NO_CTORS_DTORS_SECTIONS is defined.
91436         * elf/soinit.c: Likewise.
91437         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
91438         NO_CTORS_DTORS_SECTIONS is defined.
91439         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
91440         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
91441         * sysdeps/sh/init-first.c: Likewise.
91442         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
91444 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
91446         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
91447         always use the slow path.
91449 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
91451         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
91452         similar rule which adds the sysdep directories to the header search in
91453         order to pick up the correct platform stackinfo.h.
91454         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
91455         perform test if it is, otherwise return successfully without testing.
91456         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
91457         DEFAULT_STACK_PERMS define in stackinfo.h.
91458         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
91459         defined in stackinfo.h.
91460         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
91461         DEFAULT_STACK_PERMS defined in stackinfo.h.
91462         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
91463         * sysdeps/ia64/stackinfo.h: Likewise.
91464         * sysdeps/s390/stackinfo.h: Likewise.
91465         * sysdeps/sh/stackinfo.h: Likewise.
91466         * sysdeps/sparc/stackinfo.h: Likewise.
91467         * sysdeps/x86_64/stackinfo.h: Likewise.
91468         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
91469         PF_X for powerpc64.  Retain PF_X for powerpc32.
91471 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
91473         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
91474         accurately.
91475         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
91476         GETDENTS_64BIT_ALIGNED.
91478 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
91480         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
91482 2010-12-10  Andreas Schwab  <schwab@redhat.com>
91484         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
91485         _GNU_SOURCE.
91487         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
91488         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
91489         Remove __restrict.
91490         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
91491         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
91493 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
91495         [BZ #11655]
91496         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
91497         are initialized.
91499 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
91501         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
91503 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
91505         * po/it.po: Update from translation team.
91507 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
91509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
91510         unused codes.
91512 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
91514         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
91516 2010-11-24  Andreas Schwab  <schwab@redhat.com>
91518         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
91519         specially.
91520         (gaih_getanswer_slice): Likewise.
91522 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
91524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
91526 2010-05-31  Petr Baudis  <pasky@suse.cz>
91528         [BZ #11149]
91529         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
91530         silently even in the chroot mode.
91532 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
91534         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
91535         last patch a bit.  Pretty printing
91537 2010-05-31  Petr Baudis <pasky@suse.cz>
91539         [BZ #10085]
91540         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
91541         initialization of skip_initgroups_dyn.
91543 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
91545         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
91546         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91548 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
91550         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
91552 2010-11-11  Andreas Schwab  <schwab@redhat.com>
91554         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
91555         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
91556         (tst-fnmatch-ENV): Set MALLOC_TRACE.
91557         ($(objpfx)tst-fnmatch-mem): New rule.
91558         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
91559         * posix/tst-fnmatch.c (main): Call mtrace.
91561 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
91563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91564         Support Intel processor model 6 and model 0x2c.
91566 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
91568         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
91569           signed comparison.
91571 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
91573         [BZ #12205]
91574         * string/test-strncasecmp.c (check_result): New function.
91575         (do_one_test): Use it.
91576         (check1): New function.
91577         (test_main): Use it.
91578         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
91579         Support strcasecmp and strncasecmp.
91581 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
91583         [BZ #12194]
91584         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
91585         * sysdeps/x86_64/bits/byteswap.h: Likewise.
91587 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
91589         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
91590         IFUNC support.
91591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91592         memset-x86-64.
91593         * sysdeps/x86_64/multiarch/bzero.S: New file.
91594         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
91595         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
91596         * sysdeps/x86_64/multiarch/memset.S: New file.
91597         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
91598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91599         Set bit_Prefer_SSE_for_memop for Intel processors.
91600         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
91601         Define.
91602         (index_Prefer_SSE_for_memop): Define.
91603         (HAS_PREFER_SSE_FOR_MEMOP): Define.
91605 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
91607         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
91608         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
91610 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
91612         [BZ #12191]
91613         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91614         (__x86_64_raw_data_cache_size_half): Likewise.
91615         (__x86_64_raw_shared_cache_size): Likewise.
91616         (__x86_64_raw_shared_cache_size_half): Likewise.
91618         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91619         (__x86_64_raw_data_cache_size_half): Likewise.
91620         (__x86_64_raw_shared_cache_size): Likewise.
91621         (__x86_64_raw_shared_cache_size_half): Likewise.
91622         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91623         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91624         and __x86_64_raw_shared_cache_size_half.  Round
91625         __x86_64_data_cache_size_half, __x86_64_data_cache_size
91626         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91627         to multiple of 256 bytes.
91629 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
91631         [BZ #12167]
91632         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91633         of inacessible symlinks.  Verify result of symlink before returning it.
91634         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91635         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91637 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91639         * math/math.h (isinf): Fix typo in comment.
91641 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91643         * po/da.po: Update from translation team.
91645 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91647         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91648         is added to the list.
91650 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91651             Ulrich Drepper  <drepper@gmail.com>
91653         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91654         the global list here.  Move code to...
91655         (_dl_add_to_namespace_list): ...here.  New function.
91656         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91657         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91658         * elf/dl-load.c (lose): Don't remove the element from the list.
91659         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91660         (_dl_map_object): Likewise.
91662 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91664         [BZ #12159]
91665         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91666         into all bytes of SSE register.
91667         Patch by Richard Li <richardpku@gmail.com>.
91669 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91671         [BZ #12140]
91672         * malloc/malloc.c (_int_free): Fill correct number of bytes when
91673         perturbing.
91675 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
91677         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91678         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91679         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91680         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
91682         submachine.
91683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
91685 2010-10-22  Andreas Schwab  <schwab@redhat.com>
91687         * include/dlfcn.h (__RTLD_SECURE): Define.
91688         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
91689         mode & __RTLD_SECURE instead.
91690         (open_path): Rename preloaded parameter to secure.
91691         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
91692         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
91693         * elf/dl-deps.c (openaux): Likewise.
91694         * elf/rtld.c (struct map_args): Remove is_preloaded.
91695         (map_doit): Don't use it.
91696         (dl_main): Likewise.
91697         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
91698         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
91700 2010-09-09  Andreas Schwab  <schwab@redhat.com>
91702         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
91703         (sysd-rules-targets): Remove duplicates.
91704         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
91705         rtld-%.$o dependency.
91707 2010-10-18  Andreas Schwab  <schwab@redhat.com>
91709         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
91710         _dl_map_object do it.
91712 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
91714         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
91715         fast fma builtins, define the macros in the C99 standard.
91716         (FP_FAST_FMAF): Likewise.
91717         (FP_FAST_FMAL): Likewise.
91718         * sysdeps/x86_64/bits/mathdef.h: Likewise.
91720         * bits/mathdef.h: Update copyright year.
91721         * sysdeps/powerpc/bits/mathdef.h: Likewise.
91723 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
91725         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
91726         builtins, define the macros in the C99 standard.
91727         (FP_FAST_FMAF): Likewise.
91728         (FP_FAST_FMAL): Likewise.
91729         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
91730         multiply/add.
91731         (FP_FAST_FMAF): Likewise.
91733 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
91735         [BZ #3268]
91736         * math/libm-test.inc (fma_test): Some new testcases.
91737         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
91738         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
91739         y and infinite z.  Do multiplication by C already in long double.
91740         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
91741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
91742         y and infinite z.  Do bitwise or of inexact bit into u.d.
91743         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
91744         * sysdeps/i386/fpu/s_fmaf.S: Removed.
91745         * sysdeps/i386/fpu/s_fma.S: Removed.
91746         * sysdeps/i386/fpu/s_fmal.S: Removed.
91748 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
91750         [BZ #3268]
91751         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
91752         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
91753         computation is not scheduled after fetestexcept.  Fix value
91754         of minimum denormal long double.
91756 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
91758         [BZ #3268]
91759         * math/libm-test.inc (fma_test): Add some more tests.
91760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
91761         correctly.
91763 2010-10-15  Andreas Schwab  <schwab@redhat.com>
91765         * scripts/data/localplt-s390-linux-gnu.data: New file.
91766         * scripts/data/localplt-s390x-linux-gnu.data: New file.
91768 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
91770         [BZ #3268]
91771         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
91772         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
91773         instead of dbl-64.
91774         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91775         inlines.
91776         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
91777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
91778         if one of x and y is very large and the other is subnormal.
91779         * sysdeps/s390/fpu/s_fmaf.c: New file.
91780         * sysdeps/s390/fpu/s_fma.c: New file.
91781         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
91782         * sysdeps/powerpc/fpu/s_fma.S: New file.
91783         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
91784         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
91785         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
91787 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
91789         [BZ #3268]
91790         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
91791         fma tests.
91792         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
91793         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
91794         * sysdeps/i386/i686/multiarch/s_fma.c: Include
91795         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
91796         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
91797         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
91798         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
91800 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
91802         [BZ #12078]
91803         * posix/regcomp.c (parse_branch): One more memory leak plugged.
91804         * posix/bug-regex31.input: Add test case.
91806 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91808         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
91809         * posix/bug-regex31.input: New file.
91811         [BZ #12078]
91812         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
91813         (parse_sub_exp): Fix last change, use postorder.
91815         * posix/bug-regex31.c: New file.
91816         * posix/Makefile: Add rules to build and run bug-regex31.
91818         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
91820         [BZ #12078]
91821         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
91823         [BZ #12108]
91824         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
91825         to have entries in sys_siglist.
91827         [BZ #12093]
91828         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
91829         be NULL.
91831 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
91833         [BZ #3268]
91834         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
91835         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
91836         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
91837         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
91838         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91839         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
91840         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
91841         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
91842         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
91843         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
91844         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
91845         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
91846         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
91847         * math/ftestexcept.c (fetestexcept): Likewise.
91848         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
91849         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
91850         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
91851         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
91852         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
91853         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
91854         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
91856 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91858         [BZ #12107]
91859         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
91860         newline.
91862 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
91864         * string/bug-strstr1.c: New file.
91865         * string/Makefile: Add rules to build and run bug-strstr1.
91867 2010-10-05  Eric Blake  <eblake@redhat.com>
91869         [BZ #12092]
91870         * string/str-two-way.h (two_way_long_needle): Always clear memory
91871         when skipping input due to the shift table.
91873 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
91875         [BZ #12005]
91876         * malloc/mcheck.c: Handle large requests.
91878         [BZ #12077]
91879         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
91880         for strncmp and strncasecmp.
91881         * string/stratcliff.c: Add tests for strcmp and strncmp.
91882         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
91884 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
91886         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
91887         __set_fpscr.
91889 2010-09-30  Andreas Jaeger  <aj@suse.de>
91891         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
91892         (CGROUP_SUPER_MAGIC): Define.
91893         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91894         Handle btrfs and cgroup file systems.
91895         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
91896         Likewise.
91898 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
91900         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
91901         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
91903 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91905         [BZ #12067]
91906         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
91907         trying to locate the ELF header.
91909 2010-09-27  Andreas Schwab  <schwab@redhat.com>
91911         [BZ #11611]
91912         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
91913         Mask out sign-bit copies when constructing f_fsid.
91915 2010-09-24  Petr Baudis <pasky@suse.cz>
91917         * debug/stack_chk_fail_local.c: Add missing licence exception.
91918         * debug/warning-nop.c: Likewise.
91920 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
91922         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
91923         implementing getdents64 using getdents syscall, set d_type if
91924         __ASSUME_GETDENTS32_D_TYPE.
91926 2010-09-16  Andreas Schwab  <schwab@redhat.com>
91928         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
91929         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
91931 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
91933         [BZ #12037]
91934         * posix/unistd.h: Undo change of feature selection for ftruncate from
91935         2010-01-11.
91937 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
91939         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
91940         detection.
91942 2010-09-20  Andreas Schwab  <schwab@redhat.com>
91944         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
91945         fanotify_mark.
91946         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91948 2010-09-14  Andreas Schwab  <schwab@redhat.com>
91950         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
91951         variables after CHECK_SP call.
91952         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
91954 2010-09-13  Andreas Schwab  <schwab@redhat.com>
91955             Ulrich Drepper  <drepper@redhat.com>
91957         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
91958         re-relocationg ld.so.
91959         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
91960         _dl_init_paths call.
91961         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
91962         here anymore.
91964 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
91966         * resolv/res_init.c (__res_vinit): Count the default server we added.
91968 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
91969             Ulrich Drepper  <drepper@redhat.com>
91971         [BZ #11968]
91972         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91973         (____longjmp_chk): Use %ebx for saving value across system call.
91974         Add unwind info.
91976 2010-09-06  Andreas Schwab  <schwab@redhat.com>
91978         * manual/Makefile: Don't mix pattern rules with normal rules.
91980 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
91982         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
91983         operation.
91984         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
91985         * libio/iofopncook.c (_IO_cookie_init): Likewise.
91986         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
91987         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
91988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91989         Likewise.
91991 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
91993         [BZ #11979]
91994         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
91995         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
91997 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
91999         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92000         * sysdeps/x86_64/addmul_1.S: Likewise.
92001         * sysdeps/x86_64/lshift.S: Likewise.
92002         * sysdeps/x86_64/mul_1.S: Likewise.
92003         * sysdeps/x86_64/rshift.S: Likewise.
92004         * sysdeps/x86_64/sub_n.S: Likewise.
92005         * sysdeps/x86_64/submul_1.S: Likewise.
92007 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92009         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92010         Define __sched_param instead of SCHED_* and sched_param when
92011         <bits/sched.h> is included with __need_schedparam defined.
92012         * bits/sched.h [__need_schedparam]
92013         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92014         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92015         (__defined_schedparam): Define to 1.
92016         (__sched_param): New structure, identical to sched_param.
92017         (__need_schedparam): Undefine.
92019 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
92021         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92022         (epoll_create1): Declare.
92024         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92026 2010-08-31  Andreas Schwab  <schwab@redhat.com>
92028         [BZ #7066]
92029         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92030         shifting retval into place.
92032 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
92034         * nis/rpcsvc/nis.h: Update copyright notice.
92035         * nis/rpcsvc/nis.x: Likewise.
92036         * nis/rpcsvc/nis_callback.h: Likewise.
92037         * nis/rpcsvc/nis_callback.x: Likewise.
92038         * nis/rpcsvc/nis_object.x: Likewise.
92039         * nis/rpcsvc/nis_tags.h: Likewise.
92040         * nis/rpcsvc/yp.h: Likewise.
92041         * nis/rpcsvc/yp.x: Likewise.
92042         * nis/rpcsvc/ypupd.h: Likewise.
92043         * nis/yp_xdr.c: Likewise.
92044         * nis/ypupdate_xdr.c: Likewise.
92046         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
92047         mainly the body of pmap_getport.  Add parameters to specify timeouts.
92048         (pmap_getport): Use __libc_rpc_getport.
92049         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92050         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92051         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92053 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
92055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92056         fanotify_mark.
92058 2010-08-27  Roland McGrath  <roland@redhat.com>
92060         * sysdeps/i386/i686/multiarch/Makefile
92061         (CFLAGS-varshift.c): New variable.
92063 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92065         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92066         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92068         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92070         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92072 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92074         * sysdeps/x86_64/strlen.S: Unroll the loop.
92075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92076         strlen-sse2 strlen-sse2-bsf.
92077         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92078         __strlen_no_bsf if bit_Slow_BSF is set.
92079         (__strlen_sse42): Removed.
92080         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92081         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92083 2010-08-25  Roland McGrath  <roland@redhat.com>
92085         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92086         * sysdeps/x86_64/multiarch/varshift.c: New file.
92087         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92088         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92089         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92090         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92092 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92095         strlen-sse2 strlen-sse2-bsf.
92096         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92097         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92098         (__strlen_sse2): Removed.
92099         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92100         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92102         bit_Slow_BSF for Atom.
92103         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92104         (index_Slow_BSF): Define.
92105         (HAS_SLOW_BSF): Define.
92107 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92109         [BZ #10851]
92110         * resolv/res_init.c (__res_vinit): When no server address at all
92111         is given default to loopback.
92113 2010-08-24  Roland McGrath  <roland@redhat.com>
92115         * configure.in: Remove config-name.h generation.
92116         * configure: Regenerated.
92117         * config-name.in: File removed.
92118         * scripts/config-uname.sh: New file.
92119         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92120         ($(objdir)config-name.h): New target.
92122         * sunrpc/rpc_parse.h: Avoid nested comment.
92124 2010-08-24  Richard Henderson  <rth@redhat.com>
92125             Ulrich Drepper  <drepper@redhat.com>
92126             H.J. Lu  <hongjiu.lu@intel.com>
92128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92130         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92131         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92132         _mm_alignr_epi8 with _mm_loadu_si128.
92133         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92134         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92135         (__m128i_shift_right): Removed.
92136         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92137         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92138         * sysdeps/x86_64/multiarch/varshift.h: New file.
92139         * sysdeps/x86_64/multiarch/varshift.S: New file.
92141 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92143         * configure.in: Move assembler checks to before sysdep dir checking.
92145 2010-08-20  Petr Baudis  <pasky@suse.cz>
92147         * LICENSES: Sync the sunrpc license.
92149 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92151         * sunrpc/auth_des.c: Update copyright notice once again.
92152         * sunrpc/auth_none.c: Likewise.
92153         * sunrpc/auth_unix.c: Likewise.
92154         * sunrpc/authdes_prot.c: Likewise.
92155         * sunrpc/authuxprot.c: Likewise.
92156         * sunrpc/bindrsvprt.c: Likewise.
92157         * sunrpc/clnt_gen.c: Likewise.
92158         * sunrpc/clnt_perr.c: Likewise.
92159         * sunrpc/clnt_raw.c: Likewise.
92160         * sunrpc/clnt_simp.c: Likewise.
92161         * sunrpc/clnt_tcp.c: Likewise.
92162         * sunrpc/clnt_udp.c: Likewise.
92163         * sunrpc/clnt_unix.c: Likewise.
92164         * sunrpc/des_crypt.c: Likewise.
92165         * sunrpc/des_soft.c: Likewise.
92166         * sunrpc/get_myaddr.c: Likewise.
92167         * sunrpc/getrpcport.c: Likewise.
92168         * sunrpc/key_call.c: Likewise.
92169         * sunrpc/key_prot.c: Likewise.
92170         * sunrpc/openchild.c: Likewise.
92171         * sunrpc/pm_getmaps.c: Likewise.
92172         * sunrpc/pm_getport.c: Likewise.
92173         * sunrpc/pmap_clnt.c: Likewise.
92174         * sunrpc/pmap_prot.c: Likewise.
92175         * sunrpc/pmap_prot2.c: Likewise.
92176         * sunrpc/pmap_rmt.c: Likewise.
92177         * sunrpc/rpc/auth.h: Likewise.
92178         * sunrpc/rpc/auth_unix.h: Likewise.
92179         * sunrpc/rpc/clnt.h: Likewise.
92180         * sunrpc/rpc/des_crypt.h: Likewise.
92181         * sunrpc/rpc/key_prot.h: Likewise.
92182         * sunrpc/rpc/netdb.h: Likewise.
92183         * sunrpc/rpc/pmap_clnt.h: Likewise.
92184         * sunrpc/rpc/pmap_prot.h: Likewise.
92185         * sunrpc/rpc/pmap_rmt.h: Likewise.
92186         * sunrpc/rpc/rpc.h: Likewise.
92187         * sunrpc/rpc/rpc_des.h: Likewise.
92188         * sunrpc/rpc/rpc_msg.h: Likewise.
92189         * sunrpc/rpc/svc.h: Likewise.
92190         * sunrpc/rpc/svc_auth.h: Likewise.
92191         * sunrpc/rpc/types.h: Likewise.
92192         * sunrpc/rpc/xdr.h: Likewise.
92193         * sunrpc/rpc_clntout.c: Likewise.
92194         * sunrpc/rpc_cmsg.c: Likewise.
92195         * sunrpc/rpc_common.c: Likewise.
92196         * sunrpc/rpc_cout.c: Likewise.
92197         * sunrpc/rpc_dtable.c: Likewise.
92198         * sunrpc/rpc_hout.c: Likewise.
92199         * sunrpc/rpc_main.c: Likewise.
92200         * sunrpc/rpc_parse.c: Likewise.
92201         * sunrpc/rpc_parse.h: Likewise.
92202         * sunrpc/rpc_prot.c: Likewise.
92203         * sunrpc/rpc_sample.c: Likewise.
92204         * sunrpc/rpc_scan.c: Likewise.
92205         * sunrpc/rpc_scan.h: Likewise.
92206         * sunrpc/rpc_svcout.c: Likewise.
92207         * sunrpc/rpc_tblout.c: Likewise.
92208         * sunrpc/rpc_util.c: Likewise.
92209         * sunrpc/rpc_util.h: Likewise.
92210         * sunrpc/rpcinfo.c: Likewise.
92211         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92212         * sunrpc/rpcsvc/key_prot.x: Likewise.
92213         * sunrpc/rpcsvc/klm_prot.x: Likewise.
92214         * sunrpc/rpcsvc/mount.x: Likewise.
92215         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92216         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92217         * sunrpc/rpcsvc/rex.x: Likewise.
92218         * sunrpc/rpcsvc/rstat.x: Likewise.
92219         * sunrpc/rpcsvc/rusers.x: Likewise.
92220         * sunrpc/rpcsvc/sm_inter.x: Likewise.
92221         * sunrpc/rpcsvc/spray.x: Likewise.
92222         * sunrpc/rpcsvc/yppasswd.x: Likewise.
92223         * sunrpc/rtime.c: Likewise.
92224         * sunrpc/svc.c: Likewise.
92225         * sunrpc/svc_auth.c: Likewise.
92226         * sunrpc/svc_authux.c: Likewise.
92227         * sunrpc/svc_raw.c: Likewise.
92228         * sunrpc/svc_run.c: Likewise.
92229         * sunrpc/svc_simple.c: Likewise.
92230         * sunrpc/svc_tcp.c: Likewise.
92231         * sunrpc/svc_udp.c: Likewise.
92232         * sunrpc/svc_unix.c: Likewise.
92233         * sunrpc/svcauth_des.c: Likewise.
92234         * sunrpc/xcrypt.c: Likewise.
92235         * sunrpc/xdr.c: Likewise.
92236         * sunrpc/xdr_array.c: Likewise.
92237         * sunrpc/xdr_float.c: Likewise.
92238         * sunrpc/xdr_mem.c: Likewise.
92239         * sunrpc/xdr_rec.c: Likewise.
92240         * sunrpc/xdr_ref.c: Likewise.
92241         * sunrpc/xdr_sizeof.c: Likewise.
92242         * sunrpc/xdr_stdio.c: Likewise.
92244         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92245         handling.
92247 2010-08-19  Andreas Schwab  <schwab@redhat.com>
92249         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92251 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
92253         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92254         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92255         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92256         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92257         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92258         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92259         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92260         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92261         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92262         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92263         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92264         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92265         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92266         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92268 2010-07-26  Anton Blanchard  <anton@samba.org>
92270         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92271         * malloc/arena.c (heap_trim): Likewise.
92273 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
92275         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92276         here.  Not...
92277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92278         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92280 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
92282         * sysdeps/i386/elf/Makefile: New file.
92284 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92286         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92287         from fanotify_init.
92288         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92289         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92291 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
92293         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
92294         of strncasecmp_l.
92295         * sysdeps/multiarch/strcmp.S: Likewise.
92297 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
92299         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92300         strncase_l-nonascii.
92301         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92302         Add strncase_l-ssse3.
92303         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
92304         * sysdeps/x86_64/strcmp.S: Likewise.
92305         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
92306         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
92307         * sysdeps/x86_64/strncase.S: New file.
92308         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
92309         * sysdeps/x86_64/strncase_l.S: New file.
92310         * string/Makefile (strop-tests): Add strncasecmp.
92311         * string/test-strncasecmp.c: New file.
92313         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
92314         warning.
92316         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
92317         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
92319 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92321         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
92323 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
92325         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
92326         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
92327         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
92329 2010-05-01  Alan Modra  <amodra@gmail.com>
92331         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
92332         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
92333         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
92334         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
92335         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
92336         tidying.  Don't tail-call __sigjmp_save for static lib.
92337         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
92338         save location.
92339         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
92340         (CALL_MCOUNT): Add eh info, and nop after bl.
92341         (TAIL_CALL_SYSCALL_ERROR): New macro.
92342         (PSEUDO_RET): Use it.
92343         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
92344         Correct save location of integer regs and cr.
92345         (_dl_profile_resolve): Correct cr save location.  Delete nops
92346         after bl when SHARED.  Reduce cfi size a little by better
92347         placement of cfi directives.
92348         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
92349         make a stack frame.  Instead use parm save area as a temp.
92350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
92351         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
92352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
92353         Don't make a stack frame for parent, use parm save area.
92354         Increase child stack frame to 112 bytes.  Don't save unused reg,
92355         and adjust reg usage.  Set up cfi on error recovery and
92356         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
92357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
92358         (__makecontext): Add dummy nop after jump to exit.
92359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
92360         Use correct parm save area and cr save, reduce stack frame.
92361         Correct cfi for possible PSEUDO_RET frame setup.
92362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
92363         Branch to local label emitted by PSEUDO_RET rather than
92364         __syscall_error.
92366 2010-08-12  Andreas Schwab  <schwab@redhat.com>
92368         [BZ #11904]
92369         * locale/programs/locale.c (print_assignment): New function.
92370         (show_locale_vars): Use it.
92372 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
92374         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
92375         field.
92376         (struct statfs64): Likewise.
92377         (_STATFS_F_FLAGS): Define.
92378         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
92379         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92380         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
92381         (ST_VALID): Define locally.
92382         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
92383         __statvfs_getflags, use the provided value.
92384         * sysdeps/unix/sysv/linux/kernel-features.h: Define
92385         __ASSUME_STATFS_F_FLAGS.
92387         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
92389         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
92390         Add sys/fanotify.h.
92391         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
92392         fanotify_mask for GLIBC_2.13.
92393         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
92394         fanotify_init and fanotify_mark.
92395         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92396         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
92398         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
92399         Add prlimit.
92400         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
92401         prlimit64 for GLIBC_2.13.
92402         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
92403         prlimit64.
92404         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
92405         syscall.
92406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
92407         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92408         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
92409         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
92410         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
92411         add prlimit alias.
92412         * sysdeps/unix/sysv/linux/prlimit.c: New file.
92414         [BZ #11903]
92415         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
92416         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
92418         * nss/Makefile: Add rules to build and run tst-nss-test1.
92419         * shlib-versions: Add entry for libnss_test1.
92420         * nss/nss_test1.c: New file.
92421         * nss/tst-nss-test1.c: New file.
92423         * nss/nsswitch.c (__nss_database_custom): Define new variable.
92424         (__nss_configure_lookup): Set appropriate entry in
92425         __nss_configure_lookup to true.
92426         * nss/nsswitch.h: Define enum with indeces of databases in
92427         databases and __nss_database_custom arrays.  Declare
92428         __nss_database_custom.
92429         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
92430         to avoid using nscd when custom rules are installed.
92431         * nss/getXXbyYY_r.c: Likewise.
92432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
92434         * nss/nss_files/files-parse.c: Whitespace fixes.
92436 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
92438         [BZ #11883]
92439         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
92440         * posix/fnmatch_loop.c: Likewise.
92442 2010-07-17  Andi Kleen  <ak@linux.intel.com>
92444         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
92445         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
92446         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
92447         * Versions.def [GLIBC_2.13]: Add.
92449 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
92451         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92452         Also fail if tpwd after pwuid call is NULL.
92454 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92456         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
92457         when converting to ms.
92459 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92461         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
92462         EOPNOTSUPP errors with ENOTTY.
92463         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
92464         EOPNOTSUPP errors with ENOTTY.
92466 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
92468         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92469         Add strcasecmp_l-ssse3.
92470         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
92471         strcasecmp.
92472         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
92473         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
92474         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92476 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
92478         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
92480         * string/Makefile (strop-tests): Add strcasecmp.
92481         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92482         strcasecmp_l-nonascii.
92483         (gen-as-const-headers): Add locale-defines.sym.
92484         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
92485         * sysdeps/x86_64/strcasecmp.S: New file.
92486         * sysdeps/x86_64/strcasecmp_l.S: New file.
92487         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
92488         * sysdeps/x86_64/locale-defines.sym: New file.
92489         * string/test-strcasecmp.c: New file.
92491         * string/test-strcasestr.c: Test both ends of the range of characters.
92492         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
92494 2010-07-29  Roland McGrath  <roland@redhat.com>
92496         [BZ #11856]
92497         * manual/locale.texi (Yes-or-No Questions): Fix example code.
92499 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
92501         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
92502         for ld.so.
92504 2010-07-27  Andreas Schwab  <schwab@redhat.com>
92506         * manual/memory.texi (Malloc Tunable Parameters): Document
92507         M_PERTURB.
92509 2010-07-26  Roland McGrath  <roland@redhat.com>
92511         [BZ #11840]
92512         * configure.in (-fgnu89-inline check): Set and substitute
92513         gnu89_inline, not libc_cv_gnu89_inline.
92514         * configure: Regenerated.
92515         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
92517 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
92519         * string/test-strnlen.c: New file.
92520         * string/Makefile (strop-tests): Add strnlen.
92521         * string/tester.c (test_strnlen): Add a few more test cases.
92522         * string/tst-strlen.c: Better error reporting.
92524         * sysdeps/x86_64/strnlen.S: New file.
92526 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
92528         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
92529         lower-latency instructions.
92531 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
92533         * string/test-strcasestr.c: New file.
92534         * string/test-strstr.c: New file.
92535         * string/Makefile (strop-tests): Add strstr and strcasestr.
92536         * string/str-two-way.h: Don't undefine MAX.
92537         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
92539 2010-07-21  Andreas Schwab  <schwab@redhat.com>
92541         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92542         strcasestr-nonascii.
92543         (CFLAGS-strcasestr-nonascii.c): Define.
92544         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
92545         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
92546         Remove unused attribute.
92548 2010-07-20  Roland McGrath  <roland@redhat.com>
92550         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
92551         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
92552         ld.so.cache was broken.  With it, there is no way to disable dsocaps
92553         like LD_HWCAP_MASK can disable hwcaps.
92555 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92557         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
92559 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
92561         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
92562         call in strcasestr.
92563         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
92564         __strcasestr_sse42_nonascii.
92565         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
92566         strcasestr-nonascii.c.
92567         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
92569 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
92571         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
92572         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
92573         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
92574         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
92576 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
92578         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
92579         fcntl.
92581 2010-07-06  Andreas Schwab  <schwab@redhat.com>
92583         [BZ #11577]
92584         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
92585         dl_signal_cerror.
92587 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
92589         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
92590         _PC_PIPE_BUF using F_GETPIPE_SZ.
92592 2010-07-05  Roland McGrath  <roland@redhat.com>
92594         * manual/arith.texi (Rounding Functions): Fix rint description
92595         implicit in round description.
92597 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
92599         * elf/Makefile: Fix linking for a few tests to make recent linker
92600         happy.
92602 2010-06-30  Andreas Schwab  <schwab@redhat.com>
92604         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92605         $(common-objpfx)libc_nonshared.a.
92607 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
92609         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
92610         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
92611         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92612         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92613         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
92614         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
92615         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92616         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
92618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
92619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
92620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
92622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92631         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92632         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92633         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92634         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92635         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92636         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92637         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92638         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92639         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92640         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92641         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92642         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92658 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92660         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92661         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92662         * string/memmove.c (memmove): Renamed to ...
92663         (MEMMOVE): ...this.  Default to memmove.
92664         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92665         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92666         (END_CHK): Define.
92667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92668         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92669         mempcpy-ssse3-back memmove-ssse3-back.
92670         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92671         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92672         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92673         * sysdeps/x86_64/multiarch/memcpy.S: New file.
92674         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92675         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92676         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92677         * sysdeps/x86_64/multiarch/memmove.c: New file.
92678         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92679         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92680         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92681         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
92682         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
92683         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
92684         Define.
92685         (index_Fast_Copy_Backward): Define.
92686         (HAS_ARCH_FEATURE): Define.
92687         (HAS_FAST_REP_STRING): Define.
92688         (HAS_FAST_COPY_BACKWARD): Define.
92690 2010-06-21  Andreas Schwab  <schwab@redhat.com>
92692         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92693         Restore proper fallback handling.
92695 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
92697         [BZ #11701]
92698         * posix/group_member.c (__group_member): Correct checking loop.
92700         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
92701         OOM in getpwuid_r correctly.  Return error number when the caller
92702         should return, otherwise -1.
92703         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
92704         call returning > 0 value.
92705         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92707 2010-06-07  Andreas Schwab  <schwab@redhat.com>
92709         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
92710         libc_nonshared.a from targets in modules-names.
92712 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
92714         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
92715         requires it.
92717 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
92719         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
92720         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
92721         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
92722         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92724 2010-06-02  Andreas Schwab  <schwab@redhat.com>
92726         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92728 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
92730         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
92731         and F_GETPIPE_SZ.
92732         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92733         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92734         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92735         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92736         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92737         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92739 2010-06-14  Roland McGrath  <roland@redhat.com>
92741         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92743 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
92745         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
92746         __REDIRECT followed by __THROW.
92747         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
92748         * posix/getopt.h (getopt): Likewise.
92750 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92752         * hurd/lookup-at.c (__file_name_lookup_at): Accept
92753         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
92754         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
92755         in AT_FLAGS.
92756         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
92757         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92759 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
92761         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92763 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
92765         [BZ #11640]
92766         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92767         Properly check family and model.
92769 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
92771         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92773 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
92775         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92777 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
92779         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
92780         symbol reference.
92782 2010-05-19  Andreas Schwab  <schwab@redhat.com>
92784         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
92785         symbol reference.
92787 2010-05-21  Andreas Schwab  <schwab@redhat.com>
92789         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
92790         and internal_recvmmsg.
92791         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
92792         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
92793         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
92794         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92796         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
92797         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
92798         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92800 2010-05-20  Andreas Schwab  <schwab@redhat.com>
92802         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92804 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
92806         POWER7 optimizations.
92807         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
92808         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92810 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
92812         * version.h: Update for 2.13 development version.
92814 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
92816         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
92817         exceptions.  Return 0.
92819 2010-05-07  Roland McGrath  <roland@redhat.com>
92821         * elf/ldconfig.c (main): Add a const.
92823 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
92825         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
92826         (args_options): Add no-idn option.
92827         (ahosts_keys_int): Add idn_flags to ai_flags.
92828         (parse_option): Handle 'i' option to clear idn_flags.
92830         * malloc/malloc.c (_int_free): Possible race in the most recently
92831         added check.  Only act on the data if no current modification
92832         happened.
92834 See ChangeLog.17 for earlier changes.