x86: Don't use dl_x86_cpu_features in cacheinfo.c
[glibc.git] / ChangeLog
blob4b90a00dc6c3e7c94519aa6c71b1c0a977972218
1 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
4         and use it instead of dl_x86_cpu_features.
5         (handle_intel): Replace maxidx with cpu_features.  Pass
6         cpu_features to intel_check_word.
7         (__cache_sysconf): Pass cpu_features to handle_intel.
8         (init_cacheinfo): Likewise.  Use cpu_features instead of
9         dl_x86_cpu_features.
11 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
13         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
14         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15         memcmp-avx2 and wmemcmp-avx2.
16         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
18         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
19         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
20         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
21         2 machines if AVX unaligned load is fast and vzeroupper is
22         preferred.
23         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
24         2 machines if AVX unaligned load is fast and vzeroupper is
25         preferred.
27 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
29         * include/wchar.h (__wmemset_chk): New.
30         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
31         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
32         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
33         (WMEMSET_CHK_SYMBOL): Likewise.
34         (WMEMSET_SYMBOL): Likewise.
35         (__wmemset): Add hidden definition.
36         (wmemset): Add weak hidden definition.
37         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38         wmemset_chk-nonshared.
39         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
41         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
42         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
43         and __wmemset_chk_avx512_unaligned.
44         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
45         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
46         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
47         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
48         (WMEMSET_SYMBOL): Likewise.
49         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
50         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
51         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
52         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
53         (WMEMSET_SYMBOL): Likewise.
54         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
55         (WMEMSET_CHK_SYMBOL): New.
56         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
57         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
58         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
59         (libc_hidden_builtin_def): Also define __GI_wmemset and
60         __GI___wmemset.
61         (weak_alias): New.
62         * sysdeps/x86_64/multiarch/wmemset.c: New file.
63         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
64         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
65         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
66         * sysdeps/x86_64/wmemset.c: Likewise.
67         * sysdeps/x86_64/wmemset_chk.c: Likewise.
69 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
70             H.J. Lu  <hongjiu.lu@intel.com>
72         * sysdeps/x86/init-arch.h (PASTER1): New.
73         (EVALUATOR1): Likewise.
74         (PASTER2): Likewise.
75         (EVALUATOR2): Likewise.
76         (REDIRECT_NAME): Likewise.
77         (OPTIMIZE): Likewise.
78         (IFUNC_SELECTOR): Likewise.
80 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
82         * sysdeps/x86_64/strlen.S (PMINU): New.
83         (PCMPEQ): Likewise.
84         (SHIFT_RETURN): Likewise.
85         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
86         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
87         pminub with PCMPEQ and PMINU.
88         * sysdeps/x86_64/wcsnlen.S: New file.
90 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
92         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
93         the lower 32 bits.  Remove redundant instructions.
95 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
97         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
98         0 as the high part of offset.
99         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
101 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
103         [BZ #21538]
104         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
105         [__USE_UNIX98].
106         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
107         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
108         Likewise.
109         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
110         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
111         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
112         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
113         Likewise.
115         [BZ #21517]
116         * bits/types/stack_t.h (stack_t): Remove struct tag.
117         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
118         Likewise.
119         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
120         Likewise.
121         * debug/segfault.c (install_handler): Use stack_t instead of
122         struct sigaltstack.
123         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
124         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
125         * include/signal.h (__sigaltstack): Likwise.
126         * signal/sigaltstack.c (__sigaltstack): Likewise.
127         * signal/signal.h (sigaltstack): Likewise.
128         * sysdeps/mach/hurd/i386/signal-defines.sym
129         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
130         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
131         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
132         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
133         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
134         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
135         elf_prstatus): Likewise.
136         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
137         Likewise.
138         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
139         Likewise.
140         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
141         Likewise.
142         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
143         elf_prstatus): Likewise.
144         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
145         Likewise.
146         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
147         Likewise.
149 2017-06-04  Zack Weinberg  <zackw@panix.com>
151         * sysdeps/gnu/errlist.c: Regenerate.
153 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
155         * benchtests/bench-memchr.c (do_test): Print out both length
156         and position.
157         (test_main): Also test the position close to the beginning for
158         memrchr.
160 2017-06-04  Zack Weinberg  <zackw@panix.com>
162         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
163         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
164         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
165         * nis/nis_destroygroup.c, nis/nis_domain_of.c
166         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
167         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
168         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
169         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
170         * nis/nis_print_group_entry.c, nis/nis_remove.c
171         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
172         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
173         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
174         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
175         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
176         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
177         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
178         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
179         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
180         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
181         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
182         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
183         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
184         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
185         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
186         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
187         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
188         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
189         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
190         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
192         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
193         abi-versions.h as well as shlib-compat.h.
194         * sunrpc/get_myaddr.c: Remove obsolete comment.
195         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
196         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
197         * resolv/res_libc.c: Include shlib-compat.h only once.
199 2017-06-03  Florian Weimer  <fweimer@redhat.com>
201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
202         of strdup.
204 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
206         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
207         Set to the 3/4 of the total shared cache size.
209 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
211         * manual/errno.texi: Remove redundant error strings.
212         * manual/macros.texi (@errno): Render the error string in every
213         description.
215 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
217         [BZ #21543]
218         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
219         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
220         [__USE_XOPEN_EXTENDED].
222 2017-06-02  Florian Weimer  <fweimer@redhat.com>
224         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
225         strdupa.
226         (getcanonname): Use __strdup instead of strdup.
228 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
230         * misc/Makefile (CFLAGS-preadv2.c): New rule.
231         (CFLAGS-preadv64v2.c): Likewise.
232         (CFLAGS-pwritev2.c): Likewise.
233         (CFLAGS-pwritev64v2.c): Likewise.
235 2017-06-02  Florian Weimer  <fweimer@redhat.com>
237         Test res_init with several configuration files.
238         * resolv/Makefile [build-shared] (tests-internal): Add
239         tst-resolv-res_init, tst-resolv-res_init-thread.
240         (tst-resolv-res_init): Link against libdl, libresolv.
241         (tst-resolv-res_init-thread): Link against libdl, libresolv,
242         libpthread.
243         * resolv/tst-resolv-res_init.c: New file.
244         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
245         * resolv/tst-resolv-res_init-thread.c: Likewise.
246         * support/Makefile (libsupport-routines): Add support-xstat,
247         support_can_chroot, support_capture_subprocess_check,
248         support_isolate_in_subprocess, support_shared_allocate,
249         support_write_file_string, xchroot, xmkdir, xopen.
250         * support/capture_subprocess.h (enum support_capture_allow): Define.
251         (support_capture_subprocess_check): Declare.
252         * support/namespace.h (support_can_chroot)
253         (support_isolate_in_subprocess): Declare.
254         * support/support-xstat.c: New file.
255         * support/support.h (support_shared_allocate, support_shared_free)
256         (support_write_file_string): Declare.
257         * support/support_can_chroot.c: New file.
258         * support/support_capture_subprocess_check.c: Likewise.
259         * support/support_isolate_in_subprocess.c: Likewise.
260         * support/support_shared_allocate.c: Likewise.
261         * support/support_write_file_string.c: Likewise.
262         * support/xchroot.c: Likwise.
263         * support/xmkdir.c: Likwise.
264         * support/xopen.c: Likwise.
265         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
267 2017-06-02  Florian Weimer  <fweimer@redhat.com>
269         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
270         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
272 2017-06-02  Florian Weimer  <fweimer@redhat.com>
274         * malloc/Makefile (routines): Add dynarray_at_failure,
275         dynarray_emplace_enlarge, dynarray_finalize.
276         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
277         tst-dynarray-at-fail.
278         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
279         (tests-special): Add tst-dynarray-mem.out,
280         tst-dynarray-mem-fail.out.
281         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
282         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
283         mtrace.
284         * malloc/Versions (__libc_dynarray_at_failure)
285         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
286         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
287         GLIBC_PRIVATE.
288         * malloc/dynarray.h: New file.
289         * malloc/dynarray-skeleton.c: Likewise.
290         * malloc/dynarray_at_failure.c: Likewise.
291         * malloc/dynarray_emplace_enlarge.c: Likewise.
292         * malloc/dynarray_finalize.c: Likewise.
293         * malloc/dynarray_resize.c: Likewise.
294         * malloc/dynarray_resize_clear.c: Likewise.
295         * malloc/tst-dynarray.c: Likewise.
296         * malloc/tst-dynarray-fail.c: Likewise.
297         * malloc/tst-dynarray-at-fail.c: Likewise.
298         * malloc/tst-dynarray-shared.h: Likewise.
299         * support/Makefile (libsupport-routines): Add
300         support_capture_subprocess, xdup2, xpipe.
301         (tests): Add tst-support_capture_subprocess.
302         * support/capture_subprocess.h: New file.
303         * support/support_capture_subprocess.c: Likewise.
304         * support/tst-support_capture_subprocess.c: Likewise.
305         * support/xdup2.c: Likewise.
306         * support/xpipe.c: Likewise.
307         * support/xunistd.h (xdup2, xpipe): Declare.
309 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
311         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
312         macros MAX and MIN.
314 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
316         * conform/data/signal.h-data (sa_sigaction): Do not expect for
317         [XPG4].
318         (SA_SIGINFO): Likewise.
319         (SA_ONSTACK): Likewise.
320         (SA_RESETHAND): Likewise.
321         (SA_RESTART): Likewise.
322         (SA_NOCLDWAIT): Likewise.
323         (SA_NODEFER): Likewise.
324         (SS_ONSTACK): Likewise.
325         (SS_DISABLE): Likewise.
326         (MINSIGSTKSZ): Likewise.
327         (SIGSTKSZ): Likewise.
328         (ucontext_t): Likewise.
329         (stack_t): Likewise.
330         (struct sigstack): Likewise.
331         (SI_USER): Do not expect for [XPG4 || XPG42].
332         (SI_QUEUE): Likewise.
333         (SI_TIMER): Likewise.
334         (SI_ASYNCIO): Likewise.
335         (SI_MESGQ): Likewise.
336         (bsd_signal): Do not expect for [XPG4].
337         (killpg): Likewise.
338         (sigaltstack): Likewise.
339         (sighold): Likewise.
340         (sigignore): Likewise.
341         (siginterrupt): Likewise.
342         (sigpause): Likewise.
343         (sigrelse): Likewise.
344         (sigset): Likewise.
345         (sigwait): Do not expect for [XPG4 || XPG42].
347 2017-06-01  Zack Weinberg  <zackw@panix.com>
349         [BZ #21514]
350         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
351         pointing to the generated file in <builddir>/misc/bits/syscall.h.
353 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
355         [BZ #21457]
356         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
357         NGREG to __NGREG if [__USE_MISC].
358         (gregset_t): Define using __NGREG.
359         (__ctx): New macro.
360         (mcontext_t): Use __ctx in defining fields.
361         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
362         define NGREG to __NGREG if [__USE_MISC].
363         (gregset_t): Define using __NGREG.
364         (__ctx): New macro.
365         (__ctxt): Likewise.
366         (fpregset_t): Use __ctx and __ctxt in defining fields.
367         (mcontext_t): Likewise.
368         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
369         define NGREG to __NGREG if [__USE_MISC].
370         (gregset_t): Define using __NGREG.
371         (__ctx): New macro.
372         (mcontext_t): Use __ctx in defining fields.
373         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
374         define NGREG to __NGREG if [__USE_MISC].
375         (gregset_t): Define using __NGREG.
376         (__ctx): New macro.
377         (fpregset_t): Use __ctx in defining fields.
378         (mcontext_t): Likewise.
379         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
380         __NGREG and define NGREG to __NGREG if [__USE_MISC].
381         (gregset_t): Define using __NGREG.
382         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
383         [__USE_MISC].
384         (fpregset_t): Define using __NFPREG.
385         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
386         __NGREG and define NGREG to __NGREG if [__USE_MISC].
387         (gregset_t): Define using __NGREG.
388         (__ctx): New macro.
389         (fpregset_t): Use __ctx in defining fields.
390         (mcontext_t): Likewise.
391         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
392         __NGREG and define NGREG to __NGREG if [__USE_MISC].
393         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
394         [__USE_MISC].
395         (gregset_t): Define using __NGREG.
396         (__ctx): New macro.
397         (fpregset_t): Use __ctx in defining fields.
398         (mcontext_t): Likewise.
399         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
400         (mcontext_t): Use __ctx in defining fields.
401         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
402         macro.
403         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
404         __NGREG if [__USE_MISC].
405         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
406         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
407         (mcontext_t): Likewise.
408         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
409         __NGREG if [__USE_MISC].
410         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
411         to __NFPREG if [__USE_MISC].
412         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
413         to __NVRREG if [__USE_MISC].
414         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
415         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
416         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
417         [__WORDSIZE != 32] (vrregset_t): Likewise.
418         [__WORDSIZE != 32] (mcontext_t): Likewise.
419         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
420         (__psw_t): Use __ctx in defining fields.
421         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
422         [__USE_MISC].
423         (gregset_t): Define using __NGREG.
424         (fpreg_t): Use __ctx in defining fields.
425         (fpregset_t): Likewise.
426         (mcontext_t): Likewise.
427         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
428         __NGREG and define NGREG to __NGREG if [__USE_MISC].
429         (gregset_t): Define using __NGREG.
430         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
431         [__USE_MISC].
432         (fpregset_t): Define using __NFPREG.
433         (__ctx): New macro.
434         (mcontext_t): Use __ctx in defining fields.
435         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
436         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
437         __NGREG if [__USE_MISC].
438         [__x86_64__] (gregset_t): Define using __NGREG.
439         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
440         [__x86_64__] (struct _libc_fpstate): Likewise.
441         [__x86_64__] (mcontext_t): Likewise.
442         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
443         __NGREG if [__USE_MISC].
444         [!__x86_64__] (gregset_t): Define using __NGREG.
445         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
446         [!__x86_64__] (struct _libc_fpstate): Likewise.
447         [!__x86_64__] (mcontext_t): Likewise.
449 2017-06-01  Zack Weinberg  <zackw@panix.com>
451         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
452         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
453         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
454         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
455         libpthread.so no longer references __errno_location.
457 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
459         * NEWS: Add note about pwritev2 and preadv2 inclusion.
460         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
461         pwritev64v2.
462         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
463         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
464         pwritev64v2.
465         * misc/preadv2.c: New file.
466         * misc/preadv64v2.c: Likewise.
467         * misc/pwritev2.c: Likewise.
468         * misc/pwritev64v2.c: Likewise.
469         * misc/tst-preadvwritev2.c: Likewise.
470         * misc/tst-preadvwritev64v2.c: Likewise.
471         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
472         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
473         prototype.
474         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
475         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
476         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
477         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
478         (PWRITEV): Likewise.
479         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
480         ENOSYS.
481         * nptl/tst-cancel4.c (tf_pwritev2): New test.
482         (tf_preadv2): Likewise.
483         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
484         * sysdeps/posix/preadv2.c: Likewise.
485         * sysdeps/posix/preadv64v2.c: Likewise.
486         * sysdeps/posix/pwritev2.c: Likewise.
487         * sysdeps/posix/pwritev64v2.c: Likewise.
488         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
489         support in kernel.
490         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
491         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
492         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
493         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
494         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
495         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
496         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
497         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
498         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
499         support flags on Linux.
500         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
501         preadv2, preadv64v2, pwritev2, pwritev64v2.
502         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
503         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
504         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
505         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
506         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
507         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
508         Likewise.
509         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
510         Likewise.
511         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
512         Likewise.
513         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
514         Likewise.
515         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
516         Likewise.
517         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
518         Likewise.
519         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
520         Likewise.
521         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
523         (GLIBC_2.26): Likewise.
524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
525         (GLIBC_2.26): Likewise.
526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
527         Likewise.
528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
529         (GLIBC_2.26): Likewise.
530         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
531         Likewise.
532         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
533         Likewise.
534         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
535         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
536         Likewise.
537         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
538         Likewise.
539         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
540         Likewise.
541         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
542         Likewise.
543         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
544         Likewise.
545         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
546         Likewise.
547         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
548         Likewise.
550 2017-05-31  Andreas Schwab  <schwab@suse.de>
552         * nptl/tst-fork3.c: Include <support/test-driver.c>.
553         (main): Rename to do_test and make static.
555 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
557         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
558         ARCH_INIT_CPU_FEATURES.
559         (LIBC_START_MAIN): Call it.
560         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
561         (__libc_start_main): Remove.
562         (ARCH_INIT_CPU_FEATURES): New macro.
563         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
564         (ARCH_INIT_CPU_FEATURES): New macro.
566 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
567             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
569         * include/stdlib.h (__libc_reallocarray): New declaration.
570         * malloc/Makefile (routines): Add reallocarray.
571         (tests): Add tst-reallocarray.c.
572         * malloc/Versions: Add reallocarray and __libc_reallocarray.
573         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
574         function.
575         * malloc/malloc.h (reallocarray): New declaration.
576         * stdlib/stdlib.h (reallocarray): Likewise.
577         * malloc/reallocarray.c: New file.
578         * malloc/tst-reallocarray.c: New test file.
579         * manual/memory.texi: Document reallocarray.
580         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
581         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
582         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
583         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
584         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
585         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
586         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
587         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
588         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
589         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
590         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
591         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
592         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
593         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
595         Likewise.
596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
597         Likewise.
598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
600         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
601         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
602         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
603         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
604         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
607         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
608         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
609         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
611 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
613         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
614         the lower 32 bits.
616 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
618         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
619         $(build-pie-default) = yes]: Define.
621 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
623         * string/test-memchr.c (test_main): Add tests for n == 0.
625 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
627         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
628         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
629         (tests-internal): ... here.
631 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
632              H.J. Lu  <hongjiu.lu@intel.com>
634         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
635         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
636         (__tunable_set_val): Likewise.
638 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
640         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
641         dl-tunables.list in subdirectories.
643 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
644             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
645             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
647         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
648         (SNANF128): New macro.
649         * math/e_sqrtf128.c: New file.
650         * math/s_fmaxmag_template.c: Include math_private.h in order to
651         make inline expansion of fabs128().
652         * math/s_fminmag_template.c: Likewise.
654         * sysdeps/ieee754/float128/e_acosf128.c: New file.
655         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
656         * sysdeps/ieee754/float128/e_asinf128.c: New file.
657         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
658         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
659         * sysdeps/ieee754/float128/e_coshf128.c: New file.
660         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
661         * sysdeps/ieee754/float128/e_expf128.c: New file.
662         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
663         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
664         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
665         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
666         * sysdeps/ieee754/float128/e_j0f128.c: New file.
667         * sysdeps/ieee754/float128/e_j1f128.c: New file.
668         * sysdeps/ieee754/float128/e_jnf128.c: New file.
669         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
670         * sysdeps/ieee754/float128/e_log10f128.c: New file.
671         * sysdeps/ieee754/float128/e_log2f128.c: New file.
672         * sysdeps/ieee754/float128/e_logf128.c: New file.
673         * sysdeps/ieee754/float128/e_powf128.c: New file.
674         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
675         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
676         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
677         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
678         * sysdeps/ieee754/float128/float128_private.h: New file.
679         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
680         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
681         * sysdeps/ieee754/float128/k_cosf128.c: New file.
682         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
683         * sysdeps/ieee754/float128/k_sinf128.c: New file.
684         * sysdeps/ieee754/float128/k_tanf128.c: New file.
685         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
686         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
687         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
688         * sysdeps/ieee754/float128/s_atanf128.c: New file.
689         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
690         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
691         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
692         * sysdeps/ieee754/float128/s_cosf128.c: New file.
693         * sysdeps/ieee754/float128/s_erff128.c: New file.
694         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
695         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
696         * sysdeps/ieee754/float128/s_finitef128.c: New file.
697         * sysdeps/ieee754/float128/s_floorf128.c: New file.
698         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
699         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
700         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
701         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
702         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
703         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
704         * sysdeps/ieee754/float128/s_isinff128.c: New file.
705         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
706         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
707         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
708         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
709         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
710         * sysdeps/ieee754/float128/s_logbf128.c: New file.
711         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
712         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
713         * sysdeps/ieee754/float128/s_modff128.c: New file.
714         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
715         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
716         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
717         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
718         * sysdeps/ieee754/float128/s_remquof128.c: New file.
719         * sysdeps/ieee754/float128/s_rintf128.c: New file.
720         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
721         * sysdeps/ieee754/float128/s_roundf128.c: New file.
722         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
723         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
724         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
725         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
726         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
727         * sysdeps/ieee754/float128/s_significandf128.c: New file.
728         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
729         * sysdeps/ieee754/float128/s_sinf128.c: New file.
730         * sysdeps/ieee754/float128/s_tanf128.c: New file.
731         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
732         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
733         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
734         * sysdeps/ieee754/float128/s_truncf128.c: New file.
735         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
736         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
737         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
738         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
740         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
741         (__iscanonicalf128): Define as a macro.
743 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
745         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
746         (memmove): Use MEMMOVE for name.
747         (memcpy): Use MEMCPY for name.  Change internal labels
748         to external labels.
749         * sysdeps/aarch64/multiarch/Makefile: New file.
750         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
751         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
752         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
753         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
754         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
755         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
757 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
759         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
760         (_dl_arm_cap_flags): Fix array subscript.
761         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
762         Fix count.
764 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
766         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
768 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
770         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
771         (is_amd): Likewise.
772         (max_cpuid): Likewise.
773         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
774         (init_cacheinfo): Likewise.
776 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
778         [BZ #21511]
779         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
780         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
781         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
782         !__USE_XOPEN2K) || __USE_MISC].
783         * conform/data/signal.h-data (struct sigstack): Expect type only
784         if [!XOPEN2K8 && !POSIX2008].
785         (sigstack): Expect function only if [XPG42 || UNIX98].
787         [BZ #21457]
788         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
789         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
790         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
791         <bits/types/__sigset_t.h>.
792         (ucontext_t): Use sigset_t instead of __sigset_t.
793         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
794         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
795         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
796         <bits/types/__sigset_t.h>.
797         (ucontext_t): Use sigset_t instead of __sigset_t.
798         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
799         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
800         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
801         <bits/types/__sigset_t.h>.
802         (ucontext_t): Use sigset_t instead of __sigset_t.
803         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
804         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
805         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
806         <bits/types/__sigset_t.h>.
807         (ucontext_t): Use sigset_t instead of __sigset_t.
808         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
809         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
810         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
811         <bits/types/__sigset_t.h>.
812         (ucontext_t): Use sigset_t instead of __sigset_t.
813         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
814         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
815         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
816         <bits/types/__sigset_t.h>.
817         (ucontext_t): Use sigset_t instead of __sigset_t.
818         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
819         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
820         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
821         <bits/types/__sigset_t.h>.
822         (ucontext_t): Use sigset_t instead of __sigset_t.
823         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
824         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
825         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
826         <bits/types/__sigset_t.h>.
827         (ucontext_t): Use sigset_t instead of __sigset_t.
828         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
829         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
830         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
831         <bits/types/__sigset_t.h>.
832         (ucontext_t): Use sigset_t instead of __sigset_t.
833         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
834         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
835         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
836         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
837         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
838         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
839         <bits/types/__sigset_t.h>.
840         (ucontext_t): Use sigset_t instead of __sigset_t.
841         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
842         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
843         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
844         <bits/types/__sigset_t.h>.
845         (ucontext_t): Use sigset_t instead of __sigset_t.
846         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
847         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
848         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
849         <bits/types/__sigset_t.h>.
850         (ucontext_t): Use sigset_t instead of __sigset_t.
851         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
852         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
853         <bits/ss_flags.h>.
854         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
855         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
856         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
857         <bits/types/__sigset_t.h>.
858         (ucontext_t): Use sigset_t instead of __sigset_t.
859         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
860         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
861         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
862         <bits/types/__sigset_t.h>.
863         (ucontext_t): Use sigset_t instead of __sigset_t.
864         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
865         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
866         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
867         <bits/types/__sigset_t.h>.
868         (ucontext_t): Use sigset_t instead of __sigset_t.
869         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
870         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
871         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
872         <bits/types/__sigset_t.h>.
873         (ucontext_t): Use sigset_t instead of __sigset_t.
874         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
875         <bits/types.h>.
876         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
877         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
878         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
879         <bits/types/__sigset_t.h>.
880         (ucontext_t): Use sigset_t instead of __sigset_t.
882 2017-05-22  Zack Weinberg  <zackw@panix.com>
884         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
885         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
886         bits/siginfo-arch.h, only if not already defined.
887         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
888         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
889         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
890         Likewise.
892         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
893         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
894         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
895         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
896         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
897         Unconditionally define __SI_* macros.
899 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
901         [BZ #21393]
902         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
903         and add a check for dup3 failure.
904         * libio/freopen64.c (freopen64): Likewise.
905         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
906         libsupport.
907         (do_test_bz21398): New test.
908         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
910 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
912         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
913         Remove invalid comment.
915 2017-05-21  Zack Weinberg  <zackw@panix.com>
917         * signal/Makefile (headers): Add bits/types/sigval_t.h.
919 2017-05-20  Zack Weinberg  <zackw@panix.com>
921         * bits/sigevent-consts.h
922         * bits/siginfo-consts.h
923         * bits/types/__sigset_t.h
924         * bits/types/sigevent_t.h
925         * bits/types/siginfo_t.h
926         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
927         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
928         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
929         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
930         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
931         New system-dependent bits headers.
933         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
934         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
935         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
936         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
937         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
938         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
939         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
940         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
941         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
942         New Linux-only system-dependent bits headers.
944         * signal/bits/types/sig_atomic_t.h
945         * signal/bits/types/sigset_t.h
946         * signal/bits/types/sigval_t.h:
947         New non-system-dependent bits headers.
949         * sysdeps/generic/sigsetops.h
950         * sysdeps/unix/sysv/linux/sigsetops.h:
951         New internal headers.
953         * include/bits/types/sig_atomic_t.h
954         * include/bits/types/sigset_t.h
955         * include/bits/types/sigval_t.h:
956         New wrappers.
958         * signal/sigsetops.h
959         * bits/siginfo.h
960         * bits/sigset.h
961         * sysdeps/unix/sysv/linux/bits/siginfo.h
962         * sysdeps/unix/sysv/linux/bits/sigset.h
963         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
964         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
965         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
966         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
967         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
968         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
969         Deleted.
971         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
972         Update lists of installed headers.
974         * posix/bits/types.h: Define __sig_atomic_t here.
975         * signal/signal.h: Use the new bits headers; no need to handle
976         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
977         to define sigmask.
978         * include/signal.h: No need to handle __need_sig_atomic_t
979         nor __need_sigset_t.  Don't define __sigemptyset.
981         * io/sys/poll.h, setjmp/setjmp.h
982         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
983         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
984         * sysdeps/mach/hurd/i386/bits/sigcontext.h
985         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
986         * sysdeps/pthread/bits/sigthread.h
987         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
988         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
989         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
990         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
991         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
992         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
993         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
994         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
995         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
996         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
997         Use bits/types/__sigset_t.h.
999         * misc/sys/select.h, posix/spawn.h
1000         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1001         * sysdeps/unix/sysv/linux/sys/epoll.h
1002         * sysdeps/unix/sysv/linux/sys/signalfd.h:
1003         Use bits/types/sigset_t.h.
1005         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
1006         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
1007         * socket/sys/socket.h: Don't include bits/sigset.h.
1009         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
1010         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
1011         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
1012         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
1013         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
1014         * sysdeps/unix/sysv/linux/nptl-signals.h:
1015         Include sigsetops.h.
1017         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
1018         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
1019         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
1020         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
1021         now return no value.
1023         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
1024         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
1025         "sigsetops.h".
1027         * signal/sigsetops.c: Explicitly define __sigismember,
1028         __sigaddset, and __sigdelset as compatibility symbols.
1030         * signal/Versions: Correct commentary on __sigpause,
1031         __sigaddset, __sigdelset, __sigismember.
1033         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
1034         __sigblock/__sigsetmask to use __sigprocmask and friends.
1036         * resolv/resolv.h: Remove __need_res_state logic.
1037         Move definition of res_state and related constants to ...
1038         * resolv/bits/types/res_state.h: ...this new file.
1039         * resolv/Makefile: Install bits/types/res_state.h.
1040         * include/bits/types/res_state.h: New wrapper.
1041         * include/list.h: Remove __need_list_t logic.
1042         Move definition of list_t to ...
1043         * include/list_t.h: ...this new file.
1045         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1046         instead of list.h and resolv.h.
1048         * resolv/resolv.h: Remove __need_res_state logic.
1049         Move definition of res_state and related constants to ...
1050         * resolv/bits/types/res_state.h: ...this new file.
1051         * resolv/Makefile: Install bits/types/res_state.h.
1052         * include/bits/types/res_state.h: New wrapper.
1053         * include/list.h: Remove __need_list_t logic.
1054         Move definition of list_t to ...
1055         * include/list_t.h: ...this new file.
1057         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1058         instead of list.h and resolv.h.
1060 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1062         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
1064 2017-05-20  Zack Weinberg  <zackw@panix.com>
1066         * sysdeps/arm/sysdep.h
1067         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
1069         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
1070         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
1071         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
1072         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
1073         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
1074         * sysdeps/arm/armv6t2/strlen.S
1075         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
1076         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
1077         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
1078         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
1079         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
1080         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
1082 2017-05-20  Zack Weinberg  <zackw@panix.com>
1084         Remove the NaCl port.
1085         * sysdeps/arm/nacl: Remove directory and contents.
1086         * sysdeps/nacl: Remove directory and contents.
1087         * abi-tags: Remove .*-.*-nacl.* entry.
1089 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
1091         * manual/errno.texi: Convert @comment-based errno documentation to
1092         @errno.
1093         * manual/macros.texi (@errno): New macro.  Consolidate errors,
1094         their values, and messages, adding the error string to the Concept
1095         Index.  Provide a warning in the comment about external (to the
1096         manual) dependencies.
1097         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
1098         * sysdeps/mach/hurd/errnos.awk: Likewise.
1100 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1102         * bits/ss_flags.h: New file.
1103         * bits/types/stack_t.h: Likewise.
1104         * include/bits/types/struct_sigstack.h: Likewise.
1105         * signal/bits/types/struct_sigstack.h: Likewise.
1106         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
1107         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
1108         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
1109         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
1110         bits/types/stack_t.h and bits/ss_flags.h.
1111         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
1112         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1113         <bits/ss_flags.h>.
1114         * bits/sigstack.h (struct sigstack): Remove.
1115         (stack_t): Likewise.
1116         (SS_ONSTACK): Likewise.
1117         (SS_DISABLE): Likewise.
1118         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1119         (struct sigstack): Likewise.
1120         (stack_t): Likewise.
1121         (SS_ONSTACK): Likewise.
1122         (SS_DISABLE): Likewise.
1123         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
1124         Likewise.
1125         (stack_t): Likewise.
1126         (SS_ONSTACK): Likewise.
1127         (SS_DISABLE): Likewise.
1128         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
1129         Likewise.
1130         (stack_t): Likewise.
1131         (SS_ONSTACK): Likewise.
1132         (SS_DISABLE): Likewise.
1133         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
1134         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
1135         Likewise.
1136         (stack_t): Likewise.
1137         (SS_ONSTACK): Likewise.
1138         (SS_DISABLE): Likewise.
1139         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1140         (struct sigstack): Likewise.
1141         (stack_t): Likewise.
1142         (SS_ONSTACK): Likewise.
1143         (SS_DISABLE): Likewise.
1144         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
1145         Likewise.
1146         (stack_t): Likewise.
1147         (SS_ONSTACK): Likewise.
1148         (SS_DISABLE): Likewise.
1149         * sysdeps/arm/sys/ucontext.h: Include
1150         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1151         <bits/ss_flags.h>.
1152         * sysdeps/generic/sys/ucontext.h: Likewise.
1153         * sysdeps/i386/sys/ucontext.h: Likewise.
1154         * sysdeps/m68k/sys/ucontext.h: Likewise.
1155         * sysdeps/mips/sys/ucontext.h: Likewise.
1156         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1157         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1158         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1159         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1160         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1161         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1162         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1163         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1164         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1165         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1166         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1167         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1168         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1169         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1170         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1172 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1174         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1175         "edx + ecx - 16" to avoid possible addition overflow.
1176         * sysdeps/x86_64/memchr.S (memchr): Likewise.
1178 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1180         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1181         (CFLAGS-splice.c): Likewise.
1182         (CFLAGS-open_by_handle_at.c): Likewise.
1183         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1184         (CFLAGS-splice.c): Likewise.
1185         (CFLAGS-open_by_handle_at.c): Likewise.
1187 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1189         * scripts/versions.awk: Generate ldbl-compat-choose.h.
1190         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1191         <ldbl-compat-choose.h>.
1192         (maybe_long_double_symbol): New macro.
1193         [!declare_mgen_alias] (declare_mgen_alias): Use
1194         maybe_long_double_symbol.
1195         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1196         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1197         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1198         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1199         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1200         * Makerules [$(build-shared) = yes && !avoid-generated]
1201         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1202         [$(build-shared) = yes && !avoid-generated]
1203         ($(common-objpfx)ldbl-compat-choose.h): New target.
1205         * scripts/versions.awk: Generate first-versions.h.
1206         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1207         <first-versions.h>.
1208         (LDOUBLE_cabsl_libm_version): Remove macro.
1209         (LDOUBLE_cargl_libm_version): Likewise.
1210         (LDOUBLE_cimagl_libm_version): Likewise.
1211         (LDOUBLE_conjl_libm_version): Likewise.
1212         (LDOUBLE_creall_libm_version): Likewise.
1213         (LDOUBLE_cacosl_libm_version): Likewise.
1214         (LDOUBLE_cacoshl_libm_version): Likewise.
1215         (LDOUBLE_ccosl_libm_version): Likewise.
1216         (LDOUBLE_ccoshl_libm_version): Likewise.
1217         (LDOUBLE_casinl_libm_version): Likewise.
1218         (LDOUBLE_csinl_libm_version): Likewise.
1219         (LDOUBLE_casinhl_libm_version): Likewise.
1220         (LDOUBLE_csinhl_libm_version): Likewise.
1221         (LDOUBLE_catanl_libm_version): Likewise.
1222         (LDOUBLE_catanhl_libm_version): Likewise.
1223         (LDOUBLE_ctanl_libm_version): Likewise.
1224         (LDOUBLE_ctanhl_libm_version): Likewise.
1225         (LDOUBLE_cexpl_libm_version): Likewise.
1226         (LDOUBLE_clogl_libm_version): Likewise.
1227         (LDOUBLE_cprojl_libm_version): Likewise.
1228         (LDOUBLE_csqrtl_libm_version): Likewise.
1229         (LDOUBLE_cpowl_libm_version): Likewise.
1230         (LDOUBLE_clog10l_libm_version): Likewise.
1231         (LDOUBLE___clog10l_libm_version): Likewise.
1232         (LDOUBLE_fdiml_libm_version): Likewise.
1233         (LDOUBLE_fmaxl_libm_version): Likewise.
1234         (LDOUBLE_fminl_libm_version): Likewise.
1235         (LDOUBLE_ilogbl_libm_version): Likewise.
1236         (LDOUBLE_nanl_libm_version): Likewise.
1237         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1238         FIRST_VERSION_libm_* macros.
1239         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1240         * Makerules [$(build-shared) = yes && !avoid-generated]
1241         (before-compile): Add $(common-objpfx)first-versions.h.
1242         [$(build-shared) = yes && !avoid-generated]
1243         ($(common-objpfx)first-versions.h): New target.
1244         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1245         building $(common-objpfx)versions.stmp.
1247 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1249         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1250         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1251         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1252         auto-generation list.
1254         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1255         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1256         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1257         from auto-generation list.
1259         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1260         open_by_handle_at.
1261         (CFLAGS-open_by_handle_at.c): New flag.
1262         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1263         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1264         file.
1265         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1267         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1268         (CFLAGS-splice.c): New flag.
1269         * sysdeps/unix/sysv/linux/splice.c: New file.
1270         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1271         auto-generation syscall list.
1272         * misc/Makefile (CFLAGS-splice.c): New rule.
1274         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1275         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1276         auto-generation syscall list.
1277         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1278         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1280         * misc/Makefile (CFLAGS-fsync.c): New flag.
1281         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1282         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1283         syscall list.
1284         * sysdeps/unix/sysv/linux/fsync.c: New file.
1285         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1286         (__errno_location): Remove.
1288         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1289         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1290         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1291         list.
1292         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1294         * misc/Makefile (CFLAGS-msync.c): New rule.
1295         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1296         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1297         * sysdeps/unix/sysv/linux/msync.c: New file.
1299         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1300         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1301         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1302         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1303         (CFLAGS-sigsuspend.c): Remove rule.
1305         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1306         (CFLAGS-tee.c): New rule.
1307         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1308         auto-generated list.
1309         * sysdeps/unix/sysv/linux/tee.c: New file.
1311         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1312         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1313         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1314         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1315         auto-generated list.
1317         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1318         auto-generated list.
1319         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1320         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1321         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1322         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1323         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1325         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1326         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1327         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1328         (__NR_pause): Undefine.
1329         * sysdeps/unix/sysv/linux/pause.c: New file.
1330         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1331         auto-generation list.
1332         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1333         Remove rule.
1334         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1336 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1338         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1339         comments.
1341 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1343         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1344         LD_HWCAP_MASK.
1346 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1348         * manual/conf.texi: Convert @tables of annotated @items to
1349         @vtables.
1350         * manual/lang.texi: Likewise.
1351         * manual/pattern.texi: Likewise.
1352         * manual/resource.texi: Likewise.
1353         * manual/socket.texi: Likewise.
1355 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1357         * manual/crypt.texi: Move a comment out of an @*x list.
1358         * manual/filesys.texi: Refactor some comments, one of which looks
1359         like a standard.  Fix incorrectly separated standards.
1360         * manual/locale.texi: Invert an annotation.
1361         * manual/resource.texi: Fix incorrectly separated standards.
1362         * manual/time.texi: Refactor a @vtable that obscures an
1363         annotation.
1364         * manual/users.texi: Refactor multiple headers to occupy a single
1365         @comment.
1367 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1369         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1370         (sysdep_routines): Add memcmp-power8.
1371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1372         (memcmp): Add __memcmp_power8 to list of memcmp functions.
1373         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1374         (memcmp): Add __memcmp_power8 to ifunc list.
1375         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1376         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1378 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1379             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1381         * math/math.h (__MATH_TG): Extend the conditions to add
1382         _Float128 support.
1383         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1385 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
1387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1388         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1389         s_cosf-ppc64.
1390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1393         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1395 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1397         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1398         (gen-libm-calls): Add e_exp2F to use the template.
1399         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1400         * math/e_exp2_template.c: New file, renamed from
1401         math/e_exp2l.c, and made into a template.
1402         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1404 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1406         * elf/dl-tunable-types.h (tunable_type_code_t): New type
1407         TUNABLE_TYPE_UINT_64.
1408         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1409         Simplify computation of overflow.
1410         (tunable_set_val_if_valid_range_signed,
1411         tunable_set_val_if_valid_range_unsigned): Remove and replace
1412         with this...
1413         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1414         (tunable_initialize): Adjust.  Add uint64_t support.
1415         (__tunable_set_val): Add uint64_t support.
1416         * README.tunables: Document it.
1418         * scripts/gen-tunables.awk: Recognize 'default' keyword in
1419         dl-tunables.list.
1420         * README.tunables: Document it.
1422 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1424         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1425         * sysdeps/posix/preadv64.c: Likewise.
1426         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1427         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1428         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1429         * sysdeps/posix/pwritev64.c: Likewise.
1430         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1431         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1432         * sysdeps/posix/preadv_common.c: New file.
1433         * sysdeps/posix/pwritev_common.c: Likewise.
1435 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1437         * sysdeps/generic/math-type-macros-float128.h
1438         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1439         wrapper templates.
1441 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1442             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1444         * include/complex.h (__kernel_casinhf128): New declaration.
1445         * include/float.h: New file.
1446         * include/math.h (__finitef128): Add a hidden def.
1447         (__isinff128): Likewise.
1448         (__isnanf128): Likewise.
1449         (__fpclassify): Likewise.
1450         (__issignalling): Likewise.
1451         (__expf128): Likewise.
1452         (__expm1f128): Likewise.
1454         * sysdeps/generic/fix-fp-int-convert-overflow.h:
1455         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
1456         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
1458         * sysdeps/generic/math-type-macros-float128.h: New file.
1460         * sysdeps/generic/math_private.h: Include bits/floatn.h and
1461         math_private_calls.h for _Float128.
1462         (__isinff128): New inline implementation used when GCC < 7.0,
1463         since in this case __builtin_isinf_sign is broken.
1464         (fabsf128): New inline implementation that calls the builtin.
1465         (__EXPR_FLT128): New macro.
1466         (min_of_type): Optionally include _Float128 types too.
1468         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
1469         Declare for _Float128.
1470         (__kernel_rem_pio2): Likewise.
1472         * sysdeps/ieee754/ldbl-opt/s_sin.c:
1473         (__DECL_SIMD_sincos_disablef128): New macro.
1475 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1477         * math/math.h: Include bits/math-finite.h for float128.
1478         (__MATH_DECLARING_FLOATN): Define to control declaration of
1479         float128 functions.
1480         * math/bits/math-finite.h (pow10): Do not declare for float128.
1481         (gamma): Likewise.
1482         (scalb): Likewise.
1484 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1485             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1487         * bits/floatn.h: New file.
1488         * bits/huge_val_flt128.h: Likewise.
1490         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
1491         (__DECL_SIMD_sinf128): Likewise.
1492         (__DECL_SIMD_sincosf128): Likewise.
1493         (__DECL_SIMD_logf128): Likewise.
1494         (__DECL_SIMD_expf128): Likewise.
1495         (__DECL_SIMD_powf128): Likewise.
1497         * math/Makefile (headers): Install bits/floatn.h and
1498         bits/huge_val_flt128.h.
1500         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
1501         defined.
1503         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
1504         (isnan, gamma, nexttoward, scalb): Only define if not
1505         __MATH_DECLARING_FLOATN.
1506         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
1507         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
1508         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
1509         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
1511         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
1512         Include bits/cmathcalls.h to get the declarations of _Float128
1513         versions of complex functions.
1514         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
1515         Define macro.
1517         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
1518         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
1519         get the declarations of _Float128 versions of math functions.
1520         (__MATH_DECLARING_FLOATN): New macro to control declaration of
1521         _FloatN types.
1522         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
1523         is type-generic, so use it without __MATH_TG.
1524         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
1525         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
1526         _Float128 type and GCC < 7.0, otherwise use the builtin.
1527         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
1528         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
1529         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
1530         New _GNU_SOURCE enabled macros.
1532 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1534         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
1535         (signbitf): Likewise.
1536         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
1537         Likewise.
1538         (signbitl): Likewise.
1539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
1540         Likewise.
1541         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
1542         (signbitl): Likewise.
1543         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
1545 2017-05-12  Florian Weimer  <fweimer@redhat.com>
1547         [BZ #21386]
1548         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
1549         parent PID.  The assertion in the child is incorrect with PID
1550         namespaces.
1552 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1554         * sysdeps/unix/sysv/linux/kernel-features.h
1555         (__ASSUME_STATFS_F_FLAGS): Remove macro.
1556         * sysdeps/unix/sysv/linux/internal_statvfs.c
1557         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
1559 2017-05-11  Zack Weinberg  <zackw@panix.com>
1561         * Makerules: New subdir configuration variables 'tests-internal'
1562         and 'test-internal-extras'.  Test files in these categories will
1563         still be compiled with MODULE_NAME=nonlib.  Test files in the
1564         existing categories (tests, xtests, test-srcs, test-extras) are
1565         now compiled with MODULE_NAME=testsuite.
1566         New subdir configuration variable 'modules-names-tests'.  Files
1567         which are in both 'modules-names' and 'modules-names-tests' will
1568         be compiled with MODULE_NAME=testsuite instead of
1569         MODULE_NAME=extramodules.
1570         (gen-as-const-headers): Move to tests-internal.
1571         (do-tests-clean, common-mostlyclean): Support tests-internal.
1572         * Makeconfig (built-modules): Add testsuite.
1573         * Makefile: Change libof-check-installed-headers-c and
1574         libof-check-installed-headers-cxx to 'testsuite'.
1575         * Rules: Likewise.  Support tests-internal.
1576         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
1577         Remove extra-modules.mk.
1579         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
1580         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
1581         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
1582         very top of the file and rationalize their order.
1583         If MODULE_NAME is not defined at all, define IS_IN to always be
1584         false, and don't define _ISOMAC.
1585         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
1586         true, define _ISOMAC and suppress everything else in this file,
1587         starting with the inclusion of config.h.
1588         Do check for inappropriate definitions of __OPTIMIZE__ and
1589         __FAST_MATH__ here, but only if _ISOMAC is not defined.
1590         Correct some out-of-date commentary.
1592         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
1593         and _Mlong_double_ before including math.h.
1594         * include/string.h: If _ISOMAC is defined, don't expose
1595         _STRING_ARCH_unaligned. Move a comment to a more appropriate
1596         location.
1598         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
1599         * include/time.h, include/unistd.h, include/wchar.h: No need to
1600         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
1602         * misc/sys/cdefs.h (__NTHNL): New macro.
1603         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
1604         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
1606         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
1607         defined, for HAVE_TUNABLES.
1608         * inet/tst-checks-posix.c: No need to define _ISOMAC.
1609         * intl/tst-gettext2.c: Provide own definition of N_.
1610         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
1611         * math/test-signgam-main.c: No need to define _ISOMAC.
1612         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
1613         * stdlib/tst-strtod1i.c: ...this new file.
1614         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
1615         Split tests of __strtod_internal to...
1616         * stdlib/tst-strtod5i.c: ...this new file.
1617         * string/test-string.h: Include stdint.h. Duplicate definition of
1618         inhibit_loop_to_libcall here (from libc-symbols.h).
1619         * string/test-strstr.c: Provide dummy definition of
1620         libc_hidden_builtin_def when including strstr.c.
1621         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
1622         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
1623         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1624         Don't include init-arch.h.
1625         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1626         Don't include init-arch.h.
1628         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
1629         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
1630         unload, unload2, circleload1, neededtest, neededtest2,
1631         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
1632         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
1633         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
1634         ifunc tests to tests-internal.
1635         Don't add $(modules-names) to test-extras.
1636         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
1637         Add tst-deadline to tests-static-internal.
1638         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
1639         tests-internal.
1640         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
1641         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
1642         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
1643         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
1644         tst-sem12-static, and tst-stackguard1-static to tests-internal.
1645         Link tests-internal with libpthread also.
1646         Don't add $(modules-names) to test-extras.
1647         * nss/Makefile: Move tst-field to tests-internal.
1648         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
1649         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
1650         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
1651         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
1652         tests-internal.
1653         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
1654         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
1655         test-get_hwcap-static to tests-internal.
1656         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
1657         tests-internal.
1658         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
1659         modules-names-tests.
1661 2017-05-11  Zack Weinberg  <zackw@panix.com>
1663         * libio/libio.h: Condition dummy definition of _IO_lock_t on
1664         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
1665         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
1666         _IO_funlockfile, and _IO_ftrylockfile.  Only define
1667         _IO_cleanup_region_start and _IO_cleanup_region_end if not
1668         already defined.
1669         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
1670         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
1671         appropriately.
1672         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
1673         Define _IO_lock_t_defined after defining _IO_lock_t.
1675 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1677         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
1678         void* for argument type and use VDSO_SYMBOL macro.
1679         (is_sigtramp_address_rt): Likewise.
1680         (__backtrace): Setup expected frame pointer address for signal
1681         handling.
1682         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
1683         void* for argumetn type and use VSDO_SYMBOL macro.
1684         (__backtrace): Setup expected frame pointer address for signal
1685         handling.
1687         * sysdeps/unix/sysv/linux/writev.c: New file.
1689         * sysdeps/unix/sysv/linux/readv.c: New file.
1691         * include/unistd.h (write): Add hidden proto.
1692         * io/Makefile (CFLAGS-write.c): New define.
1693         * nptl/Makefile (CFLAGS-write.c): Likewise.
1694         * sysdeps/unix/sysv/linux/write.c: New file.
1696         [BZ #21428]
1697         * include/unistd.h (read): Add hidden proto.
1698         * io/Makefile (CFLAGS-read.c): New define.
1699         * nptl/Makefile (CFLAGS-read.c): Likewise.
1700         * sysdeps/unix/sysv/linux/read.c: New file.
1702         * io/Makefile (CFLAGS-creat.c): New rule.
1703         (CFLAGS-creat64.c): Likewise.
1704         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
1705         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
1706         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
1707         * sysdeps/unix/sysv/linux/creat.c: New file.
1708         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
1709         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
1710         auto-generated list.
1711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1713         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
1714         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
1715         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
1716         * sysdeps/unix/sysv/linux/open.c: New file.
1717         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
1718         iff __WORDSIZE != 64 and use __NR_openat when available.
1719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
1720         from auto-generated list.
1722         * nptl/Makefile (CFLAGS-close.c): New flag.
1723         * sysdeps/unix/sysv/linux/close.c: New file.
1725 2017-05-11  DJ Delorie  <dj@redhat.com>
1727         * MAINTAINERS: New.  Points to wiki.
1729 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1731         * scripts/gen-tunables.awk: Add attribute_relro to
1732         tunable_list.
1734 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
1736         [BZ #21457]
1737         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
1738         (R1): Likewise.
1739         (R2): Likewise.
1740         (R3): Likewise.
1741         (R4): Likewise.
1742         (R5): Likewise.
1743         (R6): Likewise.
1744         (R7): Likewise.
1745         (R8): Likewise.
1746         (R9): Likewise.
1747         (R10): Likewise.
1748         (R11): Likewise.
1749         (R12): Likewise.
1750         (R13): Likewise.
1751         (R14): Likewise.
1752         (R15): Likewise.
1753         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
1754         (REG_FS): Likewise.
1755         (REG_ES): Likewise.
1756         (REG_DS): Likewise.
1757         (REG_EDI): Likewise.
1758         (REG_ESI): Likewise.
1759         (REG_EBP): Likewise.
1760         (REG_ESP): Likewise.
1761         (REG_EBX): Likewise.
1762         (REG_EDX): Likewise.
1763         (REG_ECX): Likewise.
1764         (REG_EAX): Likewise.
1765         (REG_TRAPNO): Likewise.
1766         (REG_ERR): Likewise.
1767         (REG_EIP): Likewise.
1768         (REG_CS): Likewise.
1769         (REG_EFL): Likewise.
1770         (REG_UESP): Likewise.
1771         (REG_SS): Likewise.
1772         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
1773         (R_D1): Likewise.
1774         (R_D2): Likewise.
1775         (R_D3): Likewise.
1776         (R_D4): Likewise.
1777         (R_D5): Likewise.
1778         (R_D6): Likewise.
1779         (R_D7): Likewise.
1780         (R_A0): Likewise.
1781         (R_A1): Likewise.
1782         (R_A2): Likewise.
1783         (R_A3): Likewise.
1784         (R_A4): Likewise.
1785         (R_A5): Likewise.
1786         (R_A6): Likewise.
1787         (R_A7): Likewise.
1788         (R_SP): Likewise.
1789         (R_PC): Likewise.
1790         (R_PS): Likewise.
1791         (fpregset_t): Likewise.
1792         (MCONTEXT_VERSION): Likewise.
1793         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1794         (CTX_AT): Likewise.
1795         (CTX_V0): Likewise.
1796         (CTX_V1): Likewise.
1797         (CTX_A0): Likewise.
1798         (CTX_A1): Likewise.
1799         (CTX_A2): Likewise.
1800         (CTX_A3): Likewise.
1801         (CTX_T0): Likewise.
1802         (CTX_T1): Likewise.
1803         (CTX_T2): Likewise.
1804         (CTX_T3): Likewise.
1805         (CTX_T4): Likewise.
1806         (CTX_T5): Likewise.
1807         (CTX_T6): Likewise.
1808         (CTX_T7): Likewise.
1809         (CTX_S0): Likewise.
1810         (CTX_S1): Likewise.
1811         (CTX_S2): Likewise.
1812         (CTX_S3): Likewise.
1813         (CTX_S4): Likewise.
1814         (CTX_S5): Likewise.
1815         (CTX_S6): Likewise.
1816         (CTX_S7): Likewise.
1817         (CTX_T8): Likewise.
1818         (CTX_T9): Likewise.
1819         (CTX_K0): Likewise.
1820         (CTX_K1): Likewise.
1821         (CTX_GP): Likewise.
1822         (CTX_SP): Likewise.
1823         (CTX_S8): Likewise.
1824         (CTX_RA): Likewise.
1825         (CTX_MDLO): Likewise.
1826         (CTX_MDHI): Likewise.
1827         (CTX_CAUSE): Likewise.
1828         (CTX_EPC): Likewise.
1829         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1830         inclusion of <sys/procfs.h> on [__USE_MISC].
1831         (greg_t): Condition on [__USE_MISC].
1832         (gregset_t): Likewise.
1833         (fpregset_t): Likewise.
1834         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
1835         (NGREG): Likewise.
1836         (gregset_t): Likewise.
1837         (REG_R0): Likewise.
1838         (REG_R1): Likewise.
1839         (REG_R2): Likewise.
1840         (REG_R3): Likewise.
1841         (REG_R4): Likewise.
1842         (REG_R5): Likewise.
1843         (REG_R6): Likewise.
1844         (REG_R7): Likewise.
1845         (REG_R8): Likewise.
1846         (REG_R9): Likewise.
1847         (REG_R10): Likewise.
1848         (REG_R11): Likewise.
1849         (REG_R12): Likewise.
1850         (REG_R13): Likewise.
1851         (REG_R14): Likewise.
1852         (REG_R15): Likewise.
1853         (struct _libc_fpstate): Likewise.
1854         (fpregset_t): Likewise.
1855         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
1856         (NFPREG): Likewise.
1857         (gregset_t): Likewise.
1858         (fpregset_t): Likewise.
1859         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
1860         (R_D1): Likewise.
1861         (R_D2): Likewise.
1862         (R_D3): Likewise.
1863         (R_D4): Likewise.
1864         (R_D5): Likewise.
1865         (R_D6): Likewise.
1866         (R_D7): Likewise.
1867         (R_A0): Likewise.
1868         (R_A1): Likewise.
1869         (R_A2): Likewise.
1870         (R_A3): Likewise.
1871         (R_A4): Likewise.
1872         (R_A5): Likewise.
1873         (R_A6): Likewise.
1874         (R_A7): Likewise.
1875         (R_SP): Likewise.
1876         (R_PC): Likewise.
1877         (R_PS): Likewise.
1878         (fpregset_t): Likewise.
1879         (MCONTEXT_VERSION): Likewise.
1880         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
1881         Likewise.
1882         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
1883         (REG_R1): Likewise.
1884         (REG_R2): Likewise.
1885         (REG_R3): Likewise.
1886         (REG_R4): Likewise.
1887         (REG_R5): Likewise.
1888         (REG_R6): Likewise.
1889         (REG_R7): Likewise.
1890         (REG_R8): Likewise.
1891         (REG_R9): Likewise.
1892         (REG_R10): Likewise.
1893         (REG_R11): Likewise.
1894         (REG_R12): Likewise.
1895         (REG_R13): Likewise.
1896         (REG_R14): Likewise.
1897         (REG_R15): Likewise.
1898         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
1899         of <arch/abi.h> on [__USE_MISC].
1900         (greg_t): Condition on [__USE_MISC].
1901         (NGREG): Likewise.
1902         (gregset_t): Likewise.
1904 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1906         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1907         (__pthread_rwlock_arch_t): Remove __data definition.
1908         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1909         (__pthread_rwlock_arch_t): Likewise.
1911 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1913         * resolv/inet_pton.c: Reformat in GNU style.  Remove
1914         internal_function on static functions.
1916 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1918         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
1919         from format_ai_flags.
1920         (format_ai_flags): New function.  Incorporate flag formatting code
1921         from format_ai_one.
1922         (format_ai_canonname): New function.
1923         (format_ai_one): Remove flags parameter.
1924         (format_ai_family): Likewise.
1925         (support_format_addrinfo): Call format_ai_flags,
1926         format_ai_canonname.
1927         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
1928         check_ai.
1929         (check_ai): Call check_ai_hints.
1930         (do_test): Add AI_CANONNAME tests.
1932 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1934         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
1935         (gaih_inet): Likewise.
1937 2017-05-10  Andreas Schwab  <schwab@suse.de>
1939         * nptl/tst-fork1.c: Include <support/test-driver.c>.
1940         (main): Rename to do_test and make static.
1942 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
1944         * string/rawmemchr.c: Include <libc-diag.h>.
1945         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
1946         with size (size_t)-1.
1948 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1950         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
1951         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1952         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1954         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
1955         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
1956         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
1957         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
1958         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
1959         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
1960         * sysdeps/unix/sysv/linux/kernel-features.h
1961         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
1962         socket syscalls.
1963         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1964         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1965         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1966         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1967         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1969         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1970         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1971         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1972         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1973         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1974         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1975         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1976         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1977         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1979 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1981         * posix/Makefile (headers): Add pthreadtypes-arch.h and
1982         thread-shared-types.h.
1983         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
1984         specific thread definition.
1985         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
1986         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
1987         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
1988         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
1989         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
1990         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
1991         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
1992         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
1993         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
1994         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1995         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
1996         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
1997         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
1998         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
1999         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
2000         thread definition between POSIX and C11.
2001         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
2002         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
2003         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
2004         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
2005         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
2006         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
2007         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
2008         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
2009         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
2010         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
2011         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
2012         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
2013         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
2014         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
2015         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
2016         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
2017         definitions shared across all architectures.
2019 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2021         * sysdeps/unix/sysv/linux/kernel-features.h
2022         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
2023         (__ASSUME_SENDMMSG): Likewise.
2024         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
2025         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
2026         sendmmsg syscall if that can be assumed to be present, socketcall
2027         otherwise, with no fallback for runtime failure.
2029         * sysdeps/unix/sysv/linux/kernel-features.h
2030         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
2031         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
2032         (__ASSUME_RECVMMSG): Likewise.
2033         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
2034         recvmmsg syscall if it can be assumed to be present, socketcall
2035         otherwise, with no fallback for runtime failure.
2037 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2038             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2040         * bits/libc-header-start.h:
2041         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
2042         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
2043         * manual/creature.texi: Likewise.
2045 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2046             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2048         * math/Makefile:
2049         (type-float128-suffix): New variable
2050         (type-float128-routines): Likewise
2051         (type-float128-yes): Likewise
2052         (types): Append float128 if supported
2053         (types-basic): New variable to control the use of templates for
2054         float, double, and long double, but not for float128 or newer types.
2055         (type-basic-foreach): Likewise.
2057         * sysdeps/ieee754/float128/Makeconfig: New file.
2058         * sysdeps/ieee754/float128/Versions: New file.
2060 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2062         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
2063         Remove macro.
2064         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
2065         prlimit64 is always available and does not give an ENOSYS error.
2066         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
2067         unconditional.
2068         [!__NR_prlimit64]: Remove conditional code.
2069         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
2070         prlimit64 is always available and does not give an ENOSYS error.
2071         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
2073 2017-05-09  Zack Weinberg  <zackw@panix.com>
2075         * sunrpc/tst-xdrmem2.c: Include stdint.h.
2077 2017-05-09  Florian Weimer  <fweimer@redhat.com>
2079         [BZ #21474]
2080         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
2081         (__res_maybe_init): Likewise.
2083 2017-05-09  Zack Weinberg  <zackw@panix.com>
2085         * extra-modules.mk: Delete file.
2086         * cppflags-iterator.mk: Rename to ...
2087         * libof-iterator.mk: ...this.  Adjust comments.
2089         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
2090         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
2091         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
2092         Use libof-iterator.mk instead of cppflags-iterator.mk or
2093         extra-modules.mk.
2095         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
2096         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
2098 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2100         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2102 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
2104         * stdio-common/vfprintf.c (EXTSIZ): Define.
2105         (vfprintf): Use EXTSIZ.
2106         (printf_positional): Likewise.
2108 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2110         * sysdeps/unix/sysv/linux/kernel-features.h
2111         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
2112         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
2113         <kernel-features.h>.
2114         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
2116         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2117         (__ASSUME_GETCPU_SYSCALL): Remove macro.
2119 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2121         Prevent multiple deletion of temporary files.
2122         * support/temp_file.c (struct temp_name_list): Add owner member.
2123         (add_temp_file): Record owner.
2124         (support_delete_temp_files): Delete file only if owner matches.
2125         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
2126         (do_prepare): Use create_temp_file instead of add_temp_file.
2127         Initialize temp_fd1, temp_fd2.
2128         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
2129         framework remove the temporary files.
2130         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
2131         (do_prepare): Use create_temp_file instead of add_temp_file.
2132         Initialize temp_fd1, temp_fd2, temp_fd3.
2133         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
2134         the test framework remove the temporary files.
2135         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
2136         deletion.
2137         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
2138         temporary directory.  It is removed by the test framework.
2139         * dirent/tst-scandir.c (do_test): Likewise.
2141 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2143         Delete temporary files in LIFO order.
2144         * support/temp_file.c (struct temp_name_list): Replace q member
2145         with next.
2146         (add_temp_file): Add new file to front of linked list.
2147         (support_delete_temp_files): Use next member.
2148         (support_print_temp_files): Likewise.
2150 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2153         sys/ultrasound.h.
2154         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2156 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2158         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2159         Remove.
2160         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2161         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2162         (arch_minimum_kernel): Remove.
2163         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2164         * README: Update statement about Linux kernel requirements.
2166 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2168         * manual/llio.texi: Add preadv and pwritev documentation.
2170 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2172         [BZ #21455]
2173         * bits/stdint-intn.h: New file.
2174         * bits/stdint-uintn.h: Likewise.
2175         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2176         bits/stdint-uintn.h.
2177         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2178         <stdint.h>.
2179         * posix/sys/types.h: Include <bits/stdint-intn.h>.
2180         (__int8_t_defined): Do not define here.
2181         (int8_t): Likewise.
2182         (int16_t): Likewise.
2183         (int32_t): Likewise.
2184         (int64_t): Likewise.
2185         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2186         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2187         <stdint.h>.
2188         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2189         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2190         <bits/stdint-uintn.h>.
2191         (int8_t): Do not define here.
2192         (int16_t): Likewise.
2193         (int32_t): Likewise.
2194         (int64_t): Likewise.
2195         (uint8_t): Likewise.
2196         (uint16_t): Likewise.
2197         (uint32_t): Likewise.
2198         (uint64_t): Likewise.
2199         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2200         variable.
2201         (test-xfail-XPG42/netdb.h/conform): Likewise.
2202         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2203         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2204         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2205         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2207 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2209         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2210         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2211         the above.
2212         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2213         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2215 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2217         [BZ #21445]
2218         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2220         [BZ #21457]
2221         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2222         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2223         __glibc_reserved1.
2224         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2225         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2226         (struct _fpxreg): Likewise.
2227         [!__x86_64__] (struct _fpstate): Rename field reserved to
2228         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2229         [__x86_64__] (struct _fpstate): Rename field padding to
2230         __glibc_reserved1.
2231         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2232         Rename field reserved2 to __glibc_reserved2.
2233         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2234         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2235         __glibc_reserved1.
2236         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2237         __glibc_reserved1.
2239 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2241         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2242         variable name.
2244 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2246         [BZ #21391]
2247         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2248         Only call init_cpu_features.
2249         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2250         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2251         * sysdeps/i386/dl-procinfo.h: Removed.
2252         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2253         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2254         <sysdeps/x86/dl-procinfo.h>.
2255         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2256         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2257         Include <sysdeps/x86/dl-procinfo.h> instead of
2258          <sysdeps/generic/dl-procinfo.h>.
2259         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2260         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2261         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2262         (bit_cpu_MOVBE): Likewise.
2263         (bit_cpu_BMI1): Likewise.
2264         (bit_cpu_BMI2): Likewise.
2265         (index_cpu_BMI1): Likewise.
2266         (index_cpu_BMI2): Likewise.
2267         (index_cpu_LZCNT): Likewise.
2268         (index_cpu_MOVBE): Likewise.
2269         (index_cpu_POPCNT): Likewise.
2270         (reg_BMI1): Likewise.
2271         (reg_BMI2): Likewise.
2272         (reg_LZCNT): Likewise.
2273         (reg_MOVBE): Likewise.
2274         (reg_POPCNT): Likewise.
2275         * sysdeps/x86/dl-hwcap.h: New file.
2276         * sysdeps/x86/dl-procinfo.h: Likewise.
2277         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2278         (_dl_x86_platforms): Likewise.
2280 2017-05-03  DJ Delorie  <dj@redhat.com>
2282         [BZ #21411]
2283         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2285 2017-05-03  Phil Blundell  <pb@pbcl.net>
2287         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2288         comments.
2290 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2292         [BZ #20116]
2293         * nptl/pthread_create.c: Expand comments to describe
2294         semaphore-like and mutex-like uses of PD->lock.
2296 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2298         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2299         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2300         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2301         auto-generation list.
2302         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2303         epoll_wait.
2304         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2305         Remove epoll_wait.
2307         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2308         osf_select.
2309         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2310         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2311         osf_select from auto-generation list.
2312         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2313         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2314         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2315         * sysdeps/unix/sysv/linux/select.c: New file.
2317         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2318         * sysdeps/unix/sysv/linux/poll.c: New file.
2319         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2320         auto-generation list.
2322 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2324         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2325         New macro.
2327 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2329         [BZ #21179]
2330         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2331         R_SPARC_REGISTER relocations.
2333 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2335         * include/unistd.h (__pread): Add libc_hidden_proto.
2336         (__pread64): Likewise.
2337         (__pwrite): Likewise.
2338         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2339         (__pread64): Remove.
2340         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2341         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2342         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2344 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2348 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2350         * nptl/tst-cancel4-common.c: Use libsupport.
2351         * nptl/tst-cancel4-common.h: Likewise.
2352         * nptl/tst-cancel4.c (tf_read): Likewise.
2353         (tf_readv): Likewise.
2354         (tf_write): Likewise.
2355         (tf_writev): Likewise.
2356         (tf_sleep): Likewise.
2357         (tf_usleep): Likewise.
2358         (tf_nanosleep): Likewise.
2359         (tf_select): Likewise.
2360         (tf_pselect): Likewise.
2361         (tf_poll): Likewise.
2362         (tf_ppoll): Likewise.
2363         (tf_wait): Likewise.
2364         (tf_waitpid): Likewise.
2365         (tf_waitid): Likewise.
2366         (tf_sigpause): Likewise.
2367         (tf_sigsuspend): Likewise.
2368         (tf_sigwait): Likewise.
2369         (tf_sigwaitinfo): Likewise.
2370         (tf_sigtimedwait): Likewise.
2371         (tf_pause): Likewise.
2372         (tf_accept): Likewise.
2373         (tf_send): Likewise.
2374         (tf_recv): Likewise.
2375         (tf_recvfrom): Likewise.
2376         (tf_recvmsg): Likewise.
2377         (tf_open): Likewise.
2378         (tf_close): Likewise.
2379         (tf_pread): Likewise.
2380         (tf_pwrite): Likewise.
2381         (tf_preadv): Likewise.
2382         (tf_pwritev): Likewise.
2383         (tf_fsync): Likewise.
2384         (tf_fdatasync): Likewise.
2385         (tf_msync): Likewise.
2386         (tf_sendto): Likewise.
2387         (tf_sendmsg): Likewise.
2388         (tf_creat): Likewise.
2389         (tf_connect): Likewise.
2390         (tf_tcdrain): Likewise.
2391         (tf_msgrcv): Likewise.
2392         (tf_msgsnd): Likewise.
2393         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2394         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2396         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2397         expected arguments.
2398         (do_test): Adapt to use libsupport.
2400 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
2402         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2404         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2405         (PF_MAX): Set to 44.
2406         (AF_SMC): New macro.
2408         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2409         kernel version to 4.11.
2411 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2413         [BZ #21280]
2414         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2415         signal of subnormals and adjust the exponent of power of 2 down
2416         when low part has opposite sign.
2418 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2420         * sysdeps/powerpc/powerpc64le/Implies: New file.
2421         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2422         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2423         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2424         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2425         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2426         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2427         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2428         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2429         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2430         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2431         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2432         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2433         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2434         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2435         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2436         * sysdeps/powerpc/preconfigure: New file.
2437         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2440 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
2442         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2443         inclusion.
2444         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
2445         Remove.
2447 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
2449         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
2450         (XPG3): Rename standard to XPG4.
2451         * conform/Makefile: Likewise.
2452         * conform/list-header-symbols.pl: Likewise.
2453         * conform/data/aio.h-data: Likewise.
2454         * conform/data/arpa/inet.h-data: Likewise.
2455         * conform/data/complex.h-data: Likewise.
2456         * conform/data/ctype.h-data: Likewise.
2457         * conform/data/dlfcn.h-data: Likewise.
2458         * conform/data/fcntl.h-data: Likewise.
2459         * conform/data/fenv.h-data: Likewise.
2460         * conform/data/float.h-data: Likewise.
2461         * conform/data/fmtmsg.h-data: Likewise.
2462         * conform/data/ftw.h-data: Likewise.
2463         * conform/data/grp.h-data: Likewise.
2464         * conform/data/inttypes.h-data: Likewise.
2465         * conform/data/iso646.h-data: Likewise.
2466         * conform/data/langinfo.h-data: Likewise.
2467         * conform/data/libgen.h-data: Likewise.
2468         * conform/data/limits.h-data: Likewise.
2469         * conform/data/locale.h-data: Likewise.
2470         * conform/data/math.h-data: Likewise.
2471         * conform/data/mqueue.h-data: Likewise.
2472         * conform/data/ndbm.h-data: Likewise.
2473         * conform/data/net/if.h-data: Likewise.
2474         * conform/data/netdb.h-data: Likewise.
2475         * conform/data/netinet/in.h-data: Likewise.
2476         * conform/data/poll.h-data: Likewise.
2477         * conform/data/pthread.h-data: Likewise.
2478         * conform/data/pwd.h-data: Likewise.
2479         * conform/data/sched.h-data: Likewise.
2480         * conform/data/search.h-data: Likewise.
2481         * conform/data/semaphore.h-data: Likewise.
2482         * conform/data/signal.h-data: Likewise.
2483         * conform/data/spawn.h-data: Likewise.
2484         * conform/data/stdbool.h-data: Likewise.
2485         * conform/data/stdint.h-data: Likewise.
2486         * conform/data/stdio.h-data: Likewise.
2487         * conform/data/stdlib.h-data: Likewise.
2488         * conform/data/string.h-data: Likewise.
2489         * conform/data/strings.h-data: Likewise.
2490         * conform/data/stropts.h-data: Likewise.
2491         * conform/data/sys/mman.h-data: Likewise.
2492         * conform/data/sys/resource.h-data: Likewise.
2493         * conform/data/sys/select.h-data: Likewise.
2494         * conform/data/sys/socket.h-data: Likewise.
2495         * conform/data/sys/stat.h-data: Likewise.
2496         * conform/data/sys/statvfs.h-data: Likewise.
2497         * conform/data/sys/time.h-data: Likewise.
2498         * conform/data/sys/timeb.h-data: Likewise.
2499         * conform/data/sys/types.h-data: Likewise.
2500         * conform/data/sys/uio.h-data: Likewise.
2501         * conform/data/sys/un.h-data: Likewise.
2502         * conform/data/sys/wait.h-data: Likewise.
2503         * conform/data/syslog.h-data: Likewise.
2504         * conform/data/termios.h-data: Likewise.
2505         * conform/data/tgmath.h-data: Likewise.
2506         * conform/data/time.h-data: Likewise.
2507         * conform/data/ucontext.h-data: Likewise.
2508         * conform/data/unistd.h-data: Likewise.
2509         * conform/data/utmpx.h-data: Likewise.
2510         * conform/data/varargs.h-data: Likewise.
2511         * conform/data/wchar.h-data: Likewise.
2512         * conform/data/wctype.h-data: Likewise.
2514 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
2516         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
2517         version to 7 branch.
2519 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
2521         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
2522         earlyclobber to output operand of sqrt insn.
2523         (__ieee754_sqrtf): Ditto.
2525 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
2527         [BZ #21426]
2528         * misc/bits/types/struct_iovec.h: New file.
2529         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
2530         * include/bits/types/struct_iovec.h: New file.
2531         * bits/uio.h (struct iovec): Replace by inclusion of
2532         <bits/types/struct_iovec.h>.
2533         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
2534         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
2535         of <sys/uio.h>.
2536         * nptl/tst-cancel4.c: Include <sys/uio.h>
2537         * posix/test-errno.c: Likewise.
2538         * support/resolv_test.c: Likewise.
2539         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
2540         Remove.
2541         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2542         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2543         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2545         * conform/data/sys/socket.h-data (*_t): Allow.
2547 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2549         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
2550         assignment.
2552 2017-04-24  Daurnimator  <quae@daurnimator.com>
2553             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2555         [BZ #21340]
2556         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
2557         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
2558         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
2559         valid flags.
2560         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
2561         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
2562         POSIX_SPAWN_SETSID.
2563         * sysdeps/posix/spawni.c (__spawni): Likewise.
2564         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2565         * NEWS: Add note about POSIX_SPAWN_SETSID support.
2567 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2569         * sysdeps/generic/math_private.h: Move the declaration of many
2570         functions to sysdeps/generic/math_private_calls.h.
2571         * sysdeps/generic/math_private_calls.h: New file with the
2572         declarations of the functions removed from math_private.h
2573         macroized by floating-point type.
2575 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2577         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
2578         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
2579         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2580         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2581         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2582         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2584 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2586         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
2587         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
2588         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
2589         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
2590         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
2591         New Define.
2593 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2595         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
2596         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
2597         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2598         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2599         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2600         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2602 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2604         * sysdeps/s390/multiarch/ifunc-resolve.h
2605         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
2606         * sysdeps/s390/multiarch/8bit-generic.c
2607         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
2608         define ifunc resolvers.
2610 2017-04-21  Florian Weimer  <fweimer@redhat.com>
2612         [BZ #20424]
2613         * manual/memory.texi (Replacing malloc): New section.
2614         (Allocating Storage For Program Data): Reference it.
2615         (The GNU Allocator): Likewise.
2617 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
2619         * stdlib/Versions (__strtod_internal): List explicitly, not as
2620         wildcard.
2621         (__strtof_internal): Likewise.
2622         (__strtold_internal): Likewise.
2623         (__strtol_internal): Likewise.
2624         (__strtoll_internal): Likewise.
2625         (__strtoul_internal): Likewise.
2626         (__strtoull_internal): Likewise.
2627         (__strtoq_internal): Likewise.
2628         (__strtouq_internal): Likewise.
2629         * wcsmbs/Versions (__wcstod_internal): Likewise.
2630         (__wcstof_internal): Likewise.
2631         (__wcstold_internal): Likewise.
2632         (__wcstol_internal): Likewise.
2633         (__wcstoll_internal): Likewise.
2634         (__wcstoul_internal): Likewise.
2635         (__wcstoull_internal): Likewise.
2637 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2639         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
2640         struct timespec definition.
2642 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2644         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
2646 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2648         * inet/rcmd.c (rresvport_af): Fix typo in comment.
2649         * inet/rexec.c (rexec_af): Likewise.
2651 2017-04-19  Zack Weinberg  <zackw@panix.com>
2653         * posix/tst-mmap-offset.c: Include stdint.h.
2654         * resolv/tst-ns_name_compress.c: Include string.h.
2655         * resolv/tst-resolv-edns.c: Include resolv.h.
2657 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2659         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
2660         with __glibc_likely.
2661         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
2662         Replace __builtin_expect with __glibc_unlikely.
2663         * resolv/res_init.c (__res_vinit): Likewise.
2664         * resolv/res_query.c (__libc_res_nquery): Likewise.
2665         * resolv/res_send.c (__libc_res_nsend): Likewise.
2667 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2669         [BZ #15722]
2670         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
2671         with SOCK_CLOEXEC.
2672         * resolv/res_send.c (send_vc, reopen): Likewise.
2673         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2674         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
2675         Likewise.
2676         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
2677         * inet/rexec.c (rexec_af): Add comment.
2678         * inet/rcmd.c (rresvport_af): Likewise.
2680 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2682         * nscd/connections.c (have_accept4): Removed definition.
2683         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
2684         accept4 works.
2685         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
2686         ia64 because that was the first version with accept4 support.
2687         * support/Makefile (libsupport-routines): Add xaccept4.
2688         * support/xsocket.h (xaccept4): Declare.
2689         * support/xaccept4.c: New file.
2690         * socket/tst-accept4.c: New file.
2691         * socket/Makefile (tests): Add tst-accept4.
2692         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
2693         definition.
2694         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
2695         comment.
2696         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
2697         implementation is available.
2698         (accept4): Use the system call if available, otherwise use the
2699         socket call.
2700         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
2701         Set to 3.2.18.
2702         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2703         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
2704         accept4 is unconditionally available in later 3.2 stable kernels.
2705         (__ASSUME_ACCEPT4_SYSCALL): Define.
2706         * sysdeps/unix/sysv/linux/kernel-features.h
2707         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
2708         definitions.
2709         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2710         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
2712 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
2714         * conform/Makefile (tests-special): Do not make addition of
2715         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
2716         (generated): Do not make addition of $(conformtest-header-base)
2717         conditional on [$(cross-compiling) = no].
2719         [BZ #21267]
2720         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
2721         if defined by <asm/socket.h> and not previously defined.
2722         (IOCSIZE_SHIFT): Likewise.
2723         (IOC_IN): Likewise.
2724         (IOC_INOUT): Likewise.
2725         (IOC_OUT): Likewise.
2727 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2729         [BZ #21396]
2730         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2731         Prefer_No_AVX512 if AVX512ER isn't available.
2732         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
2733         (index_arch_Prefer_No_AVX512): Likewise.
2734         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
2735         AVX512 version if Prefer_No_AVX512 is set.
2736         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
2737         Likewise.
2738         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
2739         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
2740         Likewise.
2741         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2742         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
2743         Likewise.
2744         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
2745         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
2746         Likewise.
2748 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2750         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2751         Prefer_No_VZEROUPPER if AVX512ER is available.
2752         * sysdeps/x86/cpu-features.h
2753         (bit_cpu_AVX512PF): New.
2754         (bit_cpu_AVX512ER): Likewise.
2755         (bit_cpu_AVX512CD): Likewise.
2756         (bit_cpu_AVX512BW): Likewise.
2757         (bit_cpu_AVX512VL): Likewise.
2758         (index_cpu_AVX512PF): Likewise.
2759         (index_cpu_AVX512ER): Likewise.
2760         (index_cpu_AVX512CD): Likewise.
2761         (index_cpu_AVX512BW): Likewise.
2762         (index_cpu_AVX512VL): Likewise.
2763         (reg_AVX512PF): Likewise.
2764         (reg_AVX512ER): Likewise.
2765         (reg_AVX512CD): Likewise.
2766         (reg_AVX512BW): Likewise.
2767         (reg_AVX512VL): Likewise.
2769 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2771         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
2772         O_CLOEXEC is defined.
2773         * include/fcntl.h (__have_o_cloexec): Remove declaration.
2774         * io/Makefile (aux): Remove.
2775         * io/have_o_cloexec.c: Remove file.
2776         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2777         defined and works.
2778         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2779         defined.
2780         * login/utmp_file.c (O_flags): Remove definition.
2781         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
2782         O_CLOEXEC works.
2783         (pututline_file): Likewise.
2784         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2785         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2786         definition.
2787         (internal_setgrent): Assume that O_CLOEXEC works.
2788         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2789         Remove definition.
2790         (internal_setgrent): Assume that O_CLOEXEC works.
2791         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2792         definition.
2793         (internal_setpwent): Assume that O_CLOEXEC works.
2794         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2795         definition.
2796         (internal_setspent): Assume that O_CLOEXEC works.
2797         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2798         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2799         O_CLOEXEC is defined and works.
2800         * nss/Makefile (libnss_files-routines): Remove
2801         files-have_o_cloexec.
2802         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2803         defined.
2804         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2805         O_CLOEXEC is defined and works.
2806         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2807         * nss/nss_files/files-have_o_cloexec.c: Remove.
2808         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2809         defined.
2810         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2811         and works.
2812         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2813         definition.
2814         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2815         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2816         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2817         (__opendirat, __opendir): Adjust opendir_oflags call.
2818         (check_have_o_cloexec): Remove.
2819         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2820         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2821         defined.
2822         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2823         Remove definition.
2825 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2827         * include/unistd.h (__have_dup3): Remove declaration.
2828         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2829         dup3 is available.
2830         * libio/freopen64.c (freopen64): Likewise.
2831         * socket/Makefile (aux): Remove have_sock_cloexec.
2832         * socket/have_sock_cloexec.c: Remove file.
2833         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
2834         definition.
2835         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
2836         Likewise.
2837         * sysdeps/nacl/kernel-features.h: Update comment.
2839 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2841         * include/unistd.h (__have_pipe2): Remove declaration.
2842         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
2843         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
2844         available.
2845         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
2846         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
2847         Remove definition.
2849 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2851         * malloc/malloc.c (cfree): Turn into compat symbol.
2852         (__cfree): Remove alias.
2853         * stdlib/stdlib.h (cfree): Remove declaration.
2854         * malloc/malloc.h (cfree): Likewise.
2855         * manual/memory.texi (Freeing after Malloc): Remove cfree.
2856         * malloc/Versions (GLIBC_2.26): Add.
2858 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2860         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2861         (sysdep_routines): Add strrchr-power8.
2862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2863         (strrchr): Add __strrchr_power8 to list of strrchr functions.
2864         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
2865         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
2866         (strrchr): Add __strrchr_power8 to ifunc list.
2867         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
2869 2017-04-17  Rabin Vincent  <rabinv@axis.com>
2871         [BZ #21357]
2872         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
2873         Call free() outside of mutex.
2875 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2877         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
2878         is defined.
2879         * elf/rtld.c (process_envvars): Likewise.
2880         * sysdeps/posix/shm_open.c (shm_open): Likewise.
2881         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
2882         O_NOFOLLOW directly.
2883         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
2885 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2887         [BZ #21369]
2888         Remove EDNS fallback.
2889         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
2890         handling.
2891         * resolv/res_send.c (send_dg): Likewise.
2892         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
2893         "tcp." prefixes.
2894         (do_test): Send a "formerr."-prefixed query in an attempt to
2895         trigger EDNS fallback.
2897 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2899         [BZ #21361]
2900         Limit EDNS buffer size to 1200 bytes.
2901         * include/resolv.h (__res_nopt): Remove declaration.
2902         * resolv/Makefile (tests): tst-resolv-edns.
2903         (tst-resolv-edns): Link with -lresolv, -lpthread.
2904         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
2905         interval [512, 1200].
2906         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
2907         we can resize the buffer.
2908         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
2909         (__res_nopt): Declare.
2910         * resolv/tst-resolv-edns.c: New file.
2911         * resolv/resolv_test.h (struct resolv_edns_info): Define.
2912         (struct resolv_response_context): Add edns member.
2913         * resolv/resolv_test.c (struct query_info): Add edns member.
2914         (parse_query): Extract EDNS information from the query.
2915         (server_thread_udp_process_one): Propagate EDNS data.
2916         (server_thread_tcp_client): Likewise.
2918 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2920         [BZ #21359]
2921         * resolv/ns_name.c (ns_name_pack): Do not require an additional
2922         byte in the destination buffer.  Avoid out-of-bounds pointer
2923         arithmetic.
2924         * resolv/Makefile (tests): Add tst-ns_name_compress.
2925         (tst-ns_name_compress): Link with -lresolv.
2926         * resolv/tst-ns_name_compress.c: New file.
2927         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
2928         (response): Recognize LONG_NAME.
2929         (do_test): Add LONG_NAME tests.
2930         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
2931         for ns_name_unpack.  Add tests for ns_name_pton and
2932         ns_name_compress.
2934 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2936         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
2937         (res_nisourserver): Remove definition.
2938         (p_section, res_npquery, res_nisourserver): Remove declaration.
2939         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
2940         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
2941         ... here.
2942         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
2943         <resolv.h>.
2944         * resolv/res_query.c: Likewise.
2945         * resolv/res_debug.c (p_section): Define as static.
2947 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2949         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
2950         strncat-power8.
2951         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
2952         __strncat_power8 to ifunc list.
2953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2954         (strncat): Add __strncat_power8 to list of strncat functions.
2955         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
2957 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2959         [BZ #21270]
2960         * posix/tst-mmap-offset.c (do_prepare): New function.
2961         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
2962         (do_test_bz21270): New function.
2963         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
2964         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
2965         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
2966         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
2967         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
2968         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2969         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
2970         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
2971         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
2972         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
2973         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
2974         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2975         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2976         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2977         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
2978         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
2979         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2980         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
2981         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
2982         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
2983         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
2984         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
2985         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
2986         from auto-generation list.
2987         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
2988         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2989         * sysdeps/unix/sysv/linux/mmap.c: New file.
2990         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
2991         offsets and support for mmap2 syscall.
2993         * posix/globtest.sh: Add cleanup routine on trap 0.
2995 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2997         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
2998         implementation-specific function name and remove unneeded
2999         macros definition.
3000         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3001         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3002         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
3003         name if not defined and pass as parameter to macros accordingly.
3004         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3005         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
3007         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
3008         implementation-specific function name and remove unneeded
3009         macros definition.
3010         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3011         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3012         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3013         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3014         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3015         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3016         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
3017         name if not defined and pass as parameter to macros accordingly.
3018         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3019         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3020         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3021         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3022         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3023         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
3025         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
3026         implementation-specific function name and remove unneeded macros
3027         definition.
3028         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3029         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3030         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
3031         function name if not defined and pass as parameter to macros
3032         accordingly.
3033         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3034         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
3036         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
3037         implementation-specific function name and remove unneeded macros
3038         definition.
3039         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3040         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3041         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3042         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3043         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
3044         not defined and pass as parameter to macros accordingly.
3045         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3046         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3047         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3048         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
3050         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
3051         strcasestr implementation name and remove unneeded macros definition.
3052         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
3053         strstr implementation name and remove unneeded macros definition.
3054         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
3055         name if not defined and pass as parameter to macros accordingly.
3056         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
3058         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
3059         implementation-specific function name and remove unneeded macros
3060         definition.
3061         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3062         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3063         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3064         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3065         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3066         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
3067         function name if not defined and pass as parameter to macros
3068         accordingly.
3069         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
3070         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
3071         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
3072         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
3074         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
3075         the strlen implementation name and remove unneeded macros definition.
3076         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3077         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3078         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
3079         the strnlen implementation name and remove unneeded macros definition.
3080         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
3081         name if not defined and pass as parameter to macros accordingly.
3082         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
3083         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
3084         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3086         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
3087         the implementation-specific function name and remove unneeded
3088         macros definition.
3089         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3090         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
3091         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3092         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3093         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3094         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3095         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3096         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3097         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3098         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
3099         name if not defined and pass as parameter to macros accordingly.
3100         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
3101         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3102         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3103         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
3104         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3105         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3106         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
3107         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3109         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
3110         implementation-specific function name and remove unneeded macros
3111         definition.
3112         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3113         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3114         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3115         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3116         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3117         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
3118         function name if not defined.
3119         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
3120         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
3122 2017-04-11  Paul Clarke  <pc@us.ibm.com>
3124         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
3125         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
3126         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
3127         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
3129 2017-04-11  Florian Weimer  <fweimer@redhat.com>
3130             Zack Weinberg  <zackw@panix.com>
3132         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
3133         readdir64 as thread-safe.  Update warning about readdir_r.
3135 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3137         * sysdeps/unix/sysv/linux/x86/Implies: New file.
3138         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
3139         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
3140         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
3141         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
3142         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
3143         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3145 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3147         * sysdeps/i386/dl-procinfo.c: Include
3148         <sysdeps/x86/dl-procinfo.c>.
3149         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3150         * sysdeps/x86/dl-procinfo.c: New file.
3152 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3154         * sysdeps/generic/math_private.h: Remove declarations of
3155         many functions that are already declared in math.h.
3156         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3157         declaration for __frexpl.
3158         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3159         the declarations for __scalbnl and fabsl.
3161 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
3163         [BZ #20831]
3164         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3165         of __mprotect to change protection on the excess portion
3166         to disallow all access.
3168 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3170         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3171         HAS_CPU_FEATURE to check for SSE.
3172         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3173         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3174         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3175         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3176         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3177         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3178         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3179         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3180         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3181         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3182         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3183         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3184         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3185         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3186         (index_cpu_SSE): Likewise.
3187         (reg_SSE): Likewise.
3189 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
3191         * posix/getopt1.c: Include <config.h>, not "config.h".
3193 2017-04-07  Zack Weinberg  <zackw@panix.com>
3195         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3196         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3197         Mention in top-of-file boilerplate that these files are shared
3198         with gnulib.
3199         * posix/getopt.h, posix/bits/getopt_posix.h:
3200         Mention in top-of-file boilerplate that these files are NOT shared
3201         with gnulib, unlike the rest of the getopt implementation.
3203         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3204         New files, intended to be shared with gnulib.
3205         * posix/bits/getopt_posix.h:
3206         New file, not intended to be shared with gnulib.
3207         * posix/getopt.h: Now just includes features.h,
3208         bits/getopt_core.h, and bits/getopt_ext.h.  Will
3209         no longer be shared with gnulib.
3210         * include/bits/getopt_core.h, include/bits/getopt_ext.h
3211         * include/bits/getopt_posix.h: New wrappers.
3212         * posix/Makefile: Install new headers.
3213         * posix/unistd.h, libio/stdio.h:
3214         Include bits/getopt_posix.h instead of getopt.h.
3216         * include/libc-symbols.h: For gnulib compatibility, define
3217         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3218         _GL_ATTRIBUTE_CONST.
3219         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3220         parameters with _GL_UNUSED.
3222         * posix/getopt.c: When used standalone, define __libc_use_alloca
3223         as always false and alloca to abort if called.
3224         (process_long_option): Rewrite handling of ambiguous long options
3225         to use a single boolean vector, not a linked list; use
3226         __libc_use_alloca to decide whether to allocate this using alloca.
3227         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3229         * posix/getopt.c (process_long_option): New function split out
3230         from _getopt_internal_r.
3231         (_getopt_internal_r): Replace both copies of the long-option
3232         processing code with calls to process_long_option.
3233         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3234         (do_test): Differentiate argv[0] in the two subtests.
3236         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3237         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3238         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3240         * posix/getopt.h: Add backup definition of __nonnull for
3241         consistency with gnulib.  Define __getopt_argv_const to const
3242         if not already defined.
3243         (getopt): Update doc comment from gnulib.  Prototype
3244         unconditionally.  Add __nonnull annotation.
3245         (__posix_getopt): Add __nonnull annotation.
3246         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3247         prototypes for consistency with gnulib.  Add __nonnull
3248         annotations.
3249         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3250         (getopt_internal): Change 'argv' argument to type 'char **'.
3251         Remove now-unnecessary casts.
3252         (getopt, __posix_getopt): Eliminate repetition with a macro.
3253         Cast 'argv' to 'char **' when calling _getopt_internal.
3254         * posix/getopt1.c (getopt_long, getopt_long_only):
3255         Use __getopt_argv_const for consistency with gnulib.
3256         Cast 'argv' to 'char **' when calling _getopt_internal.
3257         (_getopt_long_r, _getopt_long_only_r):
3258         Change 'argv' argument to type 'char **'.
3259         (main): Constify 'long_options'.
3260         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3261         (_getopt_long_r, _getopt_long_only_r):
3262         Change 'argv' argument to type 'char **'.
3264         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3265         (locked_vfxprintf): New helper function. Handle arbitrary
3266         multibyte strings, not just ASCII.
3267         * include/stdio.h: Declare __fxprintf_nocancel.
3268         * posix/getopt.c: When _LIBC is defined, define fprintf to
3269         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3270         to _IO_funlockfile.  When neither _LIBC nor
3271         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3272         funlockfile as no-ops.
3273         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3274         the standalone error-printing code can now be used for libc as
3275         well.  Add an flockfile/funlockfile pair around one case where
3276         the error message is printed in several chunks.  Don't use fputc.
3277         * posix/tst-getopt-cancel.c: New test.
3278         * posix/Makefile: Run it.
3280         * posix/getopt.c (_getopt_internal_r): Don't increment
3281         d->optind a second time when reporting ambiguous -W options.
3283         * posix/getopt_int.h: Include getopt.h.
3284         Use impl-namespace names for all arguments to _getopt_internal and
3285         _getopt_internal_r.
3286         Declare __ordering enum outside the struct.
3287         Harmonize comments with gnulib.
3288         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3289         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3290         #ifdef TEST block and make unconditional.  Do not define NULL.
3291         * posix/getopt.c: Partial merge from gnulib, covering the
3292         initial includes and global declarations, commentary, and
3293         a couple of semantically-neutral code changes.
3295         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3296         Use '...' instead of `...' for quotation marks inside
3297         comments and strings.
3299         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3300         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3301         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3302         * posix/getopt_int.h: Likewise.
3303         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3304         __libc_argc and __libc_argv externs, which were only used by
3305         #ifdef USE_NONOPTION_FLAGS blocks.
3306         * posix/getopt_init.c: Remove file.
3307         * posix/Makefile (routines): Remove getopt_init.
3308         * include/getopt.h: Don't declare __getopt_initialize_environment.
3309         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3310         a comment.
3312 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3314         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3316 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3318         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3319         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3320         to __wrap_.udiv.
3321         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3322         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3324         * sysdeps/i386/symbol-hacks.h: New file.
3325         * sysdeps/m68k/symbol-hacks.h: New file.
3326         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3327         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3328         * sysdeps/unix/sysv/linux/i386/Makefile
3329         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3330         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3331         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3332         * sysdeps/unix/sysv/linux/m68k/Makefile
3333         [$(subdir) = csu] (sysdep_routines): Likewise.
3334         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3335         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3337         [$(subdir) = csu] (sysdep_routines): Likewise.
3338         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3339         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3340         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3341         [$(subdir) = csu] (sysdep_routines): Likewise.
3342         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3343         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3344         * sysdeps/wordsize-32/Makefile: Remove file.
3345         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3346         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3348 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
3350         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3351         (TEST_FUNCTION_ARGV): New.
3353 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3355         * elf/next.c: Import support/test-driver.c instead of
3356         test-skeleton.c and delete TEST_FUNCTION macro definition.
3357         * elf/nodelete.c: Likewise.
3358         * elf/order2.c: Likewise.
3359         * elf/tst-_dl_addr_inside_object.c: Likewise.
3360         * elf/tst-addr1.c: Likewise.
3361         * elf/tst-align.c: Likewise.
3362         * elf/tst-align2.c: Likewise.
3363         * elf/tst-audit11.c: Likewise.
3364         * elf/tst-audit12.c: Likewise.
3365         * elf/tst-audit2.c: Likewise.
3366         * elf/tst-audit9.c: Likewise.
3367         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3368         * elf/tst-deep1.c: Likewise.
3369         * elf/tst-dl-iter-static.c: Likewise.
3370         * elf/tst-dlmodcount.c: Likewise.
3371         * elf/tst-dlmopen1.c: Likewise.
3372         * elf/tst-dlmopen2.c: Likewise.
3373         * elf/tst-dlmopen3.c: Likewise.
3374         * elf/tst-dlopen-aout.c: Likewise.
3375         * elf/tst-dlopenrpath.c: Likewise.
3376         * elf/tst-dlsym-error.c: Likewise.
3377         * elf/tst-execstack-needed.c: Likewise.
3378         * elf/tst-execstack-prog.c: Likewise.
3379         * elf/tst-execstack.c: Likewise.
3380         * elf/tst-global1.c: Likewise.
3381         * elf/tst-gnu2-tls1.c: Likewise.
3382         * elf/tst-latepthread.c: Likewise.
3383         * elf/tst-leaks1.c: Likewise.
3384         * elf/tst-linkall-static.c: Likewise.
3385         (do_test): New function.
3386         * elf/tst-nodelete-opened.c: Likewise.
3387         * elf/tst-nodelete.cc: Likewise.
3388         * elf/tst-nodelete2.c: Likewise.
3389         * elf/tst-noload.c: Likewise.
3390         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3391         * elf/tst-order-main.c: Likewise.
3392         * elf/tst-pathopt.c: Likewise.
3393         * elf/tst-pie2.c: Likewise.
3394         * elf/tst-piemod1.c: Likewise.
3395         * elf/tst-prelink.c: Likewise.
3396         * elf/tst-protected1a.c: Likewise.
3397         * elf/tst-protected1b.c: Likewise.
3398         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3399         and define _GNU_SOURCE macro.
3400         (cmdline_process_function): New function.
3401         * elf/tst-relsort1.c: Likewise.
3402         * elf/tst-stackguard1.c: Likewise, import getopt.h,
3403         and define _GNU_SOURCE macro.
3404         (cmdline_process_function): New function.
3405         * elf/tst-thrlock.c: Likewise.
3406         * elf/tst-tls-dlinfo.c: Likewise.
3407         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3408         * elf/tst-tls1.c: Likewise.
3409         * elf/tst-tls10.c: Likewise.
3410         * elf/tst-tls11.c: Likewise.
3411         * elf/tst-tls12.c: Likewise.
3412         * elf/tst-tls13.c: Likewise.
3413         * elf/tst-tls14.c: Likewise.
3414         * elf/tst-tls15.c: Likewise.
3415         * elf/tst-tls16.c: Likewise.
3416         * elf/tst-tls17.c: Likewise.
3417         * elf/tst-tls18.c: Likewise.
3418         * elf/tst-tls19.c: Likewise.
3419         * elf/tst-tls2.c: Likewise.
3420         * elf/tst-tls3.c: Likewise.
3421         * elf/tst-tls4.c: Likewise.
3422         * elf/tst-tls5.c: Likewise.
3423         * elf/tst-tls6.c: Likewise.
3424         * elf/tst-tls7.c: Likewise.
3425         * elf/tst-tls8.c: Likewise.
3426         * elf/tst-tls9.c: Likewise.
3427         * elf/tst-tlsalign-extern.c: Likewise.
3428         * elf/tst-tlsalign.c: Likewise.
3429         * elf/tst-unique1.c: Likewise.
3430         * elf/tst-unique2.c: Likewise.
3431         * elf/vismain.c: Likewise.
3433 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3435         * string/test-strnlen.c (do_page_tests): New function
3436         to check length of strings ending at the page boundary.
3437         (test_main): Added call to the do_page_tests function.
3439 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3440             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3442         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3443         (sysdep_routines): Add strnlen-power8.
3444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3445         (strnlen): Add __strnlen_power8 to list of strnlen functions.
3446         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
3447         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
3448         (__strnlen): Add __strnlen_power8 to ifunc list.
3449         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
3451 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3453         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
3454         the TEST_FUNCTION macro definition.
3455         * wcsmbs/tst-mbrtowc2.c: Likewise.
3456         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3457         * wcsmbs/tst-wchar-h.c: Likewise.
3458         * wcsmbs/tst-wcpncpy.c: Likewise.
3459         * wcsmbs/tst-wcrtomb.c: Likewise.
3460         * wcsmbs/tst-wcsnlen.c: Likewise.
3461         * wcsmbs/tst-wcstof.c: Likewise.
3463 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3465         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
3466         CALL_THREAD_FCT macro usage.
3467         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
3468         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
3469         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
3471         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
3472         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3473         (__ASSUME_REQUEUE_PI): Likewise.
3474         * sysdeps/unix/sysv/linux/kernel-features.h
3475         (__ASSUME_REQUEUE_PI): Likewise.
3476         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3477         (__ASSUME_REQUEUE_PI): Likewise.
3478         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3479         (__ASSUME_REQUEUE_PI): Likewise.
3480         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3481         (__ASSUME_REQUEUE_PI): Likewise.
3483 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3485         * resolv/tst-resolv-canonname.c: New file.
3486         * resolv/Makefile (tests): Add tst-resolv-canonname.
3487         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
3489 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3491         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
3492         Declare.
3493         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
3494         (NS_MAXCDNAME): Remove definition.
3495         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3496         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
3497         (NS_MAXCDNAME): Remove definition.
3498         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3500 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3502         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
3503         call whose result is not used.
3505 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3507         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
3508         * resolv/Makefile (tests): Add tst-ns_name.
3509         (tst-ns_name): Link with -lresolv.
3510         (tst-ns_name.out): Depend on the input data file.
3512 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3514         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
3515         Clobber also r14.
3517 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
3519         [BZ #21253]
3520         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
3521         slack space by 32KiB.
3523 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
3525         [BZ #21338]
3526         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
3527         instead of incorrect do_set_arena_test
3529 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3531         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
3532         * math/bits/math-finite.h: Likewise.
3534 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
3536         [BZ #21289]
3537         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
3539 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3541         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
3542         non expected inotify_add_watch and quotactl return.
3544 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3546         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
3547         to int32_t.
3548         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
3549         as returning int32_t.
3551 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3553         * math/math.h: Include bits/math-finite.h once per
3554         floating-point type.
3555         * math/bits/math-finite.h: Macroize all declarations by
3556         floating-point type.
3558 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3560         [BZ #21182]
3561         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
3562         near end of a page.
3563         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
3564         overflow calculation.
3566 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3568         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
3569         (IMPL) Call with 1 instead of 0 as argument.
3571 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3573         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3574         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3575         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3576         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3577         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3578         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3579         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3580         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3581         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3582         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3583         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3584         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3585         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3586         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3587         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3588         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3589         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3590         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3591         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3592         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3593         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3594         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3595         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3596         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3597         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3598         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3599         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3600         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3601         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3602         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3603         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3604         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3605         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3606         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3607         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3608         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3609         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3610         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3611         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3612         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3613         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3614         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3615         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3616         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3617         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3618         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3619         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3620         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3621         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3622         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3623         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3624         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3625         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3626         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3627         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3628         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3629         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3630         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3631         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3632         defined.
3633         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3634         __NR_setgroups32 if defined.
3635         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3636         if defined.
3637         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3638         __NR_setresgid32 is defined.
3639         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3640         __NR_setresuid32 if defined.
3641         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3642         __NR_setreuid32 if defined.
3643         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3644         defined.
3645         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3646         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3647         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3648         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3649         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3650         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3651         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3652         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3653         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3654         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3655         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3656         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3657         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3658         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3659         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3660         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3661         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3662         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3663         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3664         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3665         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3666         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3667         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3668         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3669         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3670         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3671         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3672         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3673         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3674         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3675         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3676         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3677         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3678         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3679         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3680         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3681         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3682         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3683         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3684         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3685         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3686         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3687         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3688         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3689         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3690         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3691         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3692         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3693         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3694         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3695         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3696         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3697         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3698         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3699         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3700         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3701         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3702         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3703         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3704         defined.
3705         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3706         __NR_setgroups32 if defined.
3707         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3708         if defined.
3709         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3710         __NR_setresgid32 is defined.
3711         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3712         __NR_setresuid32 if defined.
3713         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3714         __NR_setreuid32 if defined.
3715         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3716         defined.
3718 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
3720         [BZ #21277]
3721         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
3722         unconditionally.
3723         (IMAXBEL): Likewise.
3724         (IUTF8): Likewise.
3726 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3728         * sysdeps/aarch64/libm-test-ulps: Update.
3730 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
3732         * README.tunables: Updated descriptions.
3733         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
3734         * scripts/gen-tunables.awk: Updated the code related to the
3735         commit.
3737 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
3739         * benchtests/Makefile (string-benchset): Add memcpy-random.
3740         * benchtests/bench-memcpy-random.c: New file.
3742 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3744         * stdio-common/printf.h (register_printf_modifier): Change the
3745         order of __wur and __THROW.
3746         (register_printf_type): Likewise.
3748 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3750         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
3751         test_main ().
3752         (CMDLINE_PROCESS): Use function instead of defined macro.
3753         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
3754         <suppport/support.h> to use set_fortify_handler().
3755         * string/bug-envz1.c: Import support/test-driver.c instead of
3756         test-skeleton.c.
3757         * string/bug-strcoll2.c: Likewise.
3758         * string/bug-strtok1.c: Likewise.
3759         * string/stratcliff.c: Likewise.
3760         * string/test-ffs.c: Likewise.
3761         * string/test-memccpy.c: Likewise.
3762         * string/test-memchr.c: Likewise.
3763         * string/test-memcmp.c: Likewise.
3764         * string/test-memcpy.c: Likewise.
3765         * string/test-memmem.c: Likewise.
3766         * string/test-memmove.c: Likewise.
3767         * string/test-memrchr.c: Likewise.
3768         * string/test-memset.c: Likewise.
3769         * string/test-rawmemchr.c: Likewise.
3770         * string/test-strcasecmp.c: Likewise.
3771         * string/test-strcasestr.c: Likewise.
3772         * string/test-strcat.c: Likewise.
3773         * string/test-strchr.c: Likewise.
3774         * string/test-strcmp.c: Likewise.
3775         * string/test-strcpy.c: Likewise.
3776         * string/test-string.h: Likewise.
3777         * string/test-strlen.c: Likewise.
3778         * string/test-strncasecmp.c: Likewise.
3779         * string/test-strncat.c: Likewise.
3780         * string/test-strncmp.c: Likewise.
3781         * string/test-strncpy.c: Likewise.
3782         * string/test-strnlen.c: Likewise.
3783         * string/test-strpbrk.c: Likewise.
3784         * string/test-strrchr.c: Likewise.
3785         * string/test-strspn.c: Likewise.
3786         * string/test-strstr.c: Likewise.
3787         * string/tst-bswap.c: Likewise.
3788         * string/tst-cmp.c: Likewise.
3789         * string/tst-endian.c: Likewise.
3790         * string/tst-inlcall.c: Likewise.
3791         * string/tst-strcoll-overflow.c: Likewise.
3792         * string/tst-strfry.c: Likewise.
3793         * string/tst-strlen.c: Likewise.
3794         * string/tst-strtok.c: Likewise.
3795         * string/tst-strtok_r.c: Likewise.
3796         * string/tst-strxfrm.c: Likewise.
3797         * string/tst-strxfrm2.c: Likewise.
3798         * string/tst-svc.c: Likewise.
3799         * string/tst-svc2.c: Likewise.
3801 2017-03-22  Zack Weinberg  <zackw@panix.com>
3803         * stdio-common/bug25.c: Include stdlib.h.
3804         * support/tst-support_format_dns_packet.c: Include stdio.h,
3805         stdlib.h, and string.h.
3806         * support/tst-support_record_failure.c: Include string.h.
3807         * support/tst-support_record_failure-2.sh: Adjust line number
3808         expectations and correct a typo in an error message.
3810 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3812         [BZ #21258]
3813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3814         Define only if _dl_runtime_resolve is defined to
3815         _dl_runtime_resolve_sse_vex.
3816         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3817         Fallthrough to _dl_runtime_resolve_sse_vex.
3819 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3821         * INSTALL: Regenerated.
3823 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
3825         * config.h.in: Add LINK_OBSOLETE_NSL.
3826         * config.make.in: Add build-obsolete-nsl.
3827         * configure.ac: Add obsolete-nsl option.
3828         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3829         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3830         * include/rpcsvc/nislib.h: Likewise.
3831         * include/rpcsvc/ypclnt.h: Likewise.
3832         * manual/install.texi: Document --enable-obsolete-nsl.
3833         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
3834         * nis/nis_add.c: Replace libnsl_hidden_def with
3835         libnsl_hidden_nolink_def.
3836         * nis/nis_addmember.c: Likewise.
3837         * nis/nis_call.c: Likewise.
3838         * nis/nis_clone_obj.c: Likewise.
3839         * nis/nis_defaults.c: Likeise.
3840         * nis/nis_domain_of_r.c: Likewise.
3841         * nis/nis_error.c: Likewise.
3842         * nis/nis_file.c: Likewise.
3843         * nis/nis_free.c: Likewise.
3844         * nis_local_names.c: Likewise.
3845         * nis/nis_lookup.c: Likewise.
3846         * nis/nis_modify.c: Likewise.
3847         * nis/nis_print.c: Likewise.
3848         * nis/nis_remove.c: Likewise.
3849         * nis/nis_table.c: Likewise.
3850         * nis/nis_util.c: Likewise.
3851         * nis/nis_xdr.c: Likewise.
3852         * nis/yp_xdr.c: Likewise.
3853         * nis/ypclnt.c: Likewise.
3854         * nis/ypupdate_xdr.c: Likewise.
3855         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
3856         * nis/nis_clone_dir.c: Likewise.
3857         * nis/nis_clone_res.c: Likewise.
3858         * nis/nis_creategroup.c: Likewise.
3859         * nis/nis_destroygroup.c: Likewise.
3860         * nis/nis_domain_of.c: Likewise.
3861         * nis/nis_getservlist.c: Likewise.
3862         * nis/nis_ismember.c: Likewise.
3863         * nis/nis_mkdir.c: Likewise.
3864         * nis/nis_ping.c: Likewise.
3865         * nis/nis_print_group_entry.c: Likewise.
3866         * nis/nis_removemember.c: Likewise.
3867         * nis/nis_rmdir.c: Likewise.
3868         * nis/nis_server.c: Likewise.
3869         * nis/nis_subr.c: Likewise.
3870         * nis/nis_verifygroup.c: Likewise.
3872 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3874         * malloc/tst-interpose-aux.c (check_for_allocations):
3875         Move compiler barrier before free.
3877 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
3879         [BZ #21279]
3880         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3881         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3882         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
3883         x86_64-x32-linux.
3884         (mq_attr.mq_maxmsg): Likewise.
3885         (mq_attr.mq_msgsize): Likewise.
3886         (mq_attr.mq_curmsgs): Likewise.
3888         [BZ #21278]
3889         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
3890         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3891         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
3892         mips-o32-linux.
3894         [BZ #21268]
3895         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
3896         if [__USE_MISC]
3897         (NL3): Likewise.
3899 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
3901         [BZ #21275]
3902         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
3903         __stack to __stackbase.
3904         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
3905         checks so we can include defined(__ia64__) first.
3907 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
3909         * sysdeps/unix/sysv/linux/ttyname.h: New file.
3910         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
3911         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
3912         Call is_pty when the link does not exist or does not match, fail
3913         with ENODEV when it returns true.
3914         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
3915         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
3916         Call is_pty when the link does not exist or does not match, fail
3917         with ENODEV when it returns true.
3919 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
3921         [BZ #16437]
3922         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3923         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3924         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
3925         x86_64-x32-linux.
3926         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
3927         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
3928         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
3930         [BZ #21261]
3931         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
3932         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
3933         names for all fields.
3934         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
3935         for jmp_buf field renaming.
3936         (_JMPBUF_UNWINDS_ADJ): Likewise.
3938         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
3939         with allow-header.
3941 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
3943         * malloc/malloc.c (unlink): Add consistency check between size and
3944         next->prev->size, to further harden against 1-byte overflows.
3946 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
3948         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
3949         CPU_FEATURES_CPU_P.
3951 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
3953         [BZ #21259]
3954         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
3955         unconditionally, not just for [__USE_MISC].
3957         [BZ #17786]
3958         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
3959         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
3960         mips-o32-linux.
3962         [BZ #21260]
3963         * sysdeps/unix/sysv/linux/alpha/Makefile
3964         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3965         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
3967         * conform/conformtest.pl ($cross): New variable.
3968         (--cross): New command-line option.
3969         (runtest): Skip test execution when cross-compiling.
3970         * conform/Makefile (conformtest-cross): New variable.
3971         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
3972         conformtest.pl.
3974         * conform/conformtest.pl ($xfail_str): New variable.
3975         (--xfail=): New command-line option.
3976         (top level): Handle expectations starting xfail[cond]-.
3977         * conform/Makefile (conformtest-xfail): New variable.
3978         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
3979         conformtest.pl.
3981 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3983         * conform/conformtest.pl: Use compilation instead of execution
3984         tests for testing values of constants and usability in #if.
3986 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3988         * math/auto-libm-test-in: Mark some catan and catanh as
3989         xfail-rounding:ibm128-libgcc.
3990         * math/auto-libm-test-out-catan: Regenerate.
3991         * math/auto-libm-test-out-catanh: Likewise.
3993 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3995         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
3996         (__END_NAMESPACE_STD): Likewise.
3997         (__USING_NAMESPACE_STD): Likewise.
3998         (__BEGIN_NAMESPACE_C99): Likewise.
3999         (__END_NAMESPACE_C99): Likewise.
4000         (__USING_NAMESPACE_C99): Likewise.
4001         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
4002         undefine macro.
4003         (_Mdouble_END_NAMESPACE): Likewise.
4004         * ctype/ctype.h: Do not handle C++ namespaces.
4005         * libio/bits/stdio-ldbl.h: Likewise.
4006         * libio/stdio.h: Likewise.
4007         * locale/locale.h: Likewise.
4008         * math/bits/mathcalls.h: Likewise.
4009         * setjmp/setjmp.h: Likewise.
4010         * signal/signal.h: Likewise.
4011         * stdlib/bits/stdlib-float.h: Likewise.
4012         * stdlib/bits/stdlib-ldbl.h: Likewise.
4013         * stdlib/stdlib.h: Likewise.
4014         * string/string.h: Likewise.
4015         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4016         * time/bits/types/clock_t.h: Likewise.
4017         * time/bits/types/struct_tm.h: Likewise.
4018         * time/bits/types/time_t.h: Likewise.
4019         * time/time.h: Likewise.
4020         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4021         * wcsmbs/uchar.h: Likewise.
4022         * wcsmbs/wchar.h: Likewise.
4023         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
4024         * wctype/wctype.h: Do not handle C++ namespaces.
4025         * scripts/begin-end-check.pl: Remove.
4026         * Makefile (installed-headers): Likewise.
4027         (tests-special): Do not add $(objpfx)begin-end-check.out.
4028         ($(objpfx)begin-end-check.out): Remove.
4030 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
4031             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4033         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
4034         (DL_PLATFORM_INIT): New define.
4035         (dl_platform_init): New function.
4036         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
4037         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
4038         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
4039         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
4040         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
4042 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
4044         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
4045         instead of PIC.
4047 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4049         [BZ #21094]
4050         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4051         24+24+24-bit pi for wider range of values around pi/2.
4052         * math/auto-libm-test-in: Add more tests of cos and tan.
4053         * math/auto-libm-test-out-cos: Regenerated.
4054         * math/auto-libm-test-out-tan: Likewise.
4056 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
4058         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
4059         (RTLD_START): Don't record stack end address in _dl_start_user.
4061 2017-03-15  Alexey Neyman  <stilor@att.net>
4063         [BZ #21088]
4064         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
4065         around definitions match those around use.
4067 2017-03-15  Alexey Neyman  <stilor@att.net>
4069         * configure.ac: Avoid empty subexpression in grep.
4070         * configure: Regenerate.
4072 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4074         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
4075         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
4076         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
4077         (test_wrp_rv): Fix format.
4078         (test_wrp_rv2): New macro.
4079         (do_test): Handle mlock return on 64 bits kernels with 32 bits
4080         binaries.
4082 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4084         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
4085         Use a union when storing pointers.
4086         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
4087         cast result when passing to INIT_VEC_PTRS_LOOP.
4088         (VECTOR_WRAPPER_fFF_3): Likewise.
4089         (VECTOR_WRAPPER_fFF_4): Likewise.
4091 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4093         * include/bits/mathcalls-helper-functions.h: New file.
4094         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
4095         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
4096         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
4097         math/bits/mathcalls-helper-functions.h.
4098         * math/bits/mathcalls-helper-functions.h: New file.
4099         * math/math.h: Include bits/mathcalls-helper-functions.h for
4100         float, double, and long double.
4102 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4104         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
4105         instead of feraiseexcept.
4107 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4109         [BZ #21243]
4110         * support/temp_file.c (support_delete_temp_files): Add comment
4111         about ignored errors.
4113 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4115         [BZ #21244]
4116         * support/xclose.c: New file.
4117         * support/Makefile (libsupport-routines): Add xclose.
4118         * support/xunistd.h (xclose): Declare.
4119         * support/resolv_test.c (server_thread_tcp_client)
4120         (server_thread_tcp, make_server_sockets, resolv_test_start)
4121         (resolv_test_end): Call xclose instead of close.
4122         * support/support_enter_network_namespace.c
4123         (support_enter_network_namespace): Likewise.
4124         * support/support_run_diff.c (write_to_temp_file): Likewise.
4126 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4128         * support/support_format_dns_packet.c (support_format_dns_packet):
4129         Handle CNAME records in the response.  Extract RDATA names from
4130         rdata, not the whole packet.  Check AAAA record length.
4131         * support/tst-support_format_dns_packet.c: New file.
4132         * support/Makefile (tests): Add tst-support_format_dns_packet.
4133         (tst-support_format_dns_packet): Link against libresolv.
4135 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4137         [BZ #21232]
4138         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
4139         posix_fadvise64 weak_alias for static build.
4141 2017-03-14  Andreas Schwab  <schwab@suse.de>
4143         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
4144         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
4145         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
4146         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
4147         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
4148         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
4149         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
4150         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4152 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4154         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4155         posix error code.
4156         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4158 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4160         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4161         no_isolate usage for SH.
4163 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
4165         [BZ #15105]
4166         [BZ #19463]
4167         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4168         * inet/rcmd.c (rcmd_af): Likewise.
4169         * inet/rexec.c   (rexec_af): Likewise.
4170         * intl/dcigettext.c (_LIBC): Likewise.
4171         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4172         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4173         * locale/setlocale.c (setlocale): Likewise.
4174         * posix/spawn_faction_addopen.c
4175         (posix_spawn_file_actions_addopen): Likewise.
4176         * stdlib/putenv.c (putenv): Use __strndup.
4177         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4179         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4180         (__Need_M_And_C) Remove define/undef.
4181         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4182         (__malloc_and_calloc_defined): Remove define.
4183         * string/bits/string2.h (__strdup): Remove define.
4184         (strdup): Likewise.
4185         (__strndup): Likewise.
4186         (strndup): Likewise.
4188 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
4190         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4191         macro.
4192         (IPV6_ADDR_PREFERENCES): Likewise.
4193         (IPV6_MINHOPCOUNT): Likewise.
4194         (IPV6_ORIGDSTADDR): Likewise.
4195         (IPV6_RECVORIGDSTADDR): Likewise.
4196         (IPV6_TRANSPARENT): Likewise.
4197         (IPV6_UNICAST_IF): Likewise.
4198         (IPV6_RECVFRAGSIZE): Likewise.
4200 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
4202         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4204 2017-03-12  Alexey Neyman <stilor@att.net>
4206         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4207         in R_SH_DIR32 case is always false when inlined from
4208         dl-conflict.c. Ifdef out to prevent GCC from insertin an
4210 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
4212         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4213         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4214         __ASSUME_SEND_SYSCALL.
4216 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4218         * sunrpc/Makefile: don't build and install rpcsvc header
4219         files, rpcgen and librpcsvc.a by default.
4221 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4223         * math/auto-libm-test-out-catan: Regenerated.
4224         * math/auto-libm-test-out-catanh: Likewise.
4225         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4227 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4229         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4230         for long double with corrected test expectations.
4232 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4234         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4235         Define.
4236         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4237         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4238         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4239         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4240         * sysdeps/unix/sysv/linux/tile/sysdep.h
4241         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4242         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4243         (__ASSUME_RECV_SYSCALL): Define.
4244         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4245         (__ASSUME_RECV_SYSCALL): Likewise.
4246         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4247         (__ASSUME_RECV_SYSCALL): Likewise.
4248         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4249         (__ASSUME_RECV_SYSCALL): Likewise.
4250         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4251         (__ASSUME_RECV_SYSCALL): Likewise.
4252         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4253         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4254         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4255         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4256         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4257         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4258         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4259         auto-generation list.
4260         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4261         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4262         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4263         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4264         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4265         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4266         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4267         __ASSUME_SENDTO_SYSCALL.
4268         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4269         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4270         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4272         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4273         auto-generation list.
4274         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4275         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4276         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4277         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4278         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4279         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4280         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4281         * sysdeps/unix/sysv/linux/kernel-features.h
4282         (__ASSUME_SENDTO_SYSCALL): Define by default.
4283         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4284         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4285         __NR_sendto.
4286         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4287         (__ASSUME_SENDTO_SYSCALL): Likewise.
4288         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4289         (__ASSUME_SENDTO_SYSCALL): Likewise.
4290         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4291         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4292         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4293         (__ASSUME_SENDTO_SYSCALL): Likewise.
4294         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4295         (__ASSUME_SENDTO_SYSCALL): Likewise.
4296         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4298         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4299         auto-generation list.
4300         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4301         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4302         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4303         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4304         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4305         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4306         (__ASSUME_RECV_SYSCALL): New define.
4307         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4308         (__ASSUME_RECV_SYSCALL): Likewise.
4309         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4310         (__ASSUME_RECV_SYSCALL): Likewise.
4311         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4312         (__ASSUME_RECV_SYSCALL): Likewise.
4313         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4314         (__ASSUME_RECV_SYSCALL): Likewise.
4315         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4316         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4317         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4318         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4319         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4320         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4321         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4322         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4323         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4324         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4325         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4326         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4328         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4329         auto-generation list.
4330         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4331         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4332         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4333         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4334         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4335         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4336         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4337         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4338         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4339         * sysdeps/unix/sysv/linux/kernel-features.h
4340         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4341         __NR_recvfrom.
4342         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4343         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4344         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4345         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4347         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4348         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4349         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4350         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4351         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4352         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4353         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4354         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4356         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4357         auto-generation list.
4358         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4359         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4360         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4361         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4362         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4363         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4364         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4365         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4366         * sysdeps/unix/sysv/linux/kernel-features.h
4367         (__ASSUME_CONNECT_SYSCALL): Define.
4368         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4369         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4370         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4371         (__ASSUME_CONNECT_SYSCALL): Likewise.
4372         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4373         (__ASSUME_CONNECT_SYSCALL): Likewise.
4374         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4375         (__ASSUME_CONNECT_SYSCALL): Likewise.
4377         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4378         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4379         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4380         auto-generation list.
4381         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4382         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4383         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4384         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4385         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4386         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4387         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4388         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4389         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4390         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4391         * sysdeps/unix/sysv/linux/kernel-features.h
4392         (__ASSUME_ACCEPT_SYSCALL): New define.
4393         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4394         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4395         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4397         (__ASSUME_ACCEPT_SYSCALL): Define.
4398         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4399         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4400         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4401         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4402         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4403         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4404         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4405         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4406         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4408 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
4409             Zack Weinberg  <zackw@panix.com>
4411         * posix/test-errno.c: New file.
4412         * posix/Makefile (tests): Add test-errno.
4413         * sysdeps/unix/sysv/linux/test-errno.c: New file.
4414         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4416 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
4418         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4420 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4422         * time/tzset.c (compute_offset): Open-code min macro.
4423         (min, max, sign): Remove.
4425 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4427         [BZ #15576]
4428         Remove TZNAME_MAX limit from sysconf.
4429         * include/time.h (__tzname_cur_max, __tzname_max): Remove
4430         declaration.
4431         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4432         compute_tzname_max.
4433         (compute_tzname_max): Remove.
4434         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4435         (update_vars): Do not update __tzname_cur_max.
4436         (tzset_internal): Remove argument.
4437         (__tzset): Adjust call to tzset_internal.
4438         (__tz_convert): Likewise.
4440         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4441         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4442         * manual/conf.texi (Sysconf Definition): Update comment.
4444 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4446         [BZ #21209]
4447         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
4448         AT_SECURE processes.
4449         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
4450         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
4451         (test_child): Likewise.
4452         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
4454 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4456         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
4458 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4460         * sysdeps/s390/atomic-machine.h
4461         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
4462         (__arch_compare_and_exchange_val_8_acq,
4463         __arch_compare_and_exchange_val_16_acq,
4464         __arch_compare_and_exchange_val_32_acq,
4465         __arch_compare_and_exchange_val_64_acq):
4466         Delete macro.
4467         (atomic_compare_and_exchange_val_acq,
4468         atomic_compare_and_exchange_val_rel,
4469         atomic_compare_and_exchange_bool_acq,
4470         catomic_compare_and_exchange_bool_acq,
4471         atomic_exchange_acq, atomic_exchange_rel,
4472         atomic_exchange_and_add_acq,
4473         atomic_exchange_and_add_rel,
4474         catomic_exchange_and_add, atomic_or_val,
4475         atomic_or, catomic_or, atomic_bit_test_set,
4476         atomic_and_val, atomic_and, catomic_and):
4477         Define macros with help of C11 atomic builtins.
4479 2017-03-03  Justus Winter <justus@gnupg.org>
4481         * sysdeps/mach/hurd/ftruncate64.c: New file.
4482         * sysdeps/mach/hurd/truncate64.c: Likewise.
4484 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4486         * time/tzfile.c (NOID): Do not define.
4487         * time/tzset.c (NOID): Likewise.
4489 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4491         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
4493 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4495         * elf/get-dynamic-info.h: Remove header file inclusion guard.
4497 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4499         [BZ #21015]
4500         * manual/install.texi (Configuring and compiling): Document
4501         --enable-bind-now.
4502         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
4503         (build-shlib-helper): Use $(LDFLAGS-lib.so).
4504         (format.lds): Likewise.
4505         [bind-now] (LDFLAGS-c.so): Remove.
4506         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
4507         be R_X86_64_GLOB_DAT.
4508         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
4509         relocation can be R_386_GLOB_DAT.
4510         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
4511         relocaiton can be R_ALPHA_GLOB_DAT.
4512         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
4514 2017-03-01  Zack Weinberg  <zackw@panix.com>
4516         * include/libc-pointer-arith.h: New file.  Define
4517         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
4518         PTR_ALIGN_DOWN here.
4519         * include/libc-internal.h: Definitions of above macros
4520         moved from here.  Don't include libc-diag.h anymore either.
4521         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
4522         Don't include libc-internal.h.
4524         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
4525         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
4526         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
4527         * string/strcoll_l.c, sysdeps/nacl/brk.c
4528         * sysdeps/unix/clock_settime.c
4529         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
4530         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
4531         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4532         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
4533         Don't include libc-internal.h.
4535         * elf/get-dynamic-info.h, iconv/loop.c
4536         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
4537         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
4538         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
4539         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
4540         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4541         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
4542         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4543         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
4544         * sysdeps/ieee754/ldbl-128/k_tanl.c
4545         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4546         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4547         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
4548         Include libc-diag.h instead of libc-internal.h.
4550         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
4551         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
4552         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
4553         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
4554         * sysdeps/unix/sysv/linux/spawni.c
4555         * sysdeps/x86_64/nptl/tls.h:
4556         Include libc-pointer-arith.h instead of libc-internal.h.
4558         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
4559         * sysdeps/x86_64/atomic-machine.h:
4560         Add multiple include guard.
4562         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
4563         * string/strcasestr.c: No need to include config.h.
4564         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
4565         sys/auxv.h. Don't include sysdep.h.
4566         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
4568         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
4569         DL_LOOKUP_ADDRESS.
4570         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
4571         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
4572         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
4573         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
4574         of ARTIFICIAL_LIMIT.
4575         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
4576         declaration of __clone2.
4578 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4580         * scripts/backport-support.sh (latest_commit): New file.
4582 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4584         [BZ #20257]
4585         * inet/Makefile (routines): Add deadline.
4586         (tests-static): Add tst-deadline.
4587         * inet/net-internal.h (struct deadline_current_time)
4588         (__deadline_current_time, struct deadline, __deadline_is_infinite)
4589         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
4590         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
4591         * inet/deadline.c: New file.
4592         * inet/tst-deadline.c: Likewise.
4593         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
4594         tst-udp-timeout, tst-udp-garbage.
4595         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
4596         explicitly.
4597         (tst-udp-garbage): Likewise.  Also link against thread library.
4598         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
4599         struct layout is part of the ABI.
4600         (clntudp_call): Rework timeout handling.
4601         * sunrpc/tst-udp-garbage.c: New file.
4602         * sunrpc/tst-udp-nonblocking.c: Likewise.
4603         * sunrpc/tst-udp-timeout.c: Likewise.
4605 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4607         [BZ #5010]
4608         * sunrpc/svc.c (svc_is_mapped): Remove.
4609         (svc_unregister): Obtain mapped status while the service is still
4610         registered.
4611         * sunrpc/Makefile [have-thread-library] (tests): Add
4612         tst-svc_register.
4613         (tst-svc_register): Link against libc.so explicitly and the thread
4614         library.
4615         * sunrpc/tst-svc_register.c: New file.
4617 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
4619         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
4620         * sysdeps/pthread/bits/sigthread.h: Likewise.
4622 2017-02-27  Florian Weimer  <fweimer@redhat.com>
4624         [BZ #21115]
4625         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
4626         * sunrpc/Makefile (tests): Add tst-udp-error.
4627         (tst-udp-error): Link against libc.so explicitly.
4628         * sunrpc/tst-udp-error: New file.
4630 2017-02-25  Zack Weinberg  <zackw@panix.com>
4632         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
4633         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
4635         * sysdeps/generic/math_ldbl.h
4636         * sysdeps/ia64/fpu/math_ldbl.h
4637         * sysdeps/ieee754/ldbl-128/math_ldbl.h
4638         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4639         * sysdeps/ieee754/ldbl-96/math_ldbl.h
4640         * sysdeps/powerpc/fpu/math_ldbl.h
4641         * sysdeps/x86_64/fpu/math_ldbl.h:
4642         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
4643         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
4644         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
4645         Add copyright notices.
4647         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4648         Don't use EXTRACT_WORDS64.
4650         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
4651         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
4652         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
4653         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
4654         Include math_ldbl.h, not math_private.h.
4656 2017-02-25  Zack Weinberg  <zackw@panix.com>
4658         * include/libc-diag.h: New file.  Define ignore_value,
4659         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
4660         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
4662         * include/libc-internal.h: Definitions of above macros moved from
4663         here.  Include libc-diag.h.  Add copyright notice.
4665         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
4666         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
4667         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
4668         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
4669         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
4670         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
4671         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
4672         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
4673         Include libc-diag.h instead of libc-internal.h.
4675         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
4676         call to unsetenv (NULL).
4677         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
4678         call to pthread_mutexattr_destroy (NULL).
4680 2017-02-25  Zack Weinberg  <zackw@panix.com>
4682         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
4683         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
4684         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
4685         gets was removed from C++ in C++14.
4686         * include/stdio.h: Remove redundant declaration of gets.
4687         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
4688         be declared, since we are testing it.
4689         * stdio-common/Makefile (tst-gets.c): Compile with
4690         -Wno-deprecated-declarations.
4691         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
4692         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
4693         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
4694         Compile with -Wno-deprecated-declarations.
4696 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4698         * math/libm-test-support.c (check_ulp): Use LIT() around literal
4699         numbers.
4701 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4703         * resolv/tst-resolv-qtypes.c (domain):
4704         Change type to const pointer to const char.
4706 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
4708         * math/Makefile (libm-tests-generated): Remove variable.
4709         (libm-tests-base-normal): New variable.
4710         (libm-tests-base-finite): Likewise.
4711         (libm-tests-base-inline): Likewise.
4712         (libm-tests-base): Likewise.
4713         (libm-tests-normal): Likewise.
4714         (libm-tests-finite): Likewise.
4715         (libm-tests-inline): Likewise.
4716         (libm-tests-vector): Likewise.
4717         (libm-tests): Define in terms of these new variables.
4718         (libm-tests-for-type): New variable.
4719         (libm-tests.o): Move definition.
4720         (tests): Move addition of $(libm-tests).
4721         (generated): Update for new and removed libm test files.
4722         ($(objpfx)libm-test.c): Remove target.
4723         ($(objpfx)libm-have-vector-test.h): Likewise.
4724         (CFLAGS-test-double-vlen2.c): Remove variable.
4725         (CFLAGS-test-double-vlen4.c): Likewise.
4726         (CFLAGS-test-double-vlen8.c): Likewise.
4727         (CFLAGS-test-float-vlen4.c): Likewise.
4728         (CFLAGS-test-float-vlen8.c): Likewise.
4729         (CFLAGS-test-float-vlen16.c): Likewise.
4730         (CFLAGS-test-float.c): Likewise.
4731         (CFLAGS-test-float-finite.c): Likewise.
4732         (CFLAGS-libm-test-support-float.c): Likewise.
4733         (CFLAGS-test-double.c): Likewise.
4734         (CFLAGS-test-double-finite.c): Likewise.
4735         (CFLAGS-libm-test-support-double.c): Likewise.
4736         (CFLAGS-test-ldouble.c): Likewise.
4737         (CFLAGS-test-ldouble-finite.c): Likewise.
4738         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4739         (libm-test-inline-cflags): New variable.
4740         (CFLAGS-test-ifloat.c): Remove variable.
4741         (CFLAGS-test-idouble.c): Likewise.
4742         (CFLAGS-test-ildouble.c): Likewise.
4743         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
4744         dependencies.
4745         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
4746         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
4747         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
4748         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
4749         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
4750         Likewise.
4751         (dependencies on libm-test-support-*.o): Remove.
4752         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
4753         rules using iterators.
4754         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
4755         Likewise.
4756         ($(objpfx)libm-test-support-$(o).o): Likewise.
4757         ($(addprefix $(objpfx),$(filter-out $(tests-static)
4758         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
4759         instead.
4760         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
4761         define rule instead.
4762         * math/README.libm-test: Update.
4763         * math/libm-test-acos.inc: Include libm-test-driver.c.
4764         (do_test): New function.
4765         * math/libm-test-acosh.inc: Include libm-test-driver.c.
4766         (do_test): New function.
4767         * math/libm-test-asin.inc: Include libm-test-driver.c.
4768         (do_test): New function.
4769         * math/libm-test-asinh.inc: Include libm-test-driver.c.
4770         (do_test): New function.
4771         * math/libm-test-atan.inc: Include libm-test-driver.c.
4772         (do_test): New function.
4773         * math/libm-test-atan2.inc: Include libm-test-driver.c.
4774         (do_test): New function.
4775         * math/libm-test-atanh.inc: Include libm-test-driver.c.
4776         (do_test): New function.
4777         * math/libm-test-cabs.inc: Include libm-test-driver.c.
4778         (do_test): New function.
4779         * math/libm-test-cacos.inc: Include libm-test-driver.c.
4780         (do_test): New function.
4781         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4782         (do_test): New function.
4783         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4784         (do_test): New function.
4785         * math/libm-test-carg.inc: Include libm-test-driver.c.
4786         (do_test): New function.
4787         * math/libm-test-casin.inc: Include libm-test-driver.c.
4788         (do_test): New function.
4789         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4790         (do_test): New function.
4791         * math/libm-test-catan.inc: Include libm-test-driver.c.
4792         (do_test): New function.
4793         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4794         (do_test): New function.
4795         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4796         (do_test): New function.
4797         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4798         (do_test): New function.
4799         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4800         (do_test): New function.
4801         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4802         (do_test): New function.
4803         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4804         (do_test): New function.
4805         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4806         (do_test): New function.
4807         * math/libm-test-clog.inc: Include libm-test-driver.c.
4808         (do_test): New function.
4809         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4810         (do_test): New function.
4811         * math/libm-test-conj.inc: Include libm-test-driver.c.
4812         (do_test): New function.
4813         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4814         (do_test): New function.
4815         * math/libm-test-cos.inc: Include libm-test-driver.c.
4816         (do_test): New function.
4817         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4818         (do_test): New function.
4819         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4820         (do_test): New function.
4821         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4822         (do_test): New function.
4823         * math/libm-test-creal.inc: Include libm-test-driver.c.
4824         (do_test): New function.
4825         * math/libm-test-csin.inc: Include libm-test-driver.c.
4826         (do_test): New function.
4827         * math/libm-test-csinh.inc: Include libm-test-driver.c.
4828         (do_test): New function.
4829         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4830         (do_test): New function.
4831         * math/libm-test-ctan.inc: Include libm-test-driver.c.
4832         (do_test): New function.
4833         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
4834         (do_test): New function.
4835         * math/libm-test-erf.inc: Include libm-test-driver.c.
4836         (do_test): New function.
4837         * math/libm-test-erfc.inc: Include libm-test-driver.c.
4838         (do_test): New function.
4839         * math/libm-test-exp.inc: Include libm-test-driver.c.
4840         (do_test): New function.
4841         * math/libm-test-exp10.inc: Include libm-test-driver.c.
4842         (do_test): New function.
4843         * math/libm-test-exp2.inc: Include libm-test-driver.c.
4844         (do_test): New function.
4845         * math/libm-test-expm1.inc: Include libm-test-driver.c.
4846         (do_test): New function.
4847         * math/libm-test-fabs.inc: Include libm-test-driver.c.
4848         (do_test): New function.
4849         * math/libm-test-fdim.inc: Include libm-test-driver.c.
4850         (do_test): New function.
4851         * math/libm-test-floor.inc: Include libm-test-driver.c.
4852         (do_test): New function.
4853         * math/libm-test-fma.inc: Include libm-test-driver.c.
4854         (do_test): New function.
4855         * math/libm-test-fmax.inc: Include libm-test-driver.c.
4856         (do_test): New function.
4857         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
4858         (do_test): New function.
4859         * math/libm-test-fmin.inc: Include libm-test-driver.c.
4860         (do_test): New function.
4861         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
4862         (do_test): New function.
4863         * math/libm-test-fmod.inc: Include libm-test-driver.c.
4864         (do_test): New function.
4865         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
4866         (do_test): New function.
4867         * math/libm-test-frexp.inc: Include libm-test-driver.c.
4868         (do_test): New function.
4869         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
4870         (do_test): New function.
4871         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
4872         (do_test): New function.
4873         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
4874         (do_test): New function.
4875         * math/libm-test-hypot.inc: Include libm-test-driver.c.
4876         (do_test): New function.
4877         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
4878         (do_test): New function.
4879         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
4880         (do_test): New function.
4881         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
4882         (do_test): New function.
4883         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
4884         (do_test): New function.
4885         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
4886         (do_test): New function.
4887         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
4888         (do_test): New function.
4889         * math/libm-test-isinf.inc: Include libm-test-driver.c.
4890         (do_test): New function.
4891         * math/libm-test-isless.inc: Include libm-test-driver.c.
4892         (do_test): New function.
4893         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
4894         (do_test): New function.
4895         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
4896         (do_test): New function.
4897         * math/libm-test-isnan.inc: Include libm-test-driver.c.
4898         (do_test): New function.
4899         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
4900         (do_test): New function.
4901         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
4902         (do_test): New function.
4903         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
4904         (do_test): New function.
4905         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
4906         (do_test): New function.
4907         * math/libm-test-iszero.inc: Include libm-test-driver.c.
4908         (do_test): New function.
4909         * math/libm-test-j0.inc: Include libm-test-driver.c.
4910         (do_test): New function.
4911         * math/libm-test-j1.inc: Include libm-test-driver.c.
4912         (do_test): New function.
4913         * math/libm-test-jn.inc: Include libm-test-driver.c.
4914         (do_test): New function.
4915         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
4916         (do_test): New function.
4917         * math/libm-test-llogb.inc: Include libm-test-driver.c.
4918         (do_test): New function.
4919         * math/libm-test-llrint.inc: Include libm-test-driver.c.
4920         (do_test): New function.
4921         * math/libm-test-llround.inc: Include libm-test-driver.c.
4922         (do_test): New function.
4923         * math/libm-test-log.inc: Include libm-test-driver.c.
4924         (do_test): New function.
4925         * math/libm-test-log10.inc: Include libm-test-driver.c.
4926         (do_test): New function.
4927         * math/libm-test-log1p.inc: Include libm-test-driver.c.
4928         (do_test): New function.
4929         * math/libm-test-log2.inc: Include libm-test-driver.c.
4930         (do_test): New function.
4931         * math/libm-test-logb.inc: Include libm-test-driver.c.
4932         (do_test): New function.
4933         * math/libm-test-lrint.inc: Include libm-test-driver.c.
4934         (do_test): New function.
4935         * math/libm-test-lround.inc: Include libm-test-driver.c.
4936         (do_test): New function.
4937         * math/libm-test-modf.inc: Include libm-test-driver.c.
4938         (do_test): New function.
4939         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
4940         (do_test): New function.
4941         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
4942         (do_test): New function.
4943         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
4944         (do_test): New function.
4945         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
4946         (do_test): New function.
4947         * math/libm-test-nextup.inc: Include libm-test-driver.c.
4948         (do_test): New function.
4949         * math/libm-test-pow.inc: Include libm-test-driver.c.
4950         (do_test): New function.
4951         * math/libm-test-remainder.inc: Include libm-test-driver.c.
4952         (do_test): New function.
4953         * math/libm-test-remquo.inc: Include libm-test-driver.c.
4954         (do_test): New function.
4955         * math/libm-test-rint.inc: Include libm-test-driver.c.
4956         (do_test): New function.
4957         * math/libm-test-round.inc: Include libm-test-driver.c.
4958         (do_test): New function.
4959         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
4960         (do_test): New function.
4961         * math/libm-test-scalb.inc: Include libm-test-driver.c.
4962         (do_test): New function.
4963         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
4964         (do_test): New function.
4965         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
4966         (do_test): New function.
4967         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
4968         (do_test): New function.
4969         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
4970         (do_test): New function.
4971         * math/libm-test-signbit.inc: Include libm-test-driver.c.
4972         (do_test): New function.
4973         * math/libm-test-significand.inc: Include libm-test-driver.c.
4974         (do_test): New function.
4975         * math/libm-test-sin.inc: Include libm-test-driver.c.
4976         (do_test): New function.
4977         * math/libm-test-sincos.inc: Include libm-test-driver.c.
4978         (do_test): New function.
4979         * math/libm-test-sinh.inc: Include libm-test-driver.c.
4980         (do_test): New function.
4981         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
4982         (do_test): New function.
4983         * math/libm-test-tan.inc: Include libm-test-driver.c.
4984         (do_test): New function.
4985         * math/libm-test-tanh.inc: Include libm-test-driver.c.
4986         (do_test): New function.
4987         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
4988         (do_test): New function.
4989         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
4990         (do_test): New function.
4991         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
4992         (do_test): New function.
4993         * math/libm-test-trunc.inc: Include libm-test-driver.c.
4994         (do_test): New function.
4995         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
4996         (do_test): New function.
4997         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
4998         (do_test): New function.
4999         * math/libm-test-y0.inc: Include libm-test-driver.c.
5000         (do_test): New function.
5001         * math/libm-test-y1.inc: Include libm-test-driver.c.
5002         (do_test): New function.
5003         * math/libm-test-yn.inc: Include libm-test-driver.c.
5004         (do_test): New function.
5005         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
5006         (HAVE_VECTOR): Remove macro.
5007         (START): Do not call HAVE_VECTOR.
5008         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
5009         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
5010         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
5011         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
5012         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
5013         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
5014         * math/test-math-vector.h (FUNC_TEST): New macro.
5015         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
5016         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
5017         (double-vlen4-funcs): Likewise.
5018         (double-vlen4-avx2-funcs): Likewise.
5019         (double-vlen8-funcs): Likewise.
5020         (float-vlen4-funcs): Likewise.
5021         (float-vlen8-funcs): Likewise.
5022         (float-vlen8-avx2-funcs): Likewise.
5023         (float-vlen16-funcs): Likewise.
5024         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
5025         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
5026         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
5027         macro.
5028         (TEST_VECTOR_sin): Likewise.
5029         (TEST_VECTOR_sincos): Likewise.
5030         (TEST_VECTOR_log): Likewise.
5031         (TEST_VECTOR_exp): Likewise.
5032         (TEST_VECTOR_pow): Likewise.
5033         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
5034         Likewise.
5035         (TEST_VECTOR_sin): Likewise.
5036         (TEST_VECTOR_sincos): Likewise.
5037         (TEST_VECTOR_log): Likewise.
5038         (TEST_VECTOR_exp): Likewise.
5039         (TEST_VECTOR_pow): Likewise.
5040         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
5041         Likewise.
5042         (TEST_VECTOR_sinf): Likewise.
5043         (TEST_VECTOR_sincosf): Likewise.
5044         (TEST_VECTOR_logf): Likewise.
5045         (TEST_VECTOR_expf): Likewise.
5046         (TEST_VECTOR_powf): Likewise.
5047         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
5048         Likewise.
5049         (TEST_VECTOR_sinf): Likewise.
5050         (TEST_VECTOR_sincosf): Likewise.
5051         (TEST_VECTOR_logf): Likewise.
5052         (TEST_VECTOR_expf): Likewise.
5053         (TEST_VECTOR_powf): Likewise.
5054         * math/gen-libm-have-vector-test.sh: Remove file.
5055         * math/libm-test.inc: Likewise.
5056         * math/libm-test-support-double.c: Likewise.
5057         * math/libm-test-support-float.c: Likewise.
5058         * math/libm-test-support-ldouble.c: Likewise.
5059         * math/test-double-finite.c: Likewise.: Likewise.
5060         * math/test-double.c: Likewise.
5061         * math/test-float-finite.c: Likewise.
5062         * math/test-float.c: Likewise.
5063         * math/test-idouble.c: Likewise.
5064         * math/test-ifloat.c: Likewise.
5065         * math/test-ildouble.c: Likewise.
5066         * math/test-ldouble-finite.c: Likewise.
5067         * math/test-ldouble.c: Likewise.
5068         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5069         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
5070         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5071         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5072         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5073         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5074         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5075         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
5076         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5077         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5079 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5080            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5082         * math/Makefile: Add wrappers to gen-libm-calls.
5083         * math/w_acos_template.c: New file.
5084         * math/w_acosh_template.c: Likewise.
5085         * math/w_asin_template.c: Likewise.
5086         * math/w_atan2_template.c: Likewise.
5087         * math/w_atanh_template.c: Likewise.
5088         * math/w_cosh_template.c: Likewise.
5089         * math/w_exp10_template.c: Likewise.
5090         * math/w_exp2_template.c: Likewise.
5091         * math/w_exp_template.c: Likewise.
5092         * math/w_fmod_template.c: Likewise.
5093         * math/w_hypot_template.c: Likewise.
5094         * math/w_j0_template.c: Likewise.
5095         * math/w_j1_template.c: Likewise.
5096         * math/w_jn_template.c: Likewise.
5097         * math/w_lgamma_r_template.c: Likewise.
5098         * math/w_lgamma_template.c: Likewise.
5099         * math/w_log10_template.c: Likewise.
5100         * math/w_log2_template.c: Likewise.
5101         * math/w_log_template.c: Likewise.
5102         * math/w_pow_template.c: Likewise.
5103         * math/w_remainder_template.c: Likewise.
5104         * math/w_sinh_template.c: Likewise.
5105         * math/w_sqrt_template.c: Likewise.
5106         * math/w_tgamma_template.c: Likewise.: Likewise.
5107         * sysdeps/generic/math-type-macros-double.h
5108         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
5109         the new wrappers.
5110         * sysdeps/generic/math-type-macros-float.h: Likewise.
5111         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5113 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
5115         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
5116         New enum constant and macro.
5118         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5119         kernel version to 4.10.
5121 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
5123         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5125 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5129 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5131         * sysdeps/powerpc/tst-set_ppr.c: New file.
5132         Implement test cases for __ppc_set_ppr_* functions.
5133         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
5134         in the list of tests.
5136 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5138         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
5139         instead of test-skeleton.c.
5140         (do_test): Replaced pthread_create and pthread_join with
5141         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
5142         Removed unneeded status variable.
5143         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
5144         instead of test-skeleton.c.
5145         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
5147 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
5149         [BZ #20313]
5150         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5151         201605L, for Unicode 9.
5153 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
5155         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5156         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5157         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5158         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5159         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5160         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5162 2017-02-19  Zack Weinberg  <zackw@panix.com>
5164         * rt/tst-mqueue4.c: Include stdint.h.
5166 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5168         * sysdeps/arm/libm-test-ulps: Update.
5169         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5170         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5171         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5173 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5175         [BZ #21029]
5176         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5177         * sysdeps/unix/sysv/linux/i386/Makefile
5178         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5179         (uses-6-syscall-arguments): Remove.
5180         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5181         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5182         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5183         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5184         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5185         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5186         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5187         [$(subdir) = misc] (cflags-pselect.o): Likewise.
5188         [$(subdir) = misc] (cflags-pselect.os): Likewise.
5189         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5190         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5191         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5192         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5193         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5194         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5195         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5196         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5197         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5198         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5199         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5200         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5201         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5202         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5203         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5204         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5205         Likewise.
5206         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5207         Likewise.
5208         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5209         Likewise.
5210         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5211         Likewise.
5212         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5213         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5214         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5215         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5216         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5217         ebp on inline assembly.
5218         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5219         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5220         Set if CAN_USE_REGISTER_ASM_EBP is set.
5222 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5224         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5225         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5227 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5229         * math/auto-libm-test-in: Add tests of catan and catanh.
5230         * math/auto-libm-test-out-catan: New generated file.
5231         * math/auto-libm-test-out-catanh: Likewise.
5232         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5233         Move tests with finite inputs, except divide-by-zero cases, to
5234         auto-libm-test-in.
5235         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5236         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5237         (libm-test-funcs-noauto): Remove catan and catanh.
5238         * sysdeps/i386/fpu/libm-test-ulps: Update.
5239         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5242         * math/auto-libm-test-in: Add tests of casin and casinh.
5243         * math/auto-libm-test-out-casin: New generated file.
5244         * math/auto-libm-test-out-casinh: Likewise.
5245         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5246         Move tests with finite inputs to auto-libm-test-in.
5247         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5248         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5249         (libm-test-funcs-noauto): Remove casin and casinh.
5250         * sysdeps/i386/fpu/libm-test-ulps: Update.
5251         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5254         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5255         * math/auto-libm-test-out-cacos: New generated file.
5256         * math/auto-libm-test-out-cacosh: Likewise.
5257         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5258         Move tests with finite inputs to auto-libm-test-in.
5259         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5260         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5261         (libm-test-funcs-noauto): Remove cacos and cacosh.
5262         * sysdeps/i386/fpu/libm-test-ulps: Update.
5263         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5266         Revert:
5267         2017-02-16  Zack Weinberg  <zackw@panix.com>
5269         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5270         Don't include init-arch.h.
5271         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5272         Don't include init-arch.h.
5274 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5276         [BZ #21171]
5277         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5278         +Inf and raise divide-by-zero when x is negative.
5279         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5280         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5281         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5282         -Inf and raise divide-by-zero when x = +-0.
5283         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5284         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5285         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5286         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5287         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5288         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5289         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5291 2017-02-16  Zack Weinberg  <zackw@panix.com>
5293         * scripts/build-many-glibcs.py (bot_build_mail): If the
5294         bot_config does not contain all of the necessary email-
5295         related settings, just print a warning and continue.
5297 2017-02-16  Zack Weinberg  <zackw@panix.com>
5299         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5300         * dirent/opendir-tst1.c: Include sys/stat.h.
5301         * dirent/tst-fdopendir.c: Include sys/stat.h.
5302         * dirent/tst-fdopendir2.c: Include stdlib.h.
5303         * dirent/tst-scandir.c: Include stdbool.h.
5304         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5305         * elf/tst-tls15.c: Include stdlib.h.
5306         * elf/tst-tls16.c: Include stdlib.h.
5307         * elf/tst-tls17.c: Include stdlib.h.
5308         * elf/tst-tls18.c: Include stdlib.h.
5309         * iconv/tst-iconv6.c: Include endian.h.
5310         * iconvdata/bug-iconv11.c: Include limits.h.
5311         * io/test-utime.c: Include stdint.h.
5312         * io/tst-faccessat.c: Include sys/stat.h.
5313         * io/tst-fchmodat.c: Include sys/stat.h.
5314         * io/tst-fchownat.c: Include sys/stat.h.
5315         * io/tst-fstatat.c: Include sys/stat.h.
5316         * io/tst-futimesat.c: Include sys/stat.h.
5317         * io/tst-linkat.c: Include sys/stat.h.
5318         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5319         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5320         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5321         * io/tst-openat.c: Include stdbool.h.
5322         * io/tst-readlinkat.c: Include sys/stat.h.
5323         * io/tst-renameat.c: Include sys/stat.h.
5324         * io/tst-symlinkat.c: Include sys/stat.h.
5325         * io/tst-unlinkat.c: Include stdbool.h.
5326         * libio/bug-memstream1.c: Include stdlib.h.
5327         * libio/bug-wmemstream1.c: Include stdlib.h.
5328         * libio/tst-fwrite-error.c: Include stdlib.h.
5329         * libio/tst-memstream1.c: Include stdlib.h.
5330         * libio/tst-memstream2.c: Include stdlib.h.
5331         * libio/tst-memstream3.c: Include stdlib.h.
5332         * malloc/tst-interpose-aux.c: Include stdint.h.
5333         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5334         * nptl/tst-basic7.c: Include limits.h.
5335         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5336         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5337         * nptl/tst-cancel4_1.c: Include stddef.h.
5338         * nptl/tst-cancel4_2.c: Include stddef.h.
5339         * nptl/tst-cond16.c: Include limits.h.
5340         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5341         * nptl/tst-cond18.c: Include limits.h.
5342         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5343         * nptl/tst-cond4.c: Include stdint.h.
5344         * nptl/tst-cond6.c: Include stdint.h.
5345         * nptl/tst-stack2.c: Include limits.h.
5346         * nptl/tst-stackguard1.c: Include stddef.h.
5347         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5348         * nptl/tst-tls4moda.c: Include stddef.h.
5349         Don't include stdio.h, unistd.h, or tls.h.
5350         * nptl/tst-tls4modb.c: Include stddef.h.
5351         Don't include stdio.h, unistd.h, or tls.h.
5352         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5353         * posix/tst-getaddrinfo2.c: Include stdio.h.
5354         * posix/tst-getaddrinfo5.c: Include stdio.h.
5355         * posix/tst-pathconf.c: Include sys/stat.h.
5356         * posix/tst-posix_fadvise-common.c: Include stdint.h.
5357         * posix/tst-preadwrite-common.c: Include sys/stat.h.
5358         * posix/tst-regex.c: Include stdint.h.
5359         Don't include spawn.h or spawn_int.h.
5360         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5361         * posix/tst-vfork3.c: Include sys/stat.h.
5362         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5363         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5364         * resolv/tst-resolv-search.c: Include stdlib.h.
5365         * stdio-common/tst-fmemopen2.c: Include stdint.h.
5366         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5367         * stdlib/test-canon.c: Include sys/stat.h.
5368         * stdlib/tst-tls-atexit.c: Include stdbool.h.
5369         * string/test-memchr.c: Include stdint.h.
5370         * string/tst-cmp.c: Include stdint.h.
5371         * sysdeps/pthread/tst-timer.c: Include stdint.h.
5372         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5373         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5374         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5375         Don't include init-arch.h.
5376         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5377         Don't include init-arch.h.
5378         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5379         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5380         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5381         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5382         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5383         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5384         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5385         * time/clocktest.c: Include stdint.h.
5386         * time/tst-posixtz.c: Include stdint.h.
5387         * timezone/tst-timezone.c: Include stdint.h.
5389 2017-02-16  Zack Weinberg  <zackw@panix.com>
5391         * string/string.h [__USE_MISC]: Include strings.h.
5392         (__bzero, bcmp, bcopy, bzero, index, rindex)
5393         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5394         (ffs, ffsl, ffsll): Don't declare.
5395         * string/strings.h: Do not suppress the file if string.h has
5396         already been included.
5397         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5398         annotations.
5399         (index, rindex): Define inline forwarders even if
5400         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5401         (ffs): Use __attribute_const__.
5402         (ffsl, ffsll): Declare here.
5403         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5404         have now been standardized.
5405         * include/string.h (__bzero): Declare here.
5407         * bits/types.h: Move to posix/bits.
5408         * include/bits/types.h: New wrapper.
5410 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5412         * string/bits/string2.h (strcmp): Remove define.
5413         (__strcmp_cg): Likewise.
5414         (strncmp): Likewise.
5416 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5418         * include/string.h: Add __cplusplus check.
5420 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5422         [BZ #21134]
5423         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5424         "divide by zero" exception when the input is zero.
5425         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5426         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5427         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5428         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5429         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5431 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
5433         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5434         and include ...
5435         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
5436         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5437         to, and include ...
5438         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
5439         file.
5440         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5441         and include ...
5442         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
5443         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
5444         and include ...
5445         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
5446         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
5447         and include ...
5448         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
5449         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
5450         and include ...
5451         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
5452         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
5453         to, and include ...
5454         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
5455         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
5456         and include ...
5457         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
5459 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
5461         * math/libm-test-support.h: Do not include <math-tests-arch.h>
5462         here.
5463         * math/libm-test-support.c (libm_test_init): Do not call
5464         INIT_ARCH_EXT here.
5465         * math/libm-test-driver.c: Include <math-tests-arch.h>.
5466         (main): Call INIT_ARCH_EXT.
5468 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5470         [BZ #21130]
5471         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
5472         with the "invalid" exception raised when x is -Inf.
5473         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5475 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
5477         * string/bits/string2.h (strchr): Remove define.
5479 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
5481         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
5482         tst-avx512.
5483         (test-extras): Add tst-avx-aux and tst-avx512-aux.
5484         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
5485         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
5486         ($(objpfx)tst-sse): New rule.
5487         ($(objpfx)tst-avx): Likewise.
5488         ($(objpfx)tst-avx512): Likewise.
5489         (CFLAGS-tst-avx-aux.c): New.
5490         (CFLAGS-tst-avxmod.c): Likewise.
5491         (CFLAGS-tst-avx512-aux.c): Likewise.
5492         (CFLAGS-tst-avx512mod.c): Likewise.
5493         * sysdeps/x86_64/tst-avx-aux.c: New file.
5494         * sysdeps/x86_64/tst-avx.c: Likewise.
5495         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
5496         * sysdeps/x86_64/tst-avx512.c: Likewise.
5497         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
5498         * sysdeps/x86_64/tst-avxmod.c: Likewise.
5499         * sysdeps/x86_64/tst-sse.c: Likewise.
5500         * sysdeps/x86_64/tst-ssemod.c: Likewise.
5502 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5504         * math/auto-libm-test-in: Add more tests of csin and csinh.
5505         * math/auto-libm-test-out-csin: Regenerated.
5506         * math/auto-libm-test-out-csinh: Likewise.
5507         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
5508         auto-libm-test-in.
5509         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
5511 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5513         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
5514         libm-compat-calls-auto.
5515         (libm-compat-calls): Likewise.
5516         (libm-compat-calls-auto): Rename to libm-compat-calls and add
5517         w_lgamma_compatF and k_standardF (merged from the items above).
5518         (libm-routines): Use libm-compat-calls, instead of
5519         libm-compat-calls-auto, with type-foreach.
5521 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5523         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
5524         macro.
5525         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
5526         (CFLAGS-test-ifloat.c): ... this.  Remove
5527         -U__LIBC_INTERNAL_MATH_INLINES.
5528         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
5529         (CFLAGS-test-idouble.c): ... this.  Remove
5530         -U__LIBC_INTERNAL_MATH_INLINES.
5531         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
5532         (CFLAGS-test-ildouble.c): ... this.  Remove
5533         -U__LIBC_INTERNAL_MATH_INLINES.
5535 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
5537         * math/libm-test-support.c: New file.  Content from
5538         math/libm-test-driver.c.
5539         * math/libm-test-support.h: Likewise.
5540         * math/libm-test-support-double.c: New file.
5541         * math/libm-test-support-float.c: Likewise.
5542         * math/libm-test-support-ldouble.c: Likewise.
5543         * math/libm-test-driver.c: Remove main comment and header
5544         includes.  Include libm-test-support.h.
5545         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
5546         (flag_test_errno): Remove static.
5547         (flag_test_exceptions): Likewise.
5548         (flag_test_finite): Likewise.
5549         (flag_test_inline): Likewise.
5550         (flag_test_mathvec): Likewise.
5551         (test_msg): Likewise.
5552         (NO_EXCEPTION): Remove.
5553         (INVALID_EXCEPTION): Likewise.
5554         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5555         (OVERFLOW_EXCEPTION): Likewise.
5556         (UNDERFLOW_EXCEPTION): Likewise.
5557         (INEXACT_EXCEPTION): Likewise.
5558         (INVALID_EXCEPTION_OK): Likewise.
5559         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5560         (OVERFLOW_EXCEPTION_OK): Likewise.
5561         (UNDERFLOW_EXCEPTION_OK): Likewise.
5562         (NO_INEXACT_EXCEPTION): Likewise.
5563         (EXCEPTIONS_OK): Likewise.
5564         (IGNORE_ZERO_INF_SIGN): Likewise.
5565         (TEST_NAN_SIGN): Likewise.
5566         (TEST_NAN_PAYLOAD): Likewise.
5567         (NO_TEST_INLINE): Likewise.
5568         (XFAIL_TEST): Likewise.
5569         (ERRNO_UNCHANGED): Likewise.
5570         (ERRNO_EDOM): Likewise.
5571         (ERRNO_ERANGE): Likewise.
5572         (IGNORE_RESULT): Likewise.
5573         (NON_FINITE): Likewise.
5574         (TEST_SNAN): Likewise.
5575         (NO_TEST_MATHVEC): Likewise.
5576         (__CONCATX): Likewise.
5577         (TYPE_MIN): Likewise.
5578         (TYPE_TRUE_MIN): Likewise.
5579         (TYPE_MAX): Likewise.
5580         (MIN_EXP): Likewise.
5581         (MAX_EXP): Likewise.
5582         (MANT_DIG): Likewise.
5583         (FSTR_MAX): Likewise.
5584         (ulp_idx): Likewise.
5585         (qtype_str): Remove static.
5586         (TEST_COND_binary32): Remove.
5587         (TEST_COND_binary64): Likewise.
5588         (TEST_COND_binary128): Likewise.
5589         (TEST_COND_ibm128): Likewise.
5590         (TEST_COND_intel96): Likewise.
5591         (TEST_COND_m68k96): Likewise.
5592         (TEST_COND_ibm128_libgcc): Likewise.
5593         (XFAIL_IBM128_LIBGCC): Likewise.
5594         (PAYLOAD_DIG): Likewise.
5595         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5596         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5597         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5598         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5599         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5600         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5601         (TEST_COND_long32): Likewise.
5602         (TEST_COND_long64): Likewise.
5603         (TEST_COND_before_rounding): Likewise.
5604         (TEST_COND_after_rounding): Likewise.
5605         (ulps_file_name): Likewise.
5606         (ulps_file): Likewise.
5607         (output_ulps): Likewise.
5608         (output_dir): Likewise.
5609         (noErrors): Likewise.
5610         (noTests): Likewise.
5611         (noExcTests): Likewise.
5612         (noErrnoTests): Likewise.
5613         (verbose): Likewise.
5614         (output_max_error): Likewise.
5615         (output_points): Likewise.
5616         (ignore_max_ulp): Likewise.
5617         (max_error): Likewise.
5618         (real_max_error): Likewise.
5619         (imag_max_error): Likewise.
5620         (prev_max_error): Likewise.
5621         (prev_real_max_error): Likewise.
5622         (prev_imag_max_error): Likewise.
5623         (max_valid_error): Likewise.
5624         (TYPE_DECIMAL_DIG): Likewise.
5625         (TYPE_HEX_DIG): Likewise.
5626         (fmt_ftostr): Likewise.
5627         (compare_ulp_data): Likewise.
5628         (find_ulps): Likewise.
5629         (init_max_error): Likewise.
5630         (set_max_error): Likewise.
5631         (print_float): Likewise.
5632         (print_screen): Likewise.
5633         (print_screen_max_error): Likewise.
5634         (update_stats): Likewise.
5635         (print_function_ulps): Likewise.
5636         (print_complex_function_ulps): Likewise.
5637         (fpstack_test): Likewise.
5638         (print_max_error): Likewise.
5639         (print_complex_max_error): Likewise.
5640         (test_single_exception): Likewise.
5641         (test_exceptions): Likewise.
5642         (test_single_errno): Likewise.
5643         (test_errno): Likewise.
5644         (ULPDIFF): Likewise.
5645         (ulp): Likewise.
5646         (check_float_internal): Likewise.
5647         (check_float): Likewise.
5648         (check_complex): Likewise.
5649         (check_int): Likewise.
5650         (check_long): Likewise.
5651         (check_bool): Likewise.
5652         (check_longlong): Likewise.
5653         (check_intmax_t): Likewise.
5654         (check_uintmax_t): Likewise.
5655         (enable_test): Likewise.
5656         (matherr): Likewise.
5657         (initialize): Likewise.
5658         (options): Likewise.
5659         (doc): Remove static.
5660         (argp): Likewise.
5661         (parse_opt): Remove.
5662         (check_ulp): Likewise.
5663         (libm_test_init): Likewise.
5664         (libm_test_finish): Likewise.
5665         * math/Makefile (libm-test-support): New variable.
5666         (test-extras): Add libm-test-support files.
5667         (extra-test-objs): Likewise.
5668         (CFLAGS-libm-test-support-float.c): New variable.
5669         (CFLAGS-libm-test-support-double.c): Likewise.
5670         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5671         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
5672         libm-test-support objects.
5674 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5676         * math/Makefile (libm-calls): Move w_exp...
5677         (libm-compat-calls-auto): Here.
5679         * math/w_expl.c: Add suffix "_compat" to filename.
5680         * sysdeps/ia64/fpu/w_expl.c: Likewise.
5681         * sysdeps/ia64/fpu/w_expf.c: Likewise.
5682         * sysdeps/ia64/fpu/w_exp.c: Likewise.
5683         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5684         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5685         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5686         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5687         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5689         * math/w_expl_compat.c: New file, copied from above.
5690         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
5691         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
5692         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
5693         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5694         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5695         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5696         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5697         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5699         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
5700         to filename.
5701         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
5703         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
5704         copied from above and adjusted for the new filenames.
5705         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5707 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5709         * math/Makefile (libm-calls): Move w_lgammaF...
5710         (libm-compat-calls-auto): Here.
5712         * math/w_lgamma.c: Add suffix "_compat2" to filename.
5713         * math/w_lgammaf.c: Likewise.
5714         * math/w_lgammal.c: Likewise.
5716         * math/w_lgamma_compat2.c: New file, copied from above.
5717         * math/w_lgammaf_compat2.c: Likewise.
5718         * math/w_lgammal_compat2.c: Likewise.
5720 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5722         * math/Makefile (libm-calls): Move w_lgammaF_r...
5723         (libm-compat-calls-auto): Here.
5725         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
5726         * math/w_lgammaf_r.c: Likewise.
5727         * math/w_lgammal_r.c: Likewise.
5728         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
5729         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
5730         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
5732         * math/w_lgamma_r_compat.c: New file, copied from above.
5733         * math/w_lgammaf_r_compat.c: Likewise.
5734         * math/w_lgammal_r_compat.c: Likewise.
5735         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
5736         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
5737         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
5739         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
5740         to filename.
5741         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
5743         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
5744         copied from above and adjusted for the new filenames.
5745         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5747 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
5749         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
5750         calculation in SYSCALL_ERROR_HANDLER().
5752 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
5754         * manual/contrib.texi: Fix typo.
5756 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5758         [BZ #21109]
5759         * elf/dl-tunable-types.h (tunable_callback_t): Accept
5760         tunable_val_t as argument.
5761         * elf/dl-tunables.c (__tunable_set_val): Add comment.
5762         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
5763         argument.
5764         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
5766 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
5768         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
5769         Add PTRACE_EVENT_STOP.
5770         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5771         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5773         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5774         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5775         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5777 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
5779         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5780         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5781         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5782         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5783         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5784         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5785         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5786         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5787         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5788         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5790         [BZ #21112]
5791         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5792         12 bits zero.
5793         (cp_l): Update for new value of cp_h.
5794         * math/auto-libm-test-in: Add another test of pow.
5795         * math/auto-libm-test-out-pow: Regenerated.
5797 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5799         * manual/contrib.texi: Fix typo.
5801 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5803         [BZ #15998]
5804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5805         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5808 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5810         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5811         STRCHR as __strchr_power8.
5812         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5813         strlen as __strlen_power8.
5815 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5817         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5818         unaligned load for shorter strings.
5819         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5821 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5823         * math/libm-test-driver.c (flag_test_errno): New variable.
5824         (flag_test_exceptions): Likewise.
5825         (flag_test_finite): Likewise.
5826         (flag_test_inline): Likewise.
5827         (flag_test_mathvec): Likewise.
5828         (test_msg): Likewise.
5829         (ulp_idx): Likewise.
5830         (qtype_str): Likewise.
5831         (ULP_IDX): Remove macro.
5832         (QTYPE_STR): Likewise.
5833         (find_ulps): Use ulp_idx not ULP_IDX.
5834         (print_function_ulps): Use qtype_str, printed with %s, not
5835         QTYPE_STR, printed with concatentation to format string.
5836         (print_complex_function_ulps): Likewise.
5837         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
5838         (test_errno): Use flag_test_errno not TEST_ERRNO.
5839         (enable_test): Use flag_test_inline, flag_test_finite and
5840         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
5841         TEST_MATHVEC.
5842         (libm_test_init): New function.  Factored out of main.
5843         (libm_test_finish): Likewise.
5844         (main): Call libm_test_init and libm_test_finish and move most
5845         code to those functions.
5847         * math/libm-test-driver.c (STRX): New macro.
5848         (STR): Likewise.
5849         (STR_FLOAT): Likewise.
5850         (STR_VEC_LEN): Likewise.
5851         (TEST_MSG): Likewise.  Define here instead of expecting to be
5852         defined by including file.
5853         * math/test-double-finite.c (TEST_MSG): Remove macro.
5854         * math/test-double-vlen2.h (TEST_MSG): Likewise.
5855         * math/test-double-vlen4.h (TEST_MSG): Likewise.
5856         * math/test-double-vlen8.h (TEST_MSG): Likewise.
5857         * math/test-double.c (TEST_MSG): Likewise.
5858         * math/test-float-finite.c (TEST_MSG): Likewise.
5859         * math/test-float-vlen16.h (TEST_MSG): Likewise.
5860         * math/test-float-vlen4.h (TEST_MSG): Likewise.
5861         * math/test-float-vlen8.h (TEST_MSG): Likewise.
5862         * math/test-float.c (TEST_MSG): Likewise.
5863         * math/test-idouble.c (TEST_MSG): Likewise.
5864         * math/test-ifloat.c (TEST_MSG): Likewise.
5865         * math/test-ildouble.c (TEST_MSG): Likewise.
5866         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
5867         * math/test-ldouble.c (TEST_MSG): Likewise.
5869         * math/libm-test.inc: Move all tests of individual functions to
5870         libm-test-*.inc and #include libm-test-*.c files.
5871         (acos_test_data): Remove.
5872         (acos_test): Likewise.
5873         (acosh_test_data): Likewise.
5874         (acosh_test): Likewise.
5875         (asin_test_data): Likewise.
5876         (asin_test): Likewise.
5877         (asinh_test_data): Likewise.
5878         (asinh_test): Likewise.
5879         (atan_test_data): Likewise.
5880         (atan_test): Likewise.
5881         (atanh_test_data): Likewise.
5882         (atanh_test): Likewise.
5883         (atan2_test_data): Likewise.
5884         (atan2_test): Likewise.
5885         (cabs_test_data): Likewise.
5886         (cabs_test): Likewise.
5887         (cacos_test_data): Likewise.
5888         (cacos_test): Likewise.
5889         (cacosh_test_data): Likewise.
5890         (cacosh_test): Likewise.
5891         (canonicalize_test_data): Likewise.
5892         (canonicalize_test): Likewise.
5893         (carg_test_data): Likewise.
5894         (carg_test): Likewise.
5895         (casin_test_data): Likewise.
5896         (casin_test): Likewise.
5897         (casinh_test_data): Likewise.
5898         (casinh_test): Likewise.
5899         (catan_test_data): Likewise.
5900         (catan_test): Likewise.
5901         (catanh_test_data): Likewise.
5902         (catanh_test): Likewise.
5903         (cbrt_test_data): Likewise.
5904         (cbrt_test): Likewise.
5905         (ccos_test_data): Likewise.
5906         (ccos_test): Likewise.
5907         (ccosh_test_data): Likewise.
5908         (ccosh_test): Likewise.
5909         (ceil_test_data): Likewise.
5910         (ceil_test): Likewise.
5911         (cexp_test_data): Likewise.
5912         (cexp_test): Likewise.
5913         (cimag_test_data): Likewise.
5914         (cimag_test): Likewise.
5915         (clog_test_data): Likewise.
5916         (clog_test): Likewise.
5917         (clog10_test_data): Likewise.
5918         (clog10_test): Likewise.
5919         (conj_test_data): Likewise.
5920         (conj_test): Likewise.
5921         (copysign_test_data): Likewise.
5922         (copysign_test): Likewise.
5923         (cos_test_data): Likewise.
5924         (cos_test): Likewise.
5925         (cosh_test_data): Likewise.
5926         (cosh_test): Likewise.
5927         (cpow_test_data): Likewise.
5928         (cpow_test): Likewise.
5929         (cproj_test_data): Likewise.
5930         (cproj_test): Likewise.
5931         (creal_test_data): Likewise.
5932         (creal_test): Likewise.
5933         (csin_test_data): Likewise.
5934         (csin_test): Likewise.
5935         (csinh_test_data): Likewise.
5936         (csinh_test): Likewise.
5937         (csqrt_test_data): Likewise.
5938         (csqrt_test): Likewise.
5939         (ctan_test_data): Likewise.
5940         (ctan_test): Likewise.
5941         (ctanh_test_data): Likewise.
5942         (ctanh_test): Likewise.
5943         (erf_test_data): Likewise.
5944         (erf_test): Likewise.
5945         (erfc_test_data): Likewise.
5946         (erfc_test): Likewise.
5947         (exp_test_data): Likewise.
5948         (exp_test): Likewise.
5949         (exp10_test_data): Likewise.
5950         (exp10_test): Likewise.
5951         (pow10_test): Likewise.
5952         (exp2_test_data): Likewise.
5953         (exp2_test): Likewise.
5954         (expm1_test_data): Likewise.
5955         (expm1_test): Likewise.
5956         (fabs_test_data): Likewise.
5957         (fabs_test): Likewise.
5958         (fdim_test_data): Likewise.
5959         (fdim_test): Likewise.
5960         (floor_test_data): Likewise.
5961         (floor_test): Likewise.
5962         (fma_test_data): Likewise.
5963         (fma_test): Likewise.
5964         (fmax_test_data): Likewise.
5965         (fmax_test): Likewise.
5966         (fmaxmag_test_data): Likewise.
5967         (fmaxmag_test): Likewise.
5968         (fmin_test_data): Likewise.
5969         (fmin_test): Likewise.
5970         (fminmag_test_data): Likewise.
5971         (fminmag_test): Likewise.
5972         (fmod_test_data): Likewise.
5973         (fmod_test): Likewise.
5974         (fpclassify_test_data): Likewise.
5975         (fpclassify_test): Likewise.
5976         (frexp_test_data): Likewise.
5977         (frexp_test): Likewise.
5978         (fromfp_test_data): Likewise.
5979         (fromfp_test): Likewise.
5980         (fromfpx_test_data): Likewise.
5981         (fromfpx_test): Likewise.
5982         (getpayload_test_data): Likewise.
5983         (getpayload_test): Likewise.
5984         (hypot_test_data): Likewise.
5985         (hypot_test): Likewise.
5986         (ilogb_test_data): Likewise.
5987         (ilogb_test): Likewise.
5988         (iscanonical_test_data): Likewise.
5989         (iscanonical_test): Likewise.
5990         (iseqsig_test_data): Likewise.
5991         (iseqsig_test): Likewise.
5992         (isfinite_test_data): Likewise.
5993         (isfinite_test): Likewise.
5994         (finite_test): Likewise.
5995         (isgreater_test_data): Likewise.
5996         (isgreater_test): Likewise.
5997         (isgreaterequal_test_data): Likewise.
5998         (isgreaterequal_test): Likewise.
5999         (isinf_test_data): Likewise.
6000         (isinf_test): Likewise.
6001         (isless_test_data): Likewise.
6002         (isless_test): Likewise.
6003         (islessequal_test_data): Likewise.
6004         (islessequal_test): Likewise.
6005         (islessgreater_test_data): Likewise.
6006         (islessgreater_test): Likewise.
6007         (isnan_test_data): Likewise.
6008         (isnan_test): Likewise.
6009         (isnormal_test_data): Likewise.
6010         (isnormal_test): Likewise.
6011         (issignaling_test_data): Likewise.
6012         (issignaling_test): Likewise.
6013         (issubnormal_test_data): Likewise.
6014         (issubnormal_test): Likewise.
6015         (isunordered_test_data): Likewise.
6016         (isunordered_test): Likewise.
6017         (iszero_test_data): Likewise.
6018         (iszero_test): Likewise.
6019         (j0_test_data): Likewise.
6020         (j0_test): Likewise.
6021         (j1_test_data): Likewise.
6022         (j1_test): Likewise.
6023         (jn_test_data): Likewise.
6024         (jn_test): Likewise.
6025         (lgamma_test_data): Likewise.
6026         (lgamma_test): Likewise.
6027         (gamma_test): Likewise.
6028         (llogb_test_data): Likewise.
6029         (llogb_test): Likewise.
6030         (lrint_test_data): Likewise.
6031         (lrint_test): Likewise.
6032         (llrint_test_data): Likewise.
6033         (llrint_test): Likewise.
6034         (log_test_data): Likewise.
6035         (log_test): Likewise.
6036         (log10_test_data): Likewise.
6037         (log10_test): Likewise.
6038         (log1p_test_data): Likewise.
6039         (log1p_test): Likewise.
6040         (log2_test_data): Likewise.
6041         (log2_test): Likewise.
6042         (logb_test_data): Likewise.
6043         (logb_test): Likewise.
6044         (lround_test_data): Likewise.
6045         (lround_test): Likewise.
6046         (llround_test_data): Likewise.
6047         (llround_test): Likewise.
6048         (modf_test_data): Likewise.
6049         (modf_test): Likewise.
6050         (nearbyint_test_data): Likewise.
6051         (nearbyint_test): Likewise.
6052         (nextafter_test_data): Likewise.
6053         (nextafter_test): Likewise.
6054         (nextup_test_data): Likewise.
6055         (nextup_test): Likewise.
6056         (nextdown_test_data): Likewise.
6057         (nextdown_test): Likewise.
6058         (nexttoward_test_data): Likewise.
6059         (nexttoward_test): Likewise.
6060         (pow_test_data): Likewise.
6061         (pow_test): Likewise.
6062         (remainder_test_data): Likewise.
6063         (remainder_test): Likewise.
6064         (drem_test): Likewise.
6065         (remquo_test_data): Likewise.
6066         (remquo_test): Likewise.
6067         (rint_test_data): Likewise.
6068         (rint_test): Likewise.
6069         (round_test_data): Likewise.
6070         (round_test): Likewise.
6071         (roundeven_test_data): Likewise.
6072         (roundeven_test): Likewise.
6073         (scalb_test_data): Likewise.
6074         (scalb_test): Likewise.
6075         (scalbn_test_data): Likewise.
6076         (scalbn_test): Likewise.
6077         (ldexp_test): Likewise.
6078         (scalbln_test_data): Likewise.
6079         (scalbln_test): Likewise.
6080         (setpayload_test_data): Likewise.
6081         (setpayload_test): Likewise.
6082         (setpayloadsig_test_data): Likewise.
6083         (setpayloadsig_test): Likewise.
6084         (signbit_test_data): Likewise.
6085         (signbit_test): Likewise.
6086         (sin_test_data): Likewise.
6087         (sin_test): Likewise.
6088         (sincos_test_data): Likewise.
6089         (sincos_test): Likewise.
6090         (sinh_test_data): Likewise.
6091         (sinh_test): Likewise.
6092         (sqrt_test_data): Likewise.
6093         (sqrt_test): Likewise.
6094         (tan_test_data): Likewise.
6095         (tan_test): Likewise.
6096         (tanh_test_data): Likewise.
6097         (tanh_test): Likewise.
6098         (tgamma_test_data): Likewise.
6099         (tgamma_test): Likewise.
6100         (totalorder_test_data): Likewise.
6101         (totalorder_test): Likewise.
6102         (totalordermag_test_data): Likewise.
6103         (totalordermag_test): Likewise.
6104         (trunc_test_data): Likewise.
6105         (trunc_test): Likewise.
6106         (ufromfp_test_data): Likewise.
6107         (ufromfp_test): Likewise.
6108         (ufromfpx_test_data): Likewise.
6109         (ufromfpx_test): Likewise.
6110         (y0_test_data): Likewise.
6111         (y0_test): Likewise.
6112         (y1_test_data): Likewise.
6113         (y1_test): Likewise.
6114         (yn_test_data): Likewise.
6115         (yn_test): Likewise.
6116         (significand_test_data): Likewise.
6117         (significand_test): Likewise.
6118         * math/Makefile (auto-libm-test-out-files): Remove variable.
6119         (libm-test-funcs-noauto): New variable.
6120         (libm-test-funcs-all): Likewise.
6121         (libm-test-c-auto): Likewise.
6122         (libm-test-c-noauto): Likewise.
6123         (libm-tests-generated): Add $(libm-test-c-auto) and
6124         $(libm-test-c-noauto).
6125         (generated): Do not add auto-libm-test-out.
6126         (libm-test-c-auto-obj): New variable.
6127         (libm-test-c-noauto-obj): Likewise.
6128         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
6129         ($(libm-test-c-noauto-obj)): New static pattern rule.
6130         ($(libm-test-c-auto-obj)): Likewise.
6131         (libm-test-incs): New variable.
6132         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
6133         and pass it to gen-libm-have-vector-test.sh.
6134         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
6135         be passed on command line.
6136         * math/libm-test-acos.inc: New file.  Content from
6137         math/libm-test.inc.
6138         * math/libm-test-acosh.inc: Likewise.
6139         * math/libm-test-asin.inc: Likewise.
6140         * math/libm-test-asinh.inc: Likewise.
6141         * math/libm-test-atan.inc: Likewise.
6142         * math/libm-test-atan2.inc: Likewise.
6143         * math/libm-test-atanh.inc: Likewise.
6144         * math/libm-test-cabs.inc: Likewise.
6145         * math/libm-test-cacos.inc: Likewise.
6146         * math/libm-test-cacosh.inc: Likewise.
6147         * math/libm-test-canonicalize.inc: Likewise.
6148         * math/libm-test-carg.inc: Likewise.
6149         * math/libm-test-casin.inc: Likewise.
6150         * math/libm-test-casinh.inc: Likewise.
6151         * math/libm-test-catan.inc: Likewise.
6152         * math/libm-test-catanh.inc: Likewise.
6153         * math/libm-test-cbrt.inc: Likewise.
6154         * math/libm-test-ccos.inc: Likewise.
6155         * math/libm-test-ccosh.inc: Likewise.
6156         * math/libm-test-ceil.inc: Likewise.
6157         * math/libm-test-cexp.inc: Likewise.
6158         * math/libm-test-cimag.inc: Likewise.
6159         * math/libm-test-clog.inc: Likewise.
6160         * math/libm-test-clog10.inc: Likewise.
6161         * math/libm-test-conj.inc: Likewise.
6162         * math/libm-test-copysign.inc: Likewise.
6163         * math/libm-test-cos.inc: Likewise.
6164         * math/libm-test-cosh.inc: Likewise.
6165         * math/libm-test-cpow.inc: Likewise.
6166         * math/libm-test-cproj.inc: Likewise.
6167         * math/libm-test-creal.inc: Likewise.
6168         * math/libm-test-csin.inc: Likewise.
6169         * math/libm-test-csinh.inc: Likewise.
6170         * math/libm-test-csqrt.inc: Likewise.
6171         * math/libm-test-ctan.inc: Likewise.
6172         * math/libm-test-ctanh.inc: Likewise.
6173         * math/libm-test-erf.inc: Likewise.
6174         * math/libm-test-erfc.inc: Likewise.
6175         * math/libm-test-exp.inc: Likewise.
6176         * math/libm-test-exp10.inc: Likewise.
6177         * math/libm-test-exp2.inc: Likewise.
6178         * math/libm-test-expm1.inc: Likewise.
6179         * math/libm-test-fabs.inc: Likewise.
6180         * math/libm-test-fdim.inc: Likewise.
6181         * math/libm-test-floor.inc: Likewise.
6182         * math/libm-test-fma.inc: Likewise.
6183         * math/libm-test-fmax.inc: Likewise.
6184         * math/libm-test-fmaxmag.inc: Likewise.
6185         * math/libm-test-fmin.inc: Likewise.
6186         * math/libm-test-fminmag.inc: Likewise.
6187         * math/libm-test-fmod.inc: Likewise.
6188         * math/libm-test-fpclassify.inc: Likewise.
6189         * math/libm-test-frexp.inc: Likewise.
6190         * math/libm-test-fromfp.inc: Likewise.
6191         * math/libm-test-fromfpx.inc: Likewise.
6192         * math/libm-test-getpayload.inc: Likewise.
6193         * math/libm-test-hypot.inc: Likewise.
6194         * math/libm-test-ilogb.inc: Likewise.
6195         * math/libm-test-iscanonical.inc: Likewise.
6196         * math/libm-test-iseqsig.inc: Likewise.
6197         * math/libm-test-isfinite.inc: Likewise.
6198         * math/libm-test-isgreater.inc: Likewise.
6199         * math/libm-test-isgreaterequal.inc: Likewise.
6200         * math/libm-test-isinf.inc: Likewise.
6201         * math/libm-test-isless.inc: Likewise.
6202         * math/libm-test-islessequal.inc: Likewise.
6203         * math/libm-test-islessgreater.inc: Likewise.
6204         * math/libm-test-isnan.inc: Likewise.
6205         * math/libm-test-isnormal.inc: Likewise.
6206         * math/libm-test-issignaling.inc: Likewise.
6207         * math/libm-test-issubnormal.inc: Likewise.
6208         * math/libm-test-isunordered.inc: Likewise.
6209         * math/libm-test-iszero.inc: Likewise.
6210         * math/libm-test-j0.inc: Likewise.
6211         * math/libm-test-j1.inc: Likewise.
6212         * math/libm-test-jn.inc: Likewise.
6213         * math/libm-test-lgamma.inc: Likewise.
6214         * math/libm-test-llogb.inc: Likewise.
6215         * math/libm-test-llrint.inc: Likewise.
6216         * math/libm-test-llround.inc: Likewise.
6217         * math/libm-test-log.inc: Likewise.
6218         * math/libm-test-log10.inc: Likewise.
6219         * math/libm-test-log1p.inc: Likewise.
6220         * math/libm-test-log2.inc: Likewise.
6221         * math/libm-test-logb.inc: Likewise.
6222         * math/libm-test-lrint.inc: Likewise.
6223         * math/libm-test-lround.inc: Likewise.
6224         * math/libm-test-modf.inc: Likewise.
6225         * math/libm-test-nearbyint.inc: Likewise.
6226         * math/libm-test-nextafter.inc: Likewise.
6227         * math/libm-test-nextdown.inc: Likewise.
6228         * math/libm-test-nexttoward.inc: Likewise.
6229         * math/libm-test-nextup.inc: Likewise.
6230         * math/libm-test-pow.inc: Likewise.
6231         * math/libm-test-remainder.inc: Likewise.
6232         * math/libm-test-remquo.inc: Likewise.
6233         * math/libm-test-rint.inc: Likewise.
6234         * math/libm-test-round.inc: Likewise.
6235         * math/libm-test-roundeven.inc: Likewise.
6236         * math/libm-test-scalb.inc: Likewise.
6237         * math/libm-test-scalbln.inc: Likewise.
6238         * math/libm-test-scalbn.inc: Likewise.
6239         * math/libm-test-setpayload.inc: Likewise.
6240         * math/libm-test-setpayloadsig.inc: Likewise.
6241         * math/libm-test-signbit.inc: Likewise.
6242         * math/libm-test-significand.inc: Likewise.
6243         * math/libm-test-sin.inc: Likewise.
6244         * math/libm-test-sincos.inc: Likewise.
6245         * math/libm-test-sinh.inc: Likewise.
6246         * math/libm-test-sqrt.inc: Likewise.
6247         * math/libm-test-tan.inc: Likewise.
6248         * math/libm-test-tanh.inc: Likewise.
6249         * math/libm-test-tgamma.inc: Likewise.
6250         * math/libm-test-totalorder.inc: Likewise.
6251         * math/libm-test-totalordermag.inc: Likewise.
6252         * math/libm-test-trunc.inc: Likewise.
6253         * math/libm-test-ufromfp.inc: Likewise.
6254         * math/libm-test-ufromfpx.inc: Likewise.
6255         * math/libm-test-y0.inc: Likewise.
6256         * math/libm-test-y1.inc: Likewise.
6257         * math/libm-test-yn.inc: Likewise.
6258         * math/README.libm-test: Update.
6260         * math/gen-auto-libm-tests.c: Update comment about use of program.
6261         (generate_output): Add argument FUNCTION.
6262         (main): Require extra argument.  Pass function name to
6263         generate_output.
6264         * math/Makefile (generated): Add auto-libm-test-out.
6265         (libm-test-funcs-auto): New variable.
6266         (auto-libm-test-out-files): New variable.
6267         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6268         Concatenate those files to form $(objpfx)auto-libm-test-out and
6269         use it as input to gen-libm-test.pl.
6270         * math/README.libm-test: Update.
6271         * math/auto-libm-test-out: Remove.
6272         * math/auto-libm-test-out-acos: New generated file.
6273         * math/auto-libm-test-out-acosh: Likewise.
6274         * math/auto-libm-test-out-asin: Likewise.
6275         * math/auto-libm-test-out-asinh: Likewise.
6276         * math/auto-libm-test-out-atan: Likewise.
6277         * math/auto-libm-test-out-atan2: Likewise.
6278         * math/auto-libm-test-out-atanh: Likewise.
6279         * math/auto-libm-test-out-cabs: Likewise.
6280         * math/auto-libm-test-out-carg: Likewise.
6281         * math/auto-libm-test-out-cbrt: Likewise.
6282         * math/auto-libm-test-out-ccos: Likewise.
6283         * math/auto-libm-test-out-ccosh: Likewise.
6284         * math/auto-libm-test-out-cexp: Likewise.
6285         * math/auto-libm-test-out-clog: Likewise.
6286         * math/auto-libm-test-out-clog10: Likewise.
6287         * math/auto-libm-test-out-cos: Likewise.
6288         * math/auto-libm-test-out-cosh: Likewise.
6289         * math/auto-libm-test-out-cpow: Likewise.
6290         * math/auto-libm-test-out-csin: Likewise.
6291         * math/auto-libm-test-out-csinh: Likewise.
6292         * math/auto-libm-test-out-csqrt: Likewise.
6293         * math/auto-libm-test-out-ctan: Likewise.
6294         * math/auto-libm-test-out-ctanh: Likewise.
6295         * math/auto-libm-test-out-erf: Likewise.
6296         * math/auto-libm-test-out-erfc: Likewise.
6297         * math/auto-libm-test-out-exp: Likewise.
6298         * math/auto-libm-test-out-exp10: Likewise.
6299         * math/auto-libm-test-out-exp2: Likewise.
6300         * math/auto-libm-test-out-expm1: Likewise.
6301         * math/auto-libm-test-out-fma: Likewise.
6302         * math/auto-libm-test-out-hypot: Likewise.
6303         * math/auto-libm-test-out-j0: Likewise.
6304         * math/auto-libm-test-out-j1: Likewise.
6305         * math/auto-libm-test-out-jn: Likewise.
6306         * math/auto-libm-test-out-lgamma: Likewise.
6307         * math/auto-libm-test-out-log: Likewise.
6308         * math/auto-libm-test-out-log10: Likewise.
6309         * math/auto-libm-test-out-log1p: Likewise.
6310         * math/auto-libm-test-out-log2: Likewise.
6311         * math/auto-libm-test-out-pow: Likewise.
6312         * math/auto-libm-test-out-sin: Likewise.
6313         * math/auto-libm-test-out-sincos: Likewise.
6314         * math/auto-libm-test-out-sinh: Likewise.
6315         * math/auto-libm-test-out-sqrt: Likewise.
6316         * math/auto-libm-test-out-tan: Likewise.
6317         * math/auto-libm-test-out-tanh: Likewise.
6318         * math/auto-libm-test-out-tgamma: Likewise.
6319         * math/auto-libm-test-out-y0: Likewise.
6320         * math/auto-libm-test-out-y1: Likewise.
6321         * math/auto-libm-test-out-yn: Likewise.
6323         * math/Makefile (generated): Do not include libm-test.stmp.
6324         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6325         on $(objpfx)libm-test.stmp.
6326         ($(objpfx)libm-test.stmp): Remove rule.
6327         ($(objpfx)libm-test-ulps.h): New rule.
6328         ($(objpfx)libm-test.c): Likewise.
6329         ($(objpfx)libm-have-vector-test.h): Likewise.
6330         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6331         individual generated files, not libm-test.stmp.
6333         * math/gen-libm-test.pl ($output_dir): Remove variable.
6334         ($srcdir): Likewise.
6335         ($opt_a): New variable.
6336         ($opt_c): Likewise.
6337         ($opt_C): Likewise.
6338         ($opt_H): Likewise.
6339         (-n): Make option take argument and use it as NewUlps output.
6340         (-a): New option.  Use its argument for auto-libm-test-out input.
6341         (-c): New option.  Use its argument for libm-test.inc input.
6342         (-C): New option.  Use its argument for libm-test.c output.
6343         (-H): New option.  Use its argument for libm-test-ulps.h output.
6344         (top level): Only process inputs needed to generate outputs
6345         specified by command-line options.  Only generate outputs
6346         specified by command-line options.
6347         * math/README.libm-test: Update example gen-libm-test.pl command.
6348         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6349         commands.
6350         (regen-ulps): Likewise.
6352 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
6354         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6355         * include/string.h (index): Remove define.
6356         (rindex): Likewise.
6357         * misc/getttyent.c (__getttyent): Rename index to strchr.
6358         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6359         * sunrpc/rpc_main.c (mkfile_output): Likewise.
6361 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6363         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
6364         * math/libm-test.inc: Move all contents, other than tests of
6365         individual functions, to libm-test-driver.c.
6366         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6367         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6368         [!FE_UPWARD] (FE_UPWARD): Likewise.
6369         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6370         (NO_EXCEPTION): Likewise.
6371         (INVALID_EXCEPTION): Likewise.
6372         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6373         (OVERFLOW_EXCEPTION): Likewise.
6374         (UNDERFLOW_EXCEPTION): Likewise.
6375         (INEXACT_EXCEPTION): Likewise.
6376         (INVALID_EXCEPTION_OK): Likewise.
6377         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6378         (OVERFLOW_EXCEPTION_OK): Likewise.
6379         (UNDERFLOW_EXCEPTION_OK): Likewise.
6380         (NO_INEXACT_EXCEPTION): Likewise.
6381         (EXCEPTIONS_OK): Likewise.
6382         (IGNORE_ZERO_INF_SIGN): Likewise.
6383         (TEST_NAN_SIGN): Likewise.
6384         (TEST_NAN_PAYLOAD): Likewise.
6385         (NO_TEST_INLINE): Likewise.
6386         (XFAIL_TEST): Likewise.
6387         (ERRNO_UNCHANGED): Likewise.
6388         (ERRNO_EDOM): Likewise.
6389         (ERRNO_ERANGE): Likewise.
6390         (IGNORE_RESULT): Likewise.
6391         (NON_FINITE): Likewise.
6392         (TEST_SNAN): Likewise.
6393         (NO_TEST_MATHVEC): Likewise.
6394         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6395         (__CONCATX): Likewise.
6396         (TYPE_MIN): Likewise.
6397         (TYPE_TRUE_MIN): Likewise.
6398         (TYPE_MAX): Likewise.
6399         (MIN_EXP): Likewise.
6400         (MAX_EXP): Likewise.
6401         (MANT_DIG): Likewise.
6402         (FSTR_MAX): Likewise.
6403         (ULP_IDX): Likewise.
6404         (QTYPE_STR): Likewise.
6405         (TEST_COND_binary32): Likewise.
6406         (TEST_COND_binary64): Likewise.
6407         (TEST_COND_binary128): Likewise.
6408         (TEST_COND_ibm128): Likewise.
6409         (TEST_COND_intel96): Likewise.
6410         (TEST_COND_m68k96): Likewise.
6411         (TEST_COND_ibm128_libgcc): Likewise.
6412         (XFAIL_IBM128_LIBGCC): Likewise.
6413         (PAYLOAD_DIG): Likewise.
6414         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6415         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6416         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6417         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6418         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6419         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6420         (TEST_COND_long32): Likewise.
6421         (TEST_COND_long64): Likewise.
6422         (TEST_COND_before_rounding): Likewise.
6423         (TEST_COND_after_rounding): Likewise.
6424         (lit_pi_3_m_4_d): Likewise.
6425         (lit_pi_3_m_4_ln10_m_d): Likewise.
6426         (lit_pi_2_ln10_m_d): Likewise.
6427         (lit_pi_4_ln10_m_d): Likewise.
6428         (lit_pi_ln10_d): Likewise.
6429         (lit_pi_2_d): Likewise.
6430         (lit_pi_4_d): Likewise.
6431         (lit_pi): Likewise.
6432         (lit_e): Likewise.
6433         (ulps_file_name): Likewise.
6434         (ulps_file): Likewise.
6435         (output_ulps): Likewise.
6436         (output_dir): Likewise.
6437         (noErrors): Likewise.
6438         (noTests): Likewise.
6439         (noExcTests): Likewise.
6440         (noErrnoTests): Likewise.
6441         (verbose): Likewise.
6442         (output_max_error): Likewise.
6443         (output_points): Likewise.
6444         (ignore_max_ulp): Likewise.
6445         (plus_zero): Likewise.
6446         (minus_zero): Likewise.
6447         (plus_infty): Likewise.
6448         (minus_infty): Likewise.
6449         (qnan_value_pl): Likewise.
6450         (qnan_value): Likewise.
6451         (snan_value_pl): Likewise.
6452         (snan_value): Likewise.
6453         (max_value): Likewise.
6454         (min_value): Likewise.
6455         (min_subnorm_value): Likewise.
6456         (snan_value_ld): Likewise.
6457         (max_error): Likewise.
6458         (real_max_error): Likewise.
6459         (imag_max_error): Likewise.
6460         (prev_max_error): Likewise.
6461         (prev_real_max_error): Likewise.
6462         (prev_imag_max_error): Likewise.
6463         (max_valid_error): Likewise.
6464         (TYPE_DECIMAL_DIG): Likewise.
6465         (TYPE_HEX_DIG): Likewise.
6466         (fmt_ftostr): Likewise.
6467         (compare_ulp_data): Likewise.
6468         (find_ulps): Likewise.
6469         (init_max_error): Likewise.
6470         (set_max_error): Likewise.
6471         (print_float): Likewise.
6472         (print_screen): Likewise.
6473         (print_screen_max_error): Likewise.
6474         (update_stats): Likewise.
6475         (print_function_ulps): Likewise.
6476         (print_complex_function_ulps): Likewise.
6477         (fpstack_test): Likewise.
6478         (print_max_error): Likewise.
6479         (print_complex_max_error): Likewise.
6480         (test_single_exception): Likewise.
6481         (test_exceptions): Likewise.
6482         (test_single_errno): Likewise.
6483         (test_errno): Likewise.
6484         (ULPDIFF): Likewise.
6485         (ulp): Likewise.
6486         (check_float_internal): Likewise.
6487         (check_float): Likewise.
6488         (check_complex): Likewise.
6489         (check_int): Likewise.
6490         (check_long): Likewise.
6491         (check_bool): Likewise.
6492         (check_longlong): Likewise.
6493         (check_intmax_t): Likewise.
6494         (check_uintmax_t): Likewise.
6495         (enable_test): Likewise.
6496         (struct test_f_f_data): Likewise.
6497         (struct test_ff_f_data): Likewise.
6498         (struct test_fj_f_data): Likewise.
6499         (struct test_fi_f_data): Likewise.
6500         (struct test_fl_f_data): Likewise.
6501         (struct test_if_f_data): Likewise.
6502         (struct test_fff_f_data): Likewise.
6503         (struct test_fiu_M_data): Likewise.
6504         (struct test_fiu_U_data): Likewise.
6505         (struct test_c_f_data): Likewise.
6506         (struct test_f_f1_data): Likewise.
6507         (struct test_fF_f1_data): Likewise.
6508         (struct test_ffI_f1_data): Likewise.
6509         (struct test_c_c_data): Likewise.
6510         (struct test_cc_c_data): Likewise.
6511         (struct test_f_i_data): Likewise.
6512         (struct test_ff_i_data): Likewise.
6513         (struct test_f_l_data): Likewise.
6514         (struct test_f_L_data): Likewise.
6515         (struct test_fFF_11_data): Likewise.
6516         (struct test_Ff_b1_data): Likewise.
6517         (IF_ROUND_INIT_): Likewise.
6518         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6519         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6520         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6521         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6522         (ROUND_RESTORE_): Likewise.
6523         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6524         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6525         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6526         (ROUND_RESTORE_FE_UPWARD): Likewise.
6527         (RM_): Likewise.
6528         (RM_FE_DOWNWARD): Likewise.
6529         (RM_FE_TONEAREST): Likewise.
6530         (RM_FE_TOWARDZERO): Likewise.
6531         (RM_FE_UPWARD): Likewise.
6532         (COMMON_TEST_SETUP): Likewise.
6533         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6534         (COMMON_TEST_CLEANUP): Likewise.
6535         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6536         (RUN_TEST_f_f): Likewise.
6537         (RUN_TEST_LOOP_f_f): Likewise.
6538         (RUN_TEST_fp_f): Likewise.
6539         (RUN_TEST_LOOP_fp_f): Likewise.
6540         (RUN_TEST_2_f): Likewise.
6541         (RUN_TEST_LOOP_2_f): Likewise.
6542         (RUN_TEST_ff_f): Likewise.
6543         (RUN_TEST_LOOP_ff_f): Likewise.
6544         (RUN_TEST_LOOP_fj_f): Likewise.
6545         (RUN_TEST_fi_f): Likewise.
6546         (RUN_TEST_LOOP_fi_f): Likewise.
6547         (RUN_TEST_fl_f): Likewise.
6548         (RUN_TEST_LOOP_fl_f): Likewise.
6549         (RUN_TEST_if_f): Likewise.
6550         (RUN_TEST_LOOP_if_f): Likewise.
6551         (RUN_TEST_fff_f): Likewise.
6552         (RUN_TEST_LOOP_fff_f): Likewise.
6553         (RUN_TEST_fiu_M): Likewise.
6554         (RUN_TEST_LOOP_fiu_M): Likewise.
6555         (RUN_TEST_fiu_U): Likewise.
6556         (RUN_TEST_LOOP_fiu_U): Likewise.
6557         (RUN_TEST_c_f): Likewise.
6558         (RUN_TEST_LOOP_c_f): Likewise.
6559         (RUN_TEST_f_f1): Likewise.
6560         (RUN_TEST_LOOP_f_f1): Likewise.
6561         (RUN_TEST_fF_f1): Likewise.
6562         (RUN_TEST_LOOP_fF_f1): Likewise.
6563         (RUN_TEST_fI_f1): Likewise.
6564         (RUN_TEST_LOOP_fI_f1): Likewise.
6565         (RUN_TEST_ffI_f1_mod8): Likewise.
6566         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
6567         (RUN_TEST_Ff_b1): Likewise.
6568         (RUN_TEST_LOOP_Ff_b1): Likewise.
6569         (RUN_TEST_Ffp_b1): Likewise.
6570         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6571         (RUN_TEST_c_c): Likewise.
6572         (RUN_TEST_LOOP_c_c): Likewise.
6573         (RUN_TEST_cc_c): Likewise.
6574         (RUN_TEST_LOOP_cc_c): Likewise.
6575         (RUN_TEST_f_i): Likewise.
6576         (RUN_TEST_LOOP_f_i): Likewise.
6577         (RUN_TEST_f_i_tg): Likewise.
6578         (RUN_TEST_LOOP_f_i_tg): Likewise.
6579         (RUN_TEST_ff_b): Likewise.
6580         (RUN_TEST_LOOP_ff_b): Likewise.
6581         (RUN_TEST_ff_i_tg): Likewise.
6582         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6583         (RUN_TEST_f_b): Likewise.
6584         (RUN_TEST_LOOP_f_b): Likewise.
6585         (RUN_TEST_f_b_tg): Likewise.
6586         (RUN_TEST_LOOP_f_b_tg): Likewise.
6587         (RUN_TEST_f_l): Likewise.
6588         (RUN_TEST_LOOP_f_l): Likewise.
6589         (RUN_TEST_f_L): Likewise.
6590         (RUN_TEST_LOOP_f_L): Likewise.
6591         (RUN_TEST_fFF_11): Likewise.
6592         (RUN_TEST_LOOP_fFF_11): Likewise.
6593         (VEC_SUFF): Likewise.
6594         (STR_CONCAT): Likewise.
6595         (STR_CON3): Likewise.
6596         (HAVE_VECTOR): Likewise.
6597         (START): Likewise.
6598         (END): Likewise.
6599         (END_COMPLEX): Likewise.
6600         (ALL_RM_TEST): Likewise.
6601         (matherr): Likewise.
6602         (initialize): Likewise.
6603         (options): Likewise.
6604         (doc): Likewise.
6605         (parse_opt): Likewise.
6606         (argp): Likewise.
6607         (check_ulp): Likewise.
6608         (main): Likewise.
6609         (do_test): New function.  Call tests of individual functions
6610         previously called from main.
6612         * math/libm-test.inc: Remove comment listing functions tested and
6613         not tested.
6615 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6617         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
6618         (allocate_stack): Remove COLORING_INCREMENT usage.
6619         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
6620         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
6622 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6624         * manual/libm-err-tab.pl (@all_functions): Change to
6625         %all_functions.  Initialize as empty.
6626         (parse_ulps): Add to %all_functions based on functions found in
6627         ulps files.  Ignore results for non-default rounding modes and
6628         vector functions.
6629         (print_platforms): Use %all_platforms.
6630         * manual/math.texi (Errors in Math Functions): Document omissions
6631         from the table.
6633         * math/Makefile (before-compile): Remove.
6635 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
6637         [BZ #21075]
6638         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
6639         unused assignment.
6640         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6642 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6644         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
6645         Add __glibc_unlikely hint.
6647 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6649         [BZ #16640]
6650         * sysdeps/i386/i686/strtok.S: Remove file.
6651         * sysdeps/i386/i686/strtok_r.S: Likewise.
6652         * sysdeps/i386/strtok.S: Likewise.
6653         * sysdeps/i386/strtok_r.S: Likewise.
6654         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
6655         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
6656         * sysdeps/x86_64/strtok.S: Likewise.
6657         * sysdeps/x86_64/strtok_r.S: Likewise.
6659         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
6660         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6661         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6662         (__ASSUME_FADVISE64_AS_64_64): Define.
6663         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
6664         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
6665         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
6666         __ALIGNMENT_ARG usage.
6667         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
6668         __NR_fadvise64_64 if it is not defined.
6670 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6672         * version.h (RELEASE): Set to "development"
6673         (VERSION): Set to 2.25.90.
6674         * NEWS: Add 2.26 section.
6676         * version.h (RELEASE): Set to "stable"
6677         (VERSION): Set to 2.25.
6678         * include/features.h (__GLIBC_MINOR__): Set to 25.
6680         * manual/contrib.texi: Add more contributors from this release
6681         and past releases.
6683         * NEWS (2.25): Add list of bugs fixed.
6685         * NEWS: Add missing news items.
6687 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6689         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
6690         parent if child exited in that manner.  Print WEXITSTATUS
6691         instead of the raw status.
6692         (do_test_prep): Rename to do_test.
6693         (do_test): Return the result of run_executable_sgid.
6694         (TEST_FUNCTION_ARGV): Adjust.
6696 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
6697             Florian Weimer  <fweimer@redhat.com>
6698             Carlos O'Donell  <carlos@redhat.com>
6700         [BZ #20915]
6701         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
6702         Do not initialize DTV.
6703         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6705 2017-02-03  David S. Miller  <davem@davemloft.net>
6707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
6708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
6710         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
6712         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6713         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
6714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6715         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6716         (libm-sysdep_routines): Update.
6717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
6718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
6719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
6721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6722         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
6723         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
6724         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
6725         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
6726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
6727         Likewise.
6728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
6730         Likewise.
6731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
6733         Likewise.
6734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
6736         Likewise.
6737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6739         (libm-sysdep_routines): Update.
6741 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
6743         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6744         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
6745         against unrelocated shared library.
6746         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6748 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6750         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
6751         * elf/tst-env-setuid-tunables.c
6752         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
6753         GLIBC_TUNABLES is removed in a setgid process.
6755         [BZ #21073]
6756         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
6757         * elf/dl-tunables.c (tunables_strdup): Remove.
6758         (get_next_env): Also return the previous envp.
6759         (parse_tunables): Erase tunables of category
6760         TUNABLES_SECLEVEL_SXID_ERASE.
6761         (maybe_enable_malloc_check): Make MALLOC_CHECK_
6762         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
6763         (__tunables_init)[TUNABLES_FRONTEND ==
6764         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
6765         after parsing.
6766         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
6767         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
6768         * elf/dl-tunables.h (struct _tunable): Change member is_secure
6769         to security_level.
6770         * elf/dl-tunables.list: Add security_level annotations for all
6771         tunables.
6772         * scripts/gen-tunables.awk: Recognize and generate enum values
6773         for security_level.
6774         * elf/tst-env-setuid.c: New test case.
6775         * elf/tst-env-setuid-tunables: new test case.
6776         * elf/Makefile (tests-static): Add them.
6778 2017-02-01  Richard Henderson  <rth@twiddle.net>
6780         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6781         adjusting the byte count.
6783 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6785         * conform/Makefile (linknamespace-libs): Define.
6787         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6788         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6789         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6790         operands.
6792 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6794         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6796 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6798         [BZ #21081]
6799         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6800         (L(stosb)): Add VZEROUPPER before ret.
6802 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6803             Alexey Makhalov <amakhalov@vmware.com>
6804             Florian Weimer <fweimer@redhat.com>
6806         [BZ #20116]
6807         * nptl/pthread_create.c: Document concurrency notes.
6808         Enhance thread creation notes.
6809         (create_thread): Use bool *stopped_start.
6810         (START_THREAD_DEFN): Comment ownership of PD.
6811         (__pthread_create_2_1): Add local bool stopped_start and use
6812         that instead of pd->stopped_start where appropriate.
6813         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6814         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6815         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6816         * nptl/tst-create-detached.c: New file.
6817         * nptl/Makefile (tests): Add tst-create-detached.
6818         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6819         Reference the enhanced thread creation notes.
6820         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6821         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6822         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6823         (__pthread_current_priority): Likewise.
6824         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6825         xpthread_attr_init, xpthread_attr_setdetachstate, and
6826         xpthread_attr_setstacksize.
6827         * support/xpthread_attr_destroy.c: New file.
6828         * support/xpthread_attr_init.c: New file.
6829         * support/xpthread_attr_setdetachstate.c: New file.
6830         * support/xpthread_attr_setstacksize.c: New file.
6831         * support/xthread.h: Define prototypes for xpthread_attr_destroy
6832         xpthread_attr_init, xpthread_attr_setdetachstate, and
6833         xpthread_attr_setstacksize.
6835 2017-01-27  Florian Weimer  <fweimer@redhat.com>
6837         * nptl/Makefile (tests): Add tst-robust-fork.
6838         * nptl/tst-robust-fork.c: New file.
6839         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
6840         xpthread_mutex_consistent, xpthread_mutex_destroy,
6841         xpthread_mutex_init, xpthread_mutexattr_destroy,
6842         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
6843         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
6844         xpthread_mutexattr_settype.
6845         * support/xmmap.c: New file.
6846         * support/xmunmap.c: Likewise.
6847         * support/xpthread_mutex_consistent.c: Likewise.
6848         * support/xpthread_mutex_destroy.c: Likewise.
6849         * support/xpthread_mutex_init.c: Likewise.
6850         * support/xpthread_mutexattr_destroy.c: Likewise.
6851         * support/xpthread_mutexattr_init.c: Likewise.
6852         * support/xpthread_mutexattr_setprotocol.c: Likewise.
6853         * support/xpthread_mutexattr_setpshared.c: Likewise.
6854         * support/xpthread_mutexattr_setrobust.c: Likewise.
6855         * support/xpthread_mutexattr_settype.c: Likewise.
6856         * support/xthread.h (xpthread_mutexattr_destroy)
6857         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
6858         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
6859         (xpthread_mutexattr_settype, xpthread_mutex_init)
6860         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
6861         * support/xunistd.h (xmmap, xmunmap): Likewise.
6863 2017-01-25  Florian Weimer  <fweimer@redhat.com>
6865         * string/Makefile (xtests): Add comment.
6866         (LOCALES): Add en_GB.UTF-8.
6867         (tst-strcoll-overflow.out): Depend on generated locales.
6868         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
6869         (SIZE, TIMEOUT): Update comments.
6870         (do_test): Define as static.  Fail test if setlocale fails.
6871         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
6872         messages.
6873         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
6874         TIMEOUT at 300 seconds should be enough to run this test
6875         successfully.
6877 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
6879         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6880         /* FALLTHRU */ comments.
6882 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
6884         [BZ #21053]
6885         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
6886         constants instead of the old R* ones.
6887         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6888         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
6889         (NGREG): ... to this, to fit in with other architectures.
6890         (gpregset_t): Use new NGREG macro.
6891         [__USE_GNU]: Remove condition; all architectures other than tile
6892         are unconditional.
6893         (R*): Rename to REG_R*.
6895 2017-01-20  DJ Delorie  <dj@redhat.com>
6897         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
6898         (tunable_set_val_if_valid_range_signed) ... this, and ...
6899         (tunable_set_val_if_valid_range_unsigned) ... this.
6900         (tunable_initialize): Call the correct one of the above based on type.
6902 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
6904         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
6905         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6906         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6907         * sysdeps/microblaze/libm-test-ulps: Likewise.
6908         * sysdeps/sh/libm-test-ulps: Likewise.
6910         * math/README.libm-test: Update list of characters for input and
6911         output types.
6913 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6915         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6916         (__lll_unlock_elision): Fix adapt_count decrement.
6918 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
6920         * README.pretty-printers (Known issues): Warn about printers not
6921         always covering everything.
6922         * nptl/nptl-printers.py (MutexPrinter): Change output.
6923         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
6925 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6927         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
6928         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6929         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
6930         (__lll_lock_elision): Do not test futex before starting a
6931         transaction.  Use __glibc_likely instead of __builtin_expect.
6932         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
6933         (__lll_trylock_elision): Do not test futex before starting a
6934         transaction.  Use __glibc_likely instead of __builtin_expect.
6936 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6938         * po/Makefile (update-translations): New target.
6940 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6942         [BZ #21061]
6943         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
6945 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6947         * elf/dl-tunables (get_next_env): Always advance envp.
6948         * stdlib/tst-empty-env.c: New test case.
6949         * stdlib/Makefile (tests): Use it.
6951 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6953         [BZ #21047]
6954         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
6955         name for instruction.
6956         [!__SOFTFP__] (_FPU_SETCW): Likewise.
6958 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6960         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
6961         for make install.
6963 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6965         * po/bg.po: Merge from Translation Project.
6966         * po/fr.po: Likewise.
6967         * po/ko.po: Likewise.
6968         * po/nl.po: Likewise.
6969         * po/sv.po: Likewise.
6971 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6973         * manual/install.texi (Tools for Compilation): Update GCC version
6974         known to work to build glibc.
6975         * INSTALL: Regenerated.
6977 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6979         [BZ #21006]
6980         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
6982 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
6984         [BZ #21045]
6985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6986         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6987         to __sigprocmask.
6989 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
6991         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
6992         wrap-around.
6993         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
6995         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
6997 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6999         * NEWS: Fix typo.
7001 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7003         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
7004         barriers and comments.
7005         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
7006         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7007         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7009 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7011         [BZ #19402]
7012         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
7013         mutexes.
7015 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7017         [BZ #20985]
7018         * nptl/Makefile: Adapt.
7019         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7020         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7021         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7022         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7023         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
7024         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
7025         lll_robust* functions and adapt.
7026         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7027         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
7028         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7029         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7030         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
7031         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7032         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
7033         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7034         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
7035         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7036         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7037         * nptl/lowlevelrobustlock.c: Remove file.
7038         * nptl/lowlevelrobustlock.sym: Likewise.
7039         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
7040         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
7042 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7044         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7046 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7048         * po/cs.po: Merge translations from the Translation Project.
7049         * po/de.po: Likewise.
7050         * po/pl.po: Likewise.
7051         * po/ru.po: Likewise.
7052         * po/tr.po: Likewise.
7053         * po/uk.po: Likewise.
7054         * po/vi.po: Likewise.
7055         * po/zh_CN.po: Likewise.
7057 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
7059         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
7061         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
7062         object.
7064 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7066         [BZ #16458]
7067         * bits/uintn-identity.h: New file.
7068         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
7069         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
7070         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
7071         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
7072         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
7073         * string/endian.h: Include <bits/uintn-identity.h>.
7074         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
7075         __uint16_identity.
7076         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
7077         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
7078         __uint32_identity.
7079         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
7080         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
7081         __uint64_identity.
7082         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
7083         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
7084         __uint16_identity.
7085         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
7086         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
7087         __uint32_identity.
7088         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
7089         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
7090         __uint64_identity.
7091         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
7092         * string/Makefile (headers): Add bits/uintn-identity.h.
7093         (tests): Add test-endian-types.
7094         * string/test-endian-types.c: New file.
7095         * inet/Makefile (tests): Add test-hnto-types.
7096         * inet/test-hnto-types.c: New file.
7098 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7100         * po/be.po: Update from Translation Project.
7101         * po/bg.po: Likewise.
7102         * po/ca.po: Likewise.
7103         * po/cs.po: Likewise.
7104         * po/da.po: Likewise.
7105         * po/de.po: Likewise.
7106         * po/el.po: Likewise.
7107         * po/eo.po: Likewise.
7108         * po/es.po: Likewise.
7109         * po/fi.po: Likewise.
7110         * po/fr.po: Likewise.
7111         * po/gl.po: Likewise.
7112         * po/hr.po: Likewise.
7113         * po/hu.po: Likewise.
7114         * po/ia.po: Likewise.
7115         * po/id.po: Likewise.
7116         * po/it.po: Likewise.
7117         * po/ja.po: Likewise.
7118         * po/ko.po: Likewise.
7119         * po/lt.po: Likewise.
7120         * po/nb.po: Likewise.
7121         * po/nl.po: Likewise.
7122         * po/pl.po: Likewise.
7123         * po/pt_BR.po: Likewise.
7124         * po/ru.po: Likewise.
7125         * po/rw.po: Likewise.
7126         * po/sk.po: Likewise.
7127         * po/sl.po: Likewise.
7128         * po/sv.po: Likewise.
7129         * po/tr.po: Likewise.
7130         * po/uk.po: Likewise.
7131         * po/vi.po: Likewise.
7132         * po/zh_CN.po: Likewise.
7133         * po/zh_TW.po: Likewise.
7135 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7137         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
7138         -Wformat-truncation instead of -Wformat-length.
7139         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
7140         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
7141         GCC 7.
7142         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
7143         (do_test): Ignore -Wformat-truncation for GCC 7.
7145         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
7146         buffer used to print long int value.
7148         * elf/sotruss-lib.c (init): Increase space allocated for pid by
7149         one byte.  Print it with %ld, cast to long int.
7151 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7153         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7154         (re.fullmatch, subprocess.run): Likewise.
7156 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7158         * po/libc.pot: Regenerate.
7160 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7162         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7163         (min_strlen): Likewise.
7164         (disable_tunable): Likewise.
7165         (maybe_disable_malloc_check): Rename to
7166         maybe_enable_malloc_check.
7167         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7168         if /etc/suid-debug file exists.
7169         (__tunables_init): Update caller.
7170         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7171         secure.
7173 2016-01-10  Torvald Riegel  <triegel@redhat.com>
7175         * nptl/DESIGN-rwlock.txt: Remove.
7176         * nptl/lowlevelrwlock.sym: Remove.
7177         * nptl/Makefile: Add new tests.
7178         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
7179         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7180         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7181         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7182         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7183         PTHREAD_RWLOCK_FUTEX_USED): New.
7184         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7185         implementation.
7186         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7187         (__pthread_rwlock_rdlock): Adapt.
7188         * nptl/pthread_rwlock_timedrdlock.c
7189         (pthread_rwlock_timedrdlock): Adapt.
7190         * nptl/pthread_rwlock_timedwrlock.c
7191         (pthread_rwlock_timedwrlock): Adapt.
7192         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7193         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7194         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7195         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7196         (__pthread_rwlock_wrlock): Adapt.
7197         * nptl/tst-rwlock10.c: Adapt.
7198         * nptl/tst-rwlock11.c: Adapt.
7199         * nptl/tst-rwlock17.c: New file.
7200         * nptl/tst-rwlock18.c: New file.
7201         * nptl/tst-rwlock19.c: New file.
7202         * nptl/tst-rwlock2b.c: New file.
7203         * nptl/tst-rwlock8.c: Adapt.
7204         * nptl/tst-rwlock9.c: Adapt.
7205         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7206         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7207         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7208         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7209         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7210         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7211         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7212         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7213         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7214         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7215         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7216         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7217         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7218         (pthread_rwlock_t): Adapt.
7219         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7220         (pthread_rwlock_t): Adapt.
7221         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7222         * nptl/nptl-printers.py (): Adapt.
7223         * nptl/nptl_lock_constants.pysym: Adapt.
7224         * nptl/test-rwlock-printers.py: Adapt.
7225         * nptl/test-rwlockattr-printers.c: Adapt.
7226         * nptl/test-rwlockattr-printers.py: Adapt.
7228 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7230         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7231         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7232         (fma_test_data): Likewise.
7233         (hypot_test_data): Likewise.
7234         (log1p_test_data): Likewise.
7235         (modf_test_data): Likewise.
7236         (pow_test_data): Likewise.
7237         (remainder_test_data): Likewise.
7238         (remquo_test_data): Likewise.
7239         (scalb_test_data): Likewise.
7240         (scalbn_test_data): Likewise.
7241         (scalbln_test_data): Likewise.
7242         * math/gen-libm-test.pl (parse_args): Transform
7243         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7244         on the rounding mode.
7246 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7248         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7249         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7250         and those that can underflow to zero.
7251         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7252         add others.
7253         * math/auto-libm-test-out: Regenerated.
7255         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7256         supported.
7257         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7258         modes support if not supported.
7260         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7261         Add libc.so PLT entry.
7262         (__tls_get_addr): Make ld.so PLT entry optional.
7264 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7266         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7267         * string/bits/string3.h: ... here.
7269 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7271         [BZ #21028]
7272         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7273         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7274         if EXCEPTION_TESTS returns false.
7276 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7278         [BZ #20558]
7279         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7280         strings_fortified.h.
7281         [__USE_MISC] (bzero): Likewise.
7282         [__USE_MISC] (explicit_bzero): Likewise.
7283         * string/strings.h: Include strings_fortified.h.
7284         * string/Makefile (headers): Add strings_fortified.h.
7285         * string/bits/strings_fortified.h: New file.
7286         * include/bits/strings_fortified.h: Likewise.
7288 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7290         * elf/tst-tls13.c (TIMEOUT): Remove.
7291         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7292         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7293         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7294         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7295         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7297         [BZ #21026]
7298         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7299         (readahead): New syscall entry.
7301 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7303         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7304         around tests of strncat with large sizes.
7306         * malloc/tst-malloc.c: Include <libc-internal.h>.
7307         (do_test): Disable -Walloc-size-larger-than= around tests of
7308         malloc with negative sizes.
7309         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7310         (do_test): Disable -Walloc-size-larger-than= around tests of
7311         malloc and realloc with negative sizes.
7312         * malloc/tst-realloc.c: Include <libc-internal.h>.
7313         (do_test): Disable -Walloc-size-larger-than= around tests of
7314         realloc with negative sizes.
7316         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7317         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7318         allowed to 16 ulps.
7319         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7320         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7321         * math/auto-libm-test-out: Regenerated.
7323 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7325         * math/Makefile (libm-calls): Move wrappers...
7326         (libm-compat-call-auto): Here.
7327         (libm-routines): Add items in libm-compat-calls-auto.
7328         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7329         the filenames of the wrappers that have been renamed.
7330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7333         * math/w_acos.c: Add _compat suffix to filename.
7334         * math/w_acosf.c: Likewise.
7335         * math/w_acosh.c: Likewise.
7336         * math/w_acoshf.c: Likewise.
7337         * math/w_acoshl.c: Likewise.
7338         * math/w_acosl.c: Likewise.
7339         * math/w_asin.c: Likewise.
7340         * math/w_asinf.c: Likewise.
7341         * math/w_asinl.c: Likewise.
7342         * math/w_atan2.c: Likewise.
7343         * math/w_atan2f.c: Likewise.
7344         * math/w_atan2l.c: Likewise.
7345         * math/w_atanh.c: Likewise.
7346         * math/w_atanhf.c: Likewise.
7347         * math/w_atanhl.c: Likewise.
7348         * math/w_cosh.c: Likewise.
7349         * math/w_coshf.c: Likewise.
7350         * math/w_coshl.c: Likewise.
7351         * math/w_exp10.c: Likewise.
7352         * math/w_exp10f.c: Likewise.
7353         * math/w_exp10l.c: Likewise.
7354         * math/w_exp2.c: Likewise.
7355         * math/w_exp2f.c: Likewise.
7356         * math/w_exp2l.c: Likewise.
7357         * math/w_fmod.c: Likewise.
7358         * math/w_fmodf.c: Likewise.
7359         * math/w_fmodl.c: Likewise.
7360         * math/w_hypot.c: Likewise.
7361         * math/w_hypotf.c: Likewise.
7362         * math/w_hypotl.c: Likewise.
7363         * math/w_j0.c: Likewise.
7364         * math/w_j0f.c: Likewise.
7365         * math/w_j0l.c: Likewise.
7366         * math/w_j1.c: Likewise.
7367         * math/w_j1f.c: Likewise.
7368         * math/w_j1l.c: Likewise.
7369         * math/w_jn.c: Likewise.
7370         * math/w_jnf.c: Likewise.
7371         * math/w_jnl.c: Likewise.
7372         * math/w_log10.c: Likewise.
7373         * math/w_log10f.c: Likewise.
7374         * math/w_log10l.c: Likewise.
7375         * math/w_log2.c: Likewise.
7376         * math/w_log2f.c: Likewise.
7377         * math/w_log2l.c: Likewise.
7378         * math/w_log.c: Likewise.
7379         * math/w_logf.c: Likewise.
7380         * math/w_logl.c: Likewise.
7381         * math/w_pow.c: Likewise.
7382         * math/w_powf.c: Likewise.
7383         * math/w_powl.c: Likewise.
7384         * math/w_remainder.c: Likewise.
7385         * math/w_remainderf.c: Likewise.
7386         * math/w_remainderl.c: Likewise.
7387         * math/w_scalb.c: Likewise.
7388         * math/w_scalbf.c: Likewise.
7389         * math/w_scalbl.c: Likewise.
7390         * math/w_sinh.c: Likewise.
7391         * math/w_sinhf.c: Likewise.
7392         * math/w_sinhl.c: Likewise.
7393         * math/w_sqrt.c: Likewise.
7394         * math/w_sqrtf.c: Likewise.
7395         * math/w_sqrtl.c: Likewise.
7396         * math/w_tgamma.c: Likewise.
7397         * math/w_tgammaf.c: Likewise.
7398         * math/w_tgammal.c: Likewise.
7400         * math/w_acos_compat.c: New file copied from above and
7401         adjusted for new #includes path
7402         * math/w_acosf_compat.c: Likewise.
7403         * math/w_acosh_compat.c: Likewise.
7404         * math/w_acoshf_compat.c: Likewise.
7405         * math/w_acoshl_compat.c: Likewise.
7406         * math/w_acosl_compat.c: Likewise.
7407         * math/w_asin_compat.c: Likewise.
7408         * math/w_asinf_compat.c: Likewise.
7409         * math/w_asinl_compat.c: Likewise.
7410         * math/w_atan2_compat.c: Likewise.
7411         * math/w_atan2f_compat.c: Likewise.
7412         * math/w_atan2l_compat.c: Likewise.
7413         * math/w_atanh_compat.c: Likewise.
7414         * math/w_atanhf_compat.c: Likewise.
7415         * math/w_atanhl_compat.c: Likewise.
7416         * math/w_cosh_compat.c: Likewise.
7417         * math/w_coshf_compat.c: Likewise.
7418         * math/w_coshl_compat.c: Likewise.
7419         * math/w_exp10_compat.c: Likewise.
7420         * math/w_exp10f_compat.c: Likewise.
7421         * math/w_exp10l_compat.c: Likewise.
7422         * math/w_exp2_compat.c: Likewise.
7423         * math/w_exp2f_compat.c: Likewise.
7424         * math/w_exp2l_compat.c: Likewise.
7425         * math/w_fmod_compat.c: Likewise.
7426         * math/w_fmodf_compat.c: Likewise.
7427         * math/w_fmodl_compat.c: Likewise.
7428         * math/w_hypot_compat.c: Likewise.
7429         * math/w_hypotf_compat.c: Likewise.
7430         * math/w_hypotl_compat.c: Likewise.
7431         * math/w_j0_compat.c: Likewise.
7432         * math/w_j0f_compat.c: Likewise.
7433         * math/w_j0l_compat.c: Likewise.
7434         * math/w_j1_compat.c: Likewise.
7435         * math/w_j1f_compat.c: Likewise.
7436         * math/w_j1l_compat.c: Likewise.
7437         * math/w_jn_compat.c: Likewise.
7438         * math/w_jnf_compat.c: Likewise.
7439         * math/w_jnl_compat.c: Likewise.
7440         * math/w_log10_compat.c: Likewise.
7441         * math/w_log10f_compat.c: Likewise.
7442         * math/w_log10l_compat.c: Likewise.
7443         * math/w_log2_compat.c: Likewise.
7444         * math/w_log2f_compat.c: Likewise.
7445         * math/w_log2l_compat.c: Likewise.
7446         * math/w_log_compat.c: Likewise.
7447         * math/w_logf_compat.c: Likewise.
7448         * math/w_logl_compat.c: Likewise.
7449         * math/w_pow_compat.c: Likewise.
7450         * math/w_powf_compat.c: Likewise.
7451         * math/w_powl_compat.c: Likewise.
7452         * math/w_remainder_compat.c: Likewise.
7453         * math/w_remainderf_compat.c: Likewise.
7454         * math/w_remainderl_compat.c: Likewise.
7455         * math/w_scalb_compat.c: Likewise.
7456         * math/w_scalbf_compat.c: Likewise.
7457         * math/w_scalbl_compat.c: Likewise.
7458         * math/w_sinh_compat.c: Likewise.
7459         * math/w_sinhf_compat.c: Likewise.
7460         * math/w_sinhl_compat.c: Likewise.
7461         * math/w_sqrt_compat.c: Likewise.
7462         * math/w_sqrtf_compat.c: Likewise.
7463         * math/w_sqrtl_compat.c: Likewise.
7464         * math/w_tgamma_compat.c: Likewise.
7465         * math/w_tgammaf_compat.c: Likewise.
7466         * math/w_tgammal_compat.c: Likewise.
7468         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
7469         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7470         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7471         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7472         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7473         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7474         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7475         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7476         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7477         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
7478         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
7479         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
7480         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7481         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7482         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7483         * sysdeps/ia64/fpu/w_powl.c: Likewise.
7484         * sysdeps/ia64/fpu/w_powf.c: Likewise.
7485         * sysdeps/ia64/fpu/w_pow.c: Likewise.
7486         * sysdeps/ia64/fpu/w_logl.c: Likewise.
7487         * sysdeps/ia64/fpu/w_logf.c: Likewise.
7488         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7489         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7490         * sysdeps/ia64/fpu/w_log2.c: Likewise.
7491         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7492         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7493         * sysdeps/ia64/fpu/w_log10.c: Likewise.
7494         * sysdeps/ia64/fpu/w_log.c: Likewise.
7495         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7496         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7497         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7498         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7499         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7500         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7501         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7502         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7503         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7504         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7505         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7506         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7507         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7508         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7509         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7510         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7511         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7512         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7513         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7514         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7515         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7516         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7517         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7518         * sysdeps/ia64/fpu/w_asin.c: Likewise.
7519         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7520         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7521         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7522         * sysdeps/ia64/fpu/w_acos.c: Likewise.
7523         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7524         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7525         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7526         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
7527         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
7528         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
7529         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
7530         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
7531         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
7532         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
7533         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
7534         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
7535         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
7536         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
7537         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
7538         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
7539         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
7540         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
7541         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
7542         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
7543         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
7544         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
7545         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
7546         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
7547         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
7548         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
7549         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
7550         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
7551         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
7552         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
7553         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
7554         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
7555         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
7556         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
7557         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
7558         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
7559         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
7560         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
7561         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
7562         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
7563         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
7564         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
7565         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
7566         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
7567         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
7568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
7569         Likewise.
7570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
7571         Likewise.
7572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
7573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
7574         Likewise.
7575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
7576         Likewise.
7577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
7578         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7579         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7580         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7581         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7582         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7583         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
7585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
7587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7588         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7589         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7590         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7591         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7593         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
7594         and adjusted for new #includes path
7595         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
7596         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
7597         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
7598         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
7599         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
7600         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
7601         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
7602         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
7603         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
7604         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
7605         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
7606         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
7607         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
7608         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
7609         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
7610         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
7611         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
7612         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
7613         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
7614         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
7615         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
7616         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
7617         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
7618         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
7619         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
7620         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
7621         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
7622         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
7623         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
7624         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
7625         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
7626         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
7627         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
7628         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
7629         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
7630         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
7631         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
7632         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
7633         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
7634         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
7635         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
7636         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
7637         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
7638         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
7639         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
7640         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
7641         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
7642         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
7643         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
7644         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
7645         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
7646         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
7647         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
7648         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
7649         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
7650         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
7651         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
7652         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
7653         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
7654         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7655         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7656         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
7657         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7658         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
7659         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7660         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
7661         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7662         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
7663         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7664         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
7665         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
7666         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
7667         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7668         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
7669         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7670         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
7671         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7672         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
7673         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7674         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
7675         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7676         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
7677         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7678         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
7679         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7680         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
7681         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7682         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
7683         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7684         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
7685         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7686         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
7687         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
7688         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
7689         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7690         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
7691         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7692         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
7693         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7695         Likewise.
7696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7697         Likewise.
7698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7699         Likewise.
7700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7701         Likewise.
7702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7703         Likewise.
7704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7705         Likewise.
7706         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7707         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7708         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7709         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7710         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
7711         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7713         Likewise.
7714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
7715         Likewise.
7716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7717         Likewise.
7718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
7719         Likewise.
7720         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
7721         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7722         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7723         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7725 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7727         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
7728         __jmp_buf_internal_tag.
7730         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
7731         preserve NaN payload if [__mips_nan2008].
7732         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
7734         [BZ #21022]
7735         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
7737 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7739         * sysdeps/i386/fpu/libm-test-ulps: Update.
7741 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7743         * sysdeps/ia64/strcat.c: Remove file.
7744         * sysdeps/powerpc/strcat.c: Likewise.
7745         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
7746         C implementation.
7747         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
7748         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
7750 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7751             Steven Munroe  <sjmunroe@us.ibm.com>
7752             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7754         [BZ #20822]
7755         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7756         (__lll_lock_elision): Access adapt_count via C11 atomics.
7757         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7758         (__lll_trylock_elision): Likewise.
7759         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7760         (__lll_unlock_elision):  Update adapt_count variable inside the
7761         critical section using C11 atomics.
7763 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7765         * math/test-fenvinline.c (do_test): Disable tests of raised
7766         exceptions if !EXCEPTION_TESTS (FLOAT).
7768 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7770         [BZ #19390]
7771         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
7772         maximum string size.
7773         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
7774         in pointer addition.
7775         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7776         Likewise.
7778 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7780         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7781         passed to tst-ldconfig-X.sh.
7783 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7785         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7787 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7789         [BZ #21019]
7790         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7791         New syscall entry.
7792         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7793         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7794         lseek.
7796         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7797         power4 glibc for powerpc-linux-gnu.
7799 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7801         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7802         semctl.
7804 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7806         * math/test-nearbyint-except.c: Include <stdbool.h>.
7807         (any_supported): New variable.
7808         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7809         set any_supported.
7810         (do_test): Return 77 if no floating-point type supported
7811         exceptions.
7813         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7814         condition on [__mips_hard_float].
7816 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7818         [BZ #21014]
7819         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7820         in pointer addition.
7821         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7823 2017-01-02  Torvald Riegel  <triegel@redhat.com>
7825         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7826         new condvar.
7828 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7830         * scripts/build-many-glibcs.py (Context.checkout): Default
7831         binutils version to 2.28 branch.
7833 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7835         * support/support_format_netent.c (support_format_netent): Work
7836         around alpha struct netent definition difference.
7838 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7840         * support/xwrite.c (xwrite): Use %td for pointer difference.
7842 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7844         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
7845         have-tunables only.
7846         (tests-static): Add tst-malloc-usable-static-tunables for
7847         have-tunables only.
7849 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
7851         * scripts/config.guess: Update to version 2017-01-01.
7852         * scripts/config.sub: Update to version 2017-01-01.
7854         * NEWS: Update copyright dates.
7855         * catgets/gencat.c (print_version): Likewise.
7856         * csu/version.c (banner): Likewise.
7857         * debug/catchsegv.sh: Likewise.
7858         * debug/pcprofiledump.c (print_version): Likewise.
7859         * debug/xtrace.sh (do_version): Likewise.
7860         * elf/ldconfig.c (print_version): Likewise.
7861         * elf/ldd.bash.in: Likewise.
7862         * elf/pldd.c (print_version): Likewise.
7863         * elf/sotruss.sh: Likewise.
7864         * elf/sprof.c (print_version): Likewise.
7865         * iconv/iconv_prog.c (print_version): Likewise.
7866         * iconv/iconvconfig.c (print_version): Likewise.
7867         * locale/programs/locale.c (print_version): Likewise.
7868         * locale/programs/localedef.c (print_version): Likewise.
7869         * login/programs/pt_chown.c (print_version): Likewise.
7870         * malloc/memusage.sh (do_version): Likewise.
7871         * malloc/memusagestat.c (print_version): Likewise.
7872         * malloc/mtrace.pl: Likewise.
7873         * manual/libc.texinfo: Likewise.
7874         * nptl/version.c (banner): Likewise.
7875         * nscd/nscd.c (print_version): Likewise.
7876         * nss/getent.c (print_version): Likewise.
7877         * nss/makedb.c (print_version): Likewise.
7878         * posix/getconf.c (main): Likewise.
7879         * scripts/test-installation.pl: Likewise.
7880         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7882         * All files with FSF copyright notices: Update copyright dates
7883         using scripts/update-copyrights.
7884         * intl/plural.c: Regenerated.
7885         * locale/programs/charmap-kw.h: Likewise.
7886         * locale/programs/locfile-kw.h: Likewise.
7888 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7890         [BZ #20593]
7891         Update DNS RR type definitions.
7892         * scripts/gen-rrtypes.py: New file.
7893         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
7894         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
7895         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
7896         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
7897         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
7898         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
7899         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
7900         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
7901         ns_t_ta, ns_t_dlv.
7902         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
7903         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
7904         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
7905         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
7906         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
7907         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
7908         Define.
7909         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
7910         entry for ns_t_zxfr.
7912 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7914         [BZ #18784]
7915         CVE-2015-5180
7916         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
7917         T_UNSPEC.  Adjust value.
7918         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
7919         * resolv/res_query.c (__libc_res_nquery): Likewise.
7920         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
7921         QTYPEs.
7922         * resolv/tst-resolv-qtypes.c: New file.
7923         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
7924         (tst-resolv-qtypes): Link against libresolv and libpthread.
7926 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7928         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
7930 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7932         * manual/tunables.texi: New chapter.
7933         * manual/Makefile (chapters): Add it.
7934         * manual/probes.texi (@node): Point to the Tunables chapter.
7936         * Makeconfig (have-tunables): Check for non-negative instead
7937         of positive.
7938         * configure.ac: Add 'valstring' as a valid value for
7939         --enable-tunables.
7940         * configure: Regenerate.
7941         * elf/Makefile (have-tunables): Check for non-negative instead
7942         of positive.
7943         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
7944         dl-tunables.c.
7945         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
7946         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7947         (tunables_strdup): Likewise.
7948         (disable_tunables): Likewise.
7949         (parse_tunables): Likewise.
7950         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
7951         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7952         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
7953         (TUNABLES_FRONTEND_yes): New macro, define as
7954         TUNABLES_FRONTEND_valstring by default.
7955         * manual/install.texi: Document new acceptable values for
7956         --enable-tunables.
7957         * INSTALL: Regenerate.
7959         * config.make.in (have-loop-to-function): Define.
7960         * elf/Makefile (CFLAGS-dl-tunables.c): Add
7961         -fno-tree-loop-distribute-patterns.
7962         * elf/dl-tunables.c: Include libc-internals.h.
7963         (GLIBC_TUNABLES): New macro.
7964         (tunables_strdup): New function.
7965         (parse_tunables): New function.
7966         (min_strlen): New function.
7967         (__tunables_init): Use the new functions and macro.
7968         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
7969         * malloc/tst-malloc-usable-tunables.c: New test case.
7970         * malloc/tst-malloc-usable-static-tunables.c: New test case.
7971         * malloc/Makefile (tests, tests-static): Add tests.
7973         * manual/install.texi: Add --enable-tunables option.
7974         * INSTALL: Regenerate.
7975         * README.tunables: New file.
7976         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
7977         (before-compile): Generate dl-tunable-list.h early.
7978         * config.h.in: Add HAVE_TUNABLES.
7979         * config.make.in: Add have-tunables.
7980         * configure.ac: Add --enable-tunables option.
7981         * configure: Regenerate.
7982         * csu/init-first.c (__libc_init_first): Move
7983         __libc_init_secure earlier...
7984         * csu/init-first.c (LIBC_START_MAIN):... to here.
7985         Include dl-tunables.h, libc-internal.h.
7986         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
7987         binaries.
7988         * elf/Makefile (dl-routines): Add dl-tunables.
7989         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
7990         namespace.
7991         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
7992         only when !HAVE_TUNABLES.
7993         * elf/rtld.c (process_envvars): Likewise.
7994         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
7995         (_dl_sysdep_start): Call __tunables_init.
7996         * elf/dl-tunable-types.h: New file.
7997         * elf/dl-tunables.c: New file.
7998         * elf/dl-tunables.h: New file.
7999         * elf/dl-tunables.list: New file.
8000         * malloc/tst-malloc-usable-static.c: New test case.
8001         * malloc/Makefile (tests-static): Add it.
8002         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
8003         Define TUNABLE_NAMESPACE.
8004         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
8005         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
8006         callback functions.
8007         (ptmalloc_init): Set tunable values.
8008         * scripts/gen-tunables.awk: New file.
8009         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
8010         (_dl_sysdep_start): Call __tunables_init.
8012 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8014         * resolv/resolv.h (RES_BLAST): Deprecate.
8015         * resolv/res_debug.c (p_option): Remove RES_BLAST.
8016         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
8017         to RES_BLAST.
8019 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8021         [BZ #19582]
8022         Deprecate RES_USE_INET6.
8023         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
8024         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
8025         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
8026         RES_USE_INET6.
8027         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
8028         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
8029         (_nss_nisplus_gethostbyaddr_r): Likewise.
8030         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
8031         of res_use_inet6.
8032         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
8033         instead of RES_USE_INET6.
8034         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
8035         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
8036         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
8037         Likewise.
8038         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
8039         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
8040         Likewise.
8041         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
8042         (_nss_dns_gethostbyname_r): Likewise.
8043         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
8044         alternate RES_USE_INET6 handling.
8045         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
8046         instead of RES_USE_INET6.
8047         * resolv/res_init.c (res_setoptions): Likewise.
8048         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
8049         * resolv/resolv-internal.h: New file.
8050         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
8051         make the deprecation warning non-fatal.
8052         * resolv/README (Using the resolver in multi-threaded code): Drop
8053         reference to RES_USE_INET6.
8054         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
8055         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
8057 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8059         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
8060         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
8061         tst-resolv-search.
8062         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
8063         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
8064         with libresolv and libpthread.
8065         * resolv/tst-bug18665.c: New file.
8066         * resolv/tst-bug18665-tcp: Likewise.
8067         * resolv/tst-res_use_inet6: Likewise.
8068         * resolv/tst-resolv-basic: Likewise.
8069         * resolv/tst-resolv-network: Likewise.
8070         * resolv/tst-resolv-search: Likewise.
8071         * support/Makefile (libsupport-routines): Add check_addrinfo,
8072         check_dns_packet, check_hostent, check_netent, resolv_test,
8073         support_format_address_family, support_format_addrinfo,
8074         support_format_dns_packet, support_format_herrno,
8075         support_format_hostent, support_format_netent, support_run_diff,
8076         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
8077         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
8078         xstrdup, xwrite.
8079         * support/check_addrinfo.c: New file.
8080         * support/check_dns_packet.c: Likewise.
8081         * support/check_hostent.c: Likewise.
8082         * support/check_netent.c: Likewise.
8083         * support/check_nss.h: Likewise.
8084         * support/format_nss.h: Likewise.
8085         * support/resolv_test.c: Likewise.
8086         * support/resolv_test.h: Likewise.
8087         * support/run_diff.h: Likewise.
8088         * support/support_format_address_family.c: Likewise.
8089         * support/support_format_addrinfo.c: Likewise.
8090         * support/support_format_dns_packet.c: Likewise.
8091         * support/support_format_herrno.c: Likewise.
8092         * support/support_format_hostent.c: Likewise.
8093         * support/support_format_netent.c: Likewise.
8094         * support/support_run_diff.c: Likewise.
8095         * support/xaccept.c: Likewise.
8096         * support/xbind.c: Likewise.
8097         * support/xconnect.c: Likewise.
8098         * support/xfclose.c: Likewise.
8099         * support/xfopen.c: Likewise.
8100         * support/xgetsockname.c: Likewise.
8101         * support/xlisten.c: Likewise.
8102         * support/xmemstream.c: Likewise.
8103         * support/xmemstream.h: Likewise.
8104         * support/xpoll.c: Likewise.
8105         * support/xpthread_once.c: Likewise.
8106         * support/xrecvfrom.c: Likewise.
8107         * support/xsendto.c: Likewise.
8108         * support/xsetsockopt.c: Likewise.
8109         * support/xstdio.h: Likewise.
8110         * support/xstrdup.c: Likewise.
8111         * support/support.h (xstrdup): Declare.
8112         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
8113         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
8114         * support/xthread.h (xpthread_once): Likwise.
8115         * support/xunistd.h (xwrite): Declare.
8117 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8119         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
8120         (test_verbose): Declare.
8121         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
8122         * support/support_test_main.c (default_options): Likewise.
8123         (usage, support_test_main): Handle 'v'.
8124         (test_verbose): Define.
8125         * support/tst-support_record_failure.c (do_test): Use
8126         test_verbose.
8127         * support/tst-support_record_failure-2.sh (different_status): Add
8128         --verbose test.
8130 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8132         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
8133         test failures are recorded.
8134         * support/check.c (support_print_failure_impl): Call
8135         support_record_failure.
8136         (support_exit_failure_impl): Call support_record_failure if status
8137         indicates failure.
8138         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
8139         * support/xasprintf.c (xasprintf): Likewise.
8140         * support/xfork.c (xfork): Likewise.
8141         * support/xpthread_check_return.c (xpthread_check_return):
8142         Likewise.
8143         * support/xsocket.c (xsocket): Likeweise.
8144         * support/xwaitpid.c (xwaitpid): Likewise.
8145         * support/support_record_failure.c (struct test_failures): Adjust
8146         to coding style.
8147         * support/support_test_verify_impl.c (support_test_verify_impl):
8148         Adjust error messages.
8149         * support/tst-support_record_failure-2.sh (different_status):
8150         Adjust error messages.
8152 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8154         * support/namespace.h: New file.
8155         * support/support_become_root.c: Likewise.
8156         * support/support_enter_network_namespace.c: Likewise.
8157         * support/tst-support-namespace.c: Likewise.
8158         * support/xsocket.c: Likewise.
8159         * support/xsocket.h: Likewise.
8160         * support/Makefile (libsupport-routines): Add support_become_root,
8161         support_enter_network_namespace, xsocket.
8162         (tests): Add tst-support-namespace.
8164 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8166         [BZ #17252]
8167         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8168         __USE_GNU.
8170 2016-12-31  Torvald Riegel  <triegel@redhat.com>
8172         [BZ #13165]
8173         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8174         use new algorithm.
8175         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8176         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8177         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8178         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8179         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8180         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8181         __condvar_cleanup_waiting, __condvar_dec_grefs,
8182         __pthread_cond_wait_common): New.
8183         (__condvar_cleanup): Remove.
8184         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8185         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8186         Likewise.
8187         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8188         Likewise.
8189         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8190         * nptl/tst-cond1.c: Add comment.
8191         * nptl/tst-cond20.c (do_test): Adapt.
8192         * nptl/tst-cond22.c (do_test): Likewise.
8193         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8194         structure.
8195         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8196         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8197         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8198         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8199         Likewise.
8200         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8201         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8202         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8203         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8204         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8205         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8206         Likewise.
8207         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8208         Likewise.
8209         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8210         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8211         (COND_CLOCK_BITS): Adapt.
8212         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8213         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8214         __PTHREAD_COND_SHARED_MASK): New.
8215         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8216         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8217         * nptl/nptl_lock_constants.pysym: Adapt.
8218         * nptl/test-cond-printers.py: Adapt.
8219         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8220         cond_compat_check_and_clear): Adapt.
8221         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8223         (__pthread_cond_timedwait): ... and move here.
8224         * nptl/DESIGN-condvar.txt: Remove file.
8225         * nptl/lowlevelcond.sym: Likewise.
8226         * nptl/pthread_cond_timedwait.c: Likewise.
8227         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8228         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8229         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8230         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8231         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8232         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8233         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8234         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8235         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8236         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8237         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8238         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8239         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8240         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8241         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8242         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8244 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8246         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8247         (fromfp): New declaration.
8248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8251         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8256         * math/math.h: Include <bits/types.h>.
8257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8258         constant and macro.
8259         (FP_INT_DOWNWARD): Likewise.
8260         (FP_INT_TOWARDZERO): Likewise.
8261         (FP_INT_TONEARESTFROMZERO): Likewise.
8262         (FP_INT_TONEAREST): Likewise.
8263         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8264         (fromfpf): Likewise.
8265         (fromfpl): Likewise.
8266         (ufromfp): Likewise.
8267         (ufromfpf): Likewise.
8268         (ufromfpl): Likewise.
8269         (fromfpx): Likewise.
8270         (fromfpxf): Likewise.
8271         (fromfpxl): Likewise.
8272         (ufromfpx): Likewise.
8273         (ufromfpxf): Likewise.
8274         (ufromfpxl): Likewise.
8275         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8276         s_fromfpxF and s_ufromfpxF.
8277         * math/gen-fromfp-tests.py: New file.
8278         * math/gen-fromfp-tests-inputs: Likewise.
8279         * math/libm-test.inc: Include <stdint.h>
8280         (check_intmax_t): New function.
8281         (check_uintmax_t): Likewise.
8282         (struct test_fiu_M_data): New type.
8283         (struct test_fiu_U_data): Likewise.
8284         (RUN_TEST_fiu_M): New macro.
8285         (RUN_TEST_LOOP_fiu_M): Likewise.
8286         (RUN_TEST_fiu_U): Likewise.
8287         (RUN_TEST_LOOP_fiu_U): Likewise.
8288         (fromfp_test_data): New array.
8289         (fromfp_test): New function.
8290         (fromfpx_test_data): New array.
8291         (fromfpx_test): New function.
8292         (ufromfp_test_data): New array.
8293         (ufromfp_test): New function.
8294         (ufromfpx_test_data): New array.
8295         (ufromfpx_test): New function.
8296         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8297         ufromfpx_test.
8298         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8299         characters.
8300         * math/test-tgmath-ret.c: Include <stdint.h>.
8301         (rm): New variable.
8302         (width): Likewise.
8303         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8304         called function.
8305         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8306         CHECK_RET_CONST_TYPE.
8307         (CHECK_RET_CONST_DOUBLE): Likewise.
8308         (CHECK_RET_CONST_LDOUBLE): Likewise.
8309         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8310         macros.
8311         (fromfp): New CHECK_RET_CONST call.
8312         (ufromfp): Likewise.
8313         (fromfpx): Likewise.
8314         (ufromfpx): Likewise.
8315         (do_test): Call check_return_fromfp, check_return_ufromfp,
8316         check_return_fromfpx and check_return_ufromfpx.
8317         * math/test-tgmath.c: Include <stdint.h>
8318         (NCALLS): Increase to 138.
8319         (F(compile_test)): Initialize i.  Call fromfp functions.
8320         (F(fromfp)): New function.
8321         (F(fromfpx)): Likewise.
8322         (F(ufromfp)): Likewise.
8323         (F(ufromfpx)): Likewise.
8324         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8325         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8326         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8327         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8328         ufromfpxl.
8329         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8330         ufromfp and ufromfpx.
8331         * math/fromfp.h: New file.
8332         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8333         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8334         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8335         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8336         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8337         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8338         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8339         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8340         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8341         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8342         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8343         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8344         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8345         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8346         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8347         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8348         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8349         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8350         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8351         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8352         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8353         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8354         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8355         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8356         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8357         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8358         ufromfp, fromfpx and ufromfpx.
8359         (CFLAGS-nldbl-fromfp.c): New variable.
8360         (CFLAGS-nldbl-fromfpx.c): Likewise.
8361         (CFLAGS-nldbl-ufromfp.c): Likewise.
8362         (CFLAGS-nldbl-ufromfpx.c): Likewise.
8363         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8364         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8365         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8366         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8367         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8368         * sysdeps/nacl/libm.abilist: Update.
8369         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8370         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8371         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8372         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8373         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8374         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8375         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8376         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8377         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8378         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8379         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8380         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8382         Likewise.
8383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8384         Likewise.
8385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8386         Likewise.
8387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8388         Likewise.
8389         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8390         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8391         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8392         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8393         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8395         Likewise.
8396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8397         Likewise.
8398         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8399         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8400         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8402 2016-12-30  Florian Weimer  <fweimer@redhat.com>
8404         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8405         compat-gethnamaddr.
8406         (CPPFLAGS): Remove.
8407         * resolv/gethnamaddr.c: Rename ...
8408         * resolv/compat-gethnamaddr.c: ... to this file.
8409         (_endhtent): Make static.
8410         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
8411         symbol.
8412         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
8413         compat symbol.
8414         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
8415         symbol.
8416         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8417         Turn into compat symbol.
8418         * include/resolv.h (_endhtent): Remove declaration.
8420 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
8422         * bits/types.h (__intmax_t): New typedef.
8423         (__uintmax_t): Likewise.
8424         * sysdeps/generic/stdint.h: Include <bits/types.h>.
8425         (intmax_t): Define using __intmax_t.
8426         (uintmax_t): Define using __uintmax_t.
8428         * support/Makefile (tests-special): Make definition conditional on
8429         [$(run-built-tests) = yes].
8430         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8431         on [$(run-built-tests) = yes].
8433 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8435         * Rules (tests): Add tests-printers-programs to tests to be
8436         built.
8438 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8440         * sysvipc/Makefile (tests): Add test-sysvshm.
8441         * sysvipc/test-sysvshm.c: New file.
8443         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
8444         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
8445         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
8446         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
8447         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
8448         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
8449         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
8450         Likewise.
8451         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
8452         Likewise.
8453         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
8454         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
8455         is defined.
8457         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
8458         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
8459         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
8460         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
8461         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
8462         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
8463         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
8464         Likewise.
8465         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
8466         Likewise.
8467         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
8468         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
8469         defined.
8471         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8472         oldshmctl.
8473         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
8474         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
8475         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
8476         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
8477         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
8478         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
8479         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
8480         Likewise.
8481         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
8482         Likewise.
8483         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
8484         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
8485         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
8486         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
8487         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
8488         implementation.
8489         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
8490         if it is defined.
8492         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
8493         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
8494         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
8495         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
8496         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
8497         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
8498         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
8499         Likewise.
8500         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
8501         Likewise.
8502         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
8503         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
8504         Define to __NR_osf_shmat.
8505         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
8506         defined.
8508         * sysvipc/Makefile (tests): Add test-sysvsem.
8509         * sysvipc/test-sysvsem.c: New file.
8511         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
8512         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
8513         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
8514         Likewise.
8515         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
8516         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
8517         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
8518         Likewise.
8519         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
8520         Likewise.
8521         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
8522         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
8523         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
8524         add a comment about s390 syscall difference from default one.
8525         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
8526         syscall if it is defined.
8528         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
8529         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
8530         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
8531         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
8532         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
8533         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
8534         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
8535         Likewise.
8536         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
8537         Likewise.
8538         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
8539         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
8540         defined.
8542         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
8543         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
8544         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
8545         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
8546         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
8547         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
8548         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
8549         Likewise.
8550         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
8551         Likewise.
8552         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
8553         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
8554         if it is defined.
8556         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8557         oldsemctl.
8558         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
8559         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
8560         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
8561         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
8562         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
8563         implementation.
8564         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
8565         syscall if it is defined.
8566         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
8567         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
8568         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
8569         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
8570         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
8571         Likewise.
8572         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
8574         * sysvipc/Makefile (tests): Add test-sysvmsg.
8575         * sysvipc/test-sysvmsg.c: New file.
8576         * support/check.h (FAIL_UNSUPPORTED): New define.
8578         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
8579         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
8580         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
8581         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
8582         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
8583         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
8584         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
8585         Likewise.
8586         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
8587         Likewise.
8588         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
8589         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
8590         define.
8592         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
8593         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
8594         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
8595         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
8596         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
8597         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
8598         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
8599         Likewise.
8600         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
8601         Likewise.
8602         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
8603         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
8604         if defined.
8606         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
8607         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
8608         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8609         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8610         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8611         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
8612         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8613         Likewise.
8614         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
8615         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
8616         Likewise.
8617         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
8618         if defined.
8619         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
8621         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8622         oldmsgctl.
8623         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
8624         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
8625         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
8626         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
8627         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8628         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8629         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8630         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8631         Likewise.
8632         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
8633         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
8634         implementation.
8635         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
8636         if defined.
8638         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
8639         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
8640         definition and define its own.
8641         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
8642         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
8643         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
8644         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
8645         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
8646         definitions to common header.
8647         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
8648         operation from ipc_ops.h.
8650         * sysdeps/unix/sysv/linux/kernel-features.h
8651         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
8652         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8653         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
8654         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8655         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8656         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8657         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8658         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8659         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8660         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8661         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8662         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8663         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8664         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8665         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8667 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8669         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
8670         overflow in pointer addition.
8672 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8674         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8675         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
8676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8677         (strchr): Add __strchr_power8 to list of strchr functions.
8678         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
8679         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
8680         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
8681         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
8682         (strchr): Add __strchr_power8 to ifunc list.
8683         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
8684         (__strchrnul): Add __strchrnul_power8 to ifunc list.
8685         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
8686         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
8688 2016-12-28  Florian Weimer  <fweimer@redhat.com>
8690         * support/Makefile (libsupport-routines): Add
8691         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
8692         (tests): Add tst-support_record_failure.
8693         (tests-special): tst-support_record_failure-2.
8694         (tst-support_record_failure-2.out): Depend on
8695         tst-support_record_failure-2.sh and tst-support_record_failure.
8696         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
8697         (support_test_verify_impl, support_record_failure)
8698         (support_report_failure, support_report_failure_reset): Declare.
8699         * support/support_test_main.c (adjust_exit_status): New function.
8700         (support_test_main): Call it to incorporate record test failures.
8701         * support/support_test_verify_impl.c: New file.
8702         * support/support_record_failure.c: Likewise.
8703         * support/tst-support_record_failure.c: Likewise.
8704         * support/tst-support_record_failure-2.sh: Likewise.
8705         * support/xunistd.h: Likewise.
8706         * support/xfork.c: Likewise.
8707         * support/xwaitpid.c: Likewise.
8709 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
8711         * scripts/check-c++-types.sh: Add comments.
8713 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
8715         [BZ #19514]
8716         * resolv/res_send.c: Fix typo in comment.
8717         * sysdeps/i386/i386-mcount.S: Likewise.
8718         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8719         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8720         * sysdeps/sparc/sparc-mcount.S: Likewise.
8722 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8724         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
8725         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
8726         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
8727         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
8728         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
8729         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
8730         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
8731         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
8733 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8735         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
8737 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8739         [BZ #17252]
8740         * posix/unistd.h (getentropy): Declare.
8742 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8744         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
8745         Remove.
8746         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
8747         (cmd): Remove spoof, nospoof, spoofalert.
8748         (parse_line): Ignore spoof-related lines.
8749         (do_init): Do not process RESOLV_SPOOF_CHECK.
8751 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8753         [BZ #20964]
8754         sunrpc: Always obtain AF_INET addresses from NSS.
8755         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
8756         * sunrpc/rpc_gethostbyname.c: New file.
8757         * sunrpc/Makefile (routines): Add it.
8758         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
8759         * sunrpc/clnt_simp.c (callrpc): Likewise.
8760         * sunrpc/getrpcport.c (getrpcport): Likewise.
8762 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8764         * sunrpc/rpcinfo.c: Remove.
8765         * sunrpc/Makefile: Remove comments referring to rpcinfo.
8767 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8769         [BZ #19387]
8770         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
8771         addition.
8772         * string/test-memchr.c (do_test): Remove alignment limitation.
8773         (test_main): Add test that trigger BZ #19387.
8775 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8777         [BZ #7065]
8778         Enable stack protectore if requested by ./configure.
8779         * Makeconfig (+stack-protector): New variable.
8780         (+cflags): Use it.
8782 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8784         [BZ #7065]
8785         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8786         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8787         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8788         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8789         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8791 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8793         [BZ #7065]
8794         * login/Makefile (pt_chown-cflags): Remove.
8795         * nscd/Makefile (CFLAGS-nscd): Likewise.
8796         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8798 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8800         [BZ #7065]
8801         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8802         non-libc-linking testcase.
8804 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8805             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8806             Florian Weimer  <fweimer@redhat.com>
8808         [BZ #7065]
8809         PLT avoidance for __stack_chk_fail*.
8810         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8811         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8812         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8813         __stack_chk_fail_local alias.
8814         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8815         (__stack_chk_fail): Turn into hidden reference to
8816         __stack_chk_fail_local.
8818 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8820         [BZ #7065]
8821         * configure.ac: Add check for unsupported stack-protection level.
8822         (libc_cv_predef_stack_protector): Remove.
8823         (no_ssp): New variable.
8824         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8825         (stack_protector): Set to -fno-stack-protector similarly.
8826         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8827         (libc_cv_asm_set_directive): Likewise.
8828         (libc_cv_protected_data): Likewise.
8829         (libc_cv_z_combreloc): Likewise.
8830         (libc_cv_hashstyle): Likewise.
8831         (libc_cv_has_glob_dat): Likewise.
8832         (libc_cv_output_format): Likewise.
8833         (libc_cv_output_format): Likewise.
8834         (libc_cv_ehdr_start): Likewise.
8835         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
8836         (LIBC_LINKER_FEATURE): Likewise.
8837         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
8839 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8841         [BZ #7065]
8842         * elf/Makefile (dummy-stack-chk-fail): New.
8843         (librtld.map): Use it.
8845 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8847         [BZ #7065]
8848         Compile the dynamic linker without stack protection.
8849         * elf/Makefile (elide-stack-protector): New.
8850         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
8851         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
8852         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
8853         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
8855 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8857         [BZ #7065]
8858         * config.make.in (have-ssp, no-stack-protector): New.
8859         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
8860         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
8861         (CFLAGS-sbrk.op): Likewise.
8862         (CFLAGS-brk.o): Likewise.
8863         (CFLAGS-brk.op): Likewise.
8864         * string/Makefile (CFLAGS-memcpy.c): Likewise.
8865         (CFLAGS-wordcopy.c): Likewise.
8867 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8869         [BZ #7065]
8870         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
8871         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
8872         * include/libc-symbols.h (inhibit_stack_protector): New macro.
8873         (__ifunc_resolver): Use it.
8874         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
8875         inhibit_stack_protector.
8876         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
8877         * elf/ifuncmain7.c (foo_ifunc): Likewise.
8878         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
8879         (foo_protected_ifunc): Likewise.
8880         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
8881         (foo_protected_ifunc): Likewise.
8882         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8883         * sysdeps/nacl/nacl_interface_query.c
8884         (nacl_interface_query_ifunc): Likewise.
8885         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8886         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
8887         Likewise.
8888         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
8889         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
8890         the generated vDSO syscall resolver.
8892 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8893             Florian Weimer  <fweimer@redhat.com>
8895         [BZ #7065]
8896         Initialize the stack guard earlier when linking statically.
8897         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
8898         (__pthread_initialize_minimal): Declare.
8899         * csu/libc-start.c (__pthread_initialize_minimal): Remove
8900         declaration.
8901         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
8902         stack canary and apply_irel initialization up.  Call
8903         __pthread_initialize_minimal only if linked in.
8904         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
8905         constant values.
8906         (__pthread_initialize_minimal): Remove.
8907         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
8908         (__pthread_initialize_minimal_internal): Do not call
8909         __libc_setup_tls.
8911 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8913         [BZ #7065]
8914         * configure.ac (libc_cv_ssp): Move up.
8915         (libc_cv_ssp_strong): Likewise.
8916         (libc_cv_ssp_all): New.
8917         (stack_protector): Augment, adding -fstack-protector-all.
8918         (no_stack_protector): New.
8919         (STACK_PROTECTOR_LEVEL): New.
8920         (AC_ARG_ENABLE(stack-protector)): New configure flag.
8921         * manual/install.texi (--enable-stack-protector): Document it.
8922         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
8924 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
8926         * README.pretty-printers: Must specify CPPFLAGS-* also.
8927         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
8928         (CPPFLAGS-test-mutex-printers.c): Define.
8929         (CPPFLAGS-test-condattr-printers.c): Define.
8930         (CPPFLAGS-test-cond-printers.c): Define.
8931         (CPPFLAGS-test-rwlockattr-printers.c): Define.
8932         (CPPFLAGS-test-rwlock-printers.c): Define.
8934         * nss/Makefile [ifeq (yes,$(have-thread-library))]
8935         (tests): Add tst-cancel-getpwuid_r.
8936         * nss/tst-cancel-getpwuid_r.c: New file.
8938         [BZ #11941]
8939         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
8940         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
8941         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
8942         tst-nodelete-dlclose.
8943         (modules-names): Add tst-nodelete-dlclose-dso and
8944         tst-nodelete-dlclose-plugin.
8945         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
8946         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
8947         ($(objpfx)tst-nodelete-dlclose): Define.
8948         ($(objpfx)tst-nodelete-dlclose.out): Define.
8950 2016-12-23  Florian Weimer  <fweimer@redhat.com>
8952         * scripts/test_printers_common.py: Log GDB output in case of
8953         Python detection failure.
8955 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8957         * configure.ac: Check for python3 or python.
8958         * configure: Regenerated.
8959         * config.make.in (PYTHON): New variable.
8960         * benchtests/Makefile: Don't define PYTHON.
8961         (bench): Define target only if PYTHON was defined.
8962         * Rules: Don't define PYTHON.
8963         Define pretty printer targets only if PYTHON was defined.
8964         (tests-printers): Add to tests-unsupported if PYTHON is not
8965         found.
8966         (python-flags, python-invoke): Remove.
8967         (tests-printers-out): Use PYTHON instead of python-invoke.
8969 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8971         [BZ #20978]
8972         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8973         Compare name == NULL, not name != NULL.
8975         * manual/texinfo.tex: Update to version 2016-09-18.18 with
8976         trailing whitespace removed.
8977         * scripts/config.guess: Update to version 2016-10-02.
8978         * scripts/config.sub: Update to version 2016-11-19.
8979         * scripts/install-sh: Update to version 2016-01-11.22.
8980         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
8981         * scripts/move-if-change: Update to version 2016-01-11 22:04.
8983 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
8985         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
8986         (do_one_test) Restore original string so iteration works.
8987         * string/string-inlines.c (do_test): Create better input strings.
8988         (test_main) Reduce number of testruns.
8989         * string/string-inlines.c (__old_strsep_1c): New function.
8990         (__old_strsep_2c): Likewise.
8991         (__old_strsep_3c): Likewise.
8992         * string/strsep.c (__strsep): Remove case of small delim string.
8993         Call strcspn directly rather than strpbrk.
8994         * string/bits/string2.h (__strsep): Remove define.
8995         (__strsep_1c): Remove.
8996         (__strsep_2c): Remove.
8997         (__strsep_3c): Remove.
8998         (strsep): Remove.
8999         * sysdeps/unix/sysv/linux/internal_statvfs.c
9000         (__statvfs_getflags): Rename to __strsep.
9002 2016-12-21  Florian Weimer  <fweimer@redhat.com>
9004         * csu/libc-tls.c (_dl_tls_setup): Remove.
9005         * elf/dl-tls.c (_dl_tls_setup): Likewise.
9006         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
9007         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
9009 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9011         [BZ #7065]
9012         * sysdeps/x86_64/Makefile [$(subdir) = elf]
9013         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
9015 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9016             Florian Weimer  <fweimer@redhat.com>
9018         [BZ #7065]
9019         * csu/Makefile (tests): Empty assignment and document it.
9020         (tests-static): Remove.
9021         * csu/tst-empty.c: Move to...
9022         * misc/tst-empty.c: ... here.  Switch to new test driver.
9023         * csu/tst-atomic.c: Move to...
9024         * misc/tst-atomic.c: ... here.  Switch to new test driver.
9025         * csu/tst-atomic-long.c: Move to...
9026         * misc/tst-atomic-long.c: ... here.
9027         * misc/Makefile (tests): Add tst-empty, tst-atomic,
9028         tst-atomic-long.
9029         (tests-static): Add tst-empty.
9031 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
9033         * manual/nss.texi: Change incorrect @vtable to @table.
9034         * manual/arith.texi: Convert @tables of variables to @vtables
9035         and remove unnecessary indexing.
9036         * manual/filesys.texi: Likewise.
9037         * manual/llio.texi: Likewise.
9038         * manual/memory.texi: Likewise.
9039         * manual/process.texi: Likewise.
9040         * manual/resource.texi: Likewise.
9041         * manual/search.texi: Likewise.
9042         * manual/signal.texi: Likewise.
9043         * manual/socket.texi: Likewise.
9044         * manual/stdio.texi: Likewise.
9045         * manual/sysinfo.texi: Likewise.
9046         * manual/syslog.texi: Likewise.
9047         * manual/terminal.texi: Likewise.
9048         * manual/time.texi: Likewise.
9049         * manual/users.texi: Likewise.
9051 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9053         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9054         (roundeven): New declaration.
9055         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
9056         macro.
9057         * math/Versions (roundeven): New libm symbol at version
9058         GLIBC_2.25.
9059         (roundevenf): Likewise.
9060         (roundevenl): Likewise.
9061         * math/Makefile (libm-calls): Add s_roundevenF.
9062         * math/libm-test.inc (roundeven_test_data): New array.
9063         (roundeven_test): New function.
9064         (main): Call roundeven_test.
9065         * math/test-tgmath.c (NCALLS): Increase to 134.
9066         (F(compile_test)): Call roundeven.
9067         (F(roundeven)): New function.
9068         * manual/arith.texi (Rounding Functions): Document roundeven,
9069         roundevenf and roundevenl.
9070         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
9071         * include/math.h (roundeven): Use libm_hidden_proto.
9072         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
9073         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
9074         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
9075         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
9076         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
9077         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
9078         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9079         roundeven.
9080         (CFLAGS-nldbl-roundeven.c): New variable.
9081         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
9082         * sysdeps/nacl/libm.abilist: Update.
9083         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9084         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9085         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9086         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9087         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9088         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9089         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9090         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9091         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9092         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9093         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9094         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9096         Likewise.
9097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9098         Likewise.
9099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9100         Likewise.
9101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9102         Likewise.
9103         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9104         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9105         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9106         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9107         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9109         Likewise.
9110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9111         Likewise.
9112         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9113         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9114         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9116 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9118         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
9119         preprocessor indentation inside #if.
9121 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9123         * math/libm-test.inc (fmt_ftostr): New function.
9124         (print_float, check_float_internal): Replace some uses of
9125         FTOSTR with uses of fmt_ftostr.
9126         (print_max_error, print_complex_max_error, print_function_ulps)
9127         (print_complex_function_ulps): Remove uses of the macros
9128         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
9129         * math/test-double.h (FTOSTR): Define to strfromd.
9130         (PRINTF_EXPR): Delete.
9131         (PRINTF_XEXPR): Likewise.
9132         (PRINTF_NEXPR): Likewise.
9133         * math/test-float.h (FTOSTR): Define to strfromf.
9134         (PRINTF_EXPR): Delete.
9135         (PRINTF_XEXPR): Likewise.
9136         (PRINTF_NEXPR): Likewise.
9137         * math/test-ldouble.h (FTOSTR): Define to strfroml.
9138         (PRINTF_EXPR): Delete.
9139         (PRINTF_XEXPR): Likewise.
9140         (PRINTF_NEXPR): Likewise.
9142 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9144         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9145         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
9146         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9147         (__lll_lock_elision): Decrement adapt_count while unlocking
9148         instead of before locking.
9149         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9150         (__lll_trylock_elision): Likewise.
9151         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9152         (__lll_unlock_elision): Likewise.
9154 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9156         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9157         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9158         Use __libc_tbegin_retry macro.
9160 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9162         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9163         Add -msoft-float.
9164         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9165         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9166         Use __libc_t* transaction macros instead of __builtin_t*.
9167         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9168         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9170 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9172         * sysdeps/unix/sysv/linux/s390/elision-lock.c
9173         (__lll_lock_elision): Use atomics to load / store adapt_count.
9174         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9175         (__lll_trylock_elision): Likewise.
9177 2016-12-20  Florian Weimer  <fweimer@redhat.com>
9179         Do not require memset elimination in explicit_bzero test.
9180         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9181         (enum test_expectation): Add NO_EXPECTATIONS.
9182         (subtests): NO_EXPECTATIONS for ordinary clear.
9183         (check_test_buffer): Handle NO_EXPECTATIONS.
9184         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9186 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9188         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9189         (fmaxmag): New declaration.
9190         (fminmag): Likewise.
9191         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9192         macro.
9193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9194         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9195         (fmaxmagf): Likewise.
9196         (fmaxmagl): Likewise.
9197         (fminmag): Likewise.
9198         (fminmagf): Likewise.
9199         (fminmagl): Likewise.
9200         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9201         * math/s_fmaxmag_template.c: New file.
9202         * math/s_fminmag_template.c: Likewise.
9203         * math/libm-test.inc (fmaxmag_test_data): New array.
9204         (fmaxmag_test): New function.
9205         (fminmag_test_data): New array.
9206         (fminmag_test): New function.
9207         (main): Call fmaxmag_test and fminmag_test.
9208         * math/test-tgmath.c (NCALLS): Increase to 132.
9209         (F(compile_test)): Call fmaxmag and fminmag.
9210         (F(fminmag)): New function.
9211         (F(fmaxmag)): Likewise.
9212         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9213         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9214         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9215         fminmag.
9216         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9217         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9218         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9219         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9220         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9221         and fminmag.
9222         (CFLAGS-nldbl-fmaxmag.c): New variable.
9223         (CFLAGS-nldbl-fminmag.c): Likewise.
9224         * sysdeps/nacl/libm.abilist: Update.
9225         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9226         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9227         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9228         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9229         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9230         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9231         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9232         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9233         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9234         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9235         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9236         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9238         Likewise.
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9240         Likewise.
9241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9242         Likewise.
9243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9244         Likewise.
9245         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9246         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9247         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9248         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9249         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9251         Likewise.
9252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9253         Likewise.
9254         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9255         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9256         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9258 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9260         [BZ #20973]
9261         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9262         wake-up in robust mutexes.
9263         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9265 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9267         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9268         (CFLAGS-bench-fmaxf.c): New rule.
9269         (CFLAGS-bench-fminf.c): Likewise.
9270         * benchtests/fmaxf-inputs: New file.
9271         * benchtests/fminf-inputs: Likewise.
9273         * benchtests/Makefile (bench-math): Add fmin and fmax.
9274         (CFLAGS-bench-fmax.c): New rule.
9275         (CFLAGS-bench-fmin.c): Likewise.
9276         * benchtests/fmax-inputs: New file.
9277         * benchtests/fmin-inputs: Likewise.
9279         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9280         parenthesis.
9281         (CMDLINE_PROCESS): Define using function instead of macro.
9282         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9283         of test-skeleton.
9284         * benchtests/bench-memchr.c: Likewise.
9285         * benchtests/bench-memcmp.c: Likewise.
9286         * benchtests/bench-memcpy-large.c: Likewise.
9287         * benchtests/bench-memcpy.c: Likewise.
9288         * benchtests/bench-memmem.c: Likewise.
9289         * benchtests/bench-memmove-large.c: Likewise.
9290         * benchtests/bench-memmove.c: Likewise.
9291         * benchtests/bench-memset-large.c: Likewise.
9292         * benchtests/bench-memset.c: Likewise.
9293         * benchtests/bench-rawmemchr.c: Likewise.
9294         * benchtests/bench-strcasecmp.c: Likewise.
9295         * benchtests/bench-strcasestr.c: Likewise.
9296         * benchtests/bench-strcat.c: Likewise.
9297         * benchtests/bench-strchr.c: Likewise.
9298         * benchtests/bench-strcmp.c: Likewise.
9299         * benchtests/bench-strcpy.c: Likewise.
9300         * benchtests/bench-strcpy_chk.c: Likewise.
9301         * benchtests/bench-strlen.c: Likewise.
9302         * benchtests/bench-strncasecmp.c: Likewise.
9303         * benchtests/bench-strncmp.c: Likewise.
9304         * benchtests/bench-strncpy.c: Likewise.
9305         * benchtests/bench-strnlen.c: Likewise.
9306         * benchtests/bench-strpbrk.c: Likewise.
9307         * benchtests/bench-strrchr.c: Likewise.
9308         * benchtests/bench-strsep.c: Likewise.
9309         * benchtests/bench-strspn.c: Likewise.
9310         * benchtests/bench-strstr.c: Likewise.
9311         * benchtests/bench-strtok.c: Likewise.
9313 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9315         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9316         stepping identification.
9317         (init_cpu_features): Add handle of Haswell.
9319 2016-11-25  Jim Meyering  <meyering@fb.com>
9321         [BZ #20386]
9322         Let gcc detect assert(a = 1) errors.
9323         * assert/assert.h (assert): Rewrite, retaining the old definintion
9324         when required, but otherwise putting the expression as-is in an "if"
9325         expression (hence, with no added parentheses) within a statement
9326         expression.
9328 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9330         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9331         DSO.
9333 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9335         * Rules (python-flags, python-invoke): New.
9336         ($(test-printers-out)): Use $(python-flags).
9338 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9340         * manual/arith.texi (Math Error Reporting): Document that sNaN
9341         arguments are not considered domain errors.
9343 2016-12-16  Zack Weinberg <zackw@panix.com>
9344             Florian Weimer <fweimer@redhat.com>
9345             Nick Mathewson <nickm@torproject.org>
9347         * string/explicit_bzero.c: New routine.
9348         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9349         * string/Makefile (routines, strop-tests, tests): Add them.
9350         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9351         * string/string.h [__USE_MISC]: Declare explicit_bzero.
9353         * debug/explicit_bzero_chk.c: New routine.
9354         * debug/Makefile (routines): Add it.
9355         * debug/tst-chk1.c: Test fortification of explicit_bzero.
9356         * string/bits/string3.h: Fortify explicit_bzero.
9358         * manual/string.texi: Document explicit_bzero.
9359         * NEWS: Mention addition of explicit_bzero.
9361         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9362         data before returning, using explicit_bzero.
9363         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9364         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9365         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9367         * include/string.h: Redirect internal uses of explicit_bzero
9368         to __explicit_bzero_chk[_internal].
9369         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9370         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9371         * sysdeps/arm/nacl/libc.abilist
9372         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9373         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9374         * sysdeps/unix/sysv/linux/arm/libc.abilist
9375         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9376         * sysdeps/unix/sysv/linux/i386/libc.abilist
9377         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9378         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9379         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9380         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9381         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9382         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9383         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9384         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9385         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9390         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9391         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9392         * sysdeps/unix/sysv/linux/sh/libc.abilist
9393         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9394         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9397         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9398         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9399         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9400         Add entries for explicit_bzero and __explicit_bzero_chk.
9402 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9404         * math/fenv.h
9405         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9406         (FE_SNANS_ALWAYS_SIGNAL): New macro.
9407         * math/test-fe-snans-always-signal.c: New file.
9408         * math/Makefile (tests): Add test-fe-snans-always-signal.
9409         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9410         * manual/arith.texi (Infinity and NaN): Document
9411         FE_SNANS_ALWAYS_SIGNAL.
9413 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9415         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9416         bracket.
9418 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9420         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9421         before calling execv.
9423 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9425         [BZ #20971]
9426         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9427         overflow in pointer addition.
9428         * string/test-memchr.c (do_test): Add an argument to pass as
9429         the size on memchr.
9430         (test_main): Add check for SIZE_MAX.
9432 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9434         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9435         (libm-calls): Add w_scalblnF.
9436         * math/w_scalbln.c: Remove.
9437         * math/w_scalblnf.c: Likewise.
9438         * math/w_scalblnl.c: Likewise.
9439         * math/w_scalbln_template.c: New file with type-generic
9440         implementation based on math/w_scalbln.c.
9441         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9442         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
9444 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9446         [BZ #20947]
9447         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
9448         either is a signaling NaN.
9449         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
9450         follow fmaxl more closely.
9451         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9452         when either is a signaling NaN.
9453         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
9454         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
9455         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
9456         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
9457         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
9458         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
9459         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
9460         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
9461         (fmin_test_data): Likewise.
9463 2016-12-15  Andreas Schwab  <schwab@suse.de>
9465         * support/support_test_main.c (support_test_main): Don't shadow
9466         file-local variable test_pid.
9468 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9470         [BZ #20947]
9471         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
9472         either is a signaling NaN.
9473         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
9475 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9477         [BZ #20947]
9478         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
9479         when either is a signaling NaN.
9480         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
9482         * bits/long-double.h: New file.
9483         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
9484         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
9485         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
9486         * sysdeps/mips/bits/long-double.h: Likewise.
9487         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
9488         * math/Makefile (headers): Add bits/long-double.h.
9489         * misc/sys/cdefs.h: Include <bits/long-double.h>.
9490         * stdlib/strtold.c: Include <bits/long-double.h> instead of
9491         <bits/wordsize.h>.
9492         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
9493         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
9494         * math/math.h: Do not include <bits/mathdef.h>.
9495         * sysdeps/aarch64/bits/mathdef.h: Remove file.
9496         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
9497         inclusion.
9498         * sysdeps/ia64/bits/mathdef.h: Remove file.
9499         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
9500         * sysdeps/mips/bits/mathdef.h: Likewise.
9501         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9502         * sysdeps/s390/bits/mathdef.h: Likewise.
9503         * sysdeps/sparc/bits/mathdef.h: Likewise.
9504         * sysdeps/x86/bits/mathdef.h: Likewise.
9505         * sysdeps/s390/s390-32/bits/wordsize.h
9506         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
9507         conditional code.
9508         * sysdeps/s390/s390-64/bits/wordsize.h
9509         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9510         Likewise.
9511         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
9512         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9513         Likewise.
9514         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
9515         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9516         Likewise.
9517         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9518         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9519         Likewise.
9521         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
9522         <linux/falloc.h>.
9523         (FALLOC_FL_KEEP_SIZE): Remove.
9524         (FALLOC_FL_PUNCH_HOLE): Likewise.
9525         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
9526         (FALLOC_FL_ZERO_RANGE): Likewise.
9528 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9530         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
9532 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9534         * sysdeps/unix/sysv/linux/renameat.c: New file.
9535         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
9537         * sysdeps/unix/sysv/linux/rename.c: New file.
9538         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
9540 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9542         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
9543         * string/strtok.c (strtok): Change to tailcall __strtok_r.
9544         * string/strtok_r.c (__strtok_r): Optimize for performance.
9545         * string/string-inlines.c (__old_strtok_r_1c): New function.
9546         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
9548 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9550         * math/Makefile (gen-libm-calls): Add w_log1pF.
9551         (libm-calls): Remove w_log1pF.
9552         * math/w_log1p.c: Remove.
9553         * math/w_log1pf.c: Likewise.
9554         * math/w_log1pl.c: Likewise.
9555         * math/w_log1p_template.c: New file with type-generic
9556         implementation based on math/w_log1p.c.
9557         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
9558         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
9560 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9562         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
9564 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9566         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9567         kernel version to 4.9.
9569 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
9571         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
9572         ($(inst_libdir)/libm.a): Fix rule to create the target only.
9574 2016-12-13  Andreas Schwab  <schwab@suse.de>
9576         * sysdeps/powerpc/dl-procinfo.c: Don't define
9577         _dl_powerpc_platforms.
9578         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
9579         constants instead of referencing _dl_powerpc_platforms.
9580         (_dl_platform_string): Remove.
9582 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9584         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
9586 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9588         * Rules (binaries-shared-tests, binaries-pie-tests)
9589         (binaries-static-tests): Link with $(link-extra-libs-tests).
9590         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
9591         Remove $(link-extra-libs-tests).
9593 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9595         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9596         (sysdep_routines): Add strncmp_power9.
9597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9598         (strncmp): Add __strncmp_power9 to list of strncmp functions.
9599         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
9600         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9601         (strncmp): Add __strncmp_power9 to ifunc list.
9602         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
9604 2016-12-12  Florian Weimer  <fweimer@redhat.com>
9606         [BZ #17252]
9607         Add getentropy, getrandom.
9608         * stdlib/sys/random.h: New file.
9609         (headers): Add it.
9610         * stdlib/Makefile (routines): Add getentropy, getrandom.
9611         (tests): Add tst-getrandom.
9612         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
9613         * stdlib/getentropy.c: New file.
9614         * stdlib/getrandom.c: Likewise.
9615         * stdlib/tst-getrandom.c: Likewise.
9616         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
9617         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
9618         * manual/crypt.texi (Unpredictable Bytes): New section.
9619         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
9620         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
9621         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9622         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9623         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9624         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9625         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9626         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9627         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9628         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9629         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9630         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9631         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9632         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9633         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9634         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9636         Likewise.
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9638         Likewise.
9639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9641         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9642         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9643         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9644         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9645         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9648         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9649         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9650         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9652 2016-12-10  Florian Weimer  <fweimer@redhat.com>
9654         [BZ #20956]
9655         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
9656         as additional compiler barriers.
9657         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
9658         (fn2, do_test): Declare with external linkage.
9659         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
9660         (do_test): Declare with external linkage.
9661         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
9662         (do_test): Declare with external linkage.
9663         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
9664         (do_test): Declare with external linkage.
9666 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
9668         * support/support_test_main.c (support_test_main): Use correct
9669         timeout.
9671 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
9672             Florian Weimer  <fweimer@redhat.com>
9674         [BZ #16421]
9675         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
9676         and __u6_addr32 members.
9677         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
9678         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
9679         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
9680         Use __u6_addr32.
9681         * inet/tst-checks.c: Use <support/test-driver.c>
9682         * inet/tst-checks-posix.c: New file.
9683         * inet/Makefile (tests): Add it.
9684         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
9686 2016-12-09  Florian Weimer  <fweimer@redhat.com>
9688         New subdirectory support for build and test infrastructure.
9689         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
9690         setting install-lib.
9691         * Makeconfig (link-extra-libs-tests): Define.
9692         (+link-pie-tests, +link-static-tests, +link-tests): Use
9693         link-extra-libs-tests.
9694         (rpath-dirs, all-subdirs): Add support.
9695         (built-modules): Add libsupport.
9696         (libsupport): Define.
9697         * support: New directory.
9698         * support/Makefile: New file.
9699         * support/check.c: Likewise.
9700         * support/check.h: Likewise.
9701         * support/delayed_exit.c: Likewise.
9702         * support/ignore_stderr.c: Likewise.
9703         * support/oom_error.c: Likewise.
9704         * support/set_fortify_handler.c: Likewise.
9705         * support/support.h: Likewise.
9706         * support/temp_file-internal.h: Likewise.
9707         * support/temp_file.c: Likewise.
9708         * support/test-driver.c: Likewise.
9709         * support/test-driver.h: Likewise.
9710         * support/test_main.c: Likewise.
9711         * support/write_message.c: Likewise.
9712         * support/xasprintf.c: Likewise.
9713         * support/xcalloc.c: Likewise.
9714         * support/xmalloc.c: Likewise.
9715         * support/xpthread_barrier_destroy.c: Likewise.
9716         * support/xpthread_barrier_init.c: Likewise.
9717         * support/xpthread_barrier_wait.c: Likewise.
9718         * support/xpthread_cancel.c: Likewise.
9719         * support/xpthread_check_return.c: Likewise.
9720         * support/xpthread_cond_wait.c: Likewise.
9721         * support/xpthread_create.c: Likewise.
9722         * support/xpthread_detach.c: Likewise.
9723         * support/xpthread_join.c: Likewise.
9724         * support/xpthread_mutex_lock.c: Likewise.
9725         * support/xpthread_mutex_unlock.c: Likewise.
9726         * support/xpthread_sigmask.c: Likewise.
9727         * support/xpthread_spin_lock.c: Likewise.
9728         * support/xpthread_spin_unlock.c: Likewise.
9729         * support/xrealloc.c: Likewise.
9730         * support/xsignal.h: Likewise.
9731         * support/xthread.h: Likewise.
9732         * support_tempfile.h: Likewise.
9733         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
9734         (TEST_DATA_LIMIT): Remove unused macro.
9735         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
9736         <support/check.h>.
9737         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
9738         (ignore_stderr, set_fortify_handler): Remove.  Now in
9739         <support/support.h>.
9740         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
9741         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
9742         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
9743         (xpthread_join): Remove.  Now in <support/xthread.h>.
9744         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
9745         Introduce legacy wrappers.
9746         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
9747         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
9748         (write_message): Remove.
9749         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
9750         test-skeleton.c.
9751         * io/test-open-tmpfile: Likewise.
9752         * io/tst-posix_fallocate-common.c: Likewise.
9753         * libio/tst-fseek.c: Likewise.
9754         * malloc/tst-malloc-backtrace.c: Likewise.
9755         * malloc/tst-malloc-fork-deadlock.c: Likewise.
9756         * malloc/tst-malloc-thread-exit.c: Likewise.
9757         * nptl/tst-cancel7.c: Likewise.
9758         * nptl/tst-cleanup0.c: Likewise.
9759         * posix/tst-posix_fadvise-common.c: Likewise.
9760         * rt/tst-shm.c: Likewise.
9761         * time/bug-getdate1.c: Likewise.
9762         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9763         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
9764         * elf/Makefile (tst-piemod1.so): Link against libsupport.
9766 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
9768         * Rules [$(run-built-tests) != no] (tests-expected): Add
9769         $(tests-printers).
9770         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
9772 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9774         [BZ #20539]
9775         * math/Makefile (install-lib-ldscripts): Add libm.a.
9776         (install_subdir): Remove.
9777         (install-others): Add.
9778         ($(inst_libdir)/libm.a): Add rule for installation as
9779         linker script.
9780         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9782 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9784         * INSTALL: Regenerated.
9785         * Makeconfig: Add comments and whitespace to make the control flow
9786         clearer.
9787         (+link-printers-tests, +link-pie-printers-tests,
9788         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9789         built-rtld-LDFLAGS, link-libc-rpath,
9790         link-libc-tests-after-rpath-link,
9791         link-libc-printers-tests): New.
9792         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9793         link-libc-tests): Use the new variables as required.
9794         * Makerules ($(py-const)): New rule.
9795         generated: Add $(py-const).
9796         * README.pretty-printers: New file.
9797         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9798         (others): Depend on $(py-const).
9799         (tests): Depend on $(tests-printers-programs) or
9800         $(tests-printers-out),
9801         as required.  Pass $(tests-printers) to merge-test-results.sh.
9802         * manual/install.texi: Add requirements for testing the pretty
9803         printers.
9804         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9805         tests-printers, CFLAGS-test-mutexattr-printers.c
9806         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9807         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9808         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9809         * nptl/nptl-printers.py: New file.
9810         * nptl/nptl_lock_constants.pysym: Likewise.
9811         * nptl/test-cond-printers.c: Likewise.
9812         * nptl/test-cond-printers.py: Likewise.
9813         * nptl/test-condattr-printers.c: Likewise.
9814         * nptl/test-condattr-printers.py: Likewise.
9815         * nptl/test-mutex-printers.c: Likewise.
9816         * nptl/test-mutex-printers.py: Likewise.
9817         * nptl/test-mutexattr-printers.c: Likewise.
9818         * nptl/test-mutexattr-printers.py: Likewise.
9819         * nptl/test-rwlock-printers.c: Likewise.
9820         * nptl/test-rwlock-printers.py: Likewise.
9821         * nptl/test-rwlockattr-printers.c: Likewise.
9822         * nptl/test-rwlockattr-printers.py: Likewise.
9823         * scripts/gen-py-const.awk: Likewise.
9824         * scripts/test_printers_common.py: Likewise.
9825         * scripts/test_printers_exceptions.py: Likewise.
9827 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9829         * scripts/build-many-glibcs.py (Context.__init__): Take strip
9830         argument.
9831         (Glibc.build_glibc): Strip installed shared libraries if
9832         requested.
9833         (get_parser): Add --strip option.
9834         (main): Update Context call.
9836 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9837             Dominik Vogt  <vogt@linux.vnet.ibm.com>
9839         [BZ #20847]
9840         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9841         array bounds for else branch.
9842         (__execvpe): Style fixes.
9843         * posix/tst-vfork3.c (run_script): New function.
9844         (create_script): Likewise.
9845         (do_test): Use run_script internal function.
9846         (do_prepare): Use create_script internal function.
9848 2016-12-07  Andreas Schwab  <schwab@suse.de>
9850         * sysdeps/unix/sysv/linux/x86/elision-conf.h
9851         (__elision_available): Don't declare.
9852         * sysdeps/unix/sysv/linux/x86/elision-conf.c
9853         (__elision_available): Don't define.
9854         (elision_init): Don't set __elision_available.
9856 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9858         [BZ #20940]
9859         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
9860         return Inf for arguments Inf and sNaN.
9861         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
9862         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9863         Likewise.
9864         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9865         Likewise.
9866         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9867         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
9868         for arguments Inf and sNaN.  When returning a NaN, compute it by
9869         arithmetic on the arguments.
9870         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
9871         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
9872         arguments.
9874 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
9876         [BZ #20916]
9877         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
9878         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
9879         to compute result.
9880         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9881         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
9883 2016-12-05  Torvald Riegel  <triegel@redhat.com>
9885         * include/atomic.h (__atomic_check_size_ls): New.
9886         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
9887         atomic_store_release): Use it.
9888         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
9889         (elision_adapt, ELIDE_LOCK): Use atomics.
9890         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
9891         atomics and improve code comments.
9892         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
9893         (__lll_trylock_elision): Likewise.
9895 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9897         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
9898         programs.
9900 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9902         [BZ #20916]
9903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
9904         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
9905         arguments to compute result.
9906         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
9907         1 for arguments (sNaN, 0) or (1, sNaN).
9908         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9909         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9911         [BZ #20919]
9912         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
9913         NaN first argument when raised to power 0.
9914         * math/w_pow.c (__pow): Do not check for NaN or zero results from
9915         raising to power zero.
9916         * math/w_powf.c (__powf): Likewise.
9917         * math/w_powl.c (__powl): Likewise.
9918         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
9919         pow (0, 0) or pow (NaN, 0).
9921 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
9923         [BZ #20918]
9924         * configure.ac: Test for static NSS cryptographic libraries and set
9925         libc_cv_static_nss_crypt.
9926         * configure: Regenerate.
9927         * config.make.in (static-nss-crypt): Define.
9928         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
9929         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
9930         (CFLAGS-tst-linkall-static.c): Define.
9931         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
9932         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
9933         ($(objpfx)tst-linkall-static): Define.
9934         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
9935         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
9937 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9939         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
9940         (one-hundred, tst-tls-many-dynamic-modules): Define.
9941         (modules-names): Add $(tst-tls-many-dynamic-modules).
9942         (tst-tls-manydynamic%mod.os): Build with special preprocessor
9943         macros.
9944         (tst-tls-manydynamic): Link against libdl, libpthread.
9945         (tst-tls-manydynamic.out): The test needs the test modules at run
9946         time.
9947         * elf/tst-tls-manydynamic.c: New file.
9948         * elf/tst-tls-manydynamic.h: Likewise.
9949         * elf/tst-tls-manydynamicmod.c: Likewise.
9951 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9953         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
9954         (TLS_DTV_UNALLOCATED): Add.
9955         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
9956         offsets.
9958 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9960         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9962 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9964         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
9965         Add -fno-optimize-sibling-calls.
9967 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9969         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
9970         New declaration.
9971         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
9972         macro.
9973         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
9974         New macro.
9975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
9976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
9977         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
9978         (llogbf): Likewise.
9979         (llogbl): Likewise.
9980         * math/Makefile (gen-libm-calls): Add w_llogbF.
9981         (tests): Add test-fp-llogb-constants.
9982         * math/w_llogb_template.c: New file.  Based on
9983         math/w_ilogb_template.c.
9984         * math/libm-test.inc (llogb_test_data): New array.
9985         (llogb_test): New function.
9986         (main): Call llogb_test.
9987         * math/test-fp-llogb-constants.c: New file.  Based on
9988         math/test-fp-ilogb-constants.c.
9989         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
9990         (do_test): Call check_return_llogb.
9991         * math/test-tgmath.c (NCALLS): Increase to 126.
9992         (F(compile_test)): Call llogb.
9993         (F(llogb)): New function.
9994         * manual/math.texi (Exponents and Logarithms): Document llogb,
9995         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
9996         * manual/libm-err-tab.pl (@all_functions): Add llogb.
9997         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
9998         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
9999         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
10000         (CFLAGS-nldbl-llogb.c): New variable.
10001         * sysdeps/nacl/libm.abilist: Update.
10002         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10003         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10004         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10005         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10006         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10007         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10008         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10009         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10010         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10011         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10012         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10013         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10015         Likewise.
10016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10017         Likewise.
10018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10019         Likewise.
10020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10021         Likewise.
10022         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10023         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10024         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10025         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10026         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10028         Likewise.
10029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10030         Likewise.
10031         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10032         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10033         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10035 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10037         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
10038         _Float128 instead of long double.
10039         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
10041         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
10042         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
10043         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
10044         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
10045         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
10046         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
10047         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
10048         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
10049         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
10050         Likewise.
10052 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10054         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
10055         Remove redirection to __strrchr_ppc.
10057 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10059         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10060         (sysdep_routines): Add strcmp_power9.
10061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10062         (strcmp): Add __strcmp_power9 to list of strcmp functions.
10063         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
10064         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10065         (strcmp): Add __strcmp_power9 to ifunc list.
10066         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
10068 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10070         * bits/fp-logb.h: New file.
10071         * sysdeps/ia64/bits/fp-logb.h: Likewise.
10072         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
10073         * sysdeps/x86/bits/fp-logb.h: Likewise.
10074         * math/Makefile (headers): Add bits/fp-logb.h.
10075         * math/math.h: Include <bits/fp-logb.h>.
10076         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
10077         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
10078         * bits/mathdef.h (FP_ILOGB0): Remove.
10079         (FP_ILOGBNAN): Likewise.
10080         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
10081         (FP_ILOGBNAN): Likewise.
10082         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
10083         (FP_ILOGBNAN): Likewise.
10084         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
10085         (FP_ILOGBNAN): Likewise.
10086         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
10087         (FP_ILOGBNAN): Likewise.
10088         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
10089         (FP_ILOGBNAN): Likewise.
10090         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
10091         (FP_ILOGBNAN): Likewise.
10092         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
10093         (FP_ILOGBNAN): Likewise.
10094         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
10095         (FP_ILOGBNAN): Likewise.
10096         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
10097         (FP_ILOGBNAN): Likewise.
10099         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
10100         time module.
10101         (Context.__init__): Initialize self.logsdir_old.
10102         (Context.run_builds): Handle bot action.
10103         (Context.bot_cycle): Copy logs directory before running builds.
10104         (Context.bot_run_self): Take argument for whether to check
10105         subprocess result.  Flush stdout before running subprocess.
10106         (Context.bot): New function.
10107         (get_parser): Allow bot action.
10109 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
10111         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
10112         Import email.mime.text, email.utils and smtplib modules.
10113         (Context.__init__): Initialize self.bot_config_json.
10114         (Context.run_builds): Handle bot-cycle action.
10115         (Context.load_bot_config_json): New function.
10116         (Context.part_build_old): Likewise.
10117         (Context.bot_cycle): Likewise.
10118         (Context.bot_build_mail): Likewise.
10119         (Context.bot_run_self): Likewise.
10120         (get_parser): Allow bot-cycle action.
10122 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10124         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
10125         Remove redirection to __stpcpy_ppc.
10127 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10129         Remove __libc_memalign from ld.so because it is unused.
10130         * elf/dl-minimal.c: Update comment on the malloc implementation.
10131         (malloc): Renamed from __libc_memalign, replacing the original
10132         malloc implementation.  Replace the align parameter with
10133         MALLOC_ALIGNMENT.
10134         * elf/Versions (ld): Update comment and remove __libc_memalign.
10135         * sysdeps/nacl/ld.abilist: Likewise.
10136         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10137         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10138         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10139         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10140         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10141         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10142         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10143         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10144         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10145         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10146         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10147         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10148         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10152         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10153         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10154         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10155         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10156         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10159         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10160         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10161         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10162         * sysdeps/generic/localplt.data (ld.so): Likewise.
10163         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10164         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10165         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10166         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10167         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10168         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10169         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10170         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10171         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10173         (ld.so): Likewise.
10174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10175         (ld.so): Likewise.
10176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10177         Likewise.
10178         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10179         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10180         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10181         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10182         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10184 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10186         [BZ #16628]
10187         Implement _dl_catch_error, _dl_signal_error in libc.so.
10188         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10189         (catch_hook): Define as thread-local or regular variable,
10190         depending on DL_ERROR_BOOTSTRAP.
10191         (CATCH_HOOK): Remove.
10192         (dl_signal_error, _dl_catch_error): Use
10193         catch_hook.  Add hidden definition for libc.
10194         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
10195         for DL_ERROR_BOOTSTRAP only.
10196         * elf/dl-error.c: New file.
10197         * elf/dl-error-minimal.c: Likewise.
10198         * elf/tst-latepthread.c: Likewise.
10199         * elf/tst-latepthreadmod.c: Likewise.
10200         * elf/Makefile (routines): Add dl-error.
10201         (dl-routines): Remove dl-error.
10202         (rtld-routines): Add dl-error-minimal.
10203         [build-shared] (tests): Add tst-latepthread.
10204         (module-names): Add tst-latepthreadmod.
10205         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10206         symbol.
10207         (tst-latepthreadmod.so): Link against libpthread.
10208         (tst-latepthread): Link against libdbl.
10209         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10210         _dl_catch_error.
10211         [ld] (GLIBC_PRIVATE): Likewise.
10212         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10213         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10214         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10215         directly.
10216         * elf/dl-tsd.c: Remove file.
10217         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10218         _dl_catch_error, _dl_signal_error.
10219         (_dl_initial_error_catch_tsd): Remove definition.
10220         (do_preload): Remove initialization of dl_error_catch_tsd.
10221         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10222         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10223         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10224         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10225         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10226         set dl_error_catch_tsd.
10227         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10228         _dl_error_catch_tsd member.
10229         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10230         members.
10231         (_dl_initial_error_catch_tsd): Remove declaration.
10232         (_dl_dprintf): Provide definition for use outside of ld.so.
10233         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10234         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10235         prototype for libc.
10236         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10237         _dl_catch_error.
10238         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10239         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10240         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10241         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10242         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10243         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10244         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10245         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10246         Likewise.
10247         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10249         (ld.so): Likewise.
10250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10251         (ld.so): Likewise.
10252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10253         Likewise.
10254         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10255         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10256         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10257         Likewise.
10258         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10259         Likewise.
10260         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10262 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10264         [BZ #4099]
10265         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10266         _IO_BUFSIZ (8192).
10268 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10270         * PROJECTS: Remove file.
10272 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10274         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10276 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10277             Steve Ellcey  <sellcey@caviumnetworks.com>
10279         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10280         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10281         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10282         fxstatat.
10283         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10284         lxstat.
10285         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10286         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10287         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10288         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10289         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10290         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10291         __xstat.
10293 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10295         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10296         Define.
10297         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10298         definition.
10300 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10302         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10303         version and turn into strong alias.  Remove compat symbol.
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10306         (__longjmp): Remove.
10308 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10310         * bits/fp-fast.h: New file.
10311         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10312         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10313         * math/Makefile (headers): Add bits/fp-fast.h.
10314         * math/math.h: Include <bits/fp-fast.h>.
10315         * bits/mathdef.h (FP_FAST_FMA): Remove.
10316         (FP_FAST_FMAF): Likewise.
10317         (FP_FAST_FMAL): Likewise.
10318         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10319         (FP_FAST_FMAF): Likewise.
10320         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10321         (FP_FAST_FMAF): Likewise.
10322         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10323         (FP_FAST_FMAF): Likewise.
10324         (FP_FAST_FMAL): Likewise.
10325         * sysdeps/arm/bits/mathdef.h: Remove file.
10326         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10327         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10328         * sysdeps/tile/bits/mathdef.h: Likewise.
10330 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10332         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10333         * math/w_ilogb.c: Remove.
10334         * math/w_ilogbf.c: Likewise.
10335         * math/w_ilogbl.c: Likewise.
10336         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10337         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10338         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10339         (libm-calls): Remove w_ilogbF.
10340         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10341         (LDOUBLE_ilogbl_libm_version): New macro.
10343         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10345         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10346         [!__STRICT_ANSI__ && !__cplusplus].
10348 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10350         [BZ #20750]
10351         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10352         of PIC.
10354 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10355             Yury Norov  <ynorov@caviumnetworks.com>
10356             Steve Ellcey  <sellcey@caviumnetworks.com>
10358         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10359         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10360         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10361         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10362         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10363         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10364         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10365         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10366         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10367         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10368         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10369         to get correct reg name for ILP32.
10370         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10371         (RELA_SIZE): New Macro.
10372         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10373         to support ILP32.
10374         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10375         cast for ILP32 mode.
10376         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10377         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10378         * sysdeps/aarch64/memset.S (__memset): Ditto.
10379         * sysdeps/aarch64/strchr.S (strchr): Ditto.
10380         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10381         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10382         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10383         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10384         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10385         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10386         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10387         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10388         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10389         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10390         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10391         change PTR_MANGLE call to use register numbers instead of names.
10392         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10393         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10394         ILP32 mode, change PTR_MANGLE calls to use register numbers.
10395         * sysdeps/aarch64/start.S (_start): Ditto.
10396         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10397         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10398         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10399         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10400         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10401         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10402         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10403         Make defined values dependent on __ILP32__.
10404         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10405         (sem_t): Change __align type.
10406         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10407         PTR_SIZE): New Macros.
10408         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10409         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10410         Set when in ILP32 mode.
10411         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10412         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10413         Set elf flags for ILP32.
10414         (add_system_dir): Set ILP32 library directories.
10415         * sysdeps/unix/sysv/linux/aarch64/init-first.c
10416         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10417         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10418         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10419         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10420         New Macros.
10421         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10423 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
10425         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10426         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10427         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10429 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10431         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10432         <asm/cachectl.h>.
10434 2016-11-27  Zack Weinberg  <zackw@panix.com>
10436         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10437         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10439 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10441         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10442         error_t to fix usage in C++ programs.
10444 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
10446         * scripts/build-many-glibcs.py: Import datetime module.
10447         (Context.__init__): Load JSON build state.  Initialize list of
10448         status logs.
10449         (Context.run_builds): Update saved build state.
10450         (Context.add_makefile_cmdlist): Update list of status logs.
10451         (Context.load_build_state_json): New function.
10452         (Context.store_build_state_json): Likewise.
10453         (Context.clear_last_build_state): Likewise.
10454         (Context.update_build_state): Likewise.
10455         (CommandList.status_logs): Likewise.
10457 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
10459         * scripts/build-many-glibcs.py (Context.__init__): Save text of
10460         script being executed.
10461         (Context.get_script_text): New function.
10462         (Context.exec_self): Likewise.
10463         (Context.checkout): Re-exec script if changed by checkout process.
10465 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10467         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10468         (setpayloadsig): New declaration.
10469         * math/Versions (setpayloadsig): New libm symbol at version
10470         GLIBC_2.25.
10471         (setpayloadsigf): Likewise.
10472         (setpayloadsigl): Likewise.
10473         * math/Makefile (libm-calls): Add s_setpayloadsigF.
10474         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
10475         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
10476         (setpayloadsig_test_data): New array.
10477         (setpayloadsig_test): New function.
10478         (main): Call setpayloadsig_test.
10479         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
10480         setpayloadsigf and setpayloadsigl.
10481         * manual/libm-err-tab.pl: Update comment on interfaces without
10482         ulps tabulated.
10483         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
10484         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
10485         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
10486         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
10487         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
10488         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
10489         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10490         setpayloadsig.
10491         (CFLAGS-nldbl-setpayloadsig.c): New variable.
10492         * sysdeps/nacl/libm.abilist: Update.
10493         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10494         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10495         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10496         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10497         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10498         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10499         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10500         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10501         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10502         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10503         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10504         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10506         Likewise.
10507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10508         Likewise.
10509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10510         Likewise.
10511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10512         Likewise.
10513         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10514         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10515         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10516         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10517         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10519         Likewise.
10520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10521         Likewise.
10522         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10523         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10524         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10526         * scripts/build-many-glibcs.py: Import json module.
10527         (Context.__init__): Take replace_sources argument.  Load
10528         versions.json.
10529         (Context.load_versions_json): New function.
10530         (Context.store_json): Likewise.
10531         (Context.store_versions_json): Likewise.
10532         (Context.set_component_version): Likewise.
10533         (Context.checkout): Update versions.json.  Check for and handle
10534         changes of version.  Prefer previously explicitly specified
10535         version to default version.
10536         (Context.checkout_vcs): Return a revision identifier.
10537         (Context.git_checkout): Likewise.
10538         (Context.gcc_checkout): Likewise.
10539         (get_parser): Add --replace-sources option.
10540         (main): Pass replace_sources argument to Context call.
10542 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10544         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
10545         * nptl/allocatestack.c (allocate_stack): Likewise.
10546         (__reclaim_stacks): Likewise.
10547         (setxid_signal_thread): Obtain pid through syscall.
10548         * nptl/nptl-init.c (sigcancel_handler): Likewise.
10549         (sighandle_setxid): Likewise.
10550         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
10551         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10552         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10553         Likewise.
10554         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10555         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
10556         comment.
10557         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
10558         * nptl/descr.h (struct pthread): Change comment about pid value.
10559         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
10560         pid assert.
10561         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
10562         Do not set pid value.
10563         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
10564         pid cache check.
10565         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
10566         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
10567         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
10568         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
10569         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
10570         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10571         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
10572         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
10573         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
10574         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
10575         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
10576         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10577         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
10578         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10579         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
10580         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
10581         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10582         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
10583         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
10584         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
10585         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
10586         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10587         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
10588         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
10589         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
10590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10592         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10593         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10594         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10595         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
10596         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
10597         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
10598         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10599         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
10600         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10601         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
10602         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10603         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
10604         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
10605         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10606         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
10607         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
10608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10610         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10611         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10612         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10613         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10614         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10615         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
10616         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10617         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
10618         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
10619         struct access.
10620         (clone_test): Remove function.
10621         (do_test): Rewrite to take in consideration pid is not cached anymore.
10623 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10625         * bits/flt-eval-method.h: New file.
10626         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
10627         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
10628         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
10629         * math/Makefile (headers): Add bits/flt-eval-method.h.
10630         * math/math.h: Include <bits/flt-eval-method.h>.
10631         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
10632         [__USE_ISOC99] (double_t): Likewise.
10633         * bits/mathdef.h (float_t): Remove.
10634         (double_t): Likewise.
10635         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
10636         (double_t): Likewise.
10637         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
10638         (double_t): Likewise.
10639         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
10640         (double_t): Likewise.
10641         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
10642         (double_t): Likewise.
10643         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
10644         (double_t): Likewise.
10645         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
10646         (double_t): Likewise.
10647         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
10648         (double_t): Likewise.
10649         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
10650         (double_t): Likewise.
10651         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
10652         (double_t): Likewise.
10653         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
10654         (double_t): Likewise.
10655         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
10656         (double_t): Likewise.
10657         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
10658         (double_t): Likewise.
10659         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
10660         (double_t): Likewise.
10662 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
10664         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
10665         instead of PIC.
10667 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10669         [BZ #20859]
10670         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
10671         (-0x7fffffff) instead of 0x80000001.
10672         * math/test-fp-ilogb-constants.c: New file.
10673         * math/Makefile (tests): Add test-fp-ilogb-constants.
10675 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
10677         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
10678         (_init): Use it in place of hardcoded R_MIPS_JALR.
10679         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
10680         (_init): Use it in place of hardcoded R_MIPS_JALR.
10681         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
10682         (_init): Use it in place of hardcoded R_MIPS_JALR.
10684 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10686         [BZ #20787]
10687         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
10688         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
10689         (double_t): Do not define to double if [__x86_64__] when
10690         __FLT_EVAL_METHOD__ is nonzero.
10691         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
10692         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
10693         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10694         test-flt-eval-method-387 and test-flt-eval-method-sse.
10695         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
10696         variable.
10697         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
10699 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
10701         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
10702         use of -fno-isolate-erroneous-paths options for tilepro.
10704 2016-11-23  Florian Weimer  <fweimer@redhat.com>
10706         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
10707         structure initialization is no longer needed.
10709 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10711         [BZ #20855]
10712         * bits/mathdef.h (float_t): Define to float.
10713         * math/test-flt-eval-method.c: New file.
10714         * math/Makefile (tests): Add test-flt-eval-method.
10715         (CFLAGS-test-flt-eval-method.c): New variable.
10717 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
10719         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
10720         and __fstatfs.  Make them aliases of __fstatfs64 if
10721         STATFS_IS_STATFS64 is set to non-zero.
10722         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
10723         and __statfs64.
10724         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
10725         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
10726         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
10727         for __statfs and statfs.
10728         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
10729         to 0.
10730         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
10731         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
10732         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
10733         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10734         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10735         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
10738         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
10739         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10740         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
10741         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
10743 2016-11-22  Andreas Schwab  <schwab@suse.de>
10745         * misc/mkstemp.c: Include <fcntl.h>.
10746         * misc/mkstemps.c: Likewise.
10747         * misc/mkostemp.c: Likewise.
10748         * misc/mkostemps.c: Likewise.
10750 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
10752         [BZ #20847]
10753         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10754         array bounds.
10755         (__execvpe): Likewise.
10757 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
10759         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
10760         -fno-isolate-erroneous-paths options for tilepro.
10762 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
10764         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
10765         to 0 when in 32 bit mode.
10766         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
10767         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10768         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10769         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10771         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10772         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
10773         XSTAT_IS_XSTAT64 test.
10774         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10775         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10776         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10777         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10778         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10779         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10780         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10781         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10782         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10783         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10784         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10786 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10788         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10789         (setpayload): New declaration.
10790         * math/Versions (setpayload): New libm symbol at version
10791         GLIBC_2.25.
10792         (setpayloadf): Likewise.
10793         (setpayloadl): Likewise.
10794         * math/Makefile (libm-calls): Add s_setpayloadF.
10795         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10796         test_Ff_b1_data.
10797         (RUN_TEST_Ff_b1): New macro.
10798         (RUN_TEST_LOOP_Ff_b1): Likewise.
10799         (canonicalize_test_data): Update type.
10800         (setpayload_test_data): New array.
10801         (setpayload_test): New function.
10802         (main): Call setpayload_test.
10803         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10804         setpayloadf and setpayloadl.
10805         * manual/libm-err-tab.pl: Update comment on interfaces without
10806         ulps tabulated.
10807         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10808         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10809         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10810         Likewise.
10811         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10812         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10813         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10814         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10815         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10816         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10817         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10818         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10819         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10820         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10821         setpayload.
10822         (CFLAGS-nldbl-setpayload.c): New variable.
10823         * sysdeps/nacl/libm.abilist: Update.
10824         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10825         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10826         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10827         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10828         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10829         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10830         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10831         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10832         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10833         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10834         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10835         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10837         Likewise.
10838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10839         Likewise.
10840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10841         Likewise.
10842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10843         Likewise.
10844         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10845         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10846         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10847         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10848         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10850         Likewise.
10851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10852         Likewise.
10853         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10854         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10855         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10857 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10859         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
10860         * include/unistd.h: Extend comment about __access_noerrno return
10861         semantics.
10862         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
10863         (access_common): Correct typo for EACCES.
10865 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
10867         * sysdeps/tile/math-tests.h: New file.
10869         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
10870         (__old_set_dataplane): Rename from set_dataplane and make a
10871         compatibility symbol.
10872         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
10873         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
10874         sys/dataplane.h.
10876 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
10878         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
10879         script quote words in command output to log suitably for input to
10880         the shell.
10882 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
10883             Maciej W. Rozycki  <macro@imgtec.com>
10885         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
10886         `.Lno_weak_fn' label.
10887         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
10888         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
10890 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10891             Yury Norov  <ynorov@caviumnetworks.com>
10893         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
10894         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
10895         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10896         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
10897         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10898         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
10899         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10900         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10901         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10902         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
10903         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10904         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
10905         (sysdep_routines): Remove oldgetrlimit64.
10906         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
10907         (sysdep_routines): Likewise.
10908         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
10909         (sysdep_routines): Likewise.
10910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10911         [$(subdir) = resource] (sysdep_routines): Likewise.
10912         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
10913         [$(subdir) = resource] (sysdep_routines): Likewise.
10914         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
10915         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
10916         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
10917         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
10918         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
10919         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10920         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10921         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
10922         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
10923         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
10924         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
10925         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
10926         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
10927         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
10928         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
10929         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
10930         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
10931         setrlimit and getrlimit.
10932         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
10933         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10934         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
10935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
10937         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10938         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
10939         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10940         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10941         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
10942         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
10943         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
10944         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
10945         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
10946         (__old_getrlimit64): Add compatibility symbol.
10947         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
10949 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
10951         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
10952         newly built gmp, mpfr and mpc.
10954         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
10956 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10958         * conform/Makefile (linknamespace-libs): Rename to
10959         linknamespace-libs-thr.
10960         (linknamespace-libs-posix): New variable.
10961         (linknamespace-libs-xsi): Likewise.
10962         (linknamespace-libs-XPG3): Include libcrypt.a.
10963         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
10964         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
10965         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
10966         (linknamespace-libs-XOPEN2K): Likewise.
10967         (linknamespace-libs-XOPEN2K8): Likewise.
10968         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
10970         [BZ #20829]
10971         * stdio-common/Versions (__snprintf): Add to version
10972         GLIBC_PRIVATE.
10973         * include/stdio.h (__snprintf): Use libc_hidden_proto.
10974         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
10975         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
10976         of snprintf.
10977         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10979 2016-11-16  Zack Weinberg  <zackw@panix.com>
10981         * string/string.h: Remove obsolete comment stating that
10982         strcoll_l and strxfrm_l have not yet been standardized.
10984 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10986         * hurd/hurd.h (__hurd_fail_noerrno): New function.
10987         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
10988         __access_noerrno.
10989         * io/access.c (__access_noerrno): New function.
10990         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
10991         (hurd_fail_seterrno): Likewise.
10992         (access_common): Likewise.
10993         (__access_noerrno): Likewise.
10994         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
10995         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
10996         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
10997         macro.
10999 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11001         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
11002         Only declare fpregs if [__SH_FPU_ANY__].
11004 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
11006         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
11007         Make code unconditional.
11008         [!(__SH4__ || __SH4A__)]: Remove conditional code.
11010 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
11012         * manual/sysinfo.texi (S_APPEND): Delete.
11013         (S_IMMUTABLE): Likewise.
11015 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
11016             Magnus Granberg  <zorry@gentoo.org>
11017             Mike Frysinger  <vapier@gentoo.org>
11019         [BZ #20662]
11020         * configure.ac (libc_cv_predef_stack_protector): Also check for
11021         __stack_chk_fail_local symbols.
11022         * configure: Regenerated.
11024 2016-11-15  Florian Weimer  <fweimer@redhat.com>
11026         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11027         (libc_hidden_def): Remove redefinition.
11028         (__sigsetjmp): Add hidden definition.
11029         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11030         (libc_hidden_def): Remove redefinition.
11031         (__sigsetjmp): Add hidden definition.
11033 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
11035         * scripts/build-many-glibcs.py (os.path): Do not import.
11036         (Context): Inherit explicitly from object.  Remove blank line
11037         between class and docstring.
11038         (Config): Likewise.
11039         (Glibc): Likewise.
11040         (Command): Likewise.
11041         (CommandList): Likewise.
11042         (Context.write_files): Store chmod mode in a variable.
11044         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
11045         LIBC_SLIBDIR_RTLDDIR for tilegx32.
11046         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
11048 2016-11-14  Zack Weinberg  <zackw@panix.com>
11050         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
11051         creating or re-creating it.
11053         * string/bits/string2.h: Fix typo in comment.
11055 2016-11-14  Zack Weinberg  <zackw@panix.com>
11057         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
11058         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
11059         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
11060         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
11061         of redirected function names.
11063         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
11064         as well.  Document that MESSAGE must be a single string literal.
11066 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
11068         * scripts/build-many-glibcs.py: New file.
11070         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
11071         (do_test): Disable -Wmaybe-uninitialized around uses of
11072         except_mask.
11074         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
11076 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
11078         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
11079         (atomic_store_release): Provide tilepro-specific implementations.
11081 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
11083         * math/math.h (__MATH_TG): New macro.
11084         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
11085         [__USE_ISOC99] (signbit): Likewise.
11086         [__USE_ISOC99] (isfinite): Likewise.
11087         [__USE_ISOC99] (isnan): Likewise.
11088         [__USE_ISOC99] (isinf): Likewise.
11089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
11090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
11091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
11092         __MATH_TG and __MATH_EVAL_FMT2.
11093         * sysdeps/generic/math_private.h (fabs_tg): Define using
11094         __MATH_TG.
11095         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11096         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
11097         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
11098         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
11099         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
11100         macro.
11101         (__iscanonical): Likewise.
11102         (iscanonical): Define using __MATH_TG.
11104 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11106         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
11107         guards.
11109         * sysdeps/unix/sysv/linux/access.c: New file.
11110         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
11112 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
11114         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
11115         and __WORDSIZE32_PTRDIFF_LONG.
11117 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11119         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11121 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11123         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
11124         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
11125         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
11126         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
11127         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
11129         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
11130         * sysdeps/unix/sysv/linux/truncate.c: New file.
11131         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
11132         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11133         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
11134         Remove.
11135         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
11136         Likewise.
11138         * posix/tst-truncate-common.c: New file.
11139         * posix/tst-truncate.c: Use tst-truncate-common.c.
11140         * posix/tst-truncate64.c: Likewise and add LFS tests.
11141         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
11142         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
11143         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
11144         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
11145         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
11146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
11147         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
11148         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
11149         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
11150         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11151         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11152         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11153         Remove.
11154         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11155         Likewise.
11157 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
11159         [BZ #20790]
11160         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11161         to MAXLINESIZE.
11162         * sunrpc/bug20790.x: New file.
11163         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11164         variable.
11165         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11166         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11168         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11170         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11172         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11173         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
11174         calloc, realloc, free, memalign and __libc_memalign rather than
11175         making them optional.
11177         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11178         for libc.so.
11180 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11182         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11183         ptw-lseek64.
11184         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11185         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
11186         Likewise.
11187         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11188         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11189         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11190         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11191         * sysdeps/unix/sysv/linux/lseek.c: New file.
11192         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11193         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11194         __libc_lseek64 from auto-generation.
11195         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11196         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11198 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11200         * nptl/tst-basic1.c (tf, do_test): Use write_message.
11201         * nptl/tst-cleanup1.c (do_test): Likewise.
11202         * nptl/tst-cleanup3.c (do_test): Likewise.
11203         * nptl/tst-key1.c (do_test): Likewise.
11204         * nptl/tst-key2.c (tf, do_test): Likewise.
11205         * nptl/tst-key3.c (tf, do_test): Likewise.
11206         * nptl/tst-stdio1.c (do_test): Likewise.
11207         * nptl/tst-stdio2.c (do_test): Likewise.
11209         * nptl/tst-kill3.c (handler): Use write_message in place of write.
11210         * nptl/tst-kill6.c (handler): Likewise.
11211         * nptl/tst-tls2.c (CB): Likewise.
11212         * nptl/tst-tls3.c (CB): Likewise.
11214 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11216         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11218 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11219             Steve Ellcey  <sellcey@caviumnetworks.com>
11221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11222           __ASSUME_ST_INO_64_BIT as 0
11223         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11224         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11225           over the code where __ASSUME_ST_INO_64_BIT is used.
11226         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11227         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11228         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11230 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11232         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11233         Document ABI exposure of the __kind offset.
11234         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11235         Mention reason for the __kind offset exposure in the ABI.
11236         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11237         Likewise.
11238         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11239         Likewise.
11240         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11241         Likewise.
11242         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11243         (struct __pthread_mutex_s): Likewise.
11244         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11245         Likewise.
11246         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11247         Likewise.
11248         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11249         Likewise.
11250         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11251         Likewise.
11252         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11253         Likewise.
11254         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11255         Likewise.
11256         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11257         (struct __pthread_mutex_s): Likewise.
11258         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11259         (struct __pthread_mutex_s): Likewise.
11260         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11261         Likewise.
11263 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11265         * test-skeleton.c: Document do_test usage.
11267 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11269         * iconv/gconv.h (__gconv_info): Define __data element using a
11270         zero-length array.
11272 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11274         * math/test-tgmath2.c: Split up test function.
11276 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11278         * Rules (tests-expected): New variable, depending on
11279         $(run-built-tests).
11280         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11281         $(tests).
11283         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11284         $(tests-unsupported).
11286 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11288         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11289         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11291 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11293         [BZ #20768]
11294         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11295         __fegetenv instead of fegetenv.
11297         [BZ #14139]
11298         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11299         (find_files): Obtain platform name from libm-test-ulps-name and
11300         store in %pplatforms.
11301         (canonicalize_platform): Remove.
11302         (print_platforms): Use $pplatforms directly.
11303         (by_platforms): Do not allow for platforms missing from
11304         %pplatforms.
11305         * sysdeps/aarch64/libm-test-ulps-name: New file.
11306         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11307         * sysdeps/arm/libm-test-ulps-name: Likewise.
11308         * sysdeps/generic/libm-test-ulps-name: Likewise.
11309         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11310         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11311         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11312         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11313         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11314         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11315         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11316         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11317         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11318         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11319         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11320         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11321         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11322         * sysdeps/sh/libm-test-ulps-name: Likewise.
11323         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11324         * sysdeps/tile/libm-test-ulps-name: Likewise.
11325         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11327         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11329         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11330         (test-xfail-check-execstack): New variable.
11332         * sysdeps/mips/localplt.data: New file.
11334 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11335             Steve Ellcey  <sellcey@caviumnetworks.com>
11337         * bits/wordsize.h: Add documentation.
11338         * sysdeps/aarch64/bits/wordsize.h : New file
11339         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11340         definitions.
11341         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11342         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11343         with #if instead of #ifdef.
11344         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11345         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11346         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11347         Add or change defines.
11348         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11349         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11350         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11351         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11352         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11353         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11354         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11355         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11356         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11357         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11358         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11359         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11360         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11361         * sysdeps/x86/bits/wordsize.h: Likewise.
11363 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
11364             Kevin Petit  <kevin.petit@arm.com>
11366         * sysdeps/aarch64/memchr.S (__memchr): New file.
11368 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11370         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11372 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
11374         [BZ #19398]
11375         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11376         $(linknamespace-symlists-tests).
11378 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
11380         * time/tst-strptime2.c: Ignore -Wformat-length warning.
11382 2016-11-02  Florian Weimer  <fweimer@redhat.com>
11383             Carlos O'Donell  <carlos@redhat.com>
11385         [Bug #20729]
11386         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11387         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
11388         for -Os related change.
11390 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
11392         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11394 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
11396         [BZ #19673]
11397         * manual/math.texi (Exponents and Logarithms): Correct description
11398         of clog10.
11400 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
11402         [Bz #20729]
11403         * locale/weight.h: Include libc-internal.h.
11404         * locale/weightwc.h: Likewise.
11405         * nptl/nptl_dbP.h: Likewise.
11407 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
11409         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11410         when it is MACH_PORT_NULL.
11412 2016-10-31  Andreas Schwab  <schwab@suse.de>
11414         [BZ #20707]
11415         * posix/glob.c (glob): Initialize pglob before checking for
11416         GLOB_BRACE.  Don't call glob recursively if pattern contains no
11417         valid brace expression despite GLOB_BRACE.
11418         * posix/globtest.sh: Test it.
11420 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11422         [BZ #20729]
11423         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11424         Define.
11425         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11426         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11427         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11428         for seq2.back_us and seq1.back_us only for -Os compiles.
11429         * locale/weightwc.h (findix): Likewise.
11430         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11431         DB_GET_FIELD_ADDRESS only for -Os compiles.
11432         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11433         for slen only for -Os compiles.
11434         * string/strcoll_l.c (get_next_seq): Ignore
11435         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11436         for -Os compiles.
11438         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11439         * include/crypt.h: New file.
11441 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11443         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
11444         from test-skeleton.c.
11445         (statclass): Replace calls to write with calls to write_message.
11447 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11449         * math/math.h
11450         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
11451         New macro.
11452         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
11453         Likewise.
11454         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
11455         Likewise.
11456         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
11457         SNANL.
11458         * math/test-double.h (snan_value_MACRO): New macro.
11459         * math/test-float.h (snan_value_MACRO): Likewise.
11460         * math/test-ldouble.h (snan_value_MACRO): Likewise.
11461         * math/libm-test.inc (issignaling_test_data): Add tests of
11462         snan_value_MACRO.
11464 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11466         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
11467         behavior when eliding a lock not held by the current thread.
11468         * sysdeps/powerpc/nptl/elide.h: Likewise.
11470 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11472         [BZ #20728]
11473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
11474         branch to _exit() by a function call.
11476 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11478         * malloc/malloc.c: Update chunk layout comments.
11479         (chunk_main_arena): Update comment.
11481 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11483         * crypt/sha256.c, crypt/sha256-block.c,
11484         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
11485         sha256_process_block to __sha256_process_block.
11486         * crypt/sha512.c, crypt/sha512-block.c,
11487         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
11488         sha512_process_block to __sha512_process_block.
11490 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11492         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
11494         * math/test-nan-overflow.c: Include stdlib.h for malloc.
11496 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
11498         [BZ #20019]
11499         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
11500         definition in unrelocated shared library.
11501         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11503 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11505         [BZ #20729]
11506         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
11507         * sysdeps/unix/sysv/linux/i386/Makefile
11508         (uses-6-syscall-arguments): Define.
11509         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
11510         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
11511         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
11512         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
11513         Likewise.
11514         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
11515         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
11516         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
11517         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
11518         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
11519         (CFLAGS-fallocate64.os): Likewise.
11520         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
11521         (CFLAGS-pthread_rwlock_timedrdlock.os)
11522         (CFLAGS-pthread_rwlock_timedwrlock.o)
11523         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
11524         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
11525         (CFLAGS-sem_timedwait.os): Likewise.
11527 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11529         * elf/tst-linkall-static.c: New file.
11530         * elf/Makefile (tests-static): Add tst-linkall-static.
11531         (tst-linkall-static): Link against static libraries.
11533 2016-10-27  Florian Weimer  <fweimer@redhat.com>
11535         * malloc/malloc.c (sysmalloc): Initialize previous size field of
11536         mmaped chunks.
11538 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11540         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
11541         members to mchunk_prev_size, mchunk_size.
11542         (chunk_main_arena): Reverse sense and rename from
11543         chunk_non_main_arena.
11544         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
11545         mchunk_size instead of size.
11546         (set_non_main_arena): Define.
11547         (chunksize): Use chunksize_nomask instead of direct member access.
11548         (chunksize_nomask): Define.
11549         (next_chunk): Use chunksize instead of direct member access.
11550         (prev_size, set_prev_size): Define.
11551         (prev_chunk): Use prev_size instead of direct member access.
11552         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
11553         (inuse_bit_at_offset, set_inuse_bit_at_offset)
11554         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
11555         (mchunk_prev_size, mchunk_size): Poison tokens.
11556         (unlink): Use chunksize_nomask, prev_size accessors.
11557         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
11558         (do_check_free_chunk): Use prev_size accessor.
11559         (sysmalloc): Use set_prev_size, set_head accessors.
11560         (munmap_chunk, mremap_chunk): Use prev_size accessor.
11561         (__libc_free): Use chunksize_nomask accessor.
11562         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
11563         chunk_main_arena accessors.
11564         (_int_free): Use chunksize_nomask, prev_size accessors.
11565         (malloc_consolidate): Use chunksize, prev_size accessors.
11566         (_int_realloc): Use chunksize_nomask accessor.
11567         (_int_memalign): Use set_prev_size accessor.
11568         (__malloc_info): Use chunksize_nomask accessor.
11569         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
11570         accessors.
11571         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
11572         (heap_trim): Use chunksize_nomask, prev_size accessors.
11574 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11576         [BZ #19380]
11577         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
11578         for inexact results.
11579         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
11580         of inexact result where mpfr_subnormalize is the only inexact
11581         step.
11582         * stdlib/tst-strtod-round-data.h: Regenerated.
11583         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
11584         Define to 0.
11585         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
11587 2016-10-27  David S. Miller  <davem@davemloft.net>
11589         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
11591 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11593         * malloc/malloc.c (do_set_mallopt_check): New function.
11594         (do_set_mmap_threshold): Likewise.
11595         (do_set_mmaps_max): Likewise.
11596         (do_set_top_pad): Likewise.
11597         (do_set_perturb_byte): Likewise.
11598         (do_set_trim_threshold): Likewise.
11599         (do_set_arena_max): Likewise.
11600         (do_set_arena_test): Likewise.
11601         (__libc_mallopt): Use them.
11603 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
11605         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11606         (canonicalize): New declaration.
11607         * math/Versions (canonicalize): New libm symbol at version
11608         GLIBC_2.25.
11609         (canonicalizef): Likewise.
11610         (canonicalizel): Likewise.
11611         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
11612         * math/s_canonicalize_template.c: New file.
11613         * math/libm-test.inc: Update comment on functions tested and
11614         testing of NaN payloads.
11615         (TEST_NAN_PAYLOAD): New macro.
11616         (NO_TEST_INLINE): Update value.
11617         (XFAIL_TEST): Likewise.
11618         (ERRNO_UNCHANGED): Likewise.
11619         (ERRNO_EDOM): Likewise.
11620         (ERRNO_ERANGE): Likewise.
11621         (IGNORE_RESULT): Likewise.
11622         (NON_FINITE): Likewise.
11623         (TEST_SNAN): Likewise.
11624         (NO_TEST_MATHVEC): Likewise.
11625         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
11626         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
11627         (struct test_Ffp_b1_data): New type.
11628         (RUN_TEST_Ffp_b1): New macro.
11629         (RUN_TEST_LOOP_Ffp_b1): Likewise.
11630         (canonicalize_test_data): New array.
11631         (canonicalize_test): New function.
11632         (main): Call canonicalize_test.
11633         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
11634         canonicalizef and canonicalizel.
11635         * manual/libm-err-tab.pl: Update comment on interfaces without
11636         ulps tabulated.
11637         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
11638         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
11639         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11640         canonicalize.
11641         (CFLAGS-nldbl-canonicalize.c): New variable.
11642         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
11643         to ...
11644         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
11645         ... here.
11646         (do_test): Also test canonicalizel.
11647         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
11648         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
11649         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
11650         file.
11651         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
11652         Use libm_hidden_def.
11653         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
11654         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
11655         (do_test): Also test canonicalizel.
11656         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
11657         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
11658         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
11659         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
11660         libm_hidden_def.
11661         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
11662         macro.
11663         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
11664         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
11665         * sysdeps/nacl/libm.abilist: Update.
11666         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11667         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11668         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11669         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11670         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11671         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11672         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11673         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11674         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11675         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11676         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11677         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11679         Likewise.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11681         Likewise.
11682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11683         Likewise.
11684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11685         Likewise.
11686         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11687         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11688         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11689         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11690         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11692         Likewise.
11693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11694         Likewise.
11695         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11696         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11697         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11699         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
11700         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11701         getpayload.
11702         (CFLAGS-nldbl-getpayload.c): New variable.
11704 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11706         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
11707         integer from the format string.
11709 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11711         [BZ #19473]
11712         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
11713         declarations.
11714         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
11715         weak aliases.
11716         * malloc/hooks.c (__malloc_get_state): Remove definition.
11717         (malloc_get_state): New stub implementation as
11718         compatibility symbol.
11719         (malloc_set_state): Rename from __malloc_set_state.  Turn into
11720         compat symbol.
11721         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
11722         malloc_set_state.
11723         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
11725 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11727         * iconvdata/iso646.c (enum variant): Drop illegal_var.
11728         (names): Turn into concatenation of strings.
11729         (gconv_init): Adapt iteration over names.
11731 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11733         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
11734         make const.
11735         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
11736         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
11737         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
11738         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
11739         character in sbconv.
11740         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
11741         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
11742         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
11744 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11746         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
11748         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
11749         (M_TRIM_THRESHOLD): Likewise.
11751         * manual/memory.texi (M_ARENA_TEST): Add documentation.
11752         (M_ARENA_MAX): Likewise.
11753         * malloc/malloc.c: Remove obsolete comment.
11755         * manual/memory.texi: Add environment variable alternatives to
11756         setting mallopt parameters.
11758 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
11760         * include/atomic.h
11761         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
11762         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
11764 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11766         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
11767         * stdlib/tst-strfrom.h: New file.
11768         * stdlib/tst-strfrom.c: New file.
11769         * stdlib/tst-strfrom-locale.c: New file.
11771         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
11772         * stdlib/bug-strtod2.c: Likewise.
11773         * stdlib/tst-strtod-round-skeleton.c: Likewise.
11774         * stdlib/tst-strtod6.c: Likewise.
11775         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11777 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11779         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11780         * manual/arith.texi: Document strfromd, strfromf, strfroml.
11781         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11782         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11783         * stdlib/stdlib.h (strfromd): New declaration.
11784         (strfromf): Likewise.
11785         (strfroml): Likewise.
11786         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11787         strfrom.
11788         * stdlib/strfromd.c: New file.
11789         * stdlib/strfromf.c: Likewise.
11790         * stdlib/strfroml.c: Likewise.
11791         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11792         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11793         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11794         * sysdeps/arm/nacl/libc.abilist: Update.
11795         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11796         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11797         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11798         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11799         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11800         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11801         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11802         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11803         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11804         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11805         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11806         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11807         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11808         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11813         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11814         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11815         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11816         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11817         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11820         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11821         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11822         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11824 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
11826         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11827         instead of cmpli.
11828         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11829         instead of cmpli.
11831 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
11833         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
11834         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11835         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
11836         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11837         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11838         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11840 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11842         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
11843         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11844         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
11845         SYSCALL_LL64_PRW.
11846         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11847         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
11848         __ASSUME_PRW_DUMMY_ARG.
11849         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
11850         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11851         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11852         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11853         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
11854         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
11856 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
11858         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
11860 2016-10-22  Florian Weimer  <fweimer@redhat.com>
11862         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
11863         "C++", to override a potential extern "C" directive around the
11864         header file inclusion.
11866 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
11868         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
11870 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11872         * sysdeps/powerpc/fpu/fenv_private.h:
11873         (_FPU_MASK_ALL): Rename to...
11874         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
11875         XE FPSCR bits.
11877         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
11879         (_FPU_MASK_ROUNDING): Rename to...
11880         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
11881         NI bits.
11883         (_FPU_MASK_EXCEPT_ROUND): Rename to...
11884         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
11885         bits and rounding bits.
11887         (__libc_feholdbits_ppc): New inline function to mask, set,
11888         and pontentially clear FSPCR bits, and change MSR[FE] bits.
11889         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
11890         (libc_feholdexcept_setround_ppc): Likewise.
11892         (__libc_femergeenv_ppc): New function to dynamically mask both
11893         old and new FP environments and merge.
11894         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
11895         (libc_feresetround_ppc): Likewise.
11896         (libc_feupdateenv_test_ppc): Likewise.
11897         (libc_feupdateenv_ppc): Likewise.
11899         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
11900         of ISA RN bits, and update macro names.
11901         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
11902         effectively the same as the previously mentioned function.
11904         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
11905         usage with fe_resetround_ppc.
11907         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
11908         to be used.
11909         (libc_feholdexcept_setround_ctxf): Likewise.
11910         (libc_feholdexcept_setround_ctxl): Likewise.
11912 2016-10-21  Florian Weimer  <fweimer@redhat.com>
11914         [BZ #20715]
11915         * math/math.h [__cplusplus] (iszero): Define as function template.
11916         * math/Makefile [CXX] (tests): Add test-math-iszero.
11917         (CFLAGS-test-math-iszero.cc): Set.
11918         * math/test-math-iszero.cc: New file.
11920 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
11922         [BZ #20660]
11923         * sysdeps/arm/e_sqrt.c: New file.
11924         * sysdeps/arm/e_sqrtf.c: Likewise.
11926 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
11928         [BZ #20718]
11929         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11930         not use floating-point comparisons to test sign.
11931         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
11932         Likewise.
11934         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11935         (getpayload): New declaration.
11936         * math/Versions (getpayload): New libm symbol at version
11937         GLIBC_2.25.
11938         (getpayloadf): Likewise.
11939         (getpayloadl): Likewise.
11940         * math/Makefile (libm-calls): Add s_getpayloadF.
11941         * math/libm-test.inc: Include <nan-high-order-bit.h>.
11942         (struct test_f_f_data): Add comment.
11943         (RUN_TEST_fp_f): New macro.
11944         (RUN_TEST_LOOP_fp_f): Likewise.
11945         (getpayload_test_data): New array.
11946         (getpayload_test): New function.
11947         (main): Call getpayload_test.
11948         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
11949         descriptor.
11950         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
11951         getpayloadf and getpayloadl.
11952         * manual/libm-err-tab.pl: Update comment on interfaces without
11953         ulps tabulated.
11954         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
11955         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
11956         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
11957         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
11958         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
11959         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
11960         * sysdeps/nacl/libm.abilist: Update.
11961         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11962         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11963         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11964         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11965         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11967         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11968         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11969         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11970         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11971         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11974         Likewise.
11975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11976         Likewise.
11977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11978         Likewise.
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11980         Likewise.
11981         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11982         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11985         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11987         Likewise.
11988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11989         Likewise.
11990         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11991         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11992         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11994 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11996         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
11997         tst-fallocate{64}.
11998         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
11999         on syscall return.
12001 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
12003         [BZ #20689]
12004         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
12005         usable.
12007 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
12009         * sysdeps/generic/nan-high-order-bit.h: New file.
12010         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
12011         * sysdeps/mips/nan-high-order-bit.h: Likewise.
12012         * sysdeps/hppa/math_private.h: Remove file.
12013         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
12014         not define here.
12015         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
12016         <nan-high-order-bit.h>.
12017         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12018         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12019         <nan-high-order-bit.h>.
12020         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12021         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12022         <nan-high-order-bit.h>.
12023         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12024         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
12025         <nan-high-order-bit.h>.
12026         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12027         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12028         <nan-high-order-bit.h>.
12029         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12030         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12031         <nan-high-order-bit.h>.
12032         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12033         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
12034         <nan-high-order-bit.h>.
12035         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12036         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12037         <nan-high-order-bit.h>.
12038         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12039         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12040         <nan-high-order-bit.h>.
12041         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12042         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
12043         <nan-high-order-bit.h>.
12044         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12045         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12046         <nan-high-order-bit.h>.
12047         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12048         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12049         <nan-high-order-bit.h>.
12050         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12051         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
12052         <nan-high-order-bit.h>.
12053         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12054         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
12055         <nan-high-order-bit.h>.
12056         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12057         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
12058         <nan-high-order-bit.h>.
12059         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12060         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
12061         <nan-high-order-bit.h>.
12062         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12063         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12064         <nan-high-order-bit.h>.
12065         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12066         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12067         <nan-high-order-bit.h>.
12068         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12070 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12072         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
12074 2016-09-22  John David Anglin  <dave.anglin@bell.net>
12076         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
12077         abort-instr.h.
12078         (EFAULT): Remove conditional define.
12079         (ENOSYS): Likewise.
12080         (atomic_compare_and_exchange_val_acq): Use instruction nullification
12081         instead of conditional branch instructions.
12083 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
12085         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12086         (totalordermag): New declaration.
12087         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
12088         New macro.
12089         * math/Versions (totalordermag): New libm symbol at version
12090         GLIBC_2.25.
12091         (totalordermagf): Likewise.
12092         (totalordermagl): Likewise.
12093         * math/Makefile (libm-calls): Add s_totalordermagF.
12094         * math/libm-test.inc (totalordermag_test_data): New array.
12095         (totalordermag_test): New function.
12096         (main): Call totalordermag_test.
12097         * math/test-tgmath.c (NCALLS): Increase to 125.
12098         (F(compile_test)): Call totalordermag.
12099         (F(totalordermag)): New function.
12100         * manual/arith.texi (FP Comparison Functions): Document
12101         totalordermag, totalordermagf and totalordermagl.
12102         * manual/libm-err-tab.pl: Update comment on interfaces without
12103         ulps tabulated.
12104         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
12105         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
12106         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
12107         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
12108         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
12109         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
12110         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
12111         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12112         totalordermag.
12113         (CFLAGS-nldbl-totalordermag.c): New variable.
12114         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
12115         (do_test): Also test totalordermagl.
12116         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
12117         Likewise.
12118         * sysdeps/nacl/libm.abilist: Update.
12119         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12120         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12121         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12122         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12123         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12124         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12125         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12126         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12127         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12128         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12129         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12130         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12132         Likewise.
12133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12134         Likewise.
12135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12136         Likewise.
12137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12138         Likewise.
12139         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12140         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12141         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12142         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12143         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12145         Likewise.
12146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12147         Likewise.
12148         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12149         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12150         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12152 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
12154         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12155         boolean.
12157 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
12159         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12160         raising FE_INVALID with feraisexcept in case where part of
12161         argument is infinite, subtract that part of argument from itself.
12162         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12163         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12164         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12166 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12168         * math/libm-test.inc (totalorder_test_data): Add more tests.
12170 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12172         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12173         Undefine weak_alias and add a comment why mips64 require
12174         versioning.
12176 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12178         [BZ #20647]
12179         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12180         maximum CPUID level is less than 2.
12182 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12184         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12185         (totalorder): New declaration.
12186         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12187         New macro.
12188         * math/Versions (totalorder): New libm symbol at version
12189         GLIBC_2.25.
12190         (totalorderf): Likewise.
12191         (totalorderl): Likewise.
12192         * math/Makefile (libm-calls): Add s_totalorderF.
12193         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12194         string.
12195         * math/libm-test.inc (PAYLOAD_DIG): New macro.
12196         (qnan_value_pl): Likewise.
12197         (snan_value_pl): Likewise.
12198         (qnan_value): Define using qnan_value_pl.
12199         (snan_value): Define using snan_value_pl.
12200         (struct test_ff_i_data): Add comment about which tests use this
12201         structure.
12202         (RUN_TEST_ff_b): New macro.
12203         (RUN_TEST_LOOP_ff_b): Likewise.
12204         (totalorder_test_data): New array.
12205         (totalorder_test): New function.
12206         (main): Call totalorder_test.
12207         * math/test-tgmath.c (NCALLS): Increase to 122.
12208         (F(compile_test)): Call totalorder.
12209         (F(totalorder)): New function.
12210         * manual/arith.texi (FP Comparison Functions): Document
12211         totalorder, totalorderf and totalorderl.
12212         * manual/libm-err-tab.pl: Update comment on interfaces without
12213         ulps tabulated.
12214         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12215         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12216         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12217         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12218         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12219         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12220         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12221         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12222         totalorder.
12223         (CFLAGS-nldbl-totalorder.c): New variable.
12224         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12225         file.
12226         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12227         Add test-totalorderl-ldbl-128ibm.
12228         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12229         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12230         test-totalorderl-ldbl-96.
12231         * sysdeps/nacl/libm.abilist: Update.
12232         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12233         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12234         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12235         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12236         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12237         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12238         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12239         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12240         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12241         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12242         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12243         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12245         Likewise.
12246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12247         Likewise.
12248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12249         Likewise.
12250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12251         Likewise.
12252         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12253         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12254         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12255         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12256         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12258         Likewise.
12259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12260         Likewise.
12261         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12262         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12263         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12265 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12267         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12268         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12269         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12270         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12271         remove ENOSYS implementation.
12272         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12273         Consolidate all Linux implementations.
12275 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12277         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12278         * resolv/herror.c (herror): Cast away const-ness.
12279         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12280         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12282 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12284         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12285         instead of M_NAN + M_NAN.
12286         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12288 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12290         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12291         unused variable 'p'.
12293 2016-10-09  Alan Modra  <amodra@gmail.com>
12294             Andreas Schwab  <schwab@linux-m68k.org>
12296         [BZ #20554]
12297         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12298         [PIC && !SHARED]: Set up PIC register for PLT call.
12300 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12302         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12303         conditional on value of [__FLT_EVAL_METHOD__].
12304         * math/test-iseqsig-excess-precision.c: New file.
12305         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12307 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12309         * math/s_iseqsig_template.c: Include math-private.h.
12311         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12312         * posix/tst-posix_fadvise.c: New file.
12313         * posix/tst-posix_fadvise64.c: Likewise.
12314         * posix/tst-posix_fadvise-common.c: Likewise.
12315         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12316         (__ASSUME_FADVISE64_64_6ARG): Define.
12317         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12318         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12319         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12320         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12321         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12322         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12323         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12324         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12325         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12326         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12327         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12328         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12331         Likewise.
12332         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12333         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12334         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12335         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12336         Alias to __posix_fadvise64_l32.
12337         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12338         Add compat definition to posix_fadvise64.
12339         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12340         Add versioned definition to posix_fadvise64.
12341         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12342         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12343         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12344         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12345         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12347         * io/Makefile (tests): Add tst-posix_fallocate and
12348         tst-posix_fallocate64.
12349         * io/tst-posix_fallocate-common.c: New file.
12350         * io/tst-posix_fallocate.c: Likewise.
12351         * io/tst-posix_fallocate64.c: Likewise.
12352         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12353         file.
12354         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12355         Likewise.
12356         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12357         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12358         Likewise.
12359         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12360         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12361         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12362         SYSCALL_LL to pass both offset and len arguments.
12363         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12364         Likewise.
12365         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12366         __libc_pwrite64 alias used by posix_fallocate64.
12368         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12369         tst-fallocate64.
12370         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12371         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12372         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12373         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12374         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12375         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12376         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12377         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12378         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12379         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12380         macro on offset argument.
12381         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12382         SYSCALL_LL64 on offset argument.
12384         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12385         tst-fallocate64.
12386         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12387         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12388         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12389         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12390         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12391         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12392         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12393         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12394         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12395         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12396         macro on offset argument.
12397         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12398         SYSCALL_LL64 on offset argument.
12399         * test-skeleton.c (FAIL_RET): Add macro.
12400         (FAIL_EXIT): Likewise.
12401         (FAIL_EXIT1): Likewise.
12402         (_FAIL): Likewise.
12404 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12406         [BZ #20629]
12407         resolv: Remove RES_USEBSTRING and its implementation.
12408         * resolv/resolv.h (RES_USEBSTRING): Remove.
12409         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12410         (digitvalue, encode_bitstring, decode_bitstring): Remove.
12411         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12412         (labellen): Remove extended label types support.
12413         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12414         * resolv/res_init.c (res_setoptions): Likewise.
12415         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12417 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12419         resolv: Remove RES_NOIP6DOTINT and its implementation.
12420         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12421         (RES_NOIP6DOTINT): Remove.
12422         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12423         handling.
12424         * resolv/res_debug.c (p_option): Likewise.
12425         * resolv/res_init.c (res_setoptions): Likewise.
12426         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12428 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12430         resolv: Deprecate unimplemented flags.
12431         * misc/sys/cdefs.h (__glibc_macro_warning1)
12432         (__glibc_macro_warning): Define.
12433         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12434         (RES_KEEPTSIG): Mark as deprecated.
12435         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12436         RES_NOCHECKNAME, RES_KEEPTSIG.
12437         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12439 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12441         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12442         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12443         Use strong_alias to create symbols for glibc verison 2.19.
12445 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12447         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
12449 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12451         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
12453 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12455         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
12457 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12459         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12460         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
12461         in header for using it as type for ifunc function because __GI_* symbols
12462         for ppc32 do not target the ifunc symbols.
12463         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12465 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12467         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
12468         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
12469         libc_ifunc_hidden_def.
12470         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
12471         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
12472         Redirect ifunced function in header for using it as type of ifunc'ed
12473         function. Redefine libc_hidden_def to use fallback non ifunc'ed
12474         function for __GI_* symbol.
12475         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12476         * include/libc-symbols.h
12477         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
12479 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12481         [BZ #20478]
12482         * sysdeps/s390/multiarch/ifunc-resolve.h
12483         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
12484         to create ifunc symbols.
12485         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
12486         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
12487         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
12488         for using it as type for ifunc function.
12489         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12490         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12491         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12492         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12493         * sysdeps/s390/multiarch/strcat.c: Likewise.
12494         * sysdeps/s390/multiarch/strchr.c: Likewise.
12495         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12496         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12497         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12498         * sysdeps/s390/multiarch/strlen.c: Likewise.
12499         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12500         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12501         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12502         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12503         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12504         * sysdeps/s390/multiarch/strspn.c: Likewise.
12505         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12506         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12507         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12508         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12509         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12510         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12511         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12512         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
12513         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
12514         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12515         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
12516         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
12518 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12520         * include/libc-symbols.h (__ifunc_resolver):
12521         New macro is used by __ifunc* macros.
12522         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
12523         depending on HAVE_GCC_IFUNC.
12524         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
12525         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
12526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12527         Redirect ifunced function in header for using as type for ifunc function.
12528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
12529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
12530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
12531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
12532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12534         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12535         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12536         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12537         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12538         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12539         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12540         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12541         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
12544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
12546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12547         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12548         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12549         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12550         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12551         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12552         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12553         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12554         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12555         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12556         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12557         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12558         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12559         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
12560         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
12562         Add libc_hidden_def() and use libc_ifunc_hidden() macro
12563         instead of libc_ifunc() macro.
12564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
12565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12567 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12569         * config.h.in (HAVE_GCC_IFUNC): New undef.
12570         * configure.ac: Add check if gcc supports attribute ifunc feature.
12571         * configure: Regenerated.
12572         * manual/install.texi: Add recommendation for gcc with
12573         indirect-function support.
12574         * INSTALL: Regenerated.
12576 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
12578         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
12579         macro.
12580         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12581         (__iseqsig): New declaration.
12582         * math/s_iseqsig_template.c: New file.
12583         * math/Versions (__iseqsigf): New libm symbol at version
12584         GLIBC_2.25.
12585         (__iseqsig): Likewise.
12586         (__iseqsigl): Likewise.
12587         * math/libm-test.inc (iseqsig_test_data): New array.
12588         (iseqsig_test): New function.
12589         (main): Call iseqsig_test.
12590         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
12591         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
12592         * manual/libm-err-tab.pl: Update comment on interfaces without
12593         ulps tabulated.
12594         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
12595         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
12596         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
12597         * sysdeps/nacl/libm.abilist: Update.
12598         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12599         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12600         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12601         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12602         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12603         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12604         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12605         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12606         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12607         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12608         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12609         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12611         Likewise.
12612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12613         Likewise.
12614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12615         Likewise.
12616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12617         Likewise.
12618         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12619         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12620         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12621         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12622         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12624         Likewise.
12625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12626         Likewise.
12627         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12628         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12629         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12631 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12633         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
12634         do_sincos_2, sloww, sloww1): Update comments.
12636         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
12637         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
12639         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
12640         K boolean and rename it.
12641         (__sin): Adjust.
12642         (__cos): Adjust.
12644 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12645             Siddhesh Poyarekar  <siddhesh@sourceware.org>
12647         * manual/nss.texi: Fix typos in the manual.
12649 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12651         * manual/contrib.texi: Fix typos in the manual.
12653         * manual/maint.texi: Fix typos in the manual.
12655         * manual/install.texi: Fix typos in the manual.
12656         * INSTALL: Regenerated.
12658         * manual/lang.texi: Fix typos in the manual.
12660         * manual/probes.texi: Fix typos in the manual.
12662         * manual/threads.texi: Fix typos in the manual.
12664         * manual/debug.texi: Fix typos in the manual.
12666         * manual/crypt.texi: Fix typos in the manual.
12668         * manual/conf.texi: Fix typos in the manual.
12670         * manual/sysinfo.texi: Fix typos in the manual.
12672         * manual/users.texi: Fix typos in the manual.
12674         * manual/job.texi: Fix typos in the manual.
12676         * manual/process.texi: Fix typos in the manual.
12678         * manual/argp.texi: Fix typos in the manual.
12679         * manual/getopt.texi: Likewise.
12680         * manual/startup.texi: Likewise.
12682         * manual/signal.texi: Fix typos in the manual.
12684         * manual/setjmp.texi: Fix typos in the manual.
12686         * manual/resource.texi: Fix typos in the manual.
12688         * manual/time.texi: Fix typos in the manual.
12690         * manual/arith.texi: Fix typos in the manual.
12692         * manual/math.texi: Fix typos in the manual.
12694         * manual/syslog.texi: Fix typos in the manual.
12696         * manual/terminal.texi: Fix typos in the manual.
12698         * manual/socket.texi: Fix typos in the manual.
12700         * manual/filesys.texi: Fix typos in the manual.
12702         * manual/llio.texi: Fix typos in the manual.
12704         * manual/stdio.text: Fix typos in the manual.
12706 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12708         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
12709         instead of K1.
12711         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
12712         SHIFT_QUADRANT and make it bool.
12713         (do_sincos_2): Likewise.
12714         (sloww): Likewise.
12715         (sloww1): Likewise.
12716         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
12717         (__cos): Likewise.
12719 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12721         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12723 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
12725         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
12726         Define to __WORDSIZE, not conditional on [LONG_MAX ==
12727         0x7fffffffL].
12728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12730 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12732         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
12733         inline by __inline__.
12734         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
12735         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
12736         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
12737         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
12738         sigset_t from signal.h.
12739         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
12740         which is already required.
12742 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
12744         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12746 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
12748         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
12749         (struct tcp_repair_window): New type.
12751 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12753         * libio/tst-memstream3.c: Include string.h.
12755 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12757         [BZ #18241]
12758         [BZ #20181]
12759         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
12760         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
12761         write position is at the end the buffer.
12762         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
12763         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
12764         (_IO_str_seekoff): Set correct offset from negative displacement and
12765         set EINVAL for invalid ones.
12766         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
12767         buffer length.
12768         (_IO_wstr_switch_to_get_mode): New function.
12769         (_IO_wstr_seekoff): Set correct offset from negative displacement and
12770         set EINVAL for invalid ones.
12771         * libio/tst-memstream3.c: New file.
12772         * libio/tst-wmemstream3.c: Likewise.
12773         * manual/examples/memstrm.c: Remove warning when priting size_t.
12775 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12777         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12778         macro to use __builtin_fma.
12779         * sysdeps/x86_64/fpu/dla.h: Remove file.
12781         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12782         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12783         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12785 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12787         [BZ #20292]
12788         * elf/Makefile (routines): Add dl-addr-obj.
12789         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12790         tst-_dl_addr_inside_object.
12791         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12792         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12793         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12794         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12795         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12796         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12797         * elf/dl-open.c: Likewise.
12798         * elf/dl-addr-obj.c: New file.
12799         * elf/tst-_dl_addr_inside_object.c: New file.
12801 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12803         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12804         <bits/iscanonical.h>.
12805         * bits/iscanonical.h: New file.
12806         * math/s_iscanonicall.c: Likewise.
12807         * math/Versions (__iscanonicall): New libm symbol at version
12808         GLIBC_2.25.
12809         * math/libm-test.inc (iscanonical_test_data): New array.
12810         (iscanonical_test): New function.
12811         (main): Call iscanonical_test.
12812         * math/Makefile (headers): Add bits/iscanonical.h.
12813         (type-ldouble-routines): Add s_iscanonicall.
12814         * manual/arith.texi (Floating Point Classes): Document
12815         iscanonical.
12816         * manual/libm-err-tab.pl: Update comment on interfaces without
12817         ulps tabulated.
12818         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12819         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12820         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12821         Likewise.
12822         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12823         test-iscanonical-ldbl-128ibm.
12824         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12825         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12826         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12827         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12828         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12829         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12830         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12832         Likewise.
12833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12834         Likewise.
12835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12836         Likewise.
12837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12838         Likewise.
12839         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12840         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12842 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12844         * string/bits/string3.h: Remove C++ style comments.
12846 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12848         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
12849         instead of ternary condition.
12850         (do_sincos_2): Likewise.
12851         (__sin): Likewise.
12852         (__cos): Likewise.
12853         (slow): Likewise.
12854         (sloww): Likewise.
12855         (sloww1): Likewise.
12856         (bsloww): Likewise.
12857         (bsloww1): Likewise.
12859         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
12860         instead of ternary condition.
12861         (do_sin_slow): Likewise.
12862         (do_sincos_1): Likewise.
12863         (do_sincos_2): Likewise.
12864         (__cos): Likewise.
12865         (sloww): Likewise.
12866         (sloww1): Likewise.
12867         (sloww2): Likewise.
12868         (bsloww): Likewise.
12869         (bsloww1): Likewise.
12870         (bsloww2): Likewise.
12872         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
12873         check from here...
12874         (slow2): ... and here...
12875         (__sin): ... to here.
12877 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
12879         * math/math.h
12880         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12881         Cast argument to its own type.
12882         * math/test-iszero-excess-precision.c: New file.
12883         * math/Makefile (tests): Add test-iszero-excess-precision.
12884         (CFLAGS-test-iszero-excess-precision.c): New variable.
12886 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
12888         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
12889         field, add err field.
12890         (__spawni_child): Report error through err member instead of pipe.
12891         (__spawnix): Likewise.
12893 2016-09-28  Zack Weinberg  <zackw@panix.com>
12895         * scripts/check-installed-headers.sh: Generalize treatment of
12896         sys/elf.h to all target architectures.
12898         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
12899         deleted typedef ucontext_t.
12901 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12903         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
12904         (__INTERNAL_SYSCALL1): Likewise.
12905         (__INTERNAL_SYSCALL2): Likewise.
12906         (__INTERNAL_SYSCALL3): Likewise.
12907         (__INTERNAL_SYSCALL4): Likewise.
12908         (__INTERNAL_SYSCALL5): Likewise.
12909         (__INTERNAL_SYSCALL6): Likewise.
12910         (__INTERNAL_SYSCALL7): Likewise.
12911         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
12912         (__INTERNAL_SYSCALL_NARGS): Likewise.
12913         (__INTERNAL_SYSCALL_DISP): Likewise.
12914         (INTERNAL_SYSCALL_CALL): Likewise.
12915         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
12916         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
12917         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
12918         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
12919         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
12920         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
12921         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
12922         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
12923         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
12924         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
12925         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
12926         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
12927         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
12929 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
12931         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
12932         macro.
12933         * math/libm-test.inc (iszero_test_data): New array.
12934         (iszero_test): New function.
12935         (main): Call iszero_test.
12936         * manual/arith.texi (Floating Point Classes): Document iszero.
12937         * manual/libm-err-tab.pl: Update comment on interfaces without
12938         ulps tabulated.
12940 2016-09-23  Zack Weinberg  <zackw@panix.com>
12942         * scripts/check-installed-headers.sh: New script.
12943         * Rules: In each directory that defines header files to be installed,
12944         run check-installed-headers.sh on them as a special test.
12945         * Makefile: Likewise for the headers installed at top level.
12947         * include/aliases.h, include/alloca.h, include/argz.h
12948         * include/arpa/nameser.h, include/arpa/nameser_compat.h
12949         * include/elf.h, include/envz.h, include/err.h
12950         * include/execinfo.h, include/fpu_control.h, include/getopt.h
12951         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
12952         * include/link.h, include/malloc.h, include/mcheck.h
12953         * include/mntent.h, include/netinet/ether.h
12954         * include/nss.h, include/obstack.h, include/printf.h
12955         * include/pty.h, include/resolv.h, include/rpc/auth.h
12956         * include/rpc/auth_des.h, include/rpc/auth_unix.h
12957         * include/rpc/clnt.h, include/rpc/des_crypt.h
12958         * include/rpc/key_prot.h, include/rpc/netdb.h
12959         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
12960         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
12961         * include/rpc/rpc_msg.h, include/rpc/svc.h
12962         * include/rpc/svc_auth.h, include/rpc/xdr.h
12963         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
12964         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
12965         * include/rpcsvc/ypupd.h, include/shadow.h
12966         * include/stdio_ext.h, include/sys/epoll.h
12967         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
12968         * include/sys/prctl.h, include/sys/profil.h
12969         * include/sys/statfs.h, include/sys/sysctl.h
12970         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
12971         * sysdeps/arm/nacl/include/bits/setjmp.h
12972         * sysdeps/mips/include/sys/asm.h
12973         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
12974         * sysdeps/unix/sysv/linux/include/sys/timex.h
12975         * sysdeps/x86/fpu/include/bits/fenv.h:
12976         Add #ifndef _ISOMAC guard around internal declarations.
12977         Add multiple-inclusion guard if not already present.
12979 2016-09-23  Zack Weinberg  <zackw@panix.com>
12981         * sysdeps/generic/sys/ucontext.h
12982         * sysdeps/arm/sys/ucontext.h
12983         * sysdeps/i386/sys/ucontext.h
12984         * sysdeps/m68k/sys/ucontext.h
12985         * sysdeps/mips/sys/ucontext.h
12986         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
12987         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
12988         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
12989         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
12990         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
12991         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
12992         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
12993         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
12994         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
12995         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
12996         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
12997         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
12998         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
12999         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
13000         Include both bits/sigcontext.h and bits/sigstack.h.
13001         Fix grammar error in comment, if present.
13003         * bits/sigstack.h
13004         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
13005         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
13006         * sysdeps/unix/sysv/linux/bits/sigstack.h
13007         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
13008         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
13009         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
13010         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
13011         * bits/sigcontext.h
13012         * sysdeps/mach/hurd/i386/bits/sigcontext.h
13013         * sysdeps/unix/sysv/linux/bits/sigcontext.h
13014         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
13015         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
13016         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
13017         as well as signal.h, if this was not already allowed.  Request
13018         definition of size_t if necessary.  Minimize semantically-null
13019         differences across files.
13021 2016-09-23  Zack Weinberg  <zackw@panix.com>
13023         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
13024         Remove all logic conditional on __need macros.  Move all the
13025         conditionally defined types to their own headers...
13026         * time/bits/types/clock_t.h: Define clock_t here.
13027         * time/bits/types/clockid_t.h: Define clockid_t here.
13028         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
13029         * time/bits/types/struct_timespec.h: Define struct timespec here.
13030         * time/bits/types/struct_timeval.h: Define struct timeval here.
13031         * time/bits/types/struct_tm.h: Define struct tm here.
13032         * time/bits/types/time_t.h: Define time_t here.
13033         * time/bits/types/timer_t.h: Define timer_t here.
13034         * time/Makefile: Install the new headers.
13036         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
13037         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
13038         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
13039         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
13040         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
13041         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
13042         * sysdeps/unix/sysv/linux/bits/resource.h
13043         * sysdeps/unix/sysv/linux/bits/timex.h
13044         * sysdeps/unix/sysv/linux/mips/bits/resource.h
13045         * sysdeps/unix/sysv/linux/net/ppp_defs.h
13046         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
13047         * sysdeps/unix/sysv/linux/sys/acct.h
13048         * sysdeps/unix/sysv/linux/sys/timerfd.h
13049         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
13050         * time/sys/time.h, time/sys/timeb.h
13051         Use the new bits/types headers.
13053         * include/time.h: Remove __need logic.
13054         * include/bits/time.h
13055         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
13056         * include/bits/types/time_t.h, include/bits/types/timer_t.h
13057         * include/bits/types/struct_itimerspec.h
13058         * include/bits/types/struct_timespec.h
13059         * include/bits/types/struct_timeval.h
13060         * include/bits/types/struct_tm.h:
13061         New wrapper headers.
13063 2016-09-23  Zack Weinberg  <zackw@panix.com>
13065         * sysdeps/mach/hurd/net/if_ppp.h
13066         * sysdeps/unix/sysv/linux/net/if_ppp.h:
13067         Only define struct ifpppstatsreq and struct ifpppcstatsreq
13068         if __USE_MISC is defined, to ensure struct ifreq is declared.
13070         * inet/netinet/ether.h: Condition all function prototypes
13071         on __USE_MISC, to ensure struct ether_addr is declared.
13073         * socket/bits/types/struct_osockaddr.h: New header.
13074         * include/bits/types/struct_osockaddr.h: New wrapper.
13075         * socket/Makefile: Install the new header.
13076         * socket/sys/socket.h, inet/protocols/talkd.h:
13077         Refer to bits/types/struct_osockaddr.h for the definition of
13078         struct osockaddr.
13080 2016-09-23  Zack Weinberg  <zackw@panix.com>
13082         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
13083         * inet/protocols/routed.h, inet/protocols/talkd.h
13084         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
13085         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
13086         * sysdeps/generic/netinet/if_ether.h
13087         * sysdeps/generic/netinet/in_systm.h
13088         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
13089         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13090         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
13091         * sysdeps/mach/hurd/net/if_arp.h
13092         * sysdeps/mach/hurd/net/if_ppp.h
13093         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
13094         * sysdeps/unix/sysv/linux/bits/in.h
13095         * sysdeps/unix/sysv/linux/net/ethernet.h
13096         * sysdeps/unix/sysv/linux/net/if_arp.h
13097         * sysdeps/unix/sysv/linux/net/if_ppp.h
13098         * sysdeps/unix/sysv/linux/net/if_shaper.h
13099         * sysdeps/unix/sysv/linux/net/route.h
13100         * sysdeps/unix/sysv/linux/netinet/if_ether.h
13101         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13102         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13103         * sysdeps/unix/sysv/linux/netipx/ipx.h
13104         * sysdeps/unix/sysv/linux/sys/acct.h
13105         * include/arpa/nameser.h, include/resolv.h:
13106         Change all uses of u_char to unsigned char,
13107         u_short and ushort to unsigned short, u_int and uint to unsigned int,
13108         u_long and ulong to unsigned long, u_int8_t to uint8_t,
13109         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
13110         and u_int64_t and u_quad_t to uint64_t.
13112         * mach/sys/reboot.h: Remove two casts of integer literals
13113         to the types they already have.
13115         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
13116         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
13117         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
13118         from referring to 'unsigned char' to 'uint8_t' for consistency with
13119         the macro definition below.
13121         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
13122         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
13123         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
13124         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
13125         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
13126         * sysdeps/unix/sysv/linux/sys/acct.h
13127         * include/arpa/nameser.h, include/resolv.h:
13128         Fix indentation disrupted by mechanical edits.
13130         * inet/protocols/talkd.h, resolv/arpa/nameser.h
13131         * sysdeps/generic/netinet/in_systm.h
13132         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13133         * sysdeps/gnu/netinet/udp.h
13134         * sysdeps/unix/sysv/linux/net/ethernet.h
13135         * sysdeps/unix/sysv/linux/net/if_arp.h
13136         * sysdeps/unix/sysv/linux/net/if_ppp.h
13137         * sysdeps/unix/sysv/linux/net/if_shaper.h
13138         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13139         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13140         * sysdeps/unix/sysv/linux/netipx/ipx.h
13141         * sysdeps/unix/sysv/linux/sys/acct.h
13142         Include stdint.h for uintNN_t definitions.
13143         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
13145 2016-09-23  Zack Weinberg  <zackw@panix.com>
13147         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
13148         * sysdeps/unix/sysv/linux/netrose/rose.h:
13149         Include sys/socket.h and netax25/ax25.h.
13151         * inet/netinet/icmp6.h, inet/netinet/ip6.h
13152         * resolv/arpa/nameser_compat.h:
13153         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13155         * sysdeps/unix/sysv/linux/sys/quota.h:
13156         Use __caddr_t instead of caddr_t.
13157         * sysdeps/unix/sysv/linux/sys/timerfd.h:
13158         Use __clockid_t instead of clockid_t.
13160         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13162         * argp/argp.h: Check whether _LIBC is defined before expanding it.
13163         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13164         expanding it.
13166         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13167         Define __glibc_c99_flexarr_available to 1 when the compiler
13168         supports C99-compatible flexible array members, 0 otherwise.
13169         * sysdeps/unix/sysv/linux/bits/socket.h
13170         * sysdeps/mach/hurd/bits/socket.h
13171         * bits/socket.h: Use __glibc_c99_flexarr_available in
13172         definitions of struct cmsghdr and CMSG_DATA.
13174 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13176         * manual/nss.texi (NSS Modules Interface): Adjust function return
13177         type to enum nss_status.  Document errnop argument.  Clarify
13178         h_errnop semantics.  Fix cross-reference formatting.
13179         (NSS Module Function Internals): Mention that *errnop needs to be
13180         set on failure, but not to zero.
13182 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13184         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13185         (get_random_name): New functions.
13186         (check_wrapper_flags_mode): Use linkat to give the new file a name
13187         determined by get_random_name.
13188         (do_test): Add calls to test open64 and openat64.
13190 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13192         * test-skeleton.c: Remove #include <stdarg.h>.
13194 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
13196         [BZ #19826]
13197         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13198         initialization of static TLS entries.
13199         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13200         * nptl/allocatestack.c (init_one_static_tls): Likewise.
13202 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13204         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13205         _hurd_malloc_fork_prepare.
13206         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13207         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13208         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13209         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13210         (_hurd_fork_child_hook): Drop malloc_fork_child.
13211         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13212         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13213         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13214         after locking locks (notably hurd_dtable_lock). Call
13215         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13216         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13217         __malloc_fork_unlock_child.
13218         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13220 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13222         * soft-fp/extendhftf2.c: New.
13223         * soft-fp/fixhfti.c: Likewise.
13224         * soft-fp/fixunshfti.c: Likewise.
13225         * soft-fp/floattihf.c: Likewise.
13226         * soft-fp/floatuntihf.c: Likewise.
13227         * soft-fp/half.h: Likewise.
13228         * soft-fp/trunctfhf2.c: Likewise.
13230 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13232         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13233         macro.
13234         * math/libm-test.inc (issubnormal_test_data): New array.
13235         (issubnormal_test): New function.
13236         * manual/arith.texi (Floating Point Classes): Document
13237         issubnormal.
13238         * manual/libm-err-tab.pl: Update comment on interfaces without
13239         ulps tabulated.
13241         * sysdeps/generic/stdint.h: Define
13242         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13243         <bits/libc-header-start.h> instead of including <features.h>.
13244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13245         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13246         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13258         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13259         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13260         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13261         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13262         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13263         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13264         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13266         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13267         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13268         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13269         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13270         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13272         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13273         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13277         * manual/arith.texi (Integers): Document these macros for types
13278         specified by width properties.
13279         * manual/lang.texi (Width of Type): Document these macros for
13280         other standard typedefs.
13281         * stdlib/tst-width-stdint.c: New file.
13282         * stdlib/Makefile (tests): Add tst-width-stdint.
13284 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13286         [BZ #20016]
13287         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13288         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13289         Move ...
13290         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13291         ... here, as compatibility symbols in a new file.
13292         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13293         * resolv/res_init.c (__res_vinit): Adjust member names.
13294         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13295         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13296         (res_send_rhook): Remove.
13297         (struct __res_state): Rename qhook, rhook members.
13299 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13301         malloc: Use __libc_lock wrappers.
13302         * malloc/arena.c (list_lock, free_list_lock): Define using
13303         __libc_lock_define_initialized.
13304         (arena_lock): Adjust formatting.
13305         * malloc/malloc.c (struct malloc_state): Define mutex using
13306         __libc_lock_define.
13307         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13308         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13309         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13310         (mutex_unlock, mutex_trylock): Remove.
13311         (__pthread_initialize): Remove unused macro.
13312         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13313         (mutex_unlock, mutex_trylock): Remove.
13315 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13317         [BZ #20592]
13318         Remove RR type classification macros.
13319         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13320         (ns_t_udp_p, ns_t_xfr_p): Remove.
13322 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13324         Remove misleading version information.
13325         * resolv/arpa/nameser.h (__NAMESER): Remove.
13326         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13328 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13330         Remove the always-defined BIND_4_COMPAT macro.
13331         * resolv/arpa/nameser.h: Unconditionally include
13332         <arpa/nameser_compat.h>.
13333         (BIND_4_COMPAT): Remove.
13334         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13336 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13338         [BZ #20591]
13339         Remove obsolete DNSSEC support.
13340         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13341         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13342         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13343         (ns_verify_tcp, ns_verify_tcp_init): Remove.
13344         (ns_cert_types): Add comment.
13345         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13346         separately.
13347         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13348         (dst_s_dns_key_id): Remove.
13349         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13350         variables.
13352 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13354         [BZ #20524]
13355         * manual/string.texi (String/Array Comparison): Clarify the
13356         strverscmp behavior.
13358 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13360         * test-skeleton.c (xasprintf): Add function.
13361         * io/tst-open-tmpfile.c: New test.
13362         * io/Makefile (tests): Add it.
13364 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13366         Avoid running $(CXX) during build to obtain header file paths.
13367         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13368         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13369         * Makerules (cstdlib, cmath): Remove variables.  Use
13370         $(c++-cstdlib-header), $(c++-cmath-header) instead.
13371         * configure: Regenerate.
13373 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13375         * Makeconfig (all-object-suffixes): Include .op only if
13376         $(build-profile).
13378 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13380         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13381         conditionals.  Do not define PATH_MAX.
13383 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13385         * posix/Makefile (tests): Add tst-spawn3.
13386         * posix/tst-spawn3.c: New file.
13387         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13388         if it is already opened for open action.
13390         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13391         all signals when executing the clone vfork child.
13392         (SIGALL_SET): Remove macro.
13394         * nptl/Makefile (tests): Add tst-exec5.
13395         * nptl/tst-exec5.c: New file.
13396         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13397         asynchronous cancellation.
13399 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13401         * hurd/exc2signal.c: #include <hurd/signal.h>
13402         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13403         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
13404         accordingly.
13405         * mach/mach_error.c (mach_error): Fix old-style function definition.
13406         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13408 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13410         * math/Makefile (libm-calls): Remove s_nanF.
13411         (gen-libm-calls): Add s_nanF.
13413         * math/s_nan.c: Refactor into ...
13414         * math/s_nan_template.c: New file.
13416         * math/s_nanf.c: Removed.
13417         * math/s_nanl.c: Removed.
13418         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13419         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13421         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13422         (LDOUBLE_nanl_libm_version): New macro.
13424         * sysdeps/generic/math-type-macros-double.h:
13425         (M_STRTO_NAN): New macro.
13426         * sysdeps/generic/math-type-macros-float.h: Likewise.
13427         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13429         * sysdeps/generic/math-type-macros.h: Document
13430         M_STRTO_NAN.
13432 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13434         * math/s_nanf.c: Remove __nanf undef.
13435         * math/s_nan.c: Remove __nan undef.
13436         * math/s_nanl.c: Remove __nanl undef.
13438         * sysdeps/generic/math_private.h (__nan): Remove macro
13439         override.
13440         (__nanf): Likewise.
13441         (__nanl): Likewise.
13443 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13445         * math/Makefile (gen-all-calls): New variable.
13446         (generated): Replace gen-libm-calls with gen-all-calls.
13447         (gen-libm-templates.stmp): Likewise.  Also, ensure
13448         the output directory exists or is created and add
13449         dependency on the Makefile.
13450         (calls): Move s_ldexpF into gen-calls.
13451         (gen-calls): New variable.
13453         * math/s_ldexpf.c: Removed.
13454         * math/s_ldexpl.c: Removed.
13455         * math/s_ldexp.c: Refactored into ...
13456         * math/s_ldexp_template.c: New file.
13458         * sysdeps/generic/math-type-macros-double.h: Remove
13459         redundant fall-through definition of declare_mgen_alias.
13460         (declare_mgen_alias_2): New macro.
13462         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
13463         New macro for function aliased to two exported symbols.
13465         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
13466         new template file.
13467         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13469 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13471         * Makeconfig (all-object-suffixes): Remove .og.
13472         * Makerules (elide-routines.og): Remove.
13473         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
13474         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
13475         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
13477 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13479         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
13480         .os objects.
13482 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13484         [BZ #20615]
13485         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
13486         fpu directory by non-fpu.
13487         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
13488         on non-fpu directory from a fpu directory.
13490 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
13492         * include/limits.h: Define
13493         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13494         <bits/libc-header-start.h> instead of including <features.h>.
13495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
13496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
13497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
13498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
13499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
13500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
13501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
13502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
13503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
13505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
13506         * manual/lang.texi (Width of Type): Document these macros.
13507         * stdlib/tst-width.c: New file.
13508         * stdlib/Makefile (tests): Add tst-width.
13510 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13512         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
13513         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
13515 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13517         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
13518         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13519         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13521 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13523         [BZ #18243]
13524         * rt/Makefile (test): Add tst-shm-cancel.
13525         * rt/tst-shm-cancel.c: New file.
13526         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
13528         [BZ #18243]
13529         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
13530         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
13531         definition.
13532         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
13533         uncontended case.
13534         * nptl/sem_wait.c (__new_sem_wait): Likewise.
13535         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
13536         (tf): Fix check for uncontended case.
13537         (do_test): Likewise.
13538         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
13539         (tf): Fix check for uncontended case.
13540         (do_test): Likewise.
13541         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
13542         (tf): Fix check for uncontended case.
13543         (do_test): Likewise.
13544         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
13545         (tf): Fix check for uncontended case.
13546         (do_test): Likewise.
13548         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
13549         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
13551         [BZ #15765]
13552         * nptl/Makefile (tests): Add tst-sem16.
13553         * nptl/tst-sem16.c: New file.
13554         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
13556         * nptl/sem_open.c (sem_open): Init pad value to 0.
13557         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13558         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13560 2016-09-15  Florian Weimer  <fweimer@redhat.com>
13562         [BZ #20611]
13563         * inet/Makefile (routines): Add inet6_scopeid_pton.
13564         (tests): Add tst-inet6_scopeid_pton.
13565         * inet/inet6_scopeid_pton.c: New file.
13566         * inet/net-internal.h: Likewise.
13567         * inet/tst-inet6_scopeid_pton.c: New test.
13568         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
13569         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
13570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13572 2016-09-14  Florian Weimer  <fweimer@redhat.com>
13574         Remove support for compiling wrappers with PTW.
13575         * sysdeps/nptl/Makeconfig: Drop ptw- support.
13576         * nptl/Makefile (pthread-compat-wrappers): Define.
13577         (libpthread-routines): Use pthread-compat-wrappers.
13578         * sysdeps/unix/sysv/linux/alpha/Makefile
13579         (libpthread-routines, libpthread-shared-only-routines): Remove
13580         ptw- prefix.
13581         * sysdeps/s390/nptl/Makefile
13582         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13583         * sysdeps/ia64/nptl/Makefile
13584         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13585         * sysdeps/nacl/Makefile (libpthread-routines): Use
13586         pthread-compat-wrappers to filter the routines list instead of the
13587         ptw- prefix.
13589 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13591         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
13592         with L() and remove explicit suffix, convert real literals
13593         which can be equivalentally substituted with integers, and
13594         transform -L(x) to L(-x).
13596         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13597         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13598         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13599         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13600         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13601         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13602         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13603         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13604         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13605         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13606         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13607         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13608         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13609         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13610         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13611         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13612         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13613         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13614         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13615         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13616         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13617         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13618         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13619         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13620         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13621         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13622         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13623         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13624         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13625         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13626         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13627         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13628         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13629         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13630         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13631         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13632         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13633         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13634         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13635         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13636         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13637         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13638         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13639         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13640         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13641         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13642         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13643         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13644         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13645         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13647 2016-09-13  Florian Weimer  <fweimer@redhat.com>
13649         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
13651 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13653         * malloc/Makefile (tests): Remove individual static test names
13654         and just add all of tests-static.
13656         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
13658 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
13660         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
13661         file.
13663         * sysdeps/sparc/fpu/fegetmode.c: New file.
13664         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
13666         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
13667         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
13669         * sysdeps/s390/fpu/fegetmode.c: New file.
13670         * sysdeps/s390/fpu/fesetmode.c: Likewise.
13672         * sysdeps/powerpc/fpu/fegetmode.c: New file.
13673         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
13674         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
13675         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
13676         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
13677         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
13679         * sysdeps/mips/fpu/fegetmode.c: New file.
13680         * sysdeps/mips/fpu/fesetmode.c: Likewise.
13682         * sysdeps/m68k/fpu/fegetmode.c: New file.
13683         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
13685         * sysdeps/ia64/fpu/fegetmode.c: New file.
13686         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
13688         * sysdeps/hppa/fpu/fegetmode.c: New file.
13689         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
13691         * sysdeps/arm/fegetmode.c: New file.
13692         * sysdeps/arm/fesetmode.c: Likewise.
13694         * sysdeps/alpha/fpu/fegetmode.c: New file.
13695         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
13697         * sysdeps/aarch64/fpu/fegetmode.c: New file.
13698         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
13700         * math/fegetmode.c: New file.
13701         * math/fesetmode.c: Likewise.
13702         * sysdeps/i386/fpu/fegetmode.c: Likewise.
13703         * sysdeps/i386/fpu/fesetmode.c: Likewise.
13704         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
13705         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
13706         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
13707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
13708         declaration.
13709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
13710         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
13711         typedef.
13712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13713         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13714         (femode_t): New typedef.
13715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13716         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13717         (femode_t): New typedef.
13718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13719         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13720         (femode_t): New typedef.
13721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13722         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13723         (femode_t): New typedef.
13724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13725         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13726         (femode_t): New typedef.
13727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13728         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13729         (femode_t): New typedef.
13730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13731         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13732         (femode_t): New typedef.
13733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13734         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13735         (femode_t): New typedef.
13736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13737         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13738         (femode_t): New typedef.
13739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13740         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13741         (femode_t): New typedef.
13742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
13743         declaration.
13744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13745         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13746         (femode_t): New typedef.
13747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13748         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13749         (femode_t): New typedef.
13750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13751         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13752         (femode_t): New typedef.
13753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13754         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13755         (femode_t): New typedef.
13756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13757         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13758         (femode_t): New typedef.
13759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13760         * manual/arith.texi (FE_DFL_MODE): Document macro.
13761         (fegetmode): Document function.
13762         (fesetmode): Likewise.
13763         * math/Versions (fegetmode): New libm symbol at version
13764         GLIBC_2.25.
13765         (fesetmode): Likewise.
13766         * math/Makefile (libm-support): Add fegetmode and fesetmode.
13767         (tests): Add test-femode and test-femode-traps.
13768         * math/test-femode-traps.c: New file.
13769         * math/test-femode.c: Likewise.
13770         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
13771         alias for __fe_dfl_env.
13772         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
13773         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
13774         (__fe_dfl_mode): Likewise.
13775         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13776         version GLIBC_2.25.
13777         * sysdeps/nacl/libm.abilist: Update.
13778         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13779         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13780         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13781         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13782         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13783         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13784         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13785         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13786         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13787         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13788         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13789         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13791         Likewise.
13792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13793         Likewise.
13794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13795         Likewise.
13796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13797         Likewise.
13798         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13799         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13800         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13801         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13802         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13804         Likewise.
13805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13806         Likewise.
13807         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13808         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13809         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13811 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13813         [BZ #20495]
13814         [BZ #20508]
13815         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13816         processors, set Use_dl_runtime_resolve_slow and set
13817         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13818         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13819         New.
13820         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13821         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13822         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13823         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13824         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13825         if Use_dl_runtime_resolve_opt is set.  Use
13826         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13827         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13828         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
13829         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13830         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13831         New.
13832         (_dl_runtime_resolve_opt): Likewise.
13833         (_dl_runtime_profile): Define only if _dl_runtime_profile is
13834         defined.
13836 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13838         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
13839         __libc_memalign with "+ RELA R_390_GLOB_DAT".
13841 2016-09-06  Florian Weimer  <fweimer@redhat.com>
13843         Convert malloc to __libc_lock.  Automated part, using this Perl
13844         s/// command:
13845           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
13846             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
13847         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
13848         conversion.
13850 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
13852         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
13853         (linknamespace-symlists-tests): Likewise.
13854         (linknamespace-header-tests): Likewise.
13856 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
13858         [BZ #19810]
13859         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
13860         * elf/tst-noload.c: New test case.
13861         * elf/Makefile (tests): Add tst-noload.
13863 2016-09-02  Roland McGrath  <roland@hack.frob.com>
13865         * sysdeps/nacl/dup.c: Add libc_hidden_def.
13867         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
13868         not any more.
13870         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
13872 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13874         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
13875         (do_cos_slow): Likewise.
13876         (do_sin): Likewise.
13877         (do_sin_slow): Likewise.
13878         (slow): Likewise.
13879         (slow1): Likewise.
13880         (slow2): Likewise.
13881         (sloww): Likewise.
13882         (sloww1): Likewise.
13883         (sloww2): Likewise.
13884         (bsloww): Likewise.
13885         (bsloww1): Likewise.
13886         (bsloww2): Likewise.
13887         (cslow2): Likewise.
13889         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
13891         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
13892         arguments.  Consolidate input partitioning from callers here.
13893         (do_cos_slow): Likewise.
13894         (do_sin): Likewise.
13895         (do_sin_slow): Likewise.
13896         (do_sincos_1): Remove the no longer necessary input partitioning.
13897         (do_sincos_2): Likewise.
13898         (__sin): Likewise.
13899         (__cos): Likewise.
13900         (slow1): Likewise.
13901         (slow2): Likewise.
13902         (sloww1): Likewise.
13903         (sloww2): Likewise.
13904         (bsloww1): Likewise.
13905         (bsloww2): Likewise.
13906         (cslow2): Likewise.
13908 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13910         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
13911         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
13912         outside of allocated array.
13914 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13916         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
13917         instead of MB_CUR_MAX to avoid variable-length array.
13919 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13921         * math/Makefile (libm-calls): Remove k_rem_pio2F.
13922         (type-double-routines): Add k_rem_pio2.
13923         (type-float-routines): Add k_rem_pio2f.
13925         * sysdeps/generic/math_private.h:
13926         (__kernel_rem_pio2l): Removed.
13928         * math/k_rem_pio2l.c: Removed.
13929         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
13930         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
13931         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
13932         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
13934 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13936         * math/Makefile (gen-libm-calls): Add s_fmin
13937         (libm-calls): Remove above.
13939         * math/s_fmin.c: Refactor into ...
13940         * math/s_fmin_template.c: New file.
13942         * math/s_fminf.c: Removed.
13943         * math/s_fminl.c: Removed.
13944         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13945         (LDOUBLE_fmin_libm_version): New macro.
13947         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
13948         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
13950 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13952         * math/Makefile: (gen-libm-calls): Add s_fmax.
13953         (libm-calls): Remove above.
13955         * math/s_fmax.c: Refactor into ...
13956         * math/s_fmax_template.c: New file.
13957         * math/s_fmaxf.c: Removed.
13958         * math/s_fmaxl.c: Removed.
13960         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13961         (LDOUBLE_fmaxl_libm_version): New macro.
13963         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
13964         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
13966         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
13967         s_fmin.c to pick the aarch64 version of the file.
13968         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
13969         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
13971 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13973         * math/Makefile: (gen-libm-calls): Add s_nextdown.
13974         (libm-calls): Remove above.
13976         * math/s_nextdown.c: Refactor into ...
13977         * math/s_nextdown_template.c: New file.
13978         * math/s_nextdownf.c: Removed.
13979         * math/s_nextdownl.c: Removed.
13981         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13983 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13985         * math/Makefile (gen-libm-calls): Add s_fdim.
13986         (libm-calls): Move to above.
13988         * math/s_fdim.c: Renamed and refactored into to ...
13989         * math/s_fdim_template.c: New file.
13990         * math/s_fdiml.c: Removed.
13991         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
13992         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
13994         * sysdeps/generic/math-type-macros-double.h:
13995         (declare_mgen_alias): Don't declare if already declared.
13996         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
13997         Likewise.
13999         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14000         (declare_mgen_alias): Don't declare if already declared.
14001         (M_LIBM_NEED_COMPAT): Likewise.
14002         (declare_mgen_libm_compat): Likewise.
14003         (LDOUBLE_fdiml_libm_version): New macro.
14005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14006         Include math/s_fdim.c now that ldbl-opt version is not needed.
14007         (declare_mgen_alias): New macro to disable aliasing.
14009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
14010         (declare_mgen_alias): Likewise.
14011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
14012         (declare_mgen_alias): Likewise.
14013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
14014         (declare_mgen_alias): Likewise.
14015         (M_LIBM_NEED_COMPAT): Likewise.
14017 2016-09-01  Florian Weimer  <fweimer@redhat.com>
14019         [BZ #20525]
14020         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
14021         Include <linux/quota.h>.
14022         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
14023         and btodb.
14024         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
14025         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
14026         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
14027         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
14028         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
14029         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
14030         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
14031         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
14032         types.
14033         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
14034         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
14036 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14038         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
14039         (gammal_positive): Fix spacing.
14040         (__ieee754_gammal_r): Likewise.
14042 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14044         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
14045         (_Float128): Define as long double, always.
14046         (L): Apply long double type suffix, always.
14048         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
14049         _Float128, excepting comments.
14051         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14052         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14053         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14054         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14055         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14056         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14057         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14058         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14059         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14060         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
14061         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14062         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14063         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14064         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14065         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14066         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14067         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14068         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14069         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14070         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14071         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14072         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14073         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14074         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14075         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14076         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14077         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14078         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14079         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14080         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14081         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14082         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14083         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14084         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14085         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14086         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14087         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14088         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14089         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14090         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14091         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14092         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14093         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14094         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14095         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14096         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14097         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14098         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14099         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14100         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14101         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14102         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14103         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14104         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14105         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14106         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14107         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14108         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14109         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14110         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14111         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14112         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14113         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14114         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14115         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14116         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14117         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14118         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14120         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
14121         _Float128, and include math_private.h.
14122         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14124         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
14125         long double semantics.
14126         (_Float128): Likewise.
14127         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
14128         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14129         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14130         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14132 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14134         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
14135         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
14136         * sysdeps/s390/configure: Regenerated.
14137         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
14138         instruction for raising over-/underflow if z196 zarch is supported
14139         by default.
14140         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
14142 2016-08-30  Svante Signell  <svante.signell@gmail.com>
14144         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
14145         it point to a dumb buffer for RPC to fill it.
14147 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14149         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
14150         instead of if/else.
14151         (do_sin_slow): Likewise.
14152         (do_sincos_1): Use fabs instead of if/else.
14153         (do_sincos_2): Likewise.
14154         (__sin): Likewise.
14155         (__cos): Likewise.
14156         (slow2): Likewise.
14157         (sloww): Likewise.
14158         (sloww1): Likewise.  Drop argument M.
14159         (sloww2): Use fabs instead of if/else.
14160         (bsloww): Likewise.
14161         (bsloww1): Likewise.
14162         (bsloww2): Likewise.
14164         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14165         fall through comment.
14166         (do_sincos_1): Likewise.
14168         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14169         Consolidate switch cases 0 and 2.
14171 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14173         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14174         (libm-calls): Remove the above.
14176         * math/s_cexp_template.c: Update using type-generic macros.
14177         * math/s_clog10_template.c: Likewise.
14178         * math/s_cpow_template.c: Likewise.
14179         * math/s_clog_template.c: Likewise.
14180         * math/s_cproj_template.c: Likewise.
14181         * math/s_csqrt_template.c: Likewise.
14183         * math/s_cexp.c: Removed.
14184         * math/s_cexpf.c: Removed.
14185         * math/s_cexpl.c: Removed.
14186         * math/s_clog10.c: Removed.
14187         * math/s_clog10f.c: Removed.
14188         * math/s_clog10l.c: Removed.
14189         * math/s_cpow.c: Removed.
14190         * math/s_cpowf.c: Removed.
14191         * math/s_cpowl.c: Removed.
14192         * math/s_clog.c: Removed.
14193         * math/s_clogf.c: Removed.
14194         * math/s_clogl.c: Removed.
14195         * math/s_cproj.c: Removed.
14196         * math/s_cprojf.c: Removed.
14197         * math/s_cprojl.c: Removed.
14198         * math/s_csqrt.c: Removed.
14199         * math/s_csqrtf.c: Removed.
14200         * math/s_csqrtl.c: Removed.
14202         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14203         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14204         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14205         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14206         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14207         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14209         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14210         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14211         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14212         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14213         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14214         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14215         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14216         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14217         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14218         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14219         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14221         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14222         version.
14224         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14225         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14226         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14227         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14229 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14231         * s_cexp_template.c: Copy of s_cexp.c.
14232         * s_clog_template.c: Copy of s_clog.c.
14233         * s_clog10_template.c: Copy of s_clog10.c.
14234         * s_cpow_template.c: Copy of s_cpow.c.
14235         * s_cproj_template.c: Copy of s_cproj.c.
14236         * s_csqrt_template.c: Copy of s_csqrt.c.
14238 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14240         [BZ #20517]
14241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14242         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14243         exported.
14245 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14247         * math/fetestexceptflag.c: New file.
14248         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14249         Stefan Liebler.
14250         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14251         (fetestexceptflag): New function declaration.
14252         * manual/arith.texi (fetestexceptflag): Document function.
14253         * math/Versions (fetestexceptflag): New libm symbol at version
14254         GLIBC_2.25.
14255         * math/Makefile (libm-support): Add fetestexceptflag.
14256         (tests): Add test-fetestexceptflag.
14257         * math/test-fetestexceptflag.c: New file.
14258         * sysdeps/nacl/libm.abilist: Update.
14259         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14260         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14261         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14262         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14263         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14264         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14265         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14266         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14267         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14268         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14269         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14270         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14272         Likewise.
14273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14274         Likewise.
14275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14276         Likewise.
14277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14278         Likewise.
14279         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14280         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14281         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14282         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14283         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14285         Likewise.
14286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14287         Likewise.
14288         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14289         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14290         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14292 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14294         [BZ #20432]
14295         Avoid strong references to malloc-internal symbols when linking
14296         statically, to support statically interposed mallocs.
14297         * include/libc-symbols.h (call_function_static_weak): New macro.
14298         * malloc/Makefile (tests): Add tst-interpose-nothread,
14299         tst-interpose-thread, tst-interpose-static-nothread,
14300         tst-interpose-static-thread.
14301         (tests-static): Add tst-interpose-static-nothread,
14302         tst-interpose-static-thread.
14303         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14304         tst-interpose-aux-thread.o.
14305         (test-extras): Add tst-interpose-aux-nothread,
14306         tst-interpose-aux-thread.
14307         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14308         tst-interpose-aux-nothread.o.
14309         (tst-interpose-thread, tst-interpose-static-thread): Link with
14310         tst-interpose-aux-thread.o and libthread.
14311         * malloc/tst-interpose-aux-nothread.c: New file.
14312         * malloc/tst-interpose-aux-thread.c: Likewise.
14313         * malloc/tst-interpose-aux.c: Likewise.
14314         * malloc/tst-interpose-aux.h: Likewise.
14315         * malloc/tst-interpose-nothread.c: Likewise.
14316         * malloc/tst-interpose-skeleton.c: Likewise.
14317         * malloc/tst-interpose-static-nothread.c: Likewise.
14318         * malloc/tst-interpose-static-thread.c: Likewise.
14319         * malloc/tst-interpose-thread.c: Likewise.
14320         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14321         * sysdeps/mach/hurd/fork.c (__fork): Only call
14322         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14323         __malloc_fork_unlock_child if defined.
14324         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14326 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14328         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14329         timespec C99 designated initialization.
14331 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14333         [BZ #19946]
14334         Avoid expected SIGALRM signals.
14335         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14336         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14337         (xpthread_create, xpthread_detach, xpthread_join)
14338         (delayed_exit_thread, delayed_exit): New functions.
14339         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14340         (tf): Use xpthread_cond_wait.
14341         (do_test): Likewise.  Replace alarm with delayed_exit.
14342         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14343         (do_test): Call delayed_exit.  Report failure.
14344         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14345         (do_test): Call delayed_exit.
14346         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14347         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
14348         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14349         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
14350         error.
14351         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14352         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
14353         error.
14354         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14355         (do_test): Call delayed_exit.
14356         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14357         (do_test): Call delayed_exit.
14358         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14359         (do_test): Call delayed_exit instead of alarm.  Use
14360         xpthread_mutex_lock.
14361         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14362         (do_test): Call delayed_exit instead of alarm.  Use
14363         xpthread_mutex_lock.
14364         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14365         (do_test): Call delayed_exit instead of alarm.
14366         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14367         (do_test): Call delayed_exit instead of alarm.  Use
14368         xpthread_spin_lock.
14369         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14370         (do_test): Call delayed_exit instead of alarm.  Use
14371         xpthread_join.
14373 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14375         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14376         adjust CFA when allocating register save area on re-aligned
14377         stack.
14379 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14381         * string/tst-cmp.c: New test.
14382         * string/Makefile (tests): Add it.
14384 2016-08-25  Mark Wielaard  <mark@klomp.org>
14386         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14387         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
14388         (check_tree_recurse): Use newly defined accessors.
14389         (check_tree): Likewise.
14390         (maybe_split_for_insert): Likewise.
14391         (__tfind): Likewise.
14392         (__tdelete): Likewise.
14393         (trecurse): Likewise.
14394         (tdestroy_recurse): Likewise.
14395         (__tsearch): Likewise. And add asserts for malloc alignment.
14396         (__twalk): Cast root to node in case CHECK_TREE is defined.
14398 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14400         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14402 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14404         * math/Makefile (libm-gen-calls): Add
14405         catan, catanh, ctan, ctanh.
14406         (libm-calls): Remove the above.
14408         * math/s_catan_template.c: Update using type-generic macros.
14409         * math/s_catanh_template.c: Likewise.
14410         * math/s_ctan_template.c: Likewise.
14411         * math/s_ctanh_template.c: Likewise.
14413         * math/s_catanf.c: Removed.
14414         * math/s_catan.c: Removed.
14415         * math/s_catanl.c: Removed.
14416         * math/s_catanhf.c: Removed.
14417         * math/s_catanh.c: Removed.
14418         * math/s_catanhl.c: Removed.
14419         * math/s_ctanf.c: Removed.
14420         * math/s_ctan.c: Removed.
14421         * math/s_ctanl.c: Removed.
14422         * math/s_ctanhf.c: Removed.
14423         * math/s_ctanh.c: Removed.
14424         * math/s_ctanhl.c: Removed.
14426         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14427         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14428         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14429         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14430         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14431         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14433         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14434         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14435         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14436         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14438 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14440         * s_catan_template.c: Copy of s_catan.c.
14441         * s_catanh_template.c: Copy of s_catanh.c.
14442         * s_ctan_template.c: Copy of s_ctan.c.
14443         * s_ctanh_template.c: Copy of s_ctanh.c.
14445 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14447         * math/Makefile (gen-libm-calls): Move
14448         casin, casinh, csin, csinh here.
14449         (libm-calls): Remove the above.
14451         * math/s_casin_template.c: Update using type-generic macros.
14452         * math/s_casinh_template.c: Likewise.
14453         * math/s_csin_template.c: Likewise.
14454         * math/s_csinh_template.c: Likewise.
14455         * math/k_casinh_template.c: Likewise.
14457         * math/s_casinf.c: Removed.
14458         * math/s_casin.c: Removed.
14459         * math/s_casinl.c: Removed.
14460         * math/s_casinh.c: Removed.
14461         * math/s_casinhf.c: Removed.
14462         * math/s_casinhl.c: Removed.
14463         * math/s_csin.c: Removed.
14464         * math/s_csinf.c: Removed.
14465         * math/s_csinl.c: Removed.
14466         * math/s_csinh.c: Removed.
14467         * math/s_csinhf.c: Removed.
14468         * math/s_csinhl.c: Removed.
14469         * math/k_casinh.c: Removed.
14470         * math/k_casinhf.c: Removed.
14471         * math/k_casinhl.c: Removed.
14473         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
14474         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14475         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14476         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14478         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
14479         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
14480         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
14481         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
14482         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
14483         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
14484         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
14485         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
14487         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
14488         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
14489         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
14490         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
14492         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
14493         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
14494         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
14495         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
14497 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14499         * s_casin_template.c: Copy of s_casin.c.
14500         * s_casinh_template.c: Copy of s_casinh.c.
14501         * s_csin_template.c: Copy of s_csin.c.
14502         * s_csinh_template.c: Copy of s_csinh.c.
14503         * k_casinh_template.c: Copy of k_casinh.c.
14505 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14507         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
14509 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14511         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
14512         (mul_split) Remove, rename as mul_splitl, remove
14513         redundant float.h include, and include via mul_splitl.h
14515         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14516         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14517         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14518         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14519         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14521         * math/mul_splitl.h: New file.
14523         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
14524         Move into mul_split.h, and remove redundant float.h include.
14526         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14527         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
14528         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14529         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
14531         * math/mul_split.h: New file.
14533 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14535         * math/Makefile (libm-gen-calls): Move
14536         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
14537         (libm-calls): Remove above.
14539         * math/s_cacos_template.c: Update using type-generic macros.
14540         * math/s_cacosh_template.c: Likewise.
14541         * math/s_ccos_template.c: Likewise.
14542         * math/s_ccosh_template.c: Likewise.
14544         * math/s_cacosf.c: Removed.
14545         * math/s_cacos.c: Removed.
14546         * math/s_cacosl.c: Removed.
14547         * math/s_cacoshf.c: Removed.
14548         * math/s_cacosh.c: Removed.
14549         * math/s_cacoshl.c: Removed.
14550         * math/s_ccosf.c: Removed.
14551         * math/s_ccos.c: Removed.
14552         * math/s_ccosl.c: Removed.
14553         * math/s_ccoshf.c: Removed.
14554         * math/s_ccosh.c: Removed.
14555         * math/s_ccoshl.c: Removed.
14557         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
14558         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
14559         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
14560         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
14561         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
14562         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
14564         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
14565         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
14566         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
14567         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
14569         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
14570         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
14571         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
14572         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
14574 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14576         * s_cacos_template.c: Copy of s_cacos.c.
14577         * s_cacosh_template.c: Copy of s_cacosh.c.
14578         * s_ccos_template.c: Copy of s_ccos.c.
14579         * s_ccosh_template.c: Copy of s_ccosh.c.
14581 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14583         * stdlib/tst-strtod-round-skeleton.c:
14584         Refactored from tst-strtod-round.c.
14586         (L_): New macro to apply literal modifier.
14587         (FNPFX): New macro to select str or wcs prefix.
14588         (CHAR): New macro to choose wchar_t or char.
14589         (STRM): New macro to choose printf for tested character type.
14591         (STRTO): New macro to choose appropriate string -> real function.
14592         (FNPFXS): Stringitized version of FNPFX.
14593         (STR): Support for above macro.
14594         (STRX): Likewise.
14596         (TEST): Update with above macros.
14597         (test): Likewise.
14598         (GEN_ONE_TEST): Likewise.
14599         (test_in_one_mode): Likewise.
14601         * stdlib/tst-strtod-round.c: New file.
14602         * wcsmbs/tst-wcstod-round.c: New file.
14604         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
14605         (tst-wcstod-round): Add libm depencency for fesetround.
14607 2016-08-19  Zack Weinberg  <zackw@panix.com>
14609         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
14611 2016-08-18  Torvald Riegel  <triegel@redhat.com>
14613         [BZ #20477]
14614         * resolv/res_hconf.c (do_init): Use atomic access.
14615         * resolv/res_hconf.h: Add comments.
14616         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
14617         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
14618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14620 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14622         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14623         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
14624         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14625         Likewise.
14627 2016-08-18  Florian Weimer  <fweimer@redhat.com>
14629         [BZ #16907]
14630         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
14631         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
14632         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
14633         (__attribute__): Remove definition.
14635 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14637         * sysdeps/ieee754/ldbl-128/e_asinl.c:
14638         Remove unused sqrtl declaration.
14640 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14642         * math/Makefile: (gen-libm-templates.stmp): New rule.
14643         (libm-calls): Move carg conj cimag and cabs into ...
14644         (gen-libm-calls): New variable.
14645         (generated): Inform Make objects from gen-libm-calls
14646         may be generated.
14648         * sysdeps/generic/math-type-macros.h: New file.
14649         * sysdeps/generic/math-type-macros-float.h: Likewise.
14650         * sysdeps/generic/math-type-macros-double.h: Likewise.
14651         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14652         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
14653         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
14655         * math/cabs.c: Refactor into
14656         * math/cabs_template.c: new file.
14657         * math/cabsf.c: Removed.
14658         * math/cabsl.c: Removed.
14659         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
14660         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
14662         * math/carg.c: Refactor into
14663         * math/carg_template.c: new file.
14664         * math/cargf.c: Removed.
14665         * math/cargl.c: Removed.
14666         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
14667         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
14669         * math/conj.c: Refactor into
14670         * math/conj_template.c: new file.
14671         * math/conjf.c: Removed.
14672         * math/conjl.c: Removed.
14673         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
14674         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
14676         * math/cimag.c: Refactor into
14677         * math/cimag_template.c: new file.
14678         * math/cimagf.c: Removed.
14679         * math/cimagl.c: Removed.
14680         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14681         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14683         * math/cimag.c: Refactor into
14684         * math/cimag_template.c: new file.
14685         * math/cimagf.c: Removed.
14686         * math/cimagl.c: Removed.
14687         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14688         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14690 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14692         Reduce time to expected nptl/tst-once5 failure.
14693         * nptl/tst-once5.cc (TIMEOUT): Define.
14695 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14697         [BZ #20452]
14698         Avoid additional copies of objects in libc.a in static libraries.
14699         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
14700         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
14701         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
14702         rt-sysdep.
14703         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
14704         Add nptl-sysdep.
14705         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
14706         Add ptw-sysdep.
14707         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
14708         rt-sysdep.
14709         * sysdeps/unix/sysv/linux/alpha/Makefile
14710         (libpthread-shared-only-routines): Add ptw-sysdep,
14711         ptw-sigprocmask, ptw-rt_sigaction.
14712         * sysdeps/unix/sysv/linux/ia64/Makefile
14713         (librt-shared-only-routines): Add rt-sysdep.
14714         * sysdeps/unix/sysv/linux/i386/Makefile
14715         (libpthread-shared-only-routines): Add libc-do-syscall.
14716         * sysdeps/unix/sysv/linux/microblaze/Makefile
14717         (libpthread-shared-only-routines): Add sysdep.
14718         * sysdeps/unix/sysv/linux/powerpc/Makefile
14719         (librt-shared-only-routines): Add rt-sysdep.
14720         (libpthread-shared-only-routines): Add sysdep.
14721         * sysdeps/unix/sysv/linux/s390/Makefile
14722         (librt-shared-only-routines): Add rt-sysdep.
14723         * sysdeps/unix/sysv/linux/sparc/Makefile
14724         (librt-shared-only-routines): Add rt-sysdep.
14725         (libpthread-shared-only-routines): Add sysdep.
14726         * sysdeps/unix/sysv/linux/tile/Makefile
14727         (libpthread-shared-only-routines): Likewise.
14729 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
14731         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
14732         Mask implicit bit out of unpacked value.
14733         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
14734         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
14735         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
14737         * sysdeps/sparc/fpu/fesetexcept.c: New file.
14739         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
14741         * sysdeps/s390/fpu/fesetexcept.c: New file.
14743         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
14744         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
14745         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
14747         * sysdeps/mips/fpu/fesetexcept.c: New file.
14749         * sysdeps/m68k/fpu/fesetexcept.c: New file.
14751         * sysdeps/ia64/fpu/fesetexcept.c: New file.
14753         * sysdeps/hppa/fpu/fesetexcept.c: New file.
14755         * sysdeps/arm/fesetexcept.c: New file.
14757         * sysdeps/alpha/fpu/fesetexcept.c: New file.
14759         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
14761         * math/fesetexcept.c: New file.
14762         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
14763         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
14764         * math/fenv.h: Define
14765         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14766         <bits/libc-header-start.h> instead of including <features.h>.
14767         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
14768         declaration.
14769         * manual/arith.texi (fesetexcept): Document function.
14770         * math/Versions (fesetexcept): New libm symbol at version
14771         GLIBC_2.25.
14772         * math/Makefile (libm-support): Add fesetexcept.
14773         (tests): Add test-fesetexcept and test-fesetexcept-traps.
14774         * math/test-fesetexcept.c: New file.
14775         * math/test-fesetexcept-traps.c: Likewise.
14776         * sysdeps/nacl/libm.abilist: Update.
14777         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14778         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14779         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14780         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14781         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14782         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14783         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14784         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14785         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14786         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14787         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14788         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14790         Likewise.
14791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14792         Likewise.
14793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14794         Likewise.
14795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14796         Likewise.
14797         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14798         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14799         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14800         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14801         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14803         Likewise.
14804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14805         Likewise.
14806         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14807         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14808         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14810 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14812         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14813         New.
14814         (do_test): Apply default_stack_size_in_mb if not set.
14815         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14817 2016-08-15  Andreas Schwab  <schwab@suse.de>
14819         [BZ #20435]
14820         CVE-2016-6323
14821         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14822         as .cantunwind.
14824 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
14826         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14827         comment from fraiseexcpt.c.
14829         * math/test-fexcept.c (feraiseexcept_exact): New function.
14830         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14831         (test_except): Likewise.
14833 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
14835         [BZ #20455]
14836         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
14837         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
14838         to be restored.
14840         * math/test-fexcept-traps.c: New file.
14841         * math/test-fexcept.c: Likewise.
14842         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
14843         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
14844         macro.
14845         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14846         (EXCEPTION_SET_FORCES_TRAP): Likewise.
14848 2016-08-09  Torvald Riegel  <triegel@redhat.com>
14850         * include/atomic.h (atomic_fetch_and_relaxed,
14851         atomic_fetch_and_release, atomic_fetch_or_release,
14852         atomic_fetch_xor_release): New.
14854 2016-08-06  Christian Seiler  <christian@iwakd.de>
14856         [BZ #20444]
14857         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
14858         MACH_PORT_NULL.
14860 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14862         * math/s_fdim.c: Avoid alias renamed.
14863         * math/s_fdimf.c: Likewise.
14864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14865         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14866         Add s_fdimf-vis3, s_fdim-vis3.
14867         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14868         (CFLAGS-s_fdim-vis3.c): Likewise.
14869         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
14870         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
14872 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14875         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14876         Remove s_fdimf-vis3, s_fdim-vis3.
14877         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
14878         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
14879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
14880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
14881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
14882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
14883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
14884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
14885         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
14886         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
14888 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14890         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
14891         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
14892         -Wa,-Av9a -mvis.
14894 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14896         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
14897         LIT() to individual constants in simple expressions
14898         after splitting on spaces.
14899         (_apply_lit): Rename replaced version, and use it to
14900         apply to what appears to be a token.
14902         * math/libm-test.inc: Fix many, many issues with
14903         spacing.
14905 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
14907         * math/math.h: Move comment about <bits/mathdef.h> definitions
14908         above inclusion of <bits/mathdef.h>.  Do not mention
14909         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
14911 2016-08-05  Torvald Riegel  <triegel@redhat.com>
14913         * include/atomic.h (atomic_exchange_relaxed): New.
14915 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
14917         * math/e_scalb.c: Do not include <fenv.h>.
14918         (invalid_fn): Do calculation resulting in NaN instead of raising
14919         FE_INVALID and returning a NaN explicitly.
14920         * math/e_scalbf.c: Do not include <fenv.h>.
14921         (invalid_fn): Do calculation resulting in NaN instead of raising
14922         FE_INVALID and returning a NaN explicitly.
14923         * math/e_scalbl.c: Do not include <fenv.h>.
14924         (invalid_fn): Do calculation resulting in NaN instead of raising
14925         FE_INVALID and returning a NaN explicitly.
14927 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
14929         * po/de.po: Updated from Translation Project.
14930         * po/fi.po: Likewise.
14931         * po/sv.po: Likewise.
14933 2016-08-04  Florian Weimer  <fweimer@redhat.com>
14935         [BZ #20452]
14936         Use sysdep.o from libc.a in static libraries.
14937         * sysdeps/unix/sysv/linux/i386/Makefile
14938         (libpthread-shared-only-routines): Add sysdep.
14939         (librt-shared-only-routines): Likewise.
14941 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14943         * math/tgmath.h (nextdown): Define if
14944         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
14945         (nextup): Likewise.
14947         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
14948         macro.
14949         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14950         Document.
14951         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14952         Document macro.
14953         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
14954         (exp10f): Likewise.
14955         (exp10l): Likewise.
14956         * math/bits/mathcalls.h (exp10): Declare if
14957         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14959         * manual/arith.texi (nextup): Fix typo in last change.
14961 2016-08-03  Zack Weinberg  <zackw@panix.com>
14963         [BZ #19239]
14964         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
14965         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
14966         define major, minor, and makedev to issue deprecation warnings on use.
14967         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
14968         previously-activated deprecation warnings for these macros and prevent
14969         subsequent inclusions of this header from having any effect.
14970         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
14971         including <sys/sysmacros.h>, and undefine it again afterward.
14973 2016-08-03  Zack Weinberg  <zackw@panix.com>
14975         * sysdeps/generic/sys/sysmacros.h: Delete file.
14976         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
14977         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
14978         * bits/sysmacros.h: ... here; this encoding is now the generic
14979         encoding.  Now defines only the following macros:
14980         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
14981         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
14982         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
14984         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
14985         bits/sysmacros.h and the above new macros to generate the
14986         public implementations of major, minor, and makedev.
14987         * misc/tst-makedev.c: New test.
14988         * include/sys/sysmacros.h: New wrapper.
14990         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
14991         (routines): Add makedev.
14992         (tests): Add tst-makedev.
14993         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
14994         gnu_dev_makedev.
14995         * posix/Makefile (headers): Remove sys/sysmacros.h.
14996         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
14998         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
14999         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
15000         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
15001         * sysdeps/unix/sysv/linux/alpha/libc.abilist
15002         * sysdeps/unix/sysv/linux/arm/libc.abilist
15003         * sysdeps/unix/sysv/linux/hppa/libc.abilist
15004         * sysdeps/unix/sysv/linux/i386/libc.abilist
15005         * sysdeps/unix/sysv/linux/ia64/libc.abilist
15006         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15007         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
15008         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
15009         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15010         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15011         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15012         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15013         * sysdeps/unix/sysv/linux/nios2/libc.abilist
15014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15018         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
15019         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
15020         * sysdeps/unix/sysv/linux/sh/libc.abilist
15021         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15022         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15025         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
15026         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
15027         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
15028         Add GLIBC_2.25.
15030         * include/features.h (__glibc_clang_prereq): New macro.
15031         * misc/sys/cdefs.h (__glibc_clang_has_extension)
15032         (__attribute_deprecated_msg__): New macros.
15034 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15036         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
15037         macro.
15038         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
15039         * manual/arith.texi (issignaling): Document as ISO from TS
15040         18661-1:2014.
15041         (nextup): Likewise.
15042         (nextupf): Likewise.
15043         (nextupl): Likewise.
15044         (nextdown): Likewise.
15045         (nextdownf): Likewise.
15046         (nextdownl): Likewise.
15047         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
15048         macro.
15049         * math/math.h: Define
15050         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15051         <bits/libc-header-start.h> instead of including <features.h>.
15052         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
15053         [__USE_GNU].
15054         * math/bits/mathcalls.h (nextdown): Declare if
15055         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
15056         (nextup): Likewise.
15057         (__issignaling): Likewise.
15059 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15061         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
15062         check, and remove __glibc_likely hint
15063         from FP_INFINITE check.
15064         * s_csinhf.c (__csinhf): Likewise.
15066         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
15067         hint from FP_INFINITE check.
15068         * s_csinhl.c (__csinhl): Likewise.
15070 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15072         * math/Makefile (libm-calls): Insert F placeholder into
15073         object names.  Move w_lgamma_compat* routines into
15074         (libm-compat-calls): New variable.
15075         (libm-compat-calls-ldouble-yes): New variable.
15076         (calls): Insert F placeholder.
15077         (generated): Redefine using new type-foreach macro call.
15078         (routines): Likewise.
15080         (types): New variable to hold a list of symbolic names
15081         for each type supported by the target machine.
15082         (libm-routines): Redefine using new types variable.
15083         (type-foreach): macro to replace fooF with the
15084         appropriately suffixed foo for each types.
15086         (type-ldouble-suffix): New variable.
15087         (type-ldouble-routines): Likewise.
15088         (type-ldouble-yes): Likewise.
15089         (type-double-suffix): Likewise.
15090         (type-double-routines): Likewise.
15091         (type-float-suffix): Likewise.
15092         (type-float-routines): Likewise.
15094         (dbl-only-routines): Remove.
15095         (long-c-yes): Likewise.
15096         (long-m-routines): Likewise.
15097         (long-m-support): Likewise.
15098         (long-m-yes): Likewise.
15099         (test-longdouble-yes): Likewise.
15101         (test-float.o): Simplify by increasing the scope of the
15102         recipe which adds libm-test.stmp to the vector types.
15103         (test-ifloat.o): Likewise.
15104         (test-float-finite.o): Likewise.
15105         (test-double.o): Likewise
15106         (test-idouble.o): Likewise.
15107         (test-double-finite.o): Likewise.
15108         (test-ldouble.o): Likewise
15109         (test-ildoubl.o): Likewise.
15110         (test-ldouble-finite.o): Likewise.
15112         (libm-tests): Redefine type tests using foreach and the
15113         list of types in types.
15115         (CPPFLAGS-test-ildoubl.c): Rename to
15116         (CPPFLAGS-test-ildouble.c): New variable
15118         * math/test-ildoubl.c: Rename to
15119         * math/test-ildouble.c: New file.
15121 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15123         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
15124         Use fabsl instead of fabs.
15125         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
15126         Likewise.
15127         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
15128         Add long double suffix to constant to ensure proper
15129         promotion to long double.
15131 2016-08-03  Tom Tromey  <tom@tromey.com>
15133         [BZ #20311]
15134         * nptl_db/Makefile (headers): Add proc_service.h.
15135         * nptl_db/proc_service.h: Add include guard.  Use
15136         __BEGIN/__END_DECLS.
15137         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
15138         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
15139         arguments.
15142 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15144         [BZ #17730]
15145         Avoid using memalign for TCB allocations.
15146         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
15147         (_dl_allocate_tls_storage): Use malloc and manual alignment.
15148         Avoid alignment gap in the TLS_DTV_AT_TP case.
15149         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
15150         determine the pointer to free.
15151         * nptl/tst-tls3-malloc.c: New test.
15152         * nptl/Makefile (tests): Add it.
15153         (tst-tls3-malloc): Link with libdl, libpthread.
15154         (LDFLAGS-tst-tls3-malloc): Set.
15155         (tst-tls3-malloc.out): Depend on DSO used in test.
15157 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15159         [BZ #17730]
15160         Avoid using memalign for TLS allocations.
15161         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
15162         is_static member with to_free member.
15163         (union dtv): Use struct dtv_pointer.
15164         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15165         dtv_pointer instead of is_static.
15166         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15167         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15168         instead of val.
15169         (allocate_dtv_entry): New function.
15170         (allocate_and_init): Return struct dtv_pointer.  Call
15171         allocate_dtv_entry instead of __libc_memalign.
15172         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15173         instead of val.
15174         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15175         instead of is_static.  Adjust call to allocate_and_init.
15176         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15177         struct dtv_pointer instead of val.
15179 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15181         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15182         (MALLOC_ALIGN_MASK): Move ...
15183         * malloc/malloc-internal.h: ... to here.
15184         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15186 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15188         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15189         (UDP_ENCAP_GTP1U): Likewise.
15191         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15192         (PF_MAX): Update value.
15193         (AF_QIPCRTR): New macro.
15195 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15197         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15198         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15199         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15200         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15201         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15202         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15203         s_truncf-vis3, s_trunc-vis3.
15204         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15205         (CFLAGS-s_ceil-vis3.c): Likewise.
15206         (CFLAGS-s_floorf-vis3.c): Likewise.
15207         (CFLAGS-s_floor-vis3.c): Likewise.
15208         (CFLAGS-s_truncf-vis3.c): Likewise.
15209         (CFLAGS-s_trunc-vis3.c): Likewise.
15210         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15211         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15212         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15213         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15214         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15215         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15216         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15217         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15218         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15219         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15220         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15221         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15223 2016-08-02  David S. Miller  <davem@davemloft.net>
15225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15226         (__nearbyint_vis3): Don't check for sNaN before float register is
15227         loaded with the incoming argument.
15228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15229         (__nearbyintf_vis3): Likewise.
15230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15231         Likewise.
15232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15233         Likewise.
15235         * string/test-strncmp.c (do_test_limit): Make sure the test data
15236         stream is aligned as required for the type "CHAR".
15237         (do_test): Likewise.
15239 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15241         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15242         by beq instructions jumping to the end of the function.
15243         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15244         clobber list. Use "i" constraint instead of "X".
15245         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15246         of "X".
15248 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15250         * bits/libc-header-start.h: New file.
15251         * Makefile (headers): Add bits/libc-header-start.h.
15252         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15253         (__GLIBC_USE): New macro.
15254         * libio/stdio.h: Define
15255         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15256         <bits/libc-header-start.h> instead of including <features.h>.
15257         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15258         (open_memstream): Likewise.
15259         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15260         (__asprintf): Likewise.
15261         (asprintf): Likewise.
15262         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15263         (getdelim): Likewise.
15264         (getline): Likewise.
15265         * string/string.h: Define
15266         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15267         <bits/libc-header-start.h> instead of including <features.h>.
15268         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15269         (strndup): Likewise.
15270         * wcsmbs/wchar.h: Define
15271         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15272         <bits/libc-header-start.h> instead of including <features.h>.
15273         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15274         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15276 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15278         Support linking against compatibility symbols, for use in tests.
15279         * include/libc-symbols.h (symbol_version_reference): New macro.
15280         (symbol_version): Use it.
15281         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15282         (compat_symbol): Use compat_symbol_reference.
15283         (compat_symbol_1, compat_symbol_2): Remove.
15284         (compat_symbol_reference, compat_symbol_reference_1)
15285         (compat_symbol_reference_2): New macro.  Use
15286         symbol_version_reference.
15288 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15290         [BZ #19469]
15291         * malloc/Makefile (CPPFLAGS): Compile tests with
15292         -DTEST_NO_MALLOPT.
15293         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15295 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15297         [BZ #20033]
15298         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15299         finite version.
15300         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15301         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15302         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15303         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15304         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15305         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15306         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15307         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15308         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15309         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15310         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15311         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15312         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15313         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15314         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15315         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15316         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15317         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15318         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15319         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15320         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15321         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15322         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15323         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15324         in zero power.
15326 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15328         [BZ #20370]
15329         * malloc/arena.c (get_free_list): Update comment.  Assert that
15330         arenas on the free list have no attached threads.
15331         (remove_from_free_list): New function.
15332         (reused_arena): Call it.
15334 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15336         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15337         when it is a NaN.
15338         [_IEEE_FP_INEXACT] Remove.
15339         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15340         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15341         when it is a NaN.
15342         [_IEEE_FP_INEXACT] Remove.
15343         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15344         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15345         when it is a NaN.
15346         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15347         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15348         when its absolute value is greater than 0x1.0p52.
15349         [_IEEE_FP_INEXACT] Remove.
15350         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15351         when its absolute value is greater than 0x1.0p23.
15352         [_IEEE_FP_INEXACT] Remove.
15354 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
15356         * version.h (RELEASE): Set to "development"
15357         (VERSION): Set to 2.24.90.
15358         * NEWS: Add 2.25 section.
15360         * version.h (RELEASE): Set to "stable"
15361         (VERSION): Set to 2.24.
15362         * include/features.h (__GLIBC_MINOR__): Set to 24.
15364         * NEWS: Add 2.24 fixed bugs.
15365         * po/libc.pot: Regenerate.
15367 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
15369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15370         [$(subdir) = math] (libm-sysdep_routines): Remove.
15371         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15372         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15373         s_truncf-vis3, s_trunc-vis3.
15374         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15376         file.
15377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15399         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15400         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15401         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15403         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15407         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15408         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15410         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15411         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15412         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15413         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15414         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15415         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15416         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15417         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15418         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15419         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15421 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
15423         [BZ #20384]
15424         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15425         test-double-libmvec-sincos-avx-main.o,
15426         test-double-libmvec-sincos-avx2-main.o,
15427         test-double-libmvec-sincos-main.o,
15428         test-float-libmvec-sincosf-avx-main.o,
15429         test-float-libmvec-sincosf-avx2-main.o and
15430         test-float-libmvec-sincosf-main.o.
15431         test-float-libmvec-sincosf-avx512-main.o.
15432         ($(objpfx)test-double-libmvec-sincos): Also link with
15433         $(objpfx)test-double-libmvec-sincos-main.o.
15434         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15435         $(objpfx)test-double-libmvec-sincos-avx-main.o.
15436         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15437         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15438         ($(objpfx)test-float-libmvec-sincosf): Also link with
15439         $(objpfx)test-float-libmvec-sincosf-main.o.
15440         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15441         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15442         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15443         test-double-libmvec-sincos-avx512-main.o and
15444         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
15445         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
15446         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
15447         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
15448         (CFLAGS-test-double-libmvec-sincos.c): Removed.
15449         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
15450         (CFLAGS-test-double-libmvec-sincos-main.c): New.
15451         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
15452         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
15453         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
15454         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
15455         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
15456         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
15457         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
15458         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
15459         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
15460         -DREQUIRE_AVX2.
15461         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
15462         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
15463         -DREQUIRE_AVX512F.
15464         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
15465         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
15466         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15467         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
15468         file.
15469         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
15470         Likewise.
15471         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
15472         Likewise.
15473         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
15474         Likewise.
15475         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
15476         Likewise.
15477         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
15478         Likewise.
15479         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
15480         Likewise.
15481         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
15482         Likewise.
15484 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
15486         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
15488 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
15490         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
15491         and typo in a comment about AT_HWCAP entry.
15493 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15495         * sysdeps/aarch64/libm-test-ulps: Updated.
15497 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15499         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
15500         of r13 as it is not restored in mvcle case.
15502 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
15504         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
15505         Rename "ret" to "__ret".
15506         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
15507         inline_syscall5, inline_syscall6): Likewise.
15509 2016-07-19   Will Newton  <will.newton@gmail.com>
15511         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
15512         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
15513         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
15514         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
15515         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
15517 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
15519         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
15520         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
15521         -mfpmath=387 with $(rtld-CFLAGS).
15522         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
15523         $(rtld-CFLAGS).
15525 2016-07-18   Ross Burton  <ross.burton@intel.com>
15526              Khem Raj  <raj.khem@gmail.com>
15528         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
15529         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
15530         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
15531         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
15532         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
15533         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
15534         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
15535         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
15536         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
15537         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
15538         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
15539         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
15540         R_METAG_TLS_DTPOFF): New.
15542 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15543             Matt Clay  <mclay@lycos.com>
15545         [BZ #20357]
15546         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
15547         to call __mpsin/__mpcos and to negate values.
15548         * math/auto-libm-test-in: Add test.
15549         * math/auto-libm-test-out: Regenerate.
15551 2016-07-18  Zack Weinberg  <zackw@panix.com>
15553         * grp/Makefile: Don't install the internal header grp-merge.h.
15555 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15557         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15559 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15561         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
15563 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15565         [BZ #15368]
15566         * sysdeps/unix/sysv/linux/nptl-signals.h
15567         (__nptl_clear_internal_signals): New function.
15568         (__libc_signal_block_all): Likewise.
15569         (__libc_signal_block_app): Likewise.
15570         (__libc_signal_restore_set): Likewise.
15571         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
15572         implementation.
15573         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
15574         the cached pid/tid value in pthread structure.
15576 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
15578         [BZ #20347]
15579         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15581 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15583         [BZ #20348]
15584         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
15585         preadv64, pwrite64 and pwritev64.
15587 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15589         [BZ #20350]
15590         * posix/tst-preadwrite.c: Renamed to ...
15591         * posix/tst-preadwrite-common.c: This.
15592         (PREAD): Removed.
15593         (PWRITE): Likewise.
15594         (STRINGIFY): Likewise.
15595         (STRINGIFY2): Likewise.
15596         (do_prepare): Make it static and remove function arguments.
15597         (do_test): Likewise.
15598         (PREPARE): Updated.
15599         (TEST_FUNCTION): New.
15600         (name): Make it static.
15601         (fd): Likewise.
15602         (do_prepare): Use create_temp_file.
15603         (do_test): Renamed to ...
15604         (do_test_with_offset): This.  Make it static and accept offset.
15605         Properly check return value of PWRITE and PREAD.  Return bytes
15606         read.  Don't close fd nor unlink name.
15607         * posix/tst-preadwrite.c: Rewrite.
15608         * posix/tst-preadwrite64.c: Likewise.
15610 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15612         [BZ #20309]
15613         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
15614         -mtls-dialect=gnu2 works.
15615         * configure: Regenerated.
15616         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
15617         (tests): Add tst-gnu2-tls1.
15618         (modules-names): Add tst-gnu2-tls1mod.
15619         ($(objpfx)tst-gnu2-tls1): New.
15620         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
15621         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
15622         * elf/tst-gnu2-tls1.c: New file.
15623         * elf/tst-gnu2-tls1mod.c: Likewise.
15624         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
15625         bytes for push in the PLT entry to align the stack.
15627 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15629         [BZ #20349]
15630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
15632 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15634         [BZ #18707]
15635         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
15636         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
15638 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15640         * sysdeps/unix/sysv/linux/sysdep.h
15641         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
15642         guards.
15643         * misc/tst-preadvwritev-common.c: New file.
15644         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
15645         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
15646         a check for files larger than 2GB.
15648         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15649         (__ASSUME_OFF_DIFF_OFF64): Remove define.
15650         * sysdeps/unix/sysv/linux/pread.c
15651         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
15652         __OFF_T_MATCHES_OFF64_T.
15653         * sysdeps/unix/sysv/linux/pread64.c
15654         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
15655         * sysdeps/unix/sysv/linux/preadv.c
15656         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
15657         * sysdeps/unix/sysv/linux/preadv64.c
15658         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
15659         * sysdeps/unix/sysv/linux/pwrite.c
15660         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
15661         * sysdeps/unix/sysv/linux/pwrite64.c
15662         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
15663         * sysdeps/unix/sysv/linux/pwritev.c
15664         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
15665         * sysdeps/unix/sysv/linux/pwritev64.c
15666         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
15668 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
15670         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15671         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
15673 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15675         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
15677 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15679         [BZ #20240]
15680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15681         (CFLAGS-s_modf-ppc32.c): New variable.
15682         (CFLAGS-s_modff-ppc32.c): Likewise.
15683         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15684         (CFLAGS-s_modf-ppc64.c): Likewise.
15685         (CFLAGS-s_modff-ppc64.c): Likewise.
15687 2016-07-07  Andreas Schwab  <schwab@suse.de>
15689         [BZ #20263]
15690         * nptl/tst-robust10.c: New test.
15691         * nptl/Makefile (tests): Add tst-robust10.
15693 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
15695         [BZ #20263]
15696         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
15698 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15700         * sysdeps/s390/linkmap.h (struct link_map_machine):
15701         Remove member gotplt and add member jmprel.
15702         * sysdeps/s390/s390-32/dl-machine.h
15703         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
15704         instead of gotplt with &got[3].
15705         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
15706         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15708 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
15710         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
15712 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15714         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
15715         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
15716         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15717         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
15718         * libio/vtables.c (_IO_vtable_check)
15719         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15720         * libio/libioP.h (IO_set_accept_foreign_vtables)
15721         [!PTR_MANGLE]: Do not call PTR_MANGLE.
15723 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
15725         [BZ #20314]
15726         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
15727         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
15728         $(common-objpfx)cmath.
15729         ($(common-objpfx)cstdlib): New target.
15730         ($(common-objpfx)cmath): Likewise.
15732 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
15734         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
15736 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15738         [BZ #20327]
15739         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
15740         are not part of the string.
15742 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15744         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
15745         * nptl/tst-cancel4-common.h (fifoname): New variable.
15746         (fifofd): Likewise.
15747         (cl_fifo): New function.
15748         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
15749         SIGINT.
15750         (tf_open): Add early cancel test.
15752 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15754         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15756 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
15758         * sysdeps/generic/ldsodefs.h
15759         (dl_symbol_visibility_binds_local_p): New inline function.
15760         * elf/dl-addr.c (determine_info): Treat hidden and internal
15761         symbols as local.
15762         * elf/dl-lookup.c (do_lookup_x): Likewise.
15763         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
15765 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
15767         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
15768         invalid exception for a sNaN input.
15769         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15770         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15771         (__nearbyint_vis3): Likewise
15772         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15773         (__nearbyintf_vis3): Likewise
15774         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15775         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15776         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15777         Likewise.
15778         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15779         Likewise.
15781 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
15783         [BZ #20139]
15784         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15785         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15786         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15787         2.24 or above.
15788         (HAVE_AVX512_ASM_SUPPORT): Removed.
15789         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15790         * sysdeps/x86_64/configure: Regenerated.
15791         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15792         check unconditional.
15793         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15794         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15795         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15796         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15797         Likewise.
15798         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15799         Likewise.
15800         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15801         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15802         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15803         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15804         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15805         Likewise.
15806         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15807         Likewise.
15808         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15809         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15810         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15811         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15812         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15813         Likewise.
15814         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15815         Likewise.
15816         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15817         Likewise.
15818         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15819         Likewise.
15820         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15821         Likewise.
15822         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15823         Likewise.
15824         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15825         Likewise.
15826         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15827         Likewise.
15828         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15829         Likewise.
15830         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15831         Likewise.
15832         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15833         Likewise.
15835 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
15837         [BZ #20024]
15838         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
15839         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
15840         of this implementation of vector function.
15841         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15842         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15843         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15844         Likewise.
15845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15847         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
15848         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
15849         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
15850         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
15851         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15852         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
15853         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
15854         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
15855         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
15856         for testing vector sincos with fixed ABI.
15857         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15858         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15859         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15860         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15861         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15862         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15863         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15864         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
15865         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
15866         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
15867         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
15868         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
15869         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
15870         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
15871         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15872         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15874 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15876         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
15878 2016-06-30  Anton Blanchard  <anton@samba.org>
15880         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15881         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
15882         s_sinf-ppc64.
15883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
15884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
15885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
15886         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15888 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15892         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
15893         e_expf-ppc64.
15894         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
15895         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
15896         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
15897         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
15899 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
15901         [BZ #20277]
15902         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
15903         when SHARED is defined.
15905 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
15907         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
15908         (index_arch_Prefer_ERMS): Likewise.
15909         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
15910         __memcpy_erms for Prefer_ERMS.
15911         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15912         (__memmove_erms): Enabled for libc.a.
15913         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
15914         __memmove_erms or Prefer_ERMS.
15915         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
15916         __mempcpy_erms for Prefer_ERMS.
15917         * sysdeps/x86_64/multiarch/memset.S (memset): Return
15918         __memset_erms for Prefer_ERMS.
15920 2016-06-30  Andreas Schwab  <schwab@suse.de>
15922         [BZ #20262]
15923         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
15924         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
15925         of memory.
15927 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
15929         [BZ #18645]
15930         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
15931         (test-extras): Add tst-cleanupx4aux.
15932         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
15933         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
15934         tst-cleanupx4aux.o.
15935         * nptl/tst-cleanupx4aux.c: New file.
15937 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15939         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15941 2016-06-29  Andreas Schwab  <schwab@suse.de>
15943         [BZ #20260]
15944         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
15945         address before the beginning of the string as an integer to avoid
15946         array-bounds warning.
15948 2016-06-28  Richard Henderson  <rth@redhat.com>
15950         * elf/elf.h (EM_BPF): New.
15951         (EM_NUM): Update.
15952         (R_BPF_NONE, R_BPF_MAP_FD): New.
15954         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
15955         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
15956         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
15957         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
15958         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
15959         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
15960         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
15961         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
15962         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
15963         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
15964         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
15965         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
15966         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
15967         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
15968         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
15969         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
15970         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
15971         (EM_NUM): Update.
15973 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
15975         [BZ #18960]
15976         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
15977         Set _nl_current_LC_CATEGORY_used to two instead of one.
15979 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
15981         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
15982         (do_test): ... this.
15983         (TEST_FUNCTION): New macro.
15984          Include test-skeleton.c.
15985         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
15986         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
15988 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
15990         [BZ #15479]
15991         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
15992         floating-point environment rather than just control word.
15993         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15994         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
15995         floating-point environment, with "invalid" exceptions merged in,
15996         rather than just control word.
15997         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
15998         * math/libm-test.inc (trunc_test_data): Do not allow spurious
15999         "inexact" exceptions.
16001         [BZ #15479]
16002         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
16003         floating-point environment rather than just control word.
16004         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16005         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
16006         floating-point environment, with "invalid" exceptions merged in,
16007         rather than just control word.
16008         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
16009         * math/libm-test.inc (floor_test_data): Do not allow spurious
16010         "inexact" exceptions.
16012         [BZ #15479]
16013         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
16014         floating-point environment rather than just control word.
16015         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16016         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
16017         floating-point environment, with "invalid" exceptions merged in,
16018         rather than just control word.
16019         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
16020         * math/libm-test.inc (ceil_test_data): Do not allow spurious
16021         "inexact" exceptions.
16023 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
16025         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
16026         __libc_vfork.
16027         (__vfork) [IS_IN (libc)]: Remove alias.
16028         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
16029         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16030         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16032 2016-06-24  Torvald Riegel  <triegel@redhat.com>
16034         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
16035         of atomic_compare_and_exchange_bool_rel.
16036         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16037         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
16038         catomic_compare_and_exchange_bool_rel): Remove.
16039         * sysdeps/aarch64/atomic-machine.h
16040         (atomic_compare_and_exchange_bool_rel): Likewise.
16041         * sysdeps/alpha/atomic-machine.h
16042         (atomic_compare_and_exchange_bool_rel): Likewise.
16043         * sysdeps/arm/atomic-machine.h
16044         (atomic_compare_and_exchange_bool_rel): Likewise.
16045         * sysdeps/mips/atomic-machine.h
16046         (atomic_compare_and_exchange_bool_rel): Likewise.
16047         * sysdeps/microblaze/atomic-machine.h
16048         ( __arch_compare_and_exchange_bool_8_rel,
16049         __arch_compare_and_exchange_bool_16_rel): Likewise.
16050         * sysdeps/powerpc/atomic-machine.h
16051         ( __arch_compare_and_exchange_bool_8_rel,
16052         __arch_compare_and_exchange_bool_16_rel): Likewise.
16053         * sysdeps/powerpc/powerpc32/atomic-machine.h
16054         ( __arch_compare_and_exchange_bool_32_rel,
16055         __arch_compare_and_exchange_bool_64_rel): Likewise.
16056         * sysdeps/powerpc/powerpc64/atomic-machine.h
16057         ( __arch_compare_and_exchange_bool_32_rel,
16058         __arch_compare_and_exchange_bool_64_rel): Likewise.
16059         * sysdeps/tile/atomic-machine.h
16060         (atomic_compare_and_exchange_bool_rel): Likewise.
16062 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
16064         [BZ #20296]
16065         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
16066         when either argument is a NaN.
16067         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16068         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
16070         * math/libm-test.inc (snan_value_ld): New macro.
16071         (isgreater_test_data): Add sNaN tests.
16072         (isgreaterequal_test_data): Likewise.
16073         (isless_test_data): Likewise.
16074         (islessequal_test_data): Likewise.
16075         (islessgreater_test_data): Likewise.
16076         (isunordered_test_data): Likewise.
16077         (nextafter_test_data): Likewise.
16078         (nexttoward_test_data): Likewise.
16079         (remainder_test_data): Likewise.
16080         (remquo_test_data): Likewise.
16081         (significand_test_data): Likewise.
16082         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
16084 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16086         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
16087         environment macros are defined.
16088         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
16090 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16092         [BZ #20191]
16093         Implement vtable verification in libio.
16094         * Makerules (shlib.lds): Place __libc_IO_vtables section.
16095         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
16096         * debug/vdprintf_chk.c (__vdprintf_chk): Call
16097         _IO_new_file_init_internal instead of _IO_file_init.
16098         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
16099         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
16100         * libio/Makefile (routines): Add vtables.
16101         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
16102         (_IO_init): Remove, not for internal use.
16103         (_IO_init_internal): Declare, internal replacement for _IO_init.
16104         (_IO_file_init): Remove, not for internal use.
16105         (_IO_new_file_init): Remove, not for internal use.
16106         (_IO_new_file_init_internal): Declare, internal replacement for
16107         _IO_new_file_init.
16108         (_IO_old_file_init): Remove, not for internal use.
16109         (_IO_old_file_init_internal): Declare, internal replacement for
16110         _IO_old_file_init.
16111         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
16112         internal use.
16113         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
16114         Declare.
16115         (libio_vtable): New macro.
16116         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
16117         functions.
16118         * libio/fileops.c (_IO_new_file_init_internal): Rename from
16119         _IO_new_file_init.
16120         (_IO_new_file_init): New externally visible wrapper which disables
16121         vtable verification.
16122         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
16123         Define as vtables.
16124         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
16125         (_IO_init): New externally visible wrapper which disables
16126         vtable verification.
16127         * libio/iofdopen.c (_IO_new_fdopen): Call
16128         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
16129         comment.
16130         * libio/iofopen.c (__fopen_internal): Call
16131         _IO_new_file_init_internal instead of _IO_file_init.
16132         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
16133         Define as vtables.
16134         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
16135         _IO_new_file_init_internal instead of _IO_file_init.
16136         * libio/iopopen.c (_IO_new_popen): Likewise.
16137         (_IO_proc_jumps): Define as vtable.
16138         * libio/iovdprintf.c (_IO_vdprintf): Call
16139         _IO_new_file_init_internal instead of _IO_file_init.
16140         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
16141         (__open_memstream): Call _IO_init_internal instead of _IO_init.
16142         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
16143         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
16144         _IO_old_file_init.
16145         (_IO_old_file_init): New externally visible wrapper which disables
16146         vtable verification.
16147         (_IO_old_file_jumps): Define as vtable.
16148         * libio/oldiofdopen.c (_IO_old_fdopen): Call
16149         _IO_old_file_init_internal instead of _IO_old_file_init.
16150         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16151         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16152         (_IO_old_proc_jumps): Define as vtable.
16153         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16154         Define as vtables.
16155         * libio/vtables.c: New file.
16156         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16157         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16158         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16159         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16160         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16161         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16162         instead of _IO_init.
16164 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16166         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16168 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16170         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16171         potentially unused.
16173 2016-06-22  Florian Weimer  <fweimer@redhat.com>
16175         * test-skeleton.c (write_message): New function.
16176         * malloc/tst-mallocfork2.c (write_message): Remove.
16177         * debug/tst-longjmp_chk2.c (write_indented): New function.
16178         (write_message): Remove.
16179         (stackoverflow_handler): Call write_indented.
16181 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
16183         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16184         "inexact" exceptions after fnstenv.
16185         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16186         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16187         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16189 2015-06-22  Zack Weinberg  <zackw@panix.com>
16191         * sysdeps/generic/bits/hwcap.h: Moved to ...
16192         * bits/hwcap.h: Here.
16194 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
16196         * sysdeps/aarch64/memcpy.S (memcpy):
16197         Further tuning for performance.
16199 2016-06-21  Florian Weimer  <fweimer@redhat.com>
16201         [BZ #20284]
16202         * malloc/arena.c (reused_arena): Do not return NULL if we start
16203         out with a non-corrupted arena.
16205 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16207         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16208         * misc/tst-preadvwritev.c: New file.
16209         * misc/tst-preadvwritev64.c: Likewise.
16210         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16211         usage.
16212         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16213         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16214         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16215         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16217 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16219         [BZ #19654]
16220         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16221         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16222         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16223         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16224         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16225         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16226         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16227         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16228         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16229         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16230         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16231         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16232         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16233         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16234         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16235         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16236         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16237         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16238         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16239         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16240         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16241         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16242         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16243         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16244         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16245         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16247 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16249         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16250         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16252 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16254         * sysdeps/aarch64/memcpy.S (memcpy):
16255         Rewrite of optimized memcpy and memmove.
16256         * sysdeps/aarch64/memmove.S (memmove): Remove
16257         memmove code (merged into memcpy.S).
16259 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16261         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16262         * sysdeps/generic/dl-dtv.h: New file.
16263         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16264         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16265         (dtv_t): Remove.
16266         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16267         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16268         (dtv_t): Remove.
16269         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16270         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16271         (dtv_t): Remove.
16272         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16273         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16274         (dtv_t): Remove.
16275         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16276         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16277         (dtv_t): Remove.
16278         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16279         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16280         (dtv_t): Remove.
16281         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16282         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16283         (dtv_t): Remove.
16284         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16285         (dtv_t): Remove.
16286         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16287         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16288         (dtv_t): Remove.
16289         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16290         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16291         (dtv_t): Remove.
16292         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16293         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16294         (dtv_t): Remove.
16295         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16296         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16297         (dtv_t): Remove.
16298         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16299         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16300         (dtv_t): Remove.
16301         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16302         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16303         (dtv_t): Remove.
16304         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16305         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16306         (dtv_t): Remove.
16307         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16308         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16309         (dtv_t): Remove.
16311 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16313         Revert symbol poisoning of  __malloc_initialize_hook.
16314         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16315         poisoning.
16316         * malloc/Makefile: Remove un-poisoning.
16317         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16318         instead of old__malloc_initialize_hook.
16319         * malloc/malloc-hooks.h: Likewise.
16320         * malloc/malloc.c: Likewise.
16321         * malloc/mcheck-init.c: Likewise.
16323 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16325         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16327 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16329         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16330         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16331         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16332         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16334 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16336         * NEWS: Mention addition of nextup and nextdown.
16337         * manual/arith.texi: Document nextup and nextdown.
16338         * manual/libm-err-tab.pl: Add nextup and nextdown.
16339         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16340         * math/Versions (libm): Add GLIBC_2.24.
16341         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16342         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16343         Add new test.
16344         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16345         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16346         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16347         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16348         (nextup_test_data): Likewise.
16349         (nextdown_test_data): Likewise.
16350         * math/s_nextdown.c: New file.
16351         * math/s_nextdownf.c: Likewise.
16352         * math/s_nextdownl.c: Likewise.
16353         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16354         F(nextup): New function.
16355         F(nextdown): Likewise.
16356         * math/tgmath.h: Add nextup and nextdown.
16357         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16358         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16359         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16360         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16361         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16362         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16363         Add nextup and nextdown.
16364         (CFLAGS-nldbl-nextup.c): New variable.
16365         (CFLAGS-nldbl-nextdown.c): Likewise.
16366         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16367         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16368         * sysdeps/nacl/libm.abilist: Update.
16369         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16370         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16371         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16372         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16373         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16374         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16375         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16376         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16377         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16378         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16379         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16380         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16383         Likewise.
16384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16386         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16387         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16388         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16389         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16390         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16393         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16394         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16395         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16396         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16398 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16400         * manual/pattern.texi: Fix typos & grammar errors.
16402 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16404         * manual/search.texi: Fix typos & grammar errors.
16406 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16408         * manual/message.texi: Fix typos & grammar errors.
16410 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
16412         * manual/contrib.texi: Fix spelling typos.
16413         * manual/crypt.texi: Likewise.
16414         * manual/filesys.texi: Likewise.
16415         * manual/locale.texi: Likewise.
16416         * manual/message.texi: Likewise.
16417         * manual/nss.texi: Likewise.
16418         * manual/string.texi: Likewise.
16420 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16422         * manual/locale.texi: Fix typos & grammar errors.
16424 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16426         * manual/charset.texi: Fix typos & grammar errors.
16428 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16430         * manual/string.texi: Fix typos.
16432 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16434         * manual/ctype.texi: Fix typos.
16436 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16438         * manual/memory.texi: Fix various typos & grammar errors.
16440 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
16442         [BZ #20255]
16443         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
16444         * math/libm-test.inc (fdim_test_data): Add another test.
16446         [BZ #6796]
16447         [BZ #20255]
16448         [BZ #20256]
16449         * math/s_fdim.c: Include <math_private.h>.
16450         (__fdim): Use math_narrow_eval on result.
16451         * math/s_fdimf.c: Include <math_private.h>.
16452         (__fdimf): Use math_narrow_eval on result.
16453         * sysdeps/i386/fpu/s_fdim.S: Remove file.
16454         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16455         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
16456         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
16457         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
16458         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
16459         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
16460         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
16461         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
16462         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
16463         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
16464         * math/libm-test.inc (fdim_test_data): Expect errno setting on
16465         overflow.  Add sNaN tests.
16467         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
16468         fpclassify.
16469         * math/s_fdimf.c (__fdimf): Likewise.
16470         * math/s_fdiml.c (__fdiml): Likewise.
16472 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16474         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16475         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
16476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16477         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16478         ifunc'ed strcasecmp/strncasecmp.
16479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
16480         [EALIGN]: Removed.
16481         [END]: Likewise.
16482         [__strcasecmp]: Define instead of the above to control symbol name.
16483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
16484         for __strcasecmp_power8.
16485         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
16486         for __strncasecmp_power8.
16487         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
16488         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
16489         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16490         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
16491         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
16492         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
16494 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
16496         [BZ #20252]
16497         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
16498         arguments when second argument is a NaN.
16499         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
16500         qNaN tests.
16502         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
16503         (conj_test_data): Likewise.
16504         (copysign_test_data): Likewise.
16505         (creal_test_data): Likewise.
16506         (fma_test_data): Likewise.
16507         (fmod_test_data): Likewise.
16509         [BZ #20250]
16510         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
16511         itself.
16512         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
16513         zero input to itself.
16514         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
16515         Likewise.
16516         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
16517         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16518         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16519         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16520         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
16522 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16524         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
16525         * nptl/tst-cancel4-common.c: New file.
16526         * nptl/tst-cancel4-common.h: Likewise.
16527         * nptl/tst-cancel4.c: Move common definitions to
16528         tst-cancel4-common.{c,h} file.
16529         * nptl/tst-cancel4_1.c: New test.
16530         * nptl/tst-cancel4_2.c: New test.
16532 2016-06-13  Florian Weimer  <fweimer@redhat.com>
16534         [BZ #20248]
16535         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
16536         (write_message): New function.
16537         (stackoverflow_handler): Call it instead of printf, to avoid
16538         excessive stack usage by printf.
16539         (do_test): Restore SIGSEGV, SIGBUS default handlers.
16541 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16543         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
16544         (prio_inherit_missing): Remove define.
16545         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16546         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16547         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
16548         Likewise.
16549         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16550         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16551         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16552         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16553         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16554         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16556 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16558         [BZ #19670]
16559         [BZ #19672]
16561         * io/test-lfs.c (do_prepare): Use xmalloc.
16562         * io/tst-fcntl.c (do_prepare): Likewise.
16563         * libio/tst-fopenloc.c (do_bz17916): Likewise.
16564         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
16565         * login/tst-utmp.c (do_prepare): Likewise.
16566         * posix/tst-exec.c (do_prepare): Likewise.
16567         * posix/tst-pathconf.c (prepare): Likewise.
16568         * posix/tst-spawn.c (do_prepare): Likewise.
16569         * posix/tst-truncate.c (do_prepare): Likewise.
16570         * rt/tst-aio.c (do_prepare): Likewise.
16571         * rt/tst-aio64.c (do_prepare): Likewise.
16573 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16575         [BZ #20237]
16576         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
16577         (get*ent): Set entidx to NULL during initialization.  If entidx is
16578         NULL, start iteration from the beginning.
16580 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16582         * malloc/malloc.c (musable): Return correct size for dumped fake
16583         mmapped chunk.
16585 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16587         [BZ #20222]
16588         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
16589         (_IO_cookie_write): Likewise.
16590         (_IO_cookie_seek): Likewise.
16591         (_IO_cookie_close): Likewise.
16592         (_IO_old_cookie_seek): Likewise.
16593         (set_callbacks): New function.
16594         (_IO_cookie_init): Call set_callbacks to copy callbacks.
16596 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
16598         * locale/programs/localedef.c (oldstyle_tables): Remove.
16599         * locale/programs/localedef.h (oldstyle_tables): Likewise.
16601 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
16603         [BZ #20240]
16604         * math/Makefile (CFLAGS-s_modf.c): New variable.
16605         (CFLAGS-s_modff.c): Likewise.
16606         (CFLAGS-s_modfl.c): Likewise.
16607         * math/libm-test.inc (modf_test_data): Add sNaN tests.
16609 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
16611         [BZ #20215]
16612         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
16613         [!__GNUC_PREREQ (3,2)]: Likewise.
16615 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
16617         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
16618         (msghdr.msg_controllen): Likewise.
16619         (cmsghdr.cmsg_len): Likewise.
16620         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
16621         ptw-oldsendmsg.
16622         (CFLAGS-oldrecvmsg.c): Remove rule.
16623         (CFLAGS-oldsendmsg.c): Likewise.
16624         (CFLAGS-recvmsg.c): Add rule.
16625         (CFLAGS-sendmsg.c): Likewise.
16626         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
16627         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
16628         (CFLAGS-recvmsg.c): Remove rule.
16629         (CFLAGS-sendmsg.c): Likewise.
16630         (CFLAGS-oldrecvmsg.c): Likewise.
16631         (CFLAGS-oldsendmsg.c): Likewise.
16632         (CFLAGS-recvmmsg.c): Likewise.
16633         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
16634         to kernel defined interfaces.
16635         (msghdr.msg_controllen): Likewise.
16636         (cmsghdr.cmsg_len): Likewise.
16637         (msghdr.__glibc_reserved1): Remove member.
16638         (msghdr.__glibc_reserved2): Likewise.
16639         (cmsghdr.__glibc_reserved1): Likewise.
16640         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
16641         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
16642         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16643         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16644         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
16645         version.
16646         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16647         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
16648         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16649         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
16650         Remove recvmsg and sendmsg.
16651         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
16652         Likewise.
16653         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16654         Likewise.
16655         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16656         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16657         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16658         Likewise.
16659         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16660         Likewise.
16661         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
16662         [libc] (GLIBC_2.24): Likewise.
16663         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16664         Likewise.
16665         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16666         Likewise.
16667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16668         [libc] (GLIBC_2.24): Likewise.
16669         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16670         Likewise.
16671         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16672         Likewise.
16673         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16674         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16675         Likewise.
16676         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16677         Likewise.
16678         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16679         Likewise.
16680         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
16681         Likewise.
16682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
16683         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
16684         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
16685         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
16686         version for {recv,send,recm,sendm}msg.
16687         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16688         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16689         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16690         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16691         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16692         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16693         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16694         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16695         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16696         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16697         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16698         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16700         Likewise.
16701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16702         Likewise.
16703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16705         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16706         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16707         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16708         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16709         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16710         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16713         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16714         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16715         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16717 2016-06-10  Florian Weimer  <fweimer@redhat.com>
16719         [BZ #19564]
16720         Remove __malloc_initialize_hook from the API.
16721         * malloc/malloc.h (__malloc_initialize_hook): Remove.
16722         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
16723         #pragma GCC poison.
16724         * malloc/malloc-hooks.h: New file.
16725         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
16726         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
16727         (old__malloc_initialize_hook): Rename from
16728         __malloc_initialize_hook to evade poisoning.  Turn into compat
16729         symbol.
16730         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
16731         __malloc_initialize_hook.
16732         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
16733         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
16734         * manual/memory.texi (Hooks for Malloc): Remove
16735         __malloc_initialize_hook.  Adjust hook example.
16737 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
16739         [BZ #20235]
16740         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
16741         itself.
16742         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16743         * math/libm-test.inc (log2_test_data): Add sNaN tests.
16745         [BZ #20234]
16746         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
16747         infinity or NaN input to itself.
16749         [BZ #20233]
16750         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
16751         to itself.
16753         [BZ #20232]
16754         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
16755         itself.
16757 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16759         * sysdeps/x86_64/start.S (_start): Always indirect branch to
16760         __libc_start_main via GOT.
16762 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16764         * sysdeps/x86_64/memcopy.h: New file.
16765         * sysdeps/x86_64/wordcopy.c: Likewise.
16767 2016-06-09  Florian Weimer  <fweimer@redhat.com>
16769         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
16770         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
16771         <cstdlib>.
16772         (optimization_barrier): New.
16773         (do_test): Use it.  Call quick_exit in the global namespace.
16774         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16775         instead of <cstdlib>, <thread>.
16776         (optimization_barrier): New.
16777         (non_main_thread): Adjust declaration.  Call optimization_barrier.
16778         Call quick_exit in the global namespace.
16779         (do_test): Call optimization_barrier.  Use pthread_create,
16780         pthread_join instead of std::thread.
16782 2016-06-09  Andreas Schwab  <schwab@suse.de>
16784         [BZ #19755]
16785         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16786         new entries in auto-propagate mode.
16787         * nscd/grpcache.c (cache_addgr): Likewise.
16789 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16791         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16792         New functions.
16793         (add_temp_file): Use them.
16795 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16797         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16799 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16801         [BZ #20229]
16802         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16803         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16804         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16806         [BZ #20228]
16807         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16808         itself.
16809         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16810         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16812         [BZ #20227]
16813         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16814         itself.
16815         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16816         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16817         * math/libm-test.inc (log_test_data): Add sNaN tests.
16819         [BZ #20226]
16820         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16821         itself.
16822         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16823         * math/libm-test.inc (exp_test_data): Add sNaN tests.
16824         (exp10_test_data): Likewise.
16825         (expm1_test_data): Likewise.
16827         [BZ #20225]
16828         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16829         itself.
16830         * math/s_ldexpf.c (__ldexpf): Likewise.
16831         * math/s_ldexpl.c (__ldexpl): Likewise.
16832         * math/w_scalbln.c (__w_scalbln): Likewise.
16833         * math/w_scalblnf.c (__w_scalblnf): Likewise.
16834         * math/w_scalblnl.c (__w_scalblnl): Likewise.
16835         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
16836         (scalbln_test_data): Likewise.
16838         [BZ #20224]
16839         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
16840         argument to itself.
16841         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
16843 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16845         [BZ #19776]
16846         * sysdeps/x86_64/memcpy.S: Make it dummy.
16847         * sysdeps/x86_64/mempcpy.S: Likewise.
16848         * sysdeps/x86_64/memmove.S: New file.
16849         * sysdeps/x86_64/memmove_chk.S: Likewise.
16850         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16851         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16852         * sysdeps/x86_64/memmove.c: Removed.
16853         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16854         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16855         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
16856         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16857         Likewise.
16858         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16859         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16861         memcpy-sse2-unaligned, memmove-avx-unaligned,
16862         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
16863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16864         (__libc_ifunc_impl_list): Replace
16865         __memmove_chk_avx512_unaligned_2 with
16866         __memmove_chk_avx512_unaligned.  Remove
16867         __memmove_chk_avx_unaligned_2.  Replace
16868         __memmove_chk_sse2_unaligned_2 with
16869         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
16870         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
16871         with __memmove_avx512_unaligned.  Replace
16872         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
16873         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
16874         with __memcpy_chk_avx512_unaligned.  Remove
16875         __memcpy_chk_avx_unaligned_2.  Replace
16876         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
16877         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
16878         Replace __memcpy_avx512_unaligned_2 with
16879         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
16880         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
16881         with __mempcpy_chk_avx512_unaligned.  Remove
16882         __mempcpy_chk_avx_unaligned_2.  Replace
16883         __mempcpy_chk_sse2_unaligned_2 with
16884         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
16885         Replace __mempcpy_avx512_unaligned_2 with
16886         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
16887         Replace __mempcpy_sse2_unaligned_2 with
16888         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
16889         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
16890         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
16891         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
16892         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
16893         (ENTRY): Removed.
16894         (END): Likewise.
16895         (ENTRY_CHK): Likewise.
16896         (libc_hidden_builtin_def): Likewise.
16897         Don't include ../memcpy.S.
16898         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
16899         __memcpy_chk_avx512_unaligned_erms and
16900         __memcpy_chk_avx512_unaligned.  Use
16901         __memcpy_chk_avx_unaligned_erms and
16902         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16903         Default to __memcpy_chk_sse2_unaligned.
16904         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16905         Change function suffix from unaligned_2 to unaligned.
16906         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
16907         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
16908         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
16909         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
16910         (ENTRY): Removed.
16911         (END): Likewise.
16912         (ENTRY_CHK): Likewise.
16913         (libc_hidden_builtin_def): Likewise.
16914         Don't include ../mempcpy.S.
16915         (mempcpy): New.  Add a weak alias.
16916         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
16917         __mempcpy_chk_avx512_unaligned_erms and
16918         __mempcpy_chk_avx512_unaligned.  Use
16919         __mempcpy_chk_avx_unaligned_erms and
16920         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16921         Default to __mempcpy_chk_sse2_unaligned.
16923 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16925         [BZ #19881]
16926         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
16927         into ...
16928         * sysdeps/x86_64/memset.S: This.
16929         (__bzero): Removed.
16930         (__memset_tail): Likewise.
16931         (__memset_chk): Likewise.
16932         (memset): Likewise.
16933         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
16934         defined.
16935         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
16936         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
16937         (__memset_zero_constant_len_parameter): Check SHARED instead of
16938         PIC.
16939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16940         memset-avx2 and memset-sse2-unaligned-erms.
16941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16942         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
16943         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
16944         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16945         (__bzero): Enabled.
16946         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
16947         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
16948         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
16949         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
16950         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16951         (memset): Removed.
16952         (__memset_chk): Likewise.
16953         (MEMSET_SYMBOL): New.
16954         (libc_hidden_builtin_def): Replace __memset_sse2 with
16955         __memset_sse2_unaligned.
16956         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
16957         __memset_chk_sse2 and __memset_chk_avx2 with
16958         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
16959         Use __memset_chk_sse2_unaligned_erms or
16960         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
16961         __memset_chk_avx512_unaligned_erms and
16962         __memset_chk_avx512_unaligned.
16964 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16966         * math/gen-auto-libm-test.c (fp_format_desc): remove
16967         suffix member.
16968         (output_generic_value): Remove usage of suffix member,
16969         and the resulting unuse of the fp_format argument.
16970         (output_for_one_input_case): Remove unused fp_format
16971         parameter.
16973         * math/auto-libm-test-out: Regenerate.
16975         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
16976         usage with TEST_COND_ibm128.
16977         (TEST_COND_flt_32): Remove.
16978         (TEST_COND_dbl_64): Remove.
16979         (TEST_COND_ldbl_96_intel): Remove.
16980         (TEST_COND_ldbl_96_m68k): Remove.
16981         (TEST_COND_ldbl_128): Remove.
16983 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16985         * auto-libm-test-in:
16986         Replace flt-32 usage with binary32.
16987         Replace dbl-64 usage with binary64.
16988         Replace ldbl-intel-96 usage with intel96.
16989         Replace ldbl-m68k-96 usage with m68k96.
16990         Replace ldbl-128ibm usage with ibm128.
16991         Replace ldbl-128 usage with binary128.
16993         * auto-libm-test-out: Regenerate.
16995 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16997         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
16998         (parse_ulps): Dynamically generate type name matching
16999         string from all_floats.
17000         (get_ulps): Generate the ulps as an array instead.
17001         (output_ulps): Dynamically compose the type based
17002         on the number of supported formats, and print
17003         the indices as type specific helper macros.
17005         * math/libm-test.inc: Remove comment about CHOOSE.
17006         (ulp_data): Generate the type in libm-test-ulps.h.
17007         (ULP_IDX): New macro.
17008         (find_ulps): Update usage of max_ulp.
17010         * math/test-double-vlen2.h (CHOOSE): Remove.
17011         * math/test-double-vlen4.h (CHOOSE): Likewise.
17012         * math/test-double-vlen8.h (CHOOSE): Likewise.
17013         * math/test-float.c (CHOOSE): Likewise.
17014         * math/test-float-finite.c (CHOOSE): Likewise.
17015         * math/test-double.c (CHOOSE): Likewise.
17016         * math/test-double-finite.c (CHOOSE): Likewise.
17017         * math/test-idouble.c (CHOOSE): Likewise.
17018         * math/test-ifloat.c (CHOOSE): Likewise.
17019         * math/test-ildoubl.c (CHOOSE): Likewise.
17020         * math/test-ldouble-finite.c (CHOOSE): Likewise.
17021         * math/test-ldouble.c (CHOOSE): Likewise.
17023         * math/test-float.h (TEST_FLOAT): Remove.
17024         * math/test-double.h (TEST_DOUBLE): Likewise.
17025         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
17027 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17029         * math/gen-libm-test.pl: (apply_lit): New subroutine.
17030         (parse_args): Strip C suffix from floating point literals
17031         typed with 'f' and wrap them with LIT().
17033         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
17034         (test_ff_f_data_nexttoward): Rename to
17035         (test_fj_f_data): New struct.
17036         (nexttoward_test_data): Relabel tests as
17037         TEST_fj_f instead of TEST_ff_f.
17039 2016-06-08  Florian Weimer  <fweimer@redhat.com>
17041         Emacs bug 23726.
17042         * malloc/malloc.c (dumped_main_arena_start): Update comment.
17043         (__libc_realloc): Correct size computation for dumped fake mmapped
17044         chunks.
17046 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
17048         [BZ #20219]
17049         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
17050         to itself.
17051         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
17053         [BZ #20218]
17054         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
17055         to itself.
17056         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
17058 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
17060         [BZ #20195]
17061         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
17062         check to ...
17063         (init_cpu_features): Here.
17065 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
17067         [BZ #20214]
17068         * sysdeps/unix/sysv/linux/bits/in.h
17069         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17070          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
17071         Define to 1.
17072         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17073          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
17074         Define to 0.
17075         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
17076         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
17078 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
17080         [BZ #20198]
17081         * stdlib/Makefile (tests): Add tst-quick_exit, and
17082         tst-thread-quick_exit.
17083         [ifeq ($(have-cxx-thread_local),yes)]
17084         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
17085         (CFLAGS-tst-thread-quick_exit.o): Likewise.
17086         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
17087         (LDLIBS-tst-thread-quick_exit): Likewise.
17088         [ifneq ($(have-cxx-thread_local),yes)]
17089         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
17090         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
17091         If run_dtors is true call __call_tls_dtors.
17092         (exit): Call __run_exit_handlers with run_dtors set to true.
17093         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
17094         definition.
17095         * stdlib/quick_exit.c (quick_exit): Remove function.
17096         (__new_quick_exit): New function.
17097         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
17098         function.
17099         * stdlib/tst-quick_exit.cc: New file.
17100         * stdlib/tst-thread-quick_exit.cc: New file.
17101         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
17102         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
17103         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
17104         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
17105         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
17106         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
17107         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
17108         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
17109         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
17110         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
17111         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
17112         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
17113         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
17114         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
17115         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
17116         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
17118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
17119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
17120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
17121         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
17122         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
17123         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
17124         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
17125         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
17126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
17127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
17128         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
17129         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
17130         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
17132 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17134         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
17135         a typo in comments.
17137 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17139         [BZ #20213]
17140         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
17141         argument to itself.
17142         * math/libm-test.inc (asin_test_data): Add sNaN tests.
17144 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17146         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
17147         required flags.
17148         (CFLAGS-pwritev64.c): Likewise.
17149         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
17150         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17151         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17152         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17153         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17154         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17155         syscall from auto-generation.
17156         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17157         [WORDSIZE == 64] (pwritev64): Remove macro.
17158         [!PWRITEV] (PWRITEV): Likewise.
17159         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17160         [!PWRITEV] (PWRITE): Likewise.
17161         [!PWRITEV] (OFF_T): Likewise.
17162         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17163         (LO_HI_LONG): Remove macro.
17164         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17165         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17166         (PWRITEV): Remove macro.
17167         (PWRITEV_REPLACEMENTE): Likewise.
17168         (PWRITE): Likewise.
17169         (OFF_T): Likewise.
17170         (pwritev64): New function.
17171         * nptl/tst-cancel4.c (tf_writev): Add test.
17173         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17174         required flags.
17175         (CFLAGS-preadv64.c): Likewise.
17176         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17177         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17178         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17179         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17180         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17181         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17182         syscall from auto-generation.
17183         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17184         [WORDSIZE == 64] (preadv64): Remove macro.
17185         [!PREADV] (PREADV): Likewise.
17186         [!PREADV] (PREADV_REPLACEMENT): Likewise.
17187         [!PREADV] (PREAD): Likewise.
17188         [!PREADV] (OFF_T): Likewise.
17189         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17190         (LO_HI_LONG): Remove macro.
17191         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17192         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17193         (PREADV): Remove macro.
17194         (PREADV_REPLACEMENTE): Likewise.
17195         (PREAD): Likewise.
17196         (OFF_T): Likewise.
17197         (preadv64): New function.
17198         * nptl/tst-cancel4.c (tf_preadv): Add test.
17200 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17202         [BZ #20212]
17203         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17204         argument to itself.
17205         * math/libm-test.inc (acos_test_data): Add sNaN tests.
17207 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17209         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17210         New symbol defined as libc_hidden_def.
17211         (strcasestr): Became a weak alias to __strcasestr.
17212         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17213         according to multi-arch support.  Move __stpncpy hidden
17214         definition from here to...
17215         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17216         symbol stpncpy.
17217         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17218         libc_hidden_builtin_def.
17219         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17220         memset symbol to use when multi-arch support is available.
17222 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17224         * dlfcn/tst-rec-dlopen.c: Include string.h.
17226 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17228         * manual/install.texi: Remove mention of --without-tls
17229         * INSTALL: Regenerate.
17231 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17233         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17234         Remove.
17235         (call_function, interposed_malloc_called): New variables.
17236         (malloc): New function.
17237         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17238         and clear call_function as needed.
17240 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17242         * include/wchar.h (__wmemset): Use __typeof.
17244 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17246         * include/wchar.h (__wmemset): Declare function without typeof.
17248 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17250         [BZ #20205]
17251         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17252         exponent when incrementing negative subnormal with low mantissa
17253         word zero.
17254         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17255         Add another test.
17257 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17259         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17260         __wmemset instead of wmemset.
17262 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17264         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17265         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17266         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17267         __USE_KERNEL_IPV6_DEFS to 0.
17268         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17269         Update comment.
17271 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17273         [BZ #19861]
17274         Do not use IFUNC resolver with potentially unrelocated symbol.
17275         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17276         (DEFINE_FORK): Remove macro and inline definition.
17277         (fork_alias): Renamed from fork_ifunc.
17278         (__fork_alias): Renamed from __fork_ifunc.
17280 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17282         [BZ 19653]
17283         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17284         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17286 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17288         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17289         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17290         i386-linux-gnu).
17291         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17292         Set to no.
17293         * sysdeps/mach/hurd/configure: Refresh.
17295 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17297         [BZ #20178]
17298         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17299         on failure instead of exit.
17301 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17303         [BZ #3629]
17304         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17305         of POSIX.1-2008.
17307 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17309         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17310           Use PLT entry for calling _hurd_self_sigstate.
17312 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17314         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17315         available logical processors with SMT level type sharing L2
17316         cache for Intel processors.
17318 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17320         [BZ #20160]
17321         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17322         argument to itself before returning the result.
17323         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17324         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17325         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17326         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17327         Likewise.
17328         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17329         Likewise.
17330         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17331         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17332         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17333         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17334         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17335         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17337         [BZ #20160]
17338         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17339         argument to itself before returning the result.
17340         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17341         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17342         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17343         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17344         Likewise.
17345         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17346         Likewise.
17347         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17348         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17349         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17350         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17351         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17352         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17354 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17356         * libm-test.inc: Replace usage of M_El with
17357         (lit_e): New macro.
17359 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17361         * libm-test.inc: Replace usage of M_PI_4l with
17362         (lit_pi_4_d): New macro.
17364 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17366         * libm-test.inc: Replace usage of M_PIl with
17367         (lit_pi): New macro.
17369 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17371         * libm-test.inc: Replace usage of M_PI2l with
17372         (lit_pi_2_d): New macro.
17374         * math/test-double.h (LITM): New macro.
17375         * math/test-float.h (LITM): Likewise.
17376         * math/test-ldouble.h (LITM): Likewise.
17378 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17380         * libm-test.inc (M_PI_34l): Rename to
17381         (lit_pi_3_m_4_d): New Macro.
17382         (M_PI_34_LOG10El): Rename to
17383         (lit_pi_3_m_4_ln10_m_d): New Macro.
17384         (M_PI2_LOG10El): Rename to
17385         (lit_pi_2_ln10_m_d):  New Macro.
17386         (M_PI4_LOG10El): Rename to
17387         (lit_pi_4_ln10_m_d):  New Macro.
17388         (M_PI_LOG10El): Rename to
17389         (lit_pi_ln10_d):  New Macro.
17391 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17393         [BZ #20157]
17394         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17395         determine whether to negate low half if [_ARCH_PPCGR], and integer
17396         comparison otherwise.
17397         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17398         determine whether to negate low half.
17400         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17401         (NO_TEST_INLINE_DOUBLE): Likewise.
17402         (TEST_COND_x86_64): Likewise.
17403         (TEST_COND_x86): Likewise.
17404         (M_PI_6l): Likewise.
17406 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17408         * math/libm-test.inc:
17409         (TEST_FLOAT): Change usage to TEST_COND_binary32.
17410         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17411         (TEST_LDOUBLE): Update usage to evaluate as true if
17412         the guarded tests match the property being tested.
17413         (LDBL_MAX_EXP): Change to MAX_EXP.
17414         (LDBL_MIN_EXP): Change to MIN_EXP.
17415         (LDBL_MANT_DIG): Change to MANT_DIG, except for
17416         nexttoward tests.
17418 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17420         * math/libm-test.inc:
17421         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17422         (TYPE_MIN): Likewise.
17423         (TYPE_TRUE_MIN): Likewise.
17424         (TYPE_MAX): Likewise.
17425         (MIN_EXP): Likewise.
17426         (MAX_EXP): Likewise.
17427         (MANT_DIG): Likewise.
17429         (FSTR_MAX): New macro.
17430         (__CONCATX): Likewise.
17431         (QTYPE_STR): Likewise.
17432         (TEST_COND_binary32): Likewise.
17433         (TEST_COND_binary64): Likewise.
17434         (TEST_COND_binary128): Likewise.
17435         (TEST_COND_ibm128): Likewise.
17436         (TEST_COND_intel96): Likewise.
17437         (TEST_COND_m68k96): Likewise.
17439         (TEST_COND_flt_32): Redefine as equivalent format test macro.
17440         (TEST_COND_dbl_64): Likewise.
17441         (TEST_COND_ldbl_96_intel): Likewise.
17442         (TEST_COND_ldbl_96_m68k): Likewise.
17443         (TEST_COND_ldbl_128): Likewise.
17444         (TEST_COND_ldbl_128ibm): Likewise.
17446         (plus_zero): Redefine using LIT macro.
17447         (minus_zero): Likewise.
17448         (plus_infty): Redefine as (INF).
17449         (minux_infty): Redefine as (-INF).
17450         (max_value): Redefine as TYPE_MAX.
17451         (min_value): Redefine as TYPE_MIN.
17452         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
17454         (print_float): Refactor to use snprintf to convert FLOAT values
17455         to string. This brings it closer to dropin replacement of strtof
17456         for the TS 18661 defined types.
17457         (update_stats): Likewise.
17458         (print_complex_function_ulps): Likewise.
17459         (print_max_error): Likewise.
17460         (print_complex_max_error): Likewise.
17461         (check_float_internal): Likewise.
17463         * math/test-float.h (PREFIX): New macro.
17464         (LIT): Likewise.
17465         (TYPE_STR): Likewise.
17466         (FTOSTR): Likewise.
17468         * math/test-double.h (PREFIX): New macro.
17469         (LIT): Likewise.
17470         (TYPE_STR): Likewise.
17471         (FTOSTR): Likewise.
17473         * math/test-ldouble.h (PREFIX): New macro.
17474         (LIT): Likewise.
17475         (TYPE_STR): Likewise.
17476         (FTOSTR): Likewise.
17478 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17480         [BZ #20156]
17481         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
17482         to itself when zero or not finite.
17483         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
17484         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17485         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
17486         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
17488 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
17490         [BZ #20153]
17491         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
17492         x * x + x for infinities and NaNs.
17494         [BZ #20151]
17495         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
17496         argument to itself before returning result.
17497         (__ieee754_y0l): Likewise.
17498         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17499         (__ieee754_y1l).
17501         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
17502         (atan_test_data): Likewise.
17503         (ceil_test_data): Likewise.
17504         (cos_test_data): Likewise.
17505         (cosh_test_data): Likewise.
17506         (erf_test_data): Likewise.
17507         (exp2_test_data): Likewise.
17508         (fabs_test_data): Likewise.
17509         (floor_test_data): Likewise.
17510         (ilogb_test_data): Likewise.
17511         (j0_test_data): Likewise.
17512         (j1_test_data): Likewise.
17513         (jn_test_data): Likewise.
17514         (lgamma_test_data): Likewise.
17515         (lrint_test_data): Likewise.
17516         (llrint_test_data): Likewise.
17517         (logb_test_data): Likewise.
17518         (lround_test_data): Likewise.
17519         (llround_test_data): Likewise.
17520         (nearbyint_test_data): Likewise.
17521         (rint_test_data): Likewise.
17522         (round_test_data): Likewise.
17523         (sin_test_data): Likewise.
17524         (sincos_test_data): Likewise.
17525         (sinh_test_data): Likewise.
17526         (sqrt_test_data): Likewise.
17527         (tan_test_data): Likewise.
17528         (tanh_test_data): Likewise.
17529         (tgamma_test_data): Likewise.
17530         (trunc_test_data): Likewise.
17531         (y0_test_data): Likewise.
17532         (y1_test_data): Likewise.
17533         (yn_test_data): Likewise.
17535         * math/libm-test.inc: Update comment about NaN testing.
17536         (TEST_SNAN): New macro.
17537         (snan_value): Likewise.
17538         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
17539         (fpclassify_test_data): Add sNaN tests.
17540         (isfinite_test_data): Likewise.
17541         (isinf_test_data): Likewise.
17542         (isnan_test_data): Likewise.
17543         (isnormal_test_data): Likewise.
17544         (issignaling_test_data): Likewise.
17545         (signbit_test_data): Likewise.
17546         * math/gen-libm-test.pl (%beautify): Add snan_value.
17547         (show_exceptions): Add argument $test_snan.
17548         (parse_args): Handle snan_value as non-finite.  Update call to
17549         show_exceptions.
17550         * math/Makefile (libm-test-no-inline-cflags): Add
17551         -fsignaling-nans.
17553 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17555         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
17556         (CFLAGS-oldsendmsg.c): Add rule.
17557         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17558         Correct recvmsg symbol name.
17559         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
17560         Likewise.
17562 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17564         * sysdeps/unix/sysv/linux/Makefile
17565         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
17566         oldsendmmsg.
17567         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
17568         sendmmsg.
17569         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17570         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17571         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17572         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17574         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17575         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17577         Likewise.
17578         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17579         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
17580         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17581         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
17582         iovlen and controllen fields to adjust to POSIX specification.
17583         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17585         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
17586         and change to correct expected type.
17587         (msghdr.msg_controllen): Likewise.
17588         (cmsghdr.cmsg_len): Likewise.
17589         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
17590         expected POSIX assumption about the size.
17591         (msghdr.msg_controllen): Likewise.
17592         (msghdr.__glibc_reserved1): Likewise.
17593         (msghdr.__glibc_reserved2): Likewise.
17594         (cmsghdr.cmsg_len): Likewise.
17595         (cmsghdr.__glibc_reserved1): Likewise.
17596         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
17597         Add ptw-oldrecvmsg and ptw-oldsendmsg.
17598         (CFLAGS-sendmsg.c): Remove rule.
17599         (CFLAGS-recvmsg.c): Likewise.
17600         (CFLAGS-oldsendmsg.c): Add rule.
17601         (CFLAGS-oldrecvmsg.c): Likewise.
17602         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
17603         recvmsg and sendmsg.
17604         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
17605         Likewise.
17606         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
17607         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
17608         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17609         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
17610         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17611         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17612         Likewise.
17613         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17614         Likewise.
17615         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
17616         Likewise.
17617         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
17618         Likewise.
17619         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17620         Likewise.
17621         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17622         Likewise.
17623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
17624         (GLIBC_2.24): Likewise.
17625         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17626         Likewise.
17627         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17628         Likewise.
17629         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17630         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17631         Likewise.
17632         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17633         Likewise.
17634         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17635         Likewise.
17636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
17637         (GLIBC_2.24): Likewise.
17638         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
17639         Likewise.
17640         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
17641         Likewise.
17642         * sysdeps/unix/sysv/linux/Makefile
17643         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
17644         (CFLAGS-sendmsg.c): Add rule.
17645         (CFLAGS-recvmsg.c): Likewise.
17646         (CFLAGS-oldsendmsg.c): Likewise.
17647         (CFLAGS-oldrecvmsg.c): Likewise.
17648         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
17649         initialization.
17650         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17651         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17652         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
17653         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17654         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
17655         iovlen and controllen fields to adjust to POSIX specification.
17656         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
17657         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
17658         added recvmsg and sendmsg.
17659         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17660         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17661         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17662         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17663         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17664         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17665         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17666         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17667         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17668         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17669         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17670         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17672         Likewise.
17673         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
17674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17675         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17676         Likewise.
17677         Likewise.
17678         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17679         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17680         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17681         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17682         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17683         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17685         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17687         Likewise.
17688         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17689         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17691         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
17692         from auto-generation.
17693         (sendmsg): Likewise.
17694         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
17695         (sendmsg): Likewise.
17696         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
17697         (sendmsg): Likewise.
17698         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
17699         (sendmsg): Likewise.
17700         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
17701         (sendmsg): Likewise.
17702         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
17703         (sendmsg): Likewise.
17704         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
17705         Likewise.
17706         (sendmsg): Likewise.
17707         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
17708         (sendmsg): Likewise.
17709         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17710         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17711         Remove.
17712         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17713         Likewise.
17714         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17715         Undefine.
17716         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17717         Likewise.
17718         * sysdeps/unix/sysv/linux/kernel-features.h
17719         (__ASSUME_SENDMSG_SYSCALL): Define.
17720         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17721         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17722         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17723         Remove.
17724         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17725         Likewise.
17726         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17727         Undefine.
17728         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17729         Likewise.
17730         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17731         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17732         Remove.
17733         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17734         Likewise.
17735         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17736         Undefine.
17737         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17738         Likewise.
17739         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17740         (__ASSUME_SENDMSG_SYSCALL): Undefine.
17741         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17742         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17743         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17744         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17745         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17746         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17747         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17749 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17751         * stdlib/gen-tst-strtod-round.c: Add backslash to
17752         compile command in comment.
17753         (printfp): Remove the literal suffix, and define an infinite
17754         value as INF to avoid expansion clash with INFINITY.
17755         (round_str): Remove the literal suffix.
17756         (round_for_all): Likewise, remove the now duplicate ldbl-64
17757         entry, and remove some magic constants.
17759         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
17760         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
17761         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
17762         (_CONCAT): New macro.
17763         (CONCAT): Likewise.
17764         (CHOOSE_ld): Likewise.
17765         (CHOOSE_f): Likewise.
17766         (CHOOSE_d): Likewise.
17767         (FTYPE_MEMBER): Likewise.
17768         (BOOL_MEMBER): Likewise.
17769         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
17770         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
17771         (_XNTRY): Likewise.
17772         (XNTRY): Likewise.
17773         (_ENTRY): Likewise.
17774         (ENTRY): Likewise.
17775         (test_exactness): Generate members via macro.
17776         (test_results): Likewise.
17777         (test): Update members.
17778         (TEST): Redefine using new macros.
17779         (INF): New macro.
17780         (fetestmodes): New structure.
17781         (do_test): Refactor to be type generic.
17782         (test_in_one_mode): Refactor duplicate code into
17783         (GEN_ONE_TEST): New macro.
17785         * stdlib/tst-strtod-round-data.h: Regenerate.
17787         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17788         Extend to pass additional arbitrary parameters to
17789         generators.
17791 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17793         [BZ #15479]
17794         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17795         floating-point state after first floating-point operation on
17796         input.  Restore full floating-point state instead of just rounding
17797         mode.
17798         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17799         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17800         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17801         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17802         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17804         [BZ #15479]
17805         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17806         floating-point state after first floating-point operation on
17807         input.  Restore full floating-point state instead of just rounding
17808         mode.
17809         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17810         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17811         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17812         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17813         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17815 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17817         [BZ #19727]
17818         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17819         valid high surrogate.
17820         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17821         of an utf16 surrogate.
17822         * iconv/gconv_simple.c (BODY): Likewise.
17823         * iconvdata/bug-iconv12.c: New file.
17824         * iconvdata/Makefile (tests): Add bug-iconv12.
17826 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17828         [BZ #19726]
17829         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17830         outptrp in case of an illegal input.
17831         * iconv/tst-iconv6.c: New file.
17832         * iconv/Makefile (tests): Add tst-iconv6.
17834 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17836         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
17837         an error in case of a value in range of an utf16 low surrogate.
17839 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17841         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17842         an error in case of a value in range of an utf16 low surrogate.
17844 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17846         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
17847         Move to ...
17848         * sysdeps/s390/Makefile: ... here.
17849         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
17850         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
17851         (BRANCH_ON_COUNT): New define.
17852         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
17853         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
17854         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
17855         run on s390-32, too.
17856         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
17857         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
17858         run on s390-32, too.
17859         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17860         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
17861         run on s390-32, too.
17863 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17865         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
17866         etf3eh or new vector loop-variant.
17868 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17870         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
17871         etf3eh or new vector loop-variant.
17873 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17875         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
17876         or new vector loop-variant.
17878 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17880         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
17881         Rename to TR_LOOP and usage of tr instead of troo instruction.
17883 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17885         * sysdeps/s390/multiarch/gconv_simple.c: New File.
17886         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
17888 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17890         * sysdeps/s390/multiarch/8bit-generic.c: New File.
17891         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
17892         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
17893         New override define.
17894         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
17896 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17898         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17899         * sysdeps/s390/configure.ac: Add test for S390 vector register
17900         support in gcc.
17901         * sysdeps/s390/configure: Regenerated.
17903 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17905         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
17906         Install file from $(objpfx)gconv-modules.
17907         ($(objpfx)gconv-modules): Concatenate architecture specific file
17908         in variable sysdeps-gconv-modules and gconv-modules in src dir.
17909         * sysdeps/s390/gconv-modules: New file.
17910         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
17911         Deleted.
17912         ($(objpfx)gconv-modules-s390): Deleted.
17913         (sysdeps-gconv-modules): New variable.
17915 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17917         [BZ #15479]
17918         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
17919         of immediate operand to rounding instruction.
17920         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
17921         Likewise.
17922         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
17923         Likewise.
17924         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
17925         Likewise.
17927 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17929         * math/libm-test.inc (MIN_EXP): Directly define as
17930         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
17932 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17934         * math/libm-test.inc (MANT_DIG): Directly define as
17935         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
17937 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17939         * stdlib/gen-tst-strtod-round.c (main):
17940           Change usage to more closely match the generated
17941           output.  Add usage and compilation instructions.
17942           (string_to_fp): Add and use FILE* parameter as
17943           output target.
17944           (print_fp): Likewise.
17945           (round_str): Likewise.
17946           (round_for_all): Likewise.
17947         * stdlib/tst-strtod-round.c (tests): Move into
17948         * stdlib/tst-strtod-round-data.h: New file.
17950 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17952         [BZ #15479]
17953         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
17954         (__round): Do not force "inexact" exception.
17955         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
17956         variable.
17957         (__round): Do not force "inexact" exception.
17958         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
17959         (__roundf): Do not force "inexact" exception.
17960         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
17961         (__roundl): Do not force "inexact" exception.
17962         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
17963         (__roundl): Do not force "inexact" exception.
17964         * math/libm-test.inc (round_test_data): Do not allow spurious
17965         "inexact" exceptions.
17967         [BZ #15479]
17968         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
17969         exception in comment.
17970         (huge): Remove variable.
17971         (__floor): Do not force "inexact" exception.
17972         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
17973         "inexact" exception in comment.
17974         (huge): Remove variable.
17975         (__floor): Do not force "inexact" exception.
17976         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
17977         exception in comment.
17978         (huge): Remove variable.
17979         (__floorf): Do not force "inexact" exception.
17980         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
17981         exception in comment.
17982         (huge): Remove variable.
17983         (__floorl): Do not force "inexact" exception.
17985         [BZ #15479]
17986         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
17987         exception in comment.
17988         (huge): Remove variable.
17989         (__ceil): Do not force "inexact" exception.
17990         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
17991         "inexact" exception in comment.
17992         (huge): Remove variable.
17993         (__ceil): Do not force "inexact" exception.
17994         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
17995         (__ceilf): Do not force "inexact" exception.
17996         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
17997         exception in comment.
17998         (huge): Remove variable.
17999         (__ceill): Do not force "inexact" exception.
18001 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18003         * config.h.in (BIND_NOW): New.
18004         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
18005         * configure: Regenerated.
18006         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
18007         indirect branch via the GOT slot.
18009 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18011         [BZ #19765]
18012         * sysdeps/s390/mempcpy.S: New File.
18013         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
18014         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
18015         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18016         Add mempcpy variants.
18017         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
18018         (memcpy): Adjust to be usable from mempcpy entry point.
18019         (__memcpy_mvcle): Likewise.
18020         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18021         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
18022         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
18023         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
18024         (__memcpy_z10): Likewise.
18025         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18027 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18029         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
18030         Remove __GI_ symbol.
18031         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
18032         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
18033         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
18034         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18035         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
18036         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
18038 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18040         * sysdeps/s390/s390-64/memcpy.S (memcpy):
18041         Use cghi instead of chi to compare 64bit value.
18043 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18045         * sysdeps/s390/s390-32/memcpy.S (memcpy):
18046         Jump to 1MB check before executing mvc-loop.
18048 2016-05-24  Florian Weimer  <fweimer@redhat.com>
18050         [BZ #6527]
18051         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
18052         unconditionally.
18053         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
18055 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18057         * stdlib/tst-strtod6.c (do_test): Use new type generic
18058         invocation of the test function.
18059         (test): Refactor into ...
18060         (TEST_STRTOD): New macro base function.
18062 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18064         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
18065         (TEST_STRTOD): New macro.
18066         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
18068 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18070         * stdlib/tst-strtod6.c (do_test): Use new type generic
18071         invocation of the test function.
18072         (test): Refactor into ...
18073         (TEST_STRTOD): New macro base function.
18075 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18077         CVE-2016-4429
18078         [BZ #20112]
18079         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
18080         payload.
18082 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18084         [BZ #20111]
18085         * bits/sockaddr.h (_SS_SIZE): Define.
18086         * bits/socket.h (_SS_SIZE): Remove.
18087         (_SS_PADSIZE): Adjust to account for all padding.
18088         (struct sockaddr_storage): Update comment.  Avoid implicit
18089         padding.
18090         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
18091         (_SS_PADSIZE): Adjust to account for all padding.
18092         (struct sockaddr_storage): Update comment.  Avoid implicit
18093         padding.
18094         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
18095         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
18096         (_SS_PADSIZE): Adjust to account for all padding.
18097         (struct sockaddr_storage): Update comment.  Avoid implicit
18098         padding.
18099         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
18100         __SS_SIZE is 126 in this version.
18101         * inet/tst-sockaddr.c: New file.
18102         * inet/Makefile (tests): Add tst-sockaddr.c
18103         (tst-sockaddr.c): Compile with non-strict aliasing.
18105 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
18107         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
18108         [XPG3 || XPG4].
18109         (NL_ARGMAX): Also expect for [XPG3].
18110         (NL_LANGMAX): Likewise.
18111         (NL_MSGMAX): Likewise.
18112         (NL_NMAX): Likewise.
18113         (NL_SETMAX): Likewise.
18114         (NL_TEXTMAX): Likewise.
18115         (NZERO): Likewise.
18116         (TMP_MAX): Likewise.
18117         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
18118         variable.
18120         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
18121         (PF_MAX): Update value.
18122         (AF_KCM): New macro.
18123         (SOL_NETBEUI): Likewise.
18124         (SOL_LLC): Likewise.
18125         (SOL_DCCP): Likewise.
18126         (SOL_NETLINK): Likewise.
18127         (SOL_TIPC): Likewise.
18128         (SOL_RXRPC): Likewise.
18129         (SOL_PPPOL2TP): Likewise.
18130         (SOL_BLUETOOTH): Likewise.
18131         (SOL_PNPIPE): Likewise.
18132         (SOL_RDS): Likewise.
18133         (SOL_IUCV): Likewise.
18134         (SOL_CAIF): Likewise.
18135         (SOL_ALG): Likewise.
18136         (SOL_NFC): Likewise.
18137         (SOL_KCM): Likewise.
18138         (MSG_BATCH): New enum value and macro.
18140 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
18142         [BZ #18185]
18143         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
18144         sharing L2 cache to 2 for Knights Landing.
18146 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
18148         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
18149         (FTW_DP): Do not expect for [XPG3 || XPG4].
18150         (FTW_SL): Do not expect for [XPG3].
18151         (FTW_SLN): Likewise.
18152         (FTW_PHYS): Likewise.
18153         (FTW_MOUNT): Likewise.
18154         (FTW_DEPTH): Likewise.
18155         (FTW_CHDIR): Likewise.
18156         (nftw): Likewise.
18157         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18158         variable.
18160 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18162         * manual/errno.texi: Fix various typos & grammar errors.
18164 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18166         * manual/intro.texi: Fix duplicated typo.
18168 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18170         [BZ #13304]
18171         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18172         <float.h>, <math_private.h> and <stdlib.h>.
18173         (add_split): New function.
18174         (mul_split): Likewise.
18175         (ext_val): New typedef.
18176         (store_ext_val): New function.
18177         (mul_ext_val): New function.
18178         (compare): New function.
18179         (add_split_ext): New function.
18180         (__fmal): After checking for Inf, NaN and zero, compute result as
18181         an exact sum of scaled double values in round-to-nearest before
18182         adding those up and adjusting for other rounding modes.
18183         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18184         tests of fma.
18185         * math/auto-libm-test-out: Regenerated.
18187 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18189         [BZ #20119]
18190         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18191         processor level type mask for CPUID with EAX == 11.
18193 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18195         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18196         logical threads if the HTT bit is 0.
18197         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18198         (index_cpu_HTT): Likewise.
18199         (reg_HTT): Likewise.
18201 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18203         [BZ #20115]
18204         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18205         Remove alignments on jump targets.
18207 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18209         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18210         (getpwent): Likewise.
18211         (setpwent): Likewise.
18212         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18213         variable.
18215         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18216         (remque): Likewise.
18217         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18218         variable.
18220 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18222         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18223         not being tested.
18225 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18227         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18228         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18229         call.
18230         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18231         (__condvar_cleanup1): Likewise.
18233 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18235         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18236         New
18237         (__pthread_unwind): Renamed to ...
18238         (PTHREAD_UNWIND): This.
18239         (__pthread_enable_asynccancel): Replace
18240         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18242 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18244         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18245         (CLONE_NEWCGROUP): New macro.
18247         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18248         (Q_GETNEXTQUOTA): New macro.
18250 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18252         [BZ #19907]
18253         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18254         buffer updated by the previous run.
18255         * string/test-memcpy.c (do_one_test): Likewise.
18256         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18257         * string/test-memmove.c (do_one_test): Likewise.
18259 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18261         [BZ #20094]
18262         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18263         not [__USE_XOPEN].
18264         (unlockpt): Likewise.
18265         (ptsname): Likewise.
18266         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18267         variable.
18269         [BZ #20076]
18270         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18271         instead of [__USE_UNIX98].
18272         (S_ISSOCK): Likewise.
18273         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18274         variable.
18276         [BZ #20074]
18277         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18278         [__USE_POSIX].
18279         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18280         variable.
18282         [BZ #20051]
18283         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18284         (ttyslot): Do not declare.
18285         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18286         (ttyslot): New prototype.
18287         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18288         variable.
18289         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18291 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18293         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18295 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18297         Fix race condition in tst-mallocfork2, use fewer resources.
18298         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18299         to current process group.
18300         (signal_sender): Yield in the non-sleeping case.
18302 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18304         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18305         (ecvt): Likewise.
18306         (fcvt): Likewise.
18307         (gcvt): Likewise.
18308         (getsubopt): Likewise.
18309         (grantpt): Likewise.
18310         (initstate): Likewise.
18311         (l64a): Likewise.
18312         (mktemp): Likewise.
18313         (mkstemp): Likewise.
18314         (ptsname): Likewise.
18315         (random): Likewise.
18316         (realpath): Likewise.
18317         (setstate): Likewise.
18318         (srandom): Likewise.
18319         (ttyslot): Likewise.
18320         (unlockpt): Likewise.
18321         (valloc): Likewise.
18323         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18324         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18325         variable.
18327 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18329         [BZ #20072]
18330         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18331         init_cpu_features only if SHARED is defined.
18332         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18334 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18336         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18337         non-inclusive caches on Intel processors.
18339 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18341         * malloc/malloc.c (dumped_main_arena_start)
18342         (dumped_main_arena_end): New variables.
18343         (DUMPED_MAIN_ARENA_CHUNK): New macro.
18344         (do_check_chunk): Skip dumped fake mmapped chunks.
18345         (munmap_chunk): Likewise.
18346         (__libc_free): Do not adjust statistics for fake mmapped chunks.
18347         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
18348         mmapped chunks.
18349         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18350         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18351         and dumped_main_arena_end to cover the dumped heap.
18353 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
18355         * conform/data/time.h-data (getdate_err): Do not expect for
18356         [XPG3].
18357         (getdate): Likewise.
18358         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18359         variable.
18361         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18362         (F_ULOCK): Likewise.
18363         (F_TEST): Likewise.
18364         (F_TLOCK): Likewise.
18365         (useconds_t): Likewise.
18366         (intptr_t): Do not expect for [XPG3] or [XPG4].
18367         (brk): Do not expect for [XPG3]
18368         (fchown): Likewise.
18369         (fchdir): Likewise.
18370         (ftruncate): Likewise.
18371         (getdtablesize): Likewise.
18372         (gethostid): Likewise.
18373         (getpagesize): Likewise.
18374         (getpgid): Likewise.
18375         (getsid): Likewise.
18376         (getwd): Likewise.
18377         (lchown): Likewise.
18378         (lockf): Likewise.
18379         (readlink): Likewise.
18380         (sbrk): Likewise.
18381         (setpgrp): Likewise.
18382         (setregid): Likewise.
18383         (setreuid): Likewise.
18384         (symlink): Likewise.
18385         (sync): Likewise.
18386         (truncate): Likewise.
18387         (ualarm): Likewise.
18388         (usleep): Likewise.
18389         (vfork): Likewise.
18390         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18391         variable.
18393         [BZ #20054]
18394         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18395         not [__USE_UNIX98].
18396         * conform/data/unistd.h-data (gethostname): Do not expect for
18397         [XPG3].
18399         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18400         [!POSIX] (S_IFBLK): Likewise.
18401         [!POSIX] (S_IFCHR): Likewise.
18402         [!POSIX] (S_IFIFO): Likewise.
18403         [!POSIX] (S_IFREG): Likewise.
18404         [!POSIX] (S_IFDIR): Likewise.
18405         [!POSIX] (S_IFLNK): Likewise.
18406         [!POSIX] (S_IFSOCK): Likewise.
18407         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18408         variable.
18409         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18411 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
18413         * sysdeps/aarch64/memset.S (__memset):
18414         Rewrite of optimized memset.
18416 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18418         [BZ #19703]
18419         Partially async-signal-safe fork for single-threaded processes.
18420         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18421         variable.  Do not acquire and reset/release malloc and libio locks
18422         in single-threaded processes.
18423         * malloc/tst-mallocfork2.c: New file.
18424         * malloc/Makefile (tests): Add it.
18426 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18428         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18429         argument.  Use scratch buffer instead of extend_alloca.
18430         (gethosts): Use scratch buffer instead of extend_alloca.
18431         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
18432         extend_alloca.
18433         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18435 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
18437         [BZ #20055]
18438         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18439         instead of [__USE_UNIX98].
18440         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18441         [__USE_UNIX98].
18442         * conform/data/termios.h-data (tcgetsid): Do not expect for
18443         [XPG3].
18444         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
18445         variable.
18446         (test-xfail-XPG4/termios.h/conform): Likewise.
18448 2016-05-11  Florian Weimer  <fweimer@redhat.com>
18450         Do not use mcheck in localedef.
18451         * locale/programs/localedef.c (turn_on_mcheck)
18452         (__malloc_initialize_hook): Remove.
18454 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18456         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
18457         * sysdeps/s390/s390-64/Makefile: Likewise.
18459 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18461         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
18462         Remove ifunc-defines.sym.
18463         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
18464         Likewise.
18465         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
18466         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18467         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
18468         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
18469         rtld-global-offsets.sym.
18470         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
18471         * sysdeps/x86/cpu-features-offsets.sym: This.
18472         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
18473         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
18475 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
18477         [BZ #20073]
18478         * io/sys/stat.h (fchmod): Declare for
18479         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
18480         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
18481         variable.
18483         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
18484         [XPG3] (S_IFSOCK): Likewise.
18485         [XPG3] (S_ISVTX): Likewise.
18486         [XPG3] (S_ISLNK): Likewise.
18487         [XPG3] (S_ISSOCK): Likewise.
18488         [XPG3] (fchmod): Likewise.
18489         [XPG3] (lstat): Likewise.
18490         [XPG3] (mknod): Likewise.
18492         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
18493         [XPG3].  Expect type long and XFAIL for [XPG4].
18494         (st_blocks): Likewise.
18496         [BZ #20044]
18497         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18498         (pthread_atfork): New prototype.
18499         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
18500         variable.
18502         [BZ #20043]
18503         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
18504         prototype.
18506 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18508         [BZ #20017]
18509         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
18510         gmtime.
18512 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18514         [BZ #19994]
18515         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
18516         flag in _res.options.
18518 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
18520         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
18521         [XPG3 || XPG4].
18522         (blksize_t): Likewise.
18523         (clockid_t): Likewise.
18524         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
18525         variable.
18526         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18528 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18530         * sysdeps/unix/sysv/linux/s390/init-first.c:
18531         Add VDSO_SYMBOL(getcpu).
18532         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
18533         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
18534         Add VDSO_SYMBOL(getcpu).
18535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
18536         New define HAVE_GETCPU_VSYSCALL.
18537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18539 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18541         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
18542         instead of <sysdeps/x86_64/cacheinfo.c>.
18543         * sysdeps/x86_64/cacheinfo.c: Moved to ...
18544         * sysdeps/x86/cacheinfo.c: Here.
18546 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18548         * malloc/malloc-internal.h: Adjust header file guard.
18550 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18552         [BZ #19787]
18553         * inet/getnameinfo.c (check_sprintf_result): New function.
18554         (CHECKED_SNPRINTF): New macro.
18555         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
18556         to the host buffer.
18557         (gni_host_local): Use checked_copy to copy the host name.
18558         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
18559         (gni_serv_local): Use checked_copy to copy the service name.
18560         (getnameinfo): Remove unnecessary truncation of result buffers.
18562 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18564         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
18565         in case of inet_ntop failure.
18567 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18569         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
18570         avoid long lines.
18571         (gni_host_inet_numeric): Likewise.  Reduce scope of local
18572         variables.
18573         (gni_host_inet, gni_host_local): Add comment.
18574         (gni_host): Add comment.  Use temporary to avoid long lines.
18576 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18578         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
18579         registers specifiers where general purpose registers specifiers should
18580         have been used.
18582 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18584         [BZ #19779]
18585         CVE-2016-1234
18586         Avoid copying names of directory entries.
18587         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
18588         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
18589         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
18590         (struct readdir_result): New type.
18591         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
18592         (GL_READDIR): New macros.
18593         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
18594         (convert_dirent, convert_dirent64): New functions.
18595         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
18596         convert_dirent64.  Adjust references to the readdir result.
18597         * sysdeps/unix/sysv/linux/i386/glob64.c:
18598         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
18599         * posix/bug-glob2.c (LONG_NAME): Define.
18600         (filesystem): Add LONG_NAME.
18601         (my_DIR): Increase the size of room_for_dirent.
18603 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
18605         [BZ #20041]
18606         * misc/sys/select.h (__need_timespec): Only define if
18607         [__USE_XOPEN2K].
18608         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
18609         variable.
18610         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18611         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18612         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18614 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18615             Segher Boessenkool  <segher@gcc.gnu.org>
18617         [BZ #20004]
18618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
18619         (__novec_swapcontext): Add missing load.
18621 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
18623         [BZ #20023]
18624         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
18625         <time.h>.
18626         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
18627         variable.
18628         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18630 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
18633         flags CLONE_VM compare.
18635 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18637         [BZ #20031]
18638         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
18639         completely empty.
18641 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18643         [BZ #19573]
18644         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
18645         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
18646         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
18647         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
18648         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
18649         (hesiod_free_list): Mark as hidden.
18650         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
18651         res_set, res_get.
18652         * hesiod/hesiod.c: Remove unnecessary forward declarations.
18653         (init, __hesiod_res_get, __hesiod_res_set): Remove.
18654         (hesiod_init): Remove obsolete res_ninit call.
18655         (hesiod_end): Do not free resolver state.  Do not invoke callback.
18656         (hesiod_bind): Do not call init.
18657         (get_txt_records): Use res_mkquery, res_send instead of
18658         res_nmkquery, res_nsend.
18659         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
18660         instead of _nss_hesiod_init.
18661         (_nss_hesiod_initgroups_dyn): Likewise.
18662         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
18663         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
18664         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
18666 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18668         * hesiod/hesiod_p.h (DEF_RHS): Remove.
18669         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
18671 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18673         * hesiod/hesiod.h: Remove RCS keyword.
18674         * hesiod/hesiod_p.h: Likewise.
18676         * hesiod/hesiod.c: Likewise.
18678 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
18680         [BZ #12450]
18681         * locale/iso-639.def: Add Samogitian/sgs.
18683 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18685         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
18687         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
18689 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
18690             Carlos O'Donell  <carlos@redhat.com>
18692         [BZ #19072]
18693         * grp/Makefile (headers): Add grp-merge.h
18694         (routines): Add grp-merge.
18695         * grp/getgrgid_r.c: Include grp-merge.h.
18696         (DEEPCOPY_FN): Define.
18697         (MERGE_FN): Define.
18698         * grp/getgrname_r.c: Include grp-merge.h.
18699         (DEEPCOPY_FN): Define.
18700         (MERGE_FN): Define.
18701         * grp/grp-merge.c: New file.
18702         * grp/grp-merge.h: New file.
18703         * include/grp-merge.h: New file.
18704         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
18705         __copy_grp@GLIBC_PRIVATE.
18706         * manual/nss.texi (Actions in the NSS configuration): Describe
18707         return, continue, and merge.
18708         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
18709         (DEEPCOPY_FN): Define.
18710         (MERGE_FN): Define.
18711         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
18712         (DEEPCOPY_FN): Define.
18713         (MERGE_FN): Define.
18714         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
18715         [!MERGE_FN]: Define __merge_einval.
18716         (CHECK_MERGE): Define.
18717         (REENTRANT_NAME): Process merge if do_merge is true.
18718         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
18719         (__nss_getent_r): Likewise.
18720         * nss/nsswitch.c (nss_parse_service_list): Likewise.
18721         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
18723 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18725         [BZ #20012]
18726         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
18727         length to calculate the buffer to read.
18728         (fmemopen_write): Set the buffer position based on bytes written.
18729         (fmemopen_seek): Return EINVAL for invalid whence modes.
18731         [BZ #19957]
18732         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
18733         tst-getpid2.
18734         (test): Add tst-clone2.
18735         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
18736         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
18737         pid/tid fields for CLONE_VM.
18738         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18739         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18740         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18741         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
18742         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18743         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18744         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18745         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18747         Likewise.
18748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18749         Likewise.
18750         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18751         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18752         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18753         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18754         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18755         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18756         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18757         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
18759 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18761         [BZ #19642]
18762         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
18763         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
18764         (gni_serv_local, gni_serv): New functions extracted from
18765         getnameinfo.
18766         (getnameinfo): Call gni_host and gni_serv to perform the
18767         processing.  Always free scratch buffer.
18769 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18771         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
18772         remaining bytes in the dest string, with zeros.
18774 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18776         [BZ #20010]
18777         CVE-2016-3706
18778         * sysdeps/posix/getaddrinfo.c
18779         (convert_hostent_to_gaih_addrtuple): New function.
18780         (gethosts): Call convert_hostent_to_gaih_addrtuple.
18781         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18782         AF_INET data.
18784 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18786         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18787         callback function gl_readdir.
18788         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18789         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18790         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18791         memcpy to copy the name.
18792         * manual/pattern.texi (Calling Glob): Document requirements for
18793         implementations of the gl_readdir callback function.
18794         * manual/examples/mkdirent.c: New example.
18795         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18796         per the manual guidance.
18797         * posix/tst-gnuglob.c (my_readdir): Likewise.
18799 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18801         [BZ #20014]
18802         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18803         not [__USE_POSIX].
18804         (getchar_unlocked): Likewise.
18805         (putc_unlocked): Likewise.
18806         (putchar_unlocked): Likewise.
18807         (flockfile): Likewise.
18808         (ftrylockfile): Likewise.
18809         (funlockfile): Likewise.
18810         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18811         variable.
18812         (test-xfail-XPG4/stdio.h/conform): Likewise.
18814         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18815         Expect constant.
18816         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18817         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18818         variable.
18819         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18820         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18822         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18823         [__USE_LARGEFILE64] (off64_t): Likewise.
18824         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18825         variable.
18827 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18829         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18831 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18833         * resolv/inet_addr.c: Reindent preprocessor conditionals.
18834         * resolv/res_init.c: Likewise.
18835         * resolv/res_mkquery.c: Likewise.
18837 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18839         * resolv/res_init.c (isascii): Do not define.  Use definition in
18840         <ctype.h>.
18841         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
18842         (LOG_AUTH): Remove.
18843         (SPRINTF): Remove, adjust caller.
18844         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
18846 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18848         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
18849         SUNSECURITY conditional.
18850         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
18852 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18854         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
18855         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
18856         Remove BSD-related preprocessor conditionals.
18857         * conf/portability.h: Remove.
18859 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18861         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
18862         * resolv/res_data.c: Likewise.
18864 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18866         * resolv/res_comp.c: Remove code conditional on __ultrix__.
18867         * resolv/res_data.c: Remove code conditional on ultrix.
18869 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18871         * resolv/res_init.c (RFC1535): Do not define.  Remove
18872         RFC1535 preprocessor conditionals.
18873         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
18874         because there configuration options which make the resolver
18875         behavior different.
18877 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18879         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
18880         RESOLVSORT preprocessor conditionals.
18881         * resolv/nss_dns/dns-host.c: Likewise.
18882         * resolv/res_init.c: Likewise.
18884 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18886         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
18887         is never defined.
18889 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18891         * inet/inet_lnaof.c: Remove SCSS keyword.
18892         * inet/inet_mkadr.c: Likewise.
18893         * inet/inet_net.c: Likewise.
18894         * inet/inet_netof.c: Likewise.
18895         * inet/rcmd.c: Likewise.
18896         * inet/rexec.c: Likewise.
18897         * inet/ruserpass.c: Likewise.
18899 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18901         * resolv/inet_addr.c: Remove _LIBC conditionals.
18902         * resolv/res_data.c: Likewise.
18903         * resolv/res_init.c: Likewise.
18904         * resolv/res_mkquery.c: Likewise.
18905         * resolv/res_libc.c: Update comment.
18906         * resolv/README: Update.
18908 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18910         * resolv/gethnamaddr.c: Remove SCSS keyword.
18911         * resolv/herror.c: Likewise.
18912         * resolv/inet_addr.c: Likewise.
18913         * resolv/inet_net_ntop.c: Likewise.
18914         * resolv/inet_net_pton.c: Likewise.
18915         * resolv/inet_neta.c: Likewise.
18916         * resolv/inet_ntop.c: Likewise.
18917         * resolv/inet_pton.c: Likewise.
18918         * resolv/ns_date.c: Remove RCS keyword.
18919         * resolv/ns_name.c: Likewise.
18920         * resolv/ns_netint.c: Likewise.
18921         * resolv/ns_parse.c: Likewise.
18922         * resolv/ns_print.c: Likewise.
18923         * resolv/ns_samedomain.c: Likewise.
18924         * resolv/ns_ttl.c: Likewise.
18925         * resolv/nsap_addr.c: Likewise.
18926         * resolv/res_comp.c: Remove SCSS and RCS keyword.
18927         * resolv/res_data.c: Remove RCS keyword.
18928         * resolv/res_debug.c: Remove SCSS and RCS keyword.
18929         * resolv/res_init.c: Likewise.
18930         * resolv/res_mkquery.c: Likewise.
18931         * resolv/res_query.c: Likewise.
18932         * resolv/res_send.c: Likewise.
18934 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18936         * conform/data/stdio.h-data (fdopen): Expect also for
18937         [XPG3 || XPG4].
18939         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
18940         (fseeko): Likewise.
18941         (ftello): Likewise.
18942         (ftrylockfile): Likewise.
18943         (funlockfile): Likewise.
18944         (getc_unlocked): Likewise.
18945         (getchar_unlocked): Likewise.
18946         (putc_unlocked): Likewise.
18947         (putchar_unlocked): Likewise.
18949 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18951         [BZ #19868]
18952         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
18953         DNS packet syntax checks (which were not needed before).  Skip
18954         over non-PTR records.
18956 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18958         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
18959         definition.  Include <stddef.h> instead.
18961 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18963         [BZ #19831]
18964         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
18965         function.
18966         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
18967         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
18969 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18971         [BZ #19862]
18972         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
18973         (getanswer_r): Do not call syslog.
18974         (gaih_getanswer_slice): Likewise.
18975         * resolv/gethnamaddr.c (AskedForGot): Remove.
18976         (getanswer): Do not call syslog.
18977         (gethostbyaddr): Likewise.
18979 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18981         * conform/data/signal.h-data (union sigval): Expect also if
18982         [XOPEN2K].
18983         (struct sigevent): Likewise.
18984         (SIGEV_NONE): Likewise.
18985         (SIGEV_SIGNAL): Likewise.
18986         (SIGEV_THREAD): Likewise.
18987         (SIGRTMIN): Likewise.
18988         (SIGRTMAX): Likewise.
18989         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
18990         variable.
18991         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18993 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18995         [BZ #19830]
18996         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
18997         (gaih_getanswer_slice): Likewise.
18998         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
18999         Also check for availability of RR metadata.
19001 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19003         [BZ #19825]
19004         * resolv/res_send.c (send_vc): Remove early *resplen2
19005         initialization.  Set *resplen2 on socket error.  Call
19006         close_and_return_error for other errors.
19008 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19010         * sysdeps/unix/sysv/linux/netiucv/iucv.h
19011         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
19012         (SCM_IUCV_TRGCLS): New define.
19014 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19016         [BZ #20005]
19017         * libio/fmemopen.c (fmemopen_write): Update internal position after
19018         write.
19019         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
19020         * stdio-common/tst-fmemopen4.c: New file..
19022 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
19024         [BZ #19996]
19025         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
19026         not [__USE_XOPEN2K].
19027         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
19028         variable.
19030         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
19031         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
19032         variable.
19034         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
19035         [__USE_XOPEN2K8].
19036         [__USE_LARGEFILE64] (off64_t): Likewise.
19037         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
19038         variable.
19040 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
19042         [BZ #19989]
19043         * libio/stdio.h (cuserid): Do not declare if
19044         [__USE_XOPEN2K && !__USE_GNU].
19045         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
19046         variable.
19048 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19050         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19051         (sysdep_routines): Add P8 and PPC64 strcspn targets.
19052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19053         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19054         ifunc'ed strcspn.
19055         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19056         [EALIGN]: Removed.
19057         [END]: Likewise
19058         [STRSPN]: Define instead of the above to control symbol name.
19059         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
19060         New file.
19061         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
19062         Likewise.
19063         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
19064         Likewise.
19065         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
19066         Likewise.
19067         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19068         [INITIAL_MASK]: New macro.
19069         [STRCSPN]: Likewise.
19070         [UPDATE_MASK]: Likewise.
19071         [USE_AS_STRCSPN]: Likewise.
19073 2016-04-25  Florian Weimer  <fweimer@redhat.com>
19075         [BZ #19931]
19076         * stdio-common/tst-vfprintf-width-prec.c: New file.
19077         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
19078         (tests-special): Add tst-vfprintf-width-prec-mem.out.
19079         (generated): Add mtrace-related files.
19080         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
19081         (tst-%-mem.out): New pattern rule, replaces
19082         tst-printf-bz18872-mem.out.
19083         * stdio-common/vfprintf.c (vfprintf): When handling a precision
19084         specifier, deallocate any previously allocated work buffer.
19086 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19088         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
19089         Add nop before __startcontext, add explaining comments.
19091 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
19093         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
19094         any more. Notably since IPV6_PKTINFO has been reintroduced with a
19095         completely different API.
19097         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
19098         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
19099         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
19100         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
19101         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
19102         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
19103         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
19104         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
19105         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
19106         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
19108 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
19110         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
19112 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
19114         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
19115         when it is the default of 0.
19117 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19119         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
19120         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19121         (sysdep_routines): Add new strcasestr targets.
19122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19123         (__libc_ifunc_impl_list): Likewise.
19124         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
19125         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
19126         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
19127         * sysdeps/powerpc/powerpc64/power8/Makefile:
19128         New file to add strcasestr-ppc64 to sysdep_routines.
19129         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
19130         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
19132 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
19134         * benchtests/Makefile (wcsmbs-benchset): Include only for
19135         native builds and runs.
19136         (LOCALES): Likewise.
19137         (bench-build): Build timing-type here instead of the bench
19138         target.  Generate locale only for native builds.
19139         * benchtests/README: Add note for cross-building.
19141         * benchtests/Makefile (bench-clean): Clean up extra-objs.
19143         * benchtests/README: Update README to include instructions on
19144         using bench-build.
19146         * Makefile.in (bench-build): New target.
19147         * Rules (PHONY): Add bench-build target.
19148         * benchtests/Makefile (bench): Depend on bench-build.
19149         (bench-build): New target.
19151 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19153         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19154         profil_reply_port.
19155         (profile_waiter): Do not initialize profil_reply_port.
19156         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19157         frequency instead of tick length in us.
19159 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
19161         [BZ #18712]
19162         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19163         (__old_mempcpy_small): Likewise.
19164         (__old_strcpy_small): Likewise.
19165         (__old_stpcpy_small): Likewise.
19166         (__old_strpbrk_c2): Fix compat symbol name.
19167         (__old_strpbrk_c3): Likewise.
19168         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19169         (__mempcpy_small): Remove.
19170         (__strcpy_small): Remove.
19171         (__stpcpy_small): Remove.
19173 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
19175         [BZ #19400]
19176         * locale/iso-639.def: Add the Talossan/tzl language.
19178 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19180         [BZ #16983]
19181         * locale/programs/ld-address.c (address_finish): Update postal_fmt
19182         comment.  Add "ln" to strchr check on postal_fmt.
19184 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19186         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19187         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
19188         tel_dom_fmt.
19190 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19192         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19193         (sysdep_routines): Added __strlen_power8.
19194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19195         __strlen_power8 entry.
19196         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19197         Implementation for POWER8.
19198         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19199         for __strlen_power8.
19200         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19201         Implementation for POWER8.
19203 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
19205         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19207 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
19209         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19210         Goldmont and Airmont processors.
19212 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19214         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19215         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19216         (__STRING2_SMALL_GET32): Remove.
19217         (memset): Remove.
19218         (__memset_1): Remove.
19219         (__memset_gc): Remove.
19220         (__mempcpy): Remove.
19221         (mempcpy): Remove.
19222         (__mempcpy_args): Remove.
19223         (strchr): Remove.
19224         (strcpy): Remove.
19225         (strcpy_args): Remove.
19226         (__stpcpy_args): Remove.
19227         (__strcmp_cc): Remove.
19228         (__strcmp_gc): Remove.
19229         (strstr): Remove.
19231 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19233         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19234         * nis/nis_call.c (nis_server_cache_add): Likewise.
19236 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19238         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19240 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19242         * malloc/arena.c (__malloc_fork_lock_parent)
19243         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19244         internal_function attribute.
19246 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19248         * stdio-common/printf_fp.c (__printf_fp_l):
19249         Rename ___printf_fp_l to __printf_fp_l and
19250         remove strong alias. Use libc_hidden_def instead
19251         of ldbl_hidden_def macro.
19253 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19255         Remove malloc hooks from fork handler.  They are no longer needed
19256         because malloc runs right before fork, and no malloc calls from
19257         other fork handlers are not possible anymore.
19258         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19259         declarations.
19260         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19261         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19262         (atfork_recursive_cntr): Remove.
19263         (__malloc_fork_lock_parent): Do not override malloc hooks and
19264         thread_arena.
19265         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19266         thread_arena.
19267         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19268         thread_arena instead of save_arena.
19270 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19272         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19273         (thread_atfork, thread_atfork_static): Remove.
19274         * sysdeps/mach/hurd/malloc-machine.h:
19275         (thread_atfork, thread_atfork_static): Remove.
19277 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19279         [BZ #19431]
19280         Run the malloc fork handler as late as possible to avoid deadlocks.
19281         * malloc/malloc-internal.h: New file.
19282         * malloc/malloc.c: Include it.
19283         * malloc/arena.c (ATFORK_MEM): Remove.
19284         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19285         Update comment.
19286         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19287         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19288         Remove outdated comment.
19289         (ptmalloc_init): Do not call thread_atfork.  Remove
19290         thread_atfork_static.
19291         * malloc/tst-malloc-fork-deadlock.c: New file.
19292         * Makefile (tests): Add tst-malloc-fork-deadlock.
19293         (tst-malloc-fork-deadlock): Link against libpthread.
19294         * manual/memory.texi (Aligned Memory Blocks): Update safety
19295         annotation comments.
19296         * sysdeps/nptl/fork.c (__libc_fork): Call
19297         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19298         __malloc_fork_unlock_child.
19299         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19301 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19303         [BZ #19613]
19304         Remove union wait.
19305         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19306         (w_stopsig, w_stopval): Remove.
19307         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19308         stat_loc argument.
19309         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19310         (__WAIT_STATUS_DEFN): Remove.
19311         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19312         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19313         (wait, wait3, wait4): Use int * for the stat_loc argument.
19314         * posix/wait.c (__wait): Likewise.
19315         * posix/wait3.c (__wait3): Likewise.
19316         * posix/wait4.c (__wait4): Likewise.
19317         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19318         (__WAIT_STATUS_DEFN): Remove.
19319         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19320         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19321         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19322         argument.
19323         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19324         * sysdeps/posix/wait3.c (__wait3): Likewise.
19325         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19326         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19327         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19328         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19329         stat_loc argument.
19330         * manual/process.texi (BSD Wait Functions): Remove union wait.
19332 2016-04-13  Andreas Schwab  <schwab@suse.de>
19334         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19335         (test-extras): Add tst-tlsalign-vars.
19336         * math/Makefile: Wrap long lines.
19337         (libm-vec-test-wrappers): Define.
19338         (test-extras): Add $(libm-vec-test-wrappers).
19339         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19340         * nss/Makefile (extra-test-objs): Add nss_test1.os.
19341         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19342         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19343         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19344         (extra-test-objs): Add corresponding objects.
19346 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
19348         [BZ #19928]
19349         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19350         New.
19351         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19352         times of shared cache size.
19353         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19354         (VMOVNT): New.
19355         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19356         (VMOVNT): Likewise.
19357         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19358         (VMOVNT): Likewise.
19359         (VMOVU): Changed to movups for smaller code sizes.
19360         (VMOVA): Changed to movaps for smaller code sizes.
19361         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19362         comments.
19363         (PREFETCH): New.
19364         (PREFETCH_SIZE): Likewise.
19365         (PREFETCHED_LOAD_SIZE): Likewise.
19366         (PREFETCH_ONE_SET): Likewise.
19367         Rewrite to use forward and backward loops, which move 4 vector
19368         registers at a time, to support overlapping addresses and use
19369         non temporal store if size is above the threshold and there is
19370         no overlap between destination and source.
19372 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
19374         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19375         Include dl-vdso.
19376         * sysdeps/unix/sysv/linux/mips/Versions: Add
19377         __vdso_clock_gettime.
19378         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19379         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19380         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19381         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19382         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19383         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19384         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19385         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19386         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19388 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19390         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19391         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19392         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19393         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19394         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19395         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19398         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19399         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19400         syscalls generation.
19401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19402         [__NR_pwrite64] (__NR_write): Remove define.
19403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19404         [__NR_pwrite64] (__NR_write): Remove define.
19405         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19406         Remove define.
19407         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19408         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19409         Remove define.
19410         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19411         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19412         Linux implementation as base.
19413         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19415         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19416         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19417         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19418         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19421         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19423         syscall generation.
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19425         [__NR_pread64] (__NR_pread): Remove define.
19426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19427         [__NR_pread64] (__NR_pread): Likewise.
19428         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19429         define.
19430         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19431         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19432         Remove define.
19433         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19434         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19435         Linux implementation as base.
19436         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19437         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19438         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19440         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19441         definition.
19442         (__ALIGNMENT_COUNT): Likewise.
19443         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
19444         (__ALIGNMENT_COUNT): Likewise.
19445         (SYSCALL_LL): New define.
19446         (SYSCALL_LL64): Likewise.
19447         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
19448         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
19449         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
19450         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
19452         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19453         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
19454         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19455         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19456         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19457         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19459 2016-04-11  Florian Weimer  <fweimer@redhat.com>
19461         [BZ #19865]
19462         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
19463         original buffer before retry.
19465 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19467         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
19468         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
19469         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
19470         GLRO(dl_auxv) list.
19471         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
19472         including <ldsodefs.h>.
19473         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
19475 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
19477         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
19478         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
19479         $(CPPFLAGS).
19481 2016-04-09  Khem Raj  <raj.khem@gmail.com>
19483         [BZ #17950]
19484         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
19485         Add -mfpmath=387.
19487 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
19489         * sysdeps/i386/configure.ac: Change == to = when calling test.
19490         * sysdeps/x86_64/configure.ac: Likewise.
19491         * sysdeps/i386/configure: Regenerated.
19492         * sysdeps/x86_64/configure: Likewise.
19494 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
19496         [BZ #16137]
19497         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
19498         * benchtests/bench-strcoll.c (input_files): Likewise.
19499         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19500         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
19501         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
19503 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
19505         [BZ #19929]
19506         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
19507         [__USE_XOPEN2K8 && !__USE_GNU].
19508         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
19509         variable.
19511         [BZ #19925]
19512         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
19513         define if [!__USE_MISC && __USE_XOPEN2K].
19514         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
19515         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
19516         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
19517         Likewise.
19518         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
19519         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
19520         variable.
19521         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19523 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19525         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19526         (sysdep_routines): Add new strspn targets.
19527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19528         (__libc_ifunc_impl_list): Add strspn.
19529         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19530         New file.
19531         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
19532         Likewise.
19533         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
19534         Likewise.
19535         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19536         Likewise.
19538 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19540         * misc/hsearch_r.c: Include <limits.h>.
19542 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19544         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
19546 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19548         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19549         (MEMCPY_SYMBOL): New.
19550         (MEMPCPY_SYMBOL): Likewise.
19551         (MEMMOVE_CHK_SYMBOL): Likewise.
19552         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
19553         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
19554         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
19555         Provide alias for memcpy in libc.a and ld.so.
19557 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19559         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19560         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
19561         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
19562         Disabled fro now.
19563         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
19564         symbols.  Properly check USE_MULTIARCH on __memset symbols.
19566 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19568         * benchtests/Makefile (string-benchset): Add memcpy-large,
19569         memmove-large and memset-large.
19570         * benchtests/bench-memcpy-large.c: New file.
19571         * benchtests/bench-memmove-large.c: Likewise.
19572         * benchtests/bench-memmove-large.c: Likewise.
19573         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
19575 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19577         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
19578         32-bit displacement to avoid long nop between instructions.
19580 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19582         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
19583         a comment on VMOVU and VMOVA.
19585 2016-04-04  Florian Weimer  <fweimer@redhat.com>
19587         [BZ #19633]
19588         Use specified locale for number formatting in strfmon_l.
19589         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
19590         (__nl_lookup_word): New inline functions.
19591         * include/printf.h (__print_fp_l): Declare.
19592         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
19593         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
19594         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
19595         (___printf_fp): New function.
19596         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
19597         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
19598         * stdlib/tst-strfmon_l.c (do_test): New test.
19599         * stdlib/Makefile (tests): Add kt.
19600         (LOCALES): Build additional locales.
19601         (tst-strfmon_l.out): Require locales.
19603 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19605         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
19606         if not in libc.
19607         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19608         Likewise.
19609         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
19610         Likewise.
19611         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19612         Likewise.
19614 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19616         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19617         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
19618         with unaligned_erms.
19619         (__memmove_erms): Skip if source == destination.
19620         (__memmove_unaligned_erms): Don't check source == destination
19621         first.
19623 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19625         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
19626         bit_arch_Fast_Copy_Backward for Intel Core proessors.
19628 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19630         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
19631         * string/strspn.c (strspn): Likewise.
19633 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19635         * benchtests/bench-memset.c (do_test): Support 64-byte
19636         alignment.
19637         (test_main): Test 64-byte alignment.
19639 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19641         * benchtests/bench-memmove.c (test_main): Test 64-byte
19642         alignment.
19644 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19646         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
19648 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19650         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
19651         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
19652         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
19654         * string/strpbrk.c (strpbrk): Rewrite function.
19655         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
19656         (__strpbrk_c2): Likewise.
19657         (__strpbrk_c3): Likewise.
19658         * string/string-inlines.c
19659         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
19660         Likewise.
19661         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
19662         Likewise.
19664         * string/strspn.c (strcspn): Rewrite function.
19665         * string/bits/string2.h (strspn): Use __builtin_strcspn.
19666         (__strspn_c1): Remove inline function.
19667         (__strspn_c2): Likewise.
19668         (__strspn_c3): Likewise.
19669         * string/string-inlines.c
19670         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
19671         compatibility symbol.
19672         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
19673         Likewise.
19674         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
19675         Likewise.
19676         * string/string-inlines.c: Include generic version.
19678 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
19679             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19681         * string/Version (libc): Add GLIBC_2.24.
19682         * string/strcspn.c (strcspn): Rewrite function.
19683         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
19684         (__strcspn_c1): Remove inline function.
19685         (__strcspn_c2): Likewise.
19686         (__strcspn_c3): Likewise.
19687         * string/string-inline.c
19688         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
19689         compatibility symbol.
19690         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
19691         Likewise.
19692         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
19693         Likewise.
19694         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
19696 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19698         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19699         Use ahi instead of aghi to adjust stack pointer.
19701 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19703         [BZ #19853]
19704         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
19705         TEST to take significant digits as second parameter.
19706         [TEST]: Redefine in terms of TEST_N taking 30
19707         significant digits.
19708         (do_test): Add test case to demonstrate precision
19709         failure in the ldbl-128ibm printf.
19710         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
19711         (__mpn_extract_long_double): Carry 7 extra intermediate
19712         bits of precision to aide computing difference when
19713         signs differ.
19715 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19717         [BZ #19881]
19718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19719         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
19720         memset-avx512-unaligned-erms.
19721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19722         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
19723         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
19724         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
19725         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
19726         __memset_sse2_unaligned_erms, __memset_erms,
19727         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
19728         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19729         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
19730         file.
19731         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19732         Likewise.
19733         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
19734         Likewise.
19735         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
19736         Likewise.
19738 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19740         [BZ #19776]
19741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19742         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
19743         memmove-avx512-unaligned-erms.
19744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19745         (__libc_ifunc_impl_list): Test
19746         __memmove_chk_avx512_unaligned_2,
19747         __memmove_chk_avx512_unaligned_erms,
19748         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
19749         __memmove_chk_sse2_unaligned_2,
19750         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
19751         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
19752         __memmove_avx512_unaligned_erms, __memmove_erms,
19753         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
19754         __memcpy_chk_avx512_unaligned_2,
19755         __memcpy_chk_avx512_unaligned_erms,
19756         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
19757         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
19758         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
19759         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
19760         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
19761         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
19762         __mempcpy_chk_avx512_unaligned_erms,
19763         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
19764         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
19765         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
19766         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
19767         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
19768         __mempcpy_erms.
19769         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
19770         file.
19771         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19772         Likewise.
19773         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19774         Likewise.
19775         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19776         Likewise.
19778 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19780         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19781         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19782         (La_s390_64_regs): Likewise.
19783         (La_s390_32_retval): Append vector register lrv_v24.
19784         (La_s390_64_retval): Likeweise.
19785         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19786         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19787         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19788         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19790 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19792         [BZ #19916]
19793         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19794         to create a non-vector/vector version for _dl_runtime_resolve and
19795         _dl_runtime_profile. Move implementation to ...
19796         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19797         (_dl_runtime_resolve) Save and restore fpr/vrs.
19798         (_dl_runtime_profile) Save and restore vrs and fix some issues
19799         if _dl_call_pltexit is called.
19800         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19801         Choose the correct resolver function if running on a machine with vx.
19802         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19803         to create a non-vector/vector version for _dl_runtime_resolve and
19804         _dl_runtime_profile. Move implementation to ...
19805         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19806         (_dl_runtime_resolve) Save and restore fpr/vrs.
19807         (_dl_runtime_profile) Save and restore vrs and fix some issues
19808         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19809         Choose the correct resolver function if running on a machine with vx.
19811 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19813         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19815 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19817         [BZ #19509]
19818         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19819         skip_map != NULL.
19820         * elf/tst-dlsym-error.c: New file.
19821         * elf/Makefile (tests): Add tst-dlsym-error.
19822         (tst-dlsym-error): Link against libdl.
19824 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
19826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19827         (__ASSUME_FUTIMESAT): Remove macro.
19828         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19830 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19832         [BZ #19879]
19833         CVE-2016-3075
19834         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
19835         copy name.
19837 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19839         [BZ #19837]
19840         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
19841         error if parse_line fails.
19843 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19845         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
19846         (index_cpu_ERMS): Likewise.
19847         (reg_ERMS): Likewise.
19849 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
19851         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
19852         PER_LINUX_FDPIC): Add.
19854 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19857         memcpy-avx512-no-vzeroupper.
19858         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
19859         to ...
19860         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
19861         (MEMCPY): Don't define.
19862         (MEMCPY_CHK): Likewise.
19863         (MEMPCPY): Likewise.
19864         (MEMPCPY_CHK): Likewise.
19865         (MEMPCPY_CHK): Renamed to ...
19866         (__mempcpy_chk_avx512_no_vzeroupper): This.
19867         (MEMPCPY_CHK): Renamed to ...
19868         (__mempcpy_chk_avx512_no_vzeroupper): This.
19869         (MEMCPY_CHK): Renamed to ...
19870         (__memmove_chk_avx512_no_vzeroupper): This.
19871         (MEMCPY): Renamed to ...
19872         (__memmove_avx512_no_vzeroupper): This.
19873         (__memcpy_avx512_no_vzeroupper): New alias.
19874         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
19876 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19878         [BZ #18858]
19879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19880         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
19881         and mempcpy-avx512-no-vzeroupper.
19882         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
19883         New.
19884         (MEMPCPY): Likewise.
19885         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
19886         (MEMPCPY_CHK): New.
19887         (MEMPCPY): Likewise.
19888         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
19889         (MEMPCPY): Likewise.
19890         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
19891         (MEMPCPY): Likewise.
19892         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
19893         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
19894         Likewise.
19895         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
19896         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
19898 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19899              Amit Pawar  <Amit.Pawar@amd.com>
19901         [BZ #19583]
19902         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19903         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
19904         processors.  Set Fast_Copy_Backward for AMD Excavator
19905         processors.
19906         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
19907         New.
19908         (index_arch_Fast_Unaligned_Copy): Likewise.
19909         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
19910         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
19912 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19914         [BZ #19791]
19915         * resolv/res_send.c (close_and_return_error): New function.
19916         (send_dg): Initialize *resplen2 after reopen failure.  Call
19917         close_and_return_error for error returns.  On error paths without
19918         __res_iclose, initialze *resplen2 explicitly.  Update comment for
19919         successful return.
19921 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19923         [BZ #19860]
19924         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
19925         zero if the compiler does not provide the AVX512F bit.
19927 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
19929         [BZ #19848]
19930         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
19931         from 8 to 4.
19932         (__ieee754_powl): Compare integer exponent against 4 not 8.
19933         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
19934         from 8 to 4.
19935         (__ieee754_powl): Compare integer exponent against 4 not 8.
19936         * math/auto-libm-test-in: Add more tests of pow.
19937         * math/auto-libm-test-out: Regenerated.
19938         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19941 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19943         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
19944         Make code unconditional.
19945         [!__NR_utimensat]: Remove conditional code.
19946         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
19947         Make code unconditional.
19948         [!__NR_utimensat]: Remove conditional code.
19949         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
19950         Make code unconditional.
19951         [!__NR_utimensat]: Remove conditional code.
19953 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19955         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
19956         Make code unconditional.
19958 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
19960         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
19961         call-clobbered %eax on retry path.
19962         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19964 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19966         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
19967         Don't set %rcx twice before "rep movsb".
19969 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19971         [BZ #19583]
19972         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
19973         inline.  Check family before setting family, model and
19974         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
19975         bits here.
19976         (init_cpu_features): Replace HAS_CPU_FEATURE and
19977         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
19978         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
19979         for Intel processors with usable AVX2.  Call get_common_indeces
19980         for other processors with family == NULL.
19981         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
19982         (CPU_FEATURES_ARCH_P): Likewise.
19983         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
19984         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
19986 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19988         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
19989         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
19990         $(shared-thread-library) instead of hardcoding the path to libpthread.
19992 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
19994         * sysdeps/unix/sysv/linux/kernel-features.h
19995         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
19996         * sysdeps/unix/sysv/linux/getdents.c
19997         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
19998         [!have_no_getdents64_defined]: Likewise.
19999         (__GETDENTS): Remove __have_no_getdents64 conditional.
20001 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
20003         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
20004         Remove macro.
20005         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
20006         <kernel-features.h>.
20007         (signalfd) [__NR_signalfd4]: Make code unconditional.
20008         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
20010 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20012         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
20013         style.
20015 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20017         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
20018         (__pthread_enable_asynccancel): Use JUMPTARGET to call
20019         __pthread_unwind.
20020         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20021         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
20022         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20023         (__condvar_cleanup1): Likewise.
20025 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
20027         [BZ #19822]
20028         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
20029         move it to the final $@ location.
20031 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20033         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
20034         access where posix_spawn success and pid argument is null.
20035         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
20036         success case.
20038 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
20040         * sysdeps/mach/hurd/i386/c++-types.data: New file.
20042         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
20044         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
20045         and __fcntl.
20046         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
20047         __fcntl only.
20048         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
20049         adding attribute_hidden to __open and __fcntl.
20051         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
20052         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
20053         depend on libc-modules.h,
20054         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
20056 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
20058         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
20059         Remove macro.
20060         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
20061         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
20062         entry.
20064         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
20065         Remove macro.
20066         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
20067         include <kernel-features.h>.
20068         [!__ASSUME_FALLOCATE]: Remove conditional code.
20069         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
20071 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20073         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
20074         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
20075         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
20076         (_ZGVdN4v_cos_avx2): Likewise.
20077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
20078         (_ZGVdN4v_cos): Likewise.
20079         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
20080         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
20081         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
20082         (_ZGVdN4v_exp_avx2): Likewise.
20083         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
20084         (_ZGVdN4v_exp): Likewise.
20085         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
20086         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
20087         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
20088         (_ZGVdN4v_log_avx2): Likewise.
20089         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
20090         (_ZGVdN4v_log): Likewise.
20091         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
20092         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
20093         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
20094         (_ZGVdN4vv_pow_avx2): Likewise.
20095         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
20096         (_ZGVdN4vv_pow): Likewise.
20097         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
20098         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
20099         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
20100         (_ZGVdN4v_sin_avx2): Likewise.
20101         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
20102         (_ZGVdN4v_sin): Likewise.
20103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
20104         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
20105         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
20106         (_ZGVdN4vvv_sincos_avx2): Likewise.
20107         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
20108         (_ZGVdN4vvv_sincos): Likewise.
20109         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
20110         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
20111         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
20112         (_ZGVbN4v_cosf_sse4): Likewise.
20113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
20114         (_ZGVdN8v_cosf_avx2): Likewise.
20115         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
20116         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
20117         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
20118         (_ZGVbN4v_expf_sse4): Likewise.
20119         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
20120         (_ZGVdN8v_expf_avx2): Likewise.
20121         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
20122         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
20123         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
20124         (_ZGVbN4v_logf_sse4): Likewise.
20125         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
20126         (_ZGVdN8v_logf_avx2): Likewise.
20127         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
20128         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
20129         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
20130         (_ZGVbN4vv_powf_sse4): Likewise.
20131         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
20132         (_ZGVdN8vv_powf_avx2): Likewise.
20133         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20134         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
20135         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20136         (_ZGVbN4vvv_sincosf_sse4): Likewise.
20137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20138         (_ZGVdN8vvv_sincosf_avx2): Likewise.
20139         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
20140         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
20141         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
20142         (_ZGVbN4v_sinf_sse4): Likewise.
20143         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
20144         (_ZGVdN8v_sinf_avx2): Likewise.
20145         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20146         Use JUMPTARGET to call callee.
20147         (WRAPPER_IMPL_SSE2_ff): Likewise.
20148         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20149         (WRAPPER_IMPL_AVX): Likewise.
20150         (WRAPPER_IMPL_AVX_ff): Likewise.
20151         (WRAPPER_IMPL_AVX_fFF): Likewise.
20152         (WRAPPER_IMPL_AVX512): Likewise.
20153         (WRAPPER_IMPL_AVX512_ff): Likewise.
20154         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20155         Likewise.
20156         (WRAPPER_IMPL_SSE2_ff): Likewise.
20157         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20158         (WRAPPER_IMPL_AVX): Likewise.
20159         (WRAPPER_IMPL_AVX_ff): Likewise.
20160         (WRAPPER_IMPL_AVX_fFF): Likewise.
20161         (WRAPPER_IMPL_AVX512): Likewise.
20162         (WRAPPER_IMPL_AVX512_ff): Likewise.
20163         (WRAPPER_IMPL_AVX512_fFF): Likewise.
20165 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20167         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20168         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20169         qualifier.
20170         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20171         internal_function qualifiers.
20173 2016-03-15  Carlos O'Donell <carlos@redhat.com>
20175         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20176         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20177         * math/atest-exp.c (exp_mpn): Mark chk unused.
20178         * math/atest-exp2.c (exp_mpn): Likewise.
20179         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20180         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20182 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
20184         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20185         Remove macro.
20186         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20187         <kernel-features.h>.
20188         [__NR_ppoll]: Make code unconditional.
20189         [!__ASSUME_PPOLL]: Remove conditional code.
20191         * sysdeps/unix/sysv/linux/kernel-features.h
20192         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20193         (__ASSUME_ACCEPT4): Likewise.
20194         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20195         Define.
20196         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20197         Likewise.
20198         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20199         Likewise.
20200         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20201         Likewise.
20202         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20203         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20204         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20205         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20206         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20207         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20208         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20209         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20210         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20211         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20212         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20213         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20214         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20215         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20216         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20217         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20218         Likewise.
20219         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20220         Likewise.
20221         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20222         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20223         0x040300].
20224         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20225         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20226         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20227         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20228         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20229         0x030300].
20230         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20231         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20232         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20233         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20234         0x040300].
20235         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20236         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20237         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20238         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20239         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20240         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20241         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20242         0x030300].
20243         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20244         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20245         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20246         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20247         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20248         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20249         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20250         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20251         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20252         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20253         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20254         0x040300].
20255         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20256         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20257         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20258         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20259         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20260         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20261         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20262         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20263         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20264         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20265         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20266         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20267         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20268         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20269         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20270         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20271         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20272         Likewise.
20273         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20274         Likewise.
20276 2016-03-15  Andreas Schwab  <schwab@suse.de>
20278         [BZ #19257]
20279         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20280         statp->_u._ext.nscount as loop count.
20282 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20284         * math/test-signgam-finite-c99.c: Also #undef
20285         __LIBC_INTERNAL_MATH_INLINES.
20286         * math/test-signgam-main.c: Likewise.
20288 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20290         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20291         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20292         (MADV_FREE): Likewise.
20293         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20294         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20295         EPOLLEXCLUSIVE.
20297 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20299         * timezone/README: Remove mention of checktab.awk. Mention wiki
20300         SharedSourceFiles.
20302 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20304         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20305         WUNTRACED.
20307 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20309         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20310         order to match the type of p when calling atomic_exchange_acq().
20312 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20314         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20315         cfi_offset calls.
20316         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20317         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20318         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20319         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20320         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20322 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20324         * timezone/checktab.awk: Removed.
20326 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20328         * manual/math.texi (Errors in Math Functions): Document relaxed
20329         accuracy goals for IBM long double.
20330         * math/libm-test.inc (test_exceptions): Always allow spurious
20331         "underflow" and "inexact" exceptions for IBM long double.
20333 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20335         [BZ #19762]
20336         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20337         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20338         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20339         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20340         (bit_arch_*): This for feature array.
20341         (bit_*): Renamed to ...
20342         (bit_cpu_*): This for cpu array.
20343         (index_*): Renamed to ...
20344         (index_arch_*): This for feature array.
20345         (index_*): Renamed to ...
20346         (index_cpu_*): This for cpu array.
20347         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20348         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20349         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20350         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20351         bit_##name with index_cpu_##name and bit_cpu_##name.
20352         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20353         bit_##name with index_arch_##name and bit_arch_##name.
20355 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
20357         [BZ #19792]
20358         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20359         Terminate FDE before return label.
20361 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
20363         [BZ #19790]
20364         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20365         (rintl): Define as macro.
20366         [USE_AS_NEARBYINTL] (__rintl): Likewise.
20367         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20368         of fesetround.  Ensure results are evaluated before end of scope.
20369         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20370         USE_AS_NEARBYINTL and include s_rintl.c.
20371         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20372         Disable exception traps in new environment.
20373         (libc_feholdsetround_ppc_ctx): Likewise.
20375 2016-03-08  Roland McGrath  <roland@hack.frob.com>
20377         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20378         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20379         (tst_audit10_aux) [__AVX512F__]: ... here.
20381 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
20383         * include/sys/auxv.h: New file.
20385 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20387         [BZ #19759]
20388         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20390 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20392         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20393         operand modifier.
20394         (feclearexcept): Likewise.
20396 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20398         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20399         to reflect the entire 32-bit HWCAP.
20400         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20401         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
20403 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20405         [BZ #19783]
20406         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20407         $(test-via-rtld-prefix).
20408         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20410 2016-03-08  Florian Weimer  <fweimer@redhat.com>
20412         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20413         union wait.  Report any non-zero exit status as error.
20415 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20417         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20418         configured with --enable-hardcoded-path-in-tests.
20420 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
20422         [BZ #19677]
20423         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20424         (__ieee754_remainderl): Put zero low parts in canonical form.
20425         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20426         file.  Based on
20427         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20428         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20429         with wrapper round test-fmodrem-ldbl-128ibm.c.
20430         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20431         file.
20432         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20433         Likewise.
20434         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20435         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20437 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20439         [BZ #19610]
20440         * elf/ldconfig.c (opt_link): Update comment.
20441         (options): Update help string for option -X.
20442         (search_dir): Unlink stale symbolic link only if updating symbolic
20443         links.
20444         * elf/tst-ldconfig-X.sh: New file.
20445         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
20446         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
20448 2016-03-07  Andreas Schwab  <schwab@suse.de>
20450         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
20451         needed arguments.
20453 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
20455         [BZ #15333]
20456         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
20457         to lstat64.
20459 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20461         * libio/filedoalloc.c (isatty): Remove.
20462         (local_isatty): Add comment.  Call __isatty directly.
20463         (_IO_file_doallocate): Update comment.  Assume _LIBC.
20464         * libio/wfiledoalloc.c (isatty): Remove.
20465         (_IO_wfile_doallocate): Update comment.
20467 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20469         [BZ #19269]
20470         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
20471         tst-audit4-aux.o.
20472         (tst-audit10): Depend on tst-audit10-aux.o.
20473         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
20474         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
20475         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
20476         instead of inline AVX code.
20477         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
20478         instead of inline AVX512 code.
20479         * sysdeps/x86_64/tst-audit4-aux.c: New file
20480         * sysdeps/x86_64/tst-audit10-aux.c: New file
20482         [BZ #19648]
20483         * test-skeleton.c (main): Do not set RLIMIT_DATA.
20485 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20487         [BZ #14750]
20488         [BZ #10354]
20489         [BZ #18433]
20490         * include/sched.h (__clone): Add hidden prototype.
20491         (__clone2): Likewise.
20492         * include/unistd.h (__dup): Likewise.
20493         * posix/Makefile (tests): Add tst-spawn2.
20494         * posix/tst-spawn2.c: New file.
20495         * sysdeps/posix/dup.c (__dup): Add hidden definition.
20496         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
20497         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20498         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20499         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20500         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20501         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
20502         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20503         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
20504         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20505         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20507         Likewise.
20508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20509         Likewise.
20510         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20511         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20512         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20513         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20514         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20515         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20516         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20517         * sysdeps/unix/sysv/linux/nptl-signals.h
20518         (____nptl_is_internal_signal): New function.
20519         * sysdeps/unix/sysv/linux/spawni.c: New file.
20521         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
20522         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
20523         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
20524         * posix/tst-execvp2.c (do_test): Likewise.
20525         * posix/tst-execvp3.c (do_test): Likewise.
20526         * posix/tst-execvp4.c (do_test): Likewise.
20527         * posix/tst-execvpe1.c: New file.
20528         * posix/tst-execvpe2.c: Likewise.
20529         * posix/tst-execvpe3.c: Likewise.
20530         * posix/tst-execvpe4.c: Likewise.
20531         * posix/tst-execvpe5.c: Likewise.
20532         * posix/tst-execvpe6.c: Likewise.
20534         [BZ #19534]
20535         * posix/execl.c (execl): Remove dynamic memory allocation.
20536         * posix/execle.c (execle): Likewise.
20537         * posix/execlp.c (execlp): Likewise.
20539 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20541         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
20542         Replace .text with .text.avx512.
20543         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
20544         Likewise.
20546 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
20548         * sysdeps/generic/libnsl.abilist: New file.
20549         * sysdeps/generic/libutil.abilist: New file.
20551 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20553         [BZ #19762]
20554         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
20555         HAS_ARCH_FEATURE with Fast_Rep_String.
20556         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
20557         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
20558         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
20559         Likewise.
20560         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
20561         Likewise.
20562         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
20563         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
20564         Likewise.
20565         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
20566         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
20567         Likewise.
20569 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20571         [BZ #19745]
20572         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
20573         with *%rax in call.
20575 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20577         [BZ #19745]
20578         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
20579         with *__libc_start_main@GOTPCREL(%rip) in call.
20581 2016-03-04  Roland McGrath  <roland@hack.frob.com>
20583         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
20584         inside conditional for nonempty $(CXX).
20586         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
20587         nonempty.
20589         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
20590         to test for empty $(CXX) rather than $(CXX) of "no".
20592 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20594         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
20596 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
20597             H.J. Lu  <hongjiu.lu@intel.com>
20599         [BZ #18880]
20600         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
20601         instead of Slow_BSF, and also check for Fast_Copy_Backward to
20602         enable __memcpy_ssse3_back.
20604 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20606         [BZ #19758]
20607         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20608         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
20610 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
20612         [BZ #19490]
20613         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
20614         (__fentry__): Likewise.
20616 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20618         * gmon/Makefile (noprof): Add $(sysdep_noprof).
20619         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
20621 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20623         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
20624         __mcount_internal directly.
20625         (C_LABEL(__fentry__)): Likewise.
20626         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
20627         directly.
20629 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20631         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20632         (__start_context): Call __setcontext directly.
20634 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
20636         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20637         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20638         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
20639         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20640         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20641         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20642         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
20643         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20644         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20645         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
20646         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20647         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20648         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20649         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20650         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20651         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20652         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
20653         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20654         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20655         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20656         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
20657         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20658         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20659         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20660         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
20661         Remove conditional code.
20662         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20663         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
20664         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20665         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20666         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
20667         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20668         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20669         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20670         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20671         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20672         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20673         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20675 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
20677         * NEWS (2.23): Fix typo in bug 19048 text.
20679 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
20681         [BZ #14259]
20682         * Makeconfig: Rename msgcatdir to localedir.
20683         Rename inst_msgcatdir to inst_localedir.
20684         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
20685         * config.make.in: Add localedir.
20686         * elf/Makefile ($(objpfx)sotruss): Use localedir.
20687         (ldd-rewrite): Likewise.
20688         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
20689         (install-others): Use inst_localedir.
20690         (CPPFLAGS): Use localedir.
20691         * locale/Makefile (locale-CPPFLAGS): Likewise.
20692         * po/Makefile (mo-installed): Use inst_localedir.
20694         [BZ #19575]
20695         * localedata/charmaps/GB18030: Update comments regarding PAU to
20696         non-PUA mappings.
20698 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
20700         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
20701         test for header.
20702         * sysdeps/unix/sysv/linux/configure: Regenerated.
20703         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
20704         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
20705         Remove conditional code.
20706         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
20708         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20709         Define to 3.2.0.
20710         (arch_minimum_kernel): Likewise.
20711         * sysdeps/unix/sysv/linux/configure: Regenerated.
20712         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
20713         Define to 2.6.32.
20714         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
20715         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
20716         (arch_minimum_kernel): Define to 2.6.32.
20717         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
20718         * README: Document Linux 3.2 requirement.
20719         * manual/install.texi (Linux): Document Linux 3.2 headers
20720         requirement.
20721         * INSTALL: Regenerated.
20723 2016-02-24  Andreas Schwab  <schwab@suse.de>
20725         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
20726         if !NO_LONG_DOUBLE.
20728 2016-02-22  Roland McGrath  <roland@hack.frob.com>
20730         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
20731         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
20733 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
20735         [BZ #19512]
20736         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
20738 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20740         * posix/tst-dir.c: Include libc-internal.h.
20742 2016-02-20  Florian Weimer  <fweimer@redhat.com>
20744         [BZ #19056]
20745         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
20746         * manual/filesys.texi (Reading/Closing Directory): Mention
20747         deprecaion.
20748         * posix/tst-dir.c (main): Disable deprecation warning in test.
20750 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
20752         [BZ #19679]
20753         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
20754         Renamed to ...
20755         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
20756         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20757         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
20758         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20759         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20760         * sysdeps/x86_64/dl-trampoline.h
20761         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20762         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20764 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20766         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
20768 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20770         * elf/elf.h (R_386_GOT32X): New.
20771         (R_386_NUM): Update.
20772         (R_X86_64_GOTPCRELX: New.
20773         (R_X86_64_REX_GOTPCRELX): New.
20774         (R_X86_64_NUM): Update.
20776 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
20778         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20780 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
20782         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20783         assign attr->stackaddr to it, and adjust it down when
20784         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20785         [_STACK_GROWS_UP]: Delete assert.
20786         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20787         Implement stack grows up logic.
20788         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20789         stack grows up logic.
20791 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20793         * NEWS: Update with 2.24 template.
20795 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20797         [BZ #19678]
20798         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20799         Ensure +0.0 is returned when taking the next value below the least
20800         positive value.
20802 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20804         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20805         available.  Do not define NO_THREADS.
20806         * malloc/malloc.c: Do not check NO_THREADS.
20807         * malloc/arena.c: Likewise.
20809 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20811         * malloc/malloc.c (__libc_mallinfo): Update comment.
20812         (struct malloc_par): Remove max_total_mem member, it was always 0.
20813         (int_mallinfo): Store 0 into usmblks (no functional change).
20814         * malloc/hooks.c (struct malloc_state): Document that
20815         max_total_mem is always 0.
20816         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20817         always 0.
20818         * manual/memory.texi (Statistics of Malloc): Likewise.
20820 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20822         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20823         * malloc/arena.c (arena_max): Remove.
20824         (heap_trim, _int_new_arena): Do not update arena_max.
20826 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20828         * resolv/res_init.c (res_ninit): Update comment.
20830 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20832         [BZ #19505]
20833         * posix/spawn_int.h: Add headers and include guard.
20834         (__spawn_valid_fd): New function.
20835         * posix/spawn_faction_addopen.c
20836         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
20837         * posix/spawn_faction_addclose.c
20838         (posix_spawn_file_actions_addclose): Likewise.
20839         * posix/spawn_faction_adddup2.c
20840         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
20841         second file descriptor.
20842         * posix/spawn_valid_fd.c: New file.
20843         * posix/tst-posix_spawn-fd.c: New file.
20844         * posix/Makefile (routines): Add spawn_valid_fd.
20845         (tests): Add tst-posix_spawn-fd.
20847 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20849         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
20850         (do_test): Limit the number of arenas, so that we can use fewer
20851         outer threads.  Limit timeout to 3 seconds, in preparation for a
20852         larger TIMEOUT value.
20854 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20856         [BZ #19674]
20857         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
20858         sign in overflowing and underflowing results when overflow or
20859         underflow is detected early.  Include sign in result before rather
20860         than after scaling.
20862         [BZ #19603]
20863         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20864         (__ieee754_remainderl): Adjust sign of integer version of low part
20865         when taking absolute value of high part.
20866         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20867         * math/libm-test.inc (remainder_test_data): Add another test.
20868         (remquo_test_data): Likewise.
20870 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
20872         [BZ #19602]
20873         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
20874         equal high parts and both low parts zero specially.
20875         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
20876         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
20877         Add test-fmodl-ldbl-128ibm.
20879         [BZ #19595]
20880         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
20881         common logic for all cases of shifting subnormal results.  Do not
20882         insert sign bit in shifted mantissa.  Always pass -1023 as biased
20883         exponent to ldbl_insert_mantissa in subnormal case.
20885         [BZ #19594]
20886         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
20887         on high and low parts then adjust result and use
20888         ldbl_canonicalize_int if needed.
20890         [BZ #19593]
20891         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
20892         on high part and __floor or __ceil on low part then use
20893         ldbl_canonicalize_int if needed.
20895         [BZ #19592]
20896         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
20897         high and low parts then use ldbl_canonicalize_int if needed.
20899         [BZ #17899]
20900         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
20901         New function.
20902         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
20903         on high and low parts then use ldbl_canonicalize_int if needed.
20905 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20907         * configure: Regenerated.
20909         * po/libc.pot: Regenerated.
20911         * po/be.po: Updated translation.
20912         * po/bg.po: Likewise.
20913         * po/ca.po: Likewise.
20914         * po/cs.po: Likewise.
20915         * po/da.po: Likewise.
20916         * po/el.po: Likewise.
20917         * po/eo.po: Likewise.
20918         * po/es.po: Likewise.
20919         * po/fi.po: Likewise.
20920         * po/fr.po: Likewise.
20921         * po/gl.po: Likewise.
20922         * po/hr.po: Likewise.
20923         * po/hu.po: Likewise.
20924         * po/ia.po: Likewise.
20925         * po/id.po: Likewise.
20926         * po/it.po: Likewise.
20927         * po/ja.po: Likewise.
20928         * po/lt.po: Likewise.
20929         * po/nb.po: Likewise.
20930         * po/nl.po: Likewise.
20931         * po/pt_BR.po: Likewise.
20932         * po/rw.po: Likewise.
20933         * po/sk.po: Likewise.
20934         * po/sl.po: Likewise.
20935         * po/sv.po: Likewise.
20936         * po/tr.po: Likewise.
20937         * po/zh_CN.po: Likewise.
20938         * po/zh_TW.po: Likewise.
20940         * version.h (RELEAES): Set to "development".
20941         (VERSION): Set to 2.23.90.
20943         * version.h (RELEASE): Set to "stable".
20944         (VERSION): Set to 2.23.
20945         * include/feature.h (__GLIBC_MINOR__): Set to 23.
20947         * NEWS: Updated fixed bugs.
20949 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
20950             Wilco Dijkstra  <wdijkstr@arm.com>
20952         [BZ #19462]
20953         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
20954         (_STRING_INLINE_unaligned): This.
20955         * include/string.h: Include <string_private.h>.
20956         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
20957         _STRING_INLINE_unaligned.
20958         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
20959         (_STRING_INLINE_unaligned): New.
20960         * sysdeps/aarch64/string_private.h: New file.
20961         * sysdeps/generic/string_private.h: Likewise.
20962         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
20963         * sysdeps/s390/string_private.h: Likewise.
20964         * sysdeps/x86/string_private.h: Likewise.
20965         * sysdeps/m68k/m680x0/m68020/bits/string.h
20966         (_STRING_ARCH_unaligned): Renamed to ...
20967         (_STRING_INLINE_unaligned): This.
20968         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
20969         to ...
20970         (_STRING_INLINE_unaligned): This.
20971         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
20972         to ...
20973         (_STRING_INLINE_unaligned): This.
20974         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
20975         to ...
20976         (_STRING_INLINE_unaligned): This.
20978 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20979             H.J. Lu  <hongjiu.lu@intel.com>
20981         [BZ #19590]
20982         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
20983         relocation.
20985 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
20987         [BZ #18665]
20988         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
20989         *herrno_p.
20990         (gaih_getanswer): Document functional behviour. Return tryagain
20991         if any result is tryagain.
20992         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
20993         when freed.
20994         * resolv/res_send.c: Add copyright text.
20995         (__libc_res_nsend): Document that MAXPACKET is expected.
20996         (send_vc): Document. Remove buffer reuse.
20997         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
20998         size of the buffer. Add Dprint for truncated UDP buffer.
21000 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
21002         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
21003         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
21004         * INSTALL: Regenerate.
21006 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
21007             Jonathan Wakely  <jwakely@redhat.com>
21008             Carlos O'Donell  <carlos@redhat.com>
21010         [BZ 19439]
21011         * math/Makefile (tests): Add test-math-isinff.
21012         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
21013         * math/bits/mathcalls.h [__USE_MISC]: Use
21014         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
21015         functions not in C++11 and which don't conflict e.g. isinff,
21016         isinfl etc.
21017         * math/test-math-isinff.cc: New file.
21019 2016-02-12  Florian Weimer  <fweimer@redhat.com>
21021         * misc/bug18240.c (do_test): Set RLIMIT_AS.
21023 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21025         [BZ #19529]
21026         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
21028 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21030         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21032 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
21034         [BZ #19550]
21035         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
21036         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
21037         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
21038         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
21039         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
21040         New syscall entry.
21041         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
21042         New syscall entry.
21043         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
21044         syscall entry.
21046 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
21048         [BZ #18240]
21049         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
21050         unsigned int wraparound.
21052 2016-01-27  Florian Weimer  <fweimer@redhat.com>
21054         [BZ #18240]
21055         * misc/bug18240.c: New test.
21056         * misc/Makefile (tests): Add it.
21058 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
21059             Joseph Myers  <joseph@codesourcery.com>
21061         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
21062         load in branch delay slot when less than a word of input left.
21064 2016-01-27  Andreas Schwab  <schwab@suse.de>
21066         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
21067         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
21068         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
21069         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
21071 2016-01-26  David S. Miller  <davem@davemloft.net>
21073         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
21075 2016-01-25  David S. Miller  <davem@davemloft.net>
21077         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
21078         __sqrtl_finite.
21079         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
21080         instead using versioned_symbol.
21081         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
21082         of entries.
21084         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
21085         __sqrtl_finite to GLIBC_2.23
21087 2016-01-25  Ricchard Henderson  <rth@redhat.com>
21089         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21091 2016-01-25  Andreas Schwab  <schwab@suse.de>
21093         [BZ #17514]
21094         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
21095         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
21096         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
21097         * nptl/tst-mutex-errorcheck.c: New file.
21099 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21101         [BZ #18560]
21102         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
21103         (IPCOP_semop): Likewise.
21104         (IPCOP_semget): Likewise.
21105         (IPCOP_semctl): Likewise.
21106         (IPCOP_msgsnd): Likewise.
21107         (IPCOP_msgrcv): Likewise.
21108         (IPCOP_msgget): Likewise.
21109         (IPCOP_msgctl): Likewise.
21110         (IPCOP_shmat): Likewise.
21111         (IPCOP_shmdt): Likewise.
21112         (IPCOP_shmget): Likewise.
21113         (IPCOP_shmctl): Likewise.
21115 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21117         * string/tst-endian.c: Include <libc-internal.h>.
21118         (do_test): Ignore tautological-compare warnings around
21119         "htobeXX (beXXtoh (i)) != i" and
21120         "htoleXX (leXXtoh (i)) != i" if-statements.
21122 2016-01-24  David S. Miller  <davem@davemloft.net>
21124         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
21125         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
21126         alias.
21127         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21128         __sqrtl_finite.
21130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21132 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
21134         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
21135         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
21136         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21138 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21140         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
21141         (thread_func): Use new function to simplify barrier check.
21142         (do_test): Use new function to simplify checking barrier exit
21143         code, and actually join the child thread.
21145 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21147         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
21148         semicolon.
21149         (__libc_tend): Likewise.
21150         (__libc_tabort): Likewise.
21152 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
21154         * sysdeps/nios2/libm-test-ulps: Update.
21155         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21156         (__gtsf2): Likewise.
21157         (__unorddf2): Likewise.
21158         (__unordsf2): Likewise.
21159         (__ledf2): Likewise.
21161 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
21163         * nis/nis_table.c (__follow_path): Disable diagnostic for
21164         uninitialized variable that is a false positive for gcc 4.7.
21165         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21167 2016-01-20  Roland McGrath  <roland@hack.frob.com>
21169         * sysdeps/nacl/lowlevellock-futex.h
21170         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21171         Always evaluate PRIVATE argument.
21173 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
21175         [BZ #19490]
21176         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21177         (pthread_cond_broadcast): Use ENTRY/END
21178         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21179         (pthread_cond_signal): Likewise.
21180         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21181         Likewise.
21182         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21183         Likewise.
21184         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21185         Likewise.
21187 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
21189         * sysdeps/ieee754/dbl-64/s_finite.c
21190         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21191         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21192         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21193         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21194         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21197         (__gtsf2): Add as optional for libc.so.
21198         (__unordsf2): Likewise.
21199         (__signbit): Remove for libc.so.
21200         (__signbitl): Likewise.
21202 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21204         * iconvdata/bug-iconv11.c (test_ibm93x):
21205         Use %zu printf format specifier for size_t argument.
21207 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
21209         * math/gen-libm-test.pl (parse_ulps): Do not reduce
21210         already-recorded ulps.
21211         * sysdeps/arm/libm-test-ulps: Regenerated.
21212         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21213         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21214         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21216 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21217             Paul Pluzhnikov  <ppluzhnikov@google.com>
21219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21220         assembler not supporting AVX-512.
21222 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21224         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21226 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21228         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21229         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21231         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21233         * sysdeps/arm/libm-test-ulps: Regenerated.
21235 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21237         [BZ #19451]
21238         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21240 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21242         [BZ #19486]
21243         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21244         * sysdeps/generic/fix-fp-int-convert-overflow.h
21245         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21246         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21247         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21248         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21249         Likewise.
21250         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21251         Avoid conversions to long int where inexact exceptions
21252         could be raised.
21253         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21254         Likewise.
21255         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21256         Avoid conversions to long long int where inexact exceptions
21257         could be raised.
21258         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21259         Likewise.
21261 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21263         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21264         * configure: Regenerated.
21266 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21268         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21270 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21272         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21273         outside of comment.
21275 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21277         * nptl/tst-barrier1.c: Add description on first line.
21278         * nptl/tst-barrier2.c: Likewise.
21279         * nptl/tst-barrier3.c: Likewise.
21280         * nptl/tst-barrier4.c: Likewise.
21281         * nptl/tst-barrier5.c: Likewise.
21283 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21285         [BZ #18868]
21286         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21288 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21291         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21292         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21293         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21294         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21295         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21296         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21297         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21298         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21299         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21300         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21302 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21304         [BZ #13065]
21305         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21306         new implementation.
21307         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21308         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21309         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21310         (BARRIER_IN_THRESHOLD): New macro.
21311         * nptl/pthread_barrierattr_setpshared.c
21312         (pthread_barrierattr_setpshared): Clean up.
21313         * nptl/tst-barrier4.c: Correct comment.
21314         * nptl/tst-barrier5.c: New file.
21315         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21316         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21317         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21318         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21319         * nptl/lowlevelbarrier.sym: Remove.
21320         * nptl/DESIGN-barrier.txt: Remove.
21321         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21322         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21323         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21324         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21325         error.
21326         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21327         implementation.
21329 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21331         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21332         (do_child): Mask SIGRTMIN while thr is running.
21334 2016-01-15  Martin Sebor  <msebor@redhat.com>
21336         [BZ #19432]
21337         * iconvdata/Makefile: Add bug-iconv11.
21338         * iconvdata/bug-iconv11.c: New test.
21339         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21340         * iconvdata/ibm933.c: Same.
21341         * iconvdata/ibm935.c: Same.
21342         * iconvdata/ibm937.c: Same.
21343         * iconvdata/ibm939.c: Same.
21345 2016-01-15  Martin Sebor  <msebor@redhat.com>
21347         [BZ #19443]
21348         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21349         [DEBUG] (_ufc_set_bits): Declare used.
21350         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21351         [DEBUG] (print_all): Declare used.
21352         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21353         operands of the ternary ?: expression to target type.
21354         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21355         calling the undeclared abort.
21356         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21358 2016-01-15  Martin Sebor  <msebor@redhat.com>
21360         [BZ #18755]
21361         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21362         warnings.
21363         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21364         (__gai_create_helper_thread): Same.
21365         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21366         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21367         to suppress -Wmaybe-uninitialized warnings.
21369 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
21371         [BZ #19465]
21372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21373         inside if.
21374         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21375         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21376         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21378 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
21380         [BZ #19466]
21381         * time/tst-mktime2.c (time_t_max): Removed.
21382         (time_t_min): Likewise.
21383         (TYPE_SIGNED): New.
21384         (TYPE_MINIMUM): Likewise.
21385         (TYPE_MAXIMUM): Likewise.
21386         (TIME_T_MIN): Likewise.
21387         (TIME_T_MAX): Likewise.
21388         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21389         and TIME_T_MIN.
21390         (do_test): Likewise.
21392 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
21394         [BZ #19467]
21395         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21396         index_Fast_Unaligned_Load flag for Excavator family CPUs.
21398 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
21400         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21402 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
21404         * benchtests/Makefile (PYTHON): Define.
21405         (bench-func): Use $(PYTHON) to run python scripts.
21406         ($(objpfx)bench-%.c): Likewise.
21408 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
21410         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21411         leading slash when `file_name' is "/".
21413 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
21415         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21416         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21417         Likewise.
21418         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21419         Likewise.
21420         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21421         Likewise.
21422         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21423         enum constant and macro.
21424         (PTRACE_SETSIGMASK): Likewise.
21425         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21426         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21427         (PTRACE_GETSIGMASK): Likewise.
21428         (PTRACE_SETSIGMASK): Likewise.
21429         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21430         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21431         Likewise.
21432         (PTRACE_SETSIGMASK): Likewise.
21433         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21434         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21435         (PTRACE_GETSIGMASK): Likewise.
21436         (PTRACE_SETSIGMASK): Likewise.
21437         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21438         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21439         Likewise.
21440         (PTRACE_SETSIGMASK): Likewise.
21441         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21442         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21443         Likewise.
21444         (PTRACE_SETSIGMASK): Likewise.
21445         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21446         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
21447         Likewise.
21448         (PTRACE_SETSIGMASK): Likewise.
21449         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21451 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
21452             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21454         [BZ #19439]
21455         * math/bits/mathcalls.h
21456         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
21457         prototype.
21458         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
21460 2016-01-11  Andreas Schwab  <schwab@suse.de>
21462         [BZ #19253]
21463         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
21464         cache when TZDEFRULES was used.
21465         * time/tst-tzname.c: New file.
21466         * time/Makefile (test): Add tst-tzname.
21467         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
21468         * timezone/Makefile (test-zones): Add $(posixrules-file).
21469         ($(testdata)/$(posixrules-file)): New rule.
21471 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
21473         Fix doc quoting problems with Texinfo 5
21474         Without this change, in the info file output, Texinfo 5 quotes code
21475         in text with undirected single quotes 'like this' and generates
21476         code examples that with many PDF readers cannot be cut out of PDFs
21477         and pasted into code.
21478         * manual/libc.texinfo: Configure the libc manual like the GNU
21479         Emacs manual, by using @documentencoding and setting
21480         txicodequoteundirected and txicodequotebacktick.  This way,
21481         Texinfo 5 quotes code in text with directed single quotes ‘like
21482         this’ and produces examples that can be cut out of PDFs.  This
21483         change causes Texinfo 5 to generate info files that contain UTF-8
21484         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
21485         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
21487 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21489         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
21490         __libc_tabort, __libc_tend): New wrappers that enforce compiler
21491         barriers to their respective compiler built-ins.
21492         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
21493         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
21494         * sysdeps/powerpc/sysdep.h: Likewise.
21495         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
21496         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
21497         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
21499 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
21501         * scripts/config.guess: Revert previous shebang change.
21502         * scripts/config.sub: Likewise.
21503         * scripts/mkinstalldirs: Likewise.
21505 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21507         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
21508         PPC_FEATURE2_HAS_IEEE128.
21509         * sysdeps/powerpc/dl-procinfo.c:
21510         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
21512 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
21514         [BZ #19415]
21515         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
21516         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
21517         (_dl_lookup_address): Rewrite using function resolver trampoline.
21518         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
21519         two bits in address.
21521 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21523         * longlong.h: Change !__SHMEDIA__ to
21524         (!defined (__SHMEDIA__) || !__SHMEDIA__).
21525         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
21527 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
21528             Joseph Myers  <joseph@codesourcery.com>
21529             Mark Shinwell  <shinwell@codesourcery.com>
21530             Andrew Stubbs  <ams@codesourcery.com>
21531             Rich Felker <dalias@libc.org>
21533         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
21535 2016-01-07  Richard Henderson  <rth@redhat.com>
21537         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
21539 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21541         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
21542         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
21543         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21544         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21545         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
21547 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
21548             Joseph Myers  <joseph@codesourcery.com>
21550         * timezone/private.h: Update from tzcode 2015g.
21551         * timezone/tzfile.h: Likewise.
21552         * timezone/tzselect.ksh: Likewise.
21553         * timezone/zdump.c: Likewise.
21554         * timezone/zic.c: Likewise.
21555         * timezone/ialloc.c: Remove file.
21556         * timezone/scheck.c: Likewise.
21557         * timezone/Makefile (extra-objs): Remove variable.
21558         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
21559         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
21560         -Wno-maybe-uninitialized.
21561         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
21562         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
21563         (CFLAGS-ialloc.c): Remove variable.
21564         (CFLAGS-scheck.c): Likewise.
21565         * timezone/README: Update list of files from tzcode.
21567 2016-01-07  Khem Raj  <raj.khem@gmail.com>
21569         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
21570         instead of __fxprintf when _LIBC is undefined.
21572 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
21574         * catgets/test-gencat.sh: Remove space after shebang.
21575         * conform/GlibcConform.pm: Likewise.
21576         * conform/check-header-lists.sh: Likewise.
21577         * conform/conformtest.pl: Likewise.
21578         * conform/linknamespace.pl: Likewise.
21579         * conform/list-header-symbols.pl: Likewise.
21580         * debug/catchsegv.sh: Likewise.
21581         * elf/genrtldtbl.awk: Likewise.
21582         * elf/tst-pathopt.sh: Likewise.
21583         * elf/tst-rtld-load-self.sh: Likewise.
21584         * grp/tst_fgetgrent.sh: Likewise.
21585         * iconvdata/gen-8bit-gap-1.sh: Likewise.
21586         * iconvdata/gen-8bit-gap.sh: Likewise.
21587         * iconvdata/gen-8bit.sh: Likewise.
21588         * iconvdata/run-iconv-test.sh: Likewise.
21589         * intl/tst-gettext.sh: Likewise.
21590         * intl/tst-gettext2.sh: Likewise.
21591         * intl/tst-gettext4.sh: Likewise.
21592         * intl/tst-gettext6.sh: Likewise.
21593         * intl/tst-translit.sh: Likewise.
21594         * io/ftwtest-sh: Likewise.
21595         * libio/test-freopen.sh: Likewise.
21596         * locale/gen-translit.pl: Likewise.
21597         * malloc/tst-mtrace.sh: Likewise.
21598         * manual/check-safety.sh: Likewise.
21599         * manual/libc-texinfo.sh: Likewise.
21600         * manual/tsort.awk: Likewise.
21601         * manual/xtract-typefun.awk: Likewise.
21602         * nptl/tst-cancel-wrappers.sh: Likewise.
21603         * nptl/tst-tls6.sh: Likewise.
21604         * posix/globtest.sh: Likewise.
21605         * posix/tst-getconf.sh: Likewise.
21606         * posix/wordexp-tst.sh: Likewise.
21607         * scripts/check-c++-types.sh: Likewise.
21608         * scripts/check-local-headers.sh: Likewise.
21609         * scripts/config.guess: Likewise.
21610         * scripts/config.sub: Likewise.
21611         * scripts/cpp: Likewise.
21612         * scripts/cross-test-ssh.sh: Likewise.
21613         * scripts/documented.sh: Likewise.
21614         * scripts/evaluate-test.sh: Likewise.
21615         * scripts/gen-libc-abis: Likewise.
21616         * scripts/gen-sorted.awk: Likewise.
21617         * scripts/list-fixed-bugs.py: Likewise.
21618         * scripts/merge-test-results.sh: Likewise.
21619         * scripts/mkinstalldirs: Likewise.
21620         * scripts/rellns-sh: Likewise.
21621         * scripts/test-installation.pl: Likewise.
21622         * scripts/update-copyrights: Likewise.
21623         * stdio-common/tst-printf.sh: Likewise.
21624         * stdio-common/tst-unbputc.sh: Likewise.
21625         * stdlib/tst-fmtmsg.sh: Likewise.
21626         * stdlib/tst-setcontext3.sh: Likewise.
21627         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
21628         * sysdeps/unix/make-syscalls.sh: Likewise.
21630 2016-01-06  John David Anglin  <dave.anglin@bell.net>
21632         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
21633         asm stw with atomic_exchange_rel.  Add explanatory comment.
21634         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21635         Likewise.
21637 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21639         [BZ #19122]
21640         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
21641         * sysdeps/generic/dl-unistd.h: New file.
21642         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
21644 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21646          [BZ #19122]
21647          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
21648          * sysdeps/generic/dl-mman.h: New file.
21649          * sysdeps/mach/hurd/dl-mman.h: Likewise.
21651 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
21653         * manual/texinfo.tex: Update to version 2016-01-04.21 with
21654         trailing whitespace removed.
21655         * scripts/config.guess: Update to version 2016-01-01.
21656         * scripts/config.sub: Update to version 2016-01-01.
21657         * scripts/move-if-change: Update from gnulib.
21659 2016-01-04  Anton Blanchard  <anton@samba.org>
21661         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
21662         for array indices.
21663         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
21665 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
21667         * NEWS: Update copyright dates.
21668         * catgets/gencat.c (print_version): Likewise.
21669         * csu/version.c (banner): Likewise.
21670         * debug/catchsegv.sh: Likewise.
21671         * debug/pcprofiledump.c (print_version): Likewise.
21672         * debug/xtrace.sh (do_version): Likewise.
21673         * elf/ldconfig.c (print_version): Likewise.
21674         * elf/ldd.bash.in: Likewise.
21675         * elf/pldd.c (print_version): Likewise.
21676         * elf/sotruss.sh: Likewise.
21677         * elf/sprof.c (print_version): Likewise.
21678         * iconv/iconv_prog.c (print_version): Likewise.
21679         * iconv/iconvconfig.c (print_version): Likewise.
21680         * locale/programs/locale.c (print_version): Likewise.
21681         * locale/programs/localedef.c (print_version): Likewise.
21682         * login/programs/pt_chown.c (print_version): Likewise.
21683         * malloc/memusage.sh (do_version): Likewise.
21684         * malloc/memusagestat.c (print_version): Likewise.
21685         * malloc/mtrace.pl: Likewise.
21686         * manual/libc.texinfo: Likewise.
21687         * nptl/version.c (banner): Likewise.
21688         * nscd/nscd.c (print_version): Likewise.
21689         * nss/getent.c (print_version): Likewise.
21690         * nss/makedb.c (print_version): Likewise.
21691         * posix/getconf.c (main): Likewise.
21692         * scripts/test-installation.pl: Likewise.
21693         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21695         * All files with FSF copyright notices: Update copyright dates
21696         using scripts/update-copyrights.
21697         * intl/plural.c: Regenerated.
21698         * locale/programs/charmap-kw.h: Likewise.
21699         * locale/programs/locfile-kw.h: Likewise.
21701 2016-01-02  Helge Deller  <deller@gmx.de>
21703         [BZ #19285]
21704         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
21705         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
21706         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
21707         (MADV_xxK_PAGES): Remove.
21709 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
21711         [BZ #15421]
21712         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
21713         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
21714         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
21715         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
21717 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
21719         [BZ #19408]
21720         * sysdeps/unix/sysv/linux/personality.c: New file.
21721         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
21722         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
21723         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
21724         (sysdep_routines): Add personality.
21725         (tests): Add tst-personality.
21726         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
21727         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
21728         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
21729         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
21730         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
21731         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
21732         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
21733         Likewise.
21734         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
21735         Likewise.
21736         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
21737         Likewise.
21738         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
21739         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
21740         Likewise.
21742 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
21744         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
21745         (PATH_ARM_SYSTYPE): Remove.
21746         (PATH_CPUINFO): Likewise.
21747         (IO_BASE_FOOTBRIDGE): Likewise.
21748         (IO_SHIFT_FOOTBRIDGE): Likewise.
21749         (struct platform): Likewise.
21750         (init_iosys): Remove compatibility code for 2.4 kernels.
21751         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
21753 2015-12-29  Florian Weimer  <fweimer@redhat.com>
21755         * malloc/tst-malloc-thread-fail.c: New file.
21756         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
21757         (tst-malloc-thread-fail): Link against libpthread.
21759 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
21761         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
21762         (get_parser): New function.
21763         (main): New function.
21765 2015-12-29  Rob Wu  <rob@robwu.nl>
21767         [BZ #19369]
21768         * resolv/res_init.c (__res_vinit): Reset defdname before use.
21770 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
21772         [BZ #19270]
21773         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21775 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
21777         [BZ #15421]
21778         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21780 2015-12-23  Torvald Riegel  <triegel@redhat.com>
21782         [BZ #13690]
21783         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21784         after releasing it.
21785         (__lll_robust_unlock): Likewise.
21786         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21787         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21788         (lll_robust_unlock): Likewise.
21789         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21790         Prevent warnings in callers.
21792 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21794         * malloc/arena.c (list_lock): Update comment.
21796 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21798         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21799         __parse_hwcap_and_convert_at_platform to libc.a.
21801 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21803         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21804         platform and feature support for POWER9.
21805         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21806         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21807         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21808         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21809         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21810         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21811         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21812         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21814 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21816         Harmonize generic stdio-lock support with nptl
21818         This fixes build when _IO_funlockfile is a macro, fixes build where
21819         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21820         stack unwind.
21822         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21823         _IO_release_lock ): Use cleanup attribute on new
21824         _IO_acquire_lock_file variable instead of assuming that
21825         _IO_release_lock will be called.
21826         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21827         _IO_acquire_lock_needs_exceptions_enabled.
21828         (_IO_acquire_lock_clear_flags2): New macro.
21830 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21832         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21834 2015-12-21  Florian Weimer  <fweimer@redhat.com>
21836         [BZ #19182]
21837         * malloc/arena.c (list_lock): Document lock ordering requirements.
21838         (free_list_lock): New lock.
21839         (ptmalloc_lock_all): Comment on free_list_lock.
21840         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
21841         (detach_arena): Update comment.  free_list_lock is now needed.
21842         (_int_new_arena): Use free_list_lock around detach_arena call.
21843         Acquire arena lock after list_lock.  Add comment, including FIXME
21844         about incorrect synchronization.
21845         (get_free_list): Switch to free_list_lock.
21846         (reused_arena): Acquire free_list_lock around detach_arena call
21847         and attached threads counter update.  Add two FIXMEs about
21848         incorrect synchronization.
21849         (arena_thread_freeres): Switch to free_list_lock.
21850         * malloc/malloc.c (struct malloc_state): Update comments to
21851         mention free_list_lock.
21853 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21855         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
21856         Remove functions.
21857         (sloww, sloww1): Accept argument to offset quadrant.
21858         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
21859         quadrant.
21860         (__sin, __cos): Consolidate common code into new functions.
21861         (reduce_sincos_1, do_sincos_1): New functions.
21862         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21864         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
21865         code to new functions.
21866         (reduce_sincos_2, do_sincos_2): New functions.
21867         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21869         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
21870         common code for sincos.
21871         (__cos) [!IN_SINCOS]: Likewise.
21872         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
21873         New function.
21874         (__sincos): Use it.
21876 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
21878         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
21879         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
21880         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21882 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21884         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
21885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
21886         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21887         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
21888         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21889         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
21890         index_Prefer_No_VZEROUPPER): New feature.
21891         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
21892         Prefer_No_VZEROUPPER for Knights Landing.
21894 015-12-18  Torvald Riegel  <triegel@redhat.com>
21896         * math/atest-exp2.c (mp_exp_m1): Remove.
21898 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21900         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
21901         syscalls.
21902         (__SYSCALL0): New macro.
21903         (__SYSCALL1): Likewise.
21904         (__SYSCALL2): Likewise.
21905         (__SYSCALL3): Likewise.
21906         (__SYSCALL4): Likewise.
21907         (__SYSCALL5): Likewise.
21908         (__SYSCALL6): Likewise.
21909         (__SYSCALL_CONCAT_X): Likewise.
21910         (__SYSCALL_CONCAT): Likewise.
21911         (__SYSCALL_DIST): Likewise.
21912         (__SYSCALL_CALL): Likewise.
21914 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
21916         [BZ #19363]
21917         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
21919 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21921         [BZ #19375]
21922         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
21923         negative subnormals.
21925 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
21927         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21928         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
21929         (INTERNAL_SYSCALL_NCS): Use it.
21930         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21932 2015-12-16  Florian Weimer  <fweimer@redhat.com>
21934         [BZ #19243]
21935         * malloc/arena.c (get_free_list): Remove assert and adjust
21936         reference count handling.  Add comment about reused_arena
21937         interaction.
21938         (reused_arena): Add comments abount get_free_list interaction.
21939         * malloc/tst-malloc-thread-exit.c: New file.
21940         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
21941         (tst-malloc-thread-exit): Link against libpthread.
21943 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21945         [BZ #19367]
21946         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
21947         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
21948         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
21949         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
21950         (index_Prefer_MAP_32BIT_EXEC): Likewise.
21952 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21954         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
21955         Silvermont optimizations for Knights Landing.
21957 2015-12-15  Andreas Schwab  <schwab@suse.de>
21959         [BZ #17197]
21960         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
21961         immediately after emitting SI.
21962         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
21963         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
21964         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
21965         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
21966         * iconvdata/bug-iconv10.c: New file.
21967         * iconvdata/Makefile (tests): Add bug-iconv10.
21968         ($(objpfx)bug-iconv10.out): New rule.
21970 2015-12-15  Florian Weimer  <fweimer@redhat.com>
21972         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
21973         aliasing violation.
21975 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
21977         [BZ #18472]
21978         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
21979         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
21980         conditionals for them.
21981         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
21982         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
21983         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
21984         sys/kdaemon.h.
21985         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
21986         compat-only syscall, obsoleted in glibc 2.23.
21987         (create_module): Likewise.
21988         (get_kernel_syms): Likewise.
21989         (query_module): Likewise.
21990         (uselib): Likewise.
21991         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
21993 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
21995         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
21996         <linux/version.h>.
21997         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
21998         conditional code.
21999         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
22000         and ioshift_name initialization.
22002 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22004         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22005         Fix indentation.
22007 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22009         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
22011 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22013         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
22015 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
22016             Jakub Wilk  <jwilk@debian.org>
22018         [BZ #19347]
22019         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
22020         to change the group of the device to the tty group.
22022 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
22024         Split large string section; add truncation advice
22025         * manual/examples/strncat.c: Remove.
22026         This example was misleading, as the code would have undefined
22027         behavior if "hello" was longer than SIZE.  Anyway, the manual
22028         shouldn't encourage strncpy+strncat for this sort of thing.
22029         * manual/string.texi (Copying Strings and Arrays): Split into
22030         three sections Copying Strings and Arrays, Concatenating Strings,
22031         and Truncating Strings, as this section was way too long.  All
22032         cross-referenced changed.  Add advice about string-truncation
22033         functions.  Remove misleading strncat example.
22035 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
22037         * manual/nss.texi (NSS Modules Interface): Document
22038         NSS_STATUS_NOTFOUND and SUCCESS.
22040 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22042         [BZ 18568]
22043         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22044         201505L, for Unicode 8.
22046 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
22048         * locale/C-translit.h: Regenerate.
22050 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22052         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
22053         and U+0153.
22055 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
22057         [BZ #19351]
22058         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
22059         expanding log(1+z), compare z rather than its square with epsilon
22060         to determine when to avoid evaluating the expansion.
22062         [BZ #19350]
22063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22064         Increase overflow threshold.
22066         [BZ #19349]
22067         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
22068         when small.
22070         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22071         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22072         New macro.
22073         [__LINUX_KERNEL_VERSION >= 0x040300]
22074         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22075         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22076         Likewise.
22077         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22078         Likewise.
22079         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22080         Likewise.
22081         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22082         Likewise.
22083         [__LINUX_KERNEL_VERSION >= 0x040300]
22084         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22085         [__LINUX_KERNEL_VERSION >= 0x040300]
22086         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22087         [__LINUX_KERNEL_VERSION >= 0x040300]
22088         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22089         [__LINUX_KERNEL_VERSION >= 0x040300]
22090         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22091         [__LINUX_KERNEL_VERSION >= 0x040300]
22092         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22093         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22094         Likewise.
22095         [__LINUX_KERNEL_VERSION >= 0x040300]
22096         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22097         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22098         Likewise.
22099         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22100         Likewise.
22101         [__LINUX_KERNEL_VERSION >= 0x040300]
22102         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22103         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22104         Likewise.
22105         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22106         Likewise.
22107         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22108         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
22109         Likewise.
22110         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
22111         Likewise.
22112         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22113         Likewise.
22114         [__LINUX_KERNEL_VERSION >= 0x040300]
22115         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22116         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22117         Likewise.
22118         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22119         Likewise.
22120         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22121         Likewise.
22122         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22123         Likewise.
22124         [__LINUX_KERNEL_VERSION >= 0x040300]
22125         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22126         [__LINUX_KERNEL_VERSION >= 0x040300]
22127         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22128         [__LINUX_KERNEL_VERSION >= 0x040300]
22129         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22130         [__LINUX_KERNEL_VERSION >= 0x040300]
22131         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22132         [__LINUX_KERNEL_VERSION >= 0x040300]
22133         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22134         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22135         Likewise.
22136         [__LINUX_KERNEL_VERSION >= 0x040300]
22137         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22138         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22139         Likewise.
22140         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22141         Likewise.
22142         [__LINUX_KERNEL_VERSION >= 0x040300]
22143         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22144         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22145         Likewise.
22146         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22147         Likewise.
22148         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22149         (__ASSUME_SOCKET_SYSCALL): Likewise.
22150         (__ASSUME_BIND_SYSCALL): Likewise.
22151         (__ASSUME_CONNECT_SYSCALL): Likewise.
22152         (__ASSUME_LISTEN_SYSCALL): Likewise.
22153         (__ASSUME_ACCEPT_SYSCALL): Likewise.
22154         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22155         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22156         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22157         (__ASSUME_SEND_SYSCALL): Likewise.
22158         (__ASSUME_SENDTO_SYSCALL): Likewise.
22159         (__ASSUME_RECV_SYSCALL): Likewise.
22160         (__ASSUME_RECVFROM_SYSCALL): Likewise.
22161         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22162         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22163         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22164         (__ASSUME_SENDMSG_SYSCALL): Likewise.
22165         (__ASSUME_RECVMSG_SYSCALL): Likewise.
22166         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22167         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22168         Likewise.
22169         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22170         Likewise.
22171         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22172         Likewise.
22173         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22174         Likewise.
22175         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22176         Likewise.
22177         [__LINUX_KERNEL_VERSION >= 0x020625]
22178         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22179         [__LINUX_KERNEL_VERSION >= 0x020625]
22180         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22181         [__LINUX_KERNEL_VERSION >= 0x020625]
22182         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22183         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22184         Likewise.
22185         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22186         Likewise.
22187         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22188         Likewise.
22189         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22190         Likewise.
22191         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22192         Likewise.
22193         [__LINUX_KERNEL_VERSION >= 0x020625]
22194         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22195         [__LINUX_KERNEL_VERSION >= 0x020625]
22196         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22197         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22198         Likewise.
22199         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22200         Likewise.
22202 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22204         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22205         record the current if the current ABI and CPU support the FP64
22206         extension.
22207         (has-modd-spreg): Define to record the current if the current ABI and
22208         CPU support 32-bit floating point values in odd FPU registers.
22209         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22210         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22211         $(has-modd-spreg) equals yes.
22212         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22213         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22214         $(has-modd-spreg) equal yes.
22216 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22218         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22219         basename.
22221 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22223         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22224         (bench-string): ... here.
22225         (bench): Add bench-string.
22226         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22227         to *-benchset to reflect what they are.
22228         (benchset): Adjust.
22230         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22231         cos-inputs.
22233 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22235         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22236         __attribute__ ((__simd__)) for vector math function declarations.
22238 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22240         Fix typo in strncat, wcsncat manual entries
22241         * manual/string.texi (Copying and Concatenation): Fix typos in
22242         sample implementations of strncat and wcsncat, by having them use
22243         the old value of the destination length, not the new one.
22245 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22247         [BZ #16961]
22248         [BZ #16962]
22249         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22250         string on the stack for strtod.
22251         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22252         a string on the stack for strtof.
22253         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22254         constructing a string on the stack for strtold.
22255         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22256         __strtold_nan to GLIBC_PRIVATE.
22257         * math/test-nan-overflow.c: New file.
22258         * math/test-nan-payload.c: Likewise.
22259         * math/Makefile (tests): Add test-nan-overflow and
22260         test-nan-payload.
22262 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22264         Consistency about byte vs character in string.texi
22265         * manual/string.texi (String and Array Utilities):
22266         Distinguish more carefully among bytes, multibyte characters,
22267         and wide characters.  Use "byte" when talking about C 'char',
22268         to distinguish it more clearly from multibyte characters.
22269         Say "wide character" or "multibyte character" instead of
22270         "character", when a wide or multibyte character is intended.
22271         Similarly for "multibyte string" versus "string".
22272         Define these terms more carefully.
22274 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22276         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22277         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22278         Likewise.
22279         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22280         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22281         * sysdeps/sh/math_private.h: New file.
22282         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22283         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22284         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22285         long double function name.
22286         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22287         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22288         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22289         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22290         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22292         Remove __finitel, __isinfl, and __isnanl.
22293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22294         Likewise.
22295         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22297         Remove __finitel.
22298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22299         Likewise.
22300         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22302 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22304         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22305         installed libmvec_nonshared.a.
22307 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22309         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22310         (sysdep_routines): Likewise.
22311         (sysdep-rtld-routines): Likewise.
22312         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22313         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22314         * sysdeps/powerpc/Versions: Added new
22315         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22316         * sysdeps/powerpc/hwcapinfo.c: New file.
22317         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22318         and parse hwcap, hwcap2 and platform number information.
22319         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22320         to store HWCAP+HWCAP2 and platform number.
22321         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22322         for HWCAP+HWCAP2 and platform number in the TCB.
22323         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22324         the HWCAP, HWCAP2 and platform number in the TCB.
22325         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22326         (TLS_INIT_TP): Included calls to add the hwcap and
22327         at_platform values in the TCB in TP initialization.
22328         (TLS_DEFINE_INIT_TP): Likewise.
22329         (THREAD_GET_HWCAP): New macro.
22330         (THREAD_SET_HWCAP): Likewise.
22331         (THREAD_GET_AT_PLATFORM): Likewise.
22332         (THREAD_SET_AT_PLATFORM): Likewise.
22333         * sysdeps/powerpc/powerpc32/dl-machine.h:
22334         (dl_platform_init): New function that calls
22335         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22336         powerpc32.
22337         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22338         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22339         this functionality, static linking case.
22340         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
22341         linking case.
22342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22343         __parse_hwcap_and_convert_at_platform for the static linking case.
22344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22345         Included the new __parse_hwcap_and_convert_at_platform symbol in the
22346         ABI list for GLIBC 2.23.
22347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22348         Likewise.
22349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22350         Likewise.
22352 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
22354         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22355         * configure: Regenerate.
22356         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22357         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
22359 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
22361         * iconvdata/ibm930.c: Add comment explaining encoding uses.
22362         * iconvdata/ibm933.c: Likewise.
22363         * iconvdata/ibm935.c: Likewise.
22364         * iconvdata/ibm937.c: Likewise.
22365         * iconvdata/ibm939.c: Likewise.
22367 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22369         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22370         pthread_join.
22371         * nptl/tst-cancel21.c (tf): Likewise.
22373 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22375         [BZ #19313]
22376         * bits/typesizes.h (__CPU_MASK_TYPE): New.
22377         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22378         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22379         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22380         Likewise.
22381         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22382         Likewise.
22383         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22384         Likewise.
22385         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22386         Likewise.
22387         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22388         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22389         unsigned long int with __CPU_MASK_TYPE.
22391 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22393         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22395 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
22397         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22398         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22399         t512.x.
22400         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22402 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
22404         [BZ #19214]
22405         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22406         argument to return extended model.  Update family and model
22407         with extended family and model when family == 0x0f.
22408         (init_cpu_features): Updated.
22410 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22412         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22413         signed off_t, so 32bit bigger than 2GiB values are fine actually.
22415         * sysdeps/mach/hurd/mmap64.c: New file.
22417 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
22419         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22420         rights for its main user thread in NEWTASK.
22422 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
22424         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22425         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22427 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
22429         [BZ #14259]
22430         * Makeconfig: Rename localedir to complocaledir.
22431         Rename inst_localedir to inst_complocaledir.
22432         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22433         * config.make.in: Use complocaledir and libc_cv_complocaledir.
22434         * configure.ac: Use libc_cv_complocaledir.
22435         * configure: Regenerate.
22436         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22437         -DCOMPLOCALEDIR.
22438         * locale/findlocale.c: Use COMPLOCALEDIR.
22439         * locale/loadarchive.c: Likewise.
22440         * locale/programs/locale.c: Likewise.
22441         * locale/programs/localedef.c: Likewise.
22442         * locale/programs/locarchive.c: Likewise.
22443         * localedata/Makefile: Use inst_complocaledir.
22444         * sysdeps/gnu/configure: Regenerate.
22445         * sysdeps/hppa/configure: Regenerate.
22446         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22447         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22449         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22450         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22451         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22452         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22454 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
22456         [BZ #19058]
22457         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
22458         AS_NEEDED.
22459         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
22460         workaround.
22461         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
22462         libmvec-static-only-routines): Added new file.
22463         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
22465 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22467         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
22468         of interrupted RPC instead of restoring it.
22470         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
22471         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
22472         libc_hidden_def.
22473         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
22474         into initialized data instead of common. Define rtld_hidden_data_def.
22475         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
22476         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
22477         libc_hidden_def.
22478         (if_freenameindex): Add libc_hidden_weak.
22479         (if_nameindex): Add libc_hidden_weak.
22480         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
22481         __open64.
22482         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
22483         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
22484         * sysdeps/mach/nanosleep.c: Include <time.h>
22485         (__nanosleep): Rename to __libc_nanosleep.
22486         (__nanosleep): Add weak_alias.
22487         (nanosleep): Update alias.
22489 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
22491         * stdlib/strtod_nan.c: New file.
22492         * stdlib/strtod_nan_double.h: Likewise.
22493         * stdlib/strtod_nan_float.h: Likewise.
22494         * stdlib/strtod_nan_main.c: Likewise.
22495         * stdlib/strtod_nan_narrow.h: Likewise.
22496         * stdlib/strtod_nan_wide.h: Likewise.
22497         * stdlib/strtof_nan.c: Likewise.
22498         * stdlib/strtold_nan.c: Likewise.
22499         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
22500         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
22501         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
22502         * wcsmbs/wcstod_nan.c: Likewise.
22503         * wcsmbs/wcstof_nan.c: Likewise.
22504         * wcsmbs/wcstold_nan.c: Likewise.
22505         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
22506         strtold_nan.
22507         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
22508         wcstof_nan.
22509         * include/stdlib.h (__strtof_nan): Declare and use
22510         libc_hidden_proto.
22511         (__strtod_nan): Likewise.
22512         (__strtold_nan): Likewise.
22513         (__wcstof_nan): Likewise.
22514         (__wcstod_nan): Likewise.
22515         (__wcstold_nan): Likewise.
22516         * include/wchar.h (____wcstoull_l_internal): Declare.
22517         * stdlib/strtod_l.c: Do not include <ieee754.h>.
22518         (____strtoull_l_internal): Remove declaration.
22519         (STRTOF_NAN): Define macro.
22520         (SET_MANTISSA): Remove macro.
22521         (STRTOULL): Likewise.
22522         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
22523         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
22524         (STRTOF_NAN): Define macro.
22525         (SET_MANTISSA): Remove macro.
22526         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
22527         (SET_MANTISSA): Remove macro.
22528         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
22529         macro.
22530         (SET_MANTISSA): Remove macro.
22531         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
22532         macro.
22533         (SET_MANTISSA): Remove macro.
22534         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
22535         (SET_MANTISSA): Remove macro.
22536         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
22537         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
22538         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
22540         [BZ #19266]
22541         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
22542         upper case and lower case letters inside NAN(), not using TOLOWER.
22543         * stdlib/tst-strtod-nan-locale-main.c: New file.
22544         * stdlib/tst-strtod-nan-locale.c: Likewise.
22545         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
22546         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
22547         Depend on $(gen-locales).
22548         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
22549         * wcsmbs/tst-wcstod-nan-locale.c: New file.
22550         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
22551         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
22552         Depend on $(gen-locales).
22553         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
22555 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
22557         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
22559         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
22561         __finitel, __isinfl, and __isnanl.
22562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22563         Likewise.
22564         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
22566         __finitel.
22567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22568         Likewise.
22569         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22571 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22573         * malloc/memusage.c (me): Remove redundant getenv call.
22575 2015-10-24  Florian Weimer  <fweimer@redhat.com>
22577         [BZ #19143]
22578         [BZ #19164]
22579         * nptl/check-cpuset.h: Remove.
22580         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22581         Remove CPU set size check.
22582         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22583         Likewise.
22584         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
22585         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22586         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
22587         (__pthread_setaffinity_new): Remove CPU set size check.
22588         * sysdeps/unix/sysv/linux/sched_setaffinity.c
22589         (__kernel_cpumask_size): Remove.
22590         (__sched_setaffinity_new): Remove CPU set size check.
22591         * manual/threads.texi (Default Thread Attributes): Remove stale
22592         reference to check_cpuset_attr, determine_cpumask_size in comment.
22593         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
22594         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
22595         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
22596         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
22597         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
22598         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
22599         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
22600         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
22601         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
22602         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
22603         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
22604         skeleton test file.
22605         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
22606         tst-affinity-pid.
22608 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22610         * scripts/update-abilist.sh: New file.
22611         * Makefile (+subdir_targets): Add subdir_update-all-abi.
22612         * Makerules (update-all-abi-%, update-all-abi)
22613         (subdir_update-all-abi): New targets.
22614         * elf/Makefile (update-all-abi): New target.
22616 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22618         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
22619         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
22620         (__libc_lock_define_initialized): Use it.
22621         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
22622         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
22623         * malloc/malloc.c (main_arena): Likewise.
22624         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22625         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22627 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
22629         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22630         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
22631         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22632         (PTRACE_O_MASK): Update value.
22633         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
22634         New value in enum __ptrace_setoptions.
22635         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22636         (PTRACE_O_MASK): Update value.
22637         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22638         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22639         (PTRACE_O_MASK): Update value.
22640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
22641         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22642         (PTRACE_O_MASK): Update value.
22643         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
22644         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22645         (PTRACE_O_MASK): Update value.
22646         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
22647         New value in enum __ptrace_setoptions.
22648         (PTRACE_O_MASK): Update value.
22649         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
22650         New value in enum __ptrace_setoptions.
22651         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22652         (PTRACE_O_MASK): Update value.
22654         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
22655         New macro.
22656         (PACKET_AUXDATA): Likewise.
22657         (PACKET_ORIGDEV): Likewise.
22658         (PACKET_VERSION): Likewise.
22659         (PACKET_HDRLEN): Likewise.
22660         (PACKET_RESERVE): Likewise.
22661         (PACKET_TX_RING): Likewise.
22662         (PACKET_LOSS): Likewise.
22663         (PACKET_VNET_HDR): Likewise.
22664         (PACKET_TX_TIMESTAMP): Likewise.
22665         (PACKET_TIMESTAMP): Likewise.
22666         (PACKET_FANOUT): Likewise.
22667         (PACKET_TX_HAS_OFF): Likewise.
22668         (PACKET_QDISC_BYPASS): Likewise.
22669         (PACKET_ROLLOVER_STATS): Likewise.
22670         (PACKET_FANOUT_DATA): Likewise.
22671         (PACKET_MR_UNICAST): Likewise.
22673         [BZ #19242]
22674         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
22675         (TOUPPER): Likewise.
22676         * stdlib/tst-strtol-locale-main.c: New file.
22677         * stdlib/tst-strtol-locale.c: Likewise.
22678         * stdlib/Makefile (tests): Add tst-strtol-locale.
22679         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
22680         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
22681         Depend on $(gen-locales).
22682         * wcsmbs/tst-wcstol-locale.c: New file.
22683         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
22684         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
22685         tr_TR.ISO-8859-9.
22686         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
22687         Depend on $(gen-locales).
22689 2015-11-20  Roland McGrath  <roland@hack.frob.com>
22691         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
22692         __glibc_likely instead of __builtin_expect.  After falling back to
22693         dyncode_create in a non-ET_DYN case, use the allocate_code_data
22694         system interface to register the code pages as occupied.
22696 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
22698         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22699         [!ARM_MATH_PRIVATE_H].
22700         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
22701         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22702         [!HPPA_MATH_PRIVATE_H].
22703         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
22704         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
22705         to [!I386_MATH_PRIVATE_H].
22706         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
22707         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
22708         Change guard to [!M68K_MATH_PRIVATE_H].
22709         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
22710         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
22711         guard to [!MICROBLAZE_MATH_PRIVATE_H].
22712         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
22713         macro.
22714         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22715         [!MIPS_MATH_PRIVATE_H].
22716         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
22717         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22718         [!NIO2_MATH_PRIVATE_H].
22719         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
22720         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22721         [!TILE_MATH_PRIVATE_H].
22722         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
22724         [BZ #15421]
22725         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
22726         initialize with 0 and define as weak alias of __signgam.
22727         * include/math.h [!_ISOMAC] (__signgam): Declare.
22728         * math/Makefile (libm-calls): Add w_lgamma_compat.
22729         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
22730         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
22731         test-signgam-ullong-init.
22732         (tests-static): Add test-signgam-uchar-static,
22733         test-signgam-uchar-init-static, test-signgam-uint-static,
22734         test-signgam-uint-init-static, test-signgam-ullong-static and
22735         test-signgam-ullong-init-static.
22736         (CFLAGS-test-signgam-uchar.c): New variable.
22737         (CFLAGS-test-signgam-uchar-init.c): Likewise.
22738         (CFLAGS-test-signgam-uchar-static.c): Likewise.
22739         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22740         (CFLAGS-test-signgam-uint.c): Likewise.
22741         (CFLAGS-test-signgam-uint-init.c): Likewise.
22742         (CFLAGS-test-signgam-uint-static.c): Likewise.
22743         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22744         (CFLAGS-test-signgam-ullong.c): Likewise.
22745         (CFLAGS-test-signgam-ullong-init.c): Likewise.
22746         (CFLAGS-test-signgam-ullong-static.c): Likewise.
22747         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22748         * math/Versions (libm): Add GLIBC_2.23.
22749         * math/lgamma-compat.h: New file.
22750         * math/test-signgam-main.c: Likewise.
22751         * math/test-signgam-uchar-init-static.c: Likewise.
22752         * math/test-signgam-uchar-init.c: Likewise.
22753         * math/test-signgam-uchar-static.c: Likewise.
22754         * math/test-signgam-uchar.c: Likewise.
22755         * math/test-signgam-uint-init-static.c: Likewise.
22756         * math/test-signgam-uint-init.c: Likewise.
22757         * math/test-signgam-uint-static.c: Likewise.
22758         * math/test-signgam-uint.c: Likewise.
22759         * math/test-signgam-ullong-init-static.c: Likewise.
22760         * math/test-signgam-ullong-init.c: Likewise.
22761         * math/test-signgam-ullong-static.c: Likewise.
22762         * math/test-signgam-ullong.c: Likewise.
22763         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
22764         wrapper of w_lgamma_main.c.
22765         * math/w_lgamma_compat.c: New file.
22766         * math/w_lgamma_compatf.c: Likewise.
22767         * math/w_lgamma_compatl.c: Likewise.
22768         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
22769         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22770         defining compatibility symbols.
22771         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
22772         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
22773         wrapper of w_lgammaf_main.c.
22774         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
22775         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22776         defining compatibility symbols.
22777         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
22778         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22779         wrapper of w_lgammal_main.c.
22780         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
22781         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22782         defining compatibility symbols.
22783         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22784         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22785         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22786         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22787         <lgamma-compat.h>.
22788         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22789         (__ieee754_gamma): Define as alias.
22790         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22791         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22792         <lgamma-compat.h>.
22793         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22794         (__ieee754_gammaf): Define as alias.
22795         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22796         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22797         <lgamma-compat.h>.
22798         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22799         (__ieee754_gammal): Define as alias.
22800         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22801         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22802         <math/w_lgamma_compat.c>.
22803         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22804         Define as alias of __lgamma_compat and use in defining lgammal.
22805         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22806         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22807         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22808         (USE_AS_COMPAT): New macro.
22809         (LGAMMA_OLD_VER): Undefine and redefine.
22810         (lgammal): Do not define here.
22811         (gammal): Only define here if [GAMMA_ALIAS].
22812         * conform/linknamespace.pl (@whitelist): Remove signgam.
22813         * sysdeps/nacl/libm.abilist: Update.
22814         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22815         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22816         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22817         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22818         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22819         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22820         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22821         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22822         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22823         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22824         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22825         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22827         Likewise.
22828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22829         Likewise.
22830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22831         Likewise.
22832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22833         Likewise.
22834         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22835         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22836         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22837         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22838         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22840         Likewise.
22841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22842         Likewise.
22843         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22844         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22845         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22847 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22849         [BZ #16364]
22850         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
22851         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
22853 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22855         * sysdeps/s390/fpu/bits/mathinline.h:
22856         Use __asm__ [__volatile__] instead of asm [volatile].
22857         * sysdeps/s390/abort-instr.h: Likewise.
22858         * sysdeps/s390/atomic-machine.h: Likewise.
22859         * sysdeps/s390/bits/string.h: Likewise.
22860         * sysdeps/s390/dl-tls.h: Likewise.
22861         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22862         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22863         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22864         * sysdeps/s390/fpu/fesetround.c: Likewise.
22865         * sysdeps/s390/fpu/fpu_control.h: Likewise.
22866         * sysdeps/s390/fpu/s_fma.c: Likewise.
22867         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
22868         * sysdeps/s390/memusage.h: Likewise.
22869         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
22870         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
22871         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
22872         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
22873         * sysdeps/s390/nptl/tls.h: Likewise.
22874         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
22875         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22876         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22877         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
22878         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22879         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22880         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
22881         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22882         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22883         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
22884         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
22885         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22886         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22887         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
22888         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22889         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22890         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
22891         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22892         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
22893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22894         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
22895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22896         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
22898 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22899             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22901         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22902         Add lwarx hint, and use macro for acquire instruction.
22903         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22904         Likewise.
22905         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
22906         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
22907         update to use new atomic macros.
22909 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22911         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22912         (__lll_trylock_elision): Fix setting of adapt_count.
22913         * sysdeps/unix/sysv/linux/powerpc/htm.h
22914         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
22915         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
22916         (_ABORT_SYSCALL): Renumber, and clarify definition.
22917         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
22919 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22921         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
22922         after system headers to prevent MIN/MAX redefinition.  Define
22923         HAVE_ALLOCA to preserve builtin alloca usage.
22925 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22927         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
22928         static and don't set or restore rounding.
22929         (__cos)[IN_SINCOS]: Likewise.
22930         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
22931         (__sincos): Set and restore rounding mode.  Remove check for infinite
22932         or NaN input.
22934         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
22936         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
22937         as used.
22939 2015-11-16  Florian Weimer  <fweimer@redhat.com>
22941         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
22943 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22945         * config.make.in (have-glob-dat-reloc): New.
22946         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
22947         target supports GLOB_DAT relocaton. AC_SUBST.
22948         * configure: Regenerated.
22949         * elf/Makefile (tests): Add tst-prelink.
22950         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22951         (tst-prelink-ENV): New.
22952         ($(objpfx)tst-prelink-conflict.out): Likewise.
22953         ($(objpfx)tst-prelink-cmp.out): Likewise.
22954         * sysdeps/x86/tst-prelink.c: Moved to ...
22955         * elf/tst-prelink.c: Here.
22956         * sysdeps/x86/tst-prelink.exp: Moved to ...
22957         * elf/tst-prelink.exp: Here.
22958         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
22959         (tst-prelink-ENV): Removed.
22960         ($(objpfx)tst-prelink-conflict.out): Likewise.
22961         ($(objpfx)tst-prelink-cmp.out): Likewise.
22962         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
22964 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
22966         [BZ #14551]
22967         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
22968         (__mpn_construct_long_double): If high part overflows to infinity,
22969         set errno and recompute overflowed result of the correct sign.
22970         * sysdeps/ieee754/ldbl-128ibm/Makefile
22971         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
22972         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
22973         $(libm).
22974         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
22976 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
22978         [BZ #15479]
22979         [BZ #19238]
22980         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
22981         floating-point state after first operation on input.  Restore full
22982         state rather than just rounding mode.
22983         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
22984         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
22985         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
22987         [BZ #19235]
22988         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
22989         add 0.5 to integer arguments.
22990         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
22991         Likewise.
22992         (.LC2): New object.
22994 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
22996         * scripts/pylintrc (reports): Set to no.
22998 2015-11-10  Roland McGrath  <roland@hack.frob.com>
23000         * elf/dl-load.c (open_verify): Take new argument FD.
23001         Skip __open call if passed FD is not -1.
23002         (_dl_map_object, open_path): Update callers.
23003         * elf/dl-sysdep-open.h: New file.
23004         * elf/dl-load.c: Include it.
23005         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
23006         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
23007         * sysdeps/nacl/dl-sysdep-open.h: New file.
23008         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
23009         from libc to rtld.
23011 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23013         [BZ #19228]
23014         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
23015         and restore full floating-point state.
23016         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23017         Likewise.
23018         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
23019         Likewise.
23020         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
23021         Likewise.
23022         * math/test-nearbyint-except-2.c: New file.
23023         * math/Makefile (tests): Add test-nearbyint-except-2.
23025 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
23027         [BZ #19178]
23028         * sysdeps/x86/Makefile (tests): Add tst-prelink.
23029         (tst-prelink-ENV): New.
23030         ($(objpfx)tst-prelink-conflict.out): Likewise.
23031         ($(objpfx)tst-prelink-cmp.out): Likewise.
23032         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23033         * sysdeps/x86/tst-prelink.c: New file.
23034         * sysdeps/x86/tst-prelink.exp: Likewise.
23036 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23038         * math/auto-libm-test-in: Add another test of pow.
23039         * math/auto-libm-test-out: Regenerated.
23040         * math/libm-test.inc (pow_test_data): Add another test.
23042 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23044         [BZ #19219]
23045         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
23046         weak_alias to nearbyintl.
23048 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23050         * sysdeps/aarch64/bits/string.h: New file.
23051         (_STRING_ARCH_unaligned): Define.
23053 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23055         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
23056         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23057         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23058         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
23059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
23061 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
23063         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
23064         for original name of the DSO.  Add it to the name list of the DSO
23065         if it is actually given.
23066         (_dl_map_object): Keep track of whether an audit module rewrote
23067         the file name.  If yes, pass the original name to
23068         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
23069         debugging is enabled, log the change of the file name.
23070         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
23071         _dl_map_object_from_fd.
23072         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
23073         * elf/tst-audit11.c: New file
23074         * elf/tst-auditmod11.c: New file.
23075         * elf/tst-audit11mod1.c: New file.
23076         * elf/tst-audit11mod2.c: New file.
23077         * elf/tst-audit11mod2.map: New file.
23078         * elf/tst-audit12.c: New file
23079         * elf/tst-auditmod12.c: New file.
23080         * elf/tst-audit12mod1.c: New file.
23081         * elf/tst-audit12mod2.c: New file.
23082         * elf/tst-audit12mod2.map: New file.
23083         * elf/tst-audit12mod3.c: New file.
23085 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23087         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
23088         Don't create weak aliases,
23089         because versioned symbols are created later.
23090         * sysdeps/s390/s390-32/setjmp.S
23091         (setjmp, _setjmp): Remove weak and rename to an unique name
23092         in SHARED case due to existing versioned symbols.
23093         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23094         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
23095         (getcontext): Create weak alias only in non SHARED case.
23096         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23098 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23100         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
23101         (__ASSUME_*_SYSCALL) Define new macros.
23102         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
23103         Remove socketcall syscalls.
23104         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
23105         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
23106         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
23107         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
23108         * sysdeps/unix/sysv/linux/send.c (__libc_send):
23109         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
23111 2015-11-09  Florian Weimer  <fweimer@redhat.com>
23113         [BZ #12926]
23114         Terminate process on invalid netlink response.
23115         * sysdeps/unix/sysv/linux/netlinkaccess.h
23116         (__netlink_assert_response): Declare.
23117         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
23118         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
23119         (sysdep_routines): Add netlink_assert_response.
23120         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
23121         __netlink_assert_response.
23122         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
23123         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
23124         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
23125         __netlink_assert_response.
23127 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23129         [BZ #19178]
23130         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
23131         (RTYPE_CLASS_PLT): Likewise.
23132         (RTYPE_CLASS_COPY): Likewise.
23133         (RTYPE_CLASS_TLS): Likewise.
23134         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
23135         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
23136         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
23137         DL_DEBUG_PRELINK.
23139 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
23141         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
23142         calls with argument -0.5.
23143         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
23145         * configure.ac (libc_cv_z_nodelete): Remove configure test.
23146         (libc_cv_z_nodlopen): Likewise.
23147         (libc_cv_z_initfirst): Likewise.
23148         * configure: Regenerated.
23150 2015-11-06  Florian Weimer  <fweimer@redhat.com>
23152         Simplify abilist format to be line-based.
23153         * scripts/abilist.awk: Collect descriptors in the descs variable.
23154         (emit): Write descs variable and sort it
23155         externally, with sort.
23156         * sysdeps/**/*.abilist: Convert to new format.
23158 2015-11-06  Mark Wielaard  <mjw@redhat.com>
23160         [BZ #11460]
23161         * io/Makefile (routines): Add fts64.
23162         (tests): Add tst-fts and tst-fts-lfs.
23163         (CFLAGS-fts64.c): New.
23164         * io/Versions (GLIBC_2.23): New.
23165         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23166         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23167         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23168         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23169         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23170         (FTSENT64): Likewise.
23171         (fts64_children): Likewise.
23172         (fts64_close): Likewise.
23173         (fts64_open): Likewise.
23174         (fts64_read): Likewise.
23175         (fts64_set): Likewise.
23176         * io/fts64.c: New file.
23177         * io/tst-fts.c: New test.
23178         * io/tst-fts-lfs.c: Likewise.
23179         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23180         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23181         fts64_set.
23182         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23183         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23184         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23185         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23186         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23187         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23188         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23189         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23190         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23191         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23192         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23193         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23194         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23196         Likewise.
23197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23198         Likewise.
23199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23201         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23202         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23203         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23204         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23205         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23208         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23209         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23210         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23211         * sysdeps/wordsize-64/fts.c: New file.
23212         * sysdeps/wordsize-64/fts64.c: Likewise.
23213         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23214         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23215         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23216         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23218 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23220         * math/libm-test.inc (NON_FINITE): New macro.
23221         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23222         * math/gen-libm-test.pl (show_exceptions): Add argument
23223         $non_finite.
23224         (parse_args): Update call to show_exceptions.
23225         * math/test-math-finite.h: New file.
23226         * math/test-math-no-finite.h: Likewise.
23227         * math/test-double-finite.c: Likewise.
23228         * math/test-float-finite.c: Likewise.
23229         * math/test-ldouble-finite.c: Likewise.
23230         * math/test-double.c: Include "test-math-no-finite.h".
23231         * math/test-float.c: Include "test-math-no-finite.h".
23232         * math/test-ldouble.c: Include "test-math-no-finite.h".
23233         * math/test-math-inline.h (TEST_FINITE): New macro.
23234         * math/test-math-vector.h (TEST_FINITE): Likewise.
23235         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23236         (libm-tests): Add test-float-finite and test-double-finite.
23237         ($(objpfx)test-float-finite.o): New dependency on
23238         $(objpfx)libm-test.stmp.
23239         ($(objpfx)test-double-finite.o): Likewise.
23240         ($(objpfx)test-ldouble-finite.o): Likewise.
23241         (libm-test-no-inline-cflags): New variable.
23242         (libm-test-finite-cflags): Likewise.
23243         (CFLAGS-test-float-finite.c): Likewise.
23244         (CFLAGS-test-double-finite.c): Likewise.
23245         (CFLAGS-test-ldouble-finite.c): Likewise.
23246         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23247         (CFLAGS-test-double.c): Likewise.
23248         (CFLAGS-test-ldouble.c): Likewise.
23250 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23252         * io/fcntl.c (__fcntl): Add ... to prototype.
23253         * misc/ioctl.c (__ioctl): Likewise.
23254         * misc/syscall.c (syscall): Likewise.
23256 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23258         * scripts/list-fixed-bugs.py: New file.
23260         [BZ #19213]
23261         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23262         returned for argument 1.
23263         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23264         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23265         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23266         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23267         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23268         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23270         [BZ #19211]
23271         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23272         __USE_XOPEN], not if [!__USE_ISOC99].
23273         (lgammaf): Likewise.
23274         (lgammal): Likewise.
23275         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23276         (gammaf): Likewise.
23277         (gammal): Likewise.
23278         * math/test-signgam-finite-c11.c: New file.
23279         * math/test-signgam-finite-c99.c: Likewise.
23280         * math/test-signgam-finite.c: Likewise.
23281         * math/Makefile (tests): Add test-signgam-finite,
23282         test-signgam-finite-c99 and test-signgam-finite-c11.
23283         (CFLAGS-test-signgam-finite.c): New variable.
23284         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23285         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23287         [BZ #19212]
23288         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23289         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23290         500].
23291         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23292         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23293         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23294         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23295         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23296         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23297         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23298         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23299         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23300         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23302         [BZ #19209]
23303         * math/bits/math-finite.h (ldexp): Remove declaration.
23304         (ldexpf): Likewise.
23305         (ldexpl): Likewise.
23307         [BZ #19205]
23308         * math/bits/math-finite.h (acosf): Condition declaration on
23309         [__USE_ISOC99].
23310         (acosl): Likewise.
23311         (acoshf): Likewise.
23312         (acoshl): Likewise.
23313         (asinf): Likewise.
23314         (asinl): Likewise.
23315         (atan2f): Likewise.
23316         (atan2l): Likewise.
23317         (atanhf): Likewise.
23318         (atanhl): Likewise.
23319         (coshf): Likewise.
23320         (coshl): Likewise.
23321         (expf): Likewise.
23322         (expl): Likewise.
23323         (fmodf): Likewise.
23324         (fmodl): Likewise.
23325         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23326         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23327         (j0l): Likewise.
23328         (y0f): Likewise.
23329         (y0l): Likewise.
23330         (j1f): Likewise.
23331         (j1l): Likewise.
23332         (y1f): Likewise.
23333         (y1l): Likewise.
23334         (jnf): Likewise.
23335         (jnl): Likewise.
23336         (ynf): Likewise.
23337         (ynl): Likewise.
23338         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23339         (lgammal_r): Likewise.
23340         (__lgamma_r_finite): New declaration.
23341         (__lgammaf_r_finite): Likewise.
23342         (__lgammal_r_finite): Likewise.
23343         (lgamma): Use __lgamma_r_finite.
23344         (lgammaf): Condition definition on [__USE_ISOC99].  Use
23345         __lgammaf_r_finite.
23346         (lgammal): Condition definition on [__USE_ISOC99].  Use
23347         __lgammal_r_finite.
23348         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
23349         __lgamma_r_finite.
23350         (gammaf): Condition definition on [__USE_ISOC99].  Use
23351         __lgammaf_r_finite.
23352         (gammal): Condition definition on [__USE_ISOC99].  Use
23353         __lgammal_r_finite.
23354         (logf): Condition declaration on [__USE_ISOC99].
23355         (logl): Likewise.
23356         (log10f): Likewise.
23357         (log10l): Likewise.
23358         (ldexpf): Likewise.
23359         (ldexpl): Likewise.
23360         (powf): Likewise.
23361         (powl): Likewise.
23362         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23363         __USE_ISOC99].
23364         (remainderf): Condition declaration on [__USE_ISOC99].
23365         (remainderl): Likewise.
23366         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23367         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23368         (scalbl): Likewise.
23369         (sinhf): Condition declaration on [__USE_ISOC99].
23370         (sinhl): Likewise.
23371         (sqrtf): Likewise.
23372         (sqrtl): Likewise.
23374 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23376         * sysdeps/arm/atomic-machine.h
23377         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23378         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23379         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23380         Remove conditional code.
23381         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23382         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23383         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23384         Change conditional to [__ASSEMBLER__].
23385         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23386         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23387         [!__ASSEMBLER__].
23388         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23389         code.
23390         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23391         conditional macro definitions.
23392         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23393         (__arch_compare_and_exchange_val_16_acq): Likewise.
23394         (__arch_compare_and_exchange_val_32_acq): Likewise.
23395         (atomic_exchange_and_add): Likewise.
23396         (atomic_add): Likewise.
23397         (atomic_add_negative): Likewise.
23398         (atomic_add_zero): Likewise.
23399         (atomic_bit_set): Likewise.
23400         (atomic_bit_test_set): Likewise.
23401         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23402         code unconditional.
23403         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23405         * math/test-math-errno.h: New file.
23406         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23407         empty.
23408         (TEST_ERRNO): New macro.
23409         (TEST_EXCEPTIONS): Likewise.
23410         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23411         (TEST_EXCEPTIONS): Likewise.
23412         * math/test-math-vector.h (TEST_ERRNO): Likewise.
23413         * math/test-double.c: Include "test-math-errno.h".
23414         * math/test-float.c: Likewise.
23415         * math/test-ldouble.c: Likewise.
23416         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23417         code unconditional.
23418         (test_exceptions): Only run code if TEST_EXCEPTIONS.
23419         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23420         unconditional.
23421         (test_errno): Only run code if TEST_ERRNO.
23422         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23424 2015-11-04  Florian Weimer  <fweimer@redhat.com>
23426         * nptl/tst-once5.cc: Remove attribution.
23428 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23430         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23431         sqrt, tan, tanh, y0, y1 and yn.
23432         * math/auto-libm-test-out: Regenerated.
23433         * math/libm-test.inc (scalb_test_data): Add more tests.
23434         (scalbn_test_data): Likewise.
23435         (scalbln_test_data): Likewise.
23436         (signbit_test_data): Likewise.
23437         (sin_test_data): Likewise.
23438         (sincos_test_data): Likewise.
23439         (sinh_test_data): Likewise.
23440         (sqrt_test_data): Likewise.
23441         (tan_test_data): Likewise.
23442         (tanh_test_data): Likewise.
23443         (tgamma_test_data): Likewise.
23444         (y0_test_data): Likewise.
23445         (y1_test_data): Likewise.
23446         (yn_test_data): Likewise.
23447         (significand_test_data): Likewise.
23448         * sysdeps/i386/fpu/libm-test-ulps: Update.
23450 2015-11-03  David Kastrup  <dak@gnu.org>
23452         [BZ #18604]
23453         * assert/assert.h (assert): Don't macro-expand failed assertion
23454         expression in error message.
23455         * malloc/malloc.c (assert): Likewise.
23457 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
23459         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
23460         test.
23461         * configure: Regenerated.
23463 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
23465         * math/libm-test.inc (modf_test_data): Add more tests.
23466         (nearbyint_test_data): Likewise.
23467         (nextafter_test_data): Likewise.
23468         (nexttoward_test_data): Likewise.
23469         (pow_test_data): Likewise.
23470         (remainder_test_data): Likewise.
23471         (remquo_test_data): Likewise.
23472         (rint_test_data): Likewise.
23474         [BZ #19201]
23475         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23476         Check for zero remainder in case of large exponents and ensure
23477         correct sign of result in that case.
23478         * math/libm-test.inc (remainder_test_data): Add more tests.
23480         [BZ #6799]
23481         * math/s_nextafter.c: Include <errno.h>.
23482         (__nextafter): Set errno on overflow and underflow.
23483         * math/s_nexttowardf.c: Include <errno.h>.
23484         (__nexttowardf): Set errno on overflow and underflow.
23485         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
23486         (__nextafterl): Set errno on overflow and underflow.
23487         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
23488         (__nexttoward): Set errno on overflow and underflow.
23489         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
23490         (__nexttowardf): Set errno on overflow and underflow.
23491         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
23492         (__nextafterf): Set errno on overflow and underflow.
23493         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
23494         (__nextafterl): Set errno on overflow and underflow.
23495         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
23496         (__nexttoward): Set errno on overflow and underflow.
23497         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
23498         (__nexttowardf): Set errno on overflow and underflow.
23499         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
23500         (__nextafterl): Set errno on overflow and underflow.
23501         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
23502         (__nexttoward): Set errno on overflow and underflow.
23503         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
23504         (__nexttowardf): Set errno on overflow and underflow.
23505         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
23506         (__nexttoward): Set errno on overflow and underflow.
23507         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
23508         (__nexttowardf): Set errno on overflow and underflow.
23509         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
23510         (__nldbl_nexttowardf): Set errno on overflow and underflow.
23511         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
23512         (__nextafterl): Set errno on overflow and underflow.
23513         * math/libm-test.inc (nextafter_test_data): Do not allow errno
23514         setting to be missing on overflow.  Add more tests.
23515         (nexttoward_test_data): Likewise.
23517         * configure.ac (libc_cv_initfini_array): Remove configure test.
23518         * configure: Regenerated.
23520 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
23522         [BZ #19189]
23523         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
23524         non-finite argument handle arguments with negative sign.
23526         * math/libm-test.inc (j0_test_data): Do not test sign of zero
23527         result from infinite argument.
23528         (j1_test_data): Likewise.
23529         (jn_test_data): Likewise.
23530         (y0_test_data): Likewise.
23531         (y1_test_data): Likewise.
23532         (yn_test_data): Likewise.
23534         [BZ #16171]
23535         * math/w_remainder.c (drem): Define as weak alias of __remainder.
23536         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
23537         * math/w_remainderf.c (dremf): Define as weak alias of
23538         __remainderf.
23539         * math/w_remainderl.c (dreml): Define as weak alias of
23540         __remainderl.
23541         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
23542         __remainder.
23543         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
23544         __remainderf.
23545         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
23546         __remainderl.
23547         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
23548         weak alias of remainderl.
23549         * sysdeps/ieee754/ldbl-opt/w_remainder.c
23550         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
23551         alias of __remainder.
23552         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
23553         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
23554         strong alias of __remainderl.
23555         (dreml): Use long_double_symbol.
23556         * math/Makefile (libm-calls): Remove w_drem.
23557         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
23558         (CFLAGS-nldbl-drem.c): Remove variable.
23559         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
23560         * math/w_drem.c: Remove file.
23561         * math/w_dremf.c: Likewise.
23562         * math/w_dreml.c: Likewise.
23563         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
23564         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
23565         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
23567         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
23568         * sysdeps/i386/configure: Regenerated.
23569         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
23570         * sysdeps/x86_64/configure: Regenerated.
23572         * configure.ac (libc_cv_asm_protected_directive): Remove configure
23573         test.
23574         (libc_cv_visibility_attribute): Likewise.
23575         (libc_cv_protected_data): Test unconditionally.
23576         (libc_cv_broken_visibility_attribute): Remove configure test.
23577         (libc_cv_have_sdata_section): Test unconditionally.
23578         * configure: Regenerated.
23580         * include/libc-internal.h (libc_max_align_t): Remove typedef.
23581         * include/scratch_buffer.h: Include <stddef.h> instead of
23582         <libc-internal.h>.
23583         (struct scratch_buffer): Use max_align_t instead of
23584         libc_max_align_t.
23586 2015-10-29  Florian Weimer  <fweimer@redhat.com>
23588         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
23589         instead of extend_alloca.  Change control flow to avoid a goto.
23590         Remove assert which is trivially always true.
23592 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23594         [BZ #16068]
23595         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
23596         (FE_ALL_EXCEPT_X86): New macro.
23597         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23598         FE_ALL_EXCEPT.  Ensure precision control is included in
23599         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23600         handle "denormal operand exception" and clear FZ and DAZ bits.
23601         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
23602         (FE_ALL_EXCEPT_X86): New macro.
23603         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23604         FE_ALL_EXCEPT.  Ensure precision control is included in
23605         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23606         handle "denormal operand exception" and clear FZ and DAZ bits.
23607         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
23608         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
23609         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23610         test-fenv-x87 and test-fenv-sse-2.
23611         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
23613         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
23614         * math/test-double.h (BUILD_COMPLEX): New macro.
23615         * math/test-float.h (BUILD_COMPLEX): Likewise.
23616         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
23618         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
23619         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
23620         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
23621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
23622         instead of DBL_DENORM_MIN in comment.
23623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
23624         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23625         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
23626         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
23627         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
23628         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23630 2015-10-28  Florian Weimer  <fweimer@redhat.com>
23632         [BZ #19048]
23633         * malloc/malloc.c (struct malloc_state): Update comment.  Add
23634         attached_threads member.
23635         (main_arena): Initialize attached_threads.
23636         * malloc/arena.c (list_lock): Update comment.
23637         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
23638         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
23639         (deattach_arena): New function.
23640         (_int_new_arena): Initialize arena reference count and deattach
23641         replaced arena.
23642         (get_free_list, reused_arena): Update reference count and deattach
23643         replaced arena.
23644         (arena_thread_freeres): Update arena reference count and only put
23645         unreferenced arenas on the free list.
23647 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23649         [BZ #19181]
23650         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
23651         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
23652         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
23653         * math/test-fenv-clear-main.c: New file.
23654         * math/test-fenv-clear.c: Likewise.
23655         * math/Makefile (tests): Add test-fenv-clear.
23656         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
23657         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23658         test-fenv-clear-sse.
23659         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
23661         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
23662         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
23663         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
23665 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23667         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
23668         static libc.
23670 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23672         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
23673         test.
23674         * sysdeps/i386/configure: Regenerated.
23675         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
23676         test.
23677         * sysdeps/x86_64/configure: Regenerated.
23678         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
23679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23680         memset-avx2 unconditionally instead of conditionally on
23681         [$(config-cflags-avx2) = yes].
23682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23683         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
23684         unconditional.
23685         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
23686         * sysdeps/x86_64/multiarch/memset_chk.S
23687         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
23688         to [IS_IN (libc) && SHARED].
23690 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23692         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
23693         configure test.
23694         * sysdeps/arm/configure: Regenerated.
23695         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
23696         Define variable if not already defined.
23698         [BZ #17404]
23699         * sysdeps/mips/atomic-machine.h
23700         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
23701         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
23702         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23704         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
23705         unconditional.
23706         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
23707         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23708         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
23709         unconditional.
23710         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23711         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
23712         unconditional.
23713         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23714         * stdlib/setenv.c
23715         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
23716         code unconditional.
23717         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
23718         Remove conditional code.
23719         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23720         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
23721         unconditional.
23722         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23723         code.
23724         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23725         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
23726         unconditional.
23727         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23728         code.
23729         * sysdeps/ieee754/ldbl-128/k_tanl.c
23730         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23731         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23732         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
23733         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23734         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23735         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
23736         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
23737         unconditional.
23738         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23739         code.
23740         * sysdeps/ieee754/ldbl-96/k_tanl.c
23741         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23742         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23744         * nptl/tst-initializers1-c11.c: New file.
23745         * nptl/tst-initializers1-gnu11.c: Likewise.
23746         * nptl/Makefile (tests): Add these new tests.
23747         (CFLAGS-tst-initializers1-c11.c): New variable.
23748         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23750         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
23751         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
23752         instead of -std=gnu99.
23753         * configure.ac (systemtap): Test with -std=gnu11 instead of
23754         -std=gnu99.
23755         * configure: Regenerated.
23756         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
23757         in compilation command in comment.
23759         * sysdeps/nptl/configure.ac: Remove file.
23760         * sysdeps/nptl/configure: Remove generated file.
23761         * configure.ac (libc_cv_forced_unwind): Do not substitute.
23762         * configure: Regenerated.
23763         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
23764         * config.make.in (have-forced-unwind): Remove variable.
23765         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23766         unconditional.
23767         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
23768         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
23769         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
23770         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
23771         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23772         unconditional.
23774 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23776         [BZ #19174]
23777         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23778         .skip_lock_out_of_tbegin_retries.
23779         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23780         (__lll_lock_elision): Likewise, and respect a value of
23781         try_tbegin <= 0.
23783 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23785         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23786         statement.
23788 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23790         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23791         variable.
23792         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23793         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23795         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23796         of -std=c1x -D_ISOC11_SOURCE.
23798         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23799         * configure: Regenerated.
23800         * manual/install.texi (Tools for Compilation): Document
23801         requirement for GCC 4.7 or later.
23802         * INSTALL: Regenerated.
23804 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23806         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23807         on CNT to a conditional jump to 'puntdata'.
23809 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23811         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23812         (libc_cv_gcc_tls_model_attr): Likewise.
23813         * configure: Regenerated.
23815         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23816         * configure: Regenerated.
23817         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23819 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23821         * configure.ac (old_glibc_headers): Remove configure test.
23822         * configure: Regenerated.
23823         * config.make.in (old-glibc-headers): Remove variable.
23824         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23825         (install): Remove dependency on remove-old-headers.
23826         (headers2_0): Remove variable.
23827         (remove-old-headers): Remove rule.
23829         * configure.ac (libc_cv_dot_text): Remove configure test.
23830         (libc_cv_asm_set_directive): Use .text instead of
23831         ${libc_cv_dot_text} in configure test.
23832         * configure: Regenerated.
23834 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23836         [BZ #19168]
23837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23839 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23841         * configure.ac (CXX): Clear the variable if the C++ toolchain does
23842         not support static linking.
23843         * configure: Regenerate.
23845 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
23847         * math/libm-test.inc (check_float_internal): Do not special-case
23848         errors up to 0.5 ulp.
23850         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23851         log2.
23852         * math/auto-libm-test-out: Regenerated.
23853         * math/libm-test.inc (MAX_EXP): New macro.
23854         (ilogb_test_data): Add more tests.
23855         (isfinite_test_data): Likewise.
23856         (isgreater_test_data): Likewise.
23857         (isgreaterequal_test_data): Likewise.
23858         (isinf_test_data): Likewise.
23859         (isless_test_data): Likewise.
23860         (islessequal_test_data): Likewise.
23861         (islessgreater_test_data): Likewise.
23862         (isnan_test_data): Likewise.
23863         (isnormal_test_data): Likewise.
23864         (issignaling_test_data): Likewise.
23865         (isunordered_test_data): Likewise.
23866         (j0_test_data): Likewise.
23867         (j1_test_data): Likewise.
23868         (jn_test_data): Likewise.
23869         (lgamma_test_data): Likewise.
23870         (log_test_data): Likewise.
23871         (log10_test_data): Likewise.
23872         (log1p_test_data): Likewise.
23873         (log2_test_data): Likewise.
23874         (logb_test_data): Likewise.
23875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23877         [BZ #18611]
23878         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
23879         avoid excess range and precision on underflow.
23880         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23881         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
23882         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23883         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
23884         underflow.
23885         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23886         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23887         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23888         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23889         * math/auto-libm-test-in: Do not allow missing errno setting for
23890         tests of j1 and jn.
23891         * math/auto-libm-test-out: Regenerated.
23893 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
23895         [BZ #15491]
23896         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
23897         floating-point environment instead of clearing all exceptions.
23898         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
23899         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
23900         merging in "invalid" exceptions from frndint.
23901         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
23902         * math/test-nearbyint-except.c: New file.
23903         * math/Makefile (tests): Add test-nearbyint-except.
23905 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
23907         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
23909         * sysdeps/tile/libm-test-ulps: Regenerated.
23911 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
23914         (__NR_sync_file_range2): Assume it is always defined.
23915         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23916         (__NR_sync_file_range): Assume it is always defined.
23918 2015-10-22  Andreas Schwab  <schwab@suse.de>
23920         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23921         INTERNAL_SYSCALL_ERRNO.
23922         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23923         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23924         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23925         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23926         Likewise.
23927         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23929 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23931         * io/tst-fcntl.c (fd): New static variable.
23932         (do_prepare): Open temporary file here....
23933         (do_test): ...not here.
23935         * io/ftwtest-sh: Also trap on exit to remove temporary files.
23937 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23939         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
23940         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23941         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23942         Moved before "#ifdef __ASSEMBLER__".
23944 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23946         [BZ #19156]
23947         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
23948         arguments very close to 0.
23950 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
23952         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
23953         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
23955 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23957         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23958         New.  Defined for GCC 5 and above when not compiling for
23959         profiling.
23960         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23962         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23963         Renamed to ...
23964         (CFLAGS-epoll_pwait.o): This.
23965         (CFLAGS-mmap.c): Renamed to ...
23966         (CFLAGS-mmap.o): This.
23967         (CFLAGS-mmap64.c): Renamed to ...
23968         (CFLAGS-mmap64.o): This.
23969         (CFLAGS-epoll_pwait.os): New.
23970         (CFLAGS-mmap.os): Likewise.
23971         (CFLAGS-mmap64.os): Likewise.
23972         (CFLAGS-semtimedop.os): Likewise.
23973         (CFLAGS-semtimedop.c): Renamed to ...
23974         (CFLAGS-semtimedop.o): This.
23976 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23978         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
23979         warning message.
23981 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23983         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
23984         * Makefile ($(objpfx)c++-types-check.out): Filter out
23985         $(+gccwarn-c) instead of -Wstrict-prototypes.
23987         * io/fts.c (fts_open): Convert to prototype-style function
23988         definition.
23989         * malloc/mcheck.c (mcheck): Likewise.
23990         (mcheck_pedantic): Likewise.
23991         * posix/regexec.c (re_search_2_stub): Likewise.  Use
23992         internal_function.
23993         (re_search_internal): Likewise.
23994         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
23995         prototype-style function definition.
23996         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23997         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
23998         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
23999         (xdr_utmpptr): Likewise.
24000         (xdr_utmparr): Likewise.
24001         (xdr_utmpidle): Likewise.
24002         (xdr_utmpidleptr): Likewise.
24003         (xdr_utmpidlearr): Likewise.
24005         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
24006         log, log10 and log2.
24007         * math/auto-libm-test-out: Regenerated.
24008         * math/libm-test.inc (fmod_test_data): Add more tests.
24009         (fpclassify_test_data): Likewise.
24010         (frexp_test_data): Likewise.
24011         (hypot_test_data): Likewise.
24012         (ilogb_test_data): Likewise.
24014 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
24016         * debug/fortify_fail.c (__fortify_fail): Convert to
24017         prototype-style function definition.  Use internal_function.
24018         * libio/genops.c (save_for_backup): Convert to prototype-style
24019         function definition.
24020         * libio/wgenops.c (save_for_wbackup): Likewise.
24021         * login/grantpt.c (grantpt): Likewise.
24022         * login/ptsname.c (ptsname): Likewise.
24023         (__ptsname_r): Likewise.
24024         * login/unlockpt.c (unlockpt): Likewise.
24025         * mach/msgserver.c (__mach_msg_server): Likewise.
24026         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
24027         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
24028         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
24029         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
24030         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
24031         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
24032         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
24033         Likewise.
24034         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
24035         internal_function.
24036         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
24037         prototype-style function definition.
24038         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
24039         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
24040         (__pthread_create_2_0): Likewise.
24041         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
24042         * nptl/register-atfork.c (__register_atfork): Likewise.
24043         * posix/glob.c (glob): Likewise.
24044         * posix/regcomp.c (re_comp): Likewise.
24045         * posix/regexec.c (re_exec): Likewise.
24046         * stdlib/add_n.c [__STDC__]: Make code unconditional.
24047         [!__STDC__]: Remove conditional code.
24048         * stdlib/cmp.c [__STDC__]: Make code unconditional.
24049         [!__STDC__]: Remove conditional code.
24050         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
24051         [!__STDC__]: Remove conditional code.
24052         * stdlib/divrem.c [__STDC__]: Make code unconditional.
24053         [!__STDC__]: Remove conditional code.
24054         * stdlib/lshift.c [__STDC__]: Make code unconditional.
24055         [!__STDC__]: Remove conditional code.
24056         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
24057         [!__STDC__]: Remove conditional code.
24058         * stdlib/mul.c [__STDC__]: Make code unconditional.
24059         [!__STDC__]: Remove conditional code.
24060         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
24061         [!__STDC__]: Remove conditional code.
24062         * stdlib/rshift.c [__STDC__]: Make code unconditional.
24063         [!__STDC__]: Remove conditional code.
24064         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
24065         function definition.
24066         (STRTOF): Likewise.
24067         * stdlib/strtod_l.c (__STRTOF): Likewise.
24068         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
24069         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
24070         (__strtol_l): Likewise.
24071         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
24072         [!__STDC__]: Remove conditional code.
24073         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
24074         definition.
24075         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24076         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24077         type.
24078         (__strcasecmp): Convert to prototype-style function definition.
24079         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
24080         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24081         type.
24082         (__strncasecmp): Convert to prototype-style function definition.
24083         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
24084         * sunrpc/xdr.c (xdr_union): Likewise.
24085         * sunrpc/xdr_array.c (xdr_array): Likewise.
24086         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
24087         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
24088         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
24089         Likewise.
24090         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
24091         Likewise.
24092         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
24093         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24094         Likewise.
24095         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
24096         (LOCALE_PARAM_PROTO): Likewise.
24097         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
24098         argument type.
24099         (ut_argument_spec): Remove macro.
24100         (ut_argument_spec_iso): Rename to ut_argument_spec.
24101         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
24102         prototype-style function definition.
24103         (memcpy_uppcase): Likewise.
24104         (__strftime_internal): Likewise.
24105         (my_strftime): Likewise.
24106         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
24107         (LOCALE_PARAM_DECL): Likewise.
24108         [_LIBC] (LOCALE_PARAM): Include argument type.
24109         (__strptime_internal): Convert to prototype-style function
24110         definition.
24111         (strptime): Likewise.
24112         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24113         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24114         type.
24115         (__wcscasecmp): Convert to prototype-style function definition.
24116         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
24117         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24118         type.
24119         (__wcsncasecmp): Convert to prototype-style function definition.
24121         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
24122         function definition.
24123         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24124         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24125         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
24126         * elf/dl-minimal.c (_itoa): Likewise.
24127         * hurd/hurdmalloc.c (malloc): Likewise.
24128         (free): Likewise.
24129         (realloc): Likewise.
24130         * inet/inet6_option.c (inet6_option_space): Likewise.
24131         (inet6_option_init): Likewise.
24132         (inet6_option_append): Likewise.
24133         (inet6_option_alloc): Likewise.
24134         (inet6_option_next): Likewise.
24135         (inet6_option_find): Likewise.
24136         * io/ftw.c (FTW_NAME): Likewise.
24137         (NFTW_NAME): Likewise.
24138         (NFTW_NEW_NAME): Likewise.
24139         (NFTW_OLD_NAME): Likewise.
24140         * libio/iofwide.c (_IO_fwide): Likewise.
24141         * libio/strops.c (_IO_str_init_static_internal): Likewise.
24142         (_IO_str_init_static): Likewise.
24143         (_IO_str_init_readonly): Likewise.
24144         (_IO_str_overflow): Likewise.
24145         (_IO_str_underflow): Likewise.
24146         (_IO_str_count): Likewise.
24147         (_IO_str_seekoff): Likewise.
24148         (_IO_str_pbackfail): Likewise.
24149         (_IO_str_finish): Likewise.
24150         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
24151         (_IO_wstr_overflow): Likewise.
24152         (_IO_wstr_underflow): Likewise.
24153         (_IO_wstr_count): Likewise.
24154         (_IO_wstr_seekoff): Likewise.
24155         (_IO_wstr_pbackfail): Likewise.
24156         (_IO_wstr_finish): Likewise.
24157         * locale/programs/localedef.c (normalize_codeset): Likewise.
24158         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24159         (add_locales_to_archive): Likewise.
24160         (delete_locales_from_archive): Likewise.
24161         * malloc/malloc.c (__libc_mallinfo): Likewise.
24162         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24163         * misc/tsearch.c (__tfind): Likewise.
24164         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24165         * nptl/pthread_attr_getdetachstate.c
24166         (__pthread_attr_getdetachstate): Likewise.
24167         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24168         Likewise.
24169         * nptl/pthread_attr_getinheritsched.c
24170         (__pthread_attr_getinheritsched): Likewise.
24171         * nptl/pthread_attr_getschedparam.c
24172         (__pthread_attr_getschedparam): Likewise.
24173         * nptl/pthread_attr_getschedpolicy.c
24174         (__pthread_attr_getschedpolicy): Likewise.
24175         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24176         Likewise.
24177         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24178         Likewise.
24179         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24180         Likewise.
24181         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24182         Likewise.
24183         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24184         (__pthread_attr_init_2_0): Likewise.
24185         * nptl/pthread_attr_setdetachstate.c
24186         (__pthread_attr_setdetachstate): Likewise.
24187         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24188         Likewise.
24189         * nptl/pthread_attr_setinheritsched.c
24190         (__pthread_attr_setinheritsched): Likewise.
24191         * nptl/pthread_attr_setschedparam.c
24192         (__pthread_attr_setschedparam): Likewise.
24193         * nptl/pthread_attr_setschedpolicy.c
24194         (__pthread_attr_setschedpolicy): Likewise.
24195         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24196         Likewise.
24197         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24198         Likewise.
24199         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24200         Likewise.
24201         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24202         Likewise.
24203         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24204         Likewise.
24205         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24206         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24207         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24208         use internal_function.
24209         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24210         prototype-style function definition.
24211         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24212         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
24213         internal_function.
24214         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24215         Convert to prototype-style function definition.
24216         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24217         Likewise.
24218         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24219         Likewise.
24220         (__pthread_mutex_unlock): Likewise.
24221         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24222         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24223         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24224         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24225         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24226         * nss/makedb.c (process_input): Likewise.
24227         * posix/fnmatch.c (__strchrnul): Likewise.
24228         (__wcschrnul): Likewise.
24229         (fnmatch): Likewise.
24230         * posix/fnmatch_loop.c (FCT): Likewise.
24231         * posix/glob.c (globfree): Likewise.
24232         (__glob_pattern_type): Likewise.
24233         (__glob_pattern_p): Likewise.
24234         * posix/regcomp.c (re_compile_pattern): Likewise.
24235         (re_set_syntax): Likewise.
24236         (re_compile_fastmap): Likewise.
24237         (regcomp): Likewise.
24238         (regerror): Likewise.
24239         (regfree): Likewise.
24240         * posix/regexec.c (regexec): Likewise.
24241         (re_match): Likewise.
24242         (re_search): Likewise.
24243         (re_match_2): Likewise.
24244         (re_search_2): Likewise.
24245         (re_search_stub): Likewise.  Use internal_function
24246         (re_copy_regs): Likewise.
24247         (re_set_registers): Convert to prototype-style function
24248         definition.
24249         (prune_impossible_nodes): Likewise.  Use internal_function.
24250         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24251         prototype-style function definition.
24252         (inet_net_pton_ipv4): Likewise.
24253         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24254         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24255         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24256         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24257         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24258         Make variadic.
24259         * time/strptime_l.c (localtime_r): Convert to prototype-style
24260         function definition.
24261         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24262         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24263         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24264         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24266         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24267         definition.
24268         (_ufc_doit_r): Likewise.
24269         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24270         (_ufc_output_conversion_r): Likewise.
24271         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24272         * inet/rcmd.c (rcmd_af): Likewise.
24273         (rcmd): Likewise.
24274         (ruserok_af): Likewise.
24275         (ruserok): Likewise.
24276         (ruserok2_sa): Likewise.
24277         (ruserok_sa): Likewise.
24278         (iruserok_af): Likewise.
24279         (iruserok): Likewise.
24280         (__ivaliduser): Likewise.
24281         (__validuser2_sa): Likewise.
24282         * inet/rexec.c (rexec_af): Likewise.
24283         (rexec): Likewise.
24284         * inet/ruserpass.c (ruserpass): Likewise.
24285         * locale/programs/xmalloc.c (xcalloc): Likewise.
24286         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24287         * math/w_drem.c (__drem): Likewise.
24288         * math/w_dremf.c (__dremf): Likewise.
24289         * math/w_dreml.c (__dreml): Likewise.
24290         * misc/daemon.c (daemon): Likewise.
24291         * resolv/res_debug.c (p_fqnname): Likewise.
24292         * stdlib/div.c (div): Likewise.
24293         * string/memcmp.c (memcmp_bytes): Likewise.
24294         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24295         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24297         * crypt/cert.c (main): Convert to prototype-style function
24298         definition.
24299         * io/pipe.c (__pipe): Likewise.
24300         * io/pipe2.c (__pipe2): Likewise.
24301         * misc/futimesat.c (futimesat): Likewise.
24302         * misc/utimes.c (__utimes): Likewise.
24303         * posix/execve.c (__execve): Likewise.
24304         * posix/execvp.c (execvp): Likewise.
24305         * posix/execvpe.c (__execvpe): Likewise.
24306         * posix/fexecve.c (fexecve): Likewise.
24307         * socket/socketpair.c (socketpair): Likewise.
24308         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24309         * stdlib/erand48.c (erand48): Likewise.
24310         * stdlib/erand48_r.c (__erand48_r): Likewise.
24311         * stdlib/jrand48.c (jrand48): Likewise.
24312         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24313         * stdlib/lcong48.c (lcong48): Likewise.
24314         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24315         * stdlib/nrand48.c (nrand48): Likewise.
24316         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24317         * stdlib/seed48.c (seed48): Likewise.
24318         * stdlib/seed48_r.c (__seed48_r): Likewise.
24319         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24320         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24321         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24323 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24325         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24326         * configure: Regenerated.
24327         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24328         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24329         unconditional.
24330         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24331         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24332         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24333         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24334         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24335         unconditional.
24336         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24338         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24339         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24341         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24342         function definition.
24343         * crypt/crypt_util.c (__encrypt_r): Likewise.
24344         * libio/genops.c (_IO_no_init): Likewise.
24345         * libio/iofopncook.c (_IO_fopencookie): Likewise.
24346         (_IO_old_fopencookie): Likewise.
24347         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24348         * libio/iogetline.c (_IO_getline): Likewise.
24349         (_IO_getline_info): Likewise.
24350         * libio/iogetwline.c (_IO_getwline): Likewise.
24351         (_IO_getwline_info): Likewise.
24352         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24353         * libio/vswprintf.c (_IO_vswprintf): Likewise.
24354         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24355         (find_entry): Likewise.
24356         (iterate_table): Likewise.
24357         (lookup): Likewise.
24358         * login/forkpty.c (forkpty): Likewise.
24359         * misc/hsearch_r.c (__hsearch_r): Likewise.
24360         * misc/select.c (__select): Likewise.
24361         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24362         Likewise.
24363         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24364         Likewise.
24365         * nptl/old_pthread_cond_timedwait.c
24366         (__pthread_cond_timedwait_2_0): Likewise.
24367         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24368         * nptl/pthread_barrierattr_getpshared.c
24369         (pthread_barrierattr_getpshared): Likewise.
24370         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24371         Likewise.
24372         * nptl/pthread_mutex_setprioceiling.c
24373         (pthread_mutex_setprioceiling): Likewise.
24374         * nptl/pthread_mutexattr_getprioceiling.c
24375         (pthread_mutexattr_getprioceiling): Likewise.
24376         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24377         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24378         Likewise.
24379         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24380         Likewise.
24381         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24382         Likewise.
24383         * socket/recvfrom.c (__recvfrom): Likewise.
24384         * socket/sendto.c (__sendto): Likewise.
24385         * socket/setsockopt.c (__setsockopt): Likewise.
24386         * stdio-common/_itoa.c (_itoa): Likewise.
24387         * stdio-common/_itowa.c (_itowa): Likewise.
24388         * stdio-common/reg-printf.c (__register_printf_specifier):
24389         Likewise.
24390         (__register_printf_function): Likewise.
24391         * stdio-common/tempname.c (__path_search): Likewise.
24392         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24393         * stdlib/mul_1.c (mpn_mul_1): Likewise.
24394         * stdlib/random_r.c (__initstate_r): Likewise.
24395         * stdlib/setenv.c (__add_to_environ): Likewise.
24396         * stdlib/submul_1.c (mpn_submul_1): Likewise.
24397         * streams/getpmsg.c (getpmsg): Likewise.
24398         * streams/putmsg.c (putmsg): Likewise.
24399         * streams/putpmsg.c (putpmsg): Likewise.
24400         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24401         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24402         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24403         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24404         * sunrpc/pm_getport.c (pmap_getport): Likewise.
24405         * sunrpc/svc_udp.c (cache_get): Likewise.
24406         * sunrpc/xdr_array.c (xdr_vector): Likewise.
24407         * sysdeps/mach/hurd/getcwd.c
24408         (__canonicalize_directory_name_internal): Likewise.
24409         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24410         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24411         * sysdeps/mach/hurd/select.c (__select): Likewise.
24412         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24413         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24414         * sysdeps/sparc/nptl/pthread_barrier_init.c
24415         (__pthread_barrier_init): Likewise.
24416         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24417         (__pthread_cond_timedwait): Likewise.
24418         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24419         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24420         Likewise.
24421         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24422         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24423         Likewise.
24424         * sysvipc/semtimedop.c (semtimedop): Likewise.
24425         * time/setitimer.c (__setitimer): Likewise.
24426         * time/strftime_l.c (emacs_strftime): Likewise.
24428 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24430         * config.make.in (have-ssp): Delete.
24431         (stack-protector): New variable.
24432         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
24433         cache test for -fstack-protector-strong.  Export stack_protector to
24434         the best ssp flag.
24435         * configure: Regenerated.
24436         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24437         * nscd/Makefile (CFLAGS-nscd): Likewise.
24438         * resolv/Makefile (CFLAGS-libresolv): Likewise.
24440 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
24442         [BZ #19122]
24443         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
24444         attribute_hidden.
24446 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24448         [BZ #18743]
24449         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
24450         code to...
24451         (ELIDE_LOCK): ...here.
24452         (__get_new_count): New function with part of the code from
24453         __elide_lock that updates the value of adapt_count after a
24454         transaction abort.
24455         (__elided_trylock): Moved this code to...
24456         (ELIDE_TRYLOCK): ...here.
24458 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24460         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
24461         * configure: Regenerate.
24462         * INSTALL: Regenerate.
24463         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
24464         and tweak grammar.
24466 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
24468         * login/programs/pt_chown.c: Include signal.h
24469         (main): Clear any signal mask from the parent process.
24471 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24473         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
24474         * configure: Regenerated.
24475         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
24476         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
24477         $(gnu89-inline-CFLAGS).
24479         * configure.ac (libc_cv_asm_weak_directive): Remove configure
24480         test.
24481         (libc_cv_asm_weakext_directive): Likewise.
24482         * configure: Regenerated.
24483         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
24484         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
24485         * include/libc-symbols.h
24486         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
24487         #error.
24488         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
24489         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
24491         * sysdeps/arm/backtrace.c (__backtrace): Convert to
24492         prototype-style function definition.
24493         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24494         * sysdeps/i386/ffs.c (__ffs): Likewise.
24495         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24496         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
24497         Likewise.
24498         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24499         Likewise.
24500         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24501         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24502         Likewise.
24503         * sysdeps/m68k/ffs.c (__ffs): Likewise.
24504         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
24505         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
24506         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
24507         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
24508         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
24509         * sysdeps/mach/hurd/access.c (__access): Likewise.
24510         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
24511         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
24512         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
24513         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
24514         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
24515         (cthread_getspecific): Likewise.
24516         (cthread_setspecific): Likewise.
24517         (__libc_getspecific): Likewise.
24518         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
24519         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
24520         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
24521         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
24522         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
24523         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
24524         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
24525         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
24526         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
24527         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
24528         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
24529         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
24530         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
24531         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
24532         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
24533         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
24534         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
24535         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
24536         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
24537         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
24538         * sysdeps/mach/hurd/link.c (__link): Likewise.
24539         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
24540         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
24541         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
24542         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
24543         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24544         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
24545         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
24546         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
24547         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24548         * sysdeps/mach/hurd/rename.c (rename): Likewise.
24549         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
24550         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24551         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
24552         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
24553         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
24554         * sysdeps/mach/hurd/send.c (__send): Likewise.
24555         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
24556         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
24557         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
24558         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
24559         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
24560         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
24561         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
24562         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
24563         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
24564         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
24565         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
24566         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
24567         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
24568         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
24569         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
24570         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24571         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
24572         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24573         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
24574         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24575         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
24576         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
24577         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
24578         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
24579         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
24580         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
24581         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
24582         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
24583         * sysdeps/posix/alarm.c (alarm): Likewise.
24584         * sysdeps/posix/cuserid.c (cuserid): Likewise.
24585         * sysdeps/posix/dirfd.c (dirfd): Likewise.
24586         * sysdeps/posix/dup.c (__dup): Likewise.
24587         * sysdeps/posix/dup2.c (__dup2): Likewise.
24588         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
24589         (main): Likewise.
24590         * sysdeps/posix/flock.c (__flock): Likewise.
24591         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
24592         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
24593         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
24594         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
24595         * sysdeps/posix/isatty.c (__isatty): Likewise.
24596         * sysdeps/posix/killpg.c (killpg): Likewise.
24597         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24598         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
24599         * sysdeps/posix/raise.c (raise): Likewise.
24600         * sysdeps/posix/remove.c (remove): Likewise.
24601         * sysdeps/posix/rename.c (rename): Likewise.
24602         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
24603         * sysdeps/posix/seekdir.c (seekdir): Likewise.
24604         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24605         * sysdeps/posix/sigignore.c (sigignore): Likewise.
24606         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
24607         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
24608         * sysdeps/posix/sigset.c (sigset): Likewise.
24609         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
24610         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
24611         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
24612         * sysdeps/posix/time.c (time): Likewise.
24613         * sysdeps/posix/ttyname.c (getttyname): Likewise.
24614         (ttyname): Likewise.
24615         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
24616         * sysdeps/posix/utime.c (utime): Likewise.
24617         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
24618         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24619         Likewise.
24620         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
24621         (pthread_spin_trylock): Likewise.
24622         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
24623         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
24624         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
24625         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
24626         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
24627         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
24628         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
24629         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
24630         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
24631         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
24632         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
24633         * sysdeps/s390/ffs.c (__ffs): Likewise.
24634         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
24635         Likewise.
24636         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24637         Likewise.
24638         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
24639         Likewise.
24640         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
24641         (pthread_barrier_destroy): Likewise.
24642         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24643         (__pthread_barrier_wait): Likewise.
24644         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
24645         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24646         (__pthread_barrier_wait): Likewise.
24647         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
24648         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
24649         (memcmp_not_common_alignment): Likewise.
24650         (MEMCMP): Likewise.
24651         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
24652         (_wordcopy_fwd_dest_aligned): Likewise.
24653         (_wordcopy_bwd_aligned): Likewise.
24654         (_wordcopy_bwd_dest_aligned): Likewise.
24655         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
24656         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
24657         * sysdeps/unix/bsd/stty.c (stty): Likewise.
24658         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
24659         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
24660         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
24661         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
24662         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
24663         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
24664         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
24665         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
24666         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
24667         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
24668         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
24669         * sysdeps/unix/stime.c (stime): Likewise.
24670         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
24671         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
24672         Likewise.  Use internal_function.
24673         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
24674         Convert to prototype-style function definition.
24675         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24676         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24677         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
24678         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24679         Likewise.  Use internal_function.
24680         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
24681         prototype-style function definition
24682         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24683         Likewise.
24684         (__getlogin_r): Likewise.
24685         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
24686         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
24687         (__pthread_cond_broadcast): Likewise.
24688         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
24689         (__pthread_cond_destroy): Likewise.
24690         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
24691         (__pthread_cond_init): Likewise.
24692         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
24693         (__pthread_cond_signal): Likewise.
24694         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
24695         (__pthread_cond_wait): Likewise.
24696         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
24697         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24698         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
24699         Likewise.
24700         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
24701         Likewise.
24702         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24703         Likewise.
24704         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
24705         Likewise.
24706         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
24707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
24708         (__ftruncate64): Likewise.
24709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
24710         (truncate64): Likewise.
24711         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
24712         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
24713         (pthread_getcpuclockid): Likewise.
24714         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
24715         Likewise.
24716         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
24717         Likewise.
24718         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
24719         Likewise.
24720         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
24721         Likewise.
24722         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
24723         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
24724         (__libc_sigaction): Likewise.
24725         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
24726         Likewise.
24727         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24728         (__sigprocmask): Likewise.
24729         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
24730         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
24731         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
24732         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24733         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24734         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
24735         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24736         Likewise.
24737         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
24738         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
24739         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24740         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
24741         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
24742         Likewise.
24743         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24744         (__sigprocmask): Likewise.
24745         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
24746         (cfgetispeed): Likewise.
24747         (cfsetospeed): Likewise.
24748         (cfsetispeed): Likewise.
24749         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
24750         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
24751         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24752         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24753         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
24754         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
24755         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
24756         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
24757         Likewise.
24758         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
24759         Likewise.
24760         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
24761         Likewise.
24762         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24763         Likewise.
24764         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24766 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24768         sunrpc: Rewrite with explicit TLS access using __thread.
24769         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
24770         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
24771         directly.
24772         (__rpc_thread_variables): Access thread_rpc_vars directly.
24773         Eliminate redundant assignment of the tvp variable.
24775 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24777         malloc: Rewrite with explicit TLS access using __thread.
24778         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24779         (tsd_setspecific, tsd_getspecific): Remove.
24780         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24781         (tsd_setspecific, tsd_getspecific): Likewise.
24782         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24783         (tsd_setspecific, tsd_getspecific): Likewise.
24784         * malloc/arena.c (thread_arena): New TLS variable.
24785         (arena_key): Remove variable.
24786         (arena_get): Use thread_arena.
24787         (arena_lookup): Remove macro.
24788         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24789         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24790         (_int_new_arena, get_free_list, reused_arena)
24791         (arena_thread_freeres): Use thread_arena.
24792         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24793         tsd_getspecific, tsd_setspecific from safety annotations.
24794         (Allocating Cleared Space): Remove arena_lookup from safety
24795         annotations.
24797 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24799         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24800         struct scratch_buffer instead of extend_alloca.
24802 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24804         * sysdeps/unix/sysv/linux/kernel-features.h
24805         (__ASSUME_SOCK_CLOEXEC): Remove.
24806         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24807         (__have_paccept): Remove unused macro.
24808         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24809         * misc/syslog.c (openlog_internal): Remove fallback code for
24810         !__ASSUME_SOCK_CLOEXEC.
24811         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24812         missing SOCK_CLOEXEC.
24813         * nscd/connections.c (have_sock_cloexec): Remove definition.
24814         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24815         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24816         !__ASSUME_SOCK_CLOEXEC.
24817         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24818         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24819         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24820         definition.
24821         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24822         code for !__ASSUME_SOCK_CLOEXEC.
24824 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24826         [BZ #18982]
24827         * manual/stdio.texi (Variable Arguments Output): Add portability
24828         note, explaining that vfprintf clobbers the va_list pointer.
24830 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24832         * math/libm-test.inc (fabs_test_data): Add more tests.
24833         (fdim_test_data): Likewise.
24834         (fma_test_data): Likewise.
24835         (fmax_test_data): Likewise.
24836         (fmin_test_data): Likewise.
24837         (fmod_test_data): Likewise.
24839 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
24841         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
24842         data.
24844 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24846         * math/libm-test.inc (ceil_test_data): Add more tests and more
24847         expectations for "inexact".
24848         (floor_test_data): Add more tests.
24849         (round_test_data): Likewise.
24850         (trunc_test_data): Likewise.
24852         * crypt/cert.c (good_bye): Convert to prototype-style function
24853         definition.
24854         (get8): Likewise.
24855         (put8): Likewise.
24856         * crypt/crypt-entry.c (crypt): Likewise.
24857         (__fcrypt): Likewise.
24858         * crypt/crypt_util.c (_ufc_prbits): Likewise.
24859         (_ufc_set_bits): Likewise.
24860         (_ufc_clearmem): Likewise.
24861         (__init_des_r): Likewise.
24862         (shuffle_sb): Likewise.
24863         (shuffle_sb): Likewise.
24864         (_ufc_setup_salt_r): Likewise.
24865         (_ufc_mk_keytab_r): Likewise.
24866         (_ufc_dofinalperm_r): Likewise.
24867         (encrypt): Likewise.
24868         (__setkey_r): Likewise.
24869         (setkey): Likewise.
24870         * crypt/md5.c (md5_init_ctx): Likewise.
24871         (md5_read_ctx): Likewise.
24872         (md5_finish_ctx): Likewise.
24873         (md5_stream): Likewise.
24874         (md5_buffer): Likewise.
24875         (md5_process_bytes): Likewise.
24876         * crypt/sha256.c (__sha256_init_ctx): Likewise.
24877         (__sha256_finish_ctx): Likewise.
24878         (__sha256_process_bytes): Likewise.
24879         * crypt/sha512.c (__sha512_init_ctx): Likewise.
24880         (__sha512_finish_ctx): Likewise.
24881         (__sha512_process_bytes): Likewise.
24882         * ctype/isctype.c (__isctype): Likewise.
24883         * debug/backtrace.c (__backtrace): Likewise.
24884         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
24885         * debug/fgets_chk.c (__fgets_chk): Likewise.
24886         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
24887         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
24888         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24889         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24890         * debug/memset_chk.c (__memset_chk): Likewise.
24891         * debug/strcat_chk.c (__strcat_chk): Likewise.
24892         * debug/strncat_chk.c (__strncat_chk): Likewise.
24893         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
24894         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
24895         * dirent/dirfd.c (dirfd): Likewise.
24896         * dirent/getdents.c (__getdirentries): Likewise.
24897         * dirent/getdents64.c (getdirentries64): Likewise.
24898         * dirent/rewinddir.c (__rewinddir): Likewise.
24899         * dirent/seekdir.c (seekdir): Likewise.
24900         * dirent/telldir.c (telldir): Likewise.
24901         * elf/sln.c (makesymlinks): Likewise.
24902         (makesymlink): Likewise.
24903         * gmon/gmon.c (__moncontrol): Likewise.
24904         (__monstartup): Likewise.
24905         (write_hist): Likewise.
24906         (write_call_graph): Likewise.
24907         (write_bb_counts): Likewise.
24908         * grp/setgroups.c (setgroups): Likewise.
24909         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24910         * inet/inet_net.c (inet_network): Likewise.
24911         * inet/inet_netof.c (inet_netof): Likewise.
24912         * inet/rcmd.c (rresvport_af): Likewise.
24913         (rresvport): Likewise.
24914         * io/access.c (__access): Likewise.
24915         * io/chdir.c (__chdir): Likewise.
24916         * io/chmod.c (__chmod): Likewise.
24917         * io/chown.c (__chown): Likewise.
24918         * io/close.c (__close): Likewise.
24919         * io/creat.c (creat): Likewise.
24920         * io/creat64.c (creat64): Likewise.
24921         * io/dup.c (__dup): Likewise.
24922         * io/dup2.c (__dup2): Likewise.
24923         * io/dup3.c (__dup3): Likewise.
24924         * io/euidaccess.c (__euidaccess): Likewise.
24925         * io/faccessat.c (faccessat): Likewise.
24926         * io/fchmod.c (__fchmod): Likewise.
24927         * io/fchmodat.c (fchmodat): Likewise.
24928         * io/fchown.c (__fchown): Likewise.
24929         * io/fchownat.c (fchownat): Likewise.
24930         * io/fcntl.c (__fcntl): Likewise.
24931         * io/flock.c (__flock): Likewise.
24932         * io/fts.c (fts_load): Likewise.
24933         (fts_close): Likewise.
24934         (fts_read): Likewise.
24935         (fts_set): Likewise.
24936         (fts_children): Likewise.
24937         (fts_build): Likewise.
24938         (fts_stat): Likewise.
24939         (fts_sort): Likewise.
24940         (fts_alloc): Likewise.
24941         (fts_lfree): Likewise.
24942         (fts_palloc): Likewise.
24943         (fts_padjust): Likewise.
24944         (fts_maxarglen): Likewise.
24945         (fts_safe_changedir): Likewise.
24946         * io/getwd.c (getwd): Likewise.
24947         * io/isatty.c (__isatty): Likewise.
24948         * io/lchown.c (__lchown): Likewise.
24949         * io/link.c (__link): Likewise.
24950         * io/linkat.c (linkat): Likewise.
24951         * io/lseek.c (__libc_lseek): Likewise.
24952         * io/mkdir.c (__mkdir): Likewise.
24953         * io/mkdirat.c (mkdirat): Likewise.
24954         * io/mkfifo.c (mkfifo): Likewise.
24955         * io/mkfifoat.c (mkfifoat): Likewise.
24956         * io/open.c (__libc_open): Likewise.
24957         * io/open64.c (__libc_open64): Likewise.
24958         * io/readlink.c (__readlink): Likewise.
24959         * io/readlinkat.c (readlinkat): Likewise.
24960         * io/rmdir.c (__rmdir): Likewise.
24961         * io/symlink.c (__symlink): Likewise.
24962         * io/symlinkat.c (symlinkat): Likewise.
24963         * io/ttyname.c (ttyname): Likewise.
24964         * io/ttyname_r.c (__ttyname_r): Likewise.
24965         * io/umask.c (__umask): Likewise.
24966         * io/unlink.c (__unlink): Likewise.
24967         * io/unlinkat.c (unlinkat): Likewise.
24968         * io/utime.c (utime): Likewise.
24969         * libio/clearerr.c (clearerr): Likewise.
24970         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
24971         * libio/feof.c (_IO_feof): Likewise.
24972         * libio/feof_u.c (feof_unlocked): Likewise.
24973         * libio/ferror.c (_IO_ferror): Likewise.
24974         * libio/ferror_u.c (ferror_unlocked): Likewise.
24975         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24976         * libio/fileno.c (__fileno): Likewise.
24977         * libio/fputc.c (fputc): Likewise.
24978         * libio/fputc_u.c (fputc_unlocked): Likewise.
24979         * libio/fputwc.c (fputwc): Likewise.
24980         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
24981         * libio/freopen.c (freopen): Likewise.
24982         * libio/freopen64.c (freopen64): Likewise.
24983         * libio/fseek.c (fseek): Likewise.
24984         * libio/fseeko.c (fseeko): Likewise.
24985         * libio/fseeko64.c (fseeko64): Likewise.
24986         * libio/ftello.c (__ftello): Likewise.
24987         * libio/ftello64.c (ftello64): Likewise.
24988         * libio/fwide.c (fwide): Likewise.
24989         * libio/genops.c (_IO_un_link): Likewise.
24990         (_IO_link_in): Likewise.
24991         (_IO_least_marker): Likewise.
24992         (_IO_switch_to_main_get_area): Likewise.
24993         (_IO_switch_to_backup_area): Likewise.
24994         (_IO_switch_to_get_mode): Likewise.
24995         (_IO_free_backup_area): Likewise.
24996         (_IO_switch_to_put_mode): Likewise.
24997         (__overflow): Likewise.
24998         (__underflow): Likewise.
24999         (__uflow): Likewise.
25000         (_IO_setb): Likewise.
25001         (_IO_doallocbuf): Likewise.
25002         (_IO_default_underflow): Likewise.
25003         (_IO_default_uflow): Likewise.
25004         (_IO_default_xsputn): Likewise.
25005         (_IO_sgetn): Likewise.
25006         (_IO_default_xsgetn): Likewise.
25007         (_IO_sync): Likewise.
25008         (_IO_default_setbuf): Likewise.
25009         (_IO_default_seekpos): Likewise.
25010         (_IO_default_doallocate): Likewise.
25011         (_IO_init): Likewise.
25012         (_IO_old_init): Likewise.
25013         (_IO_default_sync): Likewise.
25014         (_IO_default_finish): Likewise.
25015         (_IO_default_seekoff): Likewise.
25016         (_IO_sputbackc): Likewise.
25017         (_IO_sungetc): Likewise.
25018         (_IO_set_column): Likewise.
25019         (_IO_set_column): Likewise.
25020         (_IO_adjust_column): Likewise.
25021         (_IO_get_column): Likewise.
25022         (_IO_init_marker): Likewise.
25023         (_IO_remove_marker): Likewise.
25024         (_IO_marker_difference): Likewise.
25025         (_IO_marker_delta): Likewise.
25026         (_IO_seekmark): Likewise.
25027         (_IO_unsave_markers): Likewise.
25028         (_IO_nobackup_pbackfail): Likewise.
25029         (_IO_default_pbackfail): Likewise.
25030         (_IO_default_seek): Likewise.
25031         (_IO_default_stat): Likewise.
25032         (_IO_default_read): Likewise.
25033         (_IO_default_write): Likewise.
25034         (_IO_default_showmanyc): Likewise.
25035         (_IO_default_imbue): Likewise.
25036         (_IO_iter_next): Likewise.
25037         (_IO_iter_file): Likewise.
25038         * libio/getc.c (_IO_getc): Likewise.
25039         * libio/getwc.c (_IO_getwc): Likewise.
25040         * libio/iofclose.c (_IO_new_fclose): Likewise.
25041         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25042         * libio/iofflush.c (_IO_fflush): Likewise.
25043         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
25044         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
25045         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
25046         * libio/iofgets.c (_IO_fgets): Likewise.
25047         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
25048         * libio/iofgetws.c (fgetws): Likewise.
25049         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25050         * libio/iofopen64.c (_IO_fopen64): Likewise.
25051         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25052         (_IO_cookie_write): Likewise.
25053         (_IO_cookie_seek): Likewise.
25054         (_IO_cookie_close): Likewise.
25055         (_IO_cookie_seekoff): Likewise.
25056         (_IO_old_cookie_seek): Likewise.
25057         * libio/iofputs.c (_IO_fputs): Likewise.
25058         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
25059         * libio/iofputws.c (fputws): Likewise.
25060         * libio/iofputws_u.c (fputws_unlocked): Likewise.
25061         * libio/iofread.c (_IO_fread): Likewise.
25062         * libio/iofread_u.c (__fread_unlocked): Likewise.
25063         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
25064         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25065         * libio/ioftell.c (_IO_ftell): Likewise.
25066         * libio/iofwrite.c (_IO_fwrite): Likewise.
25067         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25068         * libio/iogets.c (_IO_gets): Likewise.
25069         * libio/iopadn.c (_IO_padn): Likewise.
25070         * libio/iopopen.c (_IO_new_proc_open): Likewise.
25071         (_IO_new_popen): Likewise.
25072         (_IO_new_proc_close): Likewise.
25073         * libio/ioputs.c (_IO_puts): Likewise.
25074         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
25075         (_IO_seekoff): Likewise.
25076         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
25077         (_IO_seekpos): Likewise.
25078         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
25079         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
25080         * libio/ioungetc.c (_IO_ungetc): Likewise.
25081         * libio/ioungetwc.c (ungetwc): Likewise.
25082         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25083         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
25084         * libio/iowpadn.c (_IO_wpadn): Likewise.
25085         * libio/libc_fatal.c (__libc_fatal): Likewise.
25086         * libio/memstream.c (__open_memstream): Likewise.
25087         (_IO_mem_sync): Likewise.
25088         (_IO_mem_finish): Likewise.
25089         * libio/oldfileops.c (_IO_old_file_init): Likewise.
25090         (_IO_old_file_close_it): Likewise.
25091         (_IO_old_file_finish): Likewise.
25092         (_IO_old_file_fopen): Likewise.
25093         (_IO_old_file_attach): Likewise.
25094         (_IO_old_file_setbuf): Likewise.
25095         (_IO_old_do_write): Likewise.
25096         (old_do_write): Likewise.
25097         (_IO_old_file_underflow): Likewise.
25098         (_IO_old_file_overflow): Likewise.
25099         (_IO_old_file_sync): Likewise.
25100         (_IO_old_file_seekoff): Likewise.
25101         (_IO_old_file_write): Likewise.
25102         (_IO_old_file_xsputn): Likewise.
25103         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25104         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25105         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
25106         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
25107         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25108         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
25109         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
25110         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
25111         (_IO_old_popen): Likewise.
25112         (_IO_old_proc_close): Likewise.
25113         * libio/oldpclose.c (__old_pclose): Likewise.
25114         * libio/pclose.c (__new_pclose): Likewise.
25115         * libio/peekc.c (_IO_peekc_locked): Likewise.
25116         * libio/putc.c (_IO_putc): Likewise.
25117         * libio/putc_u.c (putc_unlocked): Likewise.
25118         * libio/putchar.c (putchar): Likewise.
25119         * libio/putchar_u.c (putchar_unlocked): Likewise.
25120         * libio/putwc.c (putwc): Likewise.
25121         * libio/putwc_u.c (putwc_unlocked): Likewise.
25122         * libio/putwchar.c (putwchar): Likewise.
25123         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
25124         * libio/rewind.c (rewind): Likewise.
25125         * libio/setbuf.c (setbuf): Likewise.
25126         * libio/setlinebuf.c (setlinebuf): Likewise.
25127         * libio/vasprintf.c (_IO_vasprintf): Likewise.
25128         * libio/vscanf.c (_IO_vscanf): Likewise.
25129         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
25130         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
25131         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25132         * libio/wgenops.c (_IO_least_wmarker): Likewise.
25133         (_IO_switch_to_main_wget_area): Likewise.
25134         (_IO_switch_to_wbackup_area): Likewise.
25135         (_IO_wsetb): Likewise.
25136         (_IO_wdefault_pbackfail): Likewise.
25137         (_IO_wdefault_finish): Likewise.
25138         (_IO_wdefault_uflow): Likewise.
25139         (__woverflow): Likewise.
25140         (__wuflow): Likewise.
25141         (__wunderflow): Likewise.
25142         (_IO_wdefault_xsputn): Likewise.
25143         (_IO_wdefault_xsgetn): Likewise.
25144         (_IO_wdoallocbuf): Likewise.
25145         (_IO_wdefault_doallocate): Likewise.
25146         (_IO_switch_to_wget_mode): Likewise.
25147         (_IO_free_wbackup_area): Likewise.
25148         (_IO_switch_to_wput_mode): Likewise.
25149         (_IO_sputbackwc): Likewise.
25150         (_IO_sungetwc): Likewise.
25151         (_IO_adjust_wcolumn): Likewise.
25152         (_IO_init_wmarker): Likewise.
25153         (_IO_wmarker_delta): Likewise.
25154         (_IO_seekwmark): Likewise.
25155         (_IO_unsave_wmarkers): Likewise.
25156         * libio/wmemstream.c (open_wmemstream): Likewise.
25157         (_IO_wmem_sync): Likewise.
25158         (_IO_wmem_finish): Likewise.
25159         * locale/nl_langinfo.c (nl_langinfo): Likewise.
25160         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25161         * locale/programs/simple-hash.c (init_hash): Likewise.
25162         (delete_hash): Likewise.
25163         (insert_entry): Likewise.
25164         (set_entry): Likewise.
25165         (next_prime): Likewise.
25166         (is_prime): Likewise.
25167         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25168         (xmalloc): Likewise.
25169         (xrealloc): Likewise.
25170         * locale/programs/xstrdup.c (xstrdup): Likewise.
25171         * localedata/collate-test.c (xstrcoll): Likewise.
25172         * localedata/xfrm-test.c (xstrcmp): Likewise.
25173         * login/getlogin_r.c (__getlogin_r): Likewise.
25174         * login/getpt.c (__posix_openpt): Likewise.
25175         * login/login_tty.c (login_tty): Likewise.
25176         * login/setlogin.c (setlogin): Likewise.
25177         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25178         (mach_msg_destroy_port): Likewise.
25179         (mach_msg_destroy_memory): Likewise.
25180         * malloc/mcheck.c (flood): Likewise.
25181         * misc/acct.c (acct): Likewise.
25182         * misc/brk.c (__brk): Likewise.
25183         * misc/chflags.c (chflags): Likewise.
25184         * misc/chroot.c (chroot): Likewise.
25185         * misc/fchflags.c (fchflags): Likewise.
25186         * misc/fstab.c (getfsspec): Likewise.
25187         (getfsfile): Likewise.
25188         * misc/fsync.c (fsync): Likewise.
25189         * misc/ftruncate.c (__ftruncate): Likewise.
25190         * misc/ftruncate64.c (__ftruncate64): Likewise.
25191         * misc/getdomain.c (getdomainname): Likewise.
25192         (getdomainname): Likewise.
25193         * misc/gethostname.c (__gethostname): Likewise.
25194         * misc/getpass.c (getpass): Likewise.
25195         * misc/getttyent.c (skip): Likewise.
25196         (value): Likewise.
25197         * misc/gtty.c (gtty): Likewise.
25198         * misc/hsearch.c (hsearch): Likewise.
25199         (hcreate): Likewise.
25200         * misc/hsearch_r.c (__hcreate_r): Likewise.
25201         (__hdestroy_r): Likewise.
25202         * misc/ioctl.c (__ioctl): Likewise.
25203         * misc/mkdtemp.c (mkdtemp): Likewise.
25204         * misc/mkostemp.c (mkostemp): Likewise.
25205         * misc/mkostemp64.c (mkostemp64): Likewise.
25206         * misc/mkostemps.c (mkostemps): Likewise.
25207         * misc/mkostemps64.c (mkostemps64): Likewise.
25208         * misc/mkstemp.c (mkstemp): Likewise.
25209         * misc/mkstemp64.c (mkstemp64): Likewise.
25210         * misc/mkstemps.c (mkstemps): Likewise.
25211         * misc/mkstemps64.c (mkstemps64): Likewise.
25212         * misc/mktemp.c (__mktemp): Likewise.
25213         * misc/preadv.c (preadv): Likewise.
25214         * misc/preadv64.c (preadv64): Likewise.
25215         * misc/pwritev.c (pwritev): Likewise.
25216         * misc/pwritev64.c (pwritev64): Likewise.
25217         * misc/readv.c (__readv): Likewise.
25218         * misc/revoke.c (revoke): Likewise.
25219         * misc/setdomain.c (setdomainname): Likewise.
25220         * misc/setegid.c (setegid): Likewise.
25221         * misc/seteuid.c (seteuid): Likewise.
25222         * misc/sethostid.c (sethostid): Likewise.
25223         * misc/sethostname.c (sethostname): Likewise.
25224         * misc/setregid.c (__setregid): Likewise.
25225         * misc/setreuid.c (__setreuid): Likewise.
25226         * misc/sstk.c (sstk): Likewise.
25227         * misc/stty.c (stty): Likewise.
25228         * misc/syscall.c (syscall): Likewise.
25229         * misc/syslog.c (setlogmask): Likewise.
25230         * misc/truncate.c (__truncate): Likewise.
25231         * misc/truncate64.c (truncate64): Likewise.
25232         * misc/ualarm.c (ualarm): Likewise.
25233         * misc/usleep.c (usleep): Likewise.
25234         * misc/ustat.c (ustat): Likewise.
25235         * misc/writev.c (__writev): Likewise.
25236         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25237         * nptl/old_pthread_cond_broadcast.c
25238         (__pthread_cond_broadcast_2_0): Likewise.
25239         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25240         Likewise.
25241         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25242         Likewise.
25243         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25244         Likewise.
25245         * nptl/pt-raise.c (raise): Likewise.
25246         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25247         Likewise.
25248         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25249         * nptl/pthread_barrierattr_destroy.c
25250         (pthread_barrierattr_destroy): Likewise.
25251         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25252         Likewise.
25253         * nptl/pthread_barrierattr_setpshared.c
25254         (pthread_barrierattr_setpshared): Likewise.
25255         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25256         Likewise.
25257         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25258         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25259         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25260         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25261         Likewise.
25262         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25263         Likewise.
25264         * nptl/pthread_condattr_getpshared.c
25265         (pthread_condattr_getpshared): Likewise.
25266         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25267         Likewise.
25268         * nptl/pthread_condattr_setpshared.c
25269         (pthread_condattr_setpshared): Likewise.
25270         * nptl/pthread_detach.c (pthread_detach): Likewise.
25271         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25272         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25273         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25274         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25275         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25276         Likewise.
25277         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25278         Likewise.
25279         * nptl/pthread_mutex_getprioceiling.c
25280         (pthread_mutex_getprioceiling): Likewise.
25281         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25282         Likewise.
25283         * nptl/pthread_mutexattr_getprotocol.c
25284         (pthread_mutexattr_getprotocol): Likewise.
25285         * nptl/pthread_mutexattr_getpshared.c
25286         (pthread_mutexattr_getpshared): Likewise.
25287         * nptl/pthread_mutexattr_getrobust.c
25288         (pthread_mutexattr_getrobust): Likewise.
25289         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25290         Likewise.
25291         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25292         Likewise.
25293         * nptl/pthread_mutexattr_setprioceiling.c
25294         (pthread_mutexattr_setprioceiling): Likewise.
25295         * nptl/pthread_mutexattr_setprotocol.c
25296         (pthread_mutexattr_setprotocol): Likewise.
25297         * nptl/pthread_mutexattr_setpshared.c
25298         (pthread_mutexattr_setpshared): Likewise.
25299         * nptl/pthread_mutexattr_setrobust.c
25300         (pthread_mutexattr_setrobust): Likewise.
25301         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25302         Likewise.
25303         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25304         Likewise.
25305         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25306         Likewise.
25307         * nptl/pthread_rwlockattr_getkind_np.c
25308         (pthread_rwlockattr_getkind_np): Likewise.
25309         * nptl/pthread_rwlockattr_getpshared.c
25310         (pthread_rwlockattr_getpshared): Likewise.
25311         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25312         Likewise.
25313         * nptl/pthread_rwlockattr_setkind_np.c
25314         (pthread_rwlockattr_setkind_np): Likewise.
25315         * nptl/pthread_rwlockattr_setpshared.c
25316         (pthread_rwlockattr_setpshared): Likewise.
25317         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25318         Likewise.
25319         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25320         Likewise.
25321         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25322         Likewise.
25323         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25324         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25325         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25326         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25327         * nptl/sem_close.c (sem_close): Likewise.
25328         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25329         * nptl/sem_init.c (__old_sem_init): Likewise.
25330         * nptl/sigaction.c (__sigaction): Likewise.
25331         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25332         * posix/_exit.c (_exit): Likewise.
25333         * posix/alarm.c (alarm): Likewise.
25334         * posix/confstr.c (confstr): Likewise.
25335         * posix/fpathconf.c (__fpathconf): Likewise.
25336         * posix/getgroups.c (__getgroups): Likewise.
25337         * posix/getpgid.c (__getpgid): Likewise.
25338         * posix/group_member.c (__group_member): Likewise.
25339         * posix/pathconf.c (__pathconf): Likewise.
25340         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25341         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25342         * posix/setgid.c (__setgid): Likewise.
25343         * posix/setpgid.c (__setpgid): Likewise.
25344         * posix/setuid.c (__setuid): Likewise.
25345         * posix/sleep.c (__sleep): Likewise.
25346         * posix/sysconf.c (__sysconf): Likewise.
25347         * posix/times.c (__times): Likewise.
25348         * posix/uname.c (__uname): Likewise.
25349         * posix/waitid.c (__waitid): Likewise.
25350         * pwd/getpw.c (__getpw): Likewise.
25351         * resolv/base64.c (b64_pton): Likewise.
25352         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25353         * resolv/gethnamaddr.c (Dprintf): Likewise.
25354         (gethostbyname): Likewise.
25355         (gethostbyname2): Likewise.
25356         (gethostbyaddr): Likewise.
25357         (_sethtent): Likewise.
25358         (_gethtbyname): Likewise.
25359         (_gethtbyname2): Likewise.
25360         (_gethtbyaddr): Likewise.
25361         (map_v4v6_address): Likewise.
25362         (map_v4v6_hostent): Likewise.
25363         (addrsort): Likewise.
25364         (ht_sethostent): Likewise.
25365         (ht_gethostbyname): Likewise.
25366         (ht_gethostbyaddr): Likewise.
25367         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25368         (inet_net_ntop_ipv4): Likewise.
25369         * resolv/inet_neta.c (inet_neta): Likewise.
25370         * resolv/inet_ntop.c (inet_ntop): Likewise.
25371         (inet_ntop4): Likewise.
25372         (inet_ntop6): Likewise.
25373         * resolv/inet_pton.c (__inet_pton): Likewise.
25374         (inet_pton4): Likewise.
25375         (inet_pton6): Likewise.
25376         * resolv/res_debug.c (loc_aton): Likewise.
25377         (loc_ntoa): Likewise.
25378         * resource/getpriority.c (__getpriority): Likewise.
25379         * resource/getrusage.c (__getrusage): Likewise.
25380         * resource/nice.c (nice): Likewise.
25381         * resource/setpriority.c (__setpriority): Likewise.
25382         * resource/setrlimit64.c (setrlimit64): Likewise.
25383         * resource/vlimit.c (vlimit): Likewise.
25384         * resource/vtimes.c (vtimes): Likewise.
25385         * rt/aio_error.c (aio_error): Likewise.
25386         * rt/aio_return.c (aio_return): Likewise.
25387         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25388         * signal/kill.c (__kill): Likewise.
25389         * signal/killpg.c (killpg): Likewise.
25390         * signal/raise.c (raise): Likewise.
25391         * signal/sigaction.c (__sigaction): Likewise.
25392         * signal/sigaddset.c (sigaddset): Likewise.
25393         * signal/sigaltstack.c (sigaltstack): Likewise.
25394         * signal/sigandset.c (sigandset): Likewise.
25395         * signal/sigblock.c (__sigblock): Likewise.
25396         * signal/sigdelset.c (sigdelset): Likewise.
25397         * signal/sigempty.c (sigemptyset): Likewise.
25398         * signal/sigfillset.c (sigfillset): Likewise.
25399         * signal/sighold.c (sighold): Likewise.
25400         * signal/sigignore.c (sigignore): Likewise.
25401         * signal/sigintr.c (siginterrupt): Likewise.
25402         * signal/sigisempty.c (sigisemptyset): Likewise.
25403         * signal/sigismem.c (sigismember): Likewise.
25404         * signal/signal.c (signal): Likewise.
25405         * signal/sigorset.c (sigorset): Likewise.
25406         * signal/sigpause.c (__sigpause): Likewise.
25407         * signal/sigpending.c (sigpending): Likewise.
25408         * signal/sigprocmask.c (__sigprocmask): Likewise.
25409         * signal/sigrelse.c (sigrelse): Likewise.
25410         * signal/sigreturn.c (__sigreturn): Likewise.
25411         * signal/sigset.c (sigset): Likewise.
25412         * signal/sigsetmask.c (__sigsetmask): Likewise.
25413         * signal/sigstack.c (sigstack): Likewise.
25414         * signal/sigsuspend.c (__sigsuspend): Likewise.
25415         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25416         * signal/sysv_signal.c (__sysv_signal): Likewise.
25417         * socket/accept.c (accept): Likewise.
25418         * socket/accept4.c (__libc_accept4): Likewise.
25419         * socket/bind.c (__bind): Likewise.
25420         * socket/connect.c (__connect): Likewise.
25421         * socket/getpeername.c (getpeername): Likewise.
25422         * socket/getsockname.c (__getsockname): Likewise.
25423         * socket/getsockopt.c (getsockopt): Likewise.
25424         * socket/listen.c (__listen): Likewise.
25425         * socket/recv.c (__recv): Likewise.
25426         * socket/recvmsg.c (__recvmsg): Likewise.
25427         * socket/send.c (__send): Likewise.
25428         * socket/sendmsg.c (__sendmsg): Likewise.
25429         * socket/shutdown.c (shutdown): Likewise.
25430         * socket/sockatmark.c (sockatmark): Likewise.
25431         * socket/socket.c (__socket): Likewise.
25432         * stdio-common/ctermid.c (ctermid): Likewise.
25433         * stdio-common/cuserid.c (cuserid): Likewise.
25434         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25435         * stdio-common/remove.c (remove): Likewise.
25436         * stdio-common/rename.c (rename): Likewise.
25437         * stdio-common/renameat.c (renameat): Likewise.
25438         * stdio-common/tempname.c (__gen_tempname): Likewise.
25439         * stdio-common/xbug.c (InitBuffer): Likewise.
25440         (AppendToBuffer): Likewise.
25441         (ReadFile): Likewise.
25442         * stdlib/a64l.c (a64l): Likewise.
25443         * stdlib/drand48_r.c (drand48_r): Likewise.
25444         * stdlib/getcontext.c (getcontext): Likewise.
25445         * stdlib/getenv.c (getenv): Likewise.
25446         * stdlib/l64a.c (l64a): Likewise.
25447         * stdlib/llabs.c (llabs): Likewise.
25448         * stdlib/lldiv.c (lldiv): Likewise.
25449         * stdlib/lrand48_r.c (lrand48_r): Likewise.
25450         * stdlib/mrand48_r.c (mrand48_r): Likewise.
25451         * stdlib/putenv.c (putenv): Likewise.
25452         * stdlib/random.c (__srandom): Likewise.
25453         (__initstate): Likewise.
25454         (__setstate): Likewise.
25455         * stdlib/random_r.c (__srandom_r): Likewise.
25456         (__setstate_r): Likewise.
25457         (__random_r): Likewise.
25458         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
25459         * stdlib/setcontext.c (setcontext): Likewise.
25460         * stdlib/setenv.c (setenv): Likewise.
25461         (unsetenv): Likewise.
25462         * stdlib/srand48.c (srand48): Likewise.
25463         * stdlib/srand48_r.c (__srand48_r): Likewise.
25464         * stdlib/swapcontext.c (swapcontext): Likewise.
25465         * stdlib/system.c (__libc_system): Likewise.
25466         * stdlib/tst-strtod.c (expand): Likewise.
25467         * stdlib/tst-strtol.c (expand): Likewise.
25468         * stdlib/tst-strtoll.c (expand): Likewise.
25469         * streams/fattach.c (fattach): Likewise.
25470         * streams/fdetach.c (fdetach): Likewise.
25471         * streams/getmsg.c (getmsg): Likewise.
25472         * streams/isastream.c (isastream): Likewise.
25473         * string/ffs.c (__ffs): Likewise.
25474         * string/ffsll.c (ffsll): Likewise.
25475         * string/memcmp.c (memcmp_common_alignment): Likewise.
25476         (memcmp_not_common_alignment): Likewise.
25477         (MEMCMP): Likewise.
25478         * string/memcpy.c (memcpy): Likewise.
25479         * string/memmove.c (MEMMOVE): Likewise.
25480         * string/memset.c (memset): Likewise.
25481         * string/rawmemchr.c (RAWMEMCHR): Likewise.
25482         * string/strchrnul.c (STRCHRNUL): Likewise.
25483         * string/strerror.c (strerror): Likewise.
25484         * string/strndup.c (__strndup): Likewise.
25485         * string/strverscmp.c (__strverscmp): Likewise.
25486         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
25487         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
25488         (clnttcp_freeres): Likewise.
25489         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
25490         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
25491         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
25492         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
25493         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
25494         (xdr_callhdr): Likewise.
25495         * sunrpc/rpcinfo.c (udpping): Likewise.
25496         (tcpping): Likewise.
25497         (pstatus): Likewise.
25498         (pmapdump): Likewise.
25499         (brdcst): Likewise.
25500         (deletereg): Likewise.
25501         (getprognum): Likewise.
25502         (getvers): Likewise.
25503         (get_inet_address): Likewise.
25504         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
25505         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25506         (svcudp_stat): Likewise.
25507         (svcudp_recv): Likewise.
25508         (svcudp_reply): Likewise.
25509         (svcudp_getargs): Likewise.
25510         (svcudp_freeargs): Likewise.
25511         (svcudp_destroy): Likewise.
25512         * sunrpc/xdr.c (xdr_bytes): Likewise.
25513         (xdr_netobj): Likewise.
25514         (xdr_string): Likewise.
25515         (xdr_wrapstring): Likewise.
25516         * sunrpc/xdr_float.c (xdr_float): Likewise.
25517         (xdr_double): Likewise.
25518         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
25519         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
25520         * sysvipc/ftok.c (ftok): Likewise.
25521         * sysvipc/msgctl.c (msgctl): Likewise.
25522         * sysvipc/msgget.c (msgget): Likewise.
25523         * sysvipc/msgrcv.c (msgrcv): Likewise.
25524         * sysvipc/msgsnd.c (msgsnd): Likewise.
25525         * sysvipc/semget.c (semget): Likewise.
25526         * sysvipc/semop.c (semop): Likewise.
25527         * sysvipc/shmat.c (shmat): Likewise.
25528         * sysvipc/shmctl.c (shmctl): Likewise.
25529         * sysvipc/shmdt.c (shmdt): Likewise.
25530         * sysvipc/shmget.c (shmget): Likewise.
25531         * termios/cfmakeraw.c (cfmakeraw): Likewise.
25532         * termios/speed.c (cfgetospeed): Likewise.
25533         (cfgetispeed): Likewise.
25534         (cfsetospeed): Likewise.
25535         (cfsetispeed): Likewise.
25536         * termios/tcflow.c (tcflow): Likewise.
25537         * termios/tcflush.c (tcflush): Likewise.
25538         * termios/tcgetattr.c (__tcgetattr): Likewise.
25539         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
25540         * termios/tcgetsid.c (tcgetsid): Likewise.
25541         * termios/tcsendbrk.c (tcsendbreak): Likewise.
25542         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
25543         * time/adjtime.c (__adjtime): Likewise.
25544         * time/dysize.c (dysize): Likewise.
25545         * time/ftime.c (ftime): Likewise.
25546         * time/getitimer.c (__getitimer): Likewise.
25547         * time/gettimeofday.c (__gettimeofday): Likewise.
25548         * time/gmtime.c (__gmtime_r): Likewise.
25549         (gmtime): Likewise.
25550         * time/localtime.c (__localtime_r): Likewise.
25551         (localtime): Likewise.
25552         * time/offtime.c (__offtime): Likewise.
25553         * time/settimeofday.c (__settimeofday): Likewise.
25554         * time/stime.c (stime): Likewise.
25555         * time/strftime_l.c (tm_diff): Likewise.
25556         (iso_week_days): Likewise.
25557         * time/strptime.c (strptime): Likewise.
25558         * time/time.c (time): Likewise.
25559         * time/timespec_get.c (timespec_get): Likewise.
25560         * time/tzset.c (tzset_internal): Likewise.
25561         (compute_change): Likewise.
25562         (__tz_compute): Likewise.
25563         * wcsmbs/btowc.c (__btowc): Likewise.
25564         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
25565         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
25566         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
25567         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
25568         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
25569         * wcsmbs/wcscat.c (__wcscat): Likewise.
25570         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25571         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
25572         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
25573         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25574         * wcsmbs/wcsdup.c (wcsdup): Likewise.
25575         * wcsmbs/wcslen.c (__wcslen): Likewise.
25576         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
25577         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
25578         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
25579         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
25580         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25581         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
25582         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25583         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25584         * wcsmbs/wcstok.c (wcstok): Likewise.
25585         * wcsmbs/wctob.c (wctob): Likewise.
25586         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
25587         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25588         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
25589         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
25590         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
25591         * wcsmbs/wmemset.c (__wmemset): Likewise.
25592         * wctype/wcfuncs.c (__towlower): Likewise.
25593         (__towupper): Likewise.
25595         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
25596         (lll_unlock_elision): Add adapt_count parameter.
25598 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25600         * sysdeps/nptl/configure.ac: Do not give errors based on the
25601         results of top-level configure tests.
25602         * sysdeps/nptl/configure: Regenerated.
25604         * configure.ac (libc_cv_Bgroup): Remove configure test.
25605         * configure: Regenerated.
25606         * config.make.in (have-Bgroup): Remove variable.
25608         * configure.ac (sizeof_long_double): Remove configure test.
25609         * configure: Regenerated.
25610         * config.make.in (sizeof-long-double): Remove variable.
25612         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
25613         * configure: Regenerated.
25614         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
25615         variable.
25616         (exceptions): Likewise.
25617         * sysdeps/arm/configure: Regenerated.
25618         * config.make.in (exceptions): Remove variable.
25619         * Makeconfig (uses-callbacks): Use -fexceptions instead of
25620         $(exceptions).
25621         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
25622         (CFLAGS-vdprintf_chk.c): Likewise.
25623         (CFLAGS-printf_chk.c): Likewise.
25624         (CFLAGS-fprintf_chk.c): Likewise.
25625         (CFLAGS-vprintf_chk.c): Likewise.
25626         (CFLAGS-vfprintf_chk.c): Likewise.
25627         (CFLAGS-gets_chk.c): Likewise.
25628         (CFLAGS-fgets_chk.c): Likewise.
25629         (CFLAGS-fgets_u_chk.c): Likewise.
25630         (CFLAGS-fread_chk.c): Likewise.
25631         (CFLAGS-fread_u_chk.c): Likewise.
25632         (CFLAGS-wprintf_chk.c): Likewise.
25633         (CFLAGS-fwprintf_chk.c): Likewise.
25634         (CFLAGS-vwprintf_chk.c): Likewise.
25635         (CFLAGS-vfwprintf_chk.c): Likewise.
25636         (CFLAGS-fgetws_chk.c): Likewise.
25637         (CFLAGS-fgetws_u_chk.c): Likewise.
25638         * libio/Makefile (CFLAGS-fileops.c): Likewise.
25639         (CFLAGS-fputc.c): Likewise.
25640         (CFLAGS-fputwc.c): Likewise.
25641         (CFLAGS-freopen64.c): Likewise.
25642         (CFLAGS-freopen.c): Likewise.
25643         (CFLAGS-fseek.c): Likewise.
25644         (CFLAGS-fseeko64.c): Likewise.
25645         (CFLAGS-fseeko.c): Likewise.
25646         (CFLAGS-ftello64.c): Likewise.
25647         (CFLAGS-ftello.c): Likewise.
25648         (CFLAGS-fwide.c): Likewise.
25649         (CFLAGS-genops.c): Likewise.
25650         (CFLAGS-getc.c): Likewise.
25651         (CFLAGS-getchar.c): Likewise.
25652         (CFLAGS-getwc.c): Likewise.
25653         (CFLAGS-getwchar.c): Likewise.
25654         (CFLAGS-iofclose.c): Likewise.
25655         (CFLAGS-iofflush.c): Likewise.
25656         (CFLAGS-iofgetpos64.c): Likewise.
25657         (CFLAGS-iofgetpos.c): Likewise.
25658         (CFLAGS-iofgets.c): Likewise.
25659         (CFLAGS-iofgetws.c): Likewise.
25660         (CFLAGS-iofputs.c): Likewise.
25661         (CFLAGS-iofputws.c): Likewise.
25662         (CFLAGS-iofread.c): Likewise.
25663         (CFLAGS-iofsetpos64.c): Likewise.
25664         (CFLAGS-iofsetpos.c): Likewise.
25665         (CFLAGS-ioftell.c): Likewise.
25666         (CFLAGS-iofwrite.c): Likewise.
25667         (CFLAGS-iogetdelim.c): Likewise.
25668         (CFLAGS-iogetline.c): Likewise.
25669         (CFLAGS-iogets.c): Likewise.
25670         (CFLAGS-iogetwline.c): Likewise.
25671         (CFLAGS-ioputs.c): Likewise.
25672         (CFLAGS-ioseekoff.c): Likewise.
25673         (CFLAGS-ioseekpos.c): Likewise.
25674         (CFLAGS-iosetbuffer.c): Likewise.
25675         (CFLAGS-iosetvbuf.c): Likewise.
25676         (CFLAGS-ioungetc.c): Likewise.
25677         (CFLAGS-ioungetwc.c): Likewise.
25678         (CFLAGS-oldfileops.c): Likewise.
25679         (CFLAGS-oldiofclose.c): Likewise.
25680         (CFLAGS-oldiofgetpos64.c): Likewise.
25681         (CFLAGS-oldiofgetpos.c): Likewise.
25682         (CFLAGS-oldiofsetpos64.c): Likewise.
25683         (CFLAGS-oldiofsetpos.c): Likewise.
25684         (CFLAGS-peekc.c): Likewise.
25685         (CFLAGS-putc.c): Likewise.
25686         (CFLAGS-putchar.c): Likewise.
25687         (CFLAGS-putwc.c): Likewise.
25688         (CFLAGS-putwchar.c): Likewise.
25689         (CFLAGS-rewind.c): Likewise.
25690         (CFLAGS-wfileops.c): Likewise.
25691         (CFLAGS-wgenops.c): Likewise.
25692         (CFLAGS-oldiofopen.c): Likewise.
25693         (CFLAGS-iofopen.c): Likewise.
25694         (CFLAGS-iofopen64.c): Likewise.
25695         (CFLAGS-oldtmpfile.c): Likewise.
25696         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25697         (CFLAGS-fprintf.c): Likewise.
25698         (CFLAGS-printf.c): Likewise.
25699         (CFLAGS-vfwprintf.c): Likewise.
25700         (CFLAGS-vfscanf.c): Likewise.
25701         (CFLAGS-vfwscanf.c): Likewise.
25702         (CFLAGS-fscanf.c): Likewise.
25703         (CFLAGS-scanf.c): Likewise.
25704         (CFLAGS-isoc99_vfscanf.c): Likewise.
25705         (CFLAGS-isoc99_vscanf.c): Likewise.
25706         (CFLAGS-isoc99_fscanf.c): Likewise.
25707         (CFLAGS-isoc99_scanf.c): Likewise.
25708         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
25709         (CFLAGS-isoc99_fwscanf.c): Likewise.
25710         (CFLAGS-isoc99_vwscanf.c): Likewise.
25711         (CFLAGS-isoc99_vfwscanf.c): Likewise.
25713         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
25714         after mkstemp64.
25715         * login/tst-utmp.c (do_prepare): Likewise.
25716         * rt/tst-aio.c (do_prepare): Likewise.
25717         * rt/tst-aio64.c (do_prepare): Likewise.
25719 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25721         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25722         (__lll_lock_elision): Remove adapt_count decrement...
25723         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25724         (__lll_trylock_elision): Likewise.
25725         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
25726         (__lll_unlock_elision): ... to here. And utilize
25727         new adapt_count parameter.
25728         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25729         (__lll_unlock_elision): Update to include adapt_count
25730         parameter.
25731         (lll_unlock_elision): Pass pointer to adapt_count
25732         variable.
25734 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25736         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
25737         Add elision adapt_count parameter to list of arguments.
25738         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25739         (lll_unlock_elision): Update with new parameter list
25740         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
25741         (lll_unlock_elision): Likewise.
25742         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
25743         (lll_unlock_elision): Likewise.
25745 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25747         [BZ #19122]
25748         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
25749         attribute_hidden.
25751         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
25752         attribute_hidden.
25753         [IS_IN (rtld)] (__strdup): Likewise.
25754         [IS_IN (rtld)] (__strerror_r): Likewise.
25755         [IS_IN (rtld)] (__strsep_g): Likewise.
25756         [IS_IN (rtld)] (memchr): Likewise.
25757         [IS_IN (rtld)] (memcmp): Likewise.
25758         [IS_IN (rtld)] (memcpy): Likewise.
25759         [IS_IN (rtld)] (memmove): Likewise.
25760         [IS_IN (rtld)] (memset): Likewise.
25761         [IS_IN (rtld)] (rawmemchr): Likewise.
25762         [IS_IN (rtld)] (stpcpy): Likewise.
25763         [IS_IN (rtld)] (strchr): Likewise.
25764         [IS_IN (rtld)] (strcmp): Likewise.
25765         [IS_IN (rtld)] (strlen): Likewise.
25766         [IS_IN (rtld)] (strnlen): Likewise.
25767         [IS_IN (rtld)] (strsep): Likewise.
25769         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
25770         attribute_hidden.
25771         [IS_IN (rtld)] (__strtoul_internal): Likewise.
25773         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
25774         attribute_hidden.
25775         [IS_IN (rtld)] (__libc_sigaction): Likewise.
25777         * include/setjmp.h (__longjmp): Add attribute_hidden.
25778         [IS_IN (rtld)] (__sigsetjmp): Likewise.
25780         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25781         Add attribute_hidden.
25783         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25784         [IS_IN (rtld)] (__open): Likewise.
25785         [IS_IN (rtld)] (__fcntl): Likewise.
25787         * include/dirent.h (__opendirat): Add attribute_hidden.
25788         (__getdents): Likewise.
25789         (__getdents64): Likewise.
25790         (__alloc_dir): Likewise.
25791         [IS_IN (rtld)] (__closedir): Likewise.
25792         [IS_IN (rtld)] (__fdopendir): Likewise.
25793         [IS_IN (rtld)] (__readdir): Likewise.
25794         [IS_IN (rtld)] (__readdir64): Likewise.
25795         [IS_IN (rtld)] (__rewinddir): Likewise.
25797         * include/dlfcn.h (_dl_catch_error): Moved to ...
25798         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25799         attribute_hidden.
25801         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25802         (_itoa_word): Likewise.
25804         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25805         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25806         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25807         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25808         (_dl_higher_prime_number): Likewise.
25809         (_dl_debug_printf_c): Likewise.
25810         (_dl_signal_cerror): Likewise.
25811         (_dl_receive_error): Likewise.
25812         (_dl_reloc_bad_type): Likewise.
25813         (_dl_resolve_conflicts): Likewise.
25814         (_dl_check_all_versions): Likewise.
25815         (_dl_check_map_versions): Likewise.
25816         (_dl_sort_fini): Likewise.
25817         (_dl_debug_initialize): Likewise.
25818         (_dl_init_paths): Likewise.
25819         (_dl_show_auxv): Likewise.
25820         (_dl_next_ld_env_entry): Likewise.
25821         (_dl_important_hwcaps): Likewise.
25822         (_dl_load_cache_lookup): Likewise.
25823         (_dl_update_slotinfo): Likewise.
25824         (_dl_show_scope): Likewise.
25826         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25827         attribute_hidden.
25828         (_wordcopy_fwd_dest_aligned): Likewise.
25829         (_wordcopy_bwd_aligned): Likewise.
25830         (_wordcopy_bwd_dest_aligned): Likewise.
25832         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25833         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25834         Likewise.
25835         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25836         Likewise.
25837         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25839 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25841         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
25842         GCC 5 requirement.
25844 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25846         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
25847         test.
25848         * sysdeps/i386/configure: Regenerated.
25849         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
25850         code unconditional.
25852         * configure.ac (libc_cv_asm_previous_directive): Remove configure
25853         test.
25854         (libc_cv_asm_popsection_directive): Likewise.
25855         * configure: Regenerated.
25856         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
25857         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
25858         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
25859         (__make_section_unallocated): Make definition unconditional.
25860         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
25861         Remove conditional definition.
25862         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
25863         (__make_section_unallocated): Likewise.
25865         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
25866         * configure: Regenerated.
25867         * config.make.in (static-libgcc): Remove variable.
25868         * Makerules (build-shlib-helper): Use -static-libgcc instead of
25869         $(static-libgcc).
25870         (build-module-helper): Likewise.
25872         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
25873         * configure: Regenerated.
25875 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25877         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
25878         (struct char_buffer): New type.
25879         (char_buffer_start, char_buffer_size, char_buffer_error)
25880         (char_buffer_rewind, char_buffer_add): New functions.
25881         (ADDW): Remove macro, replaced by the char_buffer_add function.
25882         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
25883         of extend_alloca.  Make control flow more explicit.
25885 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25887         [BZ #19137]
25888         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25889         Add -fomit-frame-pointer.
25890         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
25892 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25894         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
25895         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
25896         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
25897         only if !__GNUC_PREREQ (5,0).
25898         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
25899         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25900         (INTERNAL_SYSCALL_NCS): Likewise.
25901         (LOADREGS_0): New macro for GCC 5.
25902         (ASMARGS_0): Likewise.
25903         (LOADREGS_1): Likewise.
25904         (ASMARGS_1): Likewise.
25905         (LOADREGS_2): Likewise.
25906         (ASMARGS_2): Likewise.
25907         (LOADREGS_3): Likewise.
25908         (ASMARGS_3): Likewise.
25909         (LOADREGS_4): Likewise.
25910         (ASMARGS_4): Likewise.
25911         (LOADREGS_5): Likewise.
25912         (ASMARGS_5): Likewise.
25913         (LOADREGS_6): Likewise.
25914         (ASMARGS_6): Likewise.
25916 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25918         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
25919         -fomit-frame-pointer.
25920         (CFLAGS-mmap64.c): Likewise.
25921         (CFLAGS-semtimedop.c): Likewise.
25922         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
25923         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
25924         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25925         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25927 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25929         [BZ #18928]
25930         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
25931         _dl_pointer_guard member.
25932         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
25933         initializer.
25934         (security_init): Always set up pointer guard.
25935         (process_envvars): Do not process LD_POINTER_GUARD.
25937 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
25939         [BZ #19134]
25940         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
25941         (.LC2): Likewise.
25942         (.LC3): Likewise.
25943         (__lround): Do not add 0.5 to integer or out-of-range arguments.
25945 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25947         [BZ #19129]
25948         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
25949         r0 and r1.
25951 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
25953         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
25955 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
25957         * include/stap-probe.h: Fix macro definition formatting.
25959 2015-10-14  Florian Weimer  <fweimer@redhat.com>
25961         [BZ #19074]
25962         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
25963         load and store num_ifs.
25965 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25967         [BZ #18822]
25968         * sysdeps/unix/sysv/linux/sched_getaffinity.c
25969         (__sched_getaffinity_new): Add libc_hidden_proto and
25970         libc_hidden_def.
25972 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25974         [BZ #19007]
25975         * scripts/localplt.awk: Also allow GOT references.
25976         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
25977         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
25978         with "+ REL R_386_GLOB_DAT".
25979         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
25980         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
25982 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25984         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
25985         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25986         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
25987         Likewise.
25988         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25989         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
25990         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25991         INTERNAL_SYSCALLINTERNAL_SYSCALL and
25992         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25993         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25994         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25995         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25996         Likewise.
25997         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25999 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26001         [BZ #19125]
26002         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
26003         <math_private.h> and <stdint.h>.
26004         (__llround): Avoid conversions to and from long long int, and
26005         subtractions, where those might raise spurious exceptions.
26006         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26007         <math_private.h> and <stdint.h>.
26008         (__llroundf): Avoid conversions to and from long long int, and
26009         subtractions, where those might raise spurious exceptions.
26011 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26013         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
26014         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26015         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26016         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
26017         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26018         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26019         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
26020         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
26021         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
26022         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26023         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26024         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26025         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
26026         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26027         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26028         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
26029         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
26030         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26031         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
26032         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
26033         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26034         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
26035         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
26036         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26037         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
26038         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26039         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
26040         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26041         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26042         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
26043         (__xstat64_conv): Likewise.
26044         (__xstat32_conv): Likewise.
26046 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26048         * sysdeps/unix/sysv/linux/sysdep.h: New file.
26049         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
26050         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
26051         <sysdeps/unix/sysv/linux/sysdep.h>.
26052         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26053         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
26054         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
26055         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26056         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26057         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
26058         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
26059         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
26060         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
26061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26063         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26064         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26065         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26066         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26068         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
26069         (sysdep-dl-routines): Add sysdep.
26070         [$(subdir) == nptl] (libpthread-routines): Likewise.
26071         [$(subdir) == rt] (librt-routines): Likewise.
26072         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
26073         PIC when branching to SYSCALL_ERROR_LABEL.
26074         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
26075         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
26076         <sysdeps/unix/sysv/linux/sysdep.h>.
26077         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
26078         (SYSCALL_ERROR_ERRNO): Removed.
26079         (SYSCALL_ERROR_HANDLER): Changed to empty.
26080         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
26081         (__syscall_error): New prototype.
26082         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
26083         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
26085 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26087         [BZ #19124]
26088         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
26089         (_dl_runtime_resolve_avx512): Make it a hidden alias of
26090         _dl_runtime_resolve_avx.
26091         (_dl_runtime_profile_avx512): Make it a hidden alias of
26092         _dl_runtime_profile_avx.
26094 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26096         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
26097         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
26098         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
26099         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
26101         [BZ #16422]
26102         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
26103         New configure test.
26104         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
26105         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
26106         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
26107         <math_private.h> and <stdint.h>.
26108         (__llrint): Avoid conversions to long long int where those might
26109         raise spurious exceptions.
26110         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26111         <math_private.h> and <stdint.h>.
26112         (__llrintf): Avoid conversions to long long int where those might
26113         raise spurious exceptions.
26115 2015-10-12  Andreas Schwab  <schwab@suse.de>
26117         [BZ #18969]
26118         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
26119         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
26120         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
26121         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
26122         $(gen-locales).
26123         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
26124         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
26125         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
26126         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
26127         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
26128         $(gen-locales).
26129         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
26130         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
26131         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
26132         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
26133         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
26134         ($(objpfx)tst-ftell-active-handler.out)
26135         ($(objpfx)tst-ftell-append.out)
26136         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
26137         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
26138         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
26139         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
26140         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
26141         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
26142         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
26143         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
26144         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
26145         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
26146         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
26147         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
26148         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
26149         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
26150         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
26151         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26152         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26153         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26154         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
26155         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26156         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26157         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26158         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26159         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
26160         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26161         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26162         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26163         $(gen-locales).
26164         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
26165         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26166         $(gen-locales).
26167         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
26168         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26169         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26170         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26171         $(gen-locales).
26172         * libio/tst_wprintf2.c (main): Use explicit locale.
26173         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26175 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26177         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26178         __msg_sig_post.
26179         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26181 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26183         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26184         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26186         * sysdeps/arm/libm-test-ulps: Regenerated.
26188         [BZ #15470]
26189         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26191         [BZ #16399]
26192         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26193         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26194         and <fix-fp-int-convert-overflow.h>.
26195         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26196         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26197         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26198         and <fix-fp-int-convert-overflow.h>.
26199         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26200         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26201         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26202         <fix-fp-int-convert-overflow.h>.
26203         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26204         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26205         * sysdeps/ieee754/dbl-64/s_lround.c: Include
26206         <fix-fp-int-convert-overflow.h>.
26207         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26208         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26209         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26210         and <fix-fp-int-convert-overflow.h>.
26211         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26212         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26213         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26214         <limits.h> and <fix-fp-int-convert-overflow.h>.
26215         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26216         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26217         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26218         and <fix-fp-int-convert-overflow.h>.
26219         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26220         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26221         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26222         and <fix-fp-int-convert-overflow.h>.
26223         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26224         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26225         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26227 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26229         [BZ #18589]
26230         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26231         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26232         $(gen-locales).
26234 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26235             Phil Blundell <pb@pbcl.net>
26237         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26238         * nptl/tst-cancel26.c: New file.
26239         * nptl/tst-cancel27.c: Likewise.
26241 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26243         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26244         __ILP32__ isn't defined.
26245         (lrint): Likewise.
26246         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26247         (lrintf): Likewise.
26248         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26249         (lrintl): Likewise.
26250         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26251         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26252         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26254 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26256         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26257         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26259         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26260         file.
26261         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26262         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26264 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26266         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26267         configure test.
26268         * sysdeps/i386/configure: Regenerated.
26269         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26270         configure test.
26271         * sysdeps/x86_64/configure: Regenerated.
26272         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26273         Make code unconditional.
26275         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26276         test.
26277         * sysdeps/i386/configure: Regenerated.
26278         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26279         test.
26280         * sysdeps/x86_64/configure: Regenerated.
26281         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26282         Make code unconditional.
26283         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26284         Likewise.
26285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26286         Likewise.
26287         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26288         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26289         code unconditional.
26290         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26291         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26292         code unconditional.
26293         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26294         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26295         code unconditional.
26296         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26297         code unconditional.
26298         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26299         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26300         code unconditional.
26301         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26302         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26303         code unconditional.
26304         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26305         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26306         code unconditional.
26307         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26308         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26309         code unconditional.
26310         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26311         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26313         [BZ #19095]
26314         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26315         mantissa to long int before shifting left.
26317 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26319         [BZ #19094]
26320         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26321         <limits.h>.
26322         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26323         when result overflows but exception would not result from cast.
26324         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26325         <limits.h>.
26326         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26327         when result overflows but exception would not result from cast.
26328         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26329         <limits.h>.
26330         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26331         when result overflows but exception would not result from cast.
26332         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26333         <limits.h>.
26334         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26335         when result overflows but exception would not result from cast.
26336         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26337         <limits.h>.
26338         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26339         when result overflows but exception would not result from cast.
26340         * math/libm-test.inc (lrint_test_data): Add more tests.
26341         (llrint_test_data): Likewise.
26343 2015-10-08  Roland McGrath  <roland@hack.frob.com>
26345         [BZ #18872]
26346         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26347         Move out from under [$(run-built-tests) = yes] conditional.
26348         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26349         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26351 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
26353         [BZ #18589]
26354         * string/Makefile (tests): Add bug-strcoll2.
26355         (LOCALES): Add cs_CZ.UTF-8.
26356         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26358         [BZ #18589]
26359         * string/bug-strcoll2.c: New file.
26360         * locale/categories.def: Revert commit
26361         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26362         * locale/langinfo.h: Likewise.
26363         * locale/localeinfo.h: Likewise.
26364         * locale/C-collate.c: Likewise.
26365         * locale/programs/ld-collate.c (collate_output): Likewise.
26366         * string/strcoll_l.c (STRDIFF): Likewise.
26367         (STRCOLL): Likewise.
26368         * wcsmbs/wcscoll_l.c: Likewise.
26370 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26372         * math/libm-test.inc (lround_test_data): Do not expect the absence
26373         of "inexact" for some tests with non-integer arguments.
26374         (llround_test_data): Likewise.
26376         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26377         test.
26378         (libc_cv_cc_sse2avx): Likewise.
26379         * sysdeps/i386/configure: Regenerated.
26380         * sysdeps/i386/i686/multiarch/Makefile
26381         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26382         [$(subdir) = math].
26383         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26384         code unconditional.
26385         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26386         Likewise.
26387         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26388         Likewise.
26389         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26390         Likewise.
26391         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26392         test.
26393         (libc_cv_cc_sse2avx): Likewise.
26394         * sysdeps/x86_64/configure: Regenerated.
26395         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26396         unconditional.
26397         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26398         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26399         unconditional.
26400         (_dl_runtime_profile)
26401         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26402         conditional code.
26403         * sysdeps/x86_64/fpu/multiarch/Makefile
26404         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26405         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26406         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26407         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26408         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26409         * sysdeps/x86_64/fpu/multiarch/e_log.c
26410         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26411         * sysdeps/x86_64/fpu/multiarch/s_atan.c
26412         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26413         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26414         Likewise.
26415         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26416         Likewise.
26417         * sysdeps/x86_64/fpu/multiarch/s_sin.c
26418         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26419         * sysdeps/x86_64/fpu/multiarch/s_tan.c
26420         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26421         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26422         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26423         (HAVE_SSE2AVX_SUPPORT): Likewise.
26425 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
26427         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26428         instead of #pragma optimize.
26430 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26432         [BZ #17195]
26433         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26434         as is similarly done in systrim and _int_free already.
26436 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26438         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26440 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26442         [BZ #19088]
26443         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
26444         <limits.h>.
26445         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26446         overflows but exception would not result from cast.
26447         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
26448         and <limits.h>.
26449         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26450         overflows but exception would not result from cast.
26451         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
26452         <limits.h>.
26453         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26454         overflows but exception would not result from cast.
26455         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
26456         <limits.h>.
26457         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26458         overflows but exception would not result from cast.
26459         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
26460         <limits.h>.
26461         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26462         overflows but exception would not result from cast.
26463         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
26464         <limits.h>.
26465         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26466         overflows but exception would not result from cast.
26467         * math/libm-test.inc (lround_test_data): Add more tests.
26468         (llround_test_data): Likewise.
26470 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
26472         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
26473         (CFLAGS-ialloc.c): Ditto.
26474         (CFLAGS-scheck.c): Ditto.
26476 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26478         [BZ #19086]
26479         * manual/filesys.texi (Storage Allocation): Fix argument order for
26480         posix_fallocate64.
26482 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26484         [BZ #19085]
26485         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
26486         exponent below 48 inside case for non-overflowing exponent.
26487         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
26489 2015-10-07  Florian Weimer  <fweimer@redhat.com>
26491         * iconvdata/cp737.h (from_idx): Add const.
26492         * iconvdata/cp775.h (from_idx): Likewise.
26494 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26496         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
26497         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
26498         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
26500         [BZ #19079]
26501         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
26502         file, conditioned on [!_LP64].
26503         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
26504         [!_LP64] (__lround): Do not define as function or alias.
26505         [!_LP64] (lround): Likewise.
26506         [!_LP64] (__lroundl): Likewise.
26507         [!_LP64] (lroundl): Likewise.
26508         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
26509         macro.
26510         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26511         Likewise.
26513 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26515         * math/libm-test.inc (lrint_test_data): Add more tests.
26516         (llrint_test_data): Likewise.
26517         (lround_test_data): Likewise.
26518         (llround_test_data): Likewise.
26520         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
26521         (llrint_test_data): Add tests used for lrint.
26523         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
26524         test.
26525         * sysdeps/i386/configure: Regenerated.
26526         * sysdeps/i386/i686/multiarch/Makefile
26527         [$(config-cflags-sse4) = yes]: Make code unconditional.
26528         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26529         Likewise.
26530         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
26531         Likewise.
26532         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
26533         test.
26534         * sysdeps/x86_64/configure: Regenerated.
26535         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
26536         Make code unconditional.
26537         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26538         Likewise.
26539         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
26540         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
26542         * scripts/rpm2dynsym.sh: Remove file.
26544 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26546         * configure.ac (libc_cv_cxx_thread_local): Define.
26547         * configure: Regenerate.
26548         * config.make.in (have-cxx-thread_local): Define.
26549         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
26550         (LDLIBS-tst-thread_local1): Define.
26551         (tests): Add tst-thread_local1.
26552         [have-cxx-thread_local != yes] (tests-unsupported): Add
26553         tst-thread_local1.
26554         * nptl/tst-thread_local1.cc: New file.
26556 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26558         [BZ #19078]
26559         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
26560         (u_thres): Likewise.
26561         (__expl): Determine whether to call __kernel_standard_l based on
26562         value of result, not argument.
26564         * math/libm-test.inc (scalb_test_data): Add more expectations for
26565         the "inexact" exception.
26567         [BZ #19077]
26568         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
26569         0.0L for argument 1.0L.
26571         [BZ #19076]
26572         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
26573         constant 0.0L when computing infinite result.
26575 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26577         [BZ #10432]
26578         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
26579         malloc_usable_size.
26581 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26583         [BZ #19018]
26584         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26585         Mangle function pointer before storing it.
26586         (__call_tls_dtors): Demangle function pointer before calling it.
26588 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26590         [BZ #19012]
26591         * iconv/gconv_db.c (gen_steps): Check for additional errors.
26592         Clean up on failure.
26594 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
26596         [BZ #19071]
26597         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
26598         long int variable to store possibly incremented high part of
26599         mantissa.
26600         * math/libm-test.inc (lround_test_data): Add tests used for
26601         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
26602         for tests requiring 64-bit long.  Do not condition tests on
26603         [TEST_FLOAT] unnecessarily.
26604         (llround_test_data): Add tests used for lround.  Add another
26605         expectation for the "inexact" exception.  Do not condition tests
26606         on [TEST_FLOAT] unnecessarily.
26608         [BZ #887]
26609         [BZ #19049]
26610         [BZ #19050]
26611         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
26612         * sysdeps/ieee754/dbl-64/e_log10.c: Include
26613         <fix-int-fp-convert-zero.h>.
26614         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26615         * sysdeps/ieee754/dbl-64/e_log2.c: Include
26616         <fix-int-fp-convert-zero.h>.
26617         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26618         * sysdeps/ieee754/dbl-64/s_erf.c: Include
26619         <fix-int-fp-convert-zero.h>.
26620         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26621         * sysdeps/ieee754/dbl-64/s_logb.c: Include
26622         <fix-int-fp-convert-zero.h>.
26623         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26624         * sysdeps/ieee754/flt-32/e_log10f.c: Include
26625         <fix-int-fp-convert-zero.h>.
26626         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26627         * sysdeps/ieee754/flt-32/e_log2f.c: Include
26628         <fix-int-fp-convert-zero.h>.
26629         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26630         * sysdeps/ieee754/flt-32/s_erff.c: Include
26631         <fix-int-fp-convert-zero.h>.
26632         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26633         * sysdeps/ieee754/flt-32/s_logbf.c: Include
26634         <fix-int-fp-convert-zero.h>.
26635         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26636         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
26637         <fix-int-fp-convert-zero.h>.
26638         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26639         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
26640         <fix-int-fp-convert-zero.h>.
26641         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26642         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
26643         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
26644         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
26645         file.
26646         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
26648 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
26650         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26652 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
26654         [BZ #19059]
26655         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
26656         overflowing computation.
26657         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26658         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26659         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26660         Likewise.
26661         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26662         Likewise.
26663         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26664         Likewise.
26665         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26666         Likewise.
26667         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26668         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26669         Likewise.
26670         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26671         Likewise.
26672         * math/libm-test.inc (nexttoward_test_data): Add more tests.
26674         * nss/rewrite_field.c (__nss_rewrite_field): Use
26675         internal_function.
26676         * nss/valid_field.c (__nss_valid_field): Likewise.
26677         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26679 2015-10-02  Florian Weimer  <fweimer@redhat.com>
26681         [BZ #18724]
26682         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
26683         (__nss_invalid_field_characters, __nss_valid_field)
26684         (__nss_valid_list_field, __nss_rewrite_field): Declare.
26685         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
26686         tst-field.c: New file.
26687         * nss/Makefile (routines): Add valid_field, rewrite_field.
26688         (tests-static): Define unconditionally.
26689         (tests): Include tests-static.
26690         [build-static-nss] (tests-static): Use append.
26691         [build-static-nss] (tests): Remove modification.
26692         * nss/getent.c (print_group): Call putgrent.  Report error.
26693         (print_gshadow): Call putsgent.  Report error.
26694         (print_passwd): Call putpwent.  Report error.
26695         (print_shadow): Call putspent.  Report error.
26696         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
26697         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
26698         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
26699         name, password, directory, shell fields for valid syntax.  Rewrite
26700         GECOS field to match syntax.
26701         * pwd/Makefile (tests): Add tst-putpwent.
26702         * pwd/tst-putpwent.c: New file.
26703         * grp/putgrent.c (putgrent): Convert to ISO function definition.
26704         Check grName, grpasswd, gr_mem fields for valid syntax.
26705         Change loop variable i to size_t.
26706         * grp/Makefile (tests): Add tst-putgrent.
26707         * grp/tst-putgrent.c: New file.
26708         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
26709         valid syntax.
26710         * shadow/Makefile (tests): Add tst-putspent.
26711         * shadow/tst-putspent.c: New file.
26712         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
26713         sg_mem fields for valid syntax.
26714         * gshadow/Makefile (tests): Add tst-putsgent.
26715         * gshadow/tst-putsgent.c: New file.
26717 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26719         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
26720         assembly instructions.
26722 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26724         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
26725         prefix from operands.
26727 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
26729         [BZ #16347]
26730         [BZ #19046]
26731         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
26732         <libc-internal.h>.
26733         (MAXLGM): Do not use diagnostic control macros.
26734         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
26735         threshold for ldbl-128ibm.
26736         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
26737         instead of multiplying by log then subtracting.
26738         * math/auto-libm-test-in: Add more tests of lgamma.
26739         * math/auto-libm-test-out: Regenerated.
26741         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26742         (TYPE_HEX_DIG): Likewise.
26743         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
26744         precisions when printing floating-point numbers.
26745         (check_float_internal): Likewise.
26747 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26749         [BZ #16620]
26750         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
26751         of log (10) rounded downward to 48 bits.
26752         (log10_low): Use corresponding low part of log (10).
26754         [BZ #19032]
26755         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
26756         compute result as (x - x) / (x - x) not as 0 / 0.
26757         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26758         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
26760         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26761         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
26762         and expm1.
26763         * math/auto-libm-test-out: Regenerated.
26764         * math/libm-test.inc (acos_test_data): Add more tests.
26765         (asin_test_data): Likewise.
26766         (asinh_test_data): Likewise.
26767         (atan_test_data): Likewise.
26768         (atanh_test_data): Likewise.
26769         (atan2_test_data): Likewise.
26770         (cbrt_test_data): Likewise.
26771         (ceil_test_data): Likewise.
26772         (copysign_test_data): Likewise.
26773         (cos_test_data): Likewise.
26774         (cosh_test_data): Likewise.
26775         (erf_test_data): Likewise.
26776         (erfc_test_data): Likewise.
26777         (exp_test_data): Likewise.
26778         (exp10_test_data): Likewise.
26779         (exp2_test_data): Likewise.
26780         (expm1_test_data): Likewise.
26781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26783 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26785         [BZ #19006]
26786         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26787         to ...
26788         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26789         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26790         to ...
26791         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26792         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26793         to ...
26794         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26795         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26796         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26797         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26798         to ...
26799         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26800         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26801         Moved to ...
26802         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26803         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26804         Moved to ...
26805         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26806         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26807         to ...
26808         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26809         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26810         Moved to ...
26811         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26812         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26813         to ...
26814         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26815         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26816         Removed.
26817         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26818         Likewise.
26819         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26820         Likewise.
26821         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26822         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26823         Likewise.
26824         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26825         Likewise.
26826         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26827         Likewise.
26828         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26829         Likewise.
26830         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26831         Likewise.
26832         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26833         Likewise.
26834         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
26835         Likewise.
26836         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
26837         Likewise.
26838         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
26839         Likewise.
26840         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
26841         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
26842         Likewise.
26843         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26844         Likewise.
26845         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26846         Likewise.
26847         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26848         Likewise.
26849         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
26850         Likewise.
26851         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26852         Replace ../i486/pthread_cond_timedwait.S with
26853         ../pthread_cond_timedwait.S.
26855 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26857         * math/libm-test.inc (acos_test_data): Refine expectations for
26858         errno and "inexact" exceptions.
26859         (acosh_test_data): Likewise.
26860         (asin_test_data): Likewise.
26861         (asinh_test_data): Likewise.
26862         (atan_test_data): Likewise.
26863         (atanh_test_data): Likewise.
26864         (atan2_test_data): Likewise.
26865         (cbrt_test_data): Likewise.
26866         (ceil_test_data): Likewise.
26867         (copysign_test_data): Likewise.
26868         (cosh_test_data): Likewise.
26869         (erf_test_data): Likewise.
26870         (erfc_test_data): Likewise.
26871         (exp_test_data): Likewise.
26872         (exp10_test_data): Likewise.
26873         (exp2_test_data): Likewise.
26874         (expm1_test_data): Likewise.
26875         (fabs_test_data): Likewise.
26876         (floor_test_data): Likewise.
26877         (fma_test_data): Likewise.
26878         (fmax_test_data): Likewise.
26879         (fmin_test_data): Likewise.
26880         (fmod_test_data): Likewise.
26881         (fpclassify_test_data): Likewise.
26882         (frexp_test_data): Likewise.
26883         (hypot_test_data): Likewise.
26884         (ilogb_test_data): Likewise.
26885         (isgreater_test_data): Likewise.
26886         (isgreaterequal_test_data): Likewise.
26887         (isinf_test_data): Likewise.
26888         (isless_test_data): Likewise.
26889         (islessequal_test_data): Likewise.
26890         (islessgreater_test_data): Likewise.
26891         (isnan_test_data): Likewise.
26892         (isnormal_test_data): Likewise.
26893         (issignaling_test_data): Likewise.
26894         (isunordered_test_data): Likewise.
26895         (j0_test_data): Likewise.
26896         (j1_test_data): Likewise.
26897         (jn_test_data): Likewise.
26898         (lgamma_test_data): Likewise.
26899         (lrint_test_data): Likewise.
26900         (llrint_test_data): Likewise.
26901         (log_test_data): Likewise.
26902         (log10_test_data): Likewise.
26903         (log1p_test_data): Likewise.
26904         (log2_test_data): Likewise.
26905         (logb_test_data): Likewise.
26906         (lround_test_data): Likewise.
26907         (llround_test_data): Likewise.
26908         (modf_test_data): Likewise.
26909         (nearbyint_test_data): Likewise.
26910         (nextafter_test_data): Likewise.
26911         (nexttoward_test_data): Likewise.
26912         (pow_test_data): Likewise.
26913         (remainder_test_data): Likewise.
26914         (remquo_test_data): Likewise.
26915         (rint_test_data): Likewise.
26916         (round_test_data): Likewise.
26917         (signbit_test_data): Likewise.
26918         (sinh_test_data): Likewise.
26919         (sqrt_test_data): Likewise.
26920         (tanh_test_data): Likewise.
26921         (tgamma_test_data): Likewise.
26922         (trunc_test_data): Likewise.
26923         (y0_test_data): Likewise.
26924         (y1_test_data): Likewise.
26925         (yn_test_data): Likewise.
26926         (significand_test_data): Likewise.
26928 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
26930         * manual/filesys.texi (Storage Allocation): Document that
26931         posix_fallocate emulation fails when fd is open with O_WRONLY.
26933 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
26935         [BZ #19016]
26936         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
26937         allow more cases with X^2 + Y^2 >= 0.5.
26938         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
26939         normal element in sum instead of special-casing based on values of
26940         arguments.
26941         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
26942         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
26943         -1 as normal element in sum instead of special-casing based on
26944         values of arguments.
26945         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
26946         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
26947         (__x2y2m1): Update comment.
26948         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
26949         as normal element in sum instead of special-casing based on values
26950         of arguments.
26951         * math/s_clog.c (__clog): Handle more cases using log1p without
26952         hypot.
26953         * math/s_clog10.c (__clog10): Likewise.
26954         * math/s_clog10f.c (__clog10f): Likewise.
26955         * math/s_clog10l.c (__clog10l): Likewise.
26956         * math/s_clogf.c (__clogf): Likewise.
26957         * math/s_clogl.c (__clogl): Likewise.
26958         * math/auto-libm-test-in: Add more tests of clog and clog10.
26959         * math/auto-libm-test-out: Regenerated.
26960         * sysdeps/i386/fpu/libm-test-ulps: Update.
26961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26963 2015-09-28  Martin Sebor  <msebor@redhat.com>
26965         [BZ #18969]
26966         * string/Makefile (LOCALES): Define.
26967         (gen-locales.mk): Include.
26968         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
26969         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
26970         * string/tst-strxfrm2.c (do_test): Print the name of the locale
26971         on setlocale failure.
26973 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26975         [BZ #18985]
26976         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
26977         (__strftime_internal): Likewise.
26978         * time/tst-strftime.c (do_bz18985): New test.
26979         (do_test): Call it.
26981 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
26983         [BZ #18956]
26984         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
26985         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
26986         extracting high part.
26987         * math/auto-libm-test-in: Add another test of pow.
26988         * math/auto-libm-test-out: Regenerated.
26989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26991 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26993         [BZ #18825]
26994         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
26995         New macro.
26996         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
26997         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26998         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
26999         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
27000         DBL_NARROW_EVAL, reloading the PIC register as needed.
27001         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
27002         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
27003         FLT_NARROW_EVAL.  Use separate return path for case when first
27004         argument is NaN.
27005         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
27006         DEFINE_LDBL_MIN.
27007         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
27008         PIC register.
27009         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
27010         math_check_force_underflow_nonneg.
27011         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
27012         underflow for subnormal result.
27013         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
27014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
27015         math_check_force_underflow_nonneg.
27016         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
27017         math_check_force_underflow.
27018         * sysdeps/x86_64/fpu/x86_64-math-asm.h
27019         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
27020         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
27021         DEFINE_LDBL_MIN.
27022         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
27023         * math/auto-libm-test-in: Add more tests of pow.
27024         * math/auto-libm-test-out: Regenerated.
27026 2015-09-25  Florian Weimer  <fweimer@redhat.com>
27028         * nss/bug17079.c (init_test_items): Add diagnostic for
27029         inconsistent entries.
27030         (test_buffer_size): Skip inconsistent entries.
27032 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27034         [BZ #13304]
27035         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
27036         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
27037         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
27039         [BZ #13304]
27040         * sysdeps/microblaze/s_fma.c: New file.
27041         * sysdeps/microblaze/s_fmaf.c: Likewise.
27042         * sysdeps/microblaze/sfp-machine.h: Likewise.
27044 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
27046         [BZ #17250]
27047         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
27048         member.
27050 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27052         [BZ #18803]
27053         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
27054         (MO): New macro.
27055         (__ieee754_hypot) [PIC]: Load PIC register.
27056         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
27057         DBL_NARROW_EVAL.
27058         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
27059         math_check_force_underflow_nonneg in case where result might be
27060         tiny.
27061         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27062         Likewise.
27063         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27064         Likewise.
27065         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
27066         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
27067         * math/auto-libm-test-in: Add more tests of hypot.
27068         * math/auto-libm-test-out: Regenerated.
27070 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
27072         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
27074 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27076         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
27077         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
27078         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27079         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27080         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
27081         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27082         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27084         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
27085         LOAD_PIC_REG.
27087         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
27088         (FLT_CHECK_FORCE_UFLOW): Likewise.
27089         (DBL_CHECK_FORCE_UFLOW): Likewise.
27090         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
27091         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
27092         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
27093         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27094         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27095         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27096         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27097         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27098         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
27099         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27100         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
27101         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
27102         (flt_min): Replace with use of DEFINE_FLT_MIN.
27103         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
27104         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
27105         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27106         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
27107         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
27108         (flt_min): Replace with use of DEFINE_FLT_MIN.
27109         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
27110         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
27111         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27112         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
27113         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
27114         (flt_min): Replace with use of DEFINE_FLT_MIN.
27115         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
27116         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
27117         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27118         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27119         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
27120         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27121         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27122         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
27123         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27124         (__atan): Use DBL_CHECK_FORCE_UFLOW.
27125         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
27126         (flt_min): Replace with use of DEFINE_FLT_MIN.
27127         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
27128         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
27129         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27130         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
27131         main computation.
27132         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
27133         (flt_min): Replace with use of DEFINE_FLT_MIN.
27134         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
27135         main computation.
27136         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
27137         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27138         (MO): New macro.
27139         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
27140         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
27141         (flt_min): Replace with use of DEFINE_FLT_MIN.
27142         (MO): New macro.
27143         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
27144         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
27145         (__log1pl): Use MO.
27147         [BZ #19003]
27148         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
27149         $(config-cflags-nofma).
27151 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27153         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27155 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
27157         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27158         (TWO127): Likewise.
27160         * sysdeps/generic/math_private.h (fabs_tg): New macro.
27161         (min_of_type): Likewise.
27162         (math_check_force_underflow): Likewise.
27163         (math_check_force_underflow_nonneg): Likewise.
27164         (math_check_force_underflow_complex): Likewise.
27165         * math/e_exp2l.c (__ieee754_exp2l): Use
27166         math_check_force_underflow_nonneg.
27167         * math/k_casinh.c (__kernel_casinh): Likewise.
27168         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27169         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27170         * math/s_catan.c (__catan): Use
27171         math_check_force_underflow_complex.
27172         * math/s_catanf.c (__catanf): Likewise.
27173         * math/s_catanh.c (__catanh): Likewise.
27174         * math/s_catanhf.c (__catanhf): Likewise.
27175         * math/s_catanhl.c (__catanhl): Likewise.
27176         * math/s_catanl.c (__catanl): Likewise.
27177         * math/s_ccosh.c (__ccosh): Likewise.
27178         * math/s_ccoshf.c (__ccoshf): Likewise.
27179         * math/s_ccoshl.c (__ccoshl): Likewise.
27180         * math/s_cexp.c (__cexp): Likewise.
27181         * math/s_cexpf.c (__cexpf): Likewise.
27182         * math/s_cexpl.c (__cexpl): Likewise.
27183         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27184         * math/s_clog10.c (__clog10): Likewise.
27185         * math/s_clog10f.c (__clog10f): Likewise.
27186         * math/s_clog10l.c (__clog10l): Likewise.
27187         * math/s_clogf.c (__clogf): Likewise.
27188         * math/s_clogl.c (__clogl): Likewise.
27189         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27190         * math/s_csinf.c (__csinf): Likewise.
27191         * math/s_csinh.c (__csinh): Likewise.
27192         * math/s_csinhf.c (__csinhf): Likewise.
27193         * math/s_csinhl.c (__csinhl): Likewise.
27194         * math/s_csinl.c (__csinl): Likewise.
27195         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27196         * math/s_csqrtf.c (__csqrtf): Likewise.
27197         * math/s_csqrtl.c (__csqrtl): Likewise.
27198         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27199         * math/s_ctanf.c (__ctanf): Likewise.
27200         * math/s_ctanh.c (__ctanh): Likewise.
27201         * math/s_ctanhf.c (__ctanhf): Likewise.
27202         * math/s_ctanhl.c (__ctanhl): Likewise.
27203         * math/s_ctanl.c (__ctanl): Likewise.
27204         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27205         instead of volatile.
27206         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27207         math_check_force_underflow.
27208         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27209         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27210         volatile when forcing underflow.
27211         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27212         math_check_force_underflow_nonneg.
27213         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27214         Likewise.
27215         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27216         math_check_force_underflow.
27217         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27218         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27219         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27220         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27221         math_check_force_underflow_nonneg.
27222         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27223         math_check_force_underflow.
27224         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27226         instead of volatile.
27227         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27228         math_check_force_underflow.
27229         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27230         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27231         math_check_force_underflow_nonneg.
27232         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27233         math_check_force_underflow.
27234         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27235         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27236         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27237         math_check_force_underflow_nonneg.
27238         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27239         Likewise.
27240         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27241         math_check_force_underflow.
27242         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27243         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27244         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27245         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27246         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27247         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27248         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27249         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27250         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27251         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27252         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27253         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27254         Likewise.
27255         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27256         math_check_force_underflow_nonneg.
27257         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27258         Likewise.
27259         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27260         math_check_force_underflow.
27261         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27262         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27263         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27264         Likewise.
27265         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27266         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27267         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27268         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27269         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27270         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27271         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27272         instead of volatile.
27273         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27274         math_check_force_underflow.
27275         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27276         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27277         math_check_force_underflow.
27278         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27279         Likewise.
27280         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27281         Use math_check_force_underflow_nonneg.
27282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27283         math_check_force_underflow.
27284         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27285         Likewise.
27286         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27287         Likewise.
27288         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27289         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27290         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27291         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27292         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27293         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27294         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27295         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27296         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27297         math_check_force_underflow_nonneg.
27298         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27299         math_check_force_underflow.
27300         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27301         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27302         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27303         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27304         math_check_force_underflow_nonneg.
27305         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27306         math_check_force_underflow.
27307         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27308         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27309         instead of volatile.
27310         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27311         math_check_force_underflow.
27313         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27314         * stdlib/strtod_l.c: Include <math_private.h>.
27315         (overflow_value): Use math_narrow_eval.
27316         (underflow_value): Likewise.
27317         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27318         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27319         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27320         (__ieee754_gamma_r): Likewise.
27321         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27322         Likewise.
27323         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27324         Likewise.
27325         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27326         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27327         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27328         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27329         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27330         (__ieee754_gammaf_r): Likewise.
27331         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27332         Likewise.
27333         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27334         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27335         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27336         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27337         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27338         volatile.
27339         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27340         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27341         math_narrow_eval.
27342         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27343         Likewise.
27344         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27345         Likewise.
27346         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27347         Likewise.
27348         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27349         volatile.
27350         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27351         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27352         math_narrow_eval.
27353         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27354         Likewise.
27355         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27356         Likewise.
27358 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
27360         * nptl/Versions: Remove ignored symbols.
27362 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27364         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
27365         * nss/Makefile (tests): Update.
27367 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27369         * nss/bug18287.c: New file.
27370         * nss/Makefile (tests): Add bug18287.
27372 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27374         * mach/Versions (__mach_host_self_): Add symbol.
27376 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27378         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27379         vm_page_size.
27381 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27383         Really fix sysdeps/i386/fpu/s_scalbn.S build
27385         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27386         (libc: GLIBC_2_22): Remove unused version set.
27388 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27390         * config.make.in (enable-timezone-tools): New variable.
27391         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27392         (enable_timezone_tools): Export to generated files.
27393         * configure: Regenerate.
27394         * INSTALL: Regenerate.
27395         * manual/install.texi (--disable-timezone-tools): Document new flag.
27396         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27397         ifeq ($(enable-timezone-tools),yes) check.
27399 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27401         * timezone/Makefile: Revert previous change.
27403         [BZ #18980]
27404         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27405         (DEFINE_DBL_MIN): Likewise.
27406         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27407         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27408         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27409         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27410         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27411         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27412         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27413         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27414         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27415         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27416         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27417         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27418         (flt_min): Replace with use of DEFINE_FLT_MIN.
27419         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27420         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27421         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27422         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27423         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27424         (flt_min): Replace with use of DEFINE_FLT_MIN.
27425         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27426         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27427         (flt_min): Replace with use of DEFINE_FLT_MIN.
27428         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27429         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27430         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27431         (__ieee754_hypot): Use DBL_NARROW_EVAL.
27432         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27433         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27434         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27435         (__ieee754_pow): Use DBL_NARROW_EVAL.
27436         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27437         (__ieee754_powf): Use FLT_NARROW_EVAL.
27438         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27439         (__ieee754_expf_sse2): Convert double-precision result to single
27440         precision.
27441         * sysdeps/i386/fpu/libm-test-ulps: Update.
27443 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27445         * timezone/Makefile: Ignore unused variable errors due to private.h
27446         (time_t_min) and (time_t_max).
27447         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
27448         Likewise.
27450 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27452         [BZ #18981]
27453         * sysdeps/i386/fpu/i386-math-asm.h: New file.
27454         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
27455         (__ieee754_scalb): Use DBL_NARROW_EVAL.
27456         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
27457         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
27458         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
27459         (__scalbn): Use DBL_NARROW_EVAL.
27460         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
27461         (__scalbnf): Use FLT_NARROW_EVAL.
27463 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27465         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
27466         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
27467         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
27468         * stdio-common/printf_fp.c (___printf_fp):
27469         Use signbit to get the sign. Use isinf macro to allow inlining.
27470         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
27471         * stdio-common/printf_size.c (__printf_size): Likewise.
27473 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27475         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
27477 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27479         [BZ #18980]
27480         * sysdeps/generic/math_private.h: Include <float.h>.
27481         (math_narrow_eval): New macro.
27482         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
27483         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
27484         math_narrow_eval on overflowing return value.
27485         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
27486         Likewise.
27487         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27488         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
27489         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
27490         Likewise.
27491         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27493 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27495         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
27496         * math/Makefile: Remove isinf_ns.c.
27497         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
27498         * math/multc3.c (__multc3): Likewise.
27499         * math/s_casin.c (__casin): Likewise.
27500         * math/s_casinf.c (__casinf): Likewise.
27501         * math/s_casinl.c (__casinl): Likewise.
27502         * math/s_cproj.c (__cproj): Likewise.
27503         * math/s_cprojf.c (__cprojf): Likewise.
27504         * math/s_cprojl.c (__cprofl): Likewise.
27505         * math/s_ctan.c (__ctan): Likewise.
27506         * math/s_ctanf.c (__ctanf): Likewise.
27507         * math/s_ctanh.c (__ctanh): Likewise.
27508         * math/s_ctanhf.c (__ctanhf): Likewise.
27509         * math/s_ctanhl.c (__ctanhl): Likewise.
27510         * math/s_ctanl.c (__ctanl): Likewise.
27511         * math/w_fmod.c (__fmod): Likewise.
27512         * math/w_fmodf.c (__fmodf): Likewise.
27513         * math/w_fmodl.c (_fmodl): Likewise.
27514         * math/w_remainder.c (__remainder): Likewise.
27515         * math/w_remainderf.c (__remainderf): Likewise.
27516         * math/w_remainderl.c (__remainderl): Likewise.
27517         * math/w_scalb.c (__scalb): Likewise.
27518         * math/w_scalbf.c (__scalbf): Likewise.
27519         * math/w_scalbl.c (__scalbl): Likewise.
27520         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
27521         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
27522         with isinf.
27523         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
27524         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
27525         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
27526         __isinf_nsf with isinf.
27527         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
27528         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
27529         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
27530         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
27531         with isinf.
27532         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
27533         __isinf_nsl with isinf.
27534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
27535         with isinf.
27536         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
27537         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
27538         __isinf_nsl with isinf.
27539         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
27540         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
27541         with isinf.
27543 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27545         * resolv/base64.c (rcsid): Remove unused static.
27546         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
27547         static.  (tqpi1): Likewise.
27548         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
27549         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
27550         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
27551         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
27552         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
27553         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
27554         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
27555         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
27556         Likewise.
27558 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
27560         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
27561         <nptl/pthreadP.h>.
27562         (_longjmp_unwind): Use __libc_ptf_call.
27563         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
27565 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
27567         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
27568         * sysdeps/arm/__longjmp.S: Likewise.
27570 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27572         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
27573         Use __builtin_signbit.
27574         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
27575         Use __builtin_signbitf.
27576         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
27577         Use __builtin_signbitl.
27578         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27579         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
27581 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27583         [BZ #15367]
27584         [BZ #17441]
27586         * math/Makefile: Build test-snan.c with -fsignaling-nans.
27587         * math/math.h (fpclassify): Use __builtin_fpclassify when
27588         available.  (signbit): Use __builtin_signbit(f/l).
27589         (isfinite): Use__builtin_isfinite.  (isnormal): Use
27590         __builtin_isnormal.  (isnan): Use __builtin_isnan.
27591         (isinf): Use __builtin_isinf_sign.
27593 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27595         * benchtests/Makefile: Add bench-math-inlines, link with libm.
27596         * benchtests/bench-math-inlines.c: New benchmark.
27597         * benchtests/bench-util.h: New file.
27598         * benchtests/bench-util.c: New file.
27599         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
27601 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
27603         * elf/tst-dlmopen1.c: Define TEST_SO.
27604         (do_test): Use TEST_SO.
27606         * elf/dl-load.c: Include libc-internal.h.
27607         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
27609 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27611         [BZ #17887]
27612         * time/strptime_l.c (__strptime_internal): Make %z accept
27613         [+-]HH:MM time zones.
27615 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27617         [BZ #17886]
27618         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
27619         valid time zone.
27621 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
27623         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
27624         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
27625         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27626         (__ASSUME_FDATASYNC): Delete.
27628 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27630         * conform/linknamespace.pl: Require weak undefined symbols to be
27631         in the standard namespace.
27632         (%strong_syms): Rename to %seen_syms.
27633         (%strong_seen): Rename to %seen_where.
27635 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
27637         [BZ #18970]
27638         * misc/error.c (error): Replace pthread_setcancelstate with
27639         __pthread_setcancelstate.
27640         (error_at_line): Likewise.
27641         * posix/wordexp.c (parse_comm): Likewise.
27642         * stdlib/fmtmsg.c (fmtmsg): Likewise.
27643         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
27644         (__pthread_setcancelstate): This.
27645         (pthread_setcancelstate): Add an alias.
27646         * nptl/nptl-init.c (pthread_functions): Replace
27647         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
27648         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
27649         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
27650         hidden_proto.
27651         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
27652         it with hidden_def.
27653         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
27654         (pthread_setcancelstate): Renamed to ...
27655         (__pthread_setcancelstate): This.
27656         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
27657         __libc_ptf_call with __pthread_setcancelstate.
27659 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27660             Andreas Schwab  <schwab@suse.de>
27662         [BZ #17118]
27663         * math/s_ctan.c (__ctan): Determine sign of zero real part of
27664         result when imaginary part of argument is infinite using sine and
27665         cosine.
27666         * math/s_ctanf.c (__ctanf): Likewise.
27667         * math/s_ctanl.c (__ctanl): Likewise.
27668         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
27669         of result when real part of argument is infinite using sine and
27670         cosine.
27671         * math/s_ctanhf.c (__ctanhf): Likewise.
27672         * math/s_ctanhl.c (__ctanhl): Likewise.
27673         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
27674         (ctanh_test_data): Add more tests of ctanh.
27676 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27678         [BZ #15384]
27679         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
27680         bit-mask as in subtraction.
27681         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
27682         Likewise.
27683         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
27684         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
27685         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
27687         [BZ #18951]
27688         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
27689         underflow exception for small results.
27690         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27691         Likewise.
27692         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27693         Likewise.
27694         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27695         Likewise.
27696         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27697         Likewise.
27698         * math/auto-libm-test-in: Add more tests of tgamma.
27699         * math/auto-libm-test-out: Regenerated.
27701 2015-09-17  Andreas Schwab  <schwab@suse.de>
27703         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
27705 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27707         [BZ #18977]
27708         * math/bits/mathcalls.h
27709         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
27710         not declare.
27711         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
27712         Likewise.
27713         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
27714         Likewise.
27715         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
27716         Likewise.
27717         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
27718         Likewise.
27719         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
27720         Likewise.
27721         * conform/data/math.h-data
27722         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
27723         function.
27724         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
27725         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
27726         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
27727         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
27728         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
27729         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
27730         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
27731         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
27732         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
27733         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
27734         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
27736         [BZ #6803]
27737         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
27738         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
27739         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
27740         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
27741         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
27742         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
27743         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
27744         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
27745         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27746         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
27747         Likewise.
27748         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27749         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
27750         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
27751         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
27752         long_double_symbol calls.
27753         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
27754         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
27755         strong alias of __ldexpl.
27756         (scalbnl): Define using long_double_symbol.
27757         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
27758         Remove alias.
27759         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
27760         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
27761         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
27762         (scalbln_test_data): Add more errno expectations.
27764 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
27766         Cache the host port like we cache the task port.  This way we do not
27767         need to call the kernel just to get the port.  Furthermore, we no
27768         longer increase the reference count on every invocation of
27769         `mach_host_self'.
27771         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
27772         Protect declarations against the macro expansion.
27773         * mach/mach_init.c (__mach_host_self_): New variable.
27774         (mach_init): Initialize `__mach_host_self_'.
27775         * mach/mach_init.h (__mach_host_self_): New declaration.
27776         (__mach_host_self, mach_host_self): New macros.
27777         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27778         Release reference.
27780 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27782         [BZ #4404]
27783         * po/de.po: Update from Translation Project.
27785         [BZ #16415]
27786         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27787         (__expm1l): Remove code to handle positive infinity and overflow.
27788         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27789         variable.
27790         (__expm1l): Remove code to handle positive infinity and overflow.
27792 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27793             Paul Pluzhnikov  <ppluzhnikov@google.com>
27795         [BZ #18872]
27796         * stdio-common/Makefile (tst-printf-bz18872): New test.
27797         (tst-printf-bz18872-mem.out): Likewise.
27798         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27799         * stdio-common/vfprintf.c: Fix memory leaks.
27801 2015-09-16  Andreas Schwab  <schwab@suse.de>
27803         [BZ #17244]
27804         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27805         Remove extra va_start/va_end calls.
27807         [BZ #17243]
27808         * posix/execl.c (execl): Add missing va_end.
27809         * posix/execle.c (execle): Likewise.
27810         * posix/execlp.c (execlp): Likewise.
27812 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27814         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27815         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27817 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27819         [BZ #18967]
27820         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27821         undefine around includes of <bits/mathcalls.h>.
27822         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27823         not declare function.
27824         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27825         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27826         (scalb): Likewise.
27827         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27828         not define macro.
27829         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27830         variable.
27831         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27832         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27833         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27835         [BZ #18857]
27836         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
27837         return non-finite argument without doing ordered comparisons on
27838         it.
27840         [BZ #16296]
27841         * math/fenv.h (fegetround): Use __attribute_pure__.
27842         * include/fenv.h (__fegetround): Likewise.
27844         [BZ #18595]
27845         * math/s_ctan.c (__ctan): Force underflow exception for results
27846         whose real or imaginary part has small absolute value.
27847         * math/s_ctanf.c (__ctanf): Likewise.
27848         * math/s_ctanh.c (__ctanh): Likewise.
27849         * math/s_ctanhf.c (__ctanhf): Likewise.
27850         * math/s_ctanhl.c (__ctanhl): Likewise.
27851         * math/s_ctanl.c (__ctanl): Likewise.
27852         * math/auto-libm-test-in: Do not allow missing underflow for ctan
27853         and ctanh.  Add more tests of ctan and ctanh.
27855         [BZ #15918]
27856         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
27857         handling of cases where one argument is an infinity.
27859         [BZ #18875]
27860         [BZ #18966]
27861         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
27862         (MO): New macro.
27863         (__ieee754_exp10): For small results, force underflow exception
27864         and remove excess range and precision from return value.
27865         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
27866         (MO): New macro.
27867         (__ieee754_exp10f): For small results, force underflow exception
27868         and remove excess range and precision from return value.
27869         * math/auto-libm-test-in: Add more tests of exp10.
27870         * math/auto-libm-test-out: Regenerated.
27872 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
27874         [BZ #18875]
27875         [BZ #18961]
27876         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
27877         (MO): New macro.
27878         (__ieee754_exp): For small results, force underflow exception and
27879         remove excess range and precision from return value.
27880         (__exp_finite): Likewise.
27881         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
27882         (MO): New macro.
27883         (__ieee754_expf): For small results, force underflow exception and
27884         remove excess range and precision from return value.
27885         (__expf_finite): Likewise.
27886         * math/auto-libm-test-in: Add more tests of exp.
27887         * math/auto-libm-test-out: Regenerated.
27889         [BZ #16521]
27890         [BZ #18875]
27891         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
27892         small results.
27893         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
27894         (MO): New macro.
27895         (__ieee754_exp2): For small results, force underflow exception and
27896         remove excess range and precision from return value.
27897         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27898         (MO): New macro.
27899         (__ieee754_exp2f): For small results, force underflow exception
27900         and remove excess range and precision from return value.
27901         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
27902         (MO): New macro.
27903         (__ieee754_exp2l): Force underflow exception for small results.
27904         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27905         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27906         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
27907         (MO): New macro.
27908         (__ieee754_exp2l): Force underflow exception for small results.
27909         * math/auto-libm-test-in: Add more tests or exp2.
27910         * math/auto-libm-test-out: Regenerated.
27912 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
27914         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
27916         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
27917         /dev/null.
27919 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27921         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27922         io fs process)): Drop spurious backslash.
27924 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27926         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
27927         Use sysinfo system call instead of parsing /proc/meminfo.
27928         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
27929         Likewise.
27931 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
27933         [BZ #16985]
27934         * programs/localedef.c (main): Display argv[remaining] when
27935         output_path is NULL.
27937 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27939         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27940         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
27941         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
27942         tanh.
27943         * math/auto-libm-test-out: Regenerated.
27944         * sysdeps/i386/fpu/libm-test-ulps: Update.
27945         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27946         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27949 2015-09-11  Roland McGrath  <roland@hack.frob.com>
27951         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
27952         Use 'override' keyword to freeze the value here, preventing
27953         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
27955 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27957         [BZ #14912]
27958         * sysdeps/aarch64/bits/atomic.h: Move to ...
27959         * sysdeps/aarch64/atomic-machine.h: ...here.
27960         (_AARCH64_BITS_ATOMIC_H): Rename macro to
27961         _AARCH64_ATOMIC_MACHINE_H.
27962         * sysdeps/alpha/bits/atomic.h: Move to ...
27963         * sysdeps/alpha/atomic-machine.h: ...here.
27964         * sysdeps/arm/bits/atomic.h: Move to ...
27965         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
27966         * bits/atomic.h: Move to ...
27967         * sysdeps/generic/atomic-machine.h: ...here.
27968         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27969         * sysdeps/i386/bits/atomic.h: Move to ...
27970         * sysdeps/i386/atomic-machine.h: ...here.
27971         * sysdeps/ia64/bits/atomic.h: Move to ...
27972         * sysdeps/ia64/atomic-machine.h: ...here.
27973         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
27974         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
27975         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27976         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
27977         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
27978         * sysdeps/microblaze/bits/atomic.h: Move to ...
27979         * sysdeps/microblaze/atomic-machine.h: ...here.
27980         * sysdeps/mips/bits/atomic.h: Move to ...
27981         * sysdeps/mips/atomic-machine.h: ...here.
27982         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
27983         * sysdeps/powerpc/bits/atomic.h: Move to ...
27984         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
27985         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
27986         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
27987         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
27988         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
27989         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
27990         <atomic-machine.h> instead of <bits/atomic.h>.
27991         * sysdeps/s390/bits/atomic.h: Move to ...
27992         * sysdeps/s390/atomic-machine.h: ...here.
27993         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
27994         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
27995         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27996         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
27997         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
27998         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
27999         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
28000         * sysdeps/tile/bits/atomic.h: Move to ...
28001         * sysdeps/tile/atomic-machine.h: ...here.
28002         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
28003         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
28004         <sysdeps/tile/atomic-machine.h> instead of
28005         <sysdeps/tile/bits/atomic.h>.
28006         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28007         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
28008         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
28009         <sysdeps/tile/atomic-machine.h> instead of
28010         <sysdeps/tile/bits/atomic.h>.
28011         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28012         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
28013         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
28014         <sysdeps/arm/atomic-machine.h> instead of
28015         <sysdeps/arm/bits/atomic.h>.
28016         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
28017         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
28018         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28019         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
28020         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
28021         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28022         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
28023         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
28024         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
28025         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
28026         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
28027         * sysdeps/x86_64/bits/atomic.h: Move to ...
28028         * sysdeps/x86_64/atomic-machine.h: ...here.
28029         * include/atomic.h: Include <atomic-machine.h> instead of
28030         <bits/atomic.h>.
28032         * sysdeps/mips/mips32/libm-test-ulps: Update.
28033         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28035         [BZ #18952]
28036         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
28037         not convert non-integer negative arguments to int to determine the
28038         value of signgam.
28039         * math/auto-libm-test-in: Add more tests of lgamma.
28040         * math/auto-libm-test-out: Regenerated.
28042         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
28043         cosh, csqrt, erfc, expm1 and lgamma.
28044         * math/auto-libm-test-out: Regenerated.
28045         * sysdeps/i386/fpu/libm-test-ulps: Update.
28046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28048 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
28050         [BZ #2542]
28051         [BZ #2543]
28052         [BZ #2558]
28053         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
28054         __lgamma_neg for arguments from -28.0 to -2.0.
28055         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
28056         __lgamma_negf for arguments from -15.0 to -2.0.
28057         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28058         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
28059         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
28060         Call __lgamma_negl for arguments from -33.0 to -2.0.
28061         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
28062         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
28063         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
28064         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
28065         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
28066         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
28067         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
28068         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
28069         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
28070         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
28071         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
28072         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
28073         (__lgamma_neg): Likewise.
28074         (__lgamma_negl): Likewise.
28075         (__lgamma_product): Likewise.
28076         (__lgamma_productl): Likewise.
28077         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
28078         * math/auto-libm-test-in: Add more tests of lgamma.
28079         * math/auto-libm-test-out: Regenerated.
28080         * sysdeps/i386/fpu/libm-test-ulps: Update.
28081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28083 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
28085         [BZ #18675]
28086         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
28088 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
28090         [BZ #14912]
28091         * bits/libc-lock.h: Move to ...
28092         * sysdeps/generic/libc-lock.h: ...here.
28093         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28094         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
28095         * sysdeps/mach/hurd/libc-lock.h: ...here.
28096         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28097         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
28098         * sysdeps/mach/bits/libc-lock.h: Move to ...
28099         * sysdeps/mach/libc-lock.h: ...here.
28100         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28101         * sysdeps/nptl/bits/libc-lock.h: Move to ...
28102         * sysdeps/nptl/libc-lock.h: ...here.
28103         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28104         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
28105         * sysdeps/nptl/libc-lockP.h: ...here.
28106         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
28107         * crypt/crypt_util.c: Include <libc-lock.h> instead of
28108         <bits/libc-lock.h>.
28109         * dirent/scandir-tail.c: Likewise.
28110         * dlfcn/dlerror.c: Likewise.
28111         * elf/dl-close.c: Likewise.
28112         * elf/dl-iteratephdr.c: Likewise.
28113         * elf/dl-lookup.c: Likewise.
28114         * elf/dl-open.c: Likewise.
28115         * elf/dl-support.c: Likewise.
28116         * elf/dl-writev.h: Likewise.
28117         * elf/rtld.c: Likewise.
28118         * grp/fgetgrent.c: Likewise.
28119         * gshadow/fgetsgent.c: Likewise.
28120         * gshadow/sgetsgent.c: Likewise.
28121         * iconv/gconv_conf.c: Likewise.
28122         * iconv/gconv_db.c: Likewise.
28123         * iconv/gconv_dl.c: Likewise.
28124         * iconv/gconv_int.h: Likewise.
28125         * iconv/gconv_trans.c: Likewise.
28126         * include/link.h: Likewise.
28127         * inet/getnameinfo.c: Likewise.
28128         * inet/getnetgrent.c: Likewise.
28129         * inet/getnetgrent_r.c: Likewise.
28130         * intl/bindtextdom.c: Likewise.
28131         * intl/dcigettext.c: Likewise.
28132         * intl/finddomain.c: Likewise.
28133         * intl/gettextP.h: Likewise.
28134         * intl/loadmsgcat.c: Likewise.
28135         * intl/localealias.c: Likewise.
28136         * intl/textdomain.c: Likewise.
28137         * libidn/idn-stub.c: Likewise.
28138         * libio/libioP.h: Likewise.
28139         * locale/duplocale.c: Likewise.
28140         * locale/freelocale.c: Likewise.
28141         * locale/newlocale.c: Likewise.
28142         * locale/setlocale.c: Likewise.
28143         * login/getutent_r.c: Likewise.
28144         * login/getutid_r.c: Likewise.
28145         * login/getutline_r.c: Likewise.
28146         * login/utmp-private.h: Likewise.
28147         * login/utmpname.c: Likewise.
28148         * malloc/mtrace.c: Likewise.
28149         * misc/efgcvt.c: Likewise.
28150         * misc/error.c: Likewise.
28151         * misc/fstab.c: Likewise.
28152         * misc/getpass.c: Likewise.
28153         * misc/mntent.c: Likewise.
28154         * misc/syslog.c: Likewise.
28155         * nis/nis_call.c: Likewise.
28156         * nis/nis_callback.c: Likewise.
28157         * nis/nss-default.c: Likewise.
28158         * nis/nss_compat/compat-grp.c: Likewise.
28159         * nis/nss_compat/compat-initgroups.c: Likewise.
28160         * nis/nss_compat/compat-pwd.c: Likewise.
28161         * nis/nss_compat/compat-spwd.c: Likewise.
28162         * nis/nss_nis/nis-alias.c: Likewise.
28163         * nis/nss_nis/nis-ethers.c: Likewise.
28164         * nis/nss_nis/nis-grp.c: Likewise.
28165         * nis/nss_nis/nis-hosts.c: Likewise.
28166         * nis/nss_nis/nis-network.c: Likewise.
28167         * nis/nss_nis/nis-proto.c: Likewise.
28168         * nis/nss_nis/nis-pwd.c: Likewise.
28169         * nis/nss_nis/nis-rpc.c: Likewise.
28170         * nis/nss_nis/nis-service.c: Likewise.
28171         * nis/nss_nis/nis-spwd.c: Likewise.
28172         * nis/nss_nisplus/nisplus-alias.c: Likewise.
28173         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28174         * nis/nss_nisplus/nisplus-grp.c: Likewise.
28175         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28176         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28177         * nis/nss_nisplus/nisplus-network.c: Likewise.
28178         * nis/nss_nisplus/nisplus-proto.c: Likewise.
28179         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28180         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28181         * nis/nss_nisplus/nisplus-service.c: Likewise.
28182         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28183         * nis/ypclnt.c: Likewise.
28184         * nptl/libc_pthread_init.c: Likewise.
28185         * nss/getXXbyYY.c: Likewise.
28186         * nss/getXXent.c: Likewise.
28187         * nss/getXXent_r.c: Likewise.
28188         * nss/nss_db/db-XXX.c: Likewise.
28189         * nss/nss_db/db-netgrp.c: Likewise.
28190         * nss/nss_db/nss_db.h: Likewise.
28191         * nss/nss_files/files-XXX.c: Likewise.
28192         * nss/nss_files/files-alias.c: Likewise.
28193         * nss/nsswitch.c: Likewise.
28194         * posix/regex_internal.h: Likewise.
28195         * posix/wordexp.c: Likewise.
28196         * pwd/fgetpwent.c: Likewise.
28197         * resolv/res_hconf.c: Likewise.
28198         * resolv/res_libc.c: Likewise.
28199         * shadow/fgetspent.c: Likewise.
28200         * shadow/lckpwdf.c: Likewise.
28201         * shadow/sgetspent.c: Likewise.
28202         * socket/opensock.c: Likewise.
28203         * stdio-common/reg-modifier.c: Likewise.
28204         * stdio-common/reg-printf.c: Likewise.
28205         * stdio-common/reg-type.c: Likewise.
28206         * stdio-common/vfprintf.c: Likewise.
28207         * stdio-common/vfscanf.c: Likewise.
28208         * stdlib/abort.c: Likewise.
28209         * stdlib/cxa_atexit.c: Likewise.
28210         * stdlib/fmtmsg.c: Likewise.
28211         * stdlib/random.c: Likewise.
28212         * stdlib/setenv.c: Likewise.
28213         * string/strsignal.c: Likewise.
28214         * sunrpc/auth_none.c: Likewise.
28215         * sunrpc/bindrsvprt.c: Likewise.
28216         * sunrpc/create_xid.c: Likewise.
28217         * sunrpc/key_call.c: Likewise.
28218         * sunrpc/rpc_thread.c: Likewise.
28219         * sysdeps/arm/backtrace.c: Likewise.
28220         * sysdeps/generic/ldsodefs.h: Likewise.
28221         * sysdeps/generic/stdio-lock.h: Likewise.
28222         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28223         * sysdeps/i386/backtrace.c: Likewise.
28224         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28225         * sysdeps/m68k/backtrace.c: Likewise.
28226         * sysdeps/mach/hurd/cthreads.c: Likewise.
28227         * sysdeps/mach/hurd/dirstream.h: Likewise.
28228         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28229         * sysdeps/nptl/malloc-machine.h: Likewise.
28230         * sysdeps/nptl/stdio-lock.h: Likewise.
28231         * sysdeps/posix/dirstream.h: Likewise.
28232         * sysdeps/posix/getaddrinfo.c: Likewise.
28233         * sysdeps/posix/system.c: Likewise.
28234         * sysdeps/pthread/aio_suspend.c: Likewise.
28235         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28236         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28237         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28238         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28239         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28240         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28241         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28242         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28243         * sysdeps/unix/sysv/linux/system.c: Likewise.
28244         * sysdeps/x86_64/backtrace.c: Likewise.
28245         * time/alt_digit.c: Likewise.
28246         * time/era.c: Likewise.
28247         * time/tzset.c: Likewise.
28248         * wcsmbs/wcsmbsload.c: Likewise.
28249         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28250         instead of <bits/libc-lock.h> in comment.
28252 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28254         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28255         Only use .set mips2 if the current ISA is below mips2.
28256         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28257         Likewise.
28258         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28259         mips32r2 if the current ISA is below mips32r2.
28260         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28261         (TLS_IE): Updated to use the TLD_RDHWR macro.
28262         (TLS_LE): Likewise.
28263         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28264         __ASSEMBLER__ condition.
28266 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28268         Fix parallel build of before-compile targets.
28270         * sysdeps/mach/Makefile ($(patsubst
28271         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28272         mach-before-compile target.
28273         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28274         io fs process)): Move rule to dedicated hurd-before-compile target.
28276 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28278         Fix rules generating headers in hurd/ and mach/ when initial make call
28279         has subdir= explicitly set.
28281         * sysdeps/mach/Makefile ($(patsubst
28282         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28283         calling $(MAKE).
28284         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28285         io fs process)): Force subdir to hurd when calling $(MAKE).
28286         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28287         subdir to mach when calling $(MAKE).
28289 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28291         Check sysheaders when looking for Mach and Hurd headers
28293         * sysdeps/mach/configure.ac: Add sysheaders check.
28294         * sysdeps/mach/configure: Regenerate.
28295         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28296         * sysdeps/mach/hurd/configure: Regenerate.
28298 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28300         [BZ #18921]
28301         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28302         Fix inverted sense of test of 'o_directory_works' value.
28303         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28304         Bernhard Voelker <mail@bernhard-voelker.de>.
28306 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28308         [BZ #14912]
28309         * bits/linkmap.h: Move to ...
28310         * sysdeps/generic/linkmap.h: ...here.
28311         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28312         * sysdeps/aarch64/linkmap.h: ...here.
28313         * sysdeps/arm/bits/linkmap.h: Move to ...
28314         * sysdeps/arm/linkmap.h: ...here.
28315         * sysdeps/hppa/bits/linkmap.h: Move to ...
28316         * sysdeps/hppa/linkmap.h: ...here.
28317         * sysdeps/ia64/bits/linkmap.h: Move to ...
28318         * sysdeps/ia64/linkmap.h: ...here.
28319         * sysdeps/mips/bits/linkmap.h: Move to ...
28320         * sysdeps/mips/linkmap.h: ...here.
28321         * sysdeps/s390/bits/linkmap.h: Move to ...
28322         * sysdeps/s390/linkmap.h: ...here.
28323         * sysdeps/sh/bits/linkmap.h: Move to ...
28324         * sysdeps/sh/linkmap.h: ...here.
28325         * sysdeps/x86/bits/linkmap.h: Move to ...
28326         * sysdeps/x86/linkmap.h: ...here.
28327         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28329 2015-09-04  Andreas Schwab  <schwab@suse.de>
28331         [BZ #18635]
28332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28333         (__makecontext): Terminate FDE before return label.
28334         (__novec_makecontext): Likewise.
28336 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28338         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28339         first member of struct sv in syscall macro.
28341 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28343         [BZ #14912]
28344         * bits/stdio-lock.h: Move to ...
28345         * sysdeps/generic/stdio-lock.h: ...here.
28346         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28347         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28348         * sysdeps/nptl/stdio-lock.h: ...here.
28349         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28350         * include/libio.h: Include <stdio-lock.h> instead of
28351         <bits/stdio-lock.h>.
28352         * sysdeps/nptl/fork.c: Likewise.
28353         * sysdeps/pthread/flockfile.c: Likewise.
28354         * sysdeps/pthread/ftrylockfile.c: Likewise.
28355         * sysdeps/pthread/funlockfile.c: Likewise.
28357         [BZ #14912]
28358         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28359         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28360         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28361         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28362         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28363         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28364         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28366 2015-09-03  Roland McGrath  <roland@hack.frob.com>
28368         * elf/Makefile (test-xfail-tst-protected1a): New variable.
28369         (test-xfail-tst-protected1b): New variable.
28371 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
28373         [BZ #14912]
28374         * bits/libc-tsd.h: Move to ...
28375         * sysdeps/generic/libc-tsd.h: ...here.
28376         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28377         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28378         * sysdeps/mach/hurd/libc-tsd.h: ...here.
28379         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28380         * include/ctype.h: Include <libc-tsd.h> instead of
28381         <bits/libc-tsd.h>.
28382         * include/rpc/rpc.h: Likewise.
28383         * locale/localeinfo.h: Likewise.
28384         * sunrpc/rpc_thread.c: Likewise.
28385         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28386         * sysdeps/nptl/malloc-machine.h: Likewise.
28388         * Makefile (headers): Remove bits/libc-lock.h.
28389         * libio/Makefile (headers): Remove bits/stdio-lock.h.
28391         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28392         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28393         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28394         <bits/stdio-lock.h>.
28395         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28396         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28398 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28400         [BZ #18757]
28401         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28402         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28403         BZ #18757.
28405 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28407         * malloc/mtrace.pl: Filter out NULL entries.
28409 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
28411         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28412         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28413         macro.
28415         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28416         (TCP_CC_INFO): Likewise.
28417         (TCP_SAVE_SYN): Likewise.
28418         (TCP_SAVED_SYN): Likewise.
28420 2015-08-31  Brett Neumeier <brett@neumeier.us>
28422         [BZ #18870]
28423         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28425 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
28427         [BZ #18873]
28428         Fix broken overflow check in posix_fallocate
28429         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28430         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28431         Fix parenthesization typo.
28433 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
28435         [BZ #18887]
28436         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28437         tst-mntent-blank-passno.
28438         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28439         * misc/tst-mntent-blank-corrupt.c: New test.
28440         * misc/tst-mntent-blank-passno.c: New test ripped from ...
28441         * misc/tst-mntent.c (do_test): ... here.
28443 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
28445         [BZ #4404]
28446         * po/de.po: Fix SIGALRM typo.
28448 2015-08-28  James Perkins  <james@loowit.net>
28450         * time/tst-strptime2.c (tests): Replace short list of test
28451         strings for strptime %z specifier with code which exhaustively
28452         tests every combination of sign and 0 to 5 digits. Tests for
28453         rejection of invalid strings.
28455 2015-08-28  James Perkins  <james@loowit.net>
28457         [BZ #16141]
28458         * time/strptime_l.c (__strptime_internal): Fix %z minutes
28459         calculation, removing incorrect decimal time rounding, so that
28460         all minute values result in a valid seconds value.
28461         * time/strptime_l.c (__strptime_internal): Extend %z time zone
28462         offset range limits to UTC-99:59 through UTC+99:59 to parse
28463         current and historical use cases.
28464         * time/tst-strptime2.c (tests): Modify and add tests for the
28465         strptime %z input field descriptor, specifically conversion of
28466         minutes to seconds and validating an offset range of -9959 to
28467         +9959.
28469 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28470             Dmitry V. Levin  <ldv@altlinux.org>
28472         [BZ #18877]
28473         * posix/Makefile (tests): Add tst-mmap-offset.
28474         * posix/tst-mmap.c: New file.
28475         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
28476         offset calculation for negative values.
28478 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28480         * sysdeps/i386/init-arch.h: New file.
28481         * sysdeps/i386/i586/init-arch.h: Likewise.
28482         * sysdeps/i386/i686/init-arch.h: Likewise.
28483         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
28484         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
28485         * sysdeps/x86/cpu-features.h (bit_I586): New.
28486         (bit_I686): Likewise.
28487         (bit_CX8): Likewise.
28488         (bit_CMOV): Likewise.
28489         (index_CX8): Likewise.
28490         (index_CMOV): Likewise.
28491         (index_I586): Likewise.
28492         (index_I686): Likewise.
28493         (reg_CX8): Likewise.
28494         (reg_CMOV): Likewise.
28495         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28496         available at compile-time.
28497         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
28498         available at compile-time.
28499         * sysdeps/x86/init-arch.h (USE_I586): New macro.
28500         (USE_I686): Likewise.
28502 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28504         * sysdeps/i386/bcopy.S: New file.
28505         * sysdeps/i386/bzero.S: Likewise.
28506         * sysdeps/i386/memcpy.S: Likewise.
28507         * sysdeps/i386/memmove.S: Likewise.
28508         * sysdeps/i386/mempcpy.S: Likewise.
28509         * sysdeps/i386/memset.S: Likewise.
28510         * sysdeps/i386/bzero.c: Removed.
28511         * sysdeps/i386/memset.c: Likewise.
28512         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
28513         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
28514         * sysdeps/i386/i586/memset_chk.S: Likewise.
28515         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
28516         * sysdeps/i386/memcpy_chk.S: Here.
28517         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
28518         * sysdeps/i386/memmove_chk.S: Here.
28519         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
28520         * sysdeps/i386/mempcpy_chk.S: Likewise.
28521         * sysdeps/i386/i686/memset_chk.S: Moved to ...
28522         * sysdeps/i386/memset_chk.S: Likewise.
28524 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
28526         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
28527         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
28528         file, move DIAG_POP_NEEDS_COMMENT to end of file.
28529         * soft-fp/fmadf4.c: Ditto.
28530         * soft-fp/fmatf4.c: Ditto.
28532 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28534         * sysdeps/i386/i586/Implies: Removed.
28535         * sysdeps/i386/i686/Implies: Likewise.
28537 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28539         * sysdeps/i386/i486/strlen.S: Moved to ...
28540         * sysdeps/i386/strlen.S: Here.
28542 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28544         * sysdeps/i386/i486/strcat.S: Moved to ...
28545         * sysdeps/i386/strcat.S: Here.
28547 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28549         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
28550         * sysdeps/i386/pthread_spin_trylock.S: Here.
28551         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
28552         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
28554 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28556         * sysdeps/i386/i486/string-inlines.c: Moved to ...
28557         * sysdeps/i386/string-inlines.c: Here.
28559 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28561         * sysdeps/i386/i486/htonl.S: Moved ...
28562         * sysdeps/i386/htonl.S: here.
28564 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28566         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
28567         * sysdeps/i386/bits/atomic.h: Here.
28569 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28571         * sysdeps/i386/i486/Versions: Removed.
28573 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28575         [BZ #2898]
28576         * misc/mktemp.c: Add mkdtemp to the link_warning message.
28577         Based on patch by Aurelien Jarno.
28579 2015-08-26  Stan Shebs  <stanshebs@google.com>
28581         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
28582         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28584 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28586         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
28587         * sysdeps/powerpc/dl-procinfo.c:
28588         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
28589         feature so it shows when LD_SHOW_AUXV=1.
28591 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28593         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28594         (__arch_compare_and_exchange_val_32_acq): Remove and use common
28595         definition.  ISA 2.07B no longer requires full sync.
28597 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
28599         [BZ #18863]
28600         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
28601         (si_call_addr): Define.
28602         (si_syscall): Define.
28603         (si_arch): Define.
28605 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
28607         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
28608         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
28609         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
28610         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28611         (__memset_zero_constant_len_parameter): New.
28612         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
28613         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28614         (__memset_zero_constant_len_parameter): Don't define if
28615         __memset_chk or USE_AS_BZERO are defined.
28617         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
28618         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
28619         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
28621         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
28622         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
28623         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
28624         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
28625         comments.
28626         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
28627         -mno-mmx for $(all-rtld-routines).
28628         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
28629         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
28630         i386.
28632 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28634         * sysdeps/generic/unwind.h
28635         (_Unwind_Word): Use __mode__(__unwind_word__)
28636         instead of __mode__(__word__).
28637         (_Unwind_Sword): Likewise.
28639         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28640         (MAX_NEEDED_INPUT): New define.
28641         (MAX_NEEDED_OUTPUT): New define.
28643         * NEWS: New item for IBM z13 string optimizations.
28645         * sysdeps/s390/multiarch/memrchr-c.c: New File.
28646         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
28647         * sysdeps/s390/multiarch/memrchr.c: Likewise.
28648         * sysdeps/s390/multiarch/Makefile
28649         (sysdep_routines): Add memrchr functions.
28650         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28651         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
28653         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
28654         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
28655         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
28656         * sysdeps/s390/multiarch/Makefile
28657         (sysdep_routines): Add wmemcmp functions.
28658         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28659         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
28660         * benchtests/bench-wmemcmp.c: New File.
28661         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
28663         * sysdeps/s390/multiarch/wmemset-c.c: New File.
28664         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
28665         * sysdeps/s390/multiarch/wmemset.c: Likewise.
28666         * sysdeps/s390/multiarch/Makefile
28667         (sysdep_routines): Add wmemset functions.
28668         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28669         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
28670         * wcsmbs/wmemset.c: Use WMEMSET if defined.
28671         * string/test-memset.c: Add wmemset support.
28672         * wcsmbs/test-wmemset.c: New File.
28673         * wcsmbs/Makefile (strop-tests): Add wmemset.
28674         * benchtests/bench-memset.c: Add wmemset support.
28675         * benchtests/bench-wmemset.c: New File.
28676         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
28678         * sysdeps/s390/multiarch/memccpy-c.c: New File.
28679         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
28680         * sysdeps/s390/multiarch/memccpy.c: Likewise.
28681         * sysdeps/s390/multiarch/Makefile
28682         (sysdep_routines): Add memccpy functions.
28683         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28684         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
28685         * string/memccpy.c: Use MEMCCPY if defined.
28687         * sysdeps/s390/multiarch/memchr-vx.S: New File.
28688         * sysdeps/s390/multiarch/memchr.c: Likewise.
28689         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
28690         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
28691         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
28692         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
28693         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
28694         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
28695         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
28696         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
28697         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
28698         and rawmemchr functions.
28699         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28700         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
28701         and wmemchr.
28702         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
28703         * string/test-memchr.c: Add wmemchr support.
28704         * wcsmbs/test-wmemchr.c: New File.
28705         * wcsmbs/Makefile (strop-tests): Add wmemchr.
28706         * benchtests/bench-memchr.c: Add wmemchr support.
28707         * benchtests/bench-wmemchr.c: New File.
28708         * benchtests/Makefile (wcsmbs-bench): wmemchr.
28710         * sysdeps/s390/multiarch/strcspn-c.c: New File.
28711         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
28712         * sysdeps/s390/multiarch/strcspn.c: Likewise.
28713         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
28714         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
28715         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
28716         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
28717         wcscspn functions.
28718         * sysdeps/s390/multiarch/ifunc-impl-list.c
28719         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
28720         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
28721         * string/test-strcspn.c: Add wcscspn support.
28722         * wcsmbs/test-wcscspn.c: New File.
28723         * wcsmbs/Makefile (strop-tests): Add wcscspn.
28724         * benchtests/bench-strcspn.c: Add wcscspn support.
28725         * benchtests/bench-wcscspn.c: New File.
28726         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
28728         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
28729         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
28730         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
28731         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
28732         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
28733         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
28734         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
28735         wcspbrk functions.
28736         * sysdeps/s390/multiarch/ifunc-impl-list.c
28737         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
28738         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
28739         * string/test-strpbrk.c: Add wcspbrk support.
28740         * wcsmbs/test-wcspbrk.c: New File.
28741         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
28742         * benchtests/bench-strpbrk.c: Add wcspbrk support.
28743         * benchtests/bench-wcspbrk.c: New File.
28744         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
28746         * sysdeps/s390/multiarch/strspn-c.c: New File.
28747         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
28748         * sysdeps/s390/multiarch/strspn.c: Likewise.
28749         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
28750         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
28751         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
28752         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
28753         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
28754         wcsspn functions.
28755         * sysdeps/s390/multiarch/ifunc-impl-list.c
28756         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
28757         * string/test-strspn.c: Add wcsspn support.
28758         * wcsmbs/test-wcsspn.c: New File.
28759         * wcsmbs/Makefile (strop-tests): Add wcsspn.
28760         * benchtests/bench-strspn.c: Add wcsspn support.
28761         * benchtests/bench-wcsspn.c: New File.
28762         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
28764         * sysdeps/s390/multiarch/strrchr-c.c: New File.
28765         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
28766         * sysdeps/s390/multiarch/strrchr.c: Likewise.
28767         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
28768         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
28769         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
28770         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
28771         wcsrchr functions.
28772         * sysdeps/s390/multiarch/ifunc-impl-list.c
28773         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
28774         * benchtests/bench-wcsrchr.c: New File.
28775         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28777         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28778         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28779         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28780         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28781         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28782         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28783         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28784         wcschrnul functions.
28785         * sysdeps/s390/multiarch/ifunc-impl-list.c
28786         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28787         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28788         * string/test-strchr.c: Add wcschrnul support.
28789         * wcsmbs/test-wcschrnul.c: New File.
28790         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28791         * benchtests/bench-strchr.c: Add wcschrnul support.
28792         * benchtests/bench-wcschrnul.c: New File.
28793         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28795         * sysdeps/s390/multiarch/strchr-c.c: New File.
28796         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28797         * sysdeps/s390/multiarch/strchr.c: Likewise.
28798         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28799         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28800         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28801         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28802         wcschr functions.
28803         * sysdeps/s390/multiarch/ifunc-impl-list.c
28804         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28805         * string/strchr.c (STRCHR): Define and use macro.
28806         * benchtests/bench-wcschr.c: New File.
28807         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28809         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28810         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28811         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28812         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28813         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28814         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28815         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28816         wcsncmp functions.
28817         * sysdeps/s390/multiarch/ifunc-impl-list.c
28818         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28819         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28820         * benchtests/bench-strncmp.c: Add wcsncmp support.
28821         * benchtests/bench-wcsncmp.c: New File.
28822         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28824         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28825         * sysdeps/s390/multiarch/strcmp.c: Likewise.
28826         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28827         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28828         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28829         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28830         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28831         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28832         wcscmp functions.
28833         * sysdeps/s390/multiarch/ifunc-impl-list.c
28834         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
28835         * string/strcmp.c (STRCMP): Define and use macro.
28836         * benchtests/bench-wcscmp.c: New File.
28837         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
28838         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
28839         instead of _HAVE_STRING_ARCH_memchr.
28841         * sysdeps/s390/multiarch/strncat-c.c: New File.
28842         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
28843         * sysdeps/s390/multiarch/strncat.c: Likewise.
28844         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
28845         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
28846         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
28847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
28848         wcsncat functions.
28849         * sysdeps/s390/multiarch/ifunc-impl-list.c
28850         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
28851         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
28852         * string/test-strncat.c: Add wcsncat support.
28853         * wcsmbs/test-wcsncat.c: New File.
28854         * wcsmbs/Makefile (strop-tests): Add wcsncat.
28855         * benchtests/bench-strncat.c: Add wcsncat support.
28856         * benchtests/bench-wcsncat.c: New File.
28857         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
28859         * sysdeps/s390/multiarch/strcat-c.c: New File.
28860         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
28861         * sysdeps/s390/multiarch/strcat.c: Likewise.
28862         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
28863         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
28864         * sysdeps/s390/multiarch/wcscat.c: Likewise.
28865         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
28866         wcscat functions.
28867         * sysdeps/s390/multiarch/ifunc-impl-list.c
28868         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
28869         * string/strcat.c (STRCAT): Define and use macro.
28870         * wcsmbs/wcscat.c: Use WCSCAT if defined.
28871         * string/test-strcat.c: Add wcscat support.
28872         * wcsmbs/test-wcscat.c: New File.
28873         * wcsmbs/Makefile (strop-tests): Add wcscat.
28874         * benchtests/bench-strcat.c: Add wcscat support.
28875         * benchtests/bench-wcscat.c: New File.
28876         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
28878         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
28879         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
28880         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
28881         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
28882         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
28883         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
28884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
28885         wcpncpy functions.
28886         * sysdeps/s390/multiarch/ifunc-impl-list.c
28887         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
28888         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
28889         * string/test-stpncpy.c: Add wcpncpy support.
28890         * wcsmbs/test-wcpncpy.c: New File.
28891         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
28892         * benchtests/bench-stpncpy.c: Add wcpncpy support.
28893         * benchtests/bench-wcpncpy.c: New File.
28894         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
28896         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
28897         * sysdeps/s390/multiarch/strncpy.c: Likewise.
28898         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
28899         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
28900         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
28901         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
28902         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
28903         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
28904         wcsncpy functions.
28905         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
28906         * sysdeps/s390/multiarch/ifunc-impl-list.c
28907         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
28908         * string/test-strncpy.c: Add wcsncpy support.
28909         * wcsmbs/test-wcsncpy.c: New File.
28910         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
28911         * benchtests/bench-strncpy.c: Add wcsncpy support.
28912         * benchtests/bench-wcsncpy.c: New File.
28913         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
28915         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
28916         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
28917         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28918         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28919         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
28920         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
28921         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
28922         wcpcpy functions.
28923         * string/stpcpy.c: Use STPCPY if defined.
28924         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
28925         * sysdeps/s390/multiarch/ifunc-impl-list.c
28926         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
28927         * string/test-stpcpy.c: Add wcpcpy support.
28928         * wcsmbs/test-wcpcpy.c: New File.
28929         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
28930         * benchtests/bench-stpcpy.c: Add wcpcpy support.
28931         * benchtests/bench-wcpcpy.c: New File.
28932         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
28934         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
28935         * sysdeps/s390/multiarch/strcpy.c: Likewise.
28936         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
28937         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
28938         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
28939         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
28940         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
28941         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
28942         wcscpy functions.
28943         * sysdeps/s390/multiarch/ifunc-impl-list.c
28944         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
28945         * benchtests/bench-wcscpy.c: New File.
28946         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
28948         * sysdeps/s390/multiarch/strnlen-c.c: New File.
28949         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
28950         * sysdeps/s390/multiarch/strnlen.c: Likewise.
28951         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
28952         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
28953         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
28954         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
28955         wcsnlen functions.
28956         * sysdeps/s390/multiarch/ifunc-impl-list.c
28957         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
28958         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
28959         * string/test-strnlen.c: Add wcsnlen support.
28960         * wcsmbs/test-wcsnlen.c: New File.
28961         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
28962         * benchtests/bench-strnlen.c: Add wcsnlen support.
28963         * benchtests/bench-wcsnlen.c: New File.
28964         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
28966         * sysdeps/s390/multiarch/Makefile: New File.
28967         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
28968         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
28969         * sysdeps/s390/multiarch/strlen.c: Likewise.
28970         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28971         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
28972         * sysdeps/s390/multiarch/wcslen.c: Likewise.
28973         * string/strlen.c (STRLEN): Define and use macro.
28974         * sysdeps/s390/multiarch/ifunc-impl-list.c
28975         (IFUNC_VX_IMPL): New macro function.
28976         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
28977         * benchtests/Makefile (wcsmbs-bench): New variable.
28978         (string-bench-all): Added wcsmbs-bench.
28979         * benchtests/bench-wcslen.c: New File.
28981         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
28982         s390_vx_libc_ifunc2): New macro function.
28984         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
28985         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
28986         assembler support.
28987         * sysdeps/s390/configure: Regenerated.
28989         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
28990         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28992         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
28993         * sysdeps/s390/dl-procinfo.h: Add vector capability.
28994         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
28996         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
28997         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
28998         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
28999         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
29000         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
29001         (memcmp, bcmp): Use __memcmp_default as alias source.
29002         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
29003         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
29004         Rename to __memcmp_default.
29005         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
29006         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
29007         (memcpy): Use __memcpy_default as alias source.
29008         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
29009         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
29010         Rename to __memcpy_default.
29011         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
29012         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
29013         (memset): Use __memset_default as alias source.
29014         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
29015         * sysdeps/s390/s390-32/memset.S (__memset_g5):
29016         Rename to __memset_default.
29017         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
29018         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
29019         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
29020         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
29021         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
29022         (memcmp, bcmp): Use __memcmp_default as alias source.
29023         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
29024         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
29025         Rename to __memcmp_default.
29026         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
29027         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
29028         (memcpy): Use __memcpy_default as alias source.
29029         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
29030         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
29031         Rename to __memcpy_default.
29032         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
29033         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
29034         (memset): Use __memset_default as alias source.
29035         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
29036         * sysdeps/s390/s390-64/memset.S (__memset_z900):
29037         Rename to __memset_default.
29038         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
29039         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
29041         [BZ #18610]
29042         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
29043         __ieee_instruction_pointer to __unused.
29044         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
29045         __ieee_instruction_pointer.
29046         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
29047         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
29048         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29049         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29050         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
29051         Mark dxc-field as reserved.
29053 2015-08-25  Roland McGrath  <roland@hack.frob.com>
29055         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
29056         if the weak reference is not null.
29058 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29060         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
29062         [BZ #11214]
29063         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
29065 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29067         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
29068         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
29069         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
29070         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
29071         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
29072         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
29073         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
29074         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
29075         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
29076         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
29077         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
29078         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
29079         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
29080         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
29081         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
29082         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
29083         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
29084         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
29086 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29088         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
29089         register other than r0 for tabort, it has special meaning.
29090         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
29091         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
29092         transaction before starting syscall.
29094 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29096         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
29098 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29100         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
29102         * sysdeps/x86_64/rtld-memcmp.c: Removed.
29103         * sysdeps/x86_64/rtld-memset.S: Likewise.
29104         * sysdeps/x86_64/rtld-strchr.S: Likewise.
29105         * sysdeps/x86_64/rtld-strlen.S: Likewise.
29106         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
29107         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29109         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
29111 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
29113         * debug/strcpy_chk.c: Improve performance.
29114         * debug/stpcpy_chk.c: Likewise.
29115         * sysdeps/x86_64/strcpy_chk.S: Remove.
29116         * sysdeps/x86_64/stpcpy_chk.S: Remove.
29118         [BZ #18240]
29119         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
29121 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29123         [BZ #15128]
29124         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
29125         ifuncmain8.
29126         (modules-names): Add ifuncmod8.
29127         ($(objpfx)ifuncmain8): New rule.
29128         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
29129         <cpuid.h>.
29130         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
29131         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
29132         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
29133         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
29134         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29135         * sysdeps/x86_64/dl-trampoline.h: Likewise.
29136         * sysdeps/x86_64/ifuncmain8.c: New file.
29137         * sysdeps/x86_64/ifuncmod8.c: Likewise.
29138         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
29139         Removed.
29140         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
29141         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
29142         Change rtld_savespace_sse to __glibc_unused2.
29143         (RTLD_CHECK_FOREIGN_CALL): Removed.
29144         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
29145         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
29146         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
29148 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29150         * sysdeps/aarch64/bzero.S (__bzero): Remove.
29152 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29154         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29155         Unconditionally set __fpcr to avoid uninialized warning.
29156         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29158 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29160         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29161         is corrupt.
29163         * malloc/arena.c (arena_get2): Drop unused argument.
29164         (arena_lock): Adjust.
29165         (arena_get_retry): Likewise.
29167 2015-08-24  Andreas Schwab  <schwab@suse.de>
29169         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29170         Don't define.
29171         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29172         (__ASSUME_IPC64): Don't undef.
29173         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29174         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29175         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29176         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29177         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29178         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29179         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29180         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29181         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29182         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29183         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29184         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29185         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29186         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29187         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29188         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29189         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29190         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29191         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29192         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29193         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29195 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
29197         * manual/Makefile (install): Only build manual when perl is available.
29199 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29201         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29202         '#undef memcpy' by '#undef memchr'.
29204 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29206         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29207         memchr not point to the internal __GI_memchr implementation.
29209 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29211         * timezone/Makefile (CFLAGS-zdump.c): Remove
29212         -Wno-strict-prototypes.
29213         (CFLAGS-zic.c): Likewise.
29214         (CFLAGS-ialloc.c): Likewise.
29215         (CFLAGS-scheck.c): Likewise.
29217         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29218         -Wno-error=undef.
29220 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29222         * i386/i686/multiarch/strcasestr-c.c: Removed.
29223         * x86_64/multiarch/strcasestr.c: Likewise.
29224         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29225         Remove strcasestr.
29227 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29229         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29231         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29232         variables for high and low parts before possibly modifying them.
29234 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29236         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29237         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29238         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29239         of "multiarch/init-arch.h".
29240         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29241         * sysdeps/x86/init-arch.h: This.
29243 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29245         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29246         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29248 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29250         [BZ #17787]
29251         * manual/macros.texi: Add twoexp macro.
29252         * manual/filesys.texi: Fix exponents.
29253         * manual/llio.texi: Likewise.
29254         * manual/stdio.texi: Likewise.
29256 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29258         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29259         incorrect use.
29261 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29263         [BZ #18370]
29264         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29265         whose real or imaginary part has small absolute value.
29266         * math/s_csqrtf.c (__csqrtf): Likewise.
29267         * math/s_csqrtl.c (__csqrtl): Likewise.
29268         * math/auto-libm-test-in: Add more tests of csqrt.
29269         * math/auto-libm-test-out: Regenerated.
29270         * sysdeps/i386/fpu/libm-test-ulps: Update.
29272 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29274         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29275         __ppc_set_ppr_very_low): New functions.
29276         * manual/platform.texi: Add documentation about
29277         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29279 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29281         * string/stpncpy.c (stpncpy): Improve performance using
29282         __strnlen/memcpy/memset.
29284 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29286         [BZ #18796]
29287         * scripts/test-installation.pl: Don't add -lmvec to build options if
29288         libmvec wasn't built.
29290 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29292         [BZ #14341]
29293         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29294         case when there is a gap between DT_REL and DT_JMPREL sections.
29295         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29296         (LDFLAGS-tst-split-dynreloc): New.
29297         (tst-split-dynreloc-ENV): Likewise.
29298         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29299         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29301 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29303         [BZ #18822]
29304         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29305         attribute_hidden.
29306         (__xstat64_conv): Likewise.
29307         (__xstat32_conv): Likewise.
29309 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29311         [BZ #18822]
29312         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29313         Don't load %ebx when calling __setcontext.  Call __setcontext
29314         with HIDDEN_JUMPTARGET.
29315         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29316         libc_hidden_def.
29318 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29320         * sysdeps/i386/i686/Makefile
29321         [$(subdir) == string] (sysdep_routines): Moved to ...
29322         * sysdeps/i386/Makefile: Here.
29323         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29324         * sysdeps/i386/cacheinfo.c: Here.
29325         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29326         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29327         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29328         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29330 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29332         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29333         __i586__ is defined.
29334         (HAS_I686): Defined to 1 if __i686__ is defined.
29336 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29338         * elf/Makefile [$(have-z-execstack) = yes]
29339         (CPPFLAGS-tst-execstack.c): New variable.
29341         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29342         conditional to [defined UTMPX || _HAVE_UT_TYPE].
29343         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29344         UTMPX || _HAVE_UT_TV].
29345         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29346         UTMPX || _HAVE_UT_TV - 0].
29348 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
29350         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29351         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29352         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29354 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29356         * sysdeps/powerpc/dl-procinfo.c:
29357         (_dl_powerpc_cap_flags): Added missing strings for some
29358         hwcap features.
29359         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29361 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
29363         Port the 0x7efe...feff pattern to GCC 6.
29364         See Steve Ellcey's bug report in:
29365         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29366         * string/memrchr.c (MEMRCHR):
29367         * string/rawmemchr.c (RAWMEMCHR):
29368         * string/strchr.c (strchr):
29369         * string/strchrnul.c (STRCHRNUL):
29370         Rewrite code to avoid issues with signed shift overflow.
29372 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
29374         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29375         whether cpuid is available only if HAS_CPUID is 0.
29376         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29377         (HAS_I586): Likewise.
29378         (HAS_I686): Likewise.
29380 2015-08-18  Zack Weinberg  <zackw@panix.com>
29382         * misc/Versions (libc): Add GLIBC_2.23.
29384 2015-08-18  Alan Modra  <amodra@gmail.com>
29386         [BZ #18421]
29387         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29388         .Lp__global.
29389         (_start): Load %dp via .Lp__global.
29390         [!SHARED]: Use .section .rodata.
29392 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29394         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29395         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29397 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29399         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29400         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29402 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29404         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29405         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29407 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29409         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29410         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29412 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29414         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29415         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29417 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29419         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29420         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29422 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29424         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29426 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29428         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29429         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
29430         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29431         (__ASSUME_LWS_CAS): Delete.
29433 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29435         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29436         * sysdeps/hppa/configure: Regenerated.
29437         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29438         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29439         * sysdeps/hppa/nptl/tls.h: Likewise.
29441 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
29443         [BZ #18823]
29444         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
29445         for scaling up small arguments.
29446         * math/s_csqrtf.c (__csqrtf): Likewise.
29447         * math/s_csqrtl.c (__csqrtl): Likewise.
29448         * math/auto-libm-test-in: Add more tests of csqrt.
29449         * math/auto-libm-test-out: Regenerated.
29451 2015-08-17  Andreas Schwab  <schwab@suse.de>
29453         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29454         version set GLIBC_2.19.
29456 2015-08-16  Zack Weinberg  <zackw@panix.com>
29458         [BZ #18681]
29459         * misc/regexp.h: This interface is no longer supported.
29460         Remove all contents, leaving only an #error directive.
29461         * misc/regexp.c (loc1, loc2, locs, step, advance):
29462         Demote to compatibility symbols.
29464 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
29466         [BZ #18084]
29467         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
29468         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
29469         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
29470         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
29471         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
29472         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
29473         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
29474         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
29475         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
29477 2015-08-15  Zack Weinberg  <zackw@panix.com>
29479         [BZ #18795]
29480         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
29481         buffer length is known to be too large, not if it's known to be
29482         small enough.
29483         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
29484         overflow at runtime, involving a length parameter, twice: once
29485         with a compile-time constant length parameter, once without.
29487 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
29489         [BZ #18824]
29490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
29491         scaling x * y up instead of down.
29492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29493         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29494         * math/auto-libm-test-in: Add more tests of fma.
29495         * math/auto-libm-test-out: Regenerated.
29497 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29499         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29501 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29503         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
29504         unnecessary movq.
29505         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
29506         Likewise.
29508 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
29510         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29511         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
29512         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
29513         and tgamma.
29514         * math/auto-libm-test-out: Regenerated.
29515         * sysdeps/i386/fpu/libm-test-ulps: Update.
29516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29518         [BZ #16520]
29519         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
29520         (__tanh): Force underflow exception for arguments with small
29521         absolute value.
29522         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
29523         (__tanhf): Force underflow exception for arguments with small
29524         absolute value.
29525         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
29526         (__tanhl): Force underflow exception for arguments with small
29527         absolute value.
29528         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
29529         (__tanhl): Force underflow exception for arguments with small
29530         absolute value.
29531         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
29532         (__tanhl): Force underflow exception for arguments with small
29533         absolute value.
29534         * math/auto-libm-test-in: Add more tests of tanh.
29535         * math/auto-libm-test-out: Regenerated.
29536         * sysdeps/i386/fpu/libm-test-ulps: Update.
29538 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29540         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
29541         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
29543 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29545         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
29546         <cpuid.h>.
29548 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29550         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
29551         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
29553 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29555         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
29556         Remove $(objpfx)init-arch.o.
29557         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
29558         init-arch.
29559         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
29560         (INIT_ARCH_EXT): Defined as empty.
29561         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
29562         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
29563         __init_cpu_features call.  Replace HAS_XXX with
29564         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29565         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
29566         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
29567         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
29568         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
29569         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29570         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
29571         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
29572         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29573         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
29574         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
29575         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29576         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
29577         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
29578         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29579         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
29580         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
29581         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29582         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29583         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
29584         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
29585         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29586         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
29587         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
29588         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29589         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
29590         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
29591         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29592         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
29593         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
29594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29595         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
29596         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
29597         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29598         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
29599         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
29601 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29603         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
29604         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29605         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29606         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29607         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
29608         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
29609         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
29610         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
29611         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
29612         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
29613         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
29614         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
29615         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29616         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29617         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29618         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29619         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29620         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29621         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29622         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29623         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29624         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29625         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29626         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29627         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29628         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29629         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29630         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29631         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29632         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29633         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29634         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29635         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29636         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29637         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29638         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29639         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29640         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29641         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29642         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29643         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29644         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29645         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29647 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29649         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
29650         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29651         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29652         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29653         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29654         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29655         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29656         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
29657         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29658         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29659         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29660         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
29661         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
29662         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
29663         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
29664         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
29665         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
29666         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
29667         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
29668         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
29669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
29670         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
29671         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
29672         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29673         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29674         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
29675         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
29676         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
29677         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29678         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29679         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29680         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29681         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29682         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29683         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29684         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29685         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29686         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29687         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29688         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29689         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29690         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29691         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29693 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29695         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
29696         (dl_platform_init): Call init_cpu_features.
29697         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
29698         * sysdeps/i386/i686/cacheinfo.c
29699         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
29700         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
29701         * sysdeps/i386/i686/multiarch/Versions: Removed.
29702         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
29703         Removed.
29704         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
29705         * sysdeps/unix/sysv/linux/x86/Makefile
29706         (libpthread-sysdep_routines): Remove init-arch.
29707         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
29708         <sysdeps/x86_64/dl-procinfo.c> instead of
29709         sysdeps/generic/dl-procinfo.c>.
29710         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
29711         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
29712         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
29713         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
29714         [$(subdir) == elf] (tests-static): Add
29715         tst-get-cpu-features-static.
29716         * sysdeps/x86/Versions: New file.
29717         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
29718         * sysdeps/x86/cpu-features.c: Likewise.
29719         * sysdeps/x86/cpu-features.h: Likewise.
29720         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
29721         * sysdeps/x86/libc-start.c: Likewise.
29722         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
29723         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
29724         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
29725         * sysdeps/x86_64/dl-procinfo.c: Likewise.
29726         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
29727         Assume USE_MULTIARCH is defined and don't check it.
29728         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
29729         (is_amd): Likewise.
29730         (max_cpuid): Likewise.
29731         (intel_check_word): Likewise.
29732         (__cache_sysconf): Don't call __init_cpu_features.
29733         (__x86_preferred_memory_instruction): Removed.
29734         (init_cacheinfo): Don't call __init_cpu_features. Replace
29735         __cpu_features with GLRO(dl_x86_cpu_features).
29736         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
29737         (dl_platform_init): Call init_cpu_features.
29738         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
29739         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
29740         * sysdeps/x86_64/multiarch/Versions: Removed.
29741         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
29742         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
29743         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
29744         Removed.
29745         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
29747 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29749         [BZ #18820]
29750         * libio/Makefile (test-fmemopen-mem): New test.
29751         * libio/test-fmemopen.c (do_bz18820): New test.
29752         * libio/fmemopen.c (__fmemopen): Fix memory leak.
29753         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
29755 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29757         [BZ #16734]
29758         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
29759         (FREE_BUF): Delete.
29760         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
29761         * libio/genops.c (_IO_setb): Use malloc and free directly.
29762         (_IO_default_doallocate, _IO_default_finish): Likewise.
29763         ( _IO_unbuffer_all): Likewise.
29764         ( libc_freeres_fn): Likewise.
29765         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29766         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
29767         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
29768         (_IO_wdefault_doallocate): Likewise.
29770 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29772         [BZ #18086]
29773         * sysdeps/posix/nice.c (nice): Restore old errno.
29774         * posix/tst-nice.c (do_test): Add test for BZ #18086.
29776 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
29778         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29780 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29782         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29783         __bcopy and add a weak_alias to bcopy.
29784         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29785         for static build.
29787         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29788         cleanup macro usage.
29789         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29790         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29791         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29792         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29793         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29794         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29795         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29796         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29797         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29798         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29799         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29800         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29801         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29802         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29803         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29804         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29805         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29806         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29807         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29809         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29810         libc_hidden_def.
29811         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29813         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29814         (sysdep_routines): Add strstr-ppc64.
29815         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29817 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29819         [BZ #18778]
29820         * elf/Makefile (tests): Add Add tst-nodelete2.
29821         (modules-names): Add tst-nodelete2mod.
29822         (tst-nodelete2mod.so-no-z-defs): New.
29823         ($(objpfx)tst-nodelete2): Likewise.
29824         ($(objpfx)tst-nodelete2.out): Likewise.
29825         (LDFLAGS-tst-nodelete2): Likewise.
29826         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29827         out of loop through all loaded libraries.
29828         * elf/tst-nodelete2.c: New file.
29829         * elf/tst-nodelete2mod.c: Likewise.
29830         * elf/tst-znodelete-zlib.cc: Delete.
29832 2015-08-11  Andreas Schwab  <schwab@suse.de>
29834         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
29835         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
29836         (__openat64_nocancel): Likewise.
29838 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
29840         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
29841         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
29842         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
29843         * math/auto-libm-test-out: Regenerated.
29844         * sysdeps/i386/fpu/libm-test-ulps: Update.
29845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29847 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29849         [BZ #18790]
29850         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
29851         threshold for returning +/- 1.
29852         * math/auto-libm-test-in: Add more tests of tanh.
29853         * math/auto-libm-test-out: Regenerated.
29854         * sysdeps/i386/fpu/libm-test-ulps: Update.
29856 2015-08-10  Andreas Schwab  <schwab@suse.de>
29858         [BZ #18781]
29859         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
29860         MORE_OFLAGS to oflag.
29861         * io/test-lfs.c (do_test): Test openat64.
29863 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29865         [BZ #18789]
29866         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
29867         smaller threshold for returning the argument.
29868         * math/auto-libm-test-in: Add more tests of sinh.
29869         * math/auto-libm-test-out: Regenerated.
29870         * sysdeps/i386/fpu/libm-test-ulps: Update.
29872 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29874         [BZ #18674]
29875         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
29876         break.
29878 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
29880         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
29881         (generated): Don't add $(addprefix z.,$(tzfiles)).
29883 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29885         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
29886         * scripts/sysd-rules.awk: Likewise.
29888 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29890         * iconvdata/tst-tables.sh: Change echo -n to printf.
29891         * nss/db-Makefile: Likewise.
29892         * posix/tst-getconf.sh: Likewise.
29893         * stdio-common/tst-unbputc.sh: Likewise.
29895 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29897         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
29898         MADV_*_PAGES defines behind this feature check.
29900 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
29902         [BZ #18480]
29903         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
29904         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
29905         Define.
29906         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
29907         LOAD_REGS_5, LOAD_REGS_6): Update.
29908         (INTERNAL_SYSCALL): Update using new LOAD defines.
29909         (INTERNAL_SYSCALL_NCS): Likewise.
29910         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
29912 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29914         [BZ #16734]
29915         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
29917 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29919         [BZ #17905]
29920         * catgets/Makefile (tst-catgets-mem): New test.
29921         * catgets/catgets.c (catopen): Don't use unbounded alloca.
29922         * catgets/open_catalog.c (__open_catalog): Likewise.
29923         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
29925 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
29927         [BZ #18787]
29928         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
29929         clobber registers.
29930         (atomic_compare_and_exchange_val_acq): Use register asms to assign
29931         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
29932         Cast return to __typeof (oldval).
29934 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
29936         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
29937         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
29938         and delete sys/syscall.h include.
29940 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
29942         [BZ #16517]
29943         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
29944         (tan): Force underflow exception for arguments with small absolute
29945         value.
29946         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
29947         (__kernel_tanf): Force underflow exception for arguments with
29948         small absolute value.
29949         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
29950         (__kernel_tanl): Force underflow exception for arguments with
29951         small absolute value.
29952         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29953         (__kernel_tanl): Force underflow exception for arguments with
29954         small absolute value.
29955         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
29956         (__kernel_tanl): Force underflow exception for arguments with
29957         small absolute value.
29958         * math/auto-libm-test-in: Add more tests of tan.
29959         * math/auto-libm-test-out: Regenerated.
29961 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29963         Fix sysdeps/i386/fpu/s_scalbn.S build
29965         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
29967 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
29969         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29971 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29973         Fix gcrt0.o compilation
29975         When static-start-installed-name is different from
29976         start-installed-name, we must not use the shared objects.
29978         * csu/Makefile
29979         (extra-objs): Add gmon-start.o when building shared library and
29980         $(static-start-installed-name) is different from
29981         $(start-installed-name).
29982         $(objpfx)g$(static-start-installed-name): When building shared
29983         library and $(static-start-installed-name) is different from
29984         $(static-start-installed-name), revert to non-shared rule,
29985         i.e. using $(objpfx)% and gmon-start.o.
29987 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
29989         [BZ #16519]
29990         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
29991         (__ieee754_sinh): Force underflow exception for arguments with
29992         small absolute value.
29993         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
29994         (__ieee754_sinhf): Force underflow exception for arguments with
29995         small absolute value.
29996         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
29997         (__ieee754_sinhl): Force underflow exception for arguments with
29998         small absolute value.
29999         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30000         (__ieee754_sinhl): Force underflow exception for arguments with
30001         small absolute value.
30002         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
30003         (__ieee754_sinhl): Force underflow exception for arguments with
30004         small absolute value.
30005         * math/auto-libm-test-in: Add more tests of sinh.
30006         * math/auto-libm-test-out: Regenerated.
30007         * sysdeps/i386/fpu/libm-test-ulps: Update.
30009 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30011         * libio/oldfileops.c: Include unistd.h.
30013 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
30015         * stdlib/isomac.c: Include ctype.h.
30017 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
30019         * dirent/tst-seekdir.c (main): Converted to ...
30020         (do_test): ... this.
30021         (TEST_FUNCTION): New macro.
30022         Include test-skeleton.c.
30023         * elf/tst-dlmodcount.c (main): Converted to ...
30024         (do_test): ... this.
30025         (TEST_FUNCTION): New macro.
30026         Include test-skeleton.c.
30027         * elf/tst-order-main.c (main): Converted to ...
30028         (do_test): ... this.
30029         (TEST_FUNCTION): New macro.
30030         Include test-skeleton.c.
30031         * elf/tst-pie2.c (main): Converted to ...
30032         (do_test): ... this.
30033         (TEST_FUNCTION): New macro.
30034         Include test-skeleton.c.
30035         * inet/tst-ether_aton.c (main): Converted to ...
30036         (do_test): ... this.
30037         (TEST_FUNCTION): New macro.
30038         Include test-skeleton.c.
30039         * misc/tst-mntent.c (main): Converted to ...
30040         (do_test): ... this.
30041         (TEST_FUNCTION): New macro.
30042         Include test-skeleton.c.
30043         * misc/tst-tsearch.c (main): Converted to ...
30044         (do_test): ... this.
30045         (TEST_FUNCTION): New macro.
30046         Include test-skeleton.c.
30047         * posix/tst-regexloc.c (main): Converted to ...
30048         (do_test): ... this.
30049         (TEST_FUNCTION): New macro.
30050         Include test-skeleton.c.
30051         * resolv/tst-aton.c (main): Converted to ...
30052         (do_test): ... this.
30053         (TEST_FUNCTION): New macro.
30054         Include test-skeleton.c.
30055         * stdio-common/test-fwrite.c (main): Converted to ...
30056         (do_test): ... this.
30057         (TEST_FUNCTION): New macro.
30058         Include test-skeleton.c.
30059         * stdio-common/tst-ferror.c (main): Converted to ...
30060         (do_test): ... this.
30061         (TEST_FUNCTION): New macro.
30062         Include test-skeleton.c.
30063         * stdio-common/tst-printf.c (main): Converted to ...
30064         (do_test): ... this.
30065         (TEST_FUNCTION): New macro.
30066         Include test-skeleton.c.
30067         * stdio-common/tst-printfsz.c (main): Converted to ...
30068         (do_test): ... this.
30069         (TEST_FUNCTION): New macro.
30070         Include test-skeleton.c.
30071         * stdlib/tst-strtod.c (main): Converted to ...
30072         (do_test): ... this.
30073         (TEST_FUNCTION): New macro.
30074         Include test-skeleton.c.
30075         * string/tst-strlen.c (main): Converted to ...
30076         (do_test): ... this.
30077         (TEST_FUNCTION): New macro.
30078         Include test-skeleton.c.
30079         * string/tst-svc.c (main): Converted to ...
30080         (do_test): ... this.
30081         (TEST_FUNCTION): New macro.
30082         Include test-skeleton.c.
30083         * time/tst-strptime.c (main): Converted to ...
30084         (do_test): ... this.
30085         (TEST_FUNCTION): New macro.
30086         Include test-skeleton.c.
30087         * timezone/tst-timezone.c (main): Converted to ...
30088         (do_test): ... this.
30089         (TEST_FUNCTION): New macro.
30090         Include test-skeleton.c.
30092 2015-08-05  Zack Weinberg  <zackw@panix.com>
30094         * misc/regexp.h: Update comments.
30096 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
30098         [BZ #18635]
30099         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
30100         before return label.
30102 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30104         [BZ #18661]
30105         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
30106         when calling __errno_location.
30107         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
30108         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
30110 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30112         [BZ #18661]
30113         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
30114         (__lll_timedwait_tid): Align stack to 16 bytes when calling
30115         __gettimeofday.
30117 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30119         [BZ #18661]
30120         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30121         (__start_context): Don't use pop to restore %rdi so that stack
30122         is aligned to 16 bytes when calling __setcontext.
30124 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30126         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
30127         only for libc.
30128         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30130 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30132         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
30133         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
30134         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
30136 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30138         * string/memccpy.c (memccpy):
30139         Improve performance by using memchr/memcpy/__mempcpy.
30141 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30143         * string/strncpy.c (strncpy):
30144         Improve performance by using __strnlen/memcpy.
30146 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30148         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30149         Optimize to avoid an unnecessary FPCR read.
30151 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30153         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30154         Optimize to reduce FPCR/FPSR accesses.
30156 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30158         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30159         dead->data[category] != NULL.
30161 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
30163         [BZ #18647]
30164         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30165         and |x| close to 1, use absolute value of x when computing log.
30166         * math/auto-libm-test-in: Add more tests of pow.
30167         * math/auto-libm-test-out: Regenerated.
30169 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30171         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30172         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30173         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30175 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
30177         [BZ #18525]
30178         * locales/km_KH: Remove timezone definition.
30179         * locales/lo_LA: Likewise.
30180         * locales/my_MM: Likewise.
30181         * locales/nan_TW@latin: Likewise.
30182         * locales/th_TH: Likewise.
30183         * locales/uk_UA: Likewise.
30185 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30187         [BZ #18265]
30188         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30189         (wcsncat): Likewise.
30190         (wcscmp): Likewise.
30191         (wcsncmp): Likewise.
30193 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30195         * test-skeleton.c (usage): New function.
30196         (main): Call usage when opt is '?'.
30198 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30200         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30201         before first use.
30203 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30205         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30206         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
30207         in there too.
30209 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
30211         * version.h (RELEASE): Set to "development".
30212         (VERSION): Set to "2.22.90"
30214         * version.h (RELEASE): Set to "stable".
30215         (VERSION): Set to "2.22"
30216         * include/features.h (__GLIBC_MINOR__): Set to 22.
30218 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30220         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30221         Restructure macro to avoid "value computed is not used" warning.
30222         (atomic_compare_and_exchange_val_acq): Likewise.
30224 2015-08-04  Andreas Schwab  <schwab@suse.de>
30226         [BZ #18635]
30227         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30228         ret.
30229         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30231 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30233         * po/pl.po: Updated translation.
30234         * po/uk.po: Likewise.
30235         * po/fi.po: Likewise.
30236         * po/ko.po: Likewise.
30237         * po/ru.po: Likewise.
30238         * po/vi.po: Likewise.
30240 2015-07-31  Zack Weinberg  <zackw@panix.com>
30242         [BZ #18681]
30243         * regexp.h: Add unconditional #warning stating that this header
30244         will be removed soon.  Revise banner comment to match.
30245         (compile): Consistently use ERROR instead of RETURN to report
30246         errors (partial fix for BZ #18681).
30247         * regexp.c: Don't include regexp.h. Remove some unnecessary
30248         declarations.
30250 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30252         * po/libc.pot: Regenerated.
30254 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30256         [BZ #18740]
30257         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30258         float-vlen4-arch-ext-cflags): Removed.
30259         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30260         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30262 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30264         [BZ #14113]
30265         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30266         aligned to __aligned__.
30267         (pthread_cond_t, pthread_rwlock_t): Likewise.
30269 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30271         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30273 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30275         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30276         (struct sigaction): Change sa_flags from a long to an int, and add
30277         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30279 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30281         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30282         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30283         sysdeps/generic/sysdep.h include.
30284         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30285         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30286         sysdeps/hppa/sysdep.h.
30287         (ENTRY, PSEUDO): Undefine before defining.
30289 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30291         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30292         from scratch to use INTERNAL_SYSCALL.
30294 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30296         [BZ #18078]
30297         * scripts/check-localplt.awk: Support alternate relocations.
30298         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30299         sections.
30300         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30301         malloc entries with + REL R_386_GLOB_DAT.
30302         * sysdeps/x86_64/localplt.data: New file.
30304 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30306         [BZ #18731]
30307         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30308         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30309         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30311 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30313         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30315 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30317         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30318         directly in terms of __sync_fetch_and_add and delete (int) cast.
30320 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30322         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30323         the -D_ASM_IA64_CURRENT_H flag.
30325 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30327         [BZ #18641]
30328         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30330 2015-07-27  Andreas Schwab  <schwab@suse.de>
30332         * conform/conformtest.pl (checknamespace): Filter out string
30333         literals while tokenizing.
30335 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30337         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30338         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30339         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30341 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30343         * nptl/tst-join7mod.c: Add #include <string.h>.
30345 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30347         * sysdeps/nios2/libm-test-ulps: Update.
30349 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30351         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30352         Fix order of arguments to the rt_sigprocmask syscall.
30353         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30354         Likewise.
30356 2015-07-24  Roland McGrath  <roland@hack.frob.com>
30358         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30360 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30362         [BZ #18457]
30363         * nptl/Makefile (tests): New test case tst-join7.
30364         (modules-names): New test case module tst-join7mod.
30365         * nptl/tst-join7.c: New file.
30366         * nptl/tst-join7mod.c: New file.
30367         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30368         all translation units in libc.so, libpthread.so and rtld.
30370 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30374 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30376         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30377         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30378         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30379         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30380         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30381         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30382         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30383         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30384         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30385         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30386         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30387         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30388         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30389         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30390         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30391         implementation.
30393 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30395         [BZ #17711]
30396         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30397         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30398         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30399         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30400         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30401         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30403 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30405         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30406         instead of just saying load lock in the comments.
30408 2015-07-23  Roland McGrath  <roland@hack.frob.com>
30410         * sysdeps/unix/Subdirs: Moved ...
30411         * sysdeps/posix/Subdirs: ... here.
30412         * login/pty.h (struct termios, struct winsize): Add forward decls.
30413         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30414         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30415         * sysdeps/arm/nacl/libc.abilist: Updated.
30416         * sysdeps/nacl/libutil.abilist: New file.
30418         * bits/signum.h: Update comments to mention 1003.1-2013 too.
30419         (SIGWINCH): New macro.
30421         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30422         * sysdeps/arm/nacl/libc.abilist: Add it.
30424 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30426         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30428 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30430         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30431         Swap __glibc_reserved0 and sa_flags order.
30433 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30435         [BZ #18657]
30436         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30437         are pending TLS destructor calls.
30438         * include/link.h (struct link_map): Add concurrency note for
30439         L_TLS_DTOR_COUNT.
30440         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30441         Don't touch the link map flag.  Atomically increment
30442         l_tls_dtor_count.
30443         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
30444         Avoid taking the load lock and don't touch the link map flag.
30445         * stdlib/tst-tls-atexit-nodelete.c: New test case.
30446         * stdlib/Makefile (tests): Use it.
30447         * stdlib/tst-tls-atexit.c (do_test): dlopen
30448         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
30449         to allow tst-tls-atexit-nodelete test case to use it.
30451 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30453         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
30454         to bits/types.h.
30455         (msgqnum_t): New typedef.
30456         (msglen_t): Likewise.
30457         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
30458         and msg_qbytes type to msglen_t.
30460 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30462         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
30463         pad0 to __glibc_reserved0.
30464         (struct stat64): Likewise.
30466 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30468         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30469         Change sa_flags from a long to an int and add __glibc_reserved0 before
30470         it for padding.
30472 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30474         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
30475         anonymous by deleting "siginfo" name.
30477 2015-07-21  Roland McGrath  <roland@hack.frob.com>
30479         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30480         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
30481         rather than __nacl_irt_filename.
30482         * sysdeps/nacl/xstat.c (__xstat): Likewise.
30484         * NEWS: New item for arm-nacl port.
30485         * sysdeps/arm/nacl/libc.abilist: New file.
30486         * sysdeps/nacl/ld.abilist: New file.
30487         * sysdeps/nacl/libBrokenLocale.abilist: New file.
30488         * sysdeps/nacl/libanl.abilist: New file.
30489         * sysdeps/nacl/libcrypt.abilist: New file.
30490         * sysdeps/nacl/libdl.abilist: New file.
30491         * sysdeps/nacl/libm.abilist: New file.
30492         * sysdeps/nacl/libpthread.abilist: New file.
30493         * sysdeps/nacl/libresolv.abilist: New file.
30494         * sysdeps/nacl/librt.abilist: New file.
30496 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
30498         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
30499         __startcontext to initialize the new context.
30500         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
30501         up CFI directive to forbid further backtracing.
30503 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
30505         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
30506         reference.
30507         * charmaps/ANSI_X3.4-1968: Likewise.
30508         * charmaps/BS_4730: Likewise.
30509         * charmaps/BS_VIEWDATA: Likewise.
30510         * charmaps/CP1250: Likewise.
30511         * charmaps/CP1251: Likewise.
30512         * charmaps/CP1252: Likewise.
30513         * charmaps/CP1253: Likewise.
30514         * charmaps/CP1254: Likewise.
30515         * charmaps/CP1255: Likewise.
30516         * charmaps/CP1256: Likewise.
30517         * charmaps/CSN_369103: Likewise.
30518         * charmaps/EBCDIC-DK-NO: Likewise.
30519         * charmaps/GB_1988-80: Likewise.
30520         * charmaps/GREEK-CCITT: Likewise.
30521         * charmaps/GREEK7: Likewise.
30522         * charmaps/INIS-8: Likewise.
30523         * charmaps/ISIRI-3342: Likewise.
30524         * charmaps/ISO_2033-1983: Likewise.
30525         * charmaps/ISO_5427-EXT: Likewise.
30526         * locales/POSIX: Likewise.
30527         * locales/ar_SA: Likewise.
30528         * locales/be_BY: Likewise.
30529         * locales/be_BY@latin: Likewise.
30530         * locales/ca_ES: Likewise.
30531         * locales/cs_CZ: Likewise.
30532         * locales/da_DK: Likewise.
30533         * locales/de_BE: Likewise.
30534         * locales/de_CH: Likewise.
30535         * locales/de_LU: Likewise.
30536         * locales/en_AU: Likewise.
30537         * locales/en_BW: Likewise.
30538         * locales/en_CA: Likewise.
30539         * locales/en_DK: Likewise.
30540         * locales/en_GB: Likewise.
30541         * locales/en_IE: Likewise.
30542         * locales/en_NZ: Likewise.
30543         * locales/en_ZA: Likewise.
30544         * locales/en_ZW: Likewise.
30545         * locales/es_AR: Likewise.
30546         * locales/es_BO: Likewise.
30547         * locales/es_CL: Likewise.
30548         * locales/es_CO: Likewise.
30549         * locales/es_DO: Likewise.
30550         * locales/es_EC: Likewise.
30551         * locales/es_ES: Likewise.
30552         * locales/es_HN: Likewise.
30553         * locales/es_MX: Likewise.
30554         * locales/es_PA: Likewise.
30555         * locales/es_PE: Likewise.
30556         * locales/es_PY: Likewise.
30557         * locales/es_SV: Likewise.
30558         * locales/es_US: Likewise.
30559         * locales/es_UY: Likewise.
30560         * locales/es_VE: Likewise.
30561         * locales/et_EE: Likewise.
30562         * locales/fa_IR: Likewise.
30563         * locales/fo_FO: Likewise.
30564         * locales/fr_CA: Likewise.
30565         * locales/fr_CH: Likewise.
30566         * locales/gv_GB: Likewise.
30567         * locales/he_IL: Likewise.
30568         * locales/hr_HR: Likewise.
30569         * locales/id_ID: Likewise.
30570         * locales/is_IS: Likewise.
30571         * locales/it_CH: Likewise.
30572         * locales/iw_IL: Likewise.
30573         * locales/kl_GL: Likewise.
30574         * locales/ko_KR: Likewise.
30575         * locales/kw_GB: Likewise.
30576         * locales/lg_UG: Likewise.
30577         * locales/lt_LT: Likewise.
30578         * locales/lv_LV: Likewise.
30579         * locales/mi_NZ: Likewise.
30580         * locales/nhn_MX: Likewise.
30581         * locales/nl_BE: Likewise.
30582         * locales/pl_PL: Likewise.
30583         * locales/sk_SK: Likewise.
30584         * locales/sl_SI: Likewise.
30585         * locales/sv_FI: Likewise.
30586         * locales/tl_PH: Likewise.
30587         * locales/tr_TR: Likewise.
30588         * locales/vi_VN: Likewise.
30590 2015-07-21  Khem Raj  <raj.khem@gmail.com>
30592         [BZ #17475]
30593         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
30594         of tu_IN and bh_IN.
30596 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
30598         [BZ #18694]
30599         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
30600         bits/wordsize.h.
30601         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
30603 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30605         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
30606         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
30607         (spawn_thread): New function.
30608         (load): Rename to reg_dtor_and_close.  Move dlopen to...
30609         (do_test): ... here.  Use IS_LOADED to test for its
30610         availability.
30612 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
30614         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30616 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
30618         [BZ #18696]
30619         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
30620         si_addr_bnd.
30621         (si_lower): New.
30622         (si_upper): Likewise.
30624 2015-07-16  David S. Miller  <davem@davemloft.net>
30626         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
30628 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30630         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
30631         buffer.
30632         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
30633         fail output information.
30635 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
30638         and strstr-ppc64..
30639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30640         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
30641         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
30642         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
30643         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
30645 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30647         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30648         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30649         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30650         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30652 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30654         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30655         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
30656         rtld_hidden_proto.
30657         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
30659 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30661         * tst-nodelete-opened.c (do_test): Add comment to clarify how
30662         the test can fail.
30664         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
30666         [BZ #18676]
30667         * elf/tst-nodelete-opened.c: New test case.
30668         * elf/tst-nodelete-opened-lib.c: New test case module.
30669         * elf/Makefile (tests, modules-names): Use them.
30670         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
30671         early.
30673 2015-07-15  David S. Miller  <davem@davemloft.net>
30675         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
30676         futex-intenal.h
30677         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
30678         * sysdeps/sparc/sparc64/Makefile: Likewise.
30679         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30680         Remove space from macro define.
30681         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
30683 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
30685         [BZ #17475]
30686         * locale/iso-639.def: Update Bhili and Tulu language codes as
30687         per iso639-3.
30689 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
30691         * elf/tst-leaks1.c (main): Converted to ...
30692         (do_test): ... this.
30693         (TEST_FUNCTION): New macro.
30694         Include test-skeleton.c.
30695         * localedata/tst-langinfo.c (main): Converted to ...
30696         (do_test): ... this.
30697         (TEST_FUNCTION): New macro.
30698         Include test-skeleton.c.
30699         * math/test-fpucw.c (main): Converted to ...
30700         (do_test): ... this.
30701         (TEST_FUNCTION): New macro.
30702         Include test-skeleton.c.
30703         * math/test-tgmath.c (main): Converted to ...
30704         (do_test): ... this.
30705         (TEST_FUNCTION): New macro.
30706         Include test-skeleton.c.
30707         * math/test-tgmath2.c (main): Converted to ...
30708         (do_test): ... this.
30709         (TEST_FUNCTION): New macro.
30710         Include test-skeleton.c.
30711         * setjmp/tst-setjmp.c (main): Converted to ...
30712         (do_test): ... this.
30713         (TEST_FUNCTION): New macro.
30714         Include test-skeleton.c.
30715         * stdio-common/tst-sscanf.c (main): Converted to ...
30716         (do_test): ... this.
30717         (TEST_FUNCTION): New macro.
30718         Include test-skeleton.c.
30719         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
30720         (do_test): ... this.
30721         (TEST_FUNCTION): New macro.
30722         Include test-skeleton.c.
30724         * elf/tst-audit9.c (main): Converted to ...
30725         (do_test): ... this.
30726         (TEST_FUNCTION): New macro.
30727         Include test-skeleton.c.
30729 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
30731         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
30733 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30735         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
30736         New variable.
30738 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30740         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30742 2015-07-14  Roland McGrath  <roland@hack.frob.com>
30744         * sysdeps/generic/dl-fileid.h: New file.
30745         * sysdeps/posix/dl-fileid.h: New file.
30746         * sysdeps/nacl/dl-fileid.h: New file.
30747         * include/link.h: Include <dl-fileid.h>.
30748         (struct link_map): Replace l_dev and l_ino with l_file_id.
30749         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
30750         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
30751         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
30753 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30755         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
30757 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30759         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
30760         Add iff $CXX is set.
30761         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
30762         Likewise.
30763         (tst-nodelete-zmodiff): Likewise.
30764         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
30766 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30768         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
30770 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30772         * sysdeps/aarch64/fpu/math_private.h
30773         (define math_opt_barrier): Add AArch64 version.
30774         (math_force_eval): Likewise.
30776 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30778         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30780 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
30782         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30783         %ld with %jd and cast to intmax_t.
30784         (do_test_length_zero): Likewise.
30786 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30788         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30790 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30792         * sysdeps/tile/libm-test-ulps: Regenerated.
30794         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30795         Comment out the whole function, not just its body.
30797 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30799         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30800         locks.
30802         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30804 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30806         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30807         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30809 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30811         * sysdeps/nptl/futex-internal.h: New file.
30812         * sysdeps/nacl/futex-internal.h: New file.
30813         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30814         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30815         error checking.
30816         (setxid_unmark_thread): Likewise.
30817         (__nptl_setxid): Likewise.
30818         (__wait_lookup_done): Likewise.
30819         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30820         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30821         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30822         * nptl/pthread_once.c (clear_once_control): Likewise.
30823         (__pthread_once_slow): Likewise.
30824         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30825         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30826         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30827         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30828         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30829         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30830         Likewise.
30831         (__pthread_rwlock_rdlock): Likewise.
30832         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30833         Likewise.
30834         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30835         Likewise.
30836         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30837         Likewise.
30838         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
30839         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
30840         Likewise.
30841         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
30842         __ASSUME_PRIVATE_FUTEX check.
30843         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
30844         Check that shared futexes are supported.
30845         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
30846         wrappers with error checking.
30847         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
30848         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
30849         * nptl/pthread_barrierattr_setpshared.c
30850         (pthread_barrierattr_setpshared): Check that shared futexes are
30851         supported.
30852         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
30853         Likewise.
30854         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
30855         Likewise.
30856         * nptl/sem_init.c (futex_private_if_supported): Remove.
30857         (__new_sem_init): Adapt and check that shared futexes are supported.
30858         * nptl/sem_open.c (sem_open): Likewise.
30859         * nptl/sem_post.c (futex_wake): Remove.
30860         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
30861         (do_futex_wait): Use futex wrappers with error checking.
30862         * nptl/sem_wait.c: Include lowlevellock.h.
30863         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
30864         Use futex_supports_pshared.
30865         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
30866         Use futex wrappers with error checking.
30867         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
30868         Likewise.
30869         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
30870         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
30871         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
30872         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
30873         (futex_wake): Likewise.
30874         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
30875         (do_futex_wait): Use futex wrappers with error checking.
30876         (__new_sem_wait_slow): Update EINTR handling.
30877         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
30879 2015-07-09  Martin Sebor  <msebor@redhat.com>
30881         [BZ #18435]
30882         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30883         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
30884         * nptl/Makefile (test-xfail-tst-once5): Define.
30886 2015-07-09  Roland McGrath  <roland@hack.frob.com>
30888         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
30889         * elf/dl-minimal.c: For readability, reorder some definitions and
30890         introduce more page breaks.  Include <stdio.h>.
30891         (__libc_fatal): New function.
30893         * include/unistd.h: Add rtld_hidden_proto for _exit.
30894         * posix/_exit.c: Add rtld_hidden_def.
30895         * sysdeps/mach/hurd/_exit.c: Likewise.
30896         * sysdeps/nacl/_exit.c: Likewise.
30897         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
30898         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
30900 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
30902         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
30903         bndmov encoding with zero displacement.
30905 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30906             H.J. Lu  <hongjiu.lu@intel.com>
30908         [BZ #18134]
30909         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
30910         * sysdeps/i386/configure: Regenerated.
30911         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30912         (_dl_runtime_profile): Save and restore Intel MPX return bound
30913         registers when calling _dl_call_pltexit.  Add
30914         PRESERVE_BND_REGS_PREFIX before return.
30915         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
30916         (LRV_BND1_OFFSET): Likewise.
30917         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
30918         lrv_bnd1.
30919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30920         typo in bndmov encoding.
30921         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
30922         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
30923         branch instructions to preserve bounds.
30925 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
30928         [GLIBC_2.22]: Add fmemopen.
30930 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30932         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
30933         returns an error, also try to use host port from __mach_host_self for
30934         the __vm_wire call.
30935         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
30937 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30939         [BZ #18400]
30940         [BZ #18648]
30941         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
30942         Fix pr_uid and pr_gid members.
30943         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
30944         definition to elf_greg_t.
30946 2015-07-08  Roland McGrath  <roland@hack.frob.com>
30948         [BZ #18383]
30949         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
30950         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
30951         * sysdeps/arm/configure: Regenerated.
30952         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
30953         (test-xfail-tst-tlsalign-static): Variable removed.
30955         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
30956         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
30957         rather than explicit 'ln -s'.
30959         * resolv/rpc/netdb.h: New file.
30960         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
30962 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30964         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
30965         length buffers.
30966         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30967         test-skeleton.c.
30969         [BZ #6544]
30970         [BZ #11216]
30971         [BZ #12836]
30972         [BZ #13151]
30973         [BZ #13152]
30974         [BZ #14292]
30975         * include/stdio.h (fmemopen): Remove hidden prototype.
30976         (__fmemopen): Add new hidden prototype.
30977         * libio/Makefile: Add oldfmemopen object.
30978         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
30979         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
30980         compliance.
30981         * libio/oldfmemopen.c: New file: old fmemopen implementation for
30982         symbol compatibility.
30983         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
30984         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
30985         fmemopen.
30986         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
30987         on append and read mode.
30988         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
30989         fmemopen.
30990         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30991         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
30992         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
30993         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
30994         Likewise.
30995         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
30996         [GLIBC_2.22]: Likewise.
30997         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
30998         Likewise.
30999         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
31000         Likewise.
31001         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
31002         [GLIBC_2.22]: Likewise.
31003         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
31004         [GLIBC_2.22]: Likewise.
31005         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
31006         [GLIBC_2.22]: Likewise.
31007         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
31008         [GLIBC_2.22]: Likewise.
31009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
31010         [GLIBC_2.22]: Likewise.
31011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
31012         [GLIBC_2.22]: Likewise.
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
31014         [GLIBC_2.22]: Likewise.
31015         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
31016         Likewise.
31017         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
31018         Likewise.
31019         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
31020         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
31021         [GLIBC_2.22]: Likewise.
31022         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
31023         [GLIBC_2.22]: Likewise.
31024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
31025         [GLIBC_2.22]: Likewise.
31026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
31027         [GLIBC_2.22]: Likewise.
31028         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
31029         Likewise.
31030         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
31031         Likewise.
31032         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
31033         Likewise.
31034         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
31035         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
31037 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31039         [BZ #18643]
31040         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
31041         IPV6_PATHMTU, and IPV6_DONTFRAG.
31043 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
31045         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
31046         and _IO_UNBUFFERED.
31047         * libio/oldfileops.c: Likewise.
31048         * libio/wfileops.c: Likewise.
31050 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31052         * nscd/selinux.c: Delete selinux/flask.h include.
31054 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31056         [BZ #18641]
31057         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
31058         (putpwent): Likewise.
31059         (getpwnam): Likewise.
31060         (getpwent_r): Likewise.
31061         (getpwuid_r): Likewise.
31062         (getpwnam_r): Likewise.
31063         (fgetpwent_r): Likewise.
31065 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31067         [BZ #18557]
31068         * inet/rcmd.c (__validuser2_sa): Check user first to
31069         short-circuit host check.
31071 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
31072             Mikhail Ilin  <m.ilin@samsung.com>
31074         [BZ #17833]
31075         * elf/Makefile (tests): Add tst-nodelete.
31076         (modules-names): Add tst-nodelete-uniquemod.
31077         (tst-nodelete-uniquemod.so-no-z-defs): New.
31078         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
31079         (tst-nodelete-zmod.so-no-z-defs): Likewise.
31080         ($(objpfx)tst-nodelete): Likewise.
31081         ($(objpfx)tst-nodelete.out): Likewise.
31082         (LDFLAGS-tst-nodelete): Likewise.
31083         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
31084         * elf/dl-close.c (_dl_close_worker): Add a parameter to
31085         implement forced object deletion.
31086         (_dl_close): Pass false to _dl_close_worker.
31087         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
31088         * elf/tst-nodelete.cc: New file.
31089         * elf/tst-nodeletelib.cc: Likewise.
31090         * elf/tst-znodeletelib.cc: Likewise.
31091         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
31093 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31095         [BZ #18508]
31096         * stdlib/Makefile ($(objpfx)tst-makecontext3):
31097         Depend on $(libdl).
31098         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
31099         is not called infinitely times.
31100         (backtrace_helper): New function.
31101         (trace_arg): New struct.
31102         (st1): Enlarge stack size.
31103         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31104         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
31105         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31106         Likewise.
31108 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31110         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31112 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31114         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
31115         Include sys/types.h instead of bits/types.h.
31116         Remove inclusion of bits/wordsize.h.
31118 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31120         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
31121         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
31122         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
31123         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
31124         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
31125         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
31127 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31129         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
31130         link-defines.sym.
31131         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
31132         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
31133         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
31134         and LR_SIZE.
31135         * sysdeps/i386/link-defines.sym: New file.
31137 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31139         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
31140         (modules-names): Add tst-auditmod3a tst-auditmod3b.
31141         ($(objpfx)tst-audit3): New rule.
31142         ($(objpfx)tst-audit3.out): Likewise.
31143         * sysdeps/i386/tst-audit3.c: New file.
31144         * sysdeps/i386/tst-audit3.h: Likewise.
31145         * sysdeps/i386/tst-auditmod3a.c: Likewise.
31146         * sysdeps/i386/tst-auditmod3b.c: Likewise.
31148 2015-07-07  Torvald Riegel  <triegel@redhat.com>
31150         [BZ #18633]
31151         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31152         pointer in C code.
31153         (__strcat_c): Likewise.
31154         (__strcat_g): Likewise.
31156 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
31158         [BZ #18592]
31159         * misc/sbrk.c: Set errno to ENOMEM on overflow.
31161 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31163         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31164         New function.  (__ieee754_sqrtf): New function.
31165         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31166         New function.
31167         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31168         New function.
31170 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31172         * sysdeps/ieee754/support.c: Remove unused file.
31174 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31176         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31177         registers instead of d ones so the layout is kernel abi compatible.
31178         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31179         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31180         Likewise.
31182 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31184         * sysdeps/aarch64/libm-test-ulps: Regenerated.
31186 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31188         [BZ #18619]
31189         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31190         and return argument in case of subnormal argument.
31192 2015-07-01  Martin Sebor  <msebor@redhat.com>
31194         [BZ #18435]
31195         * nptl/Makefile: Add tst-once5.cc.
31196         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31197         Remove macro redefinitions.
31198         * nptl/tst-once5.cc: New test.
31200 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31202         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31204         * sysdeps/arm/libm-test-ulps: Regenerated.
31206         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31207         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31209 2015-06-30  Torvald Riegel  <triegel@redhat.com>
31211         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31212         lll_lock_wait_private and lll_futex_wake probes.
31214         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31215         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31216         Likewise.
31217         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31218         atomic_spin_nop.
31219         * sysdeps/x86_64/bits/atomic.h: Likewise.
31220         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31221         to atomic_spin_nop and move ...
31222         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31223         ... here and ...
31224         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31225         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31226         atomic_spin_nop instead of BUSY_WAIT_NOP.
31227         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31228         Likewise.
31229         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31230         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31231         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31232         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31233         instead of atomic_delay.
31235 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31237         [BZ #18613]
31238         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31239         X_ADJ not X when adjusting exponent.
31240         (__ieee754_gamma_r): Do intermediate computations in
31241         round-to-nearest then adjust overflowing and underflowing results
31242         as needed.
31243         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31244         of X_ADJ not X when adjusting exponent.
31245         (__ieee754_gammaf_r): Do intermediate computations in
31246         round-to-nearest then adjust overflowing and underflowing results
31247         as needed.
31248         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31249         log of X_ADJ not X when adjusting exponent.
31250         (__ieee754_gammal_r): Do intermediate computations in
31251         round-to-nearest then adjust overflowing and underflowing results
31252         as needed.  Use 1.0L not 1.0f as numerator of division.
31253         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31254         log of X_ADJ not X when adjusting exponent.
31255         (__ieee754_gammal_r): Do intermediate computations in
31256         round-to-nearest then adjust overflowing and underflowing results
31257         as needed.  Use 1.0L not 1.0f as numerator of division.
31258         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31259         of X_ADJ not X when adjusting exponent.
31260         (__ieee754_gammal_r): Do intermediate computations in
31261         round-to-nearest then adjust overflowing and underflowing results
31262         as needed.  Use 1.0L not 1.0f as numerator of division.
31263         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31264         to auto-libm-test-in.
31265         (tgamma_test): Use ALL_RM_TEST.
31266         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31267         tests of tgamma with spurious-overflow.
31268         * math/auto-libm-test-out: Regenerated.
31269         * math/gen-libm-have-vector-test.sh: Do not check for START.
31270         * sysdeps/i386/fpu/libm-test-ulps: Update.
31271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31273         [BZ #18612]
31274         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31275         arguments, just return 0.5 times the argument, with underflow
31276         forced as needed.
31277         * math/auto-libm-test-in: Add more tests of j1.
31278         * math/auto-libm-test-out: Regenerated.
31280         [BZ #16559]
31281         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31282         (__ieee754_j1): Force underflow exception for small results.
31283         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31284         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31285         (__ieee754_j1f): Force underflow exception for small results.
31286         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31287         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31288         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31289         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31290         (__ieee754_j1l): Force underflow exception for small results.
31291         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31292         * math/auto-libm-test-in: Add more tests of j1 and jn.
31293         * math/auto-libm-test-out: Regenerated.
31295         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31296         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31297         (PF_MPLS): Likewise.
31298         (AF_IB): Likewise.
31299         (AF_MPLS): Likewise.
31300         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31301         value and macro.
31302         (MS_RMT_MASK): Include MS_LAZYTIME.
31304 2015-06-26  Mel Gorman  <mgorman@suse.de>
31306         [BZ #18502]
31307         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31308         already minimal.
31310 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31312         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31313         (DT_MIPS_NUM): Update.
31314         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31315         DT_MIPS_RLD_MAP_REL.
31317 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31319         [BZ #16559]
31320         [BZ #18602]
31321         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31322         round-to-nearest internally then recompute results that
31323         underflowed to zero in the original rounding mode.
31324         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31325         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31327         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31328         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31329         * sysdeps/i386/fpu/libm-test-ulps: Update.
31330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31332 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31334         * NEWS: Fixed description of link with vector math library.
31336 2015-06-25  Andreas Schwab  <schwab@suse.de>
31338         [BZ #18549]
31339         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31340         * libio/test-fmemopen.c (do_test): Add test for it.
31342 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31344         [BZ #17841]
31345         * Makeconfig (no-pie-ldflag): New.
31346         (+link): Set to $(+link-pie) if default to PIE.
31347         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31348         * config.make.in (build-pie-default): New.
31349         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
31350         is default.  AC_SUBST.
31351         * configure: Regenerated.
31352         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31354 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31356         * nptl/descr.h (struct pthread): Change type of field setxid_futex
31357         to 'unsigned int'.
31359         * resolv/gai_misc.h (struct waitlist): Change type of field
31360         counterp to 'volatile unsigned int *'.
31361         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31362         FUTEXADDR and OLDVAL.
31363         * resolv/getaddrinfo_a.c (getaddrinfo_a):
31364         Give local variable TOTAL type 'volatile unsigned int'.
31365         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31366         * resolv/gai_suspend.c (gai_suspend):
31367         Give local variable CNTR type 'unsigned int'.
31369         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31370         counterp to 'volatile unsigned int *'.
31371         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31372         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31373         (aio_suspend): Give local variable CNTR type 'unsigned int'.
31374         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31375         Give local variable TOTAL type 'volatile unsigned int'.
31376         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31378 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31380         [BZ #18383]
31381         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31382         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
31383         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31384         comment for i386/x86-64.
31385         (test-xfail-tst-tlsalign-extern-static): Removed.
31387 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31389         * math/test-double.h: New file.
31390         * math/test-float.h: Likewise.
31391         * math/test-ldouble.h: Likewise.
31392         * math/test-math-inline.h: Likewise.
31393         * math/test-math-no-inline.h: Likewise.
31394         * math/test-math-scalar.h: Likewise.
31395         * math/test-math-vector.h: Likewise.
31396         * math/test-vec-loop.h: Remove file.  Contents moved into
31397         test-math-vector.h.
31398         * math/libm-test.inc (MATHCONST): Do not document macro.
31399         * math/test-double.c: Include test-double.h, test-math-no-inline.h
31400         and test-math-scalar.h.
31401         (FUNC): Remove macro.
31402         (FUNC_TEST): Likewise.
31403         (FLOAT): Likewise.
31404         (MATHCONST): Likewise.
31405         (PRINTF_EXPR): Likewise.
31406         (PRINTF_XEXPR): Likewise.
31407         (PRINTF_NEXPR): Likewise.
31408         (TEST_DOUBLE): Likewise.
31409         (TEST_MATHVEC): Likewise.
31410         (__NO_MATH_INLINES): Likewise.
31411         * math/test-float.c: Include test-float.h, test-math-no-inline.h
31412         and test-math-scalar.h.
31413         (FUNC): Remove macro.
31414         (FUNC_TEST): Likewise.
31415         (FLOAT): Likewise.
31416         (MATHCONST): Likewise.
31417         (PRINTF_EXPR): Likewise.
31418         (PRINTF_XEXPR): Likewise.
31419         (PRINTF_NEXPR): Likewise.
31420         (TEST_FLOAT): Likewise.
31421         (TEST_MATHVEC): Likewise.
31422         (__NO_MATH_INLINES): Likewise.
31423         * math/test-idouble.c: Include test-double.h, test-math-inline.h
31424         and test-math-scalar.h.
31425         (FUNC): Remove macro.
31426         (FUNC_TEST): Likewise.
31427         (FLOAT): Likewise.
31428         (MATHCONST): Likewise.
31429         (PRINTF_EXPR): Likewise.
31430         (PRINTF_XEXPR): Likewise.
31431         (PRINTF_NEXPR): Likewise.
31432         (TEST_DOUBLE): Likewise.
31433         (TEST_MATHVEC): Likewise.
31434         (TEST_INLINE): Likewise.
31435         (__NO_MATH_INLINES): Likewise.
31436         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31437         test-math-scalar.h.
31438         (FUNC): Remove macro.
31439         (FUNC_TEST): Likewise.
31440         (FLOAT): Likewise.
31441         (MATHCONST): Likewise.
31442         (PRINTF_EXPR): Likewise.
31443         (PRINTF_XEXPR): Likewise.
31444         (PRINTF_NEXPR): Likewise.
31445         (TEST_FLOAT): Likewise.
31446         (TEST_MATHVEC): Likewise.
31447         (TEST_INLINE): Likewise.
31448         (__NO_MATH_INLINES): Likewise.
31449         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
31450         and test-math-scalar.h.
31451         (FUNC): Remove macro.
31452         (FUNC_TEST): Likewise.
31453         (FLOAT): Likewise.
31454         (MATHCONST): Likewise.
31455         (PRINTF_EXPR): Likewise.
31456         (PRINTF_XEXPR): Likewise.
31457         (PRINTF_NEXPR): Likewise.
31458         (TEST_LDOUBLE): Likewise.
31459         (TEST_MATHVEC): Likewise.
31460         (TEST_INLINE): Likewise.
31461         (__NO_MATH_INLINES): Likewise.
31462         * math/test-ldouble.c: Include test-ldouble.h,
31463         test-math-no-inline.h and test-math-scalar.h.
31464         (FUNC): Remove macro.
31465         (FUNC_TEST): Likewise.
31466         (FLOAT): Likewise.
31467         (MATHCONST): Likewise.
31468         (PRINTF_EXPR): Likewise.
31469         (PRINTF_XEXPR): Likewise.
31470         (PRINTF_NEXPR): Likewise.
31471         (TEST_LDOUBLE): Likewise.
31472         (TEST_MATHVEC): Likewise.
31473         (__NO_MATH_INLINES): Likewise.
31474         * math/test-double-vlen2.h: Include test-double.h,
31475         test-math-no-inline.h and test-math-vector.h.
31476         (FLOAT): Remove macro.
31477         (FUNC): Likewise.
31478         (MATHCONST): Likewise.
31479         (PRINTF_EXPR): Likewise.
31480         (PRINTF_XEXPR): Likewise.
31481         (PRINTF_NEXPR): Likewise.
31482         (TEST_DOUBLE): Likewise.
31483         (TEST_MATHVEC): Likewise.
31484         (__NO_MATH_INLINES): Likewise.
31485         (CNCT): Likewise.
31486         (CONCAT): Likewise.
31487         (WRAPPER_NAME): Likewise.
31488         (WRAPPER_DECL): Likewise.
31489         (WRAPPER_DECL_ff): Likewise.
31490         (WRAPPER_DECL_fFF): Likewise.
31491         (VECTOR_WRAPPER): Likewise.
31492         (VECTOR_WRAPPER_ff): Likewise.
31493         (VECTOR_WRAPPER_fFF): Likewise.
31494         (VEC_LEN): New macro.
31495         * math/test-double-vlen4.h: Include test-double.h,
31496         test-math-no-inline.h and test-math-vector.h.
31497         (FLOAT): Remove macro.
31498         (FUNC): Likewise.
31499         (MATHCONST): Likewise.
31500         (PRINTF_EXPR): Likewise.
31501         (PRINTF_XEXPR): Likewise.
31502         (PRINTF_NEXPR): Likewise.
31503         (TEST_DOUBLE): Likewise.
31504         (TEST_MATHVEC): Likewise.
31505         (__NO_MATH_INLINES): Likewise.
31506         (CNCT): Likewise.
31507         (CONCAT): Likewise.
31508         (WRAPPER_NAME): Likewise.
31509         (WRAPPER_DECL): Likewise.
31510         (WRAPPER_DECL_ff): Likewise.
31511         (WRAPPER_DECL_fFF): Likewise.
31512         (VECTOR_WRAPPER): Likewise.
31513         (VECTOR_WRAPPER_ff): Likewise.
31514         (VECTOR_WRAPPER_fFF): Likewise.
31515         (VEC_LEN): New macro.
31516         * math/test-double-vlen8.h: Include test-double.h,
31517         test-math-no-inline.h and test-math-vector.h.
31518         (FLOAT): Remove macro.
31519         (FUNC): Likewise.
31520         (MATHCONST): Likewise.
31521         (PRINTF_EXPR): Likewise.
31522         (PRINTF_XEXPR): Likewise.
31523         (PRINTF_NEXPR): Likewise.
31524         (TEST_DOUBLE): Likewise.
31525         (TEST_MATHVEC): Likewise.
31526         (__NO_MATH_INLINES): Likewise.
31527         (CNCT): Likewise.
31528         (CONCAT): Likewise.
31529         (WRAPPER_NAME): Likewise.
31530         (WRAPPER_DECL): Likewise.
31531         (WRAPPER_DECL_ff): Likewise.
31532         (WRAPPER_DECL_fFF): Likewise.
31533         (VECTOR_WRAPPER): Likewise.
31534         (VECTOR_WRAPPER_ff): Likewise.
31535         (VECTOR_WRAPPER_fFF): Likewise.
31536         (VEC_LEN): New macro.
31537         * math/test-float-vlen4.h: Include test-float.h,
31538         test-math-no-inline.h and test-math-vector.h.
31539         (FLOAT): Remove macro.
31540         (FUNC): Likewise.
31541         (MATHCONST): Likewise.
31542         (PRINTF_EXPR): Likewise.
31543         (PRINTF_XEXPR): Likewise.
31544         (PRINTF_NEXPR): Likewise.
31545         (TEST_FLOAT): Likewise.
31546         (TEST_MATHVEC): Likewise.
31547         (__NO_MATH_INLINES): Likewise.
31548         (CNCT): Likewise.
31549         (CONCAT): Likewise.
31550         (WRAPPER_NAME): Likewise.
31551         (WRAPPER_DECL): Likewise.
31552         (WRAPPER_DECL_ff): Likewise.
31553         (WRAPPER_DECL_fFF): Likewise.
31554         (VECTOR_WRAPPER): Likewise.
31555         (VECTOR_WRAPPER_ff): Likewise.
31556         (VECTOR_WRAPPER_fFF): Likewise.
31557         (VEC_LEN): New macro.
31558         * math/test-float-vlen8.h: Include test-float.h,
31559         test-math-no-inline.h and test-math-vector.h.
31560         (FLOAT): Remove macro.
31561         (FUNC): Likewise.
31562         (MATHCONST): Likewise.
31563         (PRINTF_EXPR): Likewise.
31564         (PRINTF_XEXPR): Likewise.
31565         (PRINTF_NEXPR): Likewise.
31566         (TEST_FLOAT): Likewise.
31567         (TEST_MATHVEC): Likewise.
31568         (__NO_MATH_INLINES): Likewise.
31569         (CNCT): Likewise.
31570         (CONCAT): Likewise.
31571         (WRAPPER_NAME): Likewise.
31572         (WRAPPER_DECL): Likewise.
31573         (WRAPPER_DECL_ff): Likewise.
31574         (WRAPPER_DECL_fFF): Likewise.
31575         (VECTOR_WRAPPER): Likewise.
31576         (VECTOR_WRAPPER_ff): Likewise.
31577         (VECTOR_WRAPPER_fFF): Likewise.
31578         (VEC_LEN): New macro.
31579         * math/test-float-vlen16.h: Include test-float.h,
31580         test-math-no-inline.h and test-math-vector.h.
31581         (FLOAT): Remove macro.
31582         (FUNC): Likewise.
31583         (MATHCONST): Likewise.
31584         (PRINTF_EXPR): Likewise.
31585         (PRINTF_XEXPR): Likewise.
31586         (PRINTF_NEXPR): Likewise.
31587         (TEST_FLOAT): Likewise.
31588         (TEST_MATHVEC): Likewise.
31589         (__NO_MATH_INLINES): Likewise.
31590         (CNCT): Likewise.
31591         (CONCAT): Likewise.
31592         (WRAPPER_NAME): Likewise.
31593         (WRAPPER_DECL): Likewise.
31594         (WRAPPER_DECL_ff): Likewise.
31595         (WRAPPER_DECL_fFF): Likewise.
31596         (VECTOR_WRAPPER): Likewise.
31597         (VECTOR_WRAPPER_ff): Likewise.
31598         (VECTOR_WRAPPER_fFF): Likewise.
31599         (VEC_LEN): New macro.
31600         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
31601         test-vec-loop.h.
31602         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31603         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31604         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31605         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31606         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31607         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31608         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31610 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31612         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
31613         (__getlogin_r): ... this.
31615 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31617         [BZ #18594]
31618         * math/s_ccosh.c (__ccosh): Compare with least normal value
31619         instead of comparing class with FP_SUBNORMAL.
31620         * math/s_ccoshf.c (__ccoshf): Likewise.
31621         * math/s_ccoshl.c (__ccoshl): Likewise.
31622         * math/s_cexp.c (__cexp): Likewise.
31623         * math/s_cexpf.c (__cexpf): Likewise.
31624         * math/s_cexpl.c (__cexpl): Likewise.
31625         * math/s_csin.c (__csin): Likewise.
31626         * math/s_csinf.c (__csinf): Likewise.
31627         * math/s_csinh.c (__csinh): Likewise.
31628         * math/s_csinhf.c (__csinhf): Likewise.
31629         * math/s_csinhl.c (__csinhl): Likewise.
31630         * math/s_csinl.c (__csinl): Likewise.
31631         * math/s_ctan.c (__ctan): Likewise.
31632         * math/s_ctanf.c (__ctanf): Likewise.
31633         * math/s_ctanh.c (__ctanh): Likewise.
31634         * math/s_ctanhf.c (__ctanhf): Likewise.
31635         * math/s_ctanhl.c (__ctanhl): Likewise.
31636         * math/s_ctanl.c (__ctanl): Likewise.
31637         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
31638         csin, csinh, ctan and ctanh.
31639         * math/auto-libm-test-out: Regenerated.
31640         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
31641         * sysdeps/i386/fpu/libm-test-ulps: Update.
31642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31644 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31646         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
31647         return value is wrong, print the expected value too.
31649 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31651         [BZ #18585]
31652         * elf/readlib.c (is_gdb_python_file): New.
31653         (process_file): Don't issue errors on filenames with -gdb.py
31654         suffix.
31656 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31658         * math/auto-libm-test-in: Add more tests of csin and csinh.
31659         * math/auto-libm-test-out: Regenerated.
31660         * math/libm-test.inc (csin_test_data): Remove tests moved to
31661         auto-libm-test-in.
31662         (csinh_test_data): Likewise.
31664         [BZ #18593]
31665         * math/s_csin.c (__csin): Negate before rather than after possibly
31666         overflowing multiplication.
31667         * math/s_csinf.c (__csinf): Likewise.
31668         * math/s_csinh.c (__csinh): Likewise.
31669         * math/s_csinhf.c (__csinhf): Likewise.
31670         * math/s_csinhl.c (__csinhl): Likewise.
31671         * math/s_csinl.c (__csinl): Likewise.
31672         * math/auto-libm-test-in: Add some tests of csin and csinh.
31673         * math/auto-libm-test-out: Regenerated.
31674         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
31675         (csinh_test_data): Likewise.
31676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31678         [BZ #18586]
31679         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
31680         underflow exception for small results.
31682 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31684         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31685         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
31686         variable and included header.
31687         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
31688         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
31689         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
31690         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
31691         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
31692         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
31693         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
31694         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
31695         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
31696         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
31697         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
31698         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
31699         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
31700         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
31701         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
31702         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
31704 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31706         [BZ #16526]
31707         [BZ #16538]
31708         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
31709         (__sin): Force underflow exception for arguments with small
31710         absolute value.
31711         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
31712         (__kernel_sinf): Force underflow exception for arguments with
31713         small absolute value.
31714         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
31715         (__kernel_sincosl): Force underflow exception for arguments with
31716         small absolute value.
31717         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
31718         (__kernel_sinl): Force underflow exception for arguments with
31719         small absolute value.
31720         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
31721         (__kernel_sincosl): Force underflow exception for arguments with
31722         small absolute value.
31723         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
31724         (__kernel_sinl): Force underflow exception for arguments with
31725         small absolute value.
31726         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
31727         (__kernel_sinl): Force underflow exception for arguments with
31728         small absolute value.
31729         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
31730         (__kernel_sinf): Force underflow exception for arguments with
31731         small absolute value.
31732         * math/auto-libm-test-in: Add more tests of sin and sincos.
31733         * math/auto-libm-test-out: Regenerated.
31735         [BZ #18245]
31736         [BZ #18583]
31737         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
31738         (__kernel_standard_l): Use feholdexcept and fesetenv around
31739         conversion to double instead of special-casing overflow and
31740         underflow.
31741         * math/libm-test.inc (fmod_test_data): Add more tests.
31742         (remainder_test_data): Likewise.
31743         (sqrt_test_data): Likewise.
31745 2015-06-23  Torvald Riegel  <triegel@redhat.com>
31747         [BZ #17403]
31748         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
31749         atomic_read_barrier, atomic_write_barrier): Define.
31750         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
31751         atomic_read_barrier, atomic_write_barrier): Define.
31753 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31755         * math/Makefile [$(PERL) != no]
31756         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
31757         dependency on libm-test.stmp below the inclusion of Rules.
31759 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
31761         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31762         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
31763         and included header.
31764         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
31765         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
31766         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
31767         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
31768         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
31769         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
31770         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
31771         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
31772         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
31773         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
31774         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31775         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31776         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31777         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31778         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31779         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31780         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31781         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31782         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31784 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31786         [BZ #18371]
31787         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31788         intermediate but not final result might underflow.
31789         * math/s_csqrtf.c (__csqrtf): Likewise.
31790         * math/s_csqrtl.c (__csqrtl): Likewise.
31791         * math/auto-libm-test-in: Add more tests of csqrt.
31792         * math/auto-libm-test-out: Regenerated.
31793         * sysdeps/i386/fpu/libm-test-ulps: Update.
31795         [BZ #18219]
31796         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31797         threshold on absolute value of exponent for which scaling is used.
31798         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31799         * math/auto-libm-test-in: Add more tests of exp2.
31800         * math/auto-libm-test-out: Regenerated.
31802 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31804         [BZ #17977]
31805         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31806         when initializing interface list, based on the bug analysis
31807         and the patch proposed by Eric Newton.
31808         * resolv/tst-res_hconf_reorder.c: New test.
31809         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31810         tst-res_hconf_reorder.
31811         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31812         and $(shared-thread-library).
31813         (tst-res_hconf_reorder-ENV): New variable.
31815         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31816         in comment.
31818 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31820         [BZ #16353]
31821         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31822         (__expm1): Force underflow exception for arguments with small
31823         absolute value.
31824         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31825         (__expm1f): Force underflow exception for arguments with small
31826         absolute value.
31827         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31828         (__expm1): Force underflow exception for arguments with small
31829         absolute value.
31830         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31831         (__expm1f): Force underflow exception for arguments with small
31832         absolute value.
31833         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31834         Check for small arguments before calling __expm1.
31835         * math/auto-libm-test-in: Do not mark underflow exceptions as
31836         possibly missing for bug 16353.
31837         * math/auto-libm-test-out: Regenerated.
31839 2015-06-22  Andreas Schwab  <schwab@suse.de>
31841         [BZ #18513]
31842         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
31843         PTR queries.
31845 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
31847         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
31849         * string/strcoll_l.c: Remove unused struct element idxnow.
31851 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
31853         [BZ #18569]
31854         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
31855         underflow and return argument in case of subnormal argument.
31856         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31857         Likewise.
31858         * math/auto-libm-test-in: Add more tests of expm1.
31859         * math/auto-libm-test-out: Regenerated.
31861         [BZ #16361]
31862         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31863         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31864         tiny results.
31865         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31866         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31867         tiny results.
31868         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
31869         mark underflow exceptions as possibly missing for bug 16361.
31870         * math/auto-libm-test-out: Regenerated.
31872 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
31874         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31875         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
31876         Remove variable.
31877         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31878         (test-xfail-XOPEN2K8/utmpx.h/conform).
31880         * conform/conformtest.pl ($xerrors): New variable.
31881         (note_error): New function.
31882         (compiletest): New argument $xfail.  Use not_error.
31883         (runtest): Likewise.
31884         (top level): Handle xfail- lines.  Update calls to compiletest and
31885         runtest.  Handle xfail- and optional- in headers listed with
31886         allow-header.
31887         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
31888         (O_EXEC): Likewise.
31889         (O_SEARCH): Likewise.
31890         * conform/data/stropts.h-data (ioctl): Likewise.
31891         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
31892         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
31893         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
31894         (msghdr.msg_controllen): Likewise.
31895         (cmsghdr.cmsg_len): Likewise.
31896         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
31897         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
31898         variable.
31899         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31900         (test-xfail-XPG4/stropts.h/conform): Likewise.
31901         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31902         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31903         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31904         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31905         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31906         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31907         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31908         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31909         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31910         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31911         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31912         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31913         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31914         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31915         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31916         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31917         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31918         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31919         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31921 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31923         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
31924         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
31925         definitions for proper unfolding of __MATHDECL_VEC.
31927 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31929         * benchtests/bench-strcoll.c:
31930         Include string.h.
31931         (main): Remove unused variable res.
31933 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31935         * timezone/Makefile (%/UTC %/Universal):
31936         Generate test-result files for UTC and Universal.
31938 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31940         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31942 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
31944         [BZ #16350]
31945         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
31946         for arguments with small absolute value.
31947         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
31948         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
31949         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
31950         (__asinh): Force underflow exception for arguments with small
31951         absolute value.
31952         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
31953         (__asinhf): Force underflow exception for arguments with small
31954         absolute value.
31955         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
31956         (__asinhl): Force underflow exception for arguments with small
31957         absolute value.
31958         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
31959         (__asinhl): Force underflow exception for arguments with small
31960         absolute value.
31961         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
31962         (__asinhl): Force underflow exception for arguments with small
31963         absolute value.
31964         * math/auto-libm-test-in: Do not mark underflow exceptions as
31965         possibly missing for bug 16350.
31966         * math/auto-libm-test-out: Regenerated.
31968         * include/bits/ipc.h: Remove file.
31969         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
31970         variable.
31971         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31972         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31973         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31974         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31975         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31976         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31977         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31978         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31979         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31981         * math/auto-libm-test-in: Remove spurious underflow allowance for
31982         tests of cexp.
31983         * math/auto-libm-test-out: Regenerated.
31985         [BZ #18558]
31986         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
31987         unconditional definition.
31988         (MCAST_BLOCK_SOURCE): Likewise.
31989         (MCAST_UNBLOCK_SOURCE): Likewise.
31990         (MCAST_LEAVE_GROUP): Likewise.
31991         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31992         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31993         (MCAST_MSFILTER): Likewise.
31994         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
31995         Remove variable.
31996         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31997         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31998         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31999         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32000         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32002 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
32004         * NEWS: Mention addition of x86_64 vector sincosf.
32005         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
32006         * math/test-float-vlen4.h: Likewise.
32007         * math/test-float-vlen8.h: Likewise.
32008         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32009         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32010         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32011         * sysdeps/x86_64/fpu/Versions: New versions added.
32012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32013         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32014         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32015         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
32016         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
32017         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
32018         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
32019         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
32020         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
32021         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
32022         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
32023         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
32024         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
32025         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
32026         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
32027         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
32028         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
32029         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32030         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32031         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32032         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32033         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32034         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32035         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32037         * NEWS: Mention addition of x86_64 vector sincos.
32038         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
32039         * math/math.h (__MATHDECL_VEC): New macro.
32040         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
32041         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
32042         declaration under condition.
32043         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
32044         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
32045         TEST_VEC_LOOP change.
32046         * math/test-double-vlen4.h: Likewise.
32047         * math/test-double-vlen8.h: Likewise.
32048         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
32049         * math/test-float-vlen4.h: Likewise.
32050         * math/test-float-vlen8.h: Likewise.
32051         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32052         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
32053         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32054         * sysdeps/x86_64/fpu/Versions: New versions added.
32055         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32056         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32057         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32058         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
32059         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
32060         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
32061         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
32062         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
32063         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
32064         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
32065         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
32066         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
32067         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
32068         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
32069         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
32070         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
32071         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
32072         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32073         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32074         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32075         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32076         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32077         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32078         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32080         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32081         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32082         redirections for powf.
32083         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32084         * sysdeps/x86_64/fpu/Versions: New versions added.
32085         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32086         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32087         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32088         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
32089         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
32090         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
32091         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
32092         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
32093         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
32094         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
32095         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
32096         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
32097         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
32098         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
32099         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
32100         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
32101         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
32102         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32103         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32104         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32105         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32106         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32107         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32108         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32109         * math/test-float-vlen16.h: Fixed 2 argument macro.
32110         * math/test-float-vlen4.h: Likewise.
32111         * math/test-float-vlen8.h: Likewise.
32112         * NEWS: Mention addition of x86_64 vector powf.
32114 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
32116         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32117         and redefine.
32118         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32119         and redefine.
32120         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
32121         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32122         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32124         [BZ #18553]
32125         * resource/getpriority.c (getpriority): Rename to __getpriority
32126         and define as weak alias of __getpriority.
32127         * resource/setpriority.c (setpriority): Rename to __setpriority
32128         and define as weak alias of __setpriority.
32129         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
32130         __getpriority and define as weak alias of __getpriority.
32131         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
32132         __setpriority and define as weak alias of __setpriority.
32133         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
32134         strong name.
32135         (setpriority): Use __setpriority as strong name.
32136         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
32137         __getpriority and define as weak alias of __getpriority.
32138         * include/sys/resource.h (__getpriority): Declare.  Use
32139         libc_hidden_proto.
32140         (__setpriority): Likewise.
32141         (getpriority): Don't use libc_hidden_proto.
32142         (setpriority): Likewise.
32143         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
32144         getpriority.  Call __setpriority instead of setpriority.
32145         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
32146         Remove variable.
32148         [BZ #18547]
32149         * misc/getttyent.c (getttynam): Rename to __getttynam and define
32150         as weak alias of __getttynam.  Use prototype function definition.
32151         Call __setttyent, __getttyent and __endttyent instead of
32152         setttyent, getttyent and endttyent.
32153         (getttyent): Rename to __getttyent and define as weak alias of
32154         __getttyent.  Call __setttyent instead of setttyent.  Call
32155         __fgets_unlocked instead of fgets_unlocked.
32156         (setttyent): Rename to __setttyent and define as weak alias of
32157         __setttyent.
32158         (endttyent): Rename to __endttyent and define as weak alias of
32159         __endttyent.
32160         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
32161         (__setttyent): Likewise.
32162         (__endttyent): Likewise.
32163         (getttyent): Don't use libc_hidden_proto.
32164         (setttyent): Likewise.
32165         (endttyent): Likewise.
32166         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32167         __endttyent instead of setttyent, getttyent and endttyent.
32168         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32169         Remove variable.
32171         [BZ #18546]
32172         * socket/recv.c (__recv): Use libc_hidden_def.
32173         * socket/socket.c (__socket): Likewise.
32174         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32175         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32176         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32177         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32178         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32179         libc_hidden_def.
32180         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32181         libc_hidden_weak.
32182         * include/sys/socket.h (__socket): Do not use attribute_hidden.
32183         Use libc_hidden_proto.
32184         (__recv): Likewise.
32185         * socket/Versions (libc): Export __recv and __socket at version
32186         GLIBC_PRIVATE.
32187         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32188         instead of recv.
32189         (init_mq_netlink): Call __socket instead of socket.
32190         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32191         Remove variable.
32193         [BZ #18545]
32194         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32195         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
32196         hidden_weak.
32197         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32198         define as alias of __mq_timedsend.  Use hidden_weak.
32199         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32200         __mq_timedsend as strong name.
32201         (mq_timedreceive): Use __mq_timedreceive as strong name.
32202         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
32203         (__mq_timedreceive): Likewise.
32204         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32205         __mq_timedreceive instead of mq_timedreceive.
32206         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32207         instead of mq_timedsend.
32208         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32209         Remove variable.
32211         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32212         hidden_def and hidden_weak instead of libc_hidden_def and
32213         libc_hidden_weak.
32214         (top level): Refer to hidden_def in comment.
32215         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32216         macro.  Use it instead of libc_hidden_def.
32217         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32218         specify __GI_* name explicitly.
32219         (mq_timedreceive): Likewise.
32220         (mq_setattr): Likewise.
32222         [BZ #18544]
32223         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32224         __pthread_barrier_init and define as weak alias of
32225         __pthread_barrier_init.
32226         * sysdeps/sparc/nptl/pthread_barrier_init.c
32227         (pthread_barrier_init): Likewise.
32228         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32229         __pthread_barrier_wait and define as weak alias of
32230         __pthread_barrier_wait.
32231         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32232         (pthread_barrier_wait): Likewise.
32233         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32234         (pthread_barrier_wait): Likewise.
32235         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32236         (pthread_barrier_wait): Likewise.
32237         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32238         (pthread_barrier_wait): Likewise.
32239         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32240         __pthread_barrier_wait at version GLIBC_PRIVATE.
32241         * include/pthread.h (__pthread_barrier_init): Declare.
32242         (__pthread_barrier_wait): Likewise.
32243         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32244         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32245         (helper_thread): Likewise.
32246         (init_mq_netlink): Call __pthread_barrier_init instead of
32247         pthread_barrier_init.
32249         [BZ #18542]
32250         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32251         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32252         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32253         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32254         vswscanf.
32255         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32256         Remove variable.
32258         [BZ #18540]
32259         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32260         strong alias of _IO_fflush.  Use libc_hidden_def.
32261         * libio/iofflush_u.c (fflush_unlocked): Rename to
32262         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32263         Use libc_hidden_weak.
32264         * include/stdio.h (__fflush_unlocked): Declare.  Use
32265         libc_hidden_proto.
32266         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32267         fflush_unlocked.
32268         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32269         Remove variable.
32271         [BZ #18539]
32272         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32273         define as weak alias of __addseverity.
32274         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32275         Remove variable.
32276         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32277         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32278         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32280         [BZ #18536]
32281         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32282         (__tfind): Likewise.
32283         (__tdelete): Likewise.
32284         (__twalk): Likewise.
32285         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32286         __twalk to GLIBC_PRIVATE.
32287         * include/search.h (__tsearch): Use libc_hidden_proto.
32288         (__tfind): Likewise.
32289         (__tdelete): Likewise.
32290         (__twalk): Likewise.
32291         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32292         Call __tdelete instead of tdelete.
32293         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32294         tfind.  Call __tsearch instead of tsearch.
32295         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32296         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32297         Remove variable.
32298         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32300         [BZ #18534]
32301         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32302         (dprintf): Define as a weak alias of __dprintf, not a strong
32303         alias.
32304         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32305         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32306         dprintf.
32307         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32308         Remove variable.
32309         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32310         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32312         [BZ #18533]
32313         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32314         not a strong alias.
32315         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32316         Remove variable.
32318         [BZ #18532]
32319         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32320         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32321         (in6addr_loopback): Rename to __in6addr_loopback and define as
32322         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32323         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32324         libc_hidden_proto.
32325         (__in6addr_any): Likewise.
32326         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32327         in6addr_any.
32328         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32329         variable.
32330         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32332 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32334         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32335         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32336         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32337         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32338         redirections for pow.
32339         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32340         * sysdeps/x86_64/fpu/Versions: New versions added.
32341         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32342         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32343         build of SSE, AVX2 and AVX512 IFUNC versions.
32344         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32346         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32347         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32348         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32350         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32351         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32352         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32353         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32354         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32355         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32356         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32357         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
32358         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32359         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32360         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32361         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32362         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32363         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32364         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32365         * NEWS: Mention addition of x86_64 vector pow.
32367         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32368         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32369         redirections for expf.
32370         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32371         * sysdeps/x86_64/fpu/Versions: New versions added.
32372         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32373         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32374         build of SSE, AVX2 and AVX512 IFUNC versions.
32375         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
32376         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32377         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32378         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32379         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32380         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32381         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32382         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32383         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32384         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32385         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32386         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32387         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
32388         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32389         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32390         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32391         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32392         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32393         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32394         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32395         * NEWS: Mention addition of x86_64 vector expf.
32397         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32398         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
32399         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32400         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32401         redirections for exp.
32402         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32403         * sysdeps/x86_64/fpu/Versions: New versions added.
32404         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32405         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32406         build of SSE, AVX2 and AVX512 IFUNC versions.
32407         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
32408         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32409         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32410         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32411         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32412         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32413         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32414         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32415         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32416         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32417         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32418         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32419         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32420         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32421         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32422         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32423         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32424         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32425         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32426         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32427         * NEWS: Mention addition of x86_64 vector exp.
32429         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32430         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32431         redirections for logf.
32432         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32433         * sysdeps/x86_64/fpu/Versions: New versions added.
32434         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32435         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32436         build of SSE, AVX2 and AVX512 IFUNC versions.
32437         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32438         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32439         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32440         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32441         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32442         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32443         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
32444         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
32445         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
32446         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
32447         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
32448         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
32449         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
32450         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32451         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32452         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32453         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32454         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32455         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32456         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32457         * NEWS: Mention addition of x86_64 vector logf.
32459         * bits/libm-simd-decl-stubs.h: Added stubs for log.
32460         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
32461         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32462         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32463         redirections for log.
32464         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32465         * sysdeps/x86_64/fpu/Versions: New versions added.
32466         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32467         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32468         build of SSE, AVX2 and AVX512 IFUNC versions.
32469         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
32470         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
32471         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
32472         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
32473         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
32474         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
32475         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
32476         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
32477         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
32478         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
32479         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
32480         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
32481         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
32482         test.
32483         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32484         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32485         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32486         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32487         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32488         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32489         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32490         * NEWS: Mention addition of x86_64 vector log.
32492 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32494         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
32495         cfi_adjust_cfa_offset argument.
32496         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
32497         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
32499         [BZ #18034]
32500         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
32501         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
32502         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
32503         ordering using ldar.
32504         (_dl_tlsdesc_dynamic): Likewise.
32505         (_dl_tlsdesc_return_lazy): Likewise.
32506         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
32507         relaxed atomics instead of volatile and synchronize with release store.
32508         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
32509         volatile.
32510         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32512 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
32514         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32515         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
32516         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32517         * sysdeps/x86_64/fpu/Versions: New versions added.
32518         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32519         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32520         build of SSE, AVX2 and AVX512 IFUNC versions.
32521         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
32522         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
32523         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
32524         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
32525         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
32526         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
32527         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
32528         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
32529         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
32530         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
32531         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
32532         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
32533         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
32534         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32535         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32536         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32537         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32538         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32539         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32540         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32541         * NEWS: Mention addition of x86_64 vector sinf.
32543 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
32545         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
32546         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
32547         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
32548         Remove variable.
32549         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32550         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32552 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32554         [BZ #18530]
32555         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
32556         strong alias of _IO_fputs.  Use libc_hidden_def.
32557         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
32558         and define as weak alias of __fputs_unlocked.  Use
32559         libc_hidden_weak.
32560         * include/stdio.h (__fputs_unlocked): Declare.  Use
32561         libc_hidden_proto.
32562         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
32563         fputs_unlocked.
32565         [BZ #18529]
32566         * resolv/netdb.h [__USE_POSIX]: Change condition to
32567         [__USE_XOPEN2K].
32568         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
32569         not expect.
32570         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
32571         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
32572         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
32573         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
32574         [XPG4 || UNIX98] (AI_ALL): Likewise.
32575         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
32576         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
32577         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
32578         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
32579         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
32580         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
32581         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
32582         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
32583         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
32584         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
32585         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
32586         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
32587         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
32588         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
32589         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
32590         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32591         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32592         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
32593         [XPG4 || UNIX98] (gai_strerror): Likewise.
32594         [XPG4 || UNIX98] (getaddrinfo): Likewise.
32595         [XPG4 || UNIX98] (getnameinfo): Likewise.
32597         [BZ #18528]
32598         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
32599         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
32600         __USE_XOPEN2K8].
32601         (getgrent): Likewise.
32602         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
32603         expect.
32604         [XPG3 || POSIX2008] (endgrent): Likewise.
32605         [XPG3] (setgrent): Likewise.
32606         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
32607         variable.
32608         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32610         [BZ #18527]
32611         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
32612         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
32613         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
32614         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
32615         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
32616         * include/unistd.h (__getlogin_r): Declare.  Use
32617         libc_hidden_proto.
32618         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
32619         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
32620         variable.
32621         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32622         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32623         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32625 2015-06-12  Martin Sebor  <msebor@redhat.com>
32627         [BZ #18512]
32628         * Makerules (check-install-supported): New target.
32629         (install): Add check-install-supported as a dependency.
32630         * manual/install.texi (Installing the C Library): Document
32631         that overriding prefix and exec_prefix is not supported.
32632         Mention DESTDIR.
32633         * INSTALL: Regenerate from the above.
32635 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32637         [BZ #18519]
32638         * posix/Versions (libc): Export __libc_pread at version
32639         GLIBC_PRIVATE.
32640         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
32641         instead of pread.
32642         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
32643         variable.
32645         [BZ #18522]
32646         * misc/efgcvt_r.c
32647         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
32648         (cvt_symbol): Use weak_alias instead of strong_alias.
32649         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
32650         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
32651         Remove variable.
32652         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32653         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32655         [BZ #18520]
32656         * inet/herrno.c (h_errno): Rename to __h_errno.
32657         (__libc_h_errno): Define as alias of __h_errno not h_errno.
32658         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
32659         to __h_errno instead of h_errno.
32660         * nptl/herrno.c (h_errno): Rename to __h_errno.
32661         (__h_errno_location): Refer to __h_errno not h_errno.
32662         * resolv/Versions (h_errno): Rename to __h_errno.
32663         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
32664         Remove variable.
32665         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32667 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
32669         * configure.ac: More strict check for AVX512 assembler support.
32670         * configure: Regenerated.
32672         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
32673         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
32674         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32675         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
32676         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32677         * sysdeps/x86_64/fpu/Versions: New versions added.
32678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32679         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32680         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32681         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
32682         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
32683         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
32684         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
32685         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
32686         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
32687         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
32688         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
32689         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
32690         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
32691         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
32692         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
32693         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
32694         test.
32695         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32696         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32697         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32698         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32699         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32700         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32701         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32702         * NEWS: Mention addition of x86_64 vector sin.
32704 2015-06-11  Florian Weimer  <fweimer@redhat.com>
32706         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
32707         comment.
32709 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32711         [BZ #18479]
32712         * nptl/pt-interp.c: New file.
32713         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
32714         Add pt-interp.
32715         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
32716         $(common-objpfx)runtime-linker.h.
32718 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
32720         * Makeconfig (+interp): Remove unused variable.
32721         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
32722         only.  Depend on $(common-objpfx)runtime-linker.h instead of
32723         $(elf-objpfx)runtime-linker.h.
32724         ($(elf-objpfx)runtime-linker.h): Rename to
32725         $(common-objpfx)runtime-linker.h and move ...
32726         * Makerules [$(build-shared) = yes]: ... here.
32727         * elf/interp.c: Include <runtime-linker.h> instead of
32728         <elf/runtime-linker.h>.
32730 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32732         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
32733         (__gettimeofday_syscall): Remove vsyscall fallback.
32734         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
32735         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
32736         Add syscall fallback function.
32737         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
32738         if vDSO is not present.
32739         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
32740         fallback function.
32741         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
32742         present.
32743         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
32744         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32746 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
32748         [BZ #18497]
32749         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
32750         of wcscmp.
32751         (wcscmp): Define as weak alias of WCSCMP.
32752         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
32753         wcscoll.
32754         (USE_HIDDEN_DEF): Define.
32755         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
32756         __wcscoll.  Don't use libc_hidden_weak.
32757         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
32758         wcscmp.
32759         * sysdeps/i386/i686/multiarch/wcscmp-c.c
32760         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
32761         __GI_wcscmp.
32762         (weak_alias): Undefine and redefine.
32763         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
32764         __wcscmp and define as weak alias of __wcscmp.
32765         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
32766         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
32767         (__wcscoll): Likewise.
32768         (wcscmp): Don't use libc_hidden_proto.
32769         (wcscoll): Likewise.
32770         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
32771         wcscoll.
32772         * posix/regexec.c (check_node_accept_bytes): Likewise.
32773         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
32774         variable.
32775         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32776         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32778         [BZ #18507]
32779         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32780         __fstatvfs and define as weak alias of __fstatvfs.  Use
32781         libc_hidden_weak.
32782         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32783         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32784         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32785         Define as alias of __fstatvfs, not fstatvfs.
32786         (fstatvfs64): Likewise.
32787         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32788         Define as alias of __statvfs, not statvfs.
32789         (statvfs64): Likewise.
32790         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32791         Remove variable.
32793 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32796         (HAVE_GETCPU_VSYSCALL): Define.
32797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32798         (HAVE_GETCPU_VSYSCALL): Likewise.
32799         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32800         * sysdeps/unix/sysv/linux/sched_getcpu.c
32801         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32802         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32803         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32804         prototype.
32805         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32806         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32807         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32808         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32809         Define.
32810         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32811         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32812         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32813         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32815 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32817         * sysdeps/x86_64/fpu/Makefile: New file.
32818         * sysdeps/x86_64/fpu/Versions: New file.
32819         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32820         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32821         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32822         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32823         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32824         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32825         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32826         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32827         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32828         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32830         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32831         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32832         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32833         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32834         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
32835         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
32836         * sysdeps/x86_64/configure.ac: Options for libmvec build.
32837         * sysdeps/x86_64/configure: Regenerated.
32838         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
32839         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
32840         * manual/install.texi (Configuring and compiling): Document
32841         --disable-mathvec.
32842         * INSTALL: Regenerated.
32843         * NEWS: Mention addition of libmvec and x86_64 vector cos.
32845         * math/Makefile: Added rules for vector tests.
32846         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
32847         declaration under condition.
32848         * math/test-double-vlen2.h: New file.
32849         * math/test-double-vlen4.h: New file.
32850         * math/test-double-vlen8.h: New file.
32851         * math/test-vec-loop.h: Added initialization macro.
32852         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
32853         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
32854         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
32855         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
32856         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
32857         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
32858         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
32859         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
32860         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
32861         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
32862         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
32864         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32865         * sysdeps/x86_64/fpu/Versions: New versions added.
32866         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
32867         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
32868         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
32869         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
32870         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
32871         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
32872         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
32873         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
32874         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
32875         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
32876         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
32877         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
32878         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
32879         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32880         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32881         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32882         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
32883         * NEWS: Mention addition of x86_64 vector cosf.
32885         * math/Makefile: Added CFLAGS for new tests.
32886         * math/test-float-vlen16.h: New file.
32887         * math/test-float-vlen4.h: New file.
32888         * math/test-float-vlen8.h: New file.
32889         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
32890         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
32891         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32892         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
32893         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
32894         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
32895         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
32896         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
32897         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
32898         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
32899         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
32901 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
32903         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
32904         * locale/programs/ld-ctype.c: Likewise.
32906 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
32908         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
32909         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
32910         bit_ZMM16_31_state): New macro.
32911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32912         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
32914 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
32916         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
32918 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
32920         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
32922 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
32924         [BZ #18498]
32925         * libio/memstream.c (open_memstream): Rename to __open_memstream
32926         and define as weak alias of __open_memstream.
32927         * include/stdio.h (__open_memstream): Declare.  Use
32928         libc_hidden_proto.
32929         (open_memstream): Don't use libc_hidden_proto.
32930         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
32931         open_memstream.
32932         * posix/getopt.c (_getopt_internal_r): Likewise.
32933         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
32934         variable.
32935         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32936         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32937         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32939         [BZ #18496]
32940         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
32941         instead of wcrtomb.
32943         [BZ #18483]
32944         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
32945         [__USE_XOPEN2K8].  Remove redundant #endif.
32946         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
32947         Remove redundant #if.
32948         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
32949         Remove variable.
32950         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32951         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32953         [BZ #18495]
32954         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
32955         (__iswlower): Likewise.
32956         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
32957         (__iswlower): Likewise.
32958         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
32959         instead of towlower.
32960         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
32961         instead of iswlower.  Call __towupper instead of towupper.
32962         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
32963         instead of iswalnum.
32965 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32967         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
32968         errors to stderr.
32970 2015-06-05  Florian Weimer  <fweimer@redhat.com>
32972         [BZ #15661]
32973         [BZ #17322]
32974         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32975         Check for overflow properly.  Check for O_APPEND.  Ignore large
32976         file system block sizes.  Add comments about problems.
32977         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
32978         * manual/filesys.texi (Storage Allocation): New node.
32980 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32982         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
32983         cancellable syscalls.
32984         (SYS_ify): Add guard to no redefine it.
32985         (INLINE_SYSCALL): Likewise.
32986         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
32987         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
32988         SYSCALL_CANCEL instead.
32989         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
32990         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32991         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32992         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32993         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32994         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
32995         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
32996         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
32997         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32998         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32999         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
33000         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
33001         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
33002         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
33003         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
33004         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33005         Likewise.
33006         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33007         (__libc_pread64): Likewise.
33008         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
33009         (__libc_preadv): Likewise.
33010         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
33011         (__libc_readv64): Likewise.
33012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33013         (__libc_pwrite): Likewise.
33014         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33015         (__libc_pwrite64): Likewise.
33016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
33017         (__libc_pwritev): Likewise.
33018         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
33019         (__libc_pwritev64): Likewise.
33020         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
33021         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
33022         (sync_file_range): Likewise.
33023         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
33024         Likewise.
33025         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
33026         Likewise.
33027         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33028         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33029         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33030         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33031         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33032         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33033         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33034         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
33035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33036         Likewise.
33037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33038         (__libc_read64): Likewise.
33039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
33040         Likewise.
33041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
33042         Likewise.
33043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
33044         Likewise.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
33046         Likewise.
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33048         (__libc_pread64): Likewise.
33049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
33050         Likewise.
33051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33052         (__libc_pwrite64): Likewise.
33053         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
33054         (sync_file_range): Likewise.
33055         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
33056         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33057         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33058         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
33059         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
33060         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33061         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33062         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
33063         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
33064         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33065         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33066         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33067         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33068         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33069         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
33070         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33071         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33072         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33073         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33074         Likewise.
33075         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
33076         Likewise.
33077         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
33078         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
33079         Likewise.
33080         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
33081         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
33082         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
33083         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
33084         Likewise.
33085         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
33086         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
33087         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
33088         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
33089         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
33091 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
33093         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
33094         Include dl-vdso.
33095         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
33096         Use VDSO routines for gettimeofday, clock_gettime if
33097         available.
33098         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
33099         Declare VDSO symbols.
33100         * sysdeps/unix/sysv/linux/arm/sysdep.h:
33101         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
33102         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33103         * sysdeps/unix/sysv/linux/arm/Versions: Add
33104         __vdso_clock_gettime.
33106 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33108         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
33109         be an inline implementation regardless of library is built within.
33110         (open_not_cancel_2): Likewise.
33111         (__read_nocancel): Likewise.
33112         (__write_nocancel): Likewise.
33113         (openat_not_cancel): Likewise.
33114         (openat_not_cancel_3): Likewise.
33115         (openat64_not_cancel): Likewise.
33116         (openat64_not_cancel_3): Likewise.
33117         (__close_nocancel): Likewise.
33118         (pause_not_cancel): Likewise.
33119         (nanosleep_not_cancel): Likewise.
33120         (sigsuspend_not_cancel): Likewise.
33122 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33124         [BZ #14958]
33125         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
33126         wake-up.
33127         (__pthread_rwlock_rdlock_slow): Likewise.
33128         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33129         Likewise.
33130         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33131         Likewise.
33132         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
33133         * nptl/tst-rwlock16.c: New file.
33134         * nptl/Makefile (tests): Add new test.
33136 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33138         [BZ #18324]
33139         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
33140         missing wake-up of readers.
33141         * nptl/tst-rwlock15.c: New file.
33142         * nptl/Makefile (tests): Add new test.
33144 2015-06-03  Roland McGrath  <roland@hack.frob.com>
33146         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
33147         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
33148         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
33149         and __nacl_supply_interface_rtld.
33150         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
33151         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33152         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33153         Add __nacl_supply_interface_rtld.
33154         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33156 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33158         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33159         isfinite.
33160         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33161         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33163 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33165         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33166         __signbit* with standard C99 macros.
33167         * math/e_exp10l.c: Likewise.
33168         * math/e_exp2l.c: Likewise.
33169         * math/e_scalb.c: Likewise.
33170         * math/e_scalbf.c: Likewise.
33171         * math/e_scalbl.c: Likewise.
33172         * math/s_ldexp.c: Likewise.
33173         * math/s_ldexpf.c: Likewise.
33174         * math/s_ldexpl.c: Likewise.
33175         * math/w_atan2.c: Likewise.
33176         * math/w_atan2f.c: Likewise.
33177         * math/w_atan2l.c: Likewise.
33178         * math/w_cosh.c: Likewise.
33179         * math/w_coshf.c: Likewise.
33180         * math/w_coshl.c: Likewise.
33181         * math/w_exp10.c: Likewise.
33182         * math/w_exp10f.c: Likewise.
33183         * math/w_exp10l.c: Likewise.
33184         * math/w_exp2.c: Likewise.
33185         * math/w_exp2f.c: Likewise.
33186         * math/w_exp2l.c: Likewise.
33187         * math/w_fmod.c: Likewise.
33188         * math/w_fmodf.c: Likewise.
33189         * math/w_fmodl.c: Likewise.
33190         * math/w_hypot.c: Likewise.
33191         * math/w_hypotf.c: Likewise.
33192         * math/w_hypotl.c: Likewise.
33193         * math/w_jnl.c: Likewise.
33194         * math/w_lgamma.c: Likewise.
33195         * math/w_lgamma_r.c: Likewise.
33196         * math/w_lgammaf.c: Likewise.
33197         * math/w_lgammaf_r.c: Likewise.
33198         * math/w_lgammal.c: Likewise.
33199         * math/w_lgammal_r.c: Likewise.
33200         * math/w_pow.c: Likewise.
33201         * math/w_powf.c: Likewise.
33202         * math/w_powl.c: Likewise.
33203         * math/w_remainder.c: Likewise.
33204         * math/w_remainderf.c: Likewise.
33205         * math/w_remainderl.c: Likewise.
33206         * math/w_scalb.c: Likewise.
33207         * math/w_scalbf.c: Likewise.
33208         * math/w_scalbl.c: Likewise.
33209         * math/w_scalbln.c: Likewise.
33210         * math/w_scalblnf.c: Likewise.
33211         * math/w_scalblnl.c: Likewise.
33212         * math/w_sinh.c: Likewise.
33213         * math/w_sinhf.c: Likewise.
33214         * math/w_sinhl.c: Likewise.
33215         * math/w_tgamma.c: Likewise.
33216         * math/w_tgammaf.c: Likewise.
33217         * math/w_tgammal.c: Likewise.
33218         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33219         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33220         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33221         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33222         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33223         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33224         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33225         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33226         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33227         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33228         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33229         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33230         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33231         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33232         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33233         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33234         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33235         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33236         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33237         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33238         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33239         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33240         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33241         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33242         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33243         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33244         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33245         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33246         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33247         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33248         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33249         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33250         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33251         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33252         * stdio-common/printf_fp.c: Likewise.
33253         * stdio-common/printf_fphex.c: Likewise.
33254         * stdio-common/printf_size.c: Likewise.
33256 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33258         [BZ #18470]
33259         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33260         strnlen.
33261         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33262         Remove variable.
33263         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33264         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33265         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33266         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33267         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33268         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33269         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33270         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33271         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33272         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33274         [BZ #18468]
33275         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33276         weak alias of __wmemchr.  Use libc_hidden_weak.
33277         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33278         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33279         instead of wmemchr.
33281 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33283         [BZ #18383]
33284         * elf/tst-tlsalign-extern.c: New file.
33285         * elf/tst-tlsalign-extern-static.c: New file.
33286         * elf/tst-tlsalign-vars.c: New file.
33287         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33288         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33289         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33290         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33291         (test-xfail-tst-tlsalign-extern-static): New variable.
33293 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33295         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33296         Use variable name _sc_err instead of err.
33297         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33298         instead of ret.
33299         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33300         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33301         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33302         (INLINE_SYSCALL): Likewise.
33304         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33305         * include/string.h (__strnlen): Use libc_hidden_proto.
33306         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33307         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33308         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33309         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33310         (libc_hidden_def): Undefine and redefine.
33311         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33312         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33313         __GI_strnlen.
33314         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33315         libc_hidden_def.
33316         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33318         [BZ #18469]
33319         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33320         weak alias of __towlower.  Use libc_hidden_weak.
33321         (towupper): Rename to __towupper and define as weak alias of
33322         __towupper.  Use libc_hidden_weak.
33323         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33324         (__towupper): Likewise.
33325         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33326         __towlower instead of towlower.
33328 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33330         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33331         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33333 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33335         * sysdeps/aarch64/libm-test-ulps: Update.
33337 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33339         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33340         Define.
33341         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33343         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33344         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33345         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33346         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33347         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33349 2015-06-01  Martin Sebor  <msebor@redhat.com>
33351         [BZ #18116]
33352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33353         (__setcontext): Use extended four-operand version of mtsf whenever
33354         possible.
33355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33356         (__novec_swapcontext): Likewise.
33358 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33360         * benchtests/scripts/compare_bench.py: New file.
33361         * benchtests/scripts/import_bench.py (mean): New function.
33362         (split_list): Likewise.
33363         (do_for_all_timings): Likewise.
33364         (compress_timings): Likewise.
33366         * benchtests/scripts/import_bench.py: New file.
33367         * benchtests/scripts/validate_benchout.py: Import import_bench
33368         instead of jsonschema.
33369         (validate_bench): Remove function.
33370         (main): Use import_bench.
33372 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
33374         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33375         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33377 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33381 2015-05-28  Roland McGrath  <roland@hack.frob.com>
33383         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33384         set THREAD_SELF->tid to a magic value and futex-wake it.
33385         Pass its address to the thread_exit system call.
33386         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33387         bit is clear.
33388         * sysdeps/nacl/lowlevellock.h: New file.
33389         * sysdeps/nacl/lll_timedwait_tid.c: New file.
33391         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33392         Add TIMEOUT to current time, don't subtract it.
33394 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
33396         [BZ #2981]
33397         [BZ #18422]
33398         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33399         ($(objpfx)tst-audit2.out): Also depend on
33400         $(objpfx)tst-auditmod9b.so.
33401         * elf/tst-audit2.c: Include <dlfcn.h>.
33402         (calloc_called): New.
33403         (calloc): Allow to be called more than once.
33404         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33406 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
33408         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33409         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33411 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
33413         * stdlib/monetary.h: Fix comment.
33415 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
33417         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33418         Avoid using variables in #defines that might cause shadowing.
33419         (INTERNAL_VSYSCALL_CALL): Likewise.
33421 2015-05-26  Roland McGrath  <roland@hack.frob.com>
33423         * sysdeps/nacl/lll_timedlock_wait.c: New file.
33425         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33426         * nptl/lll_timedlock_wait.c: ... to this new file.
33427         * nptl/Makefile (libpthread-routines): Add it.
33428         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33429         * nptl/lll_timedwait_tid.c: ... to this new file.
33430         * nptl/Makefile (libpthread-routines): Add it.
33431         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33432         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33433         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33434         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33435         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33436         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33437         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33438         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33439         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33440         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33442 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33444         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
33445         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33446         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33447         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
33448         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
33449         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33450         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33451         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33452         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33453         * sysdeps/unix/sysv/linux/tile/sysdep.h
33454         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33455         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
33456         using vDSO syscall macro.
33458 2015-05-26  Andriy Rysin  <arysin@gmail.com>
33460         [BZ #17293]
33461         * uk_UA: Fix sorting order for Ukrainian locale
33463 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
33465         * stdlib/monetary.h: Fix comment.
33467 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33469         [BZ #18234]
33470         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
33471         st_mtim and st_ctim members.
33472         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
33473         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
33474         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
33475         (struct stat64): Likewise.
33476         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
33477         (struct stat64): Likewise.
33478         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
33479         (struct stat64): Likewise.
33481 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33483         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
33484         Define and include sysdep-vdso.h.
33485         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
33486         Likewise.
33487         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
33488         Likewise.
33489         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
33490         Define with VDSO_SYMBOL and use PTR_MANGLE.
33491         (__vdso_clock_gettime): Likewise.
33492         (__vdso_clock_getres): Likewise.
33493         (_libc_vdso_platform_setup): Likewise.
33494         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33495         Likewise.
33496         (_libc_vdso_platform_setup): Likewise.
33497         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
33498         Likewise.
33499         (__vdso_clock_gettime): Likewise.
33500         (__vdso_clock_getres): Likewise.
33501         (__vdso_get_tbfreq): Likewise.
33502         (__vdso_getcpu): Likewise.
33503         (__vdso_time): Likewise.
33504         (__vdso_sigtramp_rt64): Likewise.
33505         (__vdso_signtramp32): Likewise.
33506         (__vdso_sigtramp_rt32): Likewise.
33507         (_libc_vdso_platform_setup): Likewise.
33508         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
33509         Likewise.
33510         (__vdso_clock_gettime): Likewise.
33511         (__vdso_clock_getres): Likewise.
33512         (_libc_vdso_platform_setup): Likewise.
33513         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
33514         Likewise.
33515         (__vdso_clock_gettime): Likewise.
33516         (_libc_vdso_platform_setup): Likewise.
33517         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33518         Likewise.
33519         (__vdso_getcpu): Likewise.
33520         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
33521         Use VDSO_SYMBOL macro to define.
33522         (__vdso_clock_gettime): Likewise.
33523         (__vdso_clock_getres): Likewise.
33524         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
33525         Likewise.
33526         (__vdso_clock_gettime): Likewise.
33527         (__vdso_clock_getres): Likewise.
33528         (__vdso_get_tbfreq): Likewise.
33529         (__vdso_getcpu): Likewise.
33530         (__vdso_time): Likewise.
33531         (__vdso_sigtramp_rt64): Likewise.
33532         (__vdso_signtramp32): Likewise.
33533         (__vdso_sigtramp_rt32): Likewise.
33534         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
33535         Likewise.
33536         (__vdso_clock_gettime): Likewise.
33537         (__vdso_clock_getres): Likewise.
33538         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
33539         Likewise.
33540         (__vdso_clock_gettime): Likewise.
33541         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33542         Likewise.
33543         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
33544         macro.
33545         (INTERNAL_VSYSCALL): Likewise.
33546         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
33547         Remove macro.
33548         (INTERNAL_VSYSCALL): Likewise.
33549         (INTERNAL_VSYSCALL_NCS): Likewise.
33550         (INTERNAL_VSYSCALL_CALL): New macro.
33551         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33552         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
33553         Likewise.
33554         (INTERNAL_VSYSCALL): Likewise.
33555         (INTERNAL_VSYSCALL_NCS): Likewise.
33556         (INTERNAL_VSYSCALL_CALL): New macro.
33557         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33559         (INLINE_VSYSCALL): Remove macro.
33560         (INTERNAL_VSYSCALL): Remove macro.
33561         (INTERNAL_VSYSCALL_NCS): Remove macro.
33562         (INTERNAL_VSYSCALL_CALL): New macro.
33563         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
33564         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
33565         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33566         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
33567         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33569         (INLINE_VSYSCALL): Remove macro.
33570         (INTERNAL_VSYSCALL): Likewise.
33571         (INTERNAL_VSYSCALL_NCS): Likewise.
33572         (INTERNAL_VSYSCALL_CALL): New macro.
33573         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
33574         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
33575         PTR_DEMANGLE on vDSO pointer.
33576         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33577         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
33578         macro.
33579         (INTERNAL_SYSCALL): Likewise.
33580         (INTERNAL_VSYSCALL_NCS): Remove macro.
33581         (INTERNAL_VSYSCALL_CALL): New macro.
33582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
33583         Remove macro.
33584         (INTERNAL_VSYSCALL): Likewise.
33585         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
33586         sysdep-vdso.h instead of libc-vdso.h.
33587         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
33588         definition.
33589         (INLINE_VSYSCALL): Likewise.
33590         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
33591         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
33592         definition.
33593         (INLINE_VSYSCALL): Likewise.
33594         (INTERNAL_VSYSCALL): Likewise.
33595         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33596         * sysdeps/unix/sysv/linux/timespec_get.c
33597         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33598         (timespec_get): Use ANSI prototype.
33599         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
33600         and definition for Linux.
33602 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33604         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
33605         * include/libc-symbols.h: libmvec_hidden_* macro series added.
33607 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33609         [BZ #2981]
33610         [BZ #18410]
33611         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
33612         for missing DT_PLTRELSZ.
33614 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33616         Remove obsolete aliases that broke 'locale -a'
33617         [BZ #18412]
33618         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
33619         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
33620         breaking some applications that use 'locale -a' output.
33621         Change the encoding of this file from Latin-1 to ASCII to avoid
33622         other potential problems with people grepping this file.
33624 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33626         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
33627         -fasynchronous-unwind-tables.
33628         (CFLAGS-sendto.c): Likewise.
33629         (CFLAGS-sendmsg.c): Likewise.
33630         (CFLAGS-connect.c): Likewise.
33631         (CFLAGS-recvmsg.c): Likewise.
33632         (CFLAGS-recvfrom.c): Likewise.
33633         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
33634         (SOCKETCALL): New macro: non-cancellable socketcall.
33635         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
33636         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
33637         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
33638         * sysdeps/unix/sysv/linux/accept.c: New file.
33639         * sysdeps/unix/sysv/linux/bind.c: Likewise.
33640         * sysdeps/unix/sysv/linux/connect.c: Likewise.
33641         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
33642         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
33643         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
33644         * sysdeps/unix/sysv/linux/listen.c: Likewise.
33645         * sysdeps/unix/sysv/linux/recv.c: Likewise.
33646         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
33647         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
33648         * sysdeps/unix/sysv/linux/send.c: Likewise.
33649         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
33650         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
33651         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
33652         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
33653         * sysdeps/unix/sysv/linux/socket.c: Likewise.
33654         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
33655         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
33656         prototype.
33657         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
33658         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33659         instead of __internal_xxx function.
33660         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
33661         prototype.
33662         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
33663         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33664         instead of __internal_xxx function.
33665         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
33666         prototype.
33667         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
33668         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33669         instead of __internal_xxx function.
33670         * sysdeps/unix/sysv/linux/accept.S: Remove file.
33671         * sysdeps/unix/sysv/linux/bind.S: Likewise.
33672         * sysdeps/unix/sysv/linux/connect.S: Likewise.
33673         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
33674         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
33675         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
33676         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
33677         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
33678         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
33679         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
33680         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
33681         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33682         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
33683         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
33684         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
33685         * sysdeps/unix/sysv/linux/listen.S: Likewise.
33686         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
33687         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
33688         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
33689         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
33690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
33691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
33692         * sysdeps/unix/sysv/linux/recv.S: Likewise.
33693         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
33694         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
33695         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
33696         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33697         * sysdeps/unix/sysv/linux/send.S: Likewise.
33698         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
33699         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
33700         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
33701         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
33702         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
33703         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
33704         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
33705         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
33706         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
33707         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
33708         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
33709         socketcall is implemented in GLIBC.
33711 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33713         * soft-fp/fmadf4.c: Include <libc-internal.h>.
33714         (__fma): Ignore uninitialized warnings around packing.
33715         * soft-fp/fmasf4.c: Include <libc-internal.h>.
33716         (__fmaf): Ignore uninitialized warnings around packing.
33717         * soft-fp/fmatf4.c: Include <libc-internal.h>.
33718         (__fmal): Ignore uninitialized warnings around packing.
33720         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
33721         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33722         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
33723         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33725         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
33726         switch statement into default case.
33727         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
33729         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
33730         a conditional in forcing "inexact".
33731         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33732         Likewise.
33734 2015-05-22  Roland McGrath  <roland@hack.frob.com>
33736         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33737         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
33738         for each INTERNAL_SYSCALL use.
33740 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33742         [BZ #438]
33743         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
33744         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
33745         variable.
33747         [BZ #18444]
33748         * string/basename.c (basename): Rename to __basename and define as
33749         weak alias of __basename.  Use libc_hidden_weak.
33750         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
33751         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
33752         __basename instead of basename.
33753         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
33754         Remove variable.
33755         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33757 2015-05-18  Florian Weimer  <fweimer@redhat.com>
33759         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
33760         (_IO_JUMPS_FILE_plus): New.
33761         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
33762         _IO_CAST_FIELD_ACCESS.
33763         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
33764         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
33765         * libio/freopen.c (freopen): Likewise.
33766         * libio/freopen64.c (freopen64): Likewise.
33767         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
33768         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
33769         * libio/iofwide.c (_IO_fwide): Likewise.
33770         * libio/memstream.c (open_memstream): Likewise.
33771         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33772         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
33773         * libio/oldiopopen.c (_IO_old_popen): Likewise.
33775 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
33777         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33778         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33779         NADJ.
33780         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33781         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33782         NADJ.
33783         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33784         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33785         NADJ.
33787         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33788         (p == 4) case.
33790         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33791         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33792         Remove variable.
33793         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33794         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33795         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33797 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33799         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33800         Adjust jump table label generation macros.
33802 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33804         * stdio-common/vfprintf.c (vfprintf): Move local variables
33805         args_malloced, specs, specs_malloced, and the code after
33806         do_positional to the printf_positional function.
33807         (printf_positional): New function.
33809 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33811         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33812         function.
33813         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33814         STEP4_TABLE, process_arg): Move macro definitions
33815         out of the vfprintf function.  (Cosmetic change only.)
33817 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33819         * benchtests/Makefile (stdio-common-bench): Define.
33820         (benchset): Add stdio-common-bench.
33821         * sprintf-inputs: New file.
33822         * sprintf-source.c: New file.
33824 2015-05-21  Andreas Schwab  <schwab@suse.de>
33826         [BZ #13028]
33827         [BZ #17053]
33828         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33829         of struct __res_state.
33830         * resolv/res_send.c (__libc_res_nsend): Likewise.
33831         (get_nsaddr): New function.
33832         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33833         statp directly.
33835 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
33837         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
33838         -D_POSIX_C_SOURCE=199506L.
33840         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
33842         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
33843         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
33844         Do not mention otherwise.
33845         [POSIX] (_XOPEN_VERSION): Do not expect.
33846         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
33847         [POSIX] (_POSIX2_C_BIND): Likewise.
33848         [POSIX] (_POSIX2_VERSION): Likewise.
33849         [POSIX] (_XOPEN_XPG2): Likewise.
33850         [POSIX] (_XOPEN_XPG3): Likewise.
33851         [POSIX] (_XOPEN_XPG4): Likewise.
33852         [POSIX] (_XOPEN_UNIX): Likewise.
33853         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
33854         [POSIX] (_POSIX_BARRIERS): Likewise.
33855         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33856         [POSIX] (_POSIX_CPUTIME): Likewise.
33857         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
33858         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
33859         [POSIX] (_POSIX_SHELL): Likewise.
33860         [POSIX] (_POSIX_SPAWN): Likewise.
33861         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
33862         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
33863         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
33864         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
33865         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
33866         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33867         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
33868         [POSIX] (_XBS5_LP64_OFF64): Likewise.
33869         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
33870         [POSIX] (_POSIX_TIMEOUTS): Likewise.
33871         [POSIX] (_POSIX2_PBS): Likewise.
33872         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
33873         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
33874         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
33875         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
33876         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
33877         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
33878         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
33879         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
33880         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
33881         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
33882         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
33883         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
33884         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
33885         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
33886         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
33887         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
33888         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
33889         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
33890         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
33891         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
33892         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
33893         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
33894         [POSIX] (_SC_2_C_BIND): Likewise.
33895         [POSIX] (_SC_2_C_VERSION): Likewise.
33896         [POSIX] (_SC_2_PBS): Likewise.
33897         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
33898         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
33899         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
33900         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
33901         [POSIX] (_SC_2_PBS_TRACK): Likewise.
33902         [POSIX] (_SC_ATEXIT_MAX): Likewise.
33903         [POSIX] (_SC_BARRIERS): Likewise.
33904         [POSIX] (_SC_BASE): Likewise.
33905         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
33906         [POSIX] (_SC_DEVICE_IO): Likewise.
33907         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
33908         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
33909         [POSIX] (_SC_FD_MGMT): Likewise.
33910         [POSIX] (_SC_FIFO): Likewise.
33911         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
33912         [POSIX] (_SC_FILE_LOCKING): Likewise.
33913         [POSIX] (_SC_FILE_SYSTEM): Likewise.
33914         [POSIX] (_SC_IOV_MAX): Likewise.
33915         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
33916         [POSIX] (_SC_NETWORKING): Likewise.
33917         [POSIX] (_SC_PAGE_SIZE): Likewise.
33918         [POSIX] (_SC_PASS_MAX): Likewise.
33919         [POSIX] (_SC_PIPE): Likewise.
33920         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
33921         [POSIX] (_SC_REGEXP): Likewise.
33922         [POSIX] (_SC_SHELL): Likewise.
33923         [POSIX] (_SC_SIGNALS): Likewise.
33924         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
33925         [POSIX] (_SC_SPIN_LOCKS): Likewise.
33926         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
33927         [POSIX] (_SC_USER_GROUPS): Likewise.
33928         [POSIX] (_SC_USER_GROUPS_R): Likewise.
33929         [POSIX] (_SC_STREAMS): Likewise.
33930         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
33931         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
33932         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
33933         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
33934         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
33935         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
33936         [POSIX] (_PC_FILESIZEBITS): Likewise.
33937         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
33938         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
33939         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
33940         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
33941         [POSIX] (uid_t): Likewise.
33942         [POSIX] (gid_t): Likewise.
33943         [POSIX] (off_t): Likewise.
33944         [POSIX] (pid_t): Likewise.
33945         [POSIX] (cuserid): Allow.
33946         (_SC_2_CHAR_TERM): Require constant.
33947         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
33948         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
33949         variable.
33951 2015-05-20  Roland McGrath  <roland@hack.frob.com>
33953         * sysdeps/nacl/pthread-pids.h: New file.
33954         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
33955         (create_thread): Use __nacl_get_tid to initialize PD->tid.
33957         * nptl/pthread-pids.h: New file.
33958         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
33959         * nptl/nptl-init.c: Include <pthread-pids.h>.
33960         (__pthread_initialize_minimal_internal):
33961         Call __pthread_initialize_pids instead of set_tid_address syscall.
33963         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
33964         * sysdeps/posix/usleep.c: ... here.
33966 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33968         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
33969         call_pselect6 object.
33970         [$(subdir) = io]: Remove call_sync_file_range object.
33971         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
33972         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
33973         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
33974         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
33976 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
33978         * math/s_cproj.c: Add include "math_private.h".
33979         * math/s_cprojf.c: Likewise.
33980         * math/s_cprojl.c: Likewise.
33982 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
33984         [BZ #18244]
33985         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
33986         high mantissa bit when testing whether P is a NaN.
33987         * math/libm-test.inc (remainder_test_data): Add more tests.
33988         (remquo_test_data): Likewise.
33990         [BZ #18049]
33991         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
33992         below -32, return the argument, with underflow if subnormal.
33993         * math/auto-libm-test-in: Add more tests of atanh.
33994         * math/auto-libm-test-out: Regenerated.
33996 2015-05-19  Roland McGrath  <roland@hack.frob.com>
33998         [BZ #18434]
33999         * nptl/tst-sem15.c: New file.
34000         * nptl/Makefile (tests): Add it.
34001         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
34002         s/<</>>/ to fix typo in EOVERFLOW check.
34003         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
34005 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34007         * manual/strings.texi (envz_remove): Fix typo in safety
34008         annotations.
34010 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
34011             Steve Ellcey  <sellcey@imgtec.com>
34013         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
34014         in order to avoid strict alias warnings.
34015         (iruserok_af): Ditto for ra.
34017 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
34019         [BZ #17581]
34020         * malloc/hooks.c
34021         (magicbyte): Convert to a function and avoid returning 0x01.
34022         (mem2mem_check): Avoid using a length byte equal to the magic byte.
34023         (mem2chunk_check): Fix unsigned comparisons to zero.
34024         Hoist defs of sz and magic.
34026 2015-05-19  Richard Henderson  <rth@redhat.com>
34028         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
34030         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34032 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34034         [BZ #16159]
34035         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
34036         * malloc/arena.c (arena_lock): Check if arena is corrupt.
34037         (reused_arena): Find a non-corrupt arena.
34038         (heap_trim): Pass arena to unlink.
34039         * malloc/hooks.c (malloc_check_get_size): Pass arena to
34040         malloc_printerr.
34041         (top_check): Likewise.
34042         (free_check): Likewise.
34043         (realloc_check): Likewise.
34044         * malloc/malloc.c (malloc_printerr): Add arena argument.
34045         (unlink): Likewise.
34046         (munmap_chunk): Adjust.
34047         (ARENA_CORRUPTION_BIT): New macro.
34048         (arena_is_corrupt): Likewise.
34049         (set_arena_corrupt): Likewise.
34050         (sysmalloc): Use mmap if there are no usable arenas.
34051         (_int_malloc): Likewise.
34052         (__libc_malloc): Don't fail if arena_get returns NULL.
34053         (_mid_memalign): Likewise.
34054         (__libc_calloc): Likewise.
34055         (__libc_realloc): Adjust for additional argument to
34056         malloc_printerr.
34057         (_int_free): Likewise.
34058         (malloc_consolidate): Likewise.
34059         (_int_realloc): Likewise.
34060         (_int_memalign): Don't touch corrupt arenas.
34061         * malloc/tst-malloc-backtrace.c: New test case.
34063         * Makefile (summarize-tests): Fix return value on success.
34065         * manual/string.texi (Envz Functions): Add envz_remove.
34067 2015-05-18  Roland McGrath  <roland@hack.frob.com>
34069         * sysdeps/posix/opendir.c: Include <stdbool.h>.
34070         (invalid_name): New function, broken out of ...
34071         (__opendirat): ... here.  Call it.
34072         (need_isdir_precheck): New function, broken out of ...
34073         (__opendirat): ... here.  Call it.
34074         Use __fxstatat64, not __xstatat64.
34075         (opendir_oflags): New function, broken out of ...
34076         (__opendirat): ... here.  Call it.
34077         (opendir_tail): New function, broken out of ...
34078         (__opendirat): ... here.  Call it.
34079         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
34080         opendir_tail, rather than punting to __opendirat.
34081         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
34083 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34085         * .gitignore: Ignore generated *.pyc.
34087 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
34089         * include/stdio.h: Define __need_wint_t.
34090         * test-skeleton.c: Avoid `for' loop initial declaration.
34091         * nptl/tst-initializers1.c: Use test-skeleton.c.
34093 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34095         [BZ #18418]
34096         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
34098 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34100         [BZ #16352]
34101         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
34102         (__ieee754_atanh): Force underflow exception for results with
34103         small absolute value.
34104         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
34105         (__ieee754_atanhf): Force underflow exception for results with
34106         small absolute value.
34107         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
34108         (__ieee754_atanh): Force underflow exception for results with
34109         small absolute value.
34110         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
34111         (__ieee754_atanhf): Force underflow exception for results with
34112         small absolute value.
34113         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
34114         (__ieee754_atanhl): Force underflow exception for results with
34115         small absolute value.
34116         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
34117         (__ieee754_atanhl): Force underflow exception for results with
34118         small absolute value.
34119         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
34120         (__ieee754_atanhl): Force underflow exception for results with
34121         small absolute value.
34122         * math/auto-libm-test-in: Do not allow missing underflow
34123         exceptions from atanh.
34124         * math/auto-libm-test-out: Regenerated.
34126         [BZ #18221]
34127         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
34128         2**-28 as threshold for returning x or +/- 1/x.
34129         * math/auto-libm-test-in: Add more tests of tan.
34130         * math/auto-libm-test-out: Regenerated.
34132         [BZ #18220]
34133         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34134         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
34135         * math/auto-libm-test-in: Add another test of lgamma.
34136         * math/auto-libm-test-out: Regenerated.
34138 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
34140         * stdio-common/printf_fp.c (___printf_fp): Use abs.
34141         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
34142         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
34143         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
34144         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
34145         (ADD2A): Use fabs.  (SUB2A): Use fabs.
34146         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
34147         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
34148         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
34149         (log1): Use fabs.  (my_log2): Use fabs.
34150         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
34151         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34153         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34154         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34155         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
34156         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
34157         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
34158         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
34159         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34160         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34162 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34164         [BZ #18217]
34165         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34166         as threshold for returning 1 - x.
34167         * math/auto-libm-test-in: Add more tests of erfc.
34168         * math/auto-libm-test-out: Regenerated.
34170 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
34172         [BZ #18196]
34173         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34174         threshold for large arguments.
34175         * math/auto-libm-test-in: Add another test of atan.
34176         * math/auto-libm-test-out: Regenerated.
34178         [BZ #16339]
34179         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34180         (__log1p): Force underflow exception for results with small
34181         absolute value.
34182         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34183         (__log1pf): Force underflow exception for results with small
34184         absolute value.
34185         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34186         (__log1p): Force underflow exception for results with small
34187         absolute value.
34188         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34189         (__log1pf): Force underflow exception for results with small
34190         absolute value.
34191         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34192         (__log1pl): Force underflow exception for results with small
34193         absolute value.
34194         * math/auto-libm-test-in: Do not allow missing underflow
34195         exceptions from log1p.
34196         * math/auto-libm-test-out: Regenerated.
34198 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
34199             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34201         [BZ #16704]
34202         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34204 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
34206         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34207         (libmvec): New variable.
34208         * configure.ac: Added option for mathvec build.
34209         * configure: Regenerated.
34210         * mathvec/Depend: New file.
34211         * mathvec/Makefile: New file.
34212         * shlib-versions: Added libmvec.
34213         * math/Makefile: Added rule for libm.so installation.
34215         * bits/math-vector.h: New file.
34216         * bits/libm-simd-decl-stubs.h: New header.
34217         * math/Makefile (headers): Added new header
34218         libm-simd-decl-stubs.h.
34219         * math/math.h (__MATHCALL_VEC): New macro.
34221         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34222         for conditions in testing functions.
34223         * math/Makefile: Added call of libm-have-vector-test.sh.
34224         * math/libm-test.inc (HAVE_VECTOR): New macros.
34226         * math/libm-test.inc: START refactored.
34227         * math/test-double.c (TEST_MATHVEC): Add define.
34228         * math/test-float.c: Likewise.
34229         * math/test-idouble.c: Likewise.
34230         * math/test-ifloat.c: Likewise.
34231         * math/test-ildoubl.c: Likewise.
34232         * math/test-ldouble.c: Likewise.
34233         * sysdeps/generic/math-tests-arch.h
34234         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34235         architecture check.
34237         * math/test-double.c (FUNC_TEST): New macro.
34238         * math/test-float.c: Likewise.
34239         * math/test-idouble.c: Likewise.
34240         * math/test-ifloat.c: Likewise.
34241         * math/test-ildoubl.c: Likewise.
34242         * math/test-ldouble.c: Likewise.
34243         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34245 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34247         * sysdeps/nacl/fdopendir.c: New file.
34249         * dirent/scandir-tail.c: New file.
34250         * dirent/scandir64-tail.c: New file.
34251         * dirent/Makefile (routines): Add them.
34252         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34253         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34254         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34255         [!SCANDIR] (SCANDIR_TAIL): New macro.
34256         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34257         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34258         (SCANDIRAT): Macro removed.
34259         (SCANDIR_TAIL): New macro.
34260         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34261         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34262         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34263         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34264         (READDIR): Macro removed.
34265         (SCANDIR_TAIL): New macro.
34266         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34267         (SCANDIR_TAIL): New macro.
34269         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34270         * dirent/scandir-cancel.c: ... to this new file.
34271         * dirent/Makefile (routines): Add it.
34272         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34273         * sysdeps/unix/sysv/linux/i386/scandir64.c
34274         (SKIP_SCANDIR_CANCEL): Macro removed.
34275         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34277         * dirent/tst-scandir.c: New file.
34278         * dirent/tst-scandir64.c: New file.
34279         * dirent/Makefile (tests): Add them.
34281 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34283         [BZ #18409]
34284         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34286 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34288         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34289         list.
34291 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34293         * benchtests/bench-strcoll.c: New benchmark.
34294         * benchtests/Makefile: Generate locales and run benchmark.
34295         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34296         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34297         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34298         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34299         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34300         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34301         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34302         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34303         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34304         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34305         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34306         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34307         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34308         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34309         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34310         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34311         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34312         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34313         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34314         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34315         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34316         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34317         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34318         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34320 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34322         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34323         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34325 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34327         * posix/uname-values.h: New file.
34328         * posix/uname.c: Include that instead of <config-name.h>.
34329         * sysdeps/nacl/uname-values.h: New file.
34330         * sysdeps/arm/nacl/uname-values.h: New file.
34332 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34334         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34335         splitting into fields.
34337 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34339         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34340         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34341         * locale/localeinfo.h: Add enum collation_encoding_type.
34342         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34343         * programs/ld-collate.c (collate_output): Add encoding type info.
34344         * string/strcoll_l.c (STRDIFF): New function.
34345         * (STRCOLL): Use STRDIFF to skip over equal prefix.
34346         * wcsmbs/wcscoll_l.c: Define STRDIFF.
34348 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
34350         [BZ #18397]
34351         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34352         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
34353         <fpu_control.h> instead of <math/fpu_control.c>.
34354         * sysdeps/mips/mips32/fpu/Makefile: New file.
34356 2015-05-11  Andreas Schwab  <schwab@suse.de>
34358         [BZ #18007]
34359         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34360         nss_endgrent.
34361         (_nss_compat_endgrent): Call nss_endgrent.
34362         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34363         nss_endpwent.
34364         (_nss_compat_endpwent): Call nss_endpwent.
34365         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34366         needent, call nss_setspent only if non-zero.
34367         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34368         (internal_endspent): Don't call nss_endspent.
34369         (_nss_compat_endspent): Call nss_endspent.
34370         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34371         Remove.  All uses removed.
34372         (internal_setent): Remove parameter stayopen, add parameter
34373         stream.  Use it instead of global variable.
34374         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34375         (internal_endent, internal_getent): Add parameter stream.  Use it
34376         instead of global variable.
34377         (CONCAT(_nss_files_end,ENTNAME))
34378         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34379         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
34380         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
34381         uses removed.
34382         (internal_setent, internal_endent): Add parameter stream.  Use it
34383         instead of global variable.
34384         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34385         stream.
34386         (get_next_alias): Add parameter stream.
34387         (_nss_files_getaliasent_r): Pass global stream.
34388         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34389         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34390         (_nss_files_gethostbyname4_r): Pass local stream to
34391         internal_setent, internal_getent and internal_endent.  Remove
34392         locking.
34394 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34396         * tst-strfmon1.c (tests): Update expected currency symbol.
34398 2015-05-08  Roland McGrath  <roland@hack.frob.com>
34400         * sysdeps/nacl/gethostname.c: New file.
34402 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
34404         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34405         and sinh.
34406         * math/auto-libm-test-out: Regenerated.
34407         * sysdeps/i386/fpu/libm-test-ulps: Update.
34408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34410 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
34412         [BZ #18125]
34413         * stdlib/tst-setcontext3.c: New file.
34414         * stdlib/tst-setcontext3.sh: New file.
34415         * stdlib/Makefile (tests): Add tst-setcontext3.
34416         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34417         to verify test program created output file.
34418         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34419         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34420         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34421         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34423 2015-05-06  Roland McGrath  <roland@hack.frob.com>
34425         [BZ #18383]
34426         * elf/tst-tlsalign.c: New file.
34427         * elf/tst-tlsalign-static.c: New file.
34428         * elf/tst-tlsalign-lib.c: New file.
34429         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34430         (tests-static): Add tst-tlsalign-static.
34431         (modules-names): Add tst-tlsalign-lib.
34432         (test-xfail-tst-tlsalign): New variable.
34433         (test-xfail-tst-tlsalign-static): New variable.
34435         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34436         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34438 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
34440         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34441         csqrt, erfc, sin and sincos.
34442         * math/auto-libm-test-out: Regenerated.
34443         * sysdeps/i386/fpu/libm-test-ulps: Update.
34444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34446 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34448         * sysdeps/aarch64/libm-test-ulps: Update.
34450 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
34452         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
34453         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
34454         * math/auto-libm-test-out: Regenerated.
34455         * sysdeps/i386/fpu/libm-test-ulps: Update.
34456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34458 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
34460         [BZ #18265]
34461         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
34462         (wcsncpy): Likewise.
34464 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34466         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34467         Assume __ASSUME_FALLOCATE is always true.
34468         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34469         (__posix_fallocate64_l64): Likewise.
34470         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34471         (posix_fallocate): Likewise.
34472         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
34473         (__posix_fallocate64_l64): Likewise.
34474         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34475         [!__ASSUME_FALLOCATE]: Add comment.
34477 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34479         * sysdeps/unix/sysv/linux/i386/Makefile
34480         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
34481         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
34482         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
34483         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34484         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34485         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
34486         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
34488 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
34490         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34491         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
34492         tgamma.
34493         * math/auto-libm-test-out: Regenerated.
34494         * sysdeps/i386/fpu/libm-test-ulps: Update.
34495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34497 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34499         * math/auto-libm-test-in: Add more tests of tgamma.
34500         * math/auto-libm-test-out: Regenerated.
34501         * sysdeps/i386/fpu/libm-test-ulps: Update.
34502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34504         * math/auto-libm-test-in: Add more tests of tanh.
34505         * math/auto-libm-test-out: Regenerated.
34506         * sysdeps/i386/fpu/libm-test-ulps: Update.
34507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34509         * math/auto-libm-test-in: Add more tests of tan.
34510         * math/auto-libm-test-out: Regenerated.
34511         * sysdeps/i386/fpu/libm-test-ulps: Update.
34512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34514         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
34515         * math/auto-libm-test-out: Regenerated.
34516         * sysdeps/i386/fpu/libm-test-ulps: Update.
34517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34519         * math/auto-libm-test-in: Add another test of pow.
34520         * math/auto-libm-test-out: Regenerated.
34521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34523         * math/auto-libm-test-in: Add more tests of lgamma.
34524         * math/auto-libm-test-out: Regenerated.
34525         * sysdeps/i386/fpu/libm-test-ulps: Update.
34526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34528         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
34529         log1p.
34530         * math/auto-libm-test-out: Regenerated.
34531         * sysdeps/i386/fpu/libm-test-ulps: Update.
34532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34534 2015-05-01  Mark Wielaard  <mjw@redhat.com>
34536         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
34537         Elf64_Chdr structs and ELFCOMPRESS constants.
34539 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34541         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
34542         expm1.
34543         * math/auto-libm-test-out: Regenerated.
34544         * sysdeps/i386/fpu/libm-test-ulps: Update.
34545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34547         * math/auto-libm-test-in: Add more tests of erf and erfc.
34548         * math/auto-libm-test-out: Regenerated.
34549         * sysdeps/i386/fpu/libm-test-ulps: Update.
34550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34552 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34554         * config.h.in (HAVE_AARCH64_BE): Add.
34556 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
34558         * math/auto-libm-test-in: Add more tests of csqrt.
34559         * math/auto-libm-test-out: Regenerated.
34560         * sysdeps/i386/fpu/libm-test-ulps: Update.
34561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34563         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34564         * math/auto-libm-test-out: Regenerated.
34565         * sysdeps/i386/fpu/libm-test-ulps: Update.
34566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34568         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
34570 2015-04-29  Roland McGrath  <roland@hack.frob.com>
34572         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
34573         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
34575         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
34576         (euidaccess, eaccess): Define as weak aliases.
34578         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
34579         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
34580         but __suseconds_t is often 'long int' so some sources assume that
34581         type is being used (e.g. they use %ld to print tv_usec).
34583 2015-04-29  Florian Weimer  <fweimer@redhat.com>
34585         [BZ #18007]
34586         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
34587         (CVE-2014-8121)
34588         * nss/tst-nss-getpwent.c: New file.
34589         * nss/Makefile (tests): Add new test.
34591 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
34593         [BZ #18346]
34594         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
34595         exponents less than 48 as cases where high part of mantissa needs
34596         examining to determine whether argument is integral.
34597         * math/libm-test.inc (round_test_data): Add more tests.
34599 2015-04-28  Mark Wielaard  <mjw@redhat.com>
34601         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
34603 2015-04-27  David S. Miller  <davem@davemloft.net>
34605         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
34606         __tls_get_addr.
34607         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34609 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
34611         [BZ #18333]
34612         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
34614 2015-04-27  Florian Weimer  <fweimer@redhat.com>
34616         [BZ #18333]
34617         * time/tzset.c (parse_tzname): Return error on memory allocation
34618         failure.
34619         * test-skeleton.c (struct temp_name_list): Change type of name
34620         member to non-const.
34621         (add_temp_file): Create a copy of the file name.
34622         (delete_temp_files): Deallocate memory.
34623         (create_temp_file): Add comment.
34625 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34627         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
34628         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
34630 2015-04-24  Roland McGrath  <roland@hack.frob.com>
34632         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
34633         * sysdeps/arm/configure: Regenerated.
34635 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34637         [BZ #17715]
34638         * time/tzfile.c (__tzfile_read): Check for large values of
34639         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
34640         * time/tzset.c (__tzstring_len): New function, based on the old
34641         __tzstring function.
34642         (__tzstring): Call __tzstring_len.
34643         (parse_tzname): New helper function extracted from
34644         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
34645         the input string.
34646         (parse_offset): New helper function extracted from
34647         __tzset_parse_tz.  Replace switch with fallthrough with
34648         initialization before sscanf.
34649         (parse_rule): Likewise.
34650         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
34651         new-style function definition.
34652         * timezone/Makefile (tests): Add tst-tzset.
34653         (tst-tzset.out): Dependencies on time zone files.
34654         (tst-tzset-ENV): Set TZDIR.
34655         (testdata/XT%): Copy crafted time zone files.
34656         * timezone/README: Mention crafted time zone files.
34657         * timezone/testdata/XT1, timezone/testdata/XT2,
34658         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
34659         files.
34660         * timezone/tst-tzset.c: New test.
34662 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34664         * Makeconfig (+gccwarn): Remove -Winline.
34666 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34668         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
34670 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34672         * NEWS: Mention sysconf() cache information support for s390.
34673         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
34675 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
34677         * math/k_casinh.c (__kernel_casinh): Use __copysign.
34678         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
34679         (__nearbyint): Likewise.
34680         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
34681         (copysignl): Likewise.
34683 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
34685         [BZ #18287]
34686         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
34687         based on padding.  (CVE-2015-1781)
34689 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34691         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
34692         libc-vdso.h.
34693         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
34694         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
34695         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
34696         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34697         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34698         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
34699         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
34700         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34701         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34702         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
34703         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34704         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34705         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34706         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
34707         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34708         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
34709         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
34710         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
34711         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
34712         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
34713         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
34714         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
34715         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
34717 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34719         * stdlib/setenv.c (__add_to_environ):
34720         Dump core quickly if setenv (..., NULL, ...) is called.
34721         This time, do it the right way, and pacify GCC with a pragma.
34723 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34725         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
34726         IMAP->l_prev cannot be null, and #if out the code for the contrary
34727         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
34728         believe that NS (&_dl_ns[NSID]) could point outside the array.
34730         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
34731         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
34732         before using NSID as an index.
34734 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
34736         [BZ #17825]
34737         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
34738         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
34739         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34741 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34743         Add preliminary port to Google Native Client on ARM.
34744         * abi-tags (.*-.*-nacl.*): New entry.
34745         * sysdeps/arm/nacl: New directory.
34746         * sysdeps/nacl: New directory.
34748 2015-04-16  David S. Miller  <davem@davemloft.net>
34750         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
34751         lowlevellock-futex.h
34753 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
34755         * sysdeps/tile/configure.ac: New file.
34756         * sysdeps/tile/configure: Regenerated.
34758 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34760         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
34761         conditionals for weak_alias and libc_hidden_weak.
34762         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
34763         libc_hidden_weak and weak_alias.
34764         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
34765         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
34766         and weak_alias for static one.
34768 2015-04-15  David S. Miller  <davem@davemloft.net>
34770         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34772 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34774         [BZ #18206]
34775         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34776           Use signed comparision instead of substraction to avoid
34777           overflow bug.
34778         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34779           Take the sign of ret.
34780         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34781           Do not expect precise return values. Only the sign matters.
34782         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34783         * wcsmbs/test-wcsncmp.c: New File.
34784         * string/test-strncmp.c: Add wcsncmp support.
34786 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34788         [BZ #6792]
34789         * math/w_log1p.c: New file.
34790         * math/w_log1pf.c: Likewise.
34791         * math/w_log1pl.c: Likewise.
34792         * math/Makefile (libm-calls): Add w_log1p.
34793         * math/s_log1pl.c (log1pl): Remove weak_alias.
34794         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34795         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34796         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34797         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34798         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34799         [NO_LONG_DOUBLE] (log1pl): Likewise.
34800         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34801         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34802         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34803         (log1p): Remove long_double_symbol.
34804         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34805         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34806         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34807         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34808         remove weak_alias for corresponding log1p function.
34809         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34810         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34811         * sysdeps/ia64/fpu/w_log1p.c: New file.
34812         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34813         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34814         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34816 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34818         [BZ #18247]
34819         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34820         decimal exponent by 1.
34821         * stdlib/tst-strtod-round-data: Add more tests.
34822         * stdlib/tst-strtod-round.c (tests): Regenerated.
34824 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
34826         * math/auto-libm-test-in: Add more tests of clog and clog10.
34827         * math/auto-libm-test-out: Regenerated.
34828         * sysdeps/i386/fpu/libm-test-ulps: Update.
34829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34831 2015-04-09  Roland McGrath  <roland@hack.frob.com>
34833         * Makeconfig (module-cppflags): Exclude all .v.i files.
34834         (skip-module-cppflags): Variable removed.
34836         * configure.ac (libc_config_ok): Initialize before reading
34837         preconfigure scripts, not after.
34838         * configure: Regenerated.
34840         * test-skeleton.c (TIMEOUT): Move #define to top level.
34841         (main): Grok environment variable TEST_DIRECT.  If set, print
34842         test expectation details into that file and then behave as if
34843         given --direct.
34845 2015-04-09  Florian Weimer  <fweimer@redhat.com>
34847         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
34848         warning on 32-bit.
34850 2015-04-08  David S. Miller  <davem@davemloft.net>
34852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34854 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34856         * math/auto-libm-test-in: Add more tests of atanh.
34857         * math/auto-libm-test-out: Regenerated.
34858         * sysdeps/i386/fpu/libm-test-ulps: Update.
34859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34861         * math/auto-libm-test-in: Add more tests of atan.
34862         * math/auto-libm-test-out: Regenerated.
34863         * sysdeps/i386/fpu/libm-test-ulps: Update.
34864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34866 2015-04-08  Florian Weimer  <fweimer@redhat.com>
34868         * elf/pldd.c (main): Rewrite to use struct
34869         scratch_buffer instead of extend_alloca.
34870         * elf/pldd-xx.c (find_maps): Likewise.
34871         * grp/initgroups.c: Include <scratch_buffer.h> instead of
34872         <alloca.h>.
34873         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
34874         scratch_buffer instead of extend_alloca.
34875         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
34876         grp/compat-initgroups.c.
34877         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
34878         Rewrite to use struct scratch_buffer instead of extend_alloca.
34879         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
34880         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34882 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34884         * math/auto-libm-test-in: Add more tests of cbrt.
34885         * math/auto-libm-test-out: Regenerated.
34886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34888         * math/auto-libm-test-in: Add more tests of cabs.
34889         * math/auto-libm-test-out: Regenerated.
34890         * sysdeps/i386/fpu/libm-test-ulps: Update.
34891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34893         [BZ #18210]
34894         [BZ #18211]
34895         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
34896         (__ieee754_atan2): Set FE_TONEAREST mode for internal
34897         computations.
34898         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34899         clog10.
34900         * math/auto-libm-test-out: Regenerated.
34901         * sysdeps/i386/fpu/libm-test-ulps: Update.
34902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34904         [BZ #18197]
34905         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
34906         (atan): Set FE_TONEAREST mode for internal computations.
34907         * math/auto-libm-test-in: Add more tests of atan.
34908         * math/auto-libm-test-out: Regenerated.
34910 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
34912         [BZ #17930]
34913         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
34915 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34917         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
34919 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34921         * include/scratch_buffer.h: New file.
34922         * malloc/scratch_buffer_grow.c: Likewise.
34923         * malloc/scratch_buffer_grow_preserve.c: Likewise.
34924         * malloc/scratch_buffer_set_array_size.c: Likewise.
34925         * malloc/tst-scratch_buffer.c: Likewise.
34926         * malloc/Makefile (routines): Add scratch_buffer_grow.
34927         (tests): Add test case.
34928         * malloc/Versions (GLIBC_PRIVATE): Export
34929         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
34930         __libc_scratch_buffer_set_array_size.
34932 2015-04-06  Richard Henderson  <rth@redhat.com>
34934         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
34935         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34937         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
34938         unsigned int before printing.
34940 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34942         [BZ #17596]
34943         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
34944         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34946 2015-04-02  Florian Weimer  <fweimer@redhat.com>
34948         * include/libc-internal.h (libc_max_align_t): Define.
34950 2015-04-02  Andreas Schwab  <schwab@suse.de>
34952         [BZ #16850]
34953         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
34955 2015-04-02  Mel Gorman  <mgorman@suse.de>
34957         [BZ #17195]
34958         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
34959         as well as the main arena.
34961 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34963         [BZ #18185]
34964         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34965         sharing L2 cache to 2 for Silvermont/Knights Landing.
34967 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34969         [BZ #17711]
34970         * config.make.in (have-protected-data): New.
34971         * configure.ac: Check linker support for protected data symbol.
34972         * configure: Regenerated.
34973         * elf/Makefile (modules-names): Add tst-protected1moda and
34974         tst-protected1modb if $(have-protected-data) is yes.
34975         (tests): Add tst-protected1a and tst-protected1b if
34976         $(have-protected-data) is yes.
34977         ($(objpfx)tst-protected1a): New.
34978         ($(objpfx)tst-protected1b): Likewise.
34979         (tst-protected1modb.so-no-z-defs): Likewise.
34980         * elf/tst-protected1a.c: New file.
34981         * elf/tst-protected1b.c: Likewise.
34982         * elf/tst-protected1mod.h: Likewise.
34983         * elf/tst-protected1moda.c: Likewise.
34984         * elf/tst-protected1modb.c: Likewise.
34986 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34988         [BZ #17711]
34989         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
34990         indicates it is called from do_lookup_x on relocation against
34991         protected data, skip the data definion in the executable from
34992         copy reloc.
34993         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
34994         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
34995         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
34996         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
34997         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
34998         otherwise to 0.
34999         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35000         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35001         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
35002         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35003         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
35004         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
35006 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
35008         * sysdeps/nptl/pthread.h: Remove duplicate definition of
35009         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
35011 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
35013         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
35014         THREAD_SETMEM_NC.
35015         * sysdeps/x86_64/nptl/tls.h: Ditto.
35017 2015-03-27  Roland McGrath  <roland@hack.frob.com>
35019         * dlfcn/tststatic.c (main): Converted to ...
35020         (do_test): ... this.
35021         (TEST_FUNCTION): New macro.
35022         Include test-skeleton.c.
35024 2015-03-26  Alan Modra  <amodra@gmail.com>
35026         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
35027         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
35028         zero for undefined weak.
35029         (elf_machine_plt_conflict): Similarly.
35031 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35033         * math/auto-libm-test-in: Add more tests of acosh, asinh and
35034         atanh.
35035         * math/auto-libm-test-out: Regenerated.
35036         * sysdeps/i386/fpu/libm-test-ulps: Update.
35037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35039         * math/auto-libm-test-in: Add another test of asin.
35040         * math/auto-libm-test-out: Regenerated.
35041         * sysdeps/i386/fpu/libm-test-ulps: Update.
35042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35044         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
35045         Remove macro.
35046         (LLL_EBX_REG): Likewise.
35047         (LLL_ENTER_KERNEL): Likewise.
35049         * math/auto-libm-test-in: Add more tests of asin.
35050         * math/auto-libm-test-out: Regenerated.
35051         * sysdeps/i386/fpu/libm-test-ulps: Update.
35052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35054         [BZ #18138]
35055         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
35056         libc_do_syscall_args): New structure.
35057         (INTERNAL_SYSCALL_MAIN_0): New macro.
35058         (INTERNAL_SYSCALL_MAIN_1): Likewise.
35059         (INTERNAL_SYSCALL_MAIN_2): Likewise.
35060         (INTERNAL_SYSCALL_MAIN_3): Likewise.
35061         (INTERNAL_SYSCALL_MAIN_4): Likewise.
35062         (INTERNAL_SYSCALL_MAIN_5): Likewise.
35063         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
35064         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
35065         Replace conditional definitions by conditional definitions of ....
35066         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
35067         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
35068         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
35069         (libpthread-sysdep_routines): Add libc-do-syscall.
35070         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
35071         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
35072         to __NR_futex not 240.
35074 2015-03-25  Alan Modra  <amodra@gmail.com>
35076         * NEWS: Advertise TLS optimization.
35077         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
35078         (DT_PPC_NUM): Increment.
35079         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
35080         (CHECK_STATIC_TLS): Use here.
35081         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
35082         TLS descriptors.
35083         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35084         * sysdeps/powerpc/dl-tls.c: New file.
35085         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
35086         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
35087         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
35088         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
35089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
35090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
35091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
35093 2015-03-25  Alan Modra  <amodra@gmail.com>
35095         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
35096         for overlapping .opd entries" to "support...".
35097         * sysdeps/powerpc/powerpc64/configure: Regenerate
35099 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35101         * math/auto-libm-test-in: Add more tests of acos.
35102         * math/auto-libm-test-out: Regenerated.
35103         * sysdeps/i386/fpu/libm-test-ulps: Update.
35104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35106         * math/auto-libm-test-in: Add more tests of expm1.
35107         * math/auto-libm-test-out: Regenerated.
35108         * sysdeps/i386/fpu/libm-test-ulps: Update.
35109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35111 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
35113         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35114         * math/auto-libm-test-out: Regenerated.
35115         * sysdeps/i386/fpu/libm-test-ulps: Update.
35116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35118         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35121         * math/auto-libm-test-in: Add more tests of log2.
35122         * math/auto-libm-test-out: Regenerated.
35123         * sysdeps/i386/fpu/libm-test-ulps: Update.
35124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35126 2015-03-23  Roland McGrath  <roland@hack.frob.com>
35128         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
35129         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
35130         _IO_IS_APPENDING bit in READ_WRITE instead.
35132 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35134         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
35135         (__determine_cpumask_size): Replace extend_alloca with a
35136         variable-length array.  Do not treat res == 0 as an error.
35138 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35140         [BZ #18100]
35141         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
35142         and integer overflow.
35143         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
35144         (main): Add integer overflow tests.
35145         * manual/pattern.texi (Calling Wordexp): Document additional use
35146         for WRDE_SYNTAX.
35148 2015-03-23  Alan Modra  <amodra@gmail.com>
35150         * config.h.in: Remove HAVE_ASM_PPC_REL16.
35151         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35152         and false branch of conditional.
35153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35154         Likewise.
35156 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
35158         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35159         libc-modules.h
35160         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35161         unused declaration of _hurd_intr_rpc_msg_in_trap.
35162         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35163         defined instead of whether it is non-zero.
35164         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35165         input constraint instead of both input and output constraint.  Use ecx
35166         clobber instead of %ecx.
35167         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35168         mutex_unlock): Use a statement expression instead of an expression list.
35169         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35170         type to vm_size_t instead of vm_address_t.
35171         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35172         defined instead of whether it is non-zero.
35173         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35174         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35175         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35176         comparisons with mapaddr.
35177         * nscd/nscd-client.h: Include <time.h>.
35178         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35179         9th parameter to __vm_region instead of int.
35180         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35181         * scripts/check-local-headers.sh (exclude): Add device/,
35182         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35183         cthreads.h.
35185 2015-03-19  Roland McGrath  <roland@hack.frob.com>
35187         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35188         to account for alignment padding.
35189         * sysdeps/arm/memmove.S: Likewise.
35191 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
35193         * sysdeps/unix/sysv/linux/generic/README: New file.
35195 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
35197         [BZ #18138]
35198         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35199         (futex_abstimed_wait)
35200         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35201         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35202         of lll_futex_timed_wait.
35204 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
35206         [BZ #17542]
35207         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35209 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
35211         [BZ #17090]
35212         [BZ #17620]
35213         [BZ #17621]
35214         [BZ #17628]
35215         * NEWS: Update.
35216         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35217         entries with Static TLS too.  Skip entries past the end of the
35218         allocated DTV, from Alan Modra.
35219         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35220         Static TLS DTV entry set up from...
35221         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35222         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35223         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35224         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35225         for Static TLS.
35226         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35227         that the slot we find is associated with the given map before
35228         using its generation count.
35229         * nptl_db/db_info.c: Include ldsodefs.h.
35230         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35231         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35232         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35233         (link_map::l_tls_offset): New struct field.
35234         (dtv_t::counter): Likewise.
35235         (rtld_global): New struct.
35236         (_rtld_global): New rtld variable.
35237         (dl_tls_dtv_slotinfo_list): New rtld global field.
35238         (dtv_slotinfo_list): New struct.
35239         (dtv_slotinfo): Likewise.
35240         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35241         (td_lookup): Rename to...
35242         (td_mod_lookup): ... this.  Use new mod parameter instead of
35243         LIBPTHREAD_SO.
35244         * nptl_db/td_thr_tlsbase.c: Include link.h.
35245         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35246         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35247         addresses even if the DTV is out of date or missing them.
35248         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35249         index zero-length arrays.
35250         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35251         (td_lookup): Make it a macro implemented in terms of...
35252         (td_mod_lookup): ... this declaration.
35253         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35254         (DB_MAIN_VARIABLE): Likewise.
35256 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35258         [BZ #18134]
35259         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35261 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35263         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35265 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35267         [BZ #18128]
35268         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35269         (atomic_add, atomic_increment_and_test)
35270         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35272 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35274         * stdlib/setenv.c (__add_to_environ):
35275         Dump core quickly if setenv (..., NULL, ...) is called.
35277 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35279         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35280         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35281         all the necessary asm magic in one place.
35282         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35283         using those.
35285 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35287         [BZ #14906]
35288         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35289         traced file mtime. Use consistent log message.
35290         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35291         (register_traced_file): Call install_watches. Always set mtime.
35292         (invalidate_cache): Iterate over all trace files. Call install_watches.
35293         (inotify_check_files): Don't inline. Handle watching parent
35294         directories and configuration file movement in and out.
35295         (handle_inotify_events): New function.
35296         (main_loop_poll): Call handle_inotify_events.
35297         (main_loop_epoll): Likewise.
35298         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35299         (struct traced_file): Use array of inotify fds. Add parent directory,
35300         and basename.
35301         (struct database_dyn): Remove unused file_mtime.
35302         (init_traced_file): New inline function.
35303         (define_traced_file): New macro.
35304         * nss/nss_db/db-init.c: Use define_traced_file.
35305         (_nss_db_init): Use init_traced_file.
35306         * nss/nss_files/files-init.c: Use define_traced_file.
35307         (_nss_files_init): Use init_traced_file.
35309 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35311         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35312         [_LIBC]: Do not include <stdlib.h>.
35313         [!_LIBC] (abort): Remove declaration.
35314         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35315         _FP_STATIC_ASSERT instead of conditionally calling abort.
35316         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35317         (_FP_EXTEND_CNAN): Likewise.
35318         (FP_TRUNC): Likewise.
35319         (__FP_CLZ): Likewise.
35320         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35322 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35324         * manual/string.texi (XPG basename): Fix prototype.
35326 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35328         [BZ #18080]
35329         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35330         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35331         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35332         (__setcontext): Likewise.
35333         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35334         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35335         Call rt_sigprocmask syscall one time to set new signal mask
35336         and retrieve the current signal mask instead of two calls.
35337         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35338         (__swapcontext): Likewise.
35339         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35340         * stdlib/tst-setcontext2.c: New file.
35342 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35344         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35346 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
35348         [BZ #18093]
35349         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35350         the wrong size.
35352 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35354         [BZ #18043]
35355         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35357 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35359         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35360         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35361         Remove define.
35362         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35363         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35364         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35365         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35366         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35367         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35368         define.
35369         * nptl_db/td_symbol_list.c (td_lookup): Remove
35370         HAVE_ASM_GLOBAL_DOT_NAME code.
35371         * sysdeps/powerpc/powerpc64/configure.ac: Remove
35372         HAVE_ASM_GLOBAL_DOT_NAME check.
35373         * sysdeps/powerpc/powerpc64/configure: Regenerate.
35374         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35375         (DOT_LABEL): Remove define.
35376         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35377         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35378         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35379         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35380         (__TLS_GET_ADDR): Likewise.
35381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35382         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35384 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
35386         [BZ #18111]
35387         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35388         (_FPU_SETCW): Initialize cw from fpsr before storing.
35389         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35390         (fesetexceptflag): Rewrite using fpu_control.h.
35391         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35393 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
35395         [BZ #18110]
35396         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35397         asms.
35398         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35400 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
35402         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35403         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35404         abort.
35405         (_FP_FMA): Likewise.
35406         (_FP_DIV): Likewise.
35408 2015-03-10  Roland McGrath  <roland@hack.frob.com>
35410         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35411         with 0 in that case.
35412         * Makefile (summarize-tests): New canned sequence, factored out of
35413         commands for targets tests and xtests.  Display summary lines that
35414         don't start with PASS: or XFAIL: rather than ones that do start with
35415         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
35416         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35417         do start with ERROR: or FAIL:.
35418         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35419         (except for [$(build-shared) = yes]).
35420         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35421         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35422         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35423         * nptl/Makefile: Revert 2015-03-04 changes.
35424         [$(CXX) empty] (tests-unsupported): New variable.
35425         * debug/Makefile: Likewise.
35427         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35428         gnulib file.  Replace __attribute with __attribute__ throughout.
35430 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
35432         * sysdeps/hppa/fpu/libm-test-ulps: Update.
35434 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35436         [BZ #18104]
35437         * math/auto-libm-test-in: Add another test of pow.
35438         * math/auto-libm-test-out: Regenerated.
35440 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35442         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35443         $(config-cflags-nofma).
35445 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35447         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
35448         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
35449         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
35450         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
35451         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
35452         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
35453         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
35454         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
35455         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
35456         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
35457         Add comment on closing #endif.
35459 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35461         * posix/wordexp.c (CHAR_IN_SET): New macro.
35462         (parse_param): Use it.
35464 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35466         * sysdeps/powerpc/fpu/libm-test-ulps: update.
35468 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35470         [BZ #18043]
35471         * posix/wordexp.c (parse_param): Fix buffer overflow.
35472         * posix/wordexp-test.c (test_case): Add test case.
35474 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35476         [BZ #18042]
35477         * posix/wordexp.c (parse_backtick): Fix off-by-one.
35478         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
35480 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35482         [BZ #18043]
35483         * posix/wordexp-test.c (test_case): Add test for BZ #18043
35484         (do_bz18043): Delete.
35485         (at_page_end): New.
35486         (testit): Refactor to have words at the edge of unreadable page.
35488 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35490         [BZ #16734]
35491         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
35492         Cleanup read-only streams as well.
35493         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
35495 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35497         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
35498         <bits/libc-lockP.h>
35500 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
35502         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
35503         on [__KERNEL__].
35504         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
35505         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
35506         * soft-fp/op-common.h (_FP_DECL): Likewise.
35508 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
35510         * elf/ifuncdep2.c (global): Replace
35511         __attribute__((visibility("protected"))) with
35512         asm (".protected global").
35513         * elf/ifuncmod1.c (global): Likewise.
35514         * elf/ifuncmod5.c (global): Likewise.
35516 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
35518         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
35519         <asm/sfp-machine.h> instead of <sfp-machine.h>.
35521 2015-03-06  Roland McGrath  <roland@hack.frob.com>
35523         * manual/install.texi (Configuring and compiling):
35524         Document test-wrapper-env-only.
35525         * INSTALL: Regenerated.
35527 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35529         [BZ #18043]
35530         * posix/wordexp.c (parse_param): Fix buffer overflow.
35531         * posix/wordexp-test.c (do_bz18043): Add test case.
35533 2015-03-06  Vincent Bernat  <vincent@bernat.im>
35535         * time/tst-strptime2.c (do_test): Ensure failing tests are
35536         reported correctly.
35537         * time/tst-strptime3.c (do_test): Likewise.
35539 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
35541         Fix aio_error thread-safety.
35542         * sysdeps/pthread/aio_error.c: New file
35543         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
35544         synchronization.
35546 2015-03-06  Florian Weimer  <fweimer@redhat.com>
35548         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
35549         (group_number, vfprintf): Use it.
35550         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
35551         (JUMP, REF): Use it.
35552         (WORK_BUFFER_SIZE): New enum constant.
35553         (process_arg, vfprintf): Use it.
35555 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
35557         * manual/errno.texi (Error Messages): Complete example function
35558         by adding missing #define.
35559         (program_invocation_name): Add statement indicating GNU
35560         extension and reference which header file declares the variable.
35561         (program_invocation_short_name): Likewise.
35563 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
35565         * manual/errno.texi (Error Messages): Delete strerror ISO C89
35566         compatibility note.
35568 2015-03-05  Roland McGrath  <roland@hack.frob.com>
35570         * Makeconfig (test-wrapper-env-only): New variable.
35571         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
35572         then use that with $(test-wrapper-env-only) rather than using
35573         $(test-wrapper-env) $(run-program-env) $($*-ENV).
35575 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35577         [BZ #18082]
35578         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
35579         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
35580         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
35581         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
35582         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
35583         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
35584         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
35585         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
35586         Likewise.
35587         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
35588         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
35589         Likewise.
35590         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
35591         Likewise.
35592         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
35593         Likewise.
35594         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
35595         Likewise.
35596         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
35597         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
35598         Likewise.
35599         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
35600         Likewise.
35601         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
35602         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
35604 2015-03-04  Roland McGrath  <roland@hack.frob.com>
35606         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
35607         (ETH_ALEN): New macro.
35608         (struct ether_addr): Use it for length of ether_addr_octet.
35610         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
35611         (setdb): Don't call __nss_configure_lookup for "rpc".
35612         (do_test): Don't call test_rpc.
35613         (output_rpcent, test_rpc): Functions moved ...
35614         * sunrpc/test-rpcent.c: ... to this new file.
35615         * sunrpc/Makefile (tests): Add it.
35617         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
35618         __xpg_sigpause.
35619         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
35620         * nptl/tst-signal6.c: Likewise.
35621         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
35622         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
35624         * configure.ac (libc_cv_cxx_link_ok): New check.
35625         Reset CXX to empty if it fails to link.
35626         * configure: Regenerated.
35627         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
35628         bug-atexit3-lib only if $(CXX) is nonempty.
35629         * nptl/Makefile (tests): Likewise for tst-cancel24.
35630         (tests, tests-static): Likewise for tst-cancel24-static.
35631         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
35632         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
35633         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
35634         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
35636 2015-03-04  Andreas Schwab  <schwab@suse.de>
35638         [BZ #17631]
35639         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
35640         for non-GCC compilers.
35641         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35642         Likewise.
35644 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35646         [BZ #17776]
35647         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
35648         integer before bitwise and assembly operations.
35649         (feclearexcept): Likewise.
35650         * math/test-fenvinline.c: New file.
35651         * math/Makefile: Add test-fenvinline test.
35653 2015-03-03  Alan Modra  <amodra@gmail.com>
35655         [BZ #16512]
35656         * scripts/localplt.awk: Strip off symbol version.
35657         * NEWS: Mention bug fix.
35659 2015-03-02  Roland McGrath  <roland@hack.frob.com>
35661         * sysdeps/pthread/timer_routines.c
35662         (timer_free_list, thread_free_list, thread_active_list): Make static.
35664 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
35666         [BZ #17779]
35667         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35668         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35669         Undefine.
35670         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35671         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35672         Likewise.
35673         * sysdeps/unix/sysv/linux/sh/kernel-features.h
35674         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35675         Likewise.
35677 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35679         [BZ #18036]
35680         * posix/fnmatch_loop.c (END): Detect invalid pattern.
35681         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
35683 2015-03-02  Andreas Schwab  <schwab@suse.de>
35685         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
35686         variable name.
35688 2015-03-02  Florian Weimer  <fweimer@redhat.com>
35690         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
35691         Return error status.
35693 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
35695         [BZ #15969]
35696         * locale/findlocale.c (_nl_find_locale): Introduce const
35697         version of loc_name and drop unsafe type casts.
35699 2015-02-27  Roland McGrath  <roland@hack.frob.com>
35701         * dlfcn/tststatic2.c (main): Converted to ...
35702         (do_test): ... this.
35703         (TEST_FUNCTION): New macro.
35704         Include test-skeleton.c.
35706 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
35708         [BZ #17711]
35709         * elf/Makefile (tests): Add vismain only if PIE is enabled.
35710         (tests-pie): Add vismain.
35711         (CFLAGS-vismain.c): New.
35712         * elf/vismain.c: Add comments for PIE requirement.
35714 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35716         [BZ #18046]
35717         [BZ #18047]
35718         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
35719         0x1p-56L as threshold for just returning the argument.
35720         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
35721         0x1p-32L as threshold for just returning the argument.
35722         * math/auto-libm-test-in: Add more tests of atanh.
35723         * math/auto-libm-test-out: Regenerated.
35724         * sysdeps/i386/fpu/libm-test-ulps: Update.
35725         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
35727 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35729         * string/bcopy.c (bcopy): Call memmove for performance.
35731 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35733         * string/bzero.c (__bzero): Call memset for performance.
35735 2015-02-27  John David Anglin  <dave.anglin@bell.net>
35737         [BZ #18068]
35738         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
35739         to 00100000.
35741 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35743         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
35745 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35747         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
35748         (__kernel_standard): Use CSTR macro when setting exc.name.
35749         * sysdeps/ieee754/Makefile [$(subdir) = math]
35750         (CFLAGS-k_standard.c): Remove variable.
35752         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
35753         setting p and q from "else if" to "else".
35754         (qzero): Likewise.
35755         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
35756         (qone): Likewise.
35757         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
35758         (qzerof): Likewise.
35759         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
35760         (qonef): Likewise.
35761         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
35762         (qzero): Likewise.
35763         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
35764         (qone): Likewise.
35766         [BZ #18038]
35767         [BZ #18039]
35768         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
35769         return pi/2 for arguments below 0x1p-113L.
35770         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
35771         return pi/2 for arguments below 0x1p-106L.
35772         * math/auto-libm-test-in: Add more tests of acos.
35773         * math/auto-libm-test-out: Regenerated.
35775         [BZ #16351]
35776         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35777         (MO): New macro.
35778         (__ieee754_asin): Force underflow exception for results with small
35779         absolute value.
35780         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35781         (MO): New macro.
35782         (__ieee754_asinf): Force underflow exception for results with
35783         small absolute value.
35784         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35785         (__ieee754_asin): Force underflow exception for results with small
35786         absolute value.
35787         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35788         (__ieee754_asinf): Force underflow exception for results with
35789         small absolute value.
35790         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35791         (__ieee754_asinl): Force underflow exception for results with
35792         small absolute value.
35793         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35794         (__ieee754_asinl): Force underflow exception for results with
35795         small absolute value.
35796         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35797         (__ieee754_asinl): Force underflow exception for results with
35798         small absolute value.
35799         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35800         Include <math.h>.
35801         * math/auto-libm-test-in: Do not mark underflow exceptions as
35802         possibly missing for bug 16351.
35803         * math/auto-libm-test-out: Regenerated.
35805         [BZ #18030]
35806         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35807         of power of 2 down when low part has opposite sign.
35808         * math/libm-test.inc (logb_test_data): Add more tests.
35810 2015-02-26  Andreas Schwab  <schwab@suse.de>
35812         [BZ #18032]
35813         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35814         over collating symbol inside a bracket expression.  Minor cleanup.
35815         * posix/tst-fnmatch3.c (do_test): Add test case.
35817 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35819         [BZ #18029]
35820         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35821         Adjust exponent of power of 2 down when low part has opposite
35822         sign.
35823         * math/libm-test.inc (ilogb_test_data): Add more tests.
35825 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
35827         [BZ #15969]
35828         * locale/findlocale.c (_nl_find_locale): Fix constness error in
35829         the previous change.
35831         [BZ #15969]
35832         * locale/findlocale.c (_nl_find_locale): Retry archive search
35833         after alias expansion.
35835 2015-02-25  Roland McGrath  <roland@hack.frob.com>
35837         * iconv/tst-iconv3.c (main): Converted to ...
35838         (do_test): ... this.
35839         (TEST_FUNCTION): New macro.
35840         Include test-skeleton.c.
35842         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
35843         (convert): Make function static.
35844         (test_unalign): Likewise.  Add const to argument pointee types.
35845         (main): Replace with static function do_test.
35846         Print "Succeeded." only if RET is zero.
35847         (TEST_FUNCTION): New macro.
35848         Include test-skeleton.c.
35850         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
35851         returns a null pointer.
35853 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35855         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
35856         to __memcpy_ppc only for static builds.
35858 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
35860         [BZ #18020]
35861         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
35862         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
35863         * math/auto-libm-test-in: Add more tests of asinh.
35864         * math/auto-libm-test-out: Regenerated.
35865         * sysdeps/i386/fpu/libm-test-ulps: Update.
35866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35868 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
35870         [BZ #15850]
35871         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
35872         and ip6_mtuinfo definitions here.
35873         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
35874         in this define too.  Update comment.
35876 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
35878         * elf/sprof.c (load_shobj): Tweak error message to match others.
35880 2015-02-24  Kevin Easton  <kevin@guarana.org>
35882         [BZ #16145] (partial fix)
35883         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
35884         to reduce lock contention.
35886 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
35888         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
35889         (struct timex): Update time comment.
35890         (ADJ_SETOFFSET): Define.
35892 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35894         [BZ #18019]
35895         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35896         2**56 not 2**28 as threshold for log (2x) formula.
35897         * math/auto-libm-test-in: Add more tests of acosh.
35898         * math/auto-libm-test-out: Regenerated.
35899         * sysdeps/i386/fpu/libm-test-ulps: Update.
35900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35902 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35904         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
35905         parenthesis around the buf assignment.
35906         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
35908 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35910         [BZ #16783]
35911         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
35912         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
35913         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
35914         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35915         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35916         * math/libm-test.inc (scalb_test_data): Add more tests.
35918 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35920         [BZ #17916]
35921         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
35922         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
35924 2015-02-24  Eric Rannaud  <e@nanocritical.com>
35926         [BZ #17523]
35927         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
35928         * io/bits/fcntl2.h (open): Use it.
35929         (openat): Likewise.
35930         * io/open.c (__libc_open): Likewise.
35931         * io/open64.c (__libc_open64): Likewise.
35932         * io/open64_2.c (__open64_2): Likewise.
35933         * io/open_2.c (__open_2): Likewise.
35934         * io/openat.c (__openat): Likewise.
35935         * io/openat64.c (__openat64): Likewise.
35936         * io/openat64_2.c (__openat64_2): Likewise.
35937         * io/openat_2.c (__openat_2): Likewise.
35938         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
35939         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
35940         * sysdeps/posix/open64.c (__libc_open64): Likewise.
35941         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35942         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35943         (__open_nocancel): Likewise.
35944         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35945         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35946         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
35948 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35950         [BZ #14841]
35951         * resolv/gethnamaddr.c (getanswer): Skip logging if
35952         RES_USE_DNSSEC is set.
35953         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35955 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35957         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
35959 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
35961         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
35962         201304L, for Unicode 7.
35964 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
35966         [BZ #17836]
35967         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
35968         shared library.  Add gmon-start.os otherwise.
35969         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
35970         $(objpfx)gmon-start.os if builing shared library.
35971         ($(objpfx)g$(static-start-installed-name)): Likewise.
35973 2015-02-23  Andreas Schwab  <schwab@suse.de>
35975         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
35977 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35979         [BZ #17269]
35980         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
35981         (enlarge_userbuf): Likewise.
35983 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
35985         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
35986         * math/atest-exp.c (TIMEOUT): Adjust to 200.
35987         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
35988         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
35990 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
35992         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
35993         expression inside statement expression.
35995 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35997         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
35998         <sysdeps/nptl/lowlevellock.h> and remove macros and
35999         functions that are now defined there.
36000         (SYS_futex): Remove.
36001         (lll_compare_and_swap): Remove.
36002         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
36004 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
36006         [BZ #17999]
36007         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
36008         instead of scandirat.
36009         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
36010         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
36011         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
36012         __scandirat.
36013         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
36014         (__scandirat): Declare.  Use libc_hidden_proto.
36015         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
36016         Remove variable.
36017         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36019 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36021         [BZ #15319]
36022         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
36023         (MO): New macro.
36024         (__ieee754_atan2): For results with small absolute value, force
36025         underflow exception and remove excess range and precision from
36026         return value.
36027         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
36028         (MO): New macro.
36029         (__ieee754_atan2f): For results with small absolute value, force
36030         underflow exception and remove excess range and precision from
36031         return value.
36032         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
36033         (MO): New macro.
36034         (__atan): For results with small absolute value, force underflow
36035         exception and remove excess range and precision from return value.
36036         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
36037         (MO): New macro.
36038         (__atanf): For results with small absolute value, force underflow
36039         exception and remove excess range and precision from return value.
36040         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
36041         <math.h>.
36042         (__ieee754_atan2): Force underflow exception for results with
36043         small absolute value.
36044         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
36045         <math_private.h>.
36046         (atan): Force underflow exception for results with small absolute
36047         value.
36048         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
36049         (__atanf): Force underflow exception for results with small
36050         absolute value.
36051         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
36052         <math.h>.
36053         (__atanl): Force underflow exception for results with small
36054         absolute value.
36055         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
36056         (__atanl): Force underflow exception for results with small
36057         absolute value.
36058         * sysdeps/x86/fpu/bits/mathinline.h
36059         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
36060         (__ieee754_atan2): Only define inline for long double.
36061         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
36062         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
36063         * math/auto-libm-test-in: Do not mark underflow exceptions as
36064         possibly missing for bug 15319.  Add more tests of atan2.
36065         * math/auto-libm-test-out: Regenerated.
36066         * math/libm-test.inc (casin_test_data): Do not mark underflow
36067         exceptions as possibly missing for bug 15319.
36068         (casinh_test_data): Likewise.
36069         * sysdeps/i386/fpu/libm-test-ulps: Update.
36071 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
36073         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
36074         * sysdeps/mips/bits/endian.h: Fix comments.
36076 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36078         [BZ #17996]
36079         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
36080         (hdestroy_r): Likewise.
36081         (hsearch_r): Likewise.
36082         (__hcreate_r): Declare and use libc_hidden_proto.
36083         (__hdestroy_r): Likewise.
36084         (__hsearch_r): Likewise.
36085         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
36086         (hcreate): Call __hcreate_r instead of hcreate_r.
36087         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
36088         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
36089         as weak alias of __hcreate_r.
36090         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
36091         __hdestroy_r.
36092         (hsearch_r): Rename to __hsearch_r and define as weak alias of
36093         __hsearch_r.
36094         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
36095         Remove variable.
36096         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36097         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36098         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36099         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36101 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36103         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
36104         arena_lock into a single arena_get.
36106 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
36108         * dl-reloc.c: Inlucde libc-internal.h.
36109         (_dl_try_allocate_static_tls): Call ALIGN_UP.
36110         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
36111         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
36112         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
36113         (grow_heap): Likewise.
36114         * malloc/malloc.c: Include libc-internal.h.
36115         (do_check_malloc): Call powerof2.
36116         (sysmalloc): Use pagesize. Call ALIGN_UP.
36117         (systrim): Use pagesize.
36118         (mremap_chunk): Use pagesize. Call ALIGN_UP.
36119         (__libc_valloc): Use pagesize.
36120         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
36122 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36124         [BZ #17991]
36125         * include/sys/resource.h (__getrlimit64): Declare.  Use
36126         libc_hidden_proto.
36127         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
36128         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
36129         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
36130         getrlimit64.
36131         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
36132         __getrlimit64.
36133         [!getrlimit64] (getrlimit64): Define as weak alias of
36134         __getrlimit64.  Use libc_hidden_weak.
36135         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36136         using __getrlimit64 not __new_getrlimit64.
36137         (__GI_getrlimit64): Likewise.
36138         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
36139         Likewise.
36140         (__GI_getrlimit64): Likewise.
36141         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
36142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
36143         (getrlimit): Add __getrlimit64 alias.
36144         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
36145         Likewise.
36146         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
36147         Remove variable.
36148         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36149         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36151 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
36153         * libio/fileops.c: Add missing sys/mman.h
36154         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36156 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36158         * manual/math.texi (Errors in Math Functions): Clarify goals
36159         regarding inexact and underflow exceptions.
36161 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36163         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36164         * sysdeps/mips/memset.S: Ditto.
36166 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36168         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36170 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36172         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36173         (__v1longjmp): Remove versioned symbol.
36174         (__v1siglongjmp): Remove alias and versioned symbol.
36175         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36176         (__v2siglongjmp): Likewise.
36178 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36180         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36182 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
36184         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36186 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36188         [BZ #17987]
36189         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36190         zero result does not depend on the sign resulting from
36191         subtraction.
36192         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36193         Likewise.
36194         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36195         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36196         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36197         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36198         * math/libm-test.inc (remquo_test_data): Add more tests.
36200 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
36202         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36203         Problem reported by J William Piggott.
36205 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36207         [BZ #17978]
36208         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36209         products 4 * y and 2 * y where those would overflow.
36210         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36211         Likewise.
36212         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36213         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36214         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36215         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36216         * math/libm-test.inc (remquo_test_data): Add more tests.
36218         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36220         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36221         [defined _COMPILING_NEWLIB].
36222         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36223         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36225         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36226         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36228 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36230         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36231         acquired.
36233 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36235         [BZ #17792]
36236         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36237         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36238         HOST_STACK_END_ADDR): Likewise.
36240 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36242         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36243         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36244         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36246 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36248         * sysdeps/generic/c++-types.data: New file.
36249         * sysdeps/generic/ld.abilist: New file.
36250         * sysdeps/generic/libBrokenLocale.abilist: New file.
36251         * sysdeps/generic/libanl.abilist: New file.
36252         * sysdeps/generic/libc.abilist: New file.
36253         * sysdeps/generic/libcrypt.abilist: New file.
36254         * sysdeps/generic/libdl.abilist: New file.
36255         * sysdeps/generic/libm.abilist: New file.
36256         * sysdeps/generic/libpthread.abilist: New file.
36257         * sysdeps/generic/libresolv.abilist: New file.
36258         * sysdeps/generic/librt.abilist: New file.
36260 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36262         [BZ #17569]
36263         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36264         Compute absolute value of x as modified by fmod, not original
36265         value of x.
36266         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36267         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36268         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36269         RUN_TEST_ffI_f1_mod8.
36270         (remquo_test_data): Add more tests.
36272 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36274         * sysdeps/init_array/pt-crti.S: New file.
36276 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36278         [BZ #17967]
36279         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36280         __builtin_fmaf instead of relying on contraction of a * b + c.
36282 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36284         [BZ #17969]
36285         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36286         node.
36288 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36290         [BZ #17964]
36291         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36292         __builtin_fma instead of relying on contraction of a * b + c.
36294 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36296         * Makeconfig (ASFLAGS): Add -Werror=undef.
36297         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36298         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36299         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36301         * Makeconfig (after-link): New variable.
36302         (+link-pie, +link-pie-tests): Use it.
36303         (+link-static, +link-static-tests): Likewise.
36304         (+link, +link-tests): Likewise.
36305         * Makerules (build-module, build-module-asneeded): Likewise.
36306         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36307         Likewise.
36308         * elf/Makefile ($(objpfx)ld.so): Likewise.
36310 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36312         [BZ #17965]
36313         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36314         both struct timeval and struct timespec.
36316 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36318         [BZ #16560]
36319         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36320         and redefine.
36321         (__ieee754_exp2l): Do not multiply small fractional parts by
36322         M_LN2l.
36323         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36324         small argument.
36325         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36326         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36327         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36328         * math/auto-libm-test-in: Add more tests of exp2.
36329         * math/auto-libm-test-out: Regenerated.
36331 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36333         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36334         unaligned path.
36336 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36338         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36339         little endian.
36341 2015-02-12  Andreas Schwab  <schwab@suse.de>
36343         [BZ #15790]
36344         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36345         Filter out elision flags from value returned in kind.
36346         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36347         * nptl/tst-pthread-mutexattr.c: New file.
36349 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36351         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36352         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36353         into gnu-gnu, and update comment to refer to abi-tags.
36355 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
36357         [BZ #15467]
36358         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36359         (__sincos): Set errno to EDOM for infinite argument.
36360         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36361         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36362         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36363         (__sincosl): Set errno to EDOM for infinite argument.
36364         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36365         (__sincosl): Set errno to EDOM for infinite argument.
36366         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36367         (__sincosl): Set errno to EDOM for infinite argument.
36368         * math/libm-test.inc (sincos_test_data): Test errno setting.
36370 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
36372         * string/strxfrm_l.c: Remove #define STRCMP.
36373         * string/strcoll_l.c: Remove #define STRLEN.
36374         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36375         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36377 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
36379         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36380         * sysdeps/mips/mips32/sfp-machine.h: ... here.
36381         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36382         * sysdeps/mips/mips64/Makefile: ... here.
36383         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36384         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36385         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36386         * sysdeps/mips/mips64/sfp-machine.h: ... here.
36387         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36388         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36389         * sysdeps/mips/mips64/n64/Implies: Likewise.
36391 2015-02-10  Roland McGrath  <roland@hack.frob.com>
36393         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36394         <sys/time.h>, <string.h>, and <errno.h>.
36395         (dest_offset, dest_address, value, zero): Remove unused variables.
36396         (ldouble): Remove typedef.
36397         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36398         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
36399         1).  Fix code style.
36400         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36401         (check): Function removed.
36402         (CHECK): New macro.
36403         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
36404         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36405         Don't call set_sigaction_FP and remove_sigaction_FP here.
36406         (ldouble_test): Just use 'long double' as macro argument, no need for
36407         the 'ldouble' typedef.
36408         (do_test): Set up SIGFPE handler at start, using plain signal rather
36409         than sigaction.  Fix code style.
36411 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
36413         [BZ #17949]
36414         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36415         jump label.
36417 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36419         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36420         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36422         * sysdeps/powerpc/configure.ac: Remove file.
36423         * sysdeps/powerpc/configure: Likewise.
36425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36426         [sysdep_routines]: Remove wordcopy-power6 object.
36427         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36428         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36429         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36430         (__memmove_ppc32): Likewise.
36431         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36432         file.
36433         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36434         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36435         Remove preprocessor.
36437         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36438         [sysdep_routines]: Remove wide chars objects.
36439         [wcsmbs]: New rule for wide char objects.
36441         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36442         Remove wordcopy-power6 obejct.
36443         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
36444         Use local call for wordcopy and memcpy symbols.
36445         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
36446         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
36447         implementation for loader.
36448         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
36450         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36451         Remove wordcopy-power7 object.
36452         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
36453         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
36454         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36455         (_wordcopy_fwd_dest_aligned): Likewise.
36456         (_wordcopy_bwd_aligned): Likewise.
36457         (_wordcopy_bwd_dest_aligned): Likewise.
36459         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
36460         Rewrite to call __memmove_ppc instead of include default
36461         implementation.
36463         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36464         Remove wide chars objects.
36465         [wcsmbs]: New rule for wide char objects.
36467 2015-02-09  Andreas Schwab  <schwab@suse.de>
36469         [BZ #17912]
36470         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36471         in terms of __O_DIRECTORY.
36473 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36475         * time/getdate.c: Include <stdbool.h>.
36476         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
36477         call PTR_MANGLE.
36478         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
36479         PTR_DEMANGLE.
36481 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
36483         Add ersatz _Static_assert on older C hosts
36484         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
36485         pre-C11 C platform that is not known to support _Static_assert.
36487 2015-02-07  Richard Braun  <rbraun@sceen.net>
36489         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
36490         sigstate.
36491         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
36493 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36495         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
36496         priority against unexistent AIO_PRIO_DELTA_MAX.
36497         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
36498         instead of int.
36499         * misc/fchflags.c (fchflags): Likewise.
36500         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
36501         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
36502         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
36503         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
36504         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
36505         Declare macros.
36506         [__USE_MISC] (chflags, fchflags): Declare functions.
36507         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
36508         EINVAL when nfds is greater than FD_SETSIZE.
36509         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
36510         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
36511         45.
36512         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
36513         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
36514         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
36515         MACH_RCV_TIMED_OUT.
36516         * hurd/hurd/signal.h (_hurd_self_sigstate,
36517         _hurd_critical_section_lock, _hurd_critical_section_unlock):
36518         Explicit casts from void *.
36519         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
36520         * abi-tags: Rename gnu-gnu os into gnu.
36522         [BZ #4719]
36523         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
36524         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
36525         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
36526         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
36527         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
36528         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
36530         [BZ #17944]
36531         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
36532         duplicates ADDR->sun_path with sockaddr LEN limitation.
36533         * sysdeps/mach/hurd/connect.c: Include <string.h>
36534         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
36535         * sysdeps/mach/hurd/sendmsg.c: Likewise.
36536         * sysdeps/mach/hurd/sendto.c: Likewise.
36537         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
36538         implementing it by hand.
36540 2015-02-06  Roland McGrath  <roland@hack.frob.com>
36542         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
36543         Use sfi_breg on ldr.
36544         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
36545         Likewise.
36547         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
36548         it's defined.
36549         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
36550         Test SIGSETXID only if it's defined.
36552         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
36554         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
36555         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
36557         * nptl/tst-align2.c: Moved ...
36558         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
36559         * nptl/Makefile (tests): Remove tst-align2.
36560         * sysdeps/unix/sysv/linux/Makefile
36561         [$(subdir) = nptl] (tests): Add tst-align-clone.
36562         * nptl/tst-getpid1.c: Moved ...
36563         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
36564         * nptl/tst-getpid2.c: Moved ...
36565         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
36566         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
36567         * sysdeps/unix/sysv/linux/Makefile
36568         [$(subdir) = nptl] (tests): ... here.
36569         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
36570         * sysdeps/unix/sysv/linux/Makefile
36571         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
36573         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
36574         Drop trailing \n from perror argument.  Use return rather than exit.
36576         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
36577         on [SA_SIGINFO].
36578         * nptl/tst-cancel21.c (do_test): Likewise.
36579         * debug/tst-backtrace6.c: Include <signal.h> first thing.
36580         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
36581         [!SA_SIGINFO]: Make it a stub test.
36583         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
36584         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
36586         * posix/tst-getlogin.c: Move to ...
36587         * login/tst-getlogin.c: ... here.
36588         * posix/Makefile (tests): Move tst-getlogin to ...
36589         * login/Makefile (tests): ... here.
36591         * libio/tst-atime.c (do_test): Move local variables SV and E
36592         inside [ST_NOATIME] conditional.
36594         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
36596         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
36598         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
36599         (wait_code): New function replaces macro.
36600         Call nanosleep rather than syscall.
36602         * nptl/pt-system.c: Rewritten.  Put everything under
36603         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36604         Use IFUNC to redirect when possible.
36606         * nptl/pt-longjmp.c: Rewritten.  Put everything under
36607         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36608         Use IFUNC to redirect when possible.
36610         * nptl/pt-fork.c: Rewritten.  Put everything under
36611         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36612         Use IFUNC to redirect when possible.
36613         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
36615         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
36616         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
36617         unconditionally nowadays.  This included the only reference to
36618         __vdso_clock_gettime that appears outside libc proper.
36619         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
36620         Remove version set (containing only __vdso_clock_gettime).
36621         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36622         Add attribute_hidden.
36623         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36624         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
36625         libc_hidden_data_def.
36626         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36627         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36629         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
36630         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
36631         setrpcent, and getrpcport to ...
36632         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
36633         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
36634         getrpcbynumber_r, and getrpcent_r to ...
36635         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
36636         * inet/getrpcbyname.c: Moved ...
36637         * sunrpc/getrpcbyname.c: ... here.
36638         * inet/getrpcbyname_r.c: Moved ...
36639         * sunrpc/getrpcbyname_r.c: ... here.
36640         * inet/getrpcbynumber.c: Moved ...
36641         * sunrpc/getrpcbynumber.c: ... here.
36642         * inet/getrpcbynumber_r.c: Moved ...
36643         * sunrpc/getrpcbynumber_r.c: ... here.
36644         * inet/getrpcent.c: Moved ...
36645         * sunrpc/getrpcent.c: ... here.
36646         * inet/getrpcent_r.c: Moved ...
36647         * sunrpc/getrpcent_r.c: ... here.
36648         * inet/Makefile (routines): Move those to ...
36649         * sunrpc/Makefile (routines): ... here.
36650         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
36651         the $(subdirs) list.
36652         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
36653         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
36654         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
36655         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
36657         * elf/Makefile (routines): Include $(all-dl-routines), not just
36658         $(dl-routines).
36659         (rtld-routines): Likewise.  Use = rather than :=.
36660         * sysdeps/aarch64/Makefile [$(subdir) = elf]
36661         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
36662         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
36663         * sysdeps/arm/Makefile: Likewise.
36664         * sysdeps/i386/Makefile: Likewise.
36665         * sysdeps/x86_64/Makefile: Likewise.
36666         * sysdeps/hppa/Makefile [$(subdir) = elf]
36667         (sysdep_routines, sysdep-rtld-routines): Don't add
36668         $(sysdep-dl-routines) to these.
36669         * sysdeps/ia64/Makefile: Likewise.
36670         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
36671         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
36672         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
36673         Don't add dl-static to these; sysdep-dl-routines alone is enough.
36674         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
36675         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
36676         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
36677         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
36678         * sysdeps/powerpc/Makefile [$(subdir) = elf]
36679         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
36680         these; sysdep-dl-routines alone is enough.
36682 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
36684         [BZ #17932]
36685         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
36686         where multiplication results in zero and third argument is finite
36687         and nonzero.
36688         * math/auto-libm-test-in: Add more tests of fma.
36689         * math/auto-libm-test-out: Regenerated.
36691         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
36692         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
36693         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
36694         (_FP_CMP_EQ): Likewise.
36695         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
36697         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
36698         extra argument CHECK_NAN.  Redefine as wrapper around
36699         _FP_EXTEND_CNAN.
36701 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
36703         * version.h (RELEASE): Set to "stable".
36704         (VERSION): Set to "2.21"
36705         * include/features.h (__GLIBC_MINOR__): Set to 21.
36707         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
36709 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36710             Paul Eggert  <eggert@cs.ucla.edu>
36712         [BZ #16618]
36713         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
36714         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
36715         size in bytes. Store needed elements in wpmax. Use needed size
36716         in bytes for extend_alloca.
36718 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
36720         * manual/install.texi: Latest tested versions are GCC 4.9.2,
36721         binutls 2.25, and texinfo 5.2.
36722         * INSTALL: Regenerate.
36723         * sysdeps/nios2/configure: Regenerate.
36724         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
36725         * manual/contrib.texi: Update.
36726         * po/be.po: Update.
36727         * po/bg.po: Update.
36728         * po/ca.po: Update.
36729         * po/cs.po: Update.
36730         * po/da.po: Update.
36731         * po/de.po: Update.
36732         * po/el.po: Update.
36733         * po/eo.po: Update.
36734         * po/es.po: Update.
36735         * po/fi.po: Update.
36736         * po/fr.po: Update.
36737         * po/gl.po: Update.
36738         * po/hr.po: Update.
36739         * po/hu.po: Update.
36740         * po/ia.po: Update.
36741         * po/id.po: Update.
36742         * po/it.po: Update.
36743         * po/ja.po: Update.
36744         * po/ko.po: Update.
36745         * po/lt.po: Update.
36746         * po/nb.po: Update.
36747         * po/nl.po: Update.
36748         * po/pl.po: Update.
36749         * po/pt_BR.po: Update.
36750         * po/ru.po: Update.
36751         * po/rw.po: Update.
36752         * po/sk.po: Update.
36753         * po/sl.po: Update.
36754         * po/sv.po: Update.
36755         * po/tr.po: Update.
36756         * po/uk.po: Update.
36757         * po/vi.po: Update.
36758         * po/zh_CN.po: Update.
36759         * po/zh_TW.po: Update.
36761         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
36762         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
36763         * sysdeps/hppa/dl-irel.h: Remove #warning.
36764         * sysdeps/hppa/entry.h: Provide prototype for
36765         __canonicalize_funcptr_for_compare and cast argument.
36766         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
36767         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
36768         * sysdeps/hppa/sotruss-lib.c: New file.
36769         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
36770         (atomic_compare_and_exchange_val_acq): Use __typeof__.
36771         (atomic_compare_and_exchange_bool_acq): Likewise.
36772         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
36773         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36775         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36776         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36777         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36779 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
36781         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36782         called function in non-PIC case.
36784 2015-01-31  David S. Miller  <davem@davemloft.net>
36786         * sysdeps/sparc/sparc32/bits/atomic.h
36787         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36788         unlock not after it.
36789         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36790         volatile register usage warnings from the compiler.
36792         * sysdeps/sparc/nptl/sem_init.c: Delete.
36793         * sysdeps/sparc/nptl/sem_post.c: Delete.
36794         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36795         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36796         * sysdeps/sparc/sparc32/sem_init.c: New file.
36797         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36798         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36799         padding explicitly initialized.
36800         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36801         padding for in-semaphore spinlock.
36802         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36803         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36804         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36805         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36806         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36807         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36808         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36809         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36810         version.
36811         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36812         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36814 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36816         [BZ #17801]
36817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36818         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36819         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36820         New.
36821         (index_AVX_Fast_Unaligned_Load): Likewise.
36822         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36823         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36824         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36825         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36826         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36827         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36828         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36829         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36830         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36832 2015-01-29  Andreas Schwab  <schwab@suse.de>
36834         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
36836 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
36838         [BZ #17892]
36839         * nscd/nscd_stat.c (send_stats): Initialize DATA.
36841 2015-01-28  Martin Sebor  <msebor@redhat.com>
36843         * math/README.libm-test: Clarify. Add "How to read the test output."
36845 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
36847         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
36848         Define to 0.
36850 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
36852         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
36853         (__HAVE_64B_ATOMICS): Define to 0.
36855 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36857         [BZ #17885]
36858         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
36859         value to set as new flag.
36861         [BZ #16576]
36862         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
36863         and use _ARCH_PPCSQ instead.
36864         (__ieee754_sqrt): Likewise.
36865         (__ieee754_sqrtf): Likewise.
36866         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
36867         _ARCH_PPCSQ is defined.
36868         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
36869         fsqrt instruction.
36870         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
36871         _ARCH_PPCSQ is defined.
36872         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
36873         fsqrts instruction.
36874         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
36876 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36878         * iconv/loop.c: Suppress array out of bound warning caused by GCC
36879         bug (GCC BZ #64739).
36881 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
36883         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
36884         Mark _retval as used.
36885         (lll_futex_wake_unlock): Likewise.
36886         (lll_futex_timed_wait_requeue_pi): Likewise.
36888         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36889         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36890         register variables.
36892         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
36893         libm_hidden_def.
36895         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
36896         (__bswap_64): Mark as __always_inline.
36898 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
36900         [BZ #15378]
36901         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
36902         when none of the search directories exist.
36904 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36906         [BZ #17869]
36907         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
36908         power8 in .machine directive.
36910         [BZ #17868]
36911         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
36912         set dependency from opd value.
36914 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36917         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
36918         architecture.
36920 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36922         [BZ #17870]
36923         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
36924         with uint64_t.
36925         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
36926         (uint64_t) 1.
36927         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36928         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
36929         Replace 1UL with (uint64_t) 1.
36930         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
36931         int with uint64_t.
36933 2015-01-23  Roland McGrath  <roland@hack.frob.com>
36935         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
36936         (if_freenameindex): Likewise.
36938         * resource/getrlimit64.c: Add missing libc_hidden_def.
36940 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
36942         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
36943         __label__.
36944         (_FP_FMA): Likewise.
36945         (_FP_TO_INT_ROUND): Likewise.
36946         (_FP_FROM_INT): Likewise.
36948 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36950         [BZ #16418]
36951         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36952         Make code racy and cancel safe.
36954 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
36956         * sysdeps/arm/unwind-resume.h: Fix copyright year.
36957         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
36958         attribution.
36960         * pwd/tst-getpw.c: Rewrite.
36962         [BZ #17702]
36963         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
36964         (modules-names): Add moddummy1 and moddummy2.
36965         ($(objpfx)tst-rec-dlopen): Define.
36966         * dlfcn/moddummy1.c: New file.
36967         * dlfcn/moddummy2.c: New file.
36968         * dlfcn/tst-rec-dlopen.c: New file.
36969         * elf/dl-cache.c (_dl_load_cache_lookup):
36970         Return char*. Copy result with alloca/strcpy/strdup.
36971         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
36972         returns char*. Free cached. If not saving realname
36973         free cached.
36974         * elf/dl-open.c (dl_open_worker): Do not assert that
36975         _r_debug->r_state is RT_CONSISTENT.
36976         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
36977         returns char*.
36979 2015-01-21  Torvald Riegel  <triegel@redhat.com>
36980             Carlos O'Donell  <carlos@redhat.com>
36982         [BZ #12674]
36983         * nptl/sem_waitcommon.c: New file.
36984         * nptl/sem_wait.c: Include sem_waitcommon.c.
36985         (__sem_wait_cleanup, do_futex_wait): Remove.
36986         (__new_sem_wait): Adapt.
36987         (__new_sem_trywait): New function.
36988         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
36989         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
36990         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
36991         (sem_timedwait): Adapt.
36992         * nptl/sem_post.c (__new_sem_post): Adapt.
36993         (futex_wake): New function.
36994         (__old_sem_post): Add release MO fence.
36995         * nptl/sem_open.c (sem_open): Adapt.
36996         * nptl/sem_init.c (__new_sem_init): Adapt.
36997         (futex_private_if_supported): New function.
36998         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
36999         (__old_sem_getvalue): Add using previous code.
37000         * sysdeps/nptl/internaltypes.h: Adapt.
37001         * nptl/tst-sem13.c (do_test): Adapt.
37002         * nptl/tst-sem11.c (main): Adapt.
37003         * nptl/sem_trywait.c: Remove.
37004         * nptl/DESIGN-sem.txt: Remove.
37005         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
37006         (gen-as-const-headers): Remove structsem.sym.
37007         * nptl/structsem.sym: Remove.
37008         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
37009         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
37010         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
37011         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
37012         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
37013         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
37014         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37015         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
37016         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
37017         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
37018         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
37019         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
37020         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
37021         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
37022         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
37023         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
37024         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
37025         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
37026         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
37027         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
37028         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
37029         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
37031 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
37033         * INSTALL: Regenerated.
37035         * po/libc.pot: Regenerated.
37037 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
37038             Sandra Loosemore  <sandra@codesourcery.com>
37039             Andrew Jenner  <andrew@codesourcery.com>
37040             Joseph Myers  <joseph@codesourcery.com>
37041             Nathan Sidwell  <nathan@codesourcery.com>
37043         * NEWS: Mention new Nios II port.
37044         * sysdeps/nios2/Implies: New file.
37045         * sysdeps/nios2/Makefile: New file.
37046         * sysdeps/nios2/Subdirs: New file.
37047         * sysdeps/nios2/Versions: New file.
37048         * sysdeps/nios2/__longjmp.S: New file.
37049         * sysdeps/nios2/abort-instr.h: New file.
37050         * sysdeps/nios2/backtrace.c: New file.
37051         * sysdeps/nios2/bits/endian.h: New file.
37052         * sysdeps/nios2/bits/fenv.h: New file.
37053         * sysdeps/nios2/bits/link.h: New file.
37054         * sysdeps/nios2/bits/setjmp.h: New file.
37055         * sysdeps/nios2/bsd-_setjmp.S: New file.
37056         * sysdeps/nios2/bsd-setjmp.S: New file.
37057         * sysdeps/nios2/configure: New generated file.
37058         * sysdeps/nios2/configure.ac: New file.
37059         * sysdeps/nios2/crti.S: New file.
37060         * sysdeps/nios2/crtn.S: New file.
37061         * sysdeps/nios2/dl-init.c: New file.
37062         * sysdeps/nios2/dl-machine.h: New file.
37063         * sysdeps/nios2/dl-sysdep.h: New file.
37064         * sysdeps/nios2/dl-tls.h: New file.
37065         * sysdeps/nios2/dl-trampoline.S: New file.
37066         * sysdeps/nios2/gccframe.h: New file.
37067         * sysdeps/nios2/gmp-mparam.h: New file.
37068         * sysdeps/nios2/jmpbuf-offsets.h: New file.
37069         * sysdeps/nios2/jmpbuf-unwind.h: New file.
37070         * sysdeps/nios2/ldsodefs.h: New file.
37071         * sysdeps/nios2/libc-tls.c: New file.
37072         * sysdeps/nios2/libm-test-ulps: New file.
37073         * sysdeps/nios2/machine-gmon.h: New file.
37074         * sysdeps/nios2/math-tests.h: New file.
37075         * sysdeps/nios2/math_private.h: New file.
37076         * sysdeps/nios2/memusage.h: New file.
37077         * sysdeps/nios2/nptl/Makefile: New file.
37078         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
37079         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
37080         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
37081         * sysdeps/nios2/nptl/pthreaddef.h: New file.
37082         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
37083         * sysdeps/nios2/nptl/tls.h: New file.
37084         * sysdeps/nios2/preconfigure: New file.
37085         * sysdeps/nios2/s_fma.c: New file.
37086         * sysdeps/nios2/s_fmaf.c: New file.
37087         * sysdeps/nios2/setjmp.S: New file.
37088         * sysdeps/nios2/sfp-machine.h: New file.
37089         * sysdeps/nios2/sotruss-lib.c: New file.
37090         * sysdeps/nios2/stackguard-macros.h: New file.
37091         * sysdeps/nios2/stackinfo.h: New file.
37092         * sysdeps/nios2/start.S: New file.
37093         * sysdeps/nios2/sysdep.h: New file.
37094         * sysdeps/nios2/tls-macros.h: New file.
37095         * sysdeps/nios2/tst-audit.h: New file.
37096         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
37097         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
37098         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
37099         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
37100         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
37101         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
37102         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
37103         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
37104         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
37105         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
37106         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
37107         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
37108         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
37109         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
37110         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
37111         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
37112         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
37113         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
37114         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
37115         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
37116         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
37117         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
37118         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
37119         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
37120         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
37121         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
37122         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
37123         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
37124         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
37125         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
37126         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
37127         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
37128         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
37129         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
37130         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
37131         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
37132         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
37133         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
37134         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
37135         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
37136         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
37137         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
37138         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
37139         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
37141 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37143         [BZ #17844]
37144         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
37145         (getutent): Use weak_alias in non SHARED case
37146         and default_symbol_version in SHARED case.
37147         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
37148         (getutent_r, pututline): Likewise.
37149         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
37150         (getutid): Likewise.
37151         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37152         (getutid_r): Likewise.
37153         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37154         (getutline): Likewise.
37155         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37156         (getutline_r): Likewise.
37157         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37158         (updwtmp): Likewise.
37160 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37162         [BZ #17848]
37163         * sysdeps/s390/s390-32/memcmp.S
37164         (memcmp_g5): Rename to __memcmp_g5.
37165         * sysdeps/s390/s390-32/memcpy.S
37166         (memcpy_g5): Rename to __memcpy_g5.
37167         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37168         (memcpy_mvcle) Rename to __memcpy_mvcle.
37169         * sysdeps/s390/s390-32/memset.S
37170         (memset_g5): Rename to __memset_g5.
37171         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37172         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37173         and use prefixed functions.
37174         * sysdeps/s390/s390-32/multiarch/memcmp.S
37175         (memcmp_z196): Rename to __memcmp_z196.
37176         (memcmp_z10): Rename to __memcmp_z10.
37177         (memcmp): Set alias to __memcmp_g5.
37178         (bcmp): Set alias to __memcmp_g5.
37179         * sysdeps/s390/s390-32/multiarch/memcpy.S
37180         (memcpy_z196): Rename to __memcpy_z196.
37181         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37182         (memcpy_z10): Rename to __memcpy_z10.
37183         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37184         (memcpy): Set alias to __memcpy_g5.
37185         * sysdeps/s390/s390-32/multiarch/memset.S
37186         (memset_z196): Rename to __memset_z196.
37187         Jump to __memset_mvcle instead of memset_mvcle.
37188         (memset_z10): Rename to __memset_z10.
37189         Jump to __memset_mvcle instead of memset_mvcle.
37190         (memset_mvcle) Rename to __memset_mvcle.
37191         (memset): Set alias to __memset_g5.
37192         * sysdeps/s390/s390-64/memcmp.S
37193         (memcmp_z900): Rename to __memcmp_z900.
37194         * sysdeps/s390/s390-64/memcpy.S
37195         (memcpy_z900): Rename to __memcpy_z900.
37196         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37197         (memcpy_mvcle) Rename to __memcpy_mvcle.
37198         * sysdeps/s390/s390-64/memset.S
37199         (memset_z900): Rename to __memset_z900.
37200         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37201         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37202         and use prefixed functions.
37203         * sysdeps/s390/s390-64/multiarch/memcmp.S
37204         (memcmp_z196): Rename to __memcmp_z196.
37205         (memcmp_z10): Rename to __memcmp_z10.
37206         (memcmp): Set alias to __memcmp_z900.
37207         (bcmp): Set alias to __memcmp_z900.
37208         * sysdeps/s390/s390-64/multiarch/memcpy.S
37209         (memcpy_z196): Rename to __memcpy_z196.
37210         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37211         (memcpy_z10): Rename to __memcpy_z10.
37212         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37213         (memcpy): Set alias to __memcpy_z900.
37214         * sysdeps/s390/s390-64/multiarch/memset.S
37215         (memset_z196): Rename to __memset_z196.
37216         Jump to __memset_mvcle instead of memset_mvcle.
37217         (memset_z10): Rename to __memset_z10.
37218         Jump to __memset_mvcle instead of memset_mvcle.
37219         (memset_mvcle) Rename to __memset_mvcle.
37220         (memset): Set alias to __memset_z900.
37222 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37224         [BZ #17748]
37225         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37226         __fesetenv instead of fesetenv.
37228 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37230         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37231         macro.
37233 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37235         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37236         regression on LE.
37238         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37239         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37240         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37241         strncmp-power8 object.
37242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37243         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37244         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37245         * NEWS: Update.
37247 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37248             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37250         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37251         trailing byte check.
37253 2015-01-13  David S. Miller  <davem@davemloft.net>
37255         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37257 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37259         * login/logout.c (logout): Use memset rather than bzero.
37260         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37261         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37262         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37263         (_gethtbyaddr): Likewise.
37264         * locale/programs/simple-hash.c (bcopy): Macro removed.
37266 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37268         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37269         Add strcmp-power8 object.
37270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37271         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37272         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37273         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37274         __strcmp_power8 implementation.
37275         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37276         * NEWS: Update.
37278         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37279         Add strncpy-power8 and stpncpy-power8 objects.
37280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37281         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37282         implementations.
37283         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37284         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37285         __stpncpy_power8 implementation.
37286         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37287         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37288         __strncpy_power8 implementation.
37289         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37290         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37291         * NEWS: Update.
37293         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37294         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37295         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37297         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37298         strncat-power8 object.
37299         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37300         __strcat_power8 implementation.
37301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37302         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37303         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37304         optimized strcat for power8.
37306         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37307         strcpy-power8 and stpcpy-power8 objects.
37308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37309         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37310         implementations.
37311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37312         multiarch stpcpy implementation for POWER8.
37313         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37314         multiarch strcpy implementation for POWER8.
37315         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37316         __strcpy_power8 function.
37317         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37318         stpcpy for POWER8.
37319         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37320         strcpy for POWER8.
37321         * NEWS: Update.
37323 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37325         [BZ #16009]
37326         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37327         weights and rules. Use do_xfrm_cached if data fits in cache,
37328         do_xfrm otherwise.  Moved former main loop to...
37329         * (do_xfrm_cached): New function.
37330         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37331         find_idx, find_position and stack_push.
37332         * (find_idx): New function.
37333         * (find_position): Likewise.
37334         * localedata/sort-test.sh: Added test run for do_xfrm.
37335         * localedata/xfrm-test.c (main): Added command line option
37336         -nocache to run the test with strings that are too large for
37337         the STRXFRM cache.
37339 2015-01-13  Torvald Riegel  <triegel@redhat.com>
37341         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37342         variable to lll_futex_wake call, not the value itself.
37344 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
37346         [BZ #17803]
37347         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37348         twom64.  Adjust value to 0x1p-64L.
37349         (__scalblnl): Only return standard underflowing result for K <=
37350         -64 not K <= -63; adjust exponent for underflowing result by 64
37351         not 63.
37352         * math/libm-test.inc (scalbn_test_data): Add more tests.
37353         (scalbln_test_data): Likewise.
37355         [BZ #17834]
37356         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37357         0x1p63L.
37358         (__scalblnl): Get new exponent of adjusted subnormal value from ES
37359         not HX.
37360         * math/libm-test.inc (scalbn_test_data): Add more tests.
37361         (scalbln_test_data): Likewise.
37363 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37364             Stefani Seibold  <stefani@seibold.net>
37366         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37367         (sysdep_routines): Add dl-vdso here, ...
37368         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37369         (sysdep_routines): ... not here.
37370         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37371         fallback when vDSO is not presented.
37372         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37373         Define with libc_hidden_proto/libc_hidden_data_def definitions.
37374         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37375         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37376         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37377         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37378         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37379         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37380         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37381         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37382         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
37383         fallback configurable symbol when vDSO is not available.
37384         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37385         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
37386         be able to redefine fallback symbol when vDSO is not available.
37387         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37388         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37390 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37392         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37393         (TLS_INIT_TP): Add tm_capable initialization.
37394         (TLS_DEFINE_INIT_TP): Likewise.
37395         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37396         TCB.
37397         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37398         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37399         calculation.
37400         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37401         transactoion is lock elision is built and TCB tm_capable is set.
37402         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37404         (INTERNAL_SYSCALL_NCS): Likewise.
37405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37406         (INTERNAL_SYSCALL_NCS): Likewise.
37407         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37409         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37410         for powerpc.
37411         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37412         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37413         and remove it for 32 bits case.
37414         [pthread_rwlock_t] (__rwelision): New field for lock elision.
37415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37416         initialization.
37417         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37418         Disable lock elision with rdlocks if elision is not available.
37420         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37421         (sysdep_routines): Add lock elision objects.
37422         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37423         [pthread_mutex_t] (__spins): Rework to add lock elision field.
37424         [pthread_mutex_t] (__elision): Add field.
37425         [__PTHREAD_SPINS]: Adjust to init lock elision field.
37426         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37427         elision definitions for powerpc.
37428         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37429         implementation of lock elision for powerpc.
37430         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37431         implementation of timed lock elision for powerpc.
37432         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37433         implementation of trylock with lock elision for powerpc.
37434         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37435         implementaion of unlock for lock elision for powerpc.
37436         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37437         automatic enable lock elision for mutexes.
37438         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37439         transaction execution definitions for powerpc.
37440         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37441         definitions.
37442         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37443         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
37444         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
37445         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
37446         * NEWS: Update.
37448 2015-01-09  Roland McGrath  <roland@hack.frob.com>
37450         * sysdeps/posix/shm-directory.c: Use <> rather than ""
37451         for #include of <shm-directory.h>.
37453 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
37455         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
37456         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
37458 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
37460         [BZ #17791]
37461         * NEWS: Mention bug fix.
37462         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
37463         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
37464         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
37466 2015-01-09  Torvald Riegel <triegel@redhat.com>
37468         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
37470 2015-01-09  Torvald Riegel <triegel@redhat.com>
37472         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
37474 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37476         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
37477         pointer and cast to uintptr_t.
37479 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37481         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
37482         removed.
37483         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37485 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37487         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
37488         of 0.
37490 2015-01-08  Roland McGrath  <roland@hack.frob.com>
37492         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
37493         <nptl/pthreadP.h> instead.
37494         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
37496         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
37497         already defined.
37498         [__SIGRTMIN] (init): Function removed.
37499         [__SIGRTMIN] (initialized): Variable removed.
37500         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
37501         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
37502         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
37503         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
37504         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
37505         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
37506         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
37507         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
37508         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
37509         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
37510         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
37511         * sysdeps/nptl/allocrtsig.c: New file.
37512         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
37513         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
37514         * sysdeps/generic/testrtsig.h: File removed.
37516         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
37517         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
37519         * nptl/nptl-init.c (pthread_functions): Conditionalize
37520         .ptr__nptl_setxid initialization on [SIGSETXID].
37522         * sysdeps/nptl/sys/procfs.h: New file.
37523         * nptl_db/Makefile (headers): Add it.
37524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
37526         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
37527         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
37528         * nptl/pthread_attr_setaffinity.c: Include it.
37529         * nptl/pthread_setattr_default_np.c: Likewise.
37530         * nptl/check-cpuset.h: New file.
37532 2015-01-08  Richard Henderson  <rth@redhat.com>
37534         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
37535         (CFLAGS-tst-execstack-prog.c): Likewise.
37536         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
37538 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
37539             Sandra Loosemore  <sandra@codesourcery.com>
37540             Andrew Jenner  <andrew@codesourcery.com>
37541             Joseph Myers  <joseph@codesourcery.com>
37542             Nathan Sidwell  <nathan@codesourcery.com>
37544         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
37545         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
37546         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
37547         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
37548         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
37549         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
37550         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
37551         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
37552         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
37553         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
37554         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
37555         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
37556         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
37557         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
37558         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
37559         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
37560         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
37562 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37564         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
37565         timespec struct member in syscall macro.
37566         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
37567         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
37568         first timeval struct member in syscall macro.
37569         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
37571 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
37573         [BZ #17748]
37574         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
37575         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
37576         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
37577         __feupdateenv and define as weak alias of __feupdateenv.  Use
37578         libm_hidden_weak.
37579         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
37580         libm_hidden_def.
37581         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
37582         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
37583         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37584         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
37585         libm_hidden_def.
37586         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
37587         __feupdateenv and define as weak alias of __feupdateenv.  Use
37588         libm_hidden_weak.
37589         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
37590         libm_hidden_def.
37591         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
37592         __feupdateenv and define as weak alias of __feupdateenv.  Use
37593         libm_hidden_weak.
37594         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
37595         libm_hidden_def.
37596         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37597         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37598         (__feupdateenv): Likewise.
37599         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
37600         __feupdateenv and define as weak alias of __feupdateenv.  Use
37601         libm_hidden_weak.
37602         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37603         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
37604         libm_hidden_def.
37605         * sysdeps/tile/math_private.h (__feupdateenv): New inline
37606         function.
37607         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
37608         libm_hidden_def.
37609         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
37610         __feupdateenv instead of feupdateenv.
37611         (default_libc_feupdateenv_test): Likewise.
37612         (libc_feresetround_ctx): Likewise.
37614 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37616         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
37617         prototype.
37619 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
37621         * posix/regcomp.c (parse_bracket_exp): Initialize type to
37622         COLL_SYM in a couple of places to avoid uninitialized variable
37623         wanings on tilegx gcc 4.8.2.
37625 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37627         * sysdeps/aarch64/strcpy.S: New file.
37628         * sysdeps/aarch64/stpcpy.S: New file.
37629         * NEWS: Updated.
37631 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37633         * sysdeps/aarch64/strrchr.S: New file.
37634         * NEWS: Updated.
37636 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
37638         [BZ #17658]
37639         * stdlib/setenv.c: Fix memory leak when setting large,
37640         duplicate string.
37642 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
37644         [BZ #17273]
37645         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
37646         and tabs from buffer before parsing fstab entry.
37647         * misc/tst-mntent.c (main): Add test for mount entry with
37648         trailing spaces and tabs.
37650 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
37652         [BZ #17748]
37653         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
37654         * math/fesetround.c (fesetround): Rename to __fesetround and
37655         define as weak alias of __fesetround.  Use libm_hidden_weak.
37656         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
37657         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
37658         * sysdeps/arm/fesetround.c (fesetround): Likewise.
37659         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
37660         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
37661         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
37662         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
37663         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
37664         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
37665         __fesetround_inline.
37666         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
37667         __fesetround_inline instead of __fesetround.
37668         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
37669         __fesetround and define as weak alias of __fesetround.  Use
37670         libm_hidden_weak.  Call __fesetround_inline instead of
37671         __fesetround.
37672         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
37673         __fesetround and define as weak alias of __fesetround.  Use
37674         libm_hidden_weak.
37675         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
37676         Likewise.
37677         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
37678         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37679         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
37680         * sysdeps/tile/math_private.h (__fesetround): New inline function.
37681         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
37682         __fesetround and define as weak alias of __fesetround.  Use
37683         libm_hidden_weak.
37684         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
37685         __fesetround instead of fesetround.
37686         (default_libc_feholdexcept_setround): Likewise.
37687         (libc_feholdsetround_ctx): Likewise.
37688         (libc_feholdsetround_noex_ctx): Likewise.
37690         [BZ #17748]
37691         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
37692         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
37693         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37694         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37695         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37696         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
37697         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37698         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37699         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37700         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37701         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37702         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37703         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37704         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37705         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
37706         libm_hidden_def.
37707         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
37708         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
37709         Likewise.
37710         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37711         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37712         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37713         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37714         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
37715         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37716         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37717         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
37718         __fesetenv instead of fesetenv.
37719         (libc_feresetround_noex_ctx): Likewise.
37720         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37721         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37722         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
37723         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37724         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37725         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37726         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37727         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37728         (__feupdateenv): Likewise.
37729         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37730         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37731         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37732         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
37734 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37736         [BZ #17806]
37737         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
37738         addresses have been freed.
37740 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37742         * resolv/res_init.c (__res_vinit): Improve comments about nserv
37743         and nservall.
37745 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
37747         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
37748         Clean up check_pf allocation pattern. addresses
37750 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37752         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
37753         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
37754         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
37755         * nptl/pthread_exit.c (__pthread_exit): Likewise.
37756         * nptl/pthread_join.c (pthread_join): Likewise.
37757         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
37758         * sysdeps/posix/waitid.c (__waitid): Likewise.
37759         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
37760         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
37761         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
37762         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
37763         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
37764         Likewise.
37765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
37766         (__libc_pread64): Likewise.
37767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
37768         (__libc_pwrite): Likewise.
37769         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37770         (__libc_pwrite64): Likewsie.
37771         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
37772         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
37773         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
37774         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37775         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37776         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37777         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37779         Likewise.
37780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37781         (__libc_pread64): Likewise.
37782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37783         Likewise.
37784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37785         (__libc_pwrite64): Likewise.
37786         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37787         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37788         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37789         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37790         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37791         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37792         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37793         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37794         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37795         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37796         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37797         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37798         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37799         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37800         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37801         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37802         Likewise.
37804 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37806         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37807         (CFLAGS-test-double.c): Likewise.
37808         (CFLAGS-test-ldouble.c): Likewise.
37809         (CPPFLAGS-test-ifloat.c): Likewise.
37810         (CPPFLAGS-test-idouble.c): Likewise.
37811         (CPPFLAGS-test-ildoubl.c): Likewise.
37812         (CFLAGS-test-test-fenv.c): Remove variable.
37813         (CFLAGS-test-misc.c): Likewise.
37815 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37817         [BZ #17797]
37818         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37819         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37820         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37821         CLOCKS_PER_SEC == 1000000.
37822         * time/clocktest.c (main): Replace %ld with %jd and cast to
37823         intmax_t.
37825 2015-01-05  Roland McGrath  <roland@hack.frob.com>
37827         * sysdeps/generic/unwind-resume.h: New file.
37828         * sysdeps/gnu/unwind-resume.c: Include it.
37829         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37830         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37831         argument list.
37832         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37833         global rather than static.
37834         (_Unwind_Resume): Update user.
37835         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
37836         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
37837         rather than static.  Add __attribute__ ((cold)).
37838         (_Unwind_Resume, __gcc_personality_v0): Update callers.
37839         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
37840         * sysdeps/arm/arm-unwind-resume.S: New file.
37841         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
37842         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
37843         * sysdeps/arm/Makefile [$(subdir) = csu]
37844         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
37845         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37846         Add rt-arm-unwind-resume.
37847         [$(subdir) = nptl]
37848         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37849         Add pt-arm-unwind-resume.
37850         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37851         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
37853 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37855         [BZ #17748]
37856         * include/fenv.h (__feholdexcept): Declare.  Use
37857         libm_hidden_proto.
37858         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
37859         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
37860         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37861         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
37862         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
37863         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
37864         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
37865         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37866         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
37867         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
37868         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37869         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
37870         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
37871         (feholdexcept): Likewise.
37872         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37873         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37874         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37875         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37876         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
37877         __feholdexcept instead of feholdexcept.
37878         (default_libc_feholdexcept_setround): Likewise.
37880 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37882         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
37883         to avoid using stl/str to align destination.
37885 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37887         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
37889 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37891         [BZ #17796]
37892         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
37893         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
37894         Define as weak alias not strong alias.
37896 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37898         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
37899         bltzal with addiupc.
37900         (RTLD_START): Ditto.
37902 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
37904         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
37905         for __vdso_* functions in declarations.
37906         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
37907         definitions.
37908         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
37909         INTERNAL_VSYSCALL): Use struct return types to check for error.
37911         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
37912         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
37913         function with cast from llround().
37914         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
37915         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
37916         Define.
37918 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37920         [BZ #17793]
37921         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
37922         Define as weak alias not strong alias.
37924         [BZ #17635]
37925         * ctype/ctype-c99.c: New file.  isblank implementation moved from
37926         ...
37927         * ctype/ctype-extn.c: ... here.
37928         (__isblank_l): Move to ...
37929         * ctype/ctype-c99_l.c: ... here.  New file.
37930         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
37931         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
37932         Remove variable.
37933         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37934         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37935         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37936         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37937         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37939         [BZ #17777]
37940         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
37941         (posix_fadvise64): Define as weak alias not strong alias.
37942         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37943         (posix_fallocate64): Likewise.
37944         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37945         Remove variable.
37946         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37947         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37948         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37949         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37950         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37952 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
37954         [BZ #16191]
37955         * NEWS: Mention bug fix.
37956         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
37957         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37958         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
37959         (HOST_STACK_END_ADDR): Likewise.
37961 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37963         [BZ #17748]
37964         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
37965         * math/fegetround.c (fegetround): Rename to __fegetround and
37966         define as weak alias of __fegetround.  Use libm_hidden_weak.
37967         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
37968         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
37969         * sysdeps/arm/fegetround.c (fegetround): Likewise.
37970         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
37971         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37972         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
37973         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
37974         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
37975         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37976         Undefine after rather than before function definition; use
37977         parentheses around function name in definition.
37978         (__fegetround): Also undefine macro after function definition.
37979         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
37980         __fegetround and define as weak alias of __fegetround.  Use
37981         libm_hidden_weak.  Do not undefine as macro.
37982         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37983         Likewise.
37984         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
37985         __fegetround and define as weak alias of __fegetround.  Use
37986         libm_hidden_weak.
37987         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37988         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37989         * sysdeps/tile/math_private.h (__fegetround): New inline function.
37990         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
37991         __fegetround and define as weak alias of __fegetround.  Use
37992         libm_hidden_weak.
37993         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
37994         __fegetround instead of fegetround.
37996         [BZ #17782]
37997         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
37998         Condition macro definition on [__USE_MISC].
38000         [BZ #17781]
38001         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38002         (struct sigaction): Change type of sa_flags field to int.
38004         [BZ #17780]
38005         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
38006         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
38007         __glibc_reserved0.
38009         * nptl/version.c (banner): Use single year in copyright notice.
38011         * NEWS: Update copyright dates.
38012         * catgets/gencat.c (print_version): Likewise.
38013         * csu/version.c (banner): Likewise.
38014         * debug/catchsegv.sh: Likewise.
38015         * debug/pcprofiledump.c (print_version): Likewise.
38016         * debug/xtrace.sh (do_version): Likewise.
38017         * elf/ldconfig.c (print_version): Likewise.
38018         * elf/ldd.bash.in: Likewise.
38019         * elf/pldd.c (print_version): Likewise.
38020         * elf/sotruss.sh: Likewise.
38021         * elf/sprof.c (print_version): Likewise.
38022         * iconv/iconv_prog.c (print_version): Likewise.
38023         * iconv/iconvconfig.c (print_version): Likewise.
38024         * locale/programs/locale.c (print_version): Likewise.
38025         * locale/programs/localedef.c (print_version): Likewise.
38026         * login/programs/pt_chown.c (print_version): Likewise.
38027         * malloc/memusage.sh (do_version): Likewise.
38028         * malloc/memusagestat.c (print_version): Likewise.
38029         * malloc/mtrace.pl: Likewise.
38030         * manual/libc.texinfo: Likewise.
38031         * nptl/version.c (banner): Likewise.
38032         * nscd/nscd.c (print_version): Likewise.
38033         * nss/getent.c (print_version): Likewise.
38034         * nss/makedb.c (print_version): Likewise.
38035         * posix/getconf.c (main): Likewise.
38036         * scripts/test-installation.pl: Likewise.
38037         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
38039 2015-01-02  Will Newton  <will.newton@linaro.org>
38041         * sysdeps/arm/armv7/configure: Removed.
38042         * sysdeps/arm/armv7/configure.ac: Likewise.
38044 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38046         * All files with FSF copyright notices: Update copyright dates
38047         using scripts/update-copyrights.
38048         * intl/plural.c: Regenerated.
38049         * locale/programs/charmap-kw.h: Likewise.
38050         * locale/programs/locfile-kw.h: Likewise.
38052 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38054         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
38056 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38058         [BZ #17748]
38059         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
38060         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
38061         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38062         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38063         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38064         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
38065         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38066         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
38067         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38068         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38069         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38070         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38071         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38072         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38073         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
38074         libm_hidden_def.
38075         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
38076         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
38077         Likewise.
38078         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38079         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38080         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38081         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38082         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
38083         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38084         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38085         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
38086         __fegetenv instead of fegetenv.
38087         (libc_feholdsetround_noex_ctx): Likewise.
38089 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38091         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
38092         (Elf_MIPS_ABIFlags_v0): New structure.
38093         (EF_MIPS_FP64): Define.
38094         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
38095         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
38096         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
38097         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
38098         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
38099         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
38100         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
38101         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
38102         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
38103         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
38104         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
38105         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
38106         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
38107         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
38108         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
38109         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
38110         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
38111         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
38112         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
38113         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
38114         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
38115         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
38116         field.
38117         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
38118         EF_MIPS_FP64.
38119         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
38120         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
38121         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
38122         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
38123         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
38124         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
38125         * sysdeps/mips/tst-abi-interlink.c: Likewise.
38126         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
38127         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
38128         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
38129         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
38130         record the current FP ABI extension.
38131         (mips-mode-switch): Define to show if kernel headers support mode
38132         switching.
38133         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
38134         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
38135         supported SYSV ABI version to 3.
38136         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
38137         feature.
38139 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38140             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38142         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
38143         path.
38144         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
38146 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38148         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
38149         __fegetround and redefine to call __fegetround.  Remove condition
38150         on [!__NO_MATH_INLINES].
38151         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38152         function.
38153         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38154         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38155         Remove macro.
38156         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38157         instead of <fenv_libc.h>.
38158         (__llrintl): Call fegetround instead of __fegetround.
38159         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38160         instead of <fenv_libc.h>.
38161         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38162         (__lrintl): Call fegetround instead of __fegetround.
38163         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38164         instead of <fenv_libc.h>.
38165         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38166         (__rintl): Call fegetround instead of __fegetround.
38168 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38170         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38171         arrays.
38173 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38175         [BZ #17775]
38176         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38177         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38178         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38180 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38182         * sysdeps/i386/tls-macros.h: Include <features.h>.
38183         (TLS_LE): Use non-PIC version for GCC >= 5.0.
38184         (TLS_IE): Likewise.
38185         (TLS_LD): Likewise.
38186         (TLS_GD): Likewise.
38187         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38188         define for GCC >= 5.0.
38190 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
38192         * math/test-fenv.c (test_single_exception, set_single_exc,
38193         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38194         feexcp_mask_test, feenable_test, fe_single_test): Add
38195         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38196         case where they are not used.
38197         * math/libm-test.inc: Likewise.
38198         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38199         unused in the absence of FP rounding/exception support.
38200         * stdio-common/tst-printf-round.c: Likewise.
38201         * stdlib/tst-strtod-round.c: Likewise.
38202         * stdlib/tst-strtod-underflow.c: Likewise.
38204 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
38206         [BZ #17723]
38207         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38208         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38209         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38210         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38211         libm_hidden_weak.
38212         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38213         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38214         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38215         libm_hidden_def.
38216         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38217         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38218         libm_hidden_weak.
38219         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38220         Likewise.
38221         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38222         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38223         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38224         libm_hidden_weak.
38225         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38226         libm_hidden_def.
38227         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38228         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38229         (__feraiseexcept): Likewise.
38230         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38231         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38232         libm_hidden_weak.
38233         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38234         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38235         libm_hidden_def.
38236         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38237         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38238         Use libm_hidden_def.
38239         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38240         libm_hidden_def.
38241         (feraiseexcept): Define as weak not strong alias.  Use
38242         libm_hidden_weak.
38243         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38244         New inline function.  Factored out of ...
38245         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38246         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38247         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38248         feraiseexcept.
38249         * math/w_acos.c (__acos): Likewise.
38250         * math/w_asin.c (__asin): Likewise.
38251         * math/w_ilogb.c (__ilogb): Likewise.
38252         * math/w_j0.c (y0): Likewise.
38253         * math/w_j1.c (y1): Likewise.
38254         * math/w_jn.c (yn): Likewise.
38255         * math/w_log.c (__log): Likewise.
38256         * math/w_log10.c (__log10): Likewise.
38257         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38258         * sysdeps/aarch64/fpu/math_private.h
38259         (libc_feupdateenv_test_aarch64): Likewise.
38260         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38261         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38262         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38263         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38264         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38265         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38266         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38267         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38268         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38269         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38271 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38273         [BZ #17732]
38274         * io/test-utime.c (main): Replace %ld with %jd and cast to
38275         intmax_t.
38276         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38277         * nptl/tst-mutex5.c: Include <stdint.h>.
38278         (do_test): Replace %ld with %jd and cast to intmax_t.
38279         * posix/tst-regex.c (run_test): Likewise.
38280         (run_test_backwards): Likewise.
38281         * rt/tst-clock.c: Include <stdint.h>.
38282         (clock_test): Replace %ld with %jd and cast to intmax_t.
38283         * rt/tst-cpuclock1.c: Include <stdint.h>.
38284         (do_test): Replace %lu with %ju and cast to uintmax_t.
38285         * rt/tst-cpuclock2.c: Include <stdint.h>.
38286         (do_test): Replace %lu with %ju and cast to uintmax_t.
38287         * rt/tst-mqueue1.c: Include <stdint.h>.
38288         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38289         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38290         intmax_t.
38291         * rt/tst-mqueue4.c (do_test): Likewise.
38292         * rt/tst-timer4.c: Include <stdint.h>.
38293         (check_ts): Replace %ld with %jd and cast to intmax_t.
38294         (do_test): Likewise.
38295         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38296         and cast to intmax_t.
38297         * sysdeps/pthread/tst-timer.c (main): Likewise.
38298         * time/clocktest.c (main): Likewise.
38299         * time/tst-posixtz.c (do_test): Likewise.
38300         * timezone/tst-timezone.c (main): Likewise.
38302 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38303             H.J. Lu  <hongjiu.lu@intel.com>
38305         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38306         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38307         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38308         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38309         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38310         version if bit_Fast_Unaligned_Load is set.
38311         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38312         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38313         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38314         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38315         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38316         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38317         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38318         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38319         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38320         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38321         to 4.
38322         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38323         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38324         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38325         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38327 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38329         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38330         instead of #if to avoid a Wundef warning.
38331         * stdlib/tst-limits.c (do_test): Likewise.
38333         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38334         parallel other exception macros.
38335         (fegetenv): Convert from macro to extern inline so that it applies
38336         retroactively to inline functions already seen by the compiler.
38337         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38339         * posix/Makefile (before-compile): Use $(objpfx) for
38340         posix-conf-vars-def.h.
38342 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38344         * posix/getconf.c (main): Use size_t for type of I.
38345         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38346         NSPEC.
38348         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38349         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38350         * posix/posix-envs.def: Likewise.
38351         * sysdeps/posix/sysconf.c: Likewise.
38352         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38353         (specs): Remove array.
38354         * scripts/gen-posix-conf-vars.awk: Support generation of specs
38355         array.
38357         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38358         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38359         (__sysconf): Use CONF_IS_* macros.
38361         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38362         ($(objpfx)posix-conf-vars-def.h): New target.
38363         * posix/posix-conf-vars.list: New file.
38364         * posix/posix-conf-vars.h: New file.
38365         * posix/confstr.c: Include posix-conf-vars.h.
38366         (confstr): Use CONF_IS_* macros.
38367         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
38368         CONF_IS_* macros.
38369         * scripts/gen-posix-conf-vars.awk: New file.
38371 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
38373         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38374         fegetround): Add no-op macros to avoid linknamespace issues.
38376         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38377         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38379         * sysdeps/unix/sysv/linux/tile/sysdep.h
38380         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38381         assembly-specific section to avoid a redefinition warning.
38383         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38384         long before casting to pointer to avoid a cast warning.
38386 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
38388         * sysdeps/tile/tilegx/Implies: New file.
38390 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
38392         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38394 2014-12-23  Florian Weimer  <fweimer@redhat.com>
38396         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38398 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38400         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38401         not define.
38402         * sysdeps/unix/sysv/linux/utimes.c: Do not include
38403         <kernel-features.h>.
38404         (__utimes) [__NR_utimes]: Make code unconditional.
38405         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38406         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38407         (__ASSUME_UTIMES): Do not undefine.
38408         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38409         (__ASSUME_UTIMES): Likewise.
38410         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38411         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38412         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38413         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38415 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38417         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38419 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
38421         [BZ #17747]
38422         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38423         alias to weak alias for j0l, y0l.
38424         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38425         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38427         [BZ #17746]
38428         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38429         conversion.
38431 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38433         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38434         to zero if not already defined.
38436 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38438         [BZ #17724]
38439         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38440         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
38441         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
38442         (char *) casts added.
38443         * sysdeps/ieee754/k_standardf.c: New file.
38444         * sysdeps/ieee754/k_standardl.c: Likewise.
38445         * math/Makefile (libm-support): Remove k_standard.
38446         (libm-calls): Add k_standard.
38448 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38450         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38451         Optimize to avoid an unnecessary FPCR read.
38453 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38455         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
38456         Optimize to reduce FPCR/FPSR accesses.
38458 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38460         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
38461         Call libc_fetestexcept_aarch64.
38463 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38465         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
38466         Call libc_fesetround_aarch64.
38468 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38470         [BZ #17733]
38471         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
38472         (__bind): Do not define as weak alias.
38473         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
38474         define.
38475         (__getsockname): Do not define as weak alias.
38477 2014-12-22  Will Newton  <will.newton@linaro.org>
38479         * manual/install.texi: Document that we require bison 2.7
38480         or above.
38481         * INSTALL: Regenerate.
38482         * configure.ac: Use AC_CHECK_PROG_VER instead of
38483         AC_PATH_PROG when checking for bison and check for
38484         version 2.7 or above.
38485         * configure: Regenerate.
38487 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
38489         [BZ #17745]
38490         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
38491         * sysdeps/tile/ffsll.c (ffsll): To here.
38493         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
38495 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38497         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
38498         if not defined.
38499         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
38500         definition.
38501         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38502         hidden ___tls_get_addr.
38503         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38504         hidden __tls_get_addr.
38505         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
38506         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
38507         Likewise.
38509 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38511         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
38512         _dl_init call.
38514 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38516         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
38517         from "call _dl_init@PLT".
38518         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
38520 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
38522         * manual/search.texi: (Array Sort Function): Clarify stable sorting
38523         guarantees.
38525 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
38527         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
38529 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38531         [BZ #17744]
38532         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
38533         strnlen.
38535 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38537         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
38538         of multu on MIPSr6.
38539         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
38540         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
38541         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
38542         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
38543         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
38545 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38547         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
38548         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
38549         (PTR_SUBU): Use subu for mips32r6/mips64r6.
38550         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
38551         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
38552         mips32r6/mips64r6.
38553         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
38555 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
38557         * string/strncat.c (STRNCAT): Simplify implementation.
38559 2014-12-19  David S. Miller  <davem@davemloft.net>
38561         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
38562         access the quad as both a long double and as a series of 4 words.
38564         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
38565         link_map->l_info array access.
38567 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38569         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
38571         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
38572         * math/atest-exp2.c (TIMEOUT): Likewise.
38573         * math/atest-sincos.c (TIMEOUT): Likewise.
38575 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38577         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
38578         -Wno-error with -fno-builtin-lround.
38580 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38582         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
38583         Contains futex constants and functions moved over from ...
38584         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
38585         <lowlevellock-futex.h>.
38586         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38587         (lll_timedwait_tid): Add comments and parentheses around macro
38588         arguments.
38590 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38592         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
38593         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
38594         (__lll_private_flag): Remove.
38595         (lll_futex_wait): Likewise.
38596         (lll_futex_timed_wait): Likewise.
38597         (lll_futex_wake): Likewise.
38598         (lll_futex_requeue): Likewise.
38599         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38600         (__lll_timedwait_tid): Spell out argument names.
38601         (lll_timedwait_tid): Add comments and parentheses around macro
38602         arguments.
38603         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
38604         LLL_SHARED and LLL_PRIVATE usable from assembly code.
38606 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38608         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
38609         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38610         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38611         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
38612         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
38613         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
38614         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
38615         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
38616         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
38617         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
38618         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
38619         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
38620         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
38621         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
38622         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
38623         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
38624         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
38625         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
38626         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
38628 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38630         * sysdeps/x86_64/x32/Makefile: New file.
38632 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38634         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
38635         1L with (mp_limb_t) 1.
38637 2014-12-17  Roland McGrath  <roland@hack.frob.com>
38639         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
38640         * nptl/libc_pthread_init.c: ... here.
38641         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
38642         * nptl/register-atfork.c: ... here.
38644         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
38645         Use pthread_sigmask rather than INTERNAL_SYSCALL.
38646         Use assert_perror to check its return value.
38647         (__gai_create_helper_thread): Likewise.
38649         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
38651         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
38653 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
38655         [BZ #17725]
38656         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
38657         __profil_counter.
38658         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
38659         Likewise.
38660         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
38661         Likewise.
38662         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
38663         Likewise.
38664         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
38665         (profil_counter): Likewise.
38666         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
38667         (profil_counter): Likewise.
38668         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
38669         Likewise.
38670         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
38671         Likewise.
38672         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
38673         (profil_counter): Likewise.
38674         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
38675         Likewise.
38676         [!__profil_counter] (profil_counter): Define as weak alias of
38677         __profil_counter.
38678         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
38679         (profil_counter): Rename to __profil_counter.
38680         [!__profil_counter] (profil_counter): Define as weak alias of
38681         __profil_counter.
38682         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
38683         (profil_counter): Rename to __profil_counter.
38684         [!__profil_counter] (profil_counter): Define as weak alias of
38685         __profil_counter.
38686         * sysdeps/posix/profil.c: Update comment referring to
38687         profil_counter.
38688         (__profil): Use __profil_counter instead of profil_counter.
38689         * sysdeps/posix/sprofil.c (profil_counter): Rename to
38690         __profil_counter.  Use __profil_counter_ushort and
38691         __profil_counter_uint in definitions.
38692         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
38693         instead of profil_counter_uint and profil_counter_ushort.
38695         [BZ #17722]
38696         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
38697         define as weak alias of __inet_makeaddr.
38698         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
38699         as weak alias of __inet_addr.
38700         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
38701         as weak alias of __inet_pton.  Use libc_hidden_weak.
38702         * include/arpa/inet.h (__inet_pton): Declare.  Use
38703         libc_hidden_proto.
38704         (inet_makeaddr): Don't use libc_hidden_proto.
38705         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
38706         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
38707         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
38708         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
38709         Remove variable.
38710         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38711         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38713 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
38715         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
38717 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38719         * stdio-common/bug-vfprintf-nargs.c (do_test):
38720         Cast value to intptr_t to avoid format warning
38721         for usage with PRIdPTR printing macro.
38723 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38725         * libio/tst-widetext.c (do_test):
38726         Use format type %td instead of %Zd for ptrdiff_t
38727         in order to avoid format warning.
38729 2014-12-17  Andreas Schwab  <schwab@suse.de>
38731         * nscd/mem.c (gc): Add size_t cast to match printf format.
38733 2014-12-16  Roland McGrath  <roland@hack.frob.com>
38735         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
38736         (init): Apply PTR_MANGLE to pointers before storing them.
38737         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
38738         before using them.
38740 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
38742         [BZ #17719]
38743         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
38744         define as weak alias of __memrchr.
38745         (__memrchr): Do not define as strong alias of memrchr.
38746         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
38747         Remove variable.
38748         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38749         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38750         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38752         [BZ #17717]
38753         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
38754         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
38755         (if_indextoname): Rename to __if_indextoname and define as weak
38756         alias of __if_indextoname.  Use libc_hidden_weak.
38757         (if_freenameindex): Rename to __if_freenameindex and define as
38758         weak alias of __if_freenameindex.
38759         (if_nameindex): Rename to __if_nameindex and define as weak alias
38760         of __if_nameindex.
38761         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
38762         __if_nametoindex and define as weak alias of __if_nametoindex.
38763         Use libc_hidden_weak.
38764         (if_freenameindex): Rename to __if_freenameindex and define as
38765         weak alias of __if_freenameindex.
38766         (if_nameindex): Rename to __if_nameindex and define as weak alias
38767         of __if_nameindex.
38768         (if_indextoname): Rename to __if_indextoname and define as weak
38769         alias of __if_indextoname.  Use libc_hidden_weak.
38770         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
38771         __if_nametoindex and define as weak alias of __if_nametoindex.
38772         Use libc_hidden_weak.
38773         (if_freenameindex): Rename to __if_freenameindex and define as
38774         weak alias of __if_freenameindex.  Use libc_hidden_weak.
38775         (if_nameindex_netlink): Use __if_freenameindex instead of
38776         if_freenameindex.
38777         (if_nameindex): Rename to __if_nameindex and define as weak alias
38778         of __if_nameindex.  Use libc_hidden_weak.
38779         (if_indextoname): Rename to __if_indextoname and define as weak
38780         alias of __if_indextoname.  Use libc_hidden_weak.
38781         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38782         libc_hidden_proto.
38783         [!_ISOMAC] (__if_freenameindex): Likewise.
38784         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38785         if_nametoindex.
38786         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38787         variable.
38788         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38789         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38790         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38791         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38792         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38793         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38794         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38796         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38797         Remove variable.
38798         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38799         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38801 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38803         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38804         subscript above bounds'
38806         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38807         bounds.
38809 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38811         * libio/tst-fopenloc.c: Use test-skeleton.c.
38813         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38814         (entry): Rename to ITEM.
38815         (do_test, comp): Adjust.
38817         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38819 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38821         * string/tester.c: Include <libc-internal.h>.
38822         (test_memset): Ignore -Wmemset-transposed-args.
38824 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38826         * misc/tst-mntent2.c (do_test): Fix warning.
38828 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38830         * elf/tst-unique4lib.cc(a): Mark as used.
38832 2014-12-16  Florian Weimer  <fweimer@redhat.com>
38834         [BZ #17630]
38835         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
38836         names.
38838 2014-12-16  Allan McRae  <allan@archlinux.org>
38840         * stdio-common/Makefile (tests): Re-add bug26.
38842 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
38844         [BZ #17657]
38845         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
38846         static array.
38848 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
38850         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
38851         (__lll_lock_wait): Likewise.
38852         (__lll_timedlock_wait): Likewise.
38853         (__lll_timedwait_tid): Likewise.
38854         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
38855         (__lll_robust_timedlock_wait): Likewise.
38856         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
38857         (lll_cond_trylock): Likewise.
38858         (__lll_lock): Likewise.
38859         (__lll_robust_lock): Likewise.
38860         (__lll_cond_lock): Likewise.
38861         (lll_robust_cond_lock): Likewise.
38862         (__lll_timedlock): Likewise.
38863         (__lll_robust_timedlock): Likewise.
38864         (__lll_unlock): Likewise.
38865         (__lll_robust_unlock): Likewise.
38866         (lll_wait_tid): Likewise.
38867         (lll_timedwait_tid): Likewise.
38869 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38871         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
38873 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38875         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
38877 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38879         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
38880         * stdio-common/tst-sprintf.c: Likewise.
38882 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38884         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
38886 2014-12-15  Jeff Law  <law@redhat.com>
38888         [BZ #16617]
38889         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
38890         on the heap.  (CVE-2012-3406)
38891         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
38892         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
38893         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
38895 2014-12-15  Will Newton  <will.newton@linaro.org>
38897         * manual/install.texi: Bump required version of texinfo
38898         to 4.7 from 4.5.
38899         * INSTALL: Regenerated.
38900         * configure.ac: Check for makeinfo version 4.7 and above.
38901         * configure: Regenerated.
38903 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38905         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
38906         PREFIX, string constant to insert between directory and name.
38907         * sysdeps/posix/shm_open.c: Update caller.
38908         * sysdeps/posix/shm_unlink.c: Likewise.
38909         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38910         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
38911         (SEM_SHM_PREFIX): New macro.
38912         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
38913         [$(have-thread-library) = no].
38914         * nptl/Makefile (libpthread-routines): Add shm-directory.
38915         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
38916         * sysdeps/nptl/shm-directory.h: New file.
38917         * sysdeps/posix/shm-directory.c
38918         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
38919         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
38920         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
38921         INTERNAL_SYSCALL.
38922         (__where_is_shmfs): Function removed.
38923         (mountpoint, defaultmount, defaultdir, __namedsem_once):
38924         Variables removed.
38925         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
38926         Use SHM_GET_NAME.
38927         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
38929         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
38930         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
38931         unconditional for use inside libpthread.
38932         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
38934 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38936         * nptl/pthread_getaffinity.c: New file.
38937         * nptl/pthread_setaffinity.c: New file.
38938         * nptl/pthread_getname.c: New file.
38939         * nptl/pthread_setname.c: New file.
38941         * nptl/pthread_create.c (START_THREAD_DEFN)
38942         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
38944 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38945             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38947         * resolv/res_send.c (send_vc): Disable warning resplen may
38948         be used uninitialized.
38950 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38952         * nptl/tst-mutex6.c
38953         (ATTR_NULL): New define checks ATTR against NULL.
38954         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
38955         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
38957 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
38959         [BZ #17581]
38960         * malloc/hooks.c
38961         (mem2mem_check): Revert my previous change.
38962         (malloc_check_get_size): Revert my previous change.
38963         (mem2chunk_check): Revert my previous change.
38965 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38967         * sysdeps/posix/shm-directory.c: New file.
38968         * sysdeps/posix/shm-directory.h: New file.
38969         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
38970         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
38971         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
38972         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
38973         Transmute EPERM to EACCES.
38974         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
38975         from ...
38976         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
38977         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
38979 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38981         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
38982         pointer and cast to uintptr_t.
38983         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
38984         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
38985         Add cast to avoid warning.
38986         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
38988 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38990         * nptl/semaphore.h: Move to ...
38991         * sysdeps/pthread/semaphore.h: ... here.
38992         * Makefile (installed-headers): Change nptl/semaphore.h to
38993         sysdeps/pthread/semaphore.h.
38995 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38997         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
38998         generated error format strings.
39000         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
39001         -Wformat-extra-args warnings for scanf formats.
39002         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
39003         test of zero-length format (duh).
39004         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
39005         corner-case scanf format test.
39006         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
39007         generated fprintf format string.
39008         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
39009         corner-case sprintf format tests.
39010         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
39011         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
39012         -Wformat-extra-args warnings throughout.
39013         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
39014         (CFLAGS-scanf4.c): Likewise.
39015         (CFLAGS-scanf7.c): Likewise.
39016         (CFLAGS-tst-sprintf.c): Likewise.
39017         (CFLAGS-tst-printf.c): Likewise.
39018         (CFLAGS-tst-printfsz.c): Likewise.
39020 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39022         * include/cpio.h: New file.
39023         * include/fmtmsg.h: Likewise.
39025         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
39026         corresponding format argument to size_t.
39027         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
39028         arguments.
39029         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
39030         corresponding format argument to size_t.
39031         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
39032         arguments.
39033         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
39034         corresponding format argument to size_t.
39035         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
39036         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
39037         (CFLAGS-tst-mbswcs2.c): Likewise.
39038         (CFLAGS-tst-mbswcs3.c): Likewise.
39039         (CFLAGS-tst-mbswcs4.c): Likewise.
39040         (CFLAGS-tst-mbswcs5.c): Likewise.
39041         (CFLAGS-tst-trans.c): Likewise.
39043 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39045         * posix/regexbug1.c (main): Use "%s" format with regerror results,
39046         rather than assuming they won't contain any '%'s.
39048 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
39050         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
39051         inhibit_loop_to_libcall to avoid recursive calls.
39052         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
39053         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
39055 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39057         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
39058         prototype.
39060 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39062         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
39063         integer value instead of boolean.
39065 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39067         * malloc/malloc.c: Fix powerof2 check.
39069 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39071         * locale/programs/locfile.h (maybe_swap_uint32):
39072         Remove inline and add unused attribute.
39074 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39076         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39077         Truncating assembler expression to a .long expression.
39079 2014-12-11  Andreas Schwab  <schwab@suse.de>
39081         * elf/rtld.c (struct map_args): Constify str member.
39082         (do_preload): Constify fname argument.
39084 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39086         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
39087         constants definition.
39089 2014-12-11  Andreas Schwab  <schwab@suse.de>
39091         [BZ #16657]
39092         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
39093         FORCE_ELISION instead of DO_ELISION.
39094         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
39095         Remove.
39096         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
39097         Likewise.
39099         * iconvdata/gconv-modules: Remove duplicate entry.
39101 2014-12-11  Will Newton  <will.newton@linaro.org>
39103         Merge gettext 0.19.3 into intl/.
39105         This involves a number of cosmetic changes to comments
39106         and ANSI function definitions and prototypes throughout
39107         all the files. The gettext copyright header is used but
39108         with the date ranges taken from the glibc copy.
39110         * NEWS: Add gettext merge to 2.21.
39111         * intl/bindtextdom.c: Switch to gettext copyright.
39112         Use ANSI definitions and prototypes.
39113         Use gl_* locking primitives rather than __libc_* ones.
39114         Use __builtin_expect rather than __glibc_likely/unlikely.
39115         * intl/dcgettext.c: Switch to gettext copyright.
39116         Use ANSI definitions and prototypes.
39117         * intl/dcigettext.c: Switch to gettext copyright.
39118         Use ANSI definitions and prototypes.
39119         (INTDIV0_RAISES_SIGFPE): New define.
39120         Use gl_* locking primitives rather than __libc_* ones.
39121         Include eval-plural.h instead of plural-eval.c.
39122         Use __builtin_expect rather than __glibc_likely/unlikely.
39123         * intl/dcngettext.c: Switch to gettext copyright.
39124         Use ANSI definitions and prototypes.
39125         * intl/dgettext.c: Likewise.
39126         * intl/dngettext.c: Likewise.
39127         * intl/plural-eval.c: Renamed to...
39128         * intl/eval-plural.h: ...this.
39129         * intl/explodename.c: Switch to gettext copyright.
39130         Use ANSI definitions and prototypes.
39131         (_nl_explode_name): Use strchr instead of __rawmemchr.
39132         * intl/finddomain.c: Switch to gettext copyright.
39133         Use ANSI definitions and prototypes.
39134         Use gl_* locking primitives rather than __libc_* ones.
39135         (_nl_find_domain): Use malloc rather than alloca for
39136         allocation of temporary locale name.
39137         * intl/gettext.c: Switch to gettext copyright.
39138         Use ANSI definitions and prototypes.
39139         * intl/gettextP.h: Switch to gettext copyright.
39140         Use ANSI definitions and prototypes.
39141         Use gl_* locking primitives rather than __libc_* ones.
39142         * intl/gmo.h: Switch to gettext copyright.
39143         (struct sysdep_string): Move struct segment_pair outside of
39144         struct definition.
39145         * intl/hash-string.c: Use ANSI definitions and prototypes.
39146         * intl/hash-string.h: Switch to gettext copyright.
39147         Use ANSI definitions and prototypes.
39148         * intl/l10nflist.c: Switch to gettext copyright.
39149         Use ANSI definitions and prototypes.
39150         (_nl_normalize_codeset): Avoid integer overflow.
39151         * intl/loadinfo.h: Switch to gettext copyright.
39152         Use ANSI definitions and prototypes.
39153         (LIBINTL_DLL_EXPORTED): New define.
39154         (PATH_SEPARATOR): New define.
39155         * intl/loadmsgcat.c: Switch to gettext copyright.
39156         * intl/localealias.c: Switch to gettext copyright.
39157         Use ANSI definitions and prototypes.
39158         (_nl_expand_alias): Use PATH_SEPARATOR.
39159         * intl/ngettext.c: Switch to gettext copyright.
39160         Use ANSI definitions and prototypes.
39161         * intl/plural-exp.c: Likewise.
39162         * intl/plural-exp.h: Switch to gettext copyright.
39163         Use ANSI definitions and prototypes.
39164         (struct expression): Move definition of enum operator outside
39165         of struct definition.
39166         * intl/plural.c: Regenerate.
39167         * intl/plural.y: Switch to gettext copyright.
39168         Use ANSI definitions and prototypes.
39169         Port to bison 3.0.
39170         * intl/textdomain.c: Switch to gettext copyright.
39171         Use ANSI definitions and prototypes.
39172         Use gl_* locking primitives rather than __libc_* ones.
39174 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
39176         * debug/warning-nop.c: Add used atrribute.
39178 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39180         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39182         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39183         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39184         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39186 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39187             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39189         [BZ #17634]
39190         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39191         Undefine after defining function.  Define as weak alias of
39192         __wcschr.  Use libc_hidden_weak.
39193         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
39194         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39195         (libc_hidden_def): Also define __GI___wcschr alias.
39196         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39197         __wcschr and define as weak alias of __wcschr.
39198         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39199         __wcschr.
39200         [!WCSCHR] (DEFAULT_WCSCHR): Define.
39201         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39202         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
39203         libc_hidden_weak.  Do not use libc_hidden_def.
39204         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39205         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39206         __GI___wcschr alias.
39207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39208         [IS_IN (libc)] (wcschr): Define as macro expanding to
39209         __redirect_wcschr.
39210         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39211         [IS_IN (libc)] (__wcschr_power6): Likewise.
39212         [IS_IN (libc)] (__wcschr_power7): Likewise.
39213         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39214         instead of wcschr.
39215         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39216         __libc_wcschr.
39217         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39218         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39219         __wcschr and define as weak alias of __wcschr.  Use
39220         libc_hidden_builtin_def.
39221         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39222         as weak alias of __wcschr.  Use libc_hidden_weak.
39223         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39224         wcschr.
39225         * time/era.c (_nl_init_era_entries): Likewise.
39226         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39227         variable.
39228         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39229         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39231 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39233         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39234         format for long int variable.
39236 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39238         [BZ #10672]
39239         * manual/search.texi: (Array Sort Function): Remove claim how to make
39240         qsort stable.
39242 2014-12-10  Andreas Schwab  <schwab@suse.de>
39244         [BZ #12847]
39245         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39246         user-controlled locks.
39248 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39250         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39251         register.
39253 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39255         * configure.ac (--disable-werror): New configure option.
39256         (enable_werror): New AC_SUBST.
39257         * configure: Regenerated.
39258         * config.make.in (enable-werror): New variable.
39259         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39260         -Wno-error=undef.
39261         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39262         * manual/install.texi (Configuring and compiling): Document
39263         --disable-werror.
39264         * INSTALL: Regenerated.
39265         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39266         (CFLAGS-tst-chk2.c): Likewise.
39267         (CFLAGS-tst-chk3.c): Likewise.
39268         (CFLAGS-tst-chk4.cc): Likewise.
39269         (CFLAGS-tst-chk5.cc): Likewise.
39270         (CFLAGS-tst-chk6.cc): Likewise.
39271         (CFLAGS-tst-lfschk1.c): Likewise.
39272         (CFLAGS-tst-lfschk2.c): Likewise.
39273         (CFLAGS-tst-lfschk3.c): Likewise.
39274         (CFLAGS-tst-lfschk4.cc): Likewise.
39275         (CFLAGS-tst-lfschk5.cc): Likewise.
39276         (CFLAGS-tst-lfschk6.cc): Likewise.
39278         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39279         (main): Disable -Wdeprecated-declarations around calls to
39280         register_printf_function.
39282         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39283         (do_test): Disable -Wdiv-by-zero around some calls to
39284         fwrite_unlocked and fread_unlocked.
39286         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39287         (DIAG_POP_NEEDS_COMMENT): Likewise.
39288         (_DIAG_STR1): Likewise.
39289         (_DIAG_STR): Likewise.
39290         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39291         * stdio-common/bug21.c: Include <libc-internal.h>.
39292         (do_test): Disable -Wformat around call to sscanf.
39293         * stdio-common/scanf14.c: Include <libc-internal.h>.
39294         (main): Disable -Wformat around some calls to scanf functions.
39296 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39298         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39300 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39302         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39303         stack variable alignment.
39305 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39307         [BZ #17682]
39308         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39309         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39310         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39311         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39312         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39313         __getrlimit instead of getrlimit.
39314         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39315         __gettimeofday instead of gettimeofday.
39316         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39317         Likewise.
39318         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39319         Likewise.
39320         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39321         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39322         Remove variable.
39323         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39324         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39326 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39328         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39329         for wide-character tests.
39331 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39333         * io/openat64.c: #include <libc-internal.h>
39334         (__openat64): Prototypify.  Use ignore_value on MODE.
39335         * io/openat.c: Likewise.
39336         * misc/reboot.c: #include <libc-internal.h>
39337         (reboot): Prototypify.  Use ignore_value on HOWTO.
39338         * misc/ptrace.c: #include <libc-internal.h>
39339         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
39341 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
39343         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39344         XPG4, UNIX98 and XOPEN2K.
39345         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39346         Remove variable.
39347         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39349 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39351         * libio/fileops.c: Use ISO C style for function definitions.
39352         * libio/iofopen.c: Likewise.
39353         * libio/wfileops.c: Likewise.
39355         [BZ #17653]
39356         * libio/fileops.c (_IO_new_file_underflow): Unset cached
39357         offset on EOF.
39358         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39359         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39360         (fgets_func): Function pointer to fgets and fgetws.
39361         (do_ftell_test): Add test to verify ftell value after read
39362         EOF.
39363         (do_test): Set fgets_func.
39365         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39366         O_TRUNC flag for w and w+ modes.
39367         (do_rewind_test): Likewise.
39368         (do_ftell_test): Likewise.
39369         (do_write_test): Likewise.
39371         [BZ #17647]
39372         * libio/fileops.c (do_ftell): Seek only when there are
39373         unflushed writes.
39374         * libio/wfileops.c (do_ftell_wide): Likewise.
39375         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39376         test case.
39377         (do_one_test): Call it.
39379 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
39381         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39382         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39383         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39384         Remove variable.
39385         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39386         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39387         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39389 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39391         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39392         Remove variable.
39393         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39395         [BZ #17668]
39396         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39397         as weak alias of __getifaddrs.  Use libc_hidden_weak.
39398         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39399         __freeifaddrs.  Use libc_hidden_weak.
39400         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39401         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
39402         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39403         __freeifaddrs.  Use libc_hidden_weak.
39404         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39405         __getifaddrs and define as weak alias of __getifaddrs.  Use
39406         libc_hidden_weak.
39407         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39408         __freeifaddrs.  Use libc_hidden_weak.
39409         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39410         Remove variable.
39411         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39412         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39414 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
39416         [BZ #17601]
39417         * sysdeps/mips/start.S (__start): Use indirect jump to call
39418         __libc_start_main.
39420 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39422         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39424         * nptl/tst-mutex1.c: Include <stdbool.h>.
39425         [!ATTR] (ATTR_NULL): New macro.
39426         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39427         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39428         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39430         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39431         to char *.
39433         [BZ #17665]
39434         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39435         Change conditional to [__USE_MISC].
39437         [BZ #17664]
39438         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39439         fgets_unlocked.
39440         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39441         __fgets_unlocked.
39442         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39443         fgets_unlocked.
39444         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
39445         Remove variable.
39446         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39447         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39448         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39449         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39450         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39451         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39452         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39453         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39454         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39456         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
39458 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39460         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39461         Remove strpbrk objects.
39462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39463         (__libc_ifunc_impl_list): Remove strpbrk implementation.
39464         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
39465         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39466         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
39467         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
39469         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39470         Remove strcspn objects.
39471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39472         (__libc_ifunc_impl_list): Remove strcspn implementation.
39473         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
39474         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
39475         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
39476         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
39478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39479         Remove strspn objetcs.
39480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39481         (__libc_ifunc_impl_list): Remove strspn implementation.
39482         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
39483         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39484         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
39485         * sysdeps/powerpc/powerpc64/strspn.S: New file.
39487 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
39489         [BZ #17581]
39490         * malloc/hooks.c
39491         (mem2mem_check): Add a terminator to the chain of checking blocks.
39492         (malloc_check_get_size): Use it here.
39493         (mem2chunk_check): Ditto.
39495 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39497         * sysdeps/powerpc/powerpc64/strtok.S: New file.
39498         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
39500 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
39502         * bits/ioctl-types.h: Indent preprocessor directives correctly.
39504         * nptl/nptl-init.c: Include libc-internal.h.
39505         (__pthread_initialize_minimal_internal): Use ROUND_UP.
39507         * elf/ldconfig.c (search_dir): Expand comment.
39509 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
39511         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
39512         variable.
39513         (linknamespace-symlist-stdlibs-tests): Likewise.
39514         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
39515         instead of $(objpfx)symlist-stdlibs.
39516         (linknamespace-libs-isoc): New variable.
39517         (linknamespace-libs): Use $(linknamespace-libs-isoc).
39518         (linknamespace-libs-ISO): New variable.
39519         (linknamespace-libs-ISO99): Likewise.
39520         (linknamespace-libs-ISO11): Likewise.
39521         (linknamespace-libs-XPG3): Likewise.
39522         (linknamespace-libs-XPG4): Likewise.
39523         (linknamespace-libs-POSIX): Likewise.
39524         (linknamespace-libs-UNIX98): Likewise.
39525         (linknamespace-libs-XOPEN2K): Likewise.
39526         (linknamespace-libs-POSIX2008): Likewise.
39527         (linknamespace-libs-XOPEN2K8): Likewise.
39528         ($(objpfx)symlist-stdlibs): Replace by
39529         $(linknamespace-symlist-stdlibs-tests).  Use
39530         $(linknamespace-libs-$*) as set of libraries.
39531         ($(linknamespace-header-tests)): Update dependencies.  Use
39532         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
39533         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
39534         * conform/linknamespace.pl: Remove comment about considering
39535         definitions of symbols from irrelevant libraries.
39537 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
39539         [BZ #13862]
39540         * elf/dl-tls.c: Include <atomic.h>.
39541         (oom): Remove #ifdef SHARED/#endif.
39542         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
39543         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
39544         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
39545         big enough.
39546         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
39547         * nptl/Makefile (tests): Add tst-stack4.
39548         (modules-names): Add tst-stack4mod.
39549         ($(objpfx)tst-stack4): New.
39550         (tst-stack4mod.sos): Likewise.
39551         ($(objpfx)tst-stack4.out): Likewise.
39552         ($(tst-stack4mod.sos)): Likewise.
39553         (clean): Likewise.
39554         * nptl/tst-stack4.c: New file.
39555         * nptl/tst-stack4mod.c: Likewise.
39557 2014-11-27  J. Brown  <jb999@gmx.de>
39559         * sysdeps/x86/bits/string.h: Add recent CPUs.
39561 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39563         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
39564         sigblock.
39566         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
39567         feof.
39569         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
39570         variable.
39572 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
39574         * nscd/connections.c: Include libc-internal.h because of macro
39575         usage ignore_value.
39577 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39579         * string/bits/string3.h (__warn_memset_zero_len): Don't
39580         declare for gcc newer than 5.0.
39581         (memset): Don't test for zero-length __LEN for gcc newer than
39582         5.0.
39584 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39586         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
39587         size_t for %zu format.
39589         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
39590         difference, not %ju.
39592 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39594         * include/libc-internal.h (ignore_value): New macro.
39595         * nscd/connections.c (restart): Wrap calls to setuid and setgid
39596         with ignore_value.
39598         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
39599         definition.
39601         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
39602         pthread_cleanup_push to void *.
39604         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
39605         Undefine.
39607         [BZ #16619]
39608         [BZ #16740]
39609         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
39610         instead of 1L << 52.
39612         * libio/bug-rewind.c (do_test): Check fwscanf return values.
39613         * libio/bug-rewind2.c (do_test): Likewise.
39615         * debug/test-stpcpy_chk-ifunc.c: Remove file.
39616         * debug/test-strcpy_chk-ifunc.c: Likewise.
39617         * wcsmbs/test-wcschr-ifunc.c: Likewise.
39618         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39619         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39620         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39621         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39622         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39623         * Rules [$(multi-arch) = no] (tests): Do not filter out
39624         $(tests-ifunc).
39625         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
39626         * debug/Makefile (tests-ifunc): Remove variable.
39627         (tests): Do not add $(tests-ifunc).
39628         * wcsmbs/Makefile (tests-ifunc): Remove variable.
39629         (tests): Do not add $(tests-ifunc).
39630         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
39631         [TEST_IFUNC]: Remove conditionals.
39632         * string/test-string.h (TEST_IFUNC): Remove macro.
39633         [TEST_IFUNC]: Remove conditionals.
39635         * string/test-strchr.c [!WIDE] (L): New macro.
39636         [WIDE] (L): Likewise.
39637         (check1): Use CHAR instead of char.  Use L on string and character
39638         constants.
39640 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
39642         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
39643         tests.
39644         * sysdeps/powerpc/bits/atomic.h
39645         (__arch_atomic_exchange_and_add_32_acq): Add definition.
39646         (__arch_atomic_exchange_and_add_32_rel): Likewise.
39647         (atomic_exchange_and_add_acq): Likewise.
39648         (atomic_exchange_and_add_rel): Likewise.
39649         * sysdeps/powerpc/powerpc32/bits/atomic.h
39650         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39651         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39652         * sysdeps/powerpc/powerpc64/bits/atomic.h
39653         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39654         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39656 2014-11-26  Torvald Riegel  <triegel@redhat.com>
39658         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
39659         Change synchronization of __sched_fifo_min_prio and
39660         __sched_fifo_max_prio.
39661         * nptl/pthread_mutexattr_getprioceiling.c
39662         (pthread_mutexattr_getprioceiling): Likewise.
39663         * nptl/pthread_mutexattr_setprioceiling.c
39664         (pthread_mutexattr_setprioceiling): Likewise.
39665         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
39666         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
39667         Likewise.
39669 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39671         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
39672         void.
39674 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39676         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
39677         third argument const.
39679 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
39681         fnmatch: work around GCC compiler warning bug with uninit var
39682         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
39683         This works around a bug with x86-64 GCC 4.9.2 and earlier
39684         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
39685         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
39686         used uninitialized in this function [-Wmaybe-uninitialized]".
39688 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39690         * posix/bug-regex31.c (main): Return RES not 0.
39692 2014-11-25  Anton Blanchard <anton@samba.org>
39694         * sysdeps/powerpc/bits/atomic.h
39695         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
39697 2014-11-24  Sterling Augustine  <saugustine@google.com>
39699         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
39701 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
39703         [BZ #17608]
39704         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
39706 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
39708         [BZ #17633]
39709         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
39710         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
39711         variable.
39712         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39713         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39715 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39717         * string/strncpy.c (strncpy): Improve performance by using memset.
39719 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39721         * string/strcpy.c (strcpy):
39722         Improve performance by using strlen and memcpy.
39724 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
39726         * string/strcoll_l.c (get_next_seq): __always_inline.
39727         * string/strcoll_l.c (do_compare): __always_inline.
39729 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39731         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
39732         defined.
39733         * include/mqueue.h: Likewise.
39734         * include/stdlib.h: Likewise.
39736         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
39737         (get_null_defines): Adjust.
39738         * sunrpc/Makefile: Adjust comment.
39739         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
39740         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
39741         (CFLAGS-interp.c): Likewise.
39742         (CFLAGS-ldconfig.c): Likewise.
39743         (CPPFLAGS-.os): Likewise.
39744         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39745         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39746         * extra-modules.mk (extra-modules.mk): Likewise.
39747         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
39748         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
39749         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
39750         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
39751         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
39752         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
39753         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
39754         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
39755         * iconvdata/Makefile (CPPFLAGS): Likewise.
39756         (cpp-srcs-left): Add libof for all iconvdata routines.
39757         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
39758         * include/assert.h: Likewise.
39759         * include/ctype.h: Likewise.
39760         * include/errno.h: Likewise.
39761         * include/libc-symbols.h: Likewise.
39762         * include/math.h: Likewise.
39763         * include/netdb.h: Likewise.
39764         * include/resolv.h: Likewise.
39765         * include/stdio.h: Likewise.
39766         * include/stdlib.h: Likewise.
39767         * include/string.h: Likewise.
39768         * include/sys/stat.h: Likewise.
39769         * include/wctype.h: Likewise.
39770         * intl/l10nflist.c: Likewise.
39771         * libidn/idn-stub.c: Likewise.
39772         * libio/libioP.h: Likewise.
39773         * nptl/libc_multiple_threads.c: Likewise.
39774         * nptl/pthreadP.h: Likewise.
39775         * posix/regex_internal.h: Likewise.
39776         * resolv/res_hconf.c: Likewise.
39777         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39778         * sysdeps/arm/memmove.S: Likewise.
39779         * sysdeps/arm/sysdep.h: Likewise.
39780         * sysdeps/generic/_itoa.h: Likewise.
39781         * sysdeps/generic/symbol-hacks.h: Likewise.
39782         * sysdeps/gnu/errlist.awk: Likewise.
39783         * sysdeps/gnu/errlist.c: Likewise.
39784         * sysdeps/i386/i586/memcpy.S: Likewise.
39785         * sysdeps/i386/i586/memset.S: Likewise.
39786         * sysdeps/i386/i686/memcpy.S: Likewise.
39787         * sysdeps/i386/i686/memmove.S: Likewise.
39788         * sysdeps/i386/i686/mempcpy.S: Likewise.
39789         * sysdeps/i386/i686/memset.S: Likewise.
39790         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39791         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39792         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39793         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39794         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39795         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39796         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39797         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39798         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39799         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39800         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39801         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39802         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39803         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39804         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39805         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39806         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39807         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39808         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39809         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39810         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39811         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39812         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39813         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39814         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39815         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39816         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39817         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39818         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39819         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39820         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39821         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39822         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39823         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39824         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39825         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39826         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39827         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39828         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39829         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39830         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39831         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39832         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39833         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39834         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39835         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39836         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
39837         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
39838         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39839         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39840         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39841         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
39842         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
39843         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39844         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39845         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
39846         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39847         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
39848         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
39849         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39850         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39851         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39852         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
39853         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39854         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39855         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
39856         * sysdeps/posix/closedir.c: Likewise.
39857         * sysdeps/posix/opendir.c: Likewise.
39858         * sysdeps/posix/readdir.c: Likewise.
39859         * sysdeps/posix/rewinddir.c: Likewise.
39860         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
39861         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
39862         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39863         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39864         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39865         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
39866         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
39867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
39868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
39869         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
39870         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
39871         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
39872         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
39873         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
39874         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
39875         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
39876         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
39877         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
39878         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
39879         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
39880         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
39881         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
39882         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
39883         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
39884         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
39885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
39886         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
39887         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
39888         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
39889         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
39890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
39891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
39892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
39893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
39894         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
39895         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
39896         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39897         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39898         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
39899         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
39900         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
39901         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
39902         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
39903         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
39904         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
39905         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
39906         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
39907         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
39908         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
39909         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
39910         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
39911         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
39912         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
39913         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
39914         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
39915         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
39916         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
39917         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
39918         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
39919         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
39920         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
39921         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
39922         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
39923         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
39924         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
39925         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
39926         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
39927         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
39928         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
39929         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
39930         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
39931         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39932         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
39933         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
39934         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
39935         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
39936         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
39937         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
39938         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39939         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
39940         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
39941         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39942         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
39943         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
39944         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39945         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
39946         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
39947         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39948         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39949         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39950         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
39951         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
39952         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
39953         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39954         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39955         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
39956         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39958         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
39959         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
39960         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39961         * sysdeps/unix/alpha/sysdep.S: Likewise.
39962         * sysdeps/unix/alpha/sysdep.h: Likewise.
39963         * sysdeps/unix/make-syscalls.sh: Likewise.
39964         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39965         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39966         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39967         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
39968         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39969         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
39970         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
39971         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39972         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39973         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
39974         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39975         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39976         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39977         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39978         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39979         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39980         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39981         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39982         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39983         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39984         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
39985         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39986         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39987         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39988         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39989         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39990         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39993         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
39994         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39995         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39996         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39997         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39998         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40000         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40001         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40002         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40003         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40004         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40005         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40006         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40007         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40008         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40010         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40011         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40012         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40014         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40015         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40016         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40017         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40018         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
40019         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40020         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40022         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
40023         * sysdeps/x86_64/memcpy.S: Likewise.
40024         * sysdeps/x86_64/memmove.c: Likewise.
40025         * sysdeps/x86_64/memset.S: Likewise.
40026         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
40027         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40028         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40029         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
40030         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
40031         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40032         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40033         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40034         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40035         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40036         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40037         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40038         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
40039         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40040         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40041         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
40042         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40043         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40044         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40045         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40046         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
40047         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40048         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40049         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40050         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40051         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40052         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40053         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
40054         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40055         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40056         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
40057         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40058         * sysdeps/x86_64/strcmp.S: Likewise.
40060         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
40062         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
40063         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
40064         * elf/rtld-Rules: Likewise.
40065         * elf/setup-vdso.h: Likewise.
40066         * include/assert.h: Likewise.
40067         * include/bits/stdlib-float.h: Likewise.
40068         * include/errno.h: Likewise.
40069         * include/sys/stat.h: Likewise.
40070         * include/unistd.h: Likewise.
40071         * sysdeps/aarch64/setjmp.S: Likewise.
40072         * sysdeps/alpha/setjmp.S: Likewise.
40073         * sysdeps/arm/__longjmp.S: Likewise.
40074         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
40075         * sysdeps/arm/setjmp.S: Likewise.
40076         * sysdeps/arm/sysdep.h: Likewise.
40077         * sysdeps/generic/_itoa.h: Likewise.
40078         * sysdeps/generic/dl-sysdep.h: Likewise.
40079         * sysdeps/generic/ldsodefs.h: Likewise.
40080         * sysdeps/i386/dl-tls.h: Likewise.
40081         * sysdeps/i386/setjmp.S: Likewise.
40082         * sysdeps/m68k/setjmp.c: Likewise.
40083         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
40084         * sysdeps/mach/hurd/opendir.c: Likewise.
40085         * sysdeps/posix/getcwd.c: Likewise.
40086         * sysdeps/posix/opendir.c: Likewise.
40087         * sysdeps/posix/profil.c: Likewise.
40088         * sysdeps/powerpc/dl-procinfo.h: Likewise.
40089         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40090         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40091         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40092         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40093         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
40094         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40095         * sysdeps/s390/dl-tls.h: Likewise.
40096         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40097         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40098         * sysdeps/sh/sh3/setjmp.S: Likewise.
40099         * sysdeps/sh/sh4/setjmp.S: Likewise.
40100         * sysdeps/unix/alpha/sysdep.h: Likewise.
40101         * sysdeps/unix/arm/sysdep.S: Likewise.
40102         * sysdeps/unix/i386/sysdep.S: Likewise.
40103         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40104         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40105         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40106         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40107         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40108         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40109         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40110         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40111         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40112         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40113         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
40114         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40115         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40118         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40119         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40120         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40121         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40122         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40123         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40124         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40125         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40126         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40127         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40128         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40130         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40131         * sysdeps/x86_64/setjmp.S: Likewise.
40133         * include/math.h: Use IS_IN instead of IS_IN_libm.
40134         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
40135         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40136         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40137         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
40138         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40139         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40140         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40141         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40142         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40143         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40144         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
40145         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
40146         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
40147         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
40148         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
40149         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
40150         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
40151         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40152         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40153         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40154         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40155         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40156         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40157         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40158         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40159         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40160         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40161         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40162         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40163         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40164         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40165         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40166         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40168         Likewise.
40169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40170         Likewise.
40171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40172         Likewise.
40173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40174         Likewise.
40175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40176         Likewise.
40177         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40178         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40179         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40180         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40181         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40182         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40188         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40189         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40190         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40191         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40192         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40193         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40194         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40195         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40196         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40197         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40198         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40199         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40200         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40201         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40203         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40205         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40206         * nptl/pthreadP.h: Likewise.
40207         * nptl_db/structs.def: Likewise.
40208         * sysdeps/arm/sysdep.h: Likewise.
40209         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40210         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40211         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40212         * sysdeps/unix/alpha/sysdep.h: Likewise.
40213         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40214         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40215         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40216         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40217         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40218         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40219         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40220         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40221         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40222         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40223         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40224         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40225         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40226         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40229         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40230         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40231         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40234         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40235         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40236         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40237         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40238         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40240         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40241         * nptl/pthreadP.h: Likewise.
40242         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40243         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40244         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40245         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40246         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40247         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40248         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40249         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40250         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40251         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40252         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40253         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40255         Likewise.
40256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40257         Likewise.
40258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40260         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40261         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40263         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40264         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40265         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40267         * dlfcn/dladdr.c: Use IS_IN.
40268         * dlfcn/dladdr1.c: Likewise.
40269         * dlfcn/dlclose.c: Likewise.
40270         * dlfcn/dlerror.c: Likewise.
40271         * dlfcn/dlinfo.c: Likewise.
40272         * dlfcn/dlmopen.c: Likewise.
40273         * dlfcn/dlopen.c: Likewise.
40274         * dlfcn/dlsym.c: Likewise.
40275         * dlfcn/dlvsym.c: Likewise.
40277         * include/ifaddrs.h: Use IS_IN.
40278         * inet/check_pf.c: Likewise.
40279         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40280         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40282         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40283         IS_IN_ldconfig.
40284         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40285         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40287         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40288         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40289         IS_IN (libc).
40291         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40293         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40294         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40295         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40296         * include/libc-symbols.h (IS_IN_LIB): New macro.
40297         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40298         * include/netdb.h: Likewise.
40299         * include/stap-probe.h: Remove all uses of IN_LIB.
40301         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40302         instead of IN_MODULE.
40303         * include/libc-symbols.h (IN_MODULE): Define using
40304         MODULE_NAME.
40305         (PASTE_NAME, PASTE_NAME1): New macros.
40306         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40307         of IN_LIB.
40308         (STAP_PROBE_ASM): Likewise.
40310 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40312         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40313         __mach_init in dlopened libc.
40315 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40317         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40318         * sysdeps/arm/preconfigure: Regenerate.
40320 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40322         * nptl/pthread_create.c (__pthread_create_2_1): Set
40323         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40324         when copying values from IATTR into PD.
40326 2014-11-21  Will Newton  <will.newton@linaro.org>
40327             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40329         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40330         Refactor inline-asm.  Also add comment.
40332         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40333         ElfW macro instead of hardcoded Elf64 types.
40334         (la_aarch64_gnu_pltenter): Likewise.
40335         * sysdeps/aarch64/dl-machine.h
40336         (elf_machine_runtime_setup): Use ElfW(Addr).
40338         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40339         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40340         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40341         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40342         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40343         (R_AARCH64_TLS_DTPMOD64): Rename to ..
40344         (R_AARCH64_TLS_DTPMOD): This.
40345         (R_AARCH64_TLS_DTPREL64): Rename to ...
40346         (R_AARCH64_TLS_DTPREL): This.
40347         (R_AARCH64_TLS_TPREL64): Rename to ...
40348         (R_AARCH64_TLS_TPREL): This.
40349         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40350         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40351         R_AARCH64_TLS_TPREL64.
40352         (elf_machine_rela): Likewise.
40354 2014-11-21  Torvald Riegel  <triegel@redhat.com>
40356         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40357         by setting it to 0.  64b atomics are not supported currently.
40359 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40361         [BZ #16469]
40362         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40363         search domain names.
40365 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40367         [BZ #16469]
40368         * NEWS: Update.
40369         * resolv/res_query.c (__libc_res_nquerydomain): Retain
40370         trailing dot.
40371         * posix/tst-getaddrinfo5.c: New.
40372         * posix/Makefile (tests): Add it.
40374 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40376         [BZ #14498]
40377         * NEWS: Fixed.
40378         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40379         after parsing line but before break_if_match.
40380         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40381         if there is a protocol mismatch.
40383 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40385         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40386         because the potential race is on the user-supplied stream.
40388 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40390         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40391         string literal if not passed a buffer.
40392         * manual/job.texi (ctermid): Update reasoning, note deviation
40393         from posix, suggest mtasurace when not passed a buffer, for
40394         future non-preliminary safety notes.
40396 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40398         * manual/users.texi (cuserid): Fix MT-Safety note for the case
40399         of not passing it a buffer.
40400         Reported by Peng Haitao.
40402 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40404         * manual/Makefile ($(objpfx)stamp-summary): Require
40405         check-safety.sh to pass.
40406         * manual/check-safety.sh: Wish for verification that every
40407         @deftypefn and @deftypefun is followed by a @safety remark.
40409 2014-11-20  Roland McGrath  <roland@hack.frob.com>
40411         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40413         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40414         PTHREAD_CANCEL_ASYNCHRONOUS.
40415         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40416         send SIGCANCEL.
40418         * nptl/default-sched.h: New file.
40419         * sysdeps/unix/sysv/linux/default-sched.h: New file.
40420         * nptl/pthread_create.c: Include it.
40421         (__pthread_create_2_1): Use collect_default_sched instead of making
40422         Linux syscalls here directly.
40424 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40426         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40427         __pthread_once): Use C11 atomics.
40429 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40431         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40433 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40435         * include/atomic.h (__atomic_link_error, __atomic_check_size,
40436         atomic_thread_fence_acquire, atomic_thread_fence_release,
40437         atomic_thread_fence_seq_cst, atomic_load_relaxed,
40438         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40439         atomic_compare_exchange_weak_relaxed,
40440         atomic_compare_exchange_weak_acquire,
40441         atomic_compare_exchange_weak_release,
40442         atomic_exchange_acquire, atomic_exchange_release,
40443         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
40444         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
40445         atomic_fetch_and_acquire,
40446         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
40448 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40450         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
40451         USE_ATOMIC_COMPILER_BUILTINS): Define.
40452         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
40453         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40454         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40455         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40456         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
40457         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40458         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
40459         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40460         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
40461         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40462         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
40463         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40464         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
40465         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40466         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
40467         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40468         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40469         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40470         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40471         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40472         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
40473         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40474         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40475         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40476         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
40477         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40478         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40479         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40480         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
40481         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40482         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
40483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40484         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
40485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40486         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40487         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40488         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
40489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40490         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
40491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40493 2014-11-19  Roland McGrath  <roland@hack.frob.com>
40495         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
40496         the sched_priority value here.  It was already checked when the user
40497         called pthread_attr_setschedparam.
40499         * nptl/tst-bad-schedattr.c: New file.
40500         * nptl/Makefile (tests): Add it.
40502 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
40503             Florian Weimer  <fweimer@redhat.com>
40504             Joseph Myers  <joseph@codesourcery.com>
40505             Adam Conrad  <adconrad@0c3.net>
40506             Andreas Schwab  <schwab@suse.de>
40507             Brooks  <bmoses@google.com>
40509         [BZ #17625]
40510         * wordexp-test.c (__dso_handle): Add prototype.
40511         (__register_atfork): Likewise.
40512         (__app_register_atfork): New function.
40513         (registered_forks): New global.
40514         (register_fork): New function.
40515         (test_case): Add 3 new tests for WRDE_CMDSUB.
40516         (main): Call __app_register_atfork.
40517         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
40518         fork count is non-zero fail the test.
40519         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
40520         is set.
40521         (parse_dollars): Remove check for WRDE_NOCMD.
40522         (parse_dquote): Likewise.
40524 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40526         * Makeconfig (built-modules): List non-library modules to be
40527         built.
40528         (module-cppflags): Include libc-modules.h for
40529         everything except shlib-versions.v.i.
40530         (CPPFLAGS): Use it.
40531         (before-compile): Add libc-modules.h.
40532         ($(common-objpfx)libc-modules.h,
40533         $(common-objpfx)libc-modules.stmp): New targets.
40534         (common-generated): Add libc-modules.h and libc-modules.stmp.
40535         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
40536         * include/libc-symbols.h: Don't include libc-modules.h.
40537         * include/libc-modules.h: Remove file.
40538         * scripts/gen-libc-modules.awk: New script to generate
40539         libc-modules.h.
40540         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
40541         Depend on libc-modules.stmp.
40543         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
40545         * Makeconfig (in-module): Get value of libof set for the
40546         translation unit.
40547         (CPPFLAGS): Use $(in-module).
40548         * Makerules: Don't suffix routine names for nonlib.
40549         * include/libc-modules.h: New file.
40550         * include/libc-symbols.h: Include libc-modules.h
40551         (IS_IN): New macro to replace IS_IN_* macros.
40552         * elf/Makefile: Set libof-* for each routine.
40553         * elf/rtld-Rules: Likewise.
40554         * extra-modules.mk: Likewise.
40555         * iconv/Makefile: Likewise.
40556         * iconvdata/Makefile: Likewise.
40557         * locale/Makefile: Likewise.
40558         * malloc/Makefile: Likewise.
40559         * nss/Makefile: Likewise.
40560         * sysdeps/gnu/Makefile: Likewise.
40561         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
40562         * sysdeps/unix/sysv/linux/Makefile: Likewise.
40563         * sysdeps/s390/s390-64/Makefile: Likewise.
40564         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
40565         CPPFLAGS for nscd instead of nonlib.
40567 2014-11-18  Roland McGrath  <roland@hack.frob.com>
40569         * nptl/createthread.c: New file.
40571         * nptl/createthread.c: Moved ...
40572         * sysdeps/unix/sysv/linux/createthread.c: ... here.
40574         * nptl/createthread.c: Add proper top-line comment.
40575         (do_clone): Folded into ...
40576         (create_thread): ... here.  Take new arguments STOPPED_START and
40577         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
40578         increment __nptl_threads, do event-reporting logic, do
40579         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
40580         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
40581         resource cleanup if sched_setaffinity or sched_setscheduler fails,
40582         just send SIGCANCEL.
40583         * nptl/pthread_create.c: Forward-declare create_thread before
40584         including createthread.c.
40585         (start_thread): Use new macro START_THREAD_DEFN to replace defining
40586         declaration, and new macro START_THREAD_SELF to replace argument.
40587         Remove return statement.
40588         (report_thread_creation): New function.
40589         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
40590         synchronization logic, and __nptl_nthreads increment here, around
40591         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
40592         PD->parent_cancelhandling here, before create_thread.  When
40593         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
40594         __deallocate_stack, and ENOMEM translation here.
40596 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
40598         [BZ #17616]
40599         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
40600         (mptwo): Rename to __mptwo.
40601         (__inv): Use __mptwo instead of mptwo.
40602         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
40603         (mptwo): Rename to __mptwo.
40604         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
40605         of mpone and __mptwo instead of mptwo.
40606         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
40607         instead of mpone.
40608         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40609         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
40610         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
40611         of mpone and __mptwo instead of mptwo.
40612         (__mpranred): Use __mpone instead of mpone.
40613         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
40614         variable.
40615         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40616         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40617         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40618         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40619         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40620         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40621         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40622         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40623         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40624         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40625         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40626         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40627         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40628         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40629         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40630         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40631         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40632         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40633         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40635 2014-11-18  Tom de Vries  <tom@codesoucery.com>
40637         * manual/signal.texi (Primitives Interrupted by Signals): In section,
40638         replace BSD Handler xref with BSD Signal Handling.
40640 2014-11-17  Richard Henderson  <rth@redhat.com>
40642         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
40643         (_FP_PACK_RAW_2): Remove.
40644         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
40645         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
40646         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
40647         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
40648         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
40649         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
40650         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
40651         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
40652         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
40653         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
40654         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
40655         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
40656         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
40657         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
40658         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
40659         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
40661 2014-11-14  Roland McGrath  <roland@hack.frob.com>
40663         * signal/signal.h [__USE_MISC]
40664         (struct sigvec): Remove type.
40665         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
40666         (sigvec): Remove declaration.
40667         * sysdeps/posix/sigvec.c: Moved ...
40668         * signal/sigvec.c: ... here, replacing old file.
40669         (struct sigvec): New type, copied from old signal.h definition.
40670         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
40671         (__sigvec): Convert definition to prototype.
40672         (sigvec): Replace weak_alias with compat_symbol.
40673         * signal/Versions (libc: GLIBC_2.21): New version set.
40674         * include/signal.h: Remove __sigvec declaration.
40675         * sysdeps/unix/bsd/sigvec.c: Remove file.
40676         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
40677         * manual/signal.texi (BSD Handler): Remove subsection.
40678         Move siginterrupt up to ...
40679         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
40680         (Blocking in BSD): Fold subsection into its parent.
40681         * NEWS: Mention sigvec removal.
40683 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40685         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
40686         (DLA_FMS): Make definition conditional only on [__FMA4__].
40687         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
40688         definition.
40690         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
40691         Make definition conditional only on [PROF].
40692         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
40693         definition.
40694         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
40695         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
40697         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
40698         !__GNUC__].
40699         * include/signal.h (__sigpause): Move declaration above call to
40700         libc_hidden_proto.
40701         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
40702         variable.
40703         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40704         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40706 2014-11-14  David S. Miller  <davem@davemloft.net>
40708         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
40709         Define before including <string/memcpy.c> and <string/mempcpy.c>.
40711 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40713         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
40714         * configure: Regenerated.
40715         * manual/install.texi (Tools for Compilation): Document a
40716         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
40717         compiler verified to work.
40718         * INSTALL: Regenerated.
40720         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
40721         redeclare with asm name.
40722         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
40723         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
40724         including <string.h>.
40725         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40726         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
40727         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40728         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
40729         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40730         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
40731         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40733 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
40735         * stdlib/strtol.c (__strtol): Use prototype definition.
40737         [BZ #17594]
40738         * stdlib/strtol.c (SYM__): New macro.
40739         (SYM__1): Likewise.
40740         (__strtol): Likewise.
40741         (strtol): Rename to __strtol and define as weak alias of
40742         __strtol.  Use libc_hidden_weak.
40744 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40746         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
40747         Use numbered labels in inline assembly.
40749 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40751         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
40752         Add setjmp LIBC_PROBE.
40753         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
40754         Likewise.
40755         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
40756         Add longjmp, longjmp_target LIBC_PROBE.
40757         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
40758         Likewise.
40760 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40762         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40763         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
40764         to get rid of unused variable warning.
40766 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40768         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
40769         Check for unwind_backtrace ==  NULL only in SHARED case.
40770         (__backchain_backtrace): Compile only in SHARED case.
40771         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
40772         Likewise.
40773         (__backchain_backtrace): Declare as static.
40775 2014-11-12  Roland McGrath  <roland@hack.frob.com>
40777         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40778         (__libc_multiple_threads_ptr): Variable moved ...
40779         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40781 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
40783         * conform/GlibcConform.pm: New file.
40784         * conform/conformtest.pl: Use GlibcConform module.
40785         * conform/linknamespace.pl: New file.
40786         * conform/list-header-symbols.pl: Likewise.
40787         * conform/Makefile (linknamespace-symlists-base): New variable.
40788         (linknamespace-symlists-tests): Likewise.
40789         (linknamespace-header-base): Likewise.
40790         (linknamespace-header-tests): Likewise.
40791         (tests-special): Add new tests.
40792         ($(linknamespace-symlists-tests)): New rule.
40793         (linknamespace-libs): New variable.
40794         ($(objpfx)symlist-stdlibs): New rule.
40795         ($(linknamespace-header-tests)): Likewise.
40796         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40797         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40798         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40799         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40800         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40801         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40802         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40803         (test-xfail-ISO/math.h/linknamespace): Likewise.
40804         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40805         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40806         (test-xfail-ISO/time.h/linknamespace): Likewise.
40807         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40808         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40809         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40810         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40811         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40812         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40813         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40814         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40815         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40816         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40817         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40818         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40819         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40820         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40821         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40822         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40823         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40824         (test-xfail-XPG3/search.h/linknamespace): Likewise.
40825         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40826         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40827         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40828         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40829         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40830         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40831         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40832         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40833         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
40834         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
40835         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40836         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
40837         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40838         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
40839         (test-xfail-XPG4/search.h/linknamespace): Likewise.
40840         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
40841         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
40842         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
40843         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
40844         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
40845         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40846         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
40847         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
40848         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
40849         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
40850         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
40851         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40852         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
40853         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
40854         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
40855         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40856         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
40857         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40858         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40859         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
40860         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
40861         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40862         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40863         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
40864         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
40865         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
40866         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40867         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40868         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40869         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
40870         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
40871         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40872         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40873         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
40874         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40875         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
40876         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
40877         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
40878         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
40879         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40880         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40881         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
40882         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40883         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
40884         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
40885         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
40886         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
40887         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40888         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
40889         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
40890         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
40891         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
40892         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
40893         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40894         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40895         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40896         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
40897         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
40898         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
40899         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40900         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
40901         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
40902         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40903         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
40904         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
40905         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
40906         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40907         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40908         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
40909         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
40910         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40911         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40912         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
40913         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
40914         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
40915         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
40916         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40917         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40918         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
40919         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40920         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
40921         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40922         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40923         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40924         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
40925         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40926         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
40927         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
40928         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
40929         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40930         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40931         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40932         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40933         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
40934         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40935         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40936         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
40937         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40938         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
40939         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
40940         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40941         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40942         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40943         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40944         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
40945         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40946         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
40947         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
40948         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
40949         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40950         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
40951         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40952         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40953         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
40954         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40955         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40956         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
40958         [BZ #17589]
40959         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
40960         of fgets_unlocked.
40962         [BZ #17585]
40963         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
40964         (memmem): Rename to __memmem and define as weak alias of
40965         __memmem.  Use libc_hidden_weak.
40966         (__memmem): Use libc_hidden_def.
40967         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
40968         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
40969         memmem.
40971         [BZ #17582]
40972         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
40973         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
40974         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
40975         and define as weak alias of __fgets_unlocked.  Use
40976         libc_hidden_weak.
40977         (__fgets_unlocked): Use libc_hidden_def.
40978         * include/stdio.h (__fgets_unlocked): Declare.  Use
40979         libc_hidden_proto.
40980         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
40981         __fgets_unlocked instead of fgets_unlocked.
40982         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
40983         (GET_NPROCS_CONF_PARSER): Likewise.
40984         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
40985         (GET_NPROCS_CONF_PARSER): Likewise.
40987         [BZ #17574]
40988         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
40989         weak alias of __wmemset.  Use libc_hidden_weak.
40990         (__wmemset): Use libc_hidden_def.
40991         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
40992         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
40993         of wmemset.
40995         [BZ #17573]
40996         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
40997         with asm name __mempcpy.
40998         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
41000         [BZ #17572]
41001         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
41002         and define as weak alias of __rawmemchr.
41003         (__rawmemchr): Do not define as strong alias of rawmemchr.
41005         [BZ #17571]
41006         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
41007         alias of __qsort_r.
41008         (qsort): Call __qsort_r instead of qsort_r.
41009         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
41010         (__qsort_r): Declare.  Call libc_hidden_proto.
41011         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
41012         instead of qsort_r.
41013         * nscd/gai.c (__qsort_r): Define to qsort_r.
41014         * posix/tst-rfc3484.c (__qsort_r): Likewise.
41015         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
41016         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
41018         [BZ #17570]
41019         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
41020         define as weak alias of __malloc_info.
41022         [BZ #17584]
41023         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
41024         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41025         (__rewinddir): Use libc_hidden_def.
41026         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
41027         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41028         (__rewinddir): Use libc_hidden_def.
41029         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
41030         weak alias of __rewinddir.  Don't use libc_hidden_def.
41031         (__rewinddir): Use libc_hidden_def.
41032         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
41033         (__rewinddir): Use libc_hidden_proto.
41034         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
41035         rewinddir.
41036         (__getcwd): Use __rewinddir instead of rewinddir.
41038         [BZ #17583]
41039         * libio/fileno.c (fileno): Rename to __fileno and define as weak
41040         alias of __fileno.  Use libc_hidden_weak.
41041         (__fileno): Use libc_hidden_def.
41042         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
41043         * libio/ftello.c (ftello): Rename to __ftello and define as weak
41044         alias of __ftello.
41045         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
41046         __ftello.
41047         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
41048         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
41049         libc_hidden_def.
41050         (fread_unlocked): Don't use libc_hidden_ver.
41051         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
41052         and define as weak alias of __fread_unlocked.  Don't use
41053         libc_hidden_def.
41054         (__fread_unlocked): Use libc_hidden_def.
41055         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
41056         (ftello): Don't use libc_hidden_proto.
41057         (__ftello): Declare.  Use libc_hidden_proto.
41058         (fread_unlocked): Don't use libc_hidden_proto.
41059         (__fread_unlocked): Declare.  Use libc_hidden_proto.
41060         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
41061         and __ftello instead of fileno, fread_unlocked and ftello.
41063 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41065         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
41066         GOT12.
41067         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41068         Likewise.
41069         (_dl_start_user): Likewise.
41070         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
41072 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
41073             Siddhesh Poyarekar  <siddhesh@redhat.com>
41075         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
41076         Move argv and envp down instead of moving argc up.
41077         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
41079 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
41081         [BZ #17506]
41082         * test-skeleton.c (main): Return successful if one of
41083         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
41084         * string/tst-strcoll-overflow.c: Define expected status.
41086 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
41088         [BZ #17475]
41089         * locale/iso-639.def: Define Bhili and Tulu language codes.
41091 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
41093         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
41095 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
41097         [BZ #17555]
41098         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
41100 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41102         * configure.ac: Updated check of minimal required version to
41103         2.22.
41104         * manual/install.texi (Tools for Compilation): Updated version
41105         number.
41106         * configure: Regenerated.
41107         * INSTALL: Likewise.
41109 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
41111         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
41112         __tls_get_addr.
41114 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
41116         * include/sys/wait.h (__libc_waitpid): Remove declaration.
41117         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
41118         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41119         libc_hidden_weak.
41120         (waitpid): Define as alias of __waitpid.
41121         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
41122         __waitpid.
41123         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41124         libc_hidden_weak.
41125         (waitpid): Define as alias of __waitpid.
41126         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
41127         __libc_waitpid alias.
41128         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
41129         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
41130         Likewise.
41131         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
41132         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
41133         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
41134         alias.
41135         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
41136         __waitpid.
41137         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41138         libc_hidden_weak.
41139         (waitpid): Define as alias of __waitpid.
41141 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
41143         * manual/llio.texi: Add comment that write safety has been
41144         fixed in Linux.
41146         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
41147         (localplt-build-dso): Add elf/ld.so.
41148         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41149         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
41150         and free for ld.so.
41151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41152         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41154         Likewise.
41155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41156         Likewise.
41157         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41158         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41159         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41160         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41161         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41162         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41163         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41164         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41165         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41166         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41167         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41169 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
41171         [BZ #14132]
41172         * include/libc-symbols.h (INTUSE): Remove macro.
41173         (INTDEF): Likewise.
41174         (INTVARDEF): Likewise.
41175         (_INTVARDEF): Likewise.
41176         (INTDEF2): Likewise.
41177         (INTVARDEF2): Likewise.
41178         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41179         rtld_hidden_def instead of INTVARDEF.
41180         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41181         (_dl_starting_up_internal): Remove declaration.
41182         (_dl_starting_up): Use rtld_hidden_proto.
41183         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41184         declaration.
41185         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41186         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41187         _dl_starting_up.
41188         * elf/dl-writev.h (_dl_writev): Likewise.
41189         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41190         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41191         _dl_starting_up_internal.
41193 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41195         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41196         test-skeleton.c.
41198 2014-11-05  Will Newton  <will.newton@linaro.org>
41200         * benchtests/Makefile: (bench-malloc): Add malloc thread
41201         scalability benchmark.
41202         * benchtests/bench-malloc-threads.c: New file.
41204 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
41206         * sysdeps/aarch64/strchrnul.S: New file.
41208 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41210         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41211         definition.
41212         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41213         Likewise.
41214         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41215         Likewise.
41216         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41217         Likewise.
41218         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41219         Likewise.
41220         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41221         Likewise.
41223 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41225         * catgets/test-gencat.c: Use test-skeleton.c.
41226         * catgets/tst-catgets.c: Likewise.
41227         * csu/tst-empty.c: Likewise.
41228         * elf/tst-audit2.c: Likewise.
41229         * elf/tst-global1.c: Likewise.
41230         * elf/tst-pathopt.c: Likewise.
41231         * elf/tst-piemod1.c: Likewise.
41232         * elf/tst-tls10.c: Likewise.
41233         * elf/tst-tls11.c: Likewise.
41234         * elf/tst-tls12.c: Likewise.
41235         * gnulib/tst-gcc.c: Likewise.
41236         * iconvdata/tst-e2big.c: Likewise.
41237         * iconvdata/tst-loading.c: Likewise.
41238         * iconv/tst-iconv1.c: Likewise.
41239         * iconv/tst-iconv2.c: Likewise.
41240         * inet/test-inet6_opt.c: Likewise.
41241         * inet/tst-gethnm.c: Likewise.
41242         * inet/tst-network.c: Likewise.
41243         * inet/tst-ntoa.c: Likewise.
41244         * intl/tst-codeset.c: Likewise.
41245         * intl/tst-gettext2.c: Likewise.
41246         * intl/tst-gettext3.c: Likewise.
41247         * intl/tst-ngettext.c: Likewise.
41248         * intl/tst-translit.c: Likewise.
41249         * io/test-stat.c: Likewise.
41250         * libio/test-fmemopen.c: Likewise.
41251         * libio/tst-freopen.c: Likewise.
41252         * libio/tst-sscanf.c: Likewise.
41253         * libio/tst-ungetwc1.c: Likewise.
41254         * libio/tst-ungetwc2.c: Likewise.
41255         * libio/tst-widetext.c: Likewise.
41256         * localedata/tst-ctype.c: Likewise.
41257         * localedata/tst-digits.c: Likewise.
41258         * localedata/tst-leaks.c: Likewise.
41259         * localedata/tst-mbswcs1.c: Likewise.
41260         * localedata/tst-mbswcs2.c: Likewise.
41261         * localedata/tst-mbswcs3.c: Likewise.
41262         * localedata/tst-mbswcs4.c: Likewise.
41263         * localedata/tst-mbswcs5.c: Likewise.
41264         * localedata/tst-setlocale.c: Likewise.
41265         * localedata/tst-trans.c: Likewise.
41266         * localedata/tst-wctype.c: Likewise.
41267         * localedata/tst-xlocale1.c: Likewise.
41268         * login/tst-grantpt.c: Likewise.
41269         * malloc/tst-calloc.c: Likewise.
41270         * malloc/tst-malloc.c: Likewise.
41271         * malloc/tst-mallocstate.c: Likewise.
41272         * malloc/tst-mcheck.c: Likewise.
41273         * malloc/tst-mtrace.c: Likewise.
41274         * malloc/tst-obstack.c: Likewise.
41275         * math/atest-exp2.c: Likewise.
41276         * math/atest-exp.c: Likewise.
41277         * math/atest-sincos.c: Likewise.
41278         * math/test-matherr.c: Likewise.
41279         * math/test-misc.c: Likewise.
41280         * math/test-powl.c: Likewise.
41281         * math/tst-definitions.c: Likewise.
41282         * misc/tst-dirname.c: Likewise.
41283         * misc/tst-efgcvt.c: Likewise.
41284         * misc/tst-fdset.c: Likewise.
41285         * misc/tst-hsearch.c: Likewise.
41286         * misc/tst-mntent2.c: Likewise.
41287         * nptl/tst-sem7.c: Likewise.
41288         * nptl/tst-sem8.c: Likewise.
41289         * nptl/tst-sem9.c: Likewise.
41290         * nss/test-netdb.c: Likewise.
41291         * posix/tst-fnmatch.c: Likewise.
41292         * posix/tst-getlogin.c: Likewise.
41293         * posix/tst-gnuglob.c: Likewise.
41294         * posix/tst-mmap.c: Likewise.
41295         * pwd/tst-getpw.c: Likewise.
41296         * resolv/tst-inet_ntop.c: Likewise.
41297         * rt/tst-timer.c: Likewise.
41298         * stdio-common/test-fseek.c: Likewise.
41299         * stdio-common/test-popen.c: Likewise.
41300         * stdio-common/test-vfprintf.c: Likewise.
41301         * stdio-common/tst-cookie.c: Likewise.
41302         * stdio-common/tst-fileno.c: Likewise.
41303         * stdio-common/tst-gets.c: Likewise.
41304         * stdio-common/tst-obprintf.c: Likewise.
41305         * stdio-common/tst-perror.c: Likewise.
41306         * stdio-common/tst-sprintf2.c: Likewise.
41307         * stdio-common/tst-sprintf3.c: Likewise.
41308         * stdio-common/tst-sprintf.c: Likewise.
41309         * stdio-common/tst-swprintf.c: Likewise.
41310         * stdio-common/tst-tmpnam.c: Likewise.
41311         * stdio-common/tst-unbputc.c: Likewise.
41312         * stdio-common/tst-wc-printf.c: Likewise.
41313         * stdlib/tst-environ.c: Likewise.
41314         * stdlib/tst-fmtmsg.c: Likewise.
41315         * stdlib/tst-limits.c: Likewise.
41316         * stdlib/tst-rand48-2.c: Likewise.
41317         * stdlib/tst-rand48.c: Likewise.
41318         * stdlib/tst-random2.c: Likewise.
41319         * stdlib/tst-random.c: Likewise.
41320         * stdlib/tst-strtol.c: Likewise.
41321         * stdlib/tst-strtoll.c: Likewise.
41322         * stdlib/tst-tls-atexit.c: Likewise.
41323         * stdlib/tst-xpg-basename.c: Likewise.
41324         * string/test-ffs.c: Likewise.
41325         * string/tst-bswap.c: Likewise.
41326         * string/tst-inlcall.c: Likewise.
41327         * string/tst-strtok.c: Likewise.
41328         * string/tst-strxfrm.c: Likewise.
41329         * sysdeps/x86_64/tst-audit10.c: Likewise.
41330         * sysdeps/x86_64/tst-audit3.c: Likewise.
41331         * sysdeps/x86_64/tst-audit4.c: Likewise.
41332         * sysdeps/x86_64/tst-audit5.c: Likewise.
41333         * time/tst-ftime_l.c: Likewise.
41334         * time/tst-getdate.c: Likewise.
41335         * time/tst-mktime3.c: Likewise.
41336         * time/tst-mktime.c: Likewise.
41337         * time/tst-posixtz.c: Likewise.
41338         * time/tst-strptime2.c: Likewise.
41339         * time/tst-strptime3.c: Likewise.
41340         * wcsmbs/tst-btowc.c: Likewise.
41341         * wcsmbs/tst-mbrtowc.c: Likewise.
41342         * wcsmbs/tst-mbsrtowcs.c: Likewise.
41343         * wcsmbs/tst-wchar-h.c: Likewise.
41344         * wcsmbs/tst-wcpncpy.c: Likewise.
41345         * wcsmbs/tst-wcrtomb.c: Likewise.
41346         * wcsmbs/tst-wcsnlen.c: Likewise.
41347         * wcsmbs/tst-wcstof.c: Likewise.
41349 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
41351         [BZ #14132]
41352         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41353         INTDEF.
41354         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41355         declaration.
41356         (_dl_mcount): Use rtld_hidden_proto.
41357         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41358         _dl_mcount.
41359         * elf/rtld.c (_rtld_global_ro): Likewise.
41361         [BZ #14132]
41362         * elf/dl-init.c (_dl_init): Don't use INTDEF.
41363         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41364         of _dl_init_internal.
41365         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41366         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41367         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41368         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41369         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41370         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41371         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41372         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41373         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41374         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41375         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41376         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41377         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41378         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41379         * sysdeps/tile/dl-start.S (_start): Likewise.
41380         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41381         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41383         [BZ #14132]
41384         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41385         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41386         (rtld_progname): Make macro definition unconditional.
41387         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41388         INTDEF.
41389         (dlmopen_doit): Do not use INTUSE with _dl_argv.
41390         (dl_main): Likewise.
41391         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41392         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41393         instead of _dl_argv_internal.
41394         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41395         __GI__dl_argv instead of INTUSE(_dl_argv).
41396         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41397         __GI__dl_argv instead of _dl_argv_internal.
41399         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41400         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41401         macro.
41402         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41403         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41404         New macro.
41405         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41406         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41407         macro.
41408         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41409         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41411 2014-11-04  Andreas Schwab  <schwab@suse.de>
41413         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41415 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41417         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41418         mtvsrd instruction in binary form.
41420 2014-11-03  Andreas Schwab  <schwab@suse.de>
41422         [BZ #17522]
41423         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41424         for less than MB_LEN_MAX use a local buffer of that size.
41425         * libio/tst-fputws.c: New file.
41426         * libio/Makefile (tests): Add tst-fputws.
41428 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
41430         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41431         the size of the fpu_fr.fpu_dregs[] array.
41433 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
41435         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41436         (__nanosleep): Do not define as alias.
41437         (nanosleep): Define as alias of __nanosleep.
41438         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41439         __libc_nanosleep name.
41441 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41443         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
41444         install.texi in comment.
41446 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41448         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
41449         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
41450         ... add here and use lwsync or sync ...
41451         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
41452         ... and add here using lwsync.
41454 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41456         * elf/dl-machine-reject-phdr.h: New file.
41457         * elf/dl-load.c: #include that.
41458         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
41459         if that returned true.
41461 2014-10-31  Roland McGrath  <roland@hack.frob.com>
41463         [BZ #17496]
41464         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
41465         gen-as-const-headers chunk.  Add a big scare comment after the last
41466         safe place to touch before-compile.
41468 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41470         * manual/install.texi (Tools for Compilation): Update autoconf
41471         version requirements.
41472         * INSTALL: Regenerated.
41474         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
41475         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
41476         (__libc_pselect): Likewise.
41478         [BZ #14138]
41479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
41480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41484 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41486         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
41487         correct barrier instruction.
41488         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
41489         Likewise.
41490         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
41491         Likewise.
41493 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41495         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
41496         after defining inlines.  Instead, just use parens to defeat macro
41497         expansion of __isctype in its declaration.
41499 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41501         * include/sys/uio.h (__libc_readv): Remove declaration.
41502         (__libc_writev): Likewise.
41503         * misc/readv.c (__libc_readv): Rename to __readv.
41504         (__readv): Do not define as alias.
41505         (readv): Define as alias of __readv.
41506         * misc/writev.c (__libc_writev): Rename to __writev.
41507         (__writev): Do not define as alias.
41508         (writev): Define as alias of __writev.
41509         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
41510         (__readv): Do not define as alias.
41511         (readv): Define unconditionally as alias of __readv.
41512         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
41513         (__writev): Do not define as alias.
41514         (writev): Define unconditionally as alias of __writev.
41515         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
41516         name.
41517         (writev): Do not define __libc_writev name.
41519 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41521         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
41522         (convert_charseq): New function, broken out of ...
41523         (use_from_charmap): ... here.  Call it.
41524         (use_to_charmap): Use convert_charseq and free instead of duplicating
41525         its code with a variable-length stack struct.
41527 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41529         * include/fcntl.h (__libc_creat): Remove declaration.
41530         * io/creat.c (__libc_creat): Rename to creat.
41531         (creat): Do not define as alias.
41532         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
41533         of creat instead of __libc_creat.
41534         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
41535         to creat.
41536         (creat): Do not define as alias.
41537         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
41538         __libc_creat.
41539         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
41540         __libc_creat name.
41541         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
41542         Likewise.
41544 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
41546         * manual/llio.texi: Add comments discussing why write() may be
41547         considered MT-unsafe on Linux.
41549 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
41551         * dl-load.c (local_strdup): Remove.
41552         (expand_dynamic_string_token): Use __strdup.
41553         (decompose_rpath): Likewise.
41554         (_dl_map_object): Likewise.
41556 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
41558         [BZ #14132]
41559         * sysdeps/generic/unwind-dw2-fde.c
41560         (__register_frame_info_bases_internal): Do not declare.
41561         (__register_frame_info_table_bases_internal): Likewise.
41562         (__deregister_frame_info_bases_internal): Likewise.
41563         (__register_frame_info_bases): Declare and use hidden_proto before
41564         definition.  Use hidden_def instead of INTDEF.
41565         (__register_frame_info_table_bases): Likewise.
41566         (__deregister_frame_info_bases): Likewise.
41567         (__register_frame_info): Do not use INTUSE.
41568         (__register_frame): Likewise.
41569         (__register_frame_info_table): Likewise.
41570         (__register_frame_table): Likewise.
41571         (__deregister_frame_info): Likewise.
41572         (__deregister_frame): Likewise.
41574 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
41576         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41577         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
41578         not undefine.
41579         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
41580         Likewise.
41581         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
41582         Likewise.
41584 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
41586         [BZ #14138]
41587         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
41588         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
41589         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
41590         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
41591         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
41592         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
41593         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
41594         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
41595         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
41596         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
41597         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
41598         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
41599         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
41600         syscall.
41601         (setfsuid): Likewise.
41602         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
41603         (setfsuid): Likewise.
41604         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
41605         (setfsuid): Likewise.
41606         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
41607         Likewise.
41608         (setfsuid): Likewise.
41609         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
41610         (setfsuid): Likewise.
41611         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
41612         Likewise.
41613         (setfsuid): Likewise.
41615 2014-10-27  Andreas Schwab  <schwab@suse.de>
41617         [BZ #17501]
41618         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
41619         check for Slow_SSE4_2 feature bit.
41620         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
41621         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41622         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
41623         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
41625 2014-10-24  Roland McGrath  <roland@hack.frob.com>
41627         * configure.ac: Validate compiler version with a empirical test of
41628         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
41629         $CC -v output.
41630         * configure: Regenerated.
41632         * inet/htons.c (htons): Prototypify.
41633         * inet/htonl.c (htonl): Likewise.
41635 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41637         * string/strncat.c (strncat): Improve performance by using strlen.
41639 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41641         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
41643 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41645         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
41646         Call libc_fetestexcept_aarch64.
41648 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41650         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
41651         Call libc_feholdexcept_aarch64.
41653 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41655         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
41656         Call get_rounding_mode.
41658 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41660         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41661         Simplify logic.
41663 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41665         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
41666         Simplify logic.
41668 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
41670         [BZ #14138]
41671         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
41672         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
41673         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
41674         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
41675         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
41676         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
41677         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
41678         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
41679         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
41680         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
41681         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41682         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
41683         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
41684         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
41685         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
41686         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
41687         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
41688         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
41689         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
41690         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
41691         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
41692         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
41693         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
41694         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
41695         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
41696         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
41697         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
41698         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
41699         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
41700         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
41701         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
41702         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
41703         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
41704         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
41705         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
41706         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
41707         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
41708         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
41709         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
41710         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
41711         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
41712         syscall.
41713         (geteuid): Likewise.
41714         (getgid): Likewise.
41715         (getuid): Likewise.
41716         (getresgid): Likewise.
41717         (getresuid): Likewise.
41718         (getgroups): Likewise.
41719         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
41720         (geteuid): Likewise.
41721         (getgid): Likewise.
41722         (getuid): Likewise.
41723         (getresgid): Likewise.
41724         (getresuid): Likewise.
41725         (getgroups): Likewise.
41726         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
41727         (geteuid): Likewise.
41728         (getgid): Likewise.
41729         (getuid): Likewise.
41730         (getresgid): Likewise.
41731         (getresuid): Likewise.
41732         (getgroups): Likewise.
41733         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
41734         Likewise.
41735         (geteuid): Likewise.
41736         (getgid): Likewise.
41737         (getuid): Likewise.
41738         (getresgid): Likewise.
41739         (getresuid): Likewise.
41740         (getgroups): Likewise.
41741         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
41742         (geteuid): Likewise.
41743         (getgid): Likewise.
41744         (getuid): Likewise.
41745         (getresgid): Likewise.
41746         (getresuid): Likewise.
41747         (getgroups): Likewise.
41748         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
41749         Likewise.
41750         (geteuid): Likewise.
41751         (getgid): Likewise.
41752         (getuid): Likewise.
41753         (getgroups): Likewise.
41755         [BZ #14138]
41756         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
41757         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
41758         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
41759         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41760         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
41761         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
41762         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
41763         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
41764         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
41765         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
41766         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
41767         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
41768         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
41769         __chown.
41770         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
41771         (lchown): Likewise.
41772         (fchown): Likewise.
41773         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
41774         Likewise.
41775         (lchown): Likewise.
41776         (fchown): Likewise.
41777         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41778         (lchown): Likewise.
41779         (fchown): Likewise.
41780         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41781         Likewise.
41782         (lchown): Likewise.
41783         (fchown): Likewise.
41785 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41787         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41788         Simplify logic.
41790 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41792         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41793         Cleanup logic.
41795 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41797         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41798         Remove unused include.
41800 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41802         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41803         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41804         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41805         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41807 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41808             Helge Deller <deller@gmx.de>
41810         [BZ #17508]
41811         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41812         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41813         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41815 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41817         [BZ #14132]
41818         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41819         Remove macro definition.
41820         (__ashrdi3_v_glibc20): Likewise.
41821         (__lshrdi3_v_glibc20): Likewise.
41822         (__cmpdi2_v_glibc20): Likewise.
41823         (__ucmpdi2_v_glibc20): Likewise.
41824         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41825         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41826         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41827         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41828         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41829         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41831 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41833         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
41834         old GNU extension [0] syntax.
41835         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
41836         alloca rather than an array member with variable length.
41837         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
41838         * nscd/nscd.c (invalidate_db): New function, broken out of ...
41839         (parse_opt): ... here.  Likewise use alloca there.
41840         Validate the -i argument before checking for rootness.
41841         (send_shutdown): New function, broken out of ...
41842         (parse_opt): ... here.
41844 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41846         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41847         macro to get at the _rt_local_ro field.
41848         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
41849         ([PIC] case) or _dl_hwcap ([!PIC] case).
41850         * sysdeps/arm/setjmp.S: Likewise.
41852         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
41853         * sysdeps/arm/configure.ac: New check to define it.
41854         * sysdeps/arm/configure: Regenerated.
41855         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
41856         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
41857         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
41858         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
41859         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
41860         Use move/movt pair instead of a load.
41861         (LDST_GLOBAL): Macro removed.
41862         (LDR_GLOBAL): New macro replaces it.
41863         (LDR_HIDDEN): New macro.
41864         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
41865         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
41867         * setjmp/tst-setjmp-static.c: New file.
41868         * setjmp/Makefile (tests): Add it.
41869         (tests-static): New variable.
41871 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
41873         [BZ #17485]
41874         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
41876 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
41878         [BZ #14132]
41879         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
41881 2014-10-21  Roland McGrath  <roland@hack.frob.com>
41883         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
41885 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41887         * io/fts.c (dirent_not_directory): New function.
41888         (fts_build): Call it.
41890 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41892         * nptl/version.c (__nptl_main): Use normal __write rather than
41893         INTERNAL_SYSCALL.
41894         (banner): Update copyright years.
41896         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
41897         gettimeofday.
41898         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41899         * nptl/pthread_cond_timedwait.c: Likewise.
41900         * nptl/pthread_mutex_timedlock.c: Likewise.
41901         * nptl/sem_timedwait.c: Likewise.
41903         * sysdeps/nptl/bits/libc-lock.h
41904         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41905         (__libc_lock_init_recursive): Return void, not 0.
41906         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
41907         (__libc_rwlock_init): Likewise.
41908         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
41910 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41912         [BZ #15215]
41913         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
41914         (__pthread_once_slow): ... here.
41915         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
41916         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
41918 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41920         [BZ #15215]
41921         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
41922         __PTHREAD_ONCE_FORK_GEN_INCR): New.
41923         * sysdeps/nptl/fork.c (__libc_fork): Use them.
41924         * nptl/pthread_once.c (__pthread_once): Likewise.
41925         Update comments.
41927 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
41929         [BZ #14138]
41930         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
41931         name.
41932         (writev): Use __libc_writev as strong name.
41933         * sysdeps/unix/sysv/linux/readv.c: Remove file.
41934         * sysdeps/unix/sysv/linux/writev.c: Likewise.
41936 2014-10-17  Roland McGrath  <roland@hack.frob.com>
41938         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
41940         * sysdeps/i386/nptl/tls.h
41941         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
41942         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
41943         New macros.
41944         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
41945         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
41946         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
41947         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
41948         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
41949         Call CHECK_THREAD_SYSINFO instead of doing an assert.
41951         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
41952         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
41953         on [__NR_futex].
41954         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
41955         broken out of ...
41956         (__pthread_mutex_init): ... here.  Call it.
41957         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41958         Conditionalize PI cases on [__NR_futex].
41959         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
41960         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
41961         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
41963         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
41964         conditional on [SIGSETXID].
41965         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
41966         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
41967         is defined.  Likewise for SIGSETXID.
41968         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
41969         Conditionalize definitions on [SIGSETXID].
41970         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
41971         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
41972         unblocking on [SIGCANCEL].
41974         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
41975         [__NR_set_robust_list].
41977 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41979         * string/strcoll_l.c (get_next_seq): Fix up formatting.
41980         (do_compare): Likewise.
41982 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
41984         [BZ #15884]
41985         * string/strcoll_l.c: Don't include stdio.h.
41986         (coll_seq): Remove members idxarr and rulearr.
41987         (get_next_seq_cached): Remove function.
41988         (get_next_seq): Likewise.
41989         (get_next_seq_nocache): Rename to get_next_seq.
41990         (do_compare): Remove function.
41991         (do_compare_nocache): Rename to do_compare.
41992         (STRCOLL): Remove weight and rules cache.
41994 2014-10-16  Roland McGrath  <roland@hack.frob.com>
41996         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
41997         * sysdeps/arm/sfp-machine.h: ... to here.
41998         * sysdeps/arm/Implies: Remove arm/soft-fp.
42000 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
42002         * conform/data/sys/utsname.h-data (*_t): Allow.
42003         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
42004         [POSIX] (WEXITED): Do not expect constant.
42005         [POSIX] (WSTOPPED): Likewise.
42006         [POSIX] (WNOHANG): Likewise.
42007         [POSIX] (WNOWAIT): Likewise.
42008         [POSIX] (siginfo_t): Do not expect type or elements.
42009         [POSIX] (pid_t): Do not expect type.
42010         [POSIX] (signal.h): Do not allow header.
42011         [POSIX] (sys/resource.h): Likewise.
42012         [POSIX] (si_*): Do not allow pattern.
42013         [POSIX] (W*): Likewise.
42014         [POSIX] (P_*): Likewise.
42015         [POSIX] (BUS_*): Likewise.
42016         [POSIX] (CLD_*): Likewise.
42017         [POSIX] (FPE_*): Likewise.
42018         [POSIX] (ILL_*): Likewise.
42019         [POSIX] (POLL_*): Likewise.
42020         [POSIX] (SEGV_*): Likewise.
42021         [POSIX] (SI_*): Likewise.
42022         [POSIX] (TRAP_*): Likewise.
42023         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
42024         variable.
42026 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
42028         [BZ #12926]
42029         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
42030         infinite loop when __recvmsg returns 0.
42032 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
42034         * CANCEL-FCT-WAIVE: Remove file.
42035         * CANCEL-FILE-WAIVE: Likewise.
42037         [BZ #14132]
42038         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
42039         instead of INTVARDEF.
42040         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42041         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
42042         rtld_hidden_data_def instead of INTVARDEF.
42043         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42044         * elf/dl-deps.c (expand_dst): Likewise.
42045         * elf/dl-load.c (_dl_dst_count): Likewise.
42046         (_dl_dst_substitute): Likewise.
42047         (decompose_rpath): Likewise.
42048         (_dl_init_paths): Likewise.
42049         (open_path): Likewise.
42050         (_dl_map_object): Likewise.
42051         * elf/rtld.c (dl_main): Likewise.
42052         (process_dl_audit): Likewise.
42053         (process_envvars): Likewise.
42054         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
42055         Remove declaration.
42056         (__libc_enable_secure): Use rtld_hidden_proto.
42058 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42060         * elf/dl-load.c
42061         (add_path): New function broken out of _dl_rtld_di_serinfo.
42062         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
42064 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42066         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
42067         parentheses around macro arguments.
42068         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
42069         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
42070         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
42071         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
42072         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
42073         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42074         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42075         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
42076         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
42077         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
42078         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
42079         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
42080         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
42081         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
42082         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
42083         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
42084         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
42085         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
42086         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
42087         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
42088         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
42089         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
42090         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
42091         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42092         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42093         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
42094         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
42095         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
42096         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
42097         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
42098         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
42099         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
42100         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
42101         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
42102         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
42103         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
42104         Likewise.
42105         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
42106         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42107         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42108         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
42109         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
42110         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
42111         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
42112         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
42113         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
42114         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
42115         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
42116         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
42117         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
42118         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
42119         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
42120         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42121         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42122         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
42123         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
42124         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
42125         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
42126         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
42127         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
42128         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
42129         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
42130         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
42131         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
42132         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
42133         (_FP_FRAC_SRS_1): Likewise.
42134         (_FP_FRAC_CLZ_1): Likewise.
42135         (_FP_MUL_MEAT_1_imm): Likewise.
42136         (_FP_MUL_MEAT_1_wide): Likewise.
42137         (_FP_MUL_MEAT_1_hard): Likewise.
42138         (_FP_SQRT_MEAT_1): Likewise.
42139         (_FP_FRAC_ASSEMBLE_1): Likewise.
42140         (_FP_FRAC_DISASSEMBLE_1): Likewise.
42141         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
42142         (__FP_CLZ_2): Likewise.
42143         (_FP_MUL_MEAT_2_wide): Likewise.
42144         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42145         (_FP_MUL_MEAT_2_gmp): Likewise.
42146         (_FP_MUL_MEAT_2_120_240_double): Likewise.
42147         (_FP_SQRT_MEAT_2): Likewise.
42148         (_FP_FRAC_ASSEMBLE_2): Likewise.
42149         (_FP_FRAC_DISASSEMBLE_2): Likewise.
42150         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
42151         (_FP_FRAC_CLZ_4): Likewise.
42152         (_FP_MUL_MEAT_4_wide): Likewise.
42153         (_FP_MUL_MEAT_4_gmp): Likewise.
42154         (_FP_SQRT_MEAT_4): Likewise.
42155         (_FP_FRAC_ASSEMBLE_4): Likewise.
42156         (_FP_FRAC_DISASSEMBLE_4): Likewise.
42157         * soft-fp/op-common.h (_FP_CMP): Likewise.
42158         (_FP_CMP_EQ): Likewise.
42159         (_FP_CMP_UNORD): Likewise.
42160         (_FP_TO_INT): Likewise.
42161         (_FP_FROM_INT): Likewise.
42162         [!__FP_CLZ] (__FP_CLZ): Likewise.
42163         (_FP_DIV_HELP_imm): Likewise.
42164         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42165         Likewise.
42166         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42167         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42168         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42169         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42170         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42171         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42172         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42173         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42174         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42175         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42176         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42177         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42178         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42179         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42180         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42181         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42182         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42184         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42185         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42186         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42188         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42189         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42190         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42191         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42192         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42193         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42194         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42195         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42196         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42197         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42198         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42199         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42200         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42201         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42202         (FP_UNPACK_RAW_SP): Likewise.
42203         (FP_PACK_RAW_S): Likewise.
42204         (FP_PACK_RAW_SP): Likewise.
42205         (FP_UNPACK_S): Likewise.
42206         (FP_UNPACK_SP): Likewise.
42207         (FP_UNPACK_SEMIRAW_S): Likewise.
42208         (FP_UNPACK_SEMIRAW_SP): Likewise.
42209         (FP_PACK_S): Likewise.
42210         (FP_PACK_SP): Likewise.
42211         (FP_PACK_SEMIRAW_S): Likewise.
42212         (FP_PACK_SEMIRAW_SP): Likewise.
42213         (_FP_SQRT_MEAT_S): Likewise.
42214         (FP_CMP_S): Likewise.
42215         (FP_CMP_EQ_S): Likewise.
42216         (FP_CMP_UNORD_S): Likewise.
42217         (FP_TO_INT_S): Likewise.
42218         (FP_FROM_INT_S): Likewise.
42220         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42222         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42223         (FP_EX_INVALID_IMZ): Likewise.
42224         (FP_EX_INVALID_IMZ_FMA): Likewise.
42225         (FP_EX_INVALID_ISI): Likewise.
42226         (FP_EX_INVALID_ZDZ): Likewise.
42227         (FP_EX_INVALID_IDI): Likewise.
42228         (FP_EX_INVALID_SQRT): Likewise.
42229         (FP_EX_INVALID_CVI): Likewise.
42230         (FP_EX_INVALID_VC): Likewise.
42231         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42232         "invalid" exceptions.
42233         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42234         (_FP_ADD_INTERNAL): Likewise.
42235         (_FP_MUL): Likewise.
42236         (_FP_FMA): Likewise.
42237         (_FP_DIV): Likewise.
42238         (_FP_CMP_CHECK_NAN): Likewise.
42239         (_FP_SQRT): Likewise.
42240         (_FP_TO_INT): Likewise.
42241         (FP_EXTEND): Likewise.
42243 2014-10-09  Allan McRae  <allan@archlinux.org>
42245         * po/fr.po: Update French translation from translation project.
42247 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42249         [BZ #14132]
42250         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42251         of INTDEF.
42252         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42253         (__cxa_atexit): Use libc_hidden_proto.
42254         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42256         [BZ #14132]
42257         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42258         declaration.
42259         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42260         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42261         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42262         [!_ISOMAC] (__iswctype_internal): Likewise.
42263         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42264         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42265         alias.
42266         (fcntl): Remove __fcntl_internal alias.
42267         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42268         __connect_internal alias.
42269         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42270         Likewise.
42272         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42273         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42274         FP_DENORM_ZERO.
42275         (_FP_CHECK_FLUSH_ZERO): New macro.
42276         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42277         (_FP_CMP): Likewise.
42278         (_FP_CMP_EQ): Likewise.
42279         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42280         FP_DENORM_ZERO.
42281         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42282         (FP_TRUNC): Likewise.
42284         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42285         treated as invalid conversion, not as normal exponent.
42287         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42288         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42289         (_FP_CMP_EQ): Likewise.
42290         (_FP_CMP_UNORD): Likewise.
42291         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42292         (FP_CMP_EQ_D): Likewise.
42293         (FP_CMP_UNORD_D): Likewise.
42294         * soft-fp/extended.h (FP_CMP_E): Likewise.
42295         (FP_CMP_EQ_E): Likewise.
42296         (FP_CMP_UNORD_E): Likewise.
42297         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42298         (FP_CMP_EQ_Q): Likewise.
42299         (FP_CMP_UNORD_Q): Likewise.
42300         * soft-fp/single.h (FP_CMP_S): Likewise.
42301         (FP_CMP_EQ_S): Likewise.
42302         (FP_CMP_UNORD_S): Likewise.
42303         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42304         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42305         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42306         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42307         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42308         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42309         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42310         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42311         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42312         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42313         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42314         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42315         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42316         to FP_CMP_Q.
42317         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42318         FP_CMP_Q.
42319         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42320         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42321         FP_CMP_EQ_Q.
42322         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42323         FP_CMP_Q.
42324         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42325         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42326         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42327         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42328         FP_CMP_EQ_Q.
42329         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42330         FP_CMP_Q.
42331         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42332         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42333         FP_CMP_EQ_Q.
42334         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42335         FP_CMP_Q.
42336         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42337         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42338         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42339         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42340         FP_CMP_EQ_Q.
42342         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42343         a subnormal result, set the underflow exception if trapping on
42344         underflow is enabled.
42345         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42346         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42347         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42348         redefine to 0.
42349         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42350         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42351         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42352         * soft-fp/extendxftf2.c (__extendxftf2): Use
42353         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42355         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42356         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42357         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42358         FP_HANDLE_EXCEPTIONS.
42359         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42360         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42361         FP_HANDLE_EXCEPTIONS.
42362         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42363         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42364         FP_HANDLE_EXCEPTIONS.
42365         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42366         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42367         FP_HANDLE_EXCEPTIONS.
42369 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
42371         [BZ #14132]
42372         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42373         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42374         use INTUSE.
42375         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42376         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42377         Remove alias.
42378         (__adjtimex): Define using libc_hidden_ver.
42379         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42380         Remove declaration.
42381         (ntp_gettime): Call __adjtimex directly.
42382         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42383         Remove declaration.
42384         (ntp_gettimex): Call __adjtimex directly.
42385         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42386         __adjtimex_internal alias.
42388 2014-10-08  Roland McGrath  <roland@hack.frob.com>
42390         [BZ #17460]
42391         * nscd/nscd.c (more_help): Rewrite list of tables collection
42392         using xstrdup and asprintf.
42394         * nscd/nscd_conf.c: Remove local xstrdup declaration.
42396 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42397             Roland McGrath  <roland@hack.frob.com>
42399         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42400         (do_lookup_unique): ... local function 'enter' here; update callers.
42402 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
42404         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42405         compat_symbol calls on [SHARED].
42406         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42407         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42408         Remove.
42409         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42410         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42411         (oldsetrlimit): Remove.
42412         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42414         (lchown): New syscall entry.
42415         (oldsetrlimit): Remove.
42416         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42417         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42418         (oldsetrlimit): Remove.
42419         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42421         [BZ #14138]
42422         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42423         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42424         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42425         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42426         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42427         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42428         (fchown): Likewise.
42429         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42430         (fchown): Likewise.
42431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42432         Likewise.
42434 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42436         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42437         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42438         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42439         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42440         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42441         Likewise.
42442         (__old_sem_post): Likewise.
42444 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
42446         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
42447         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
42448         HAVE_CLOCK_GETTIME_VSYSCALL macros.
42449         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
42450         Use INLINE_VSYSCALL macro.
42451         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
42452         __vdso_clock_gettime.
42453         * sysdeps/unix/sysv/linux/tile/init-first.c
42454         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
42455         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
42456         __vdso_clock_gettime.
42458         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
42459         to set up frame more cleanly.
42461         * sysdeps/tile/memcmp.c: New file.
42463         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
42465         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
42466         * sysdeps/tile/tilegx/strcasestr.c: New file.
42467         * sysdeps/tile/tilegx/strnlen.c: New file.
42468         * sysdeps/tile/tilegx/strstr.c: New file.
42470         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
42472 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
42474         * nptl/tst-setuid3.c: Write errors to stdout.
42476 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42478         * elf/dl-deps.c
42479         (preload): New functions broken out of _dl_map_object_deps.
42480         (_dl_map_object_deps):  Remove a nested function. Update call sites.
42482 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
42484         [BZ #14138]
42485         * sysdeps/unix/sysv/linux/execve.c: Remove file.
42486         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
42488 2014-10-01  Steve Ellcey  <sellcey@mips.com>
42490         * sysdeps/mips/strcmp.S: New.
42492 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
42494         [BZ #14138]
42495         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
42496         (linkat): Likewise.
42497         (mkdirat): Likewise.
42498         (readlinkat): Likewise.
42499         (renameat): Likewise.
42500         (symlinkat): Likewise.
42501         (unlinkat): Likewise.
42502         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
42503         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
42504         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
42505         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
42506         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
42507         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
42508         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
42510 2014-09-30  Will Newton  <will.newton@linaro.org>
42512         * math/math.h: Define long double math functions if
42513         _LIBC_TEST is defined.
42514         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
42516         * localedata/Makefile: Move assignment to tests-special
42517         into an ifdef testing run-built-tests.
42518         * timezone/Makefile: Likewise.
42520 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
42522         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
42523         with $(BASH) not $(SHELL).
42525 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
42526             Matthew LeGendre  <legendre1@llnl.gov>
42528         [BZ #17411]
42529         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
42530         l_reloc_result.
42532 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42534         * stdio-common/printf_fp.c
42535         (hack_digit): New function, broken out of ...
42536         (__printf_fp): ... local function here.  Update call sites.
42537         hack_digit now takes an additional parameter that is a pointer
42538         to a struct of the referenced locals.  Those locals moved inside
42539         the struct and references updated.
42541 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
42543         * aclocal.m4: Require autoconf 2.69.
42544         * configure: Regenerated.
42545         * sysdeps/aarch64/configure: Likewise.
42546         * sysdeps/alpha/configure: Likewise.
42547         * sysdeps/arm/armv7/configure: Likewise.
42548         * sysdeps/arm/configure: Likewise.
42549         * sysdeps/ia64/configure: Likewise.
42550         * sysdeps/mach/configure: Likewise.
42551         * sysdeps/mips/configure: Likewise.
42552         * sysdeps/s390/configure: Likewise.
42553         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
42554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
42556         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
42557         file.
42558         * sysdeps/ia64/configure.ac: Likewise.
42560 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
42562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
42563         specify symbol version for ld.so.  Do not include entry for
42564         libpthread.
42565         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42566         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42567         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42569         [BZ #14171]
42570         * Makeconfig [$(build-shared) = yes]
42571         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
42572         makefiles.
42573         [$(build-shared) = yes && $(soversions.mk-done) = t]
42574         ($(common-objpfx)gnu/lib-names.h): Remove rule.
42575         [$(build-shared) = yes && $(soversions.mk-done) = t]
42576         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
42577         to Makerules.
42578         [$(build-shared) = yes && $(soversions.mk-done) = t]
42579         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
42580         here.
42581         [$(build-shared) = yes && $(soversions.mk-done) = t]
42582         (common-generated): Don't append gnu/lib-names.h and
42583         gnu/lib-names.stmp here.
42584         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
42585         (lib-names-h-abi): New variable.
42586         [$(build-shared) = yes && $(soversions.mk-done) = t]
42587         (lib-names-stmp-abi): Likewise.
42588         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42589         abi-variants] (before-compile): Append
42590         $(common-objpfx)$(lib-names-h-abi).
42591         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42592         abi-variants] (common-generated): Append gnu/lib-names.h.
42593         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42594         abi-variants] (install-others-nosubdir): Depend on
42595         $(inst_includedir)/$(lib-names-h-abi).
42596         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42597         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
42598         [$(build-shared) = yes && $(soversions.mk-done) = t]
42599         ($(common-objpfx)$(lib-names-h-abi)): New rule.
42600         [$(build-shared) = yes && $(soversions.mk-done) = t]
42601         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
42602         [$(build-shared) = yes && $(soversions.mk-done) = t]
42603         (common-generated): Append $(lib-names-h-abi) and
42604         $(lib-names-stmp-abi).
42605         * scripts/lib-names.awk: Do not handle multi being set.
42606         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
42607         Remove variable.
42608         (abi-lp64_be-ld-soname): Likewise.
42609         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
42610         Likewise.
42611         (abi-hard-ld-soname): Likewise.
42612         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
42613         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
42614         Remove variable.
42615         (abi-o32_hard-ld-soname): Likewise.
42616         (abi-o32_soft_2008-ld-soname): Likewise.
42617         (abi-o32_hard_2008-ld-soname): Likewise.
42618         (abi-n32_soft-ld-soname): Likewise.
42619         (abi-n32_hard-ld-soname): Likewise.
42620         (abi-n32_soft_2008-ld-soname): Likewise.
42621         (abi-n32_hard_2008-ld-soname): Likewise.
42622         (abi-n64_soft-ld-soname): Likewise.
42623         (abi-n64_hard-ld-soname): Likewise.
42624         (abi-n64_soft_2008-ld-soname): Likewise.
42625         (abi-n64_hard_2008-ld-soname): Likewise.
42626         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
42627         Likewise.
42628         (abi-64-v2-ld-soname): Likewise.
42629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
42630         ld.so entries.
42631         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
42632         variable.
42633         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
42634         entry.
42635         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
42636         variable.
42637         (abi-64-ld-soname): Likewise.
42638         (abi-x32-ld-soname): Likewise.
42639         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
42640         entry.
42641         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42643 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
42645         [BZ #14138]
42646         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
42647         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
42648         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
42649         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
42650         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
42651         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
42652         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
42653         syscall entry for GLIBC_2.2 symbol version.
42654         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
42655         Likewise.
42656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42657         (setrlimit): Likewise.
42658         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
42659         Likewise.
42661 2014-09-23  Will Newton  <will.newton@linaro.org>
42663         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
42664         _LINUX_ARM_SYSDEP_H include guard too.
42665         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
42666         define.
42668 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42670         * sysdeps/unix/sysv/linux/eventfd.c:
42671         Make first argument unsigned.
42672         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
42673         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
42675 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
42677         [BZ #16852]
42678         * socket/recvmmsg.c (recvmmsg): Drop const argument.
42679         * socket/sys/socket.h: Likewise.
42680         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
42682 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42684         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
42686 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
42688         * time/tst-ftime.c: New test.
42689         * time/Makefile (tests): Add tst-ftime.
42691 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
42693         * soft-fp/extended.h: Fix comment formatting.
42694         * soft-fp/op-1.h: Likewise.
42695         * soft-fp/op-2.h: Likewise.
42696         * soft-fp/op-4.h: Likewise.
42697         * soft-fp/op-8.h: Likewise.
42698         * soft-fp/op-common.h: Likewise.
42699         * soft-fp/soft-fp.h: Likewise.
42701         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
42703 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
42705         [BZ #6652]
42706         * Makeconfig (soversions-default-setname): Remove variable.
42707         ($(common-objpfx)soversions.i): Don't pass default_setname to
42708         soversions.awk.
42709         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
42710         oldest_abi to abi-versions.awk.
42711         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
42712         * config.make.in (oldest-abi): Remove variable.
42713         * configure.ac (--enable-oldest-abi): Remove configure option.
42714         * configure: Regenerated.
42715         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
42716         text.
42717         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
42718         * scripts/soversions.awk: Do not handle default_setname variable.
42719         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
42720         variable.
42721         * sysdeps/mach/hurd/configure: Regenerated.
42722         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
42723         variable.
42724         * sysdeps/unix/sysv/linux/configure: Regenerated.
42726 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42728         * elf/Makefile (CFLAGS-interp.c): Remove.
42729         ($(elf-objpfx)runtime-linker.h): Generate header with linker
42730         path string.
42731         * elf/interp.c: Include generated runtime-linker.h
42733         * Makerules (lib%.so): Don't include $(+interp) in
42734         prerequisites.
42735         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
42736         * dlfcn/eval.c: Remove file.
42738         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
42739         macros.
42741         [BZ #17266]
42742         * misc/sys/cdefs.h: Define __extern_always_inline for clang
42743         4.2 and newer.
42745         [BZ #17370]
42746         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
42748 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42749             Jakub Jelinek  <jakub@redhat.com>
42751         [BZ #17266]
42752         * libio/stdio.h: Check definition of __fortify_function
42753         instead of __extern_always_inline to include bits/stdio2.h.
42754         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
42755         check if __extern_always_inline is defined.
42756         [__USE_MISC || __USE_XOPEN]: Likewise.
42757         [__USE_ISOC99] Likewise.
42758         * misc/sys/cdefs.h (__fortify_function): Define only if
42759         __extern_always_inline is defined.
42760         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
42761         __extern_always_inline and __extern_inline only for g++-4.3
42762         and newer or a compatible gcc.
42764 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
42766         [BZ #17371]
42767         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42768         last change to handle zero prefix length.
42770 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42772         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
42773         _SC_REGEX_VERSION.
42775         * posix/getconf.c (vars): Add _POSIX_IPV6 and
42776         _POSIX_RAW_SOCKETS.
42778 2014-09-13  Allan McRae  <allan@archlinux.org>
42780         * po/ru.po: Update Russian translation from translation project.
42782 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42784         * locale/programs/locale.c (show_locale_vars): Inline local function
42785         into its sole call site.  Clean up some style nits.
42786         (print_item): New function, broken out of ...
42787         (show_info): ... local function here.  Clean up style nits.
42789         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42790         out of ...
42791         (set_class_defaults): ... local function set_default here.
42792         Define set_default as a macro locally to pass constant parameters.
42793         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42794         rather than a shared local.
42796         * stdlib/rpmatch.c (try): New function, broken out of ...
42797         (rpmatch): ... local function here.  Also, prototypify definition.
42799 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42801         * scripts/soversions.awk: Do not handle configuration names.
42802         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42803         vendor and os variables to soversions.awk.
42804         * configure.ac: Do not modify gnu-* host_os.
42805         * configure: Regenerated
42806         * shlib-versions: Remove first column with configuration names.
42807         * nptl/shlib-versions: Likewise.
42808         * nptl_db/shlib-versions: Likewise.
42809         * sysdeps/hppa/shlib-versions: Likewise.
42810         * sysdeps/m68k/shlib-versions: Likewise.
42811         * sysdeps/mach/hurd/shlib-versions: Likewise.
42812         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42813         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42814         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42815         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42816         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42817         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42818         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42819         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42821         Likewise.
42822         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42823         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42824         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42825         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42826         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42827         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42828         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42829         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42832         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42834         Regenerated.
42835         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
42836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42837         Condition symbol version definitions on [HAVE_ELFV2_ABI].
42839         * shlib-versions: Remove OS-specific entries.  Moved to files in
42840         sysdeps.
42841         * sysdeps/mach/hurd/shlib-versions: New file.
42842         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42844         * nptl/shlib-versions: Remove architecture-specific entries.
42845         Moved to files in sysdeps.
42846         * shlib-versions: Likewise.
42847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
42848         file.
42849         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42850         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42851         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42852         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42854         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
42855         (UDP_NO_CHECK6_RX): Likewise.
42857 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42859         * sysdeps/posix/sysconf.c (__sysconf): Spell
42860         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
42862 2014-08-12  Florian Weimer  <fweimer@redhat.com>
42864         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
42865         loading.
42866         * iconv/Versions (__gconv_transliterate): Export for use from
42867         gconv modules.
42868         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
42869         (struct __gconv_trans_data, __gconv_trans_fct,
42870         __gconv_trans_context_fct, __gconv_trans_query_fct,
42871         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
42872         definitions.
42873         (struct __gconv_step_data): Remove __trans member.
42874         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
42875         longer hidden.  Remove unused trans_data argument.
42876         * iconv/gconv_int.h (struct trans_struct): Remove definition.
42877         (__gconv_translit_find): Remove declaration.
42878         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
42879         prototype.
42880         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
42881         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
42882         trans_data argument.  Add hidden definition.
42883         (__gconv_translit_find): Remove.
42884         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
42885         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
42886         * iconv/skeleton.c: Remove transliteration initialization.
42887         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
42888         __gconv_step_data initialization.
42889         * libio/iofwide.c (__libio_translit_): Remove.
42890         (_IO_fwide): Adjust struct __gconv_step_data initialization.
42891         * wcsmbs/btowc.c (__btowc): Likewise.
42892         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42893         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42894         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
42895         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
42896         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
42897         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42898         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
42899         * wcsmbs/wctob.c (wctob): Likewise.
42901 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42903         [BZ #16194]
42904         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
42905         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
42906         register usage.
42907         * sysdeps/x86/Makefile: Adjust.
42909 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42910             Roland McGrath  <roland@hack.frob.com>
42912         * locale/weight.h: Add include guard.
42913         (findidx): Make static rather than auto; take new parameters
42914         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
42915         * locale/weightwc.h: Likewise.
42916         * posix/fnmatch_loop.c
42917         (FCT): Change type of EXTRA from int32_t to wint_t.
42918         Don't include either header inside the function.
42919         Call FINDIDX rather than findidx, and pass new arguments.
42920         #undef FINDIDX at the end of the file.
42921         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
42922         FINDIDX before including fnmatch_loop.c for the non-wide version.
42923         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
42924         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
42925         for the wide version.
42926         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
42927         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
42928         Pass new arguments to findidx.
42929         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
42930         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
42931         Don't #include it inside the function.  Pass new arguments to findidx.
42932         * posix/regex_internal.h
42933         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
42934         (re_string_elem_size_at): Don't #include it inside the function.
42935         Pass new arguments to findidx.
42936         * string/strcoll_l.c: #include WEIGHT_H at top level.
42937         (get_next_seq): Don't #include it inside the function.
42938         Pass new arguments to findidx.
42939         (get_next_seq_nocache): Likewise.
42940         * string/strxfrm_l.c: #include WEIGHT_H at top level.
42941         (STRXFRM): Don't #include it inside the function.
42942         Pass new arguments to findidx.
42944 2014-09-11  Florian Weimer  <fweimer@redhat.com>
42946         [BZ #17344]
42947         * malloc/malloc.c (unlink): Turn asserts into a call to
42948         malloc_printerr.
42950 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
42952         [BZ #17370]
42953         * libio/wfileops (do_ftell_wide): Free OUT.
42955 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
42957         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
42959 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42961         [BZ #17363]
42962         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
42963         group if the current group is empty.
42965 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42967         * benchtests/bench-memset.c (test_main): Add more test from size
42968         from 32 to 512 bytes.
42969         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42970         Add POWER8 memset object.
42971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42972         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
42973         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
42974         implementation.
42975         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
42976         Likewise.
42977         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
42978         multiarch POWER8 memset optimization.
42979         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
42980         POWER8 memset optimization.
42982         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42983         Remove bzero multiarch objects.
42984         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
42985         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
42986         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
42987         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
42988         Remove define.
42989         [__bzero]: Redefine to specific name.
42990         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
42991         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
42992         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
42993         define.
42994         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42995         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42997 2014-09-10  Florian Weimer  <fweimer@redhat.com>
42999         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
43000         warnings into errors.
43002         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
43003         __cxa_thread_atexit_impl prototype.
43005 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43007         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
43008         Fix capitalization of error message.
43010 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43012         * sysdeps/mips/preconfigure: Modify ABI tests.
43014 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
43016         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
43018 2014-09-07  Roland McGrath  <roland@hack.frob.com>
43019             Carlos O'Donell  <carlos@systemhalted.org>
43021         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
43022         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
43023         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
43024         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
43025         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
43026         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
43027         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
43028         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
43029         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
43030         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
43031         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
43032         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
43033         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
43034         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
43035         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
43036         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
43037         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
43038         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
43039         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
43040         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
43041         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
43042         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
43043         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
43044         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
43045         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
43046         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
43047         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
43048         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
43049         Deconditionalize the code that was previously under [RESET_PID].
43050         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
43051         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
43052         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
43053         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
43054         include sysdep.h.
43056 2014-09-08  Allan McRae  <allan@archlinux.org>
43058         * version.h (RELEASE): Set to "development".
43059         (VERSION): Set to "2.20.90"
43061 2014-09-07  Allan McRae  <allan@archlinux.org
43063         * version.h (RELEASE): Set to "stable".
43064         (VERSION): Set to "2.20"
43065         * include/features.h (__GLIBC_MINOR__): Set to 20.
43067         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
43068         Liebler.
43070         * po/ko.po: Update Korean translation from translation project.
43072 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
43074         [BZ #17354]
43075         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
43076         macro for handling signed relocations.
43078 2014-09-03  Florian Weimer  <fweimer@redhat.com>
43080         [BZ #17325]
43081         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
43082         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
43083         assert.
43084         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
43085         * iconvdata/ibm935.c (BODY): Likewise.
43086         * iconvdata/ibm937.c (BODY): Likewise.
43087         * iconvdata/ibm939.c (BODY): Likewise.
43088         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
43089         assert.
43090         * iconvdata/Makefile (iconv-test.out): Pass module list to test
43091         script.
43092         * iconvdata/run-iconv-test.sh: New test loop for checking for
43093         decoder crashers.
43095 2014-09-02  Khem Raj  <raj.khem@gmail.com>
43097         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
43098         libm_hidden_ver.
43100 2014-09-01  Allan McRae  <allan@archlinux.org>
43102         * po/eo.po: Update Esperanto translation from translation project.
43104         * po/ca.po: Update Catalan translation from translation project.
43106 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43108         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
43109         __proc_dostop call.
43111 2014-08-27  Mark Wielaard  <mjw@redhat.com>
43113         [BZ #17319]
43114         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
43115         to call set_thread_area instead of hand written asm.
43116         (__NR_set_thread_area): Removed define.
43117         (TLS_FLAG_WRITABLE): Likewise.
43118         (__ASSUME_SET_THREAD_AREA): Remove check.
43119         (TLS_EBX_ARG): Remove define.
43120         (TLS_LOAD_EBX): Likewise.
43122 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43124         Simplify atomicity of socket creation in bind.
43126         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
43127         looking up the name after linking the file.
43129 2014-08-27  Allan McRae  <allan@archlinux.org>
43131         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43133 2014-08-26  Florian Weimer  <fweimer@redhat.com>
43135         [BZ #17187]
43136         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
43137         trans_compare, open_translit, __gconv_translit_find):
43138         Remove module loading code.
43140 2014-08-26  Allan McRae  <allan@archlinux.org>
43142         * po/vi.po: Update Vietnamese translation from translation project.
43144         * po/uk.po: Update Ukrainian translation from translation project.
43146         * po/fr.po: Update French translation from translation project.
43148         * po/ru.po: Update Russian translation from translation project.
43150         * po/pl.po: Update Polish translation from translation project.
43152         * po/cs.po: Update Czech translation from translation project.
43154         * po/de.po: Update German translation from translation project.
43156         * po/bg.po: Update Bulgarian translation from translation project.
43158         * po/sv.po: Update Sweedish translation from translation project.
43160         * po/nl.po: Update Dutch translation from translation project.
43162         * po/es.po: Update Spanish translation from translation project.
43164 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43166         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43168         * catgets/Makefile (CPPFLAGS-gencat): Remove.
43169         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43170         (CPPFLAGS-iconvconfig): Likewise.
43171         * timezone/Makefile (CPPFLAGS-zic): Likewise.
43173         * include/libc-symbols.h: Remove unnecessary check for
43174         NOT_IN_libc.
43175         * nptl/pthreadP.h: Likewise.
43176         * sysdeps/aarch64/setjmp.S: Likewise.
43177         * sysdeps/alpha/setjmp.S: Likewise.
43178         * sysdeps/arm/sysdep.h: Likewise.
43179         * sysdeps/i386/setjmp.S: Likewise.
43180         * sysdeps/m68k/setjmp.c: Likewise.
43181         * sysdeps/posix/getcwd.c: Likewise.
43182         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43183         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43184         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43185         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43186         * sysdeps/sh/sh3/setjmp.S: Likewise.
43187         * sysdeps/sh/sh4/setjmp.S: Likewise.
43188         * sysdeps/unix/alpha/sysdep.h: Likewise.
43189         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43190         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43191         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43192         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43195         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43196         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43197         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43198         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43199         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43200         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43202         * sysdeps/x86_64/setjmp.S: Likewise.
43204 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
43206         [BZ #17263]
43207         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43208         <stdint.h>.
43209         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43210         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43212 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43214         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43216         [BZ #17262]
43217         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43218         and __x86_64__ when disabling x87 inline functions.
43220 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43222         [BZ #17259]
43223         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43224         asm statement with __cpuid_count.
43226 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43228         * configure.ac: Change __ehdr_start code to dereference the struct.
43229         Run readelf on the output to look for relocations.
43230         * configure: Regenerated.
43232 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43234         [BZ #17261]
43235         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43236         value to 0.
43237         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43239 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43241         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43243 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43245         [BZ #16892]
43246         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43247         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43249 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43251         * malloc/malloc.c: Fix typo in comment.
43253 2014-08-09  Allan McRae  <allan@archlinux.org>
43255         * Regenerate libc.po.
43257 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43259         * intl/tst-gettext2.sh: Check every lang file for creation.
43261 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43263         * sysdeps/aarch64/fpu/math_private.h
43264         (libc_feholdsetround_noex_aarch64_ctx): New function.
43266 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43268         * sysdeps/arm/armv6/strcpy.S (strcpy):
43269         Fix performance issue in misaligned cases.
43271 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43273         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43274         Move definition from termios.h.
43275         (struct termio): Likewise.
43276         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43277         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43278         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43279         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43280         Likewise.
43281         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43282         Move definition to ioctl-types.h
43283         (struct termio): Likewise.
43284         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43285         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43286         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43287         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43288         Likewise.
43290 2014-08-05  Richard Henderson  <rth@redhat.com>
43292         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43293         exceptions.
43294         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43295         Add fraiseexcpt.
43296         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43297         Use __feraiseexcept.
43298         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43299         Protect libm symbols with IS_IN_libm.
43301         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43303 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43305         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43307 2014-08-04  Will Newton  <will.newton@linaro.org>
43309         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43310         file.
43312 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43314         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43315         variants for each function.
43317 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43319         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43320         appended ...
43321         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43322         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43323         appended ...
43324         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43325         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43326         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43327         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43328         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43329         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43330         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43331         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43332         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43333         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43334         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43335         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43336         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43337         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43338         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43339         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43340         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43341         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43342         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43343         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43344         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43345         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43346         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43347         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43348         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43349         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43350         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43351         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43352         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43353         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43354         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43355         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43356         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43357         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43358         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43359         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43360         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43361         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43362         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43363         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43364         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43365         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43366         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43367         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43368         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43369         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43370         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43371         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43372         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43373         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43374         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43375         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43376         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43377         Update #include.
43378         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43379         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43381 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43383         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43384         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43385         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43386         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43387         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43388         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43390 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43392         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43393         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43394         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43395         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43397 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43399         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43400         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43401         (__libc_vfork): Define function under this name.
43402         (__vfork): Define as an alias.
43403         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43404         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43406 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43408         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43409         that was previously under [RESET_PID].
43410         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43412 2014-08-04  Andreas Schwab  <schwab@suse.de>
43414         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43416 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
43418         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43419         (main): Likewise.
43421 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43423         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43425 2014-08-01  Richard Henderon  <rth@redhat.com>
43427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43428         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43429         typo in exact zero test.
43430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43431         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43434 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43436         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43437         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43438         * sysdeps/arm/sysdep.h: ... here.
43439         [!__ASSEMBLER__]: Include <stdint.h>.
43441 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43443         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
43444         (HAVE_WCTYPE_H): Likewise.
43445         (HAVE_ISWCTYPE): Likewise.
43446         (ENABLE_NLS): Likewise.
43447         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
43448         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
43450         * posix/regex_internal.c: Check if DEBUG is defined and is
43451         set.
43453         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43454         (HAVE_MBSRTOWCS): Likewise.
43455         * posix/fnmatch.c: Include string.h unconditionally.
43457 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43459         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
43460         reversal.
43462 2014-07-31  Roland McGrath  <roland@hack.frob.com>
43464         * sysdeps/generic/safe-fatal.h: New file.
43465         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
43466         * nptl/forward.c: Include it.
43467         (__pthread_unwind): Use __safe_fatal as default action, rather
43468         than a bogus use of INTERNAL_SYSCALL that could never work.
43470         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
43471         * configure.ac (libc_cv_builtin_trap): New test.
43472         * configure: Regenerated.
43473         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
43474         (ABORT_INSTRUCTION): Define using __builtin_trap.
43476         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
43477         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
43478         * sysdeps/nptl/nptl-signals.h: New file.
43479         * nptl/pthreadP.h: Include <nptl-signals.h>.
43481 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43483         * sysdeps/s390/s390-64/utf16-utf32-z9.c
43484         (ONE_DIRECTION): Define.
43485         * sysdeps/s390/s390-64/utf8-utf16-z9.c
43486         (ONE_DIRECTION): Define.
43487         * sysdeps/s390/s390-64/utf8-utf32-z9.c
43488         (ONE_DIRECTION): Define.
43490 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43492         * sysdeps/s390/Makefile: Delete file.
43493         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
43494         * sysdeps/s390/__longjmp.c: Delete file.
43495         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
43496         Remove fields __flags and __reserved.
43497         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43498         and add versioning.
43499         * sysdeps/s390/rtld-__longjmp.c: Delete file.
43500         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
43501         * sysdeps/s390/rtld-setjmp.S: Likewise.
43502         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
43503         * sysdeps/s390/s390-32/__longjmp.c: ... here.
43504         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
43505         * sysdeps/s390/s390-32/setjmp.S: ... here.
43506         Add versioning.
43507         (__sigsetjmp): Remove setting __flags field.
43508         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
43509         * sysdeps/s390/s390-64/__longjmp.c: ... here.
43510         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
43511         * sysdeps/s390/s390-64/setjmp.S: ... here.
43512         Add versioning.
43513         (__sigsetjmp): Remove setting __flags field.
43514         * sysdeps/s390/setjmp.S: Delete file.
43515         * sysdeps/s390/sigjmp.c: Likewise.
43516         * sysdeps/s390/v1-longjmp.c: Likewise.
43517         * sysdeps/s390/v1-setjmp.h: Likewise.
43518         * sysdeps/s390/v1-sigjmp.c: Likewise.
43519         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
43520         Remove v1-longjmp_chk.
43521         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
43522         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
43523         Include debug/longjmp_chk.c and add versioning.
43524         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
43525         Include nptl/pt-longjmp.c and add versioning.
43526         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
43527         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
43528         Include __longjmp.c.
43529         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43530         Move to ...
43531         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
43532         (__getcontext): Remove setting __flags field.
43533         Add versioning.
43534         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43535         Don't restore upper high grps.
43536         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
43537         Likewise.
43538         (__swapcontext): Remove setting uc_flags field.
43539         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
43540         Delete file.
43541         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43542         Include __longjmp.c.
43543         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43544         Move to ...
43545         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
43546         (__getcontext): Remove setting __flags field.
43547         Add versioning.
43548         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
43549         (__swapcontext): Remove setting uc_flags field.
43550         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
43551         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
43552         Remove fields uc_high_gprs and __reserved.
43553         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
43554         New file with reverted content.
43555         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
43556         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
43557         Regenerated.
43558         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
43559         Regenerated.
43561 2014-07-31  Andreas Schwab  <schwab@suse.de>
43563         * config.h.in (HAVE_IFUNC): Define to 0.
43564         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
43565         definedness.
43567 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
43569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43570         memmove-avx-unaligned, memcpy-avx-unaligned and
43571         mempcpy-avx-unaligned.
43572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43573         Add tests for AVX memcpy functions.
43574         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
43575         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
43576         memcpy_chk.
43577         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
43578         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
43579         memmove_chk.
43580         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
43581         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
43582         mempcpy_chk.
43583         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
43584         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
43585         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
43587 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43589         [BZ #17213]
43590         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
43591         powerpc64le.
43593 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
43595         [BZ #16839]
43596         * manual/llio.texi: Add section about open file description locks.
43597         * manual/examples/ofdlocks.c: Example of open file description
43598         lock usage.
43599         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
43600         F_OFD_SETLK, and F_OFD_SETLKW.
43602 2014-07-23  Allan McRae  <allan@archlinux.org>
43604         * po/es.po: Update Spanish translation from translation project.
43606 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
43608         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
43610 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
43612         [BZ #17078]
43613         * sysdeps/arm/dl-machine.h (elf_machine_rela)
43614         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
43615         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
43617 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
43619         [BZ #17088]
43620         * math/fesetenv.c (__fesetenv)
43621         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
43622         * math/feupdateenv.c (__feupdateenv)
43623         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
43625         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
43626         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43627         (__ASSUME_SOCKETCALL): Do not define.
43629         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
43630         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
43631         (__ASSUME_SOCKETCALL): Do not define.
43632         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
43633         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43634         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43635         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43636         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43637         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
43638         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43639         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43641         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
43642         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
43643         (__ASSUME_SOCKETCALL): Do not define.
43644         (__ASSUME_IPC64): Define unconditionally.
43645         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43646         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43647         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43648         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43649         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
43650         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43651         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
43652         Likewise.
43654         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
43655         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
43656         (__ASSUME_SOCKETCALL): Do not define.
43657         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
43658         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43659         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43660         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43661         (__ASSUME_REQUEUE_PI): Define unconditionally.
43662         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
43663         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
43664         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43665         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
43666         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43667         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43669         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
43670         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
43671         (__ASSUME_SOCKETCALL): Do not define.
43672         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
43673         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43674         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43675         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
43676         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43677         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43679         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
43680         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
43681         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43682         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
43683         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43684         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
43685         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43686         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
43687         (__ASSUME_GETCPU_SYSCALL): Likewise.
43689         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
43690         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
43691         cases for individual architectures.
43692         * sysdeps/gnu/configure: Regenerated.
43693         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
43694         LIBC_SLIBDIR_RTLDDIR.
43695         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
43696         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
43697         LIBC_SLIBDIR_RTLDDIR.
43698         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
43699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
43700         LIBC_SLIBDIR_RTLDDIR.
43701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43702         Regenerated.
43703         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
43704         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
43705         file.
43706         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
43707         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
43708         file.
43709         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
43710         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
43711         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
43712         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
43714         * sysdeps/aarch64/shlib-versions: Move to ...
43715         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
43716         * sysdeps/alpha/shlib-versions: Move to ...
43717         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
43718         * sysdeps/arm/shlib-versions: Move to ...
43719         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
43720         * sysdeps/hppa/shlib-versions: Move all contents except for
43721         libgcc_s entry to ...
43722         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
43723         entry from ...
43724         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
43725         * sysdeps/ia64/shlib-versions: Move to ...
43726         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
43727         entry from ...
43728         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
43729         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
43730         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
43731         * sysdeps/microblaze/shlib-versions: Move to ...
43732         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
43733         * sysdeps/mips/shlib-versions: Move to ...
43734         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
43735         entry from ...
43736         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
43737         * sysdeps/tile/shlib-versions: Move to ...
43738         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
43739         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
43740         from ...
43741         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
43742         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
43743         entry from ...
43744         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
43746 2014-07-17  Will Newton  <will.newton@linaro.org>
43748         * sysdeps/arm/bits/atomic.h
43749         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
43750         (__arch_compare_and_exchange_bool_16_int): Likewise.
43751         (__arch_compare_and_exchange_bool_64_int): Likewise.
43753         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
43754         into an #else block.
43756 2014-07-16  Roland McGrath  <roland@hack.frob.com>
43758         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
43759         just Linux configurations.  Test empirically that the compiler sets
43760         __ARM_EABI__, rather than using the tuple to decide.
43761         * sysdeps/arm/preconfigure: Regenerated.
43762         * sysdeps/unix/sysv/linux/arm/configure: File removed.
43763         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
43764         contents appended ...
43765         * sysdeps/arm/configure.ac: ... here.
43766         * sysdeps/arm/configure: Regenerated.
43768 2014-07-15  Roland McGrath  <roland@hack.frob.com>
43770         * nptl/pthread_kill.c: New file.
43771         * nptl/pthread_sigmask.c: New file.
43772         * nptl/pthread_sigqueue.c: New file.
43774         * sysdeps/nptl/lowlevellock.h: New file.
43775         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43776         * sysdeps/nptl/lowlevellock-futex.h: New file.
43778         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43779         Remove dead declarations.
43781 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
43783         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43784         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43785         config-cflags-avx2.
43786         * sysdeps/x86_64/configure.ac: Likewise.
43787         * sysdeps/i386/configure: Regenerated.
43788         * sysdeps/x86_64/configure: Likewise.
43789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43790         memset-avx2 only if config-cflags-avx2 is yes.
43791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43792         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43793         defined.
43794         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43795         only if HAVE_AVX2_SUPPORT is defined.
43796         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43798 2014-07-14  Alan Modra  <amodra@gmail.com>
43800         [BZ #17153]
43801         * elf/elf.h (DT_PPC64_NUM): Correct value.
43802         * NEWS: Add to fixed bug list.
43804 2014-07-13  Jim Meyering  <meyering@fb.com>
43806         [BZ 17150]
43807         regex: don't deref NULL upon heap allocation failure
43808         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43809         failure in one more place.
43810         To trigger the segfault, configure grep -with-included-regex,
43811         build it, and run these commands:
43812         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43814 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43816         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43818 2014-07-11  Richard Henderson  <rth@redhat.com>
43820         * sysdeps/aarch64/libm-test-ulps: Update.
43822 2014-07-10  Florian Weimer  <fweimer@redhat.com>
43824         [BZ #17135]
43825         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43826         * nptl/allocatestack.c (__nptl_setxid_error): New function.
43827         (__nptl_setxid): Initialize error member.  Call
43828         __nptl_setxid_error.
43829         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43830         * nptl/descr.h (struct xid_command): Add error member.
43831         * nptl/tst-setuid3.c: New file.
43832         * nptl/Makefile (tests): Add it.
43834 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43836         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
43837         New define.
43838         (__lll_trylock): Use __lll_base_trylock.
43839         (__lll_cond_trylock): Likewise.
43841 2014-07-10  Roland McGrath  <roland@hack.frob.com>
43843         * nptl/pthread_create.c (start_thread): Use atomic_or and
43844         lll_futex_wake directly rather than lll_robust_dead.
43845         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43846         (lll_robust_dead): Macro removed.
43847         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
43848         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43849         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43850         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43851         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43852         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43853         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43854         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43855         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43856         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43857         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43858         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43859         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43860         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43861         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43863         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
43864         Use atomic_compare_and_exchange_val_acq directly rather than
43865         lll_robust_trylock.
43866         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43867         (__lll_robust_trylock, lll_robust_trylock): Removed.
43868         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43869         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43870         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43871         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43872         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43873         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43874         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43875         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43876         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43877         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43878         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43879         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43880         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43881         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43883 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43885         * manual/locale.texi (Locale Names): New section documenting
43886         locale name syntax.  Adjust menu and node chaining accordingly.
43887         (Choosing Locale): Reference Locale Names, Locale Categories.
43888         Mention setting LC_ALL=C.  Reflect that name syntax is now
43889         documented.
43890         (Locale Categories): New section title.  Reference Locale Names.
43891         LC_ALL is an environment variable, but not a category.
43892         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
43893         description, now in Locale Name.  Reference that section.  Locale
43894         name syntax is now documented.
43896 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43898         [BZ #17137]
43899         * locale/findlocale.c (name_present, valid_locale_name): New
43900         functions.
43901         (_nl_find_locale): Use the loc_name variable to store name
43902         candidates.  Call name_present and valid_locale_name to check and
43903         validate locale names.  Return an error if the locale is invalid.
43905 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43907         * locale/setlocale.c (setlocale): Use strdup for allocating
43908         composite name copy.
43910 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43912         Sync up with gnulib.
43913         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
43914         [!_LIBC && ENABLE_NLS]: Include gettext.h.
43915         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
43916         and _GL_ARG_NONNULL.
43917         [USE_UNLOCKED_IO]: Include unlocked-io.h.
43918         [!_LIBC]: Include code for Windows and Cygwin.
43919         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
43920         Include prototype for int strerror_r.
43921         [!_LIBC] (is_open): New function.
43922         (flush_stdout): New function.
43923         (print_errno_message): Use it.
43924         (error): Likewise.
43925         (error_at_line): Likewise.
43926         (error_tail) Add function attribute macros.  Use
43927         __builtin_expect.
43929         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
43931         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
43933         * io/ftw.c: Include sys/param.h unconditionally.
43935         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43937         [BZ #17125]
43938         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
43939         libc_freeres_ptr.
43940         (freecache): New function to free CACHE on exit.
43942         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
43943         initialization.
43945 2014-07-09  David S. Miller  <davem@davemloft.net>
43947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43949         * sysdeps/sparc/nptl/internaltypes.h: Delete.
43950         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
43951         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
43952         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
43953         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
43954         * sysdeps/sparc/nptl/sem_init.c: Likewise.
43955         * sysdeps/sparc/nptl/sem_post.c: Likewise.
43956         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
43957         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
43958         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
43959         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
43960         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
43961         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
43963 2014-07-09  Andreas Schwab  <schwab@suse.de>
43965         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
43966         output.
43967         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
43968         (do_test): Likewise.
43970         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43972 2014-07-09  Will Newton  <will.newton@linaro.org>
43974         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43975         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
43976         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
43977         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
43978         * sysdeps/hppa/start.S (_start): Likewise.
43980 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43982         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
43984         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
43985         defined.
43987 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43989         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
43990         after checking that it is non-NULL.
43992         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
43994 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43996         * sysdeps/powerpc/memmove.c: Remove file.
43997         * sysdeps/powerpc/powerpc32/power4/memcopy.h
43998         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
43999         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
44000         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
44001         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
44002         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
44003         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
44004         string memmove instead of removed powerpc one.
44006         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44007         [weak_alias]: Fix compiler warning due trailing data.
44008         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
44009         [weak_alias]: Likewise.
44010         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
44011         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
44013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44014         (__libc_ifunc_impl_list): Add memmove functions.
44016 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44018         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
44019         Remove code.
44020         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
44021         Likewise.
44022         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
44023         Likewise.
44024         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
44025         Likewise.
44026         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
44027         Likewise.
44028         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
44029         Likewise.
44030         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
44031         Likewise.
44032         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
44033         Likewise.
44034         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
44035         Likewise.
44036         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
44037         Likewise.
44038         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
44039         Likewise.
44040         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
44041         Likewise.
44042         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
44043         Likewise.
44044         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
44045         Likewise.
44046         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
44047         Likewise.
44048         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
44049         Likewise.
44050         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
44051         Likewise.
44053 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44055         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
44056         to avoid alignment traps in non-cacheable memory.
44057         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
44060         multiarch objects.
44061         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
44062         file: multiarch power7 memmove.
44063         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
44064         multiarch default memmove.
44065         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
44066         multiarch memove for powerpc32/power4.
44068         * string/bcopy.c: Use full path to include memmove.c.
44069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
44070         multiarch objects.
44071         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
44072         bcopy for powerpc64.
44073         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
44074         bcopy for powerpc64.
44075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
44076         and memmove implementations.
44077         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
44078         optimized multiarch memmove for POWER7/powerpc64.
44079         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
44080         default multiarch memmove for powerpc64.
44081         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
44082         multiarch for powerpc64.
44083         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
44084         for POWER7/powerpc64.
44085         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
44086         memmove for POWER7/powerpc64.
44088         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
44089         glibc default one.
44091         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
44092         __ELF_NATIVE_CLASS equal to 64.
44094 2014-07-07  Roland McGrath  <roland@hack.frob.com>
44096         * sysdeps/nptl/lowlevellock.h: File removed.
44098         * NEWS: NPTL is no longer an add-on!
44099         * nptl/internaltypes.h: Moved ...
44100         * sysdeps/nptl/internaltypes.h: ... here.
44101         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
44102         * sysdeps/nptl/fork.c: Likewise.
44103         * sysdeps/nptl/gai_misc.h: Likewise.
44104         * sysdeps/nptl/librt-cancellation.c: Likewise.
44105         * sysdeps/nptl/jmp-unwind.c: Likewise.
44106         * sysdeps/nptl/setxid.h: Likewise.
44107         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
44108         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
44109         * sysdeps/unix/sysv/linux/arm/Implies: New file.
44110         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
44111         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
44112         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
44113         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
44114         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
44115         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
44116         * sysdeps/unix/sysv/linux/mips/Implies: New file.
44117         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
44118         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
44119         * sysdeps/unix/sysv/linux/sh/Implies: New file.
44120         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
44121         * sysdeps/unix/sysv/linux/tile/Implies: New file.
44122         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
44123         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
44124         * nptl/Makeconfig: Moved ...
44125         * sysdeps/nptl/Makeconfig: ... here.
44126         * nptl/configure: File removed.
44127         * nptl/ANNOUNCE: File removed.
44128         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
44129         * sysdeps/unix/sysv/linux/configure: Regenerated.
44131         * nptl/Makefile (routines): Add libc_pthread_init,
44132         libc_multiple_threads, register-atfork and unregister-atfork.
44133         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
44134         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
44135         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
44136         pthread-pi-defines.sym, structsem.sym.
44137         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
44138         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44139         [$(subdir) = nptl] (tests): Add tst-setgetname.
44140         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
44141         * sysdeps/unix/sysv/linux/sigaction.c: Just include
44142         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
44143         [!LIBC_SIGACTION]: Remove aliases.
44144         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44145         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44146         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44147         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
44148         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44149         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
44150         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44151         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44152         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44153         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44154         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44155         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44156         __libc_allocate_rtsig_private.
44157         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44158         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44159         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44160         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44161         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44162         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44163         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44164         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44165         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44166         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44167         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44168         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44169         * nptl/internaltypes.h: ... here.
44170         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44171         * sysdeps/nptl/jmp-unwind.c: ... here.
44172         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44173         * nptl/libc-lowlevellock.c: ... here.
44174         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44175         * nptl/libc_multiple_threads.c: ... here.
44176         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44177         * nptl/libc_pthread_init.c: ... here.
44178         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44179         * nptl/lowlevelbarrier.sym: ... here.
44180         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44181         * nptl/lowlevelcond.sym: ... here.
44182         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44183         * nptl/lowlevellock.c: ... here.
44184         * nptl/lowlevellock.h: Moved ...
44185         * sysdeps/nptl/lowlevellock.h: ... here.
44186         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44187         * nptl/lowlevelrobustlock.c: ... here.
44188         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44189         * nptl/lowlevelrobustlock.sym: ... here.
44190         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44191         * nptl/lowlevelrwlock.sym: ... here.
44192         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44193         * nptl/pt-fork.c: ... here.
44194         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44195         * nptl/pthread-pi-defines.sym: ... here.
44196         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44197         * nptl/pthread_attr_getaffinity.c: ... here.
44198         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44199         * nptl/pthread_attr_setaffinity.c: ... here.
44200         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44201         * nptl/pthread_mutex_cond_lock.c: ... here.
44202         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44203         Update #include.
44204         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44205         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44206         * nptl/pthread_once.c: ... here, replacing old file.
44207         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44208         * nptl/pthread_yield.c: ... here.
44209         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44210         * nptl/register-atfork.c: ... here.
44211         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44212         * nptl/sem_post.c: ... here.
44213         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44214         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44215         * nptl/sem_timedwait.c: ... here.
44216         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44217         * nptl/sem_trywait.c: ... here.
44218         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44219         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44220         * nptl/sem_wait.c: ... here.
44221         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44222         * nptl/structsem.sym: ... here.
44223         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44224         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44225         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44226         * nptl/unregister-atfork.c: ... here.
44227         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44228         * nptl/unwindbuf.sym: ... here.
44229         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44230         * sysdeps/nptl/fork.c: ... here.
44231         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44232         * sysdeps/nptl/fork.h: ... here.
44233         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44234         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44235         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44236         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44237         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44238         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44239         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44240         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44241         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44242         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44243         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44244         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44245         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44246         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44247         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44248         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44249         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44250         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44251         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44252         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44253         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44254         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44255         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44256         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44257         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44258         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44259         * sysdeps/unix/sysv/linux/raise.c: ... here.
44260         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44261         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44262         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44263         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44264         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44265         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44266         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44267         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44268         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44269         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44270         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44271         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44272         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44273         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44274         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44276 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44278         * sysdeps/generic/memcopy.h: Add comment for
44279         MEMCPY_OK_FOR_FWD_MEMMOVE.
44281 2014-07-04  Will Newton  <will.newton@linaro.org>
44283         * string/memchr.c: Merge from gnulib.
44284         [_LIBC]: Remove conditionals.
44285         (__ptr_t): Remove define.
44286         (LONG_MAX_32_BITS): Likewise.
44287         (LONG_MAX): Likewise.
44288         (MEMCHR): Use ANSI prototype and optimize algorithm.
44290         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44292 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44294         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44295         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44297         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44298         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44299         in a bare environment with no <stdlib.h> installed.
44300         * sysdeps/nptl/configure: Regenerated.
44302         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44304         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44305         AC_EGREP_CPP for kernel header checks, so they only succeed if
44306         including <linux/version.h> actually works right.
44307         * sysdeps/unix/sysv/linux/configure: Regenerated.
44309         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44310         value so it's not diagnosed as unused.
44312         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44313         thing) with "ifeq ($(subdir),rt)".
44315 2014-07-03  Richard Henderson  <rth@redhat.com>
44317         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44318         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44319         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44321         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44322         (math_force_eval): New.
44324         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44325         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44327         * sysdeps/alpha/fpu/s_round.c: Remove file.
44328         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44330         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44331         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44332         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44333         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44334         (_dl_start, print_statistics): Likewise.
44335         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44336         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44338         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44339         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44340         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44341         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44342         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44343         (HP_SMALL_TIMING_AVAIL): Define.
44344         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44345         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44346         (HP_SMALL_TIMING_AVAIL): Define.
44347         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44348         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44350         * sysdeps/aarch64/hp-timing.h: New file.
44352         * sysdeps/generic/hp-timing.h: Remove dead comment.
44353         * sysdeps/generic/hp-timing-common.h: New file.
44354         * sysdeps/alpha/hp-timing.h: Include it.
44355         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44356         * sysdeps/i386/i686/hp-timing.h: Likewise.
44357         * sysdeps/ia64/hp-timing.h: Likewise.
44358         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44359         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44360         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44361         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44362         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44363         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44364         (hp_timing_t): New.
44366         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44367         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44368         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44369         * elf/rtld.c (_dl_start_final): Likewise.
44370         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44371         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44372         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44373         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44374         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44375         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44376         (HP_TIMING_DIFF_INIT): Remove.
44377         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44378         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44379         (HP_TIMING_DIFF_INIT): Remove.
44380         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44381         * sysdeps/i386/i686/hp-timing.c: Remove file.
44382         * sysdeps/x86_64/hp-timing.c: Remove file.
44383         * sysdeps/ia64/hp-timing.c: Remove file.
44384         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44385         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44386         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44387         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44389         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44390         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44391         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44392         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44393         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44394         (HP_TIMING_ACCUM): Remove.
44395         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44396         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44397         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44399         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44400         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44401         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44402         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44403         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44404         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44405         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44406         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44408         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44410 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
44412         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44414 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44416         Sync up with gettext.
44417         * intl/loadmsgcat.c: Define O_BINARY if not defined.
44418         [_MSC_VER]: Include malloc.h
44419         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44420         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44421         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
44422         TEMP_FAILURE_RETRY.  Cast return of alloca.
44423         [!_LIBC] Call gl_rwlock_init.
44424         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44426 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44428         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44429         before checking its value.
44431 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44433         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44435         * debug/memcpy_chk.c: Don't include pagecopy.h.
44436         * debug/mempcpy_chk.c: Likewise.
44437         * string/memcpy.c: Likewise.
44438         * string/memmove.c: Likewise.
44439         * sysdeps/powerpc/memmove.c: Likewise.
44440         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
44441         definition of PAGE_COPY_FWD_MAYBE here...
44442         * sysdeps/generic/pagecopy.h: ... from here.
44443         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
44445 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44446             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44448         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
44449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
44450         optimizations.
44451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44452         (__libc_ifunc_impl_list): Likewise.
44453         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
44454         multiarch strcat for PPC64.
44455         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
44456         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44458 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44460         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
44462 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44464         * intl/loadmsgcat.c: Remove declaration of
44465         get_sysdep_segment_value.
44466         (get_sysdep_segment_value): Use ISO C style.
44467         (_nl_load_domain): Use ISO C style.  Get rid of redundant
44468         semicolon.  Fix typo and formatting in comment.
44469         (_nl_unload_domain): Use ISO C style.
44471         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
44473 2014-07-02  Will Newton  <will.newton@linaro.org>
44475         * malloc/obstack.c: Merge from gnulib master.
44476         [HAVE_CONFIG_H]: Remove conditional code.
44477         [!_LIBC]: Include config.h.
44478         [!ELIDE_CODE]: Don't include inttypes.h, include
44479         stdint.h unconditionally.
44480         (print_and_abort): Mark as _Noreturn.
44481         (_obstack_allocated_p): Mark as __attribute_pure__.
44482         (obstack_free): Rename to __obstack_free.
44483         [!__attribute__]: Remove conditional code.
44484         * malloc/obstack.h: Merge from gnulib master.
44485         [__cplusplus]: Move conditional down.
44486         [!__attribute_pure__]: Define __attribute_pure__ here
44487         if it is not already defined.
44488         (_obstack_memory_used): Mark as __attribute_pure__.
44489         [!__obstack_free]: Define as obstack_free.
44490         [__GNUC__]: Remove check for ancient NeXT gcc.
44492 2014-07-02  Will Newton  <will.newton@linaro.org>
44493             Paul Eggert  <eggert@cs.ucla.edu>
44495         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
44497 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44499         * resolv/gethnamaddr.c: Add comment warning that the file is
44500         not maintained.
44502 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
44504         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44505         entries.
44507         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
44508         entry for aio_cancel and aio_cancel64.
44509         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
44510         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
44511         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
44512         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
44513         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
44514         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
44515         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
44516         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
44517         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
44518         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
44519         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
44520         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
44521         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
44523 2014-07-01  Roland McGrath  <roland@hack.frob.com>
44525         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
44526         * nptl/pthread_mutex_lock.c: Likewise.
44527         * nptl/pthread_mutex_timedlock.c: Likewise.
44528         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
44530 2014-07-01  Richard henderson  <rth@redhat.com>
44532         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
44533         (__isnan, __isnanl): Remove.
44534         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
44536         * sysdeps/alpha/fpu/libm-test-ulps: Update.
44538 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44540         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44542 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44544         * resolv/nss_dns/dns-host.c (getanswer_r)
44545         [MULTI_PTRS_ARE_ALIASES]: Remove code.
44547 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
44549         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44550         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
44551         undefine.
44552         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
44553         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
44555 2014-07-01  Roland McGrath <roland@hack.frob.com>
44557         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
44558         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
44560         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
44561         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
44563         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
44564         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
44565         ... here.
44566         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
44567         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
44569         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
44570         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
44571         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
44572         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
44574         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
44575         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
44576         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
44577         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
44578         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
44579         Moved ...
44580         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
44581         ... here.
44582         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
44583         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
44584         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
44585         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
44586         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
44587         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
44588         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
44589         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
44590         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
44591         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
44592         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
44593         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
44594         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
44595         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
44596         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
44597         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
44598         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
44599         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
44600         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
44601         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
44602         ... here.
44603         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
44604         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
44605         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
44606         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
44607         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
44608         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
44609         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
44610         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
44612 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
44614         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
44615         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
44616         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
44617         Add sysdep.
44619 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44623 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44625         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
44626         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44628         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44630         * sysdeps/arm/libm-test-ulps: Regenerated.
44632 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44633             Roland McGrath <roland@hack.frob.com>
44635         * test-skeleton.c (signal_handler): Kill the whole process group
44636         before killing the child individually.
44637         (main): Report any failure on `setpgid'.
44639 2014-06-30  Roland McGrath  <roland@hack.frob.com>
44641         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
44642         from _TLS_H to _ARM_NPTL_TLS_H.
44643         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
44644         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
44646 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44648         [BZ #16539]
44649         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
44650         (__expm1l): Return argument unchanged when small but not
44651         subnormal.
44653         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
44654         include macro name.
44655         (_FP_UNPACK_RAW_1_P): Likewise.
44656         (_FP_PACK_RAW_1): Likewise.
44657         (_FP_PACK_RAW_1_P): Likewise.
44658         (_FP_MUL_MEAT_1_wide): Likewise.
44659         (_FP_MUL_MEAT_DW_1_hard): Likewise.
44660         (_FP_MUL_MEAT_1_hard): Likewise.
44661         (_FP_DIV_MEAT_1_imm): Likewise.
44662         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
44663         (_FP_DIV_MEAT_1_udiv): Likewise.
44664         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
44665         (_FP_UNPACK_RAW_2): Likewise.
44666         (_FP_UNPACK_RAW_2_P): Likewise.
44667         (_FP_PACK_RAW_2): Likewise.
44668         (_FP_PACK_RAW_2_P): Likewise.
44669         (_FP_MUL_MEAT_DW_2_wide): Likewise.
44670         (_FP_MUL_MEAT_2_wide): Likewise.
44671         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
44672         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44673         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
44674         (_FP_MUL_MEAT_2_gmp): Likewise.
44675         (_FP_DIV_MEAT_2_udiv): Likewise.
44676         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
44677         (_FP_FRAC_SRL_4): Likewise.
44678         (_FP_FRAC_SRST_4): Likewise.
44679         (_FP_FRAC_SRS_4): Likewise.
44680         (_FP_UNPACK_RAW_4): Likewise.
44681         (_FP_UNPACK_RAW_4_P): Likewise.
44682         (_FP_PACK_RAW_4): Likewise.
44683         (_FP_PACK_RAW_4_P): Likewise.
44684         (_FP_MUL_MEAT_DW_4_wide): Likewise.
44685         (_FP_MUL_MEAT_4_wide): Likewise.
44686         (_FP_MUL_MEAT_4_gmp): Likewise.
44687         (umul_ppppmnnn): Likewise.
44688         (_FP_DIV_MEAT_4_udiv): Likewise.
44689         (__FP_FRAC_ADD_4): Likewise.
44690         (__FP_FRAC_SUB_3): Likewise.
44691         (__FP_FRAC_SUB_4): Likewise.
44692         (__FP_FRAC_DEC_3): Likewise.
44693         (__FP_FRAC_DEC_4): Likewise.
44694         (__FP_FRAC_ADDI_4): Likewise.
44695         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
44696         (_FP_FRAC_SRL_8): Likewise.
44697         (_FP_FRAC_SRS_8): Likewise.
44699         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
44700         include macro name.
44701         (FP_UNPACK_RAW_EP): Likewise.
44702         (FP_PACK_RAW_E): Likewise.
44703         (FP_PACK_RAW_EP): Likewise.
44704         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
44705         (_FP_ISSIGNAN): Likewise.
44706         (_FP_ADD_INTERNAL): Likewise.
44707         (_FP_FMA): Likewise.
44708         (_FP_CMP): Likewise.
44709         (_FP_SQRT): Likewise.
44710         (_FP_TO_INT): Likewise.
44711         (_FP_FROM_INT): Likewise.
44712         (FP_EXTEND): Likewise.
44713         (_FP_DIV_MEAT_N_loop): Likewise.
44715 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44717         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
44718         throughout.
44720 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
44722         [BZ #17097]
44723         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
44724         result with correct sign in case of exponents that produce
44725         overflow except for X very close to 1.
44727 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
44729         mktime: merge #if/#ifdef usage from glibc
44730         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
44731         as that works with both Glibc's and Gnulib's style.
44732         See thread starting at Siddhesh Poyarekar's bug report at:
44733         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
44735 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44737         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
44738         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
44739         * sysdeps/tile/tilegx/memmove.c: Remove file.
44741 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44743         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
44744         abi-name definition.
44745         * scripts/soversions.awk: Do not handle or generate ABI lines.
44746         * shlib-versions: Remove ABI entries.
44747         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
44748         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
44750 2014-06-27  Roland McGrath  <roland@hack.frob.com>
44752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
44753         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
44754         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
44755         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
44756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
44757         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44758         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
44759         Moved ...
44760         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
44761         ... here.
44762         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
44763         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
44764         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
44765         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
44766         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
44767         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
44768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
44769         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
44770         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
44771         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
44772         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
44773         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
44774         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44775         Moved ...
44776         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44777         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44778         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44779         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44780         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44782         Moved ...
44783         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44784         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44785         Moved ...
44786         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44788         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44790         Moved ...
44791         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44792         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44793         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44795         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44797         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44799         Moved ...
44800         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44802         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44803         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44804         Moved ...
44805         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44806         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44807         Moved ...
44808         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44809         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44810         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44811         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44812         Moved ...
44813         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44814         ... here.
44815         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44816         Identical file removed.
44817         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44818         Moved ...
44819         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44820         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44821         Identical file removed.
44822         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44823         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44824         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44825         Moved ...
44826         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44827         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44828         Identical file removed.
44829         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44830         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44831         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44832         Identical file removed.
44833         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
44834         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
44835         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
44836         Identical file removed.
44837         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
44838         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
44839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
44840         Identical file removed.
44841         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
44842         Moved ...
44843         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
44844         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
44845         Identical file removed.
44846         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
44847         Moved ...
44848         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
44849         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
44850         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
44851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
44852         Identical file removed.
44853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
44854         Moved ...
44855         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
44856         ... here.
44857         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
44858         Identical file removed.
44859         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
44860         Moved ...
44861         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
44862         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
44863         Identical file removed.
44864         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
44865         Moved ...
44866         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
44867         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
44868         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
44869         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
44870         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
44871         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
44872         Moved ...
44873         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
44874         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
44875         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
44877         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
44878         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
44879         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
44880         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
44881         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
44883 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
44885         [BZ #17092]
44886         * nscd/nscd.c (monitor_child): Return exit status of child
44887         instead of return value from wait syscall.
44889 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44891         * configure.ac (libc_commonpagesize): Remove variable.
44892         (libc_relro_required): Likewise.
44893         (libc_cv_z_relro): Remove configure test.
44894         * configure: Regenerated.
44895         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
44896         variable.
44897         (libc_relro_required): Likewise.
44898         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
44899         (libc_relro_required): Likewise.
44900         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
44901         (libc_relro_required): Likewise.
44902         * sysdeps/arm/preconfigure: Regenerated.
44903         * sysdeps/ia64/preconfigure: Remove file.
44904         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
44905         variable.
44906         (libc_relro_required): Likewise.
44908         [BZ #16561]
44909         [BZ #16562]
44910         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
44911         (__ieee754_yn): Set FE_TONEAREST mode internally and then
44912         recompute overflowing results in original rounding mode.
44913         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
44914         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
44915         recompute overflowing results in original rounding mode.
44916         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
44917         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44918         recompute overflowing results in original rounding mode.
44919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
44920         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44921         recompute overflowing results in original rounding mode.
44922         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
44923         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44924         recompute overflowing results in original rounding mode.
44925         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44926         (libc_feholdsetround_ctx): New macro.
44927         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
44928         * sysdeps/i386/fpu/libm-test-ulps: Update.
44929         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
44931 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44933         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
44934         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
44935         corresponding .cpsetup call.
44937 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44939         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
44940         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
44941         * sysdeps/arm/Makefile [$(subdir) = csu]
44942         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
44943         (static-only-routines): Add aeabi_read_tp here.
44944         (shared-only-routines): Add libc-aeabi_read_tp here.
44945         (CFLAGS-libc-start.c): Add -fexceptions here.
44946         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
44947         (sysdep_routines, static-only-routines, shared-only-routines):
44948         Don't add to these here.
44949         (CFLAGS-libc-start.c): Likewise.
44951         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
44952         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44953         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
44954         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44955         * sysdeps/arm/Makefile [$(subdir) = rt]
44956         (librt-sysdep_routines, librt-shared-only-routines):
44957         Append rt-aeabi_unwind_cpp_pr1 here.
44958         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
44959         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
44960         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
44961         (libpthread-sysdep_routines, libpthread-shared-only-routines):
44962         Append nptl-aeabi_unwind_cpp_pr1 here.
44963         (tests): Filter out tst-cleanupx4 here.
44964         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
44965         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
44966         Don't do those here.
44968 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44970         * scripts/list-sources.sh: Do not handle ports specially.
44972 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44974         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
44975         * sysdeps/arm/feupdateenv.c: Likewise.
44977         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
44979 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44981         * manual/texinfo.tex: Update to version 2014-05-05.10 with
44982         trailing whitespace removed.
44983         * scripts/config.guess: Update to version 2014-03-23.
44984         * scripts/config.sub: Update to version 2014-05-01
44985         * scripts/install-sh: Update to version 2013-12-25.23.
44986         * scripts/move-if-change: Update from gnulib.
44988 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44990         * debug/memmove_chk.c: Remove pagecopy.h include.
44992 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
44994         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
44995         identical to gnulib mktime.
44997 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44999         * configure.ac: Do not test for machine being rs6000.  Do not test
45000         for powerpc*-*soft.
45001         * configure: Regenerated.
45003         [BZ #11505]
45004         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
45005         test.
45006         * configure: Regenerated.
45007         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
45008         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
45009         Remove configure test.
45010         * sysdeps/arm/configure: Regenerated.
45011         * sysdeps/nptl/configure.ac: Do not check
45012         libc_cv_asm_cfi_directives.
45013         * sysdeps/nptl/configure: Regenerated.
45014         * sysdeps/x86_64/nptl/configure.ac: Remove file.
45015         * sysdeps/x86_64/nptl/configure: Remove generated file.
45016         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45017         unconditional.
45018         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
45020 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45022         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
45023         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
45024         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
45025         it is defined.
45027         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
45028         instead of whether it is defined.
45029         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
45030         * sysdeps/hppa/dl-machine.h: Likewise.
45031         * sysdeps/ia64/dl-machine.h: Likewise.
45032         * sysdeps/m68k/dl-machine.h: Likewise.
45033         * sysdeps/microblaze/dl-machine.h: Likewise.
45034         * sysdeps/mips/dl-machine.: Likewise.
45035         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45036         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45037         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45038         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45039         * sysdeps/sh/dl-machine.h: Likewise.
45040         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45041         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45042         * sysdeps/tile/dl-machine.h: Likewise.
45043         * sysdeps/x86_64/dl-machine.h: Likewise.
45045         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
45046         code.
45047         (verify_persistent_db): Likewise.
45049 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
45052         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
45053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
45054         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
45055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45056         Moved ...
45057         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
45058         ... here.
45059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
45060         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
45061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
45062         Identical file removed.
45063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
45064         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
45065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
45066         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
45067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
45068         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
45069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
45070         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
45071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
45072         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
45073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45074         Moved ...
45075         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
45076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
45077         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
45078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
45079         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
45080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45081         Moved ...
45082         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
45083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
45084         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
45085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
45086         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
45087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45088         Identical file removed.
45089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
45090         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
45091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
45092         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
45093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45094         Moved ...
45095         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
45096         ... here.
45097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
45098         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
45099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
45100         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
45101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
45102         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
45103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
45104         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
45105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
45106         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
45107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45108         Moved ...
45109         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
45110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
45111         Moved ...
45112         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
45113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
45114         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
45115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45116         Moved ...
45117         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
45118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
45119         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
45121         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
45122         folded into ...
45123         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
45124         * sysdeps/unix/sysv/linux/s390/Versions
45125         (libpthread: GLIBC_2.19): New version set.
45126         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
45127         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
45128         (librt: GLIBC_2.3.3): New version set.
45129         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
45130         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
45131         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
45132         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
45133         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
45134         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
45135         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
45136         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
45137         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
45138         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
45139         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
45140         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
45141         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
45142         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
45143         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
45144         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
45145         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
45146         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
45147         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
45148         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
45149         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
45150         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
45151         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45152         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45153         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45154         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45155         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45156         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45157         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45158         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45159         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45160         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45161         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45163         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45165         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45167         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45168         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45169         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45171         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45172         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45173         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45175         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45176         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45177         (__libc_vfork): Define the function under this name.
45178         [!NOT_IN_libc] (__vfork): Make this an alias.
45179         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45181         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45182         (__libc_vfork): Define the function under this name.
45183         [!NOT_IN_libc] (__vfork): Make this an alias.
45184         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45185         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45186         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45187         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45188         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45189         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45191         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45192         code that was previously under [RESET_PID].
45193         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45194         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45195         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45197         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45198         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45199         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45200         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45201         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45202         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45203         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45204         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45205         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45206         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45207         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45208         Moved ...
45209         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45210         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45211         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45212         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45213         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45214         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45215         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45216         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45217         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45218         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45219         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45220         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45221         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45222         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45223         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45224         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45225         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45226         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45227         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45228         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45229         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45230         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45231         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45232         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45233         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45234         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45235         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45236         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45237         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45239 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45241         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45242         that was previously under [RESET_PID].
45243         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45245 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45247         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45248         not undefine and redefine.
45249         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45250         [O_CLOEXEC]: Make code unconditional.
45251         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45252         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45253         <kernel-features.h>.
45254         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45255         conditional variable definition.
45256         (shm_open) [O_CLOEXEC]: Make code unconditional.
45257         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45258         code.
45260         * configure.ac (USE_REGPARMS): Don't define here.
45261         * configure: Regenerated.
45262         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45263         * sysdeps/i386/configure: Regenerated.
45265         * nptl/createthread.c: Don't include kernel-features.h.
45266         * nptl/pthread_cancel.c: Likewise.
45267         * nptl/pthread_condattr_setclock.c: Likewise.
45268         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45269         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45270         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45271         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45272         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45273         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45274         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45275         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45277         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45278         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45279         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45280         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45281         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45282         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45283         * nscd/gai.c: Likewise.
45284         * nss/nss_db/db-open.c: Likewise.
45285         * sysdeps/generic/ldsodefs.h: Likewise.
45286         * sysdeps/sh/nptl/tls.h: Likewise.
45287         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45288         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45289         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45290         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45291         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45292         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45293         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45294         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45295         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45296         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45297         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45298         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45299         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45300         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45301         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45302         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45303         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45304         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45305         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45306         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45307         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45308         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45309         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45310         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45313         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45314         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45315         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45316         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45317         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45318         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45319         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45320         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45321         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45322         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45323         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45324         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45325         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45326         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45327         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45328         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45329         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45330         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45331         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45332         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45333         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45334         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45335         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45336         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45337         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45338         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45339         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45340         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45341         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45342         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45343         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45344         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45367         * sysdeps/unix/sysv/linux/pread.c: Likewise.
45368         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45369         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45370         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45371         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45372         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45373         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45374         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45375         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45376         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45377         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45378         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45379         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45380         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45381         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45382         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45383         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45384         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45385         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45386         * sysdeps/unix/sysv/linux/system.c: Likewise.
45387         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45388         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45389         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45390         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45391         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45392         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45393         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45395         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45396         * configure: Regenerated.
45397         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45399         * configure.ac (base_machine): Do not set specially for particular
45400         machines here.
45401         * configure: Regenerated.
45402         * sysdeps/powerpc/preconfigure: Move machine and base_machine
45403         settings from configure.ac.
45404         * sysdeps/i386/preconfigure: New file.
45405         * sysdeps/s390/preconfigure: Likewise.
45406         * sysdeps/sh/preconfigure: Likewise.
45407         * sysdeps/sparc/preconfigure: Likewise.
45409 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45411         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45412         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45413         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45414         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45415         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45416         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45417         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45418         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45419         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45420         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45421         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45422         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45423         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45424         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45425         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45426         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45427         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45428         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45429         * sysdeps/sparc/sparc64/Makefile: ... appended here.
45431         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45432         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45433         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45434         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45435         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45436         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45437         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45438         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45439         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45440         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45441         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45442         * sysdeps/sparc/sparc32/sem_post.c: ... here.
45443         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
45444         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
45445         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
45446         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
45447         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
45448         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
45449         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
45450         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
45451         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
45452         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45453         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
45454         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
45455         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
45456         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
45457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
45458         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
45459         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
45460         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
45461         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
45462         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
45463         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
45464         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
45465         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
45466         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
45467         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
45468         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
45470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
45471         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
45472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
45473         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
45474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45475         Moved ...
45476         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
45477         ... here.
45478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
45479         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
45480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
45481         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
45482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
45483         Moved ...
45484         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
45485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
45486         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
45487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
45488         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
45489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
45490         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
45491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45492         Moved ...
45493         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
45494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45495         Moved ...
45496         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
45497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
45498         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
45499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45500         Moved ...
45501         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
45502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
45503         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
45504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
45505         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
45506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
45507         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
45508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
45509         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
45510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45511         Moved ...
45512         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
45513         ... here.
45514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
45515         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
45516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
45517         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
45518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
45519         Moved ...
45520         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
45521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
45522         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
45523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
45524         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
45525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
45526         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
45527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45528         Moved ...
45529         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
45530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45531         Moved ...
45532         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
45533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
45534         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
45535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45536         Moved ...
45537         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
45538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
45539         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
45540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
45541         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
45543 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45545         * timezone/checktab.awk: Update from tzcode 2014e.
45546         * timezone/private.h: Likewise.
45547         * timezone/tzfile.h: Likewise.
45548         * timezone/zdump.c: Likewise.
45549         * timezone/zic.c: Likewise.
45551         * sysdeps/unix/sysv/linux/kernel-features.h
45552         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
45553         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
45554         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
45555         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45556         Remove conditional code.
45558 2014-06-25  Will Newton  <will.newton@linaro.org>
45560         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
45561         (_dl_arm_cap_flags): Add HWCAP2 values.
45562         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
45563         (_DL_HWCAP_COUNT): Increase to 37.
45564         (_DL_HWCAP_LAST): New define.
45565         (_DL_HWCAP2_LAST): New define.
45566         (_dl_procinfo): Add support for printing
45567         AT_HWCAP2 entries.
45568         (_dl_string_hwcap): Use _dl_hwcap_string.
45570 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45574 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45576         * README: Do not mention ports directory.
45578         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
45579         Remove macro.
45580         * sysdeps/unix/sysv/linux/futimes.c: Do not include
45581         <kernel-features.h>.
45582         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
45583         conditional variable definition.
45584         (__futimes): Update comment.
45585         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
45586         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
45588         [BZ #16560]
45589         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
45590         arguments close to 0.
45591         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
45592         Likewise.
45593         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
45594         Likewise.
45595         * math/auto-libm-test-in: Add more tests of exp10.
45596         * math/auto-libm-test-out: Regenerated.
45597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45599         * sysdeps/unix/sysv/linux/kernel-features.h
45600         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
45601         * sysdeps/unix/sysv/linux/readv.c: Do not include
45602         <kernel-features.h>.
45603         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45604         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45605         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45606         unconditional.
45607         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45608         conditional code.
45609         * sysdeps/unix/sysv/linux/writev.c: Do not include
45610         <kernel-features.h>.
45611         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45612         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45613         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45614         unconditional.
45615         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45616         conditional code.
45618 2014-06-25  Will Newton  <will.newton@linaro.org>
45620         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
45621         comment changes throughout the file.  Remove checks
45622         for HAVE_*_H definitions that are not required.
45623         (__gen_tempname): Call abort if an unknown kind value is
45624         passed.
45626 2014-06-25  Andreas Schwab  <schwab@suse.de>
45628         [BZ #17086]
45629         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
45630         scalbln, scalblnf, scalblnl in libc.
45632 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45634         [BZ #17086]
45635         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
45636         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45637         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45639 2014-06-24  Roland McGrath  <roland@hack.frob.com>
45641         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
45642         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
45643         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
45644         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
45645         Update #include.
45646         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
45647         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
45648         Update #include.
45649         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
45650         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
45651         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
45652         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
45653         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
45654         * sysdeps/x86/bits/pthreadtypes.h: ... here.
45655         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
45656         * sysdeps/x86/bits/semaphore.h: ... here.
45657         * sysdeps/x86/nptl/elide.h: Moved ...
45658         * sysdeps/x86/elide.h: ... here.
45659         * sysdeps/x86_64/nptl/Implies: File removed.
45660         * sysdeps/i386/nptl/Implies: File removed.
45662 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
45664         [BZ #16539]
45665         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
45666         return the argument for normal arguments with exponent below -64.
45667         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45668         Likewise.
45669         * math/auto-libm-test-in: Add another test of expm1.
45670         * math/auto-libm-test-out: Regenerated.
45672         [BZ #16287]
45673         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
45674         calling __erfcl for arguments at least 16.
45675         * math/auto-libm-test-in: Add more tests of erf.
45676         * math/auto-libm-test-out: Regenerated.
45678         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
45679         individual architectures.
45680         * sysdeps/unix/sysv/linux/configure: Regenerated.
45681         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
45682         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
45683         * sysdeps/unix/sysv/linux/powerpc/configure.ac
45684         (ldd_rewrite_script): Define variable.
45685         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
45687         file.
45688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
45689         generated file.
45690         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
45691         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
45692         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
45693         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
45694         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
45695         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
45696         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
45697         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
45699 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45701         [BZ #17084]
45702         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
45703         Rename member __data.d to __data.__elision_data.
45705 2014-06-24  Wilco  <wdijkstr@arm.com>
45707         * NEWS: Add 16918 to fixed bug list.
45709 2014-06-24  Wilco  <wdijkstr@arm.com>
45711         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
45713 2014-06-24  Wilco  <wdijkstr@arm.com>
45715         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
45716         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
45717         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
45718         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
45719         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
45720         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
45721         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
45722         Use _FPU_MASK_RM.
45724 2014-06-24  Wilco  <wdijkstr@arm.com>
45726         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
45728 2014-06-24  Wilco  <wdijkstr@arm.com>
45730         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
45731         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
45732         * sysdeps/arm/fesetround.c (fesetround): Remove space.
45733         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
45735 2014-06-24  Wilco  <wdijkstr@arm.com>
45737         [BZ #16918]
45738         * sysdeps/arm/feupdateenv.c (feupdateenv):
45739         Rewrite to reduce FPSCR accesses and fix return value.
45741 2014-06-24  Wilco  <wdijkstr@arm.com>
45743         * sysdeps/arm/fclrexcpt.c (feclearexcept):
45744         Optimize to avoid unnecessary FPSCR writes.
45745         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
45746         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
45747         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
45748         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45750 2014-06-24  Wilco  <wdijkstr@arm.com>
45752         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
45753         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
45754         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
45755         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
45756         Call libc_fetestexcept_vfp.
45757         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
45758         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
45759         __SOFTFP__ ifdef so that they can be built for softfp.
45761 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45763         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
45764         argument type signed char.
45766         * Makerules (check-abi): Dump diff of symlist if the test
45767         fails.
45769 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45771         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
45772         using abort.
45774         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45775         Remove unused variable ST.
45777 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45779         [BZ #16354]
45780         [BZ #17061]
45781         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45782         small arguments before calling __expm1.
45783         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45784         small arguments before calling __expm1f.
45785         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45786         small arguments before calling __expm1l.
45787         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45788         Likewise.
45789         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45790         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45791         spurious underflow for some cosh tests.
45792         * math/auto-libm-test-out: Regenerated.
45793         * sysdeps/i386/fpu/libm-test-ulps: Update.
45795         [BZ #17050]
45796         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45797         (__ieee754_y1): Set errno if return value overflows.
45798         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45799         (__ieee754_y1f): Set errno if return value overflows.
45800         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45801         (__ieee754_y1l): Set errno if return value overflows.
45802         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45803         (__ieee754_y1l): Set errno if return value overflows.
45804         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45805         * math/auto-libm-test-out: Regenerated.
45807         * math/gen-auto-libm-tests.c: Document use of
45808         ignore-zero-inf-sign.
45809         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45810         (input_flags): Add ignore-zero-inf-sign.
45811         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45812         * math/gen-libm-test.pl (generate_testfile): Handle
45813         ignore-zero-inf-sign.
45814         * math/auto-libm-test-in: Mark some cpow tests with
45815         ignore-zero-inf-sign and some with xfail-rounding.
45816         * math/auto-libm-test-out: Regenerated.
45817         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45818         * sysdeps/i386/fpu/libm-test-ulps: Update.
45819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45821         [BZ #16315]
45822         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45823         overflowing or underflowing operations take place with sign of
45824         result.
45825         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45826         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45827         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45828         (__ieee754_pow): Recompute overflowing and underflowing results in
45829         original rounding mode.
45830         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45831         (__powl_helper): Allow negative argument X and scale negated value
45832         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
45833         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
45834         overflowing or underflowing operations take place with sign of
45835         result.
45836         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
45837         Include <math.h>.
45838         * math/auto-libm-test-in: Add more tests of pow.
45839         * math/auto-libm-test-out: Regenerated.
45840         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
45841         (pow_tonearest_test_data): Remove.
45842         (pow_test_tonearest): Likewise.
45843         (pow_towardzero_test_data): Likewise.
45844         (pow_test_towardzero): Likewise.
45845         (pow_downward_test_data): Likewise.
45846         (pow_test_downward): Likewise.
45847         (pow_upward_test_data): Likewise.
45848         (pow_test_upward): Likewise.
45849         (main): Don't call removed functions.
45850         * sysdeps/i386/fpu/libm-test-ulps: Update.
45851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45853 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
45856         Moved ...
45857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45859         Moved ...
45860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
45861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45862         Moved ...
45863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
45864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45865         Moved ...
45866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
45867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45868         File removed.
45869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45870         File removed.
45871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
45872         File removed.
45873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
45874         File removed.
45875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
45876         File removed.
45877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
45878         File removed.
45879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
45880         File removed.
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45882         File removed.
45883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
45884         File removed.
45885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45886         File removed.
45887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
45888         File removed.
45889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
45890         File removed.
45891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
45892         Moved ...
45893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
45894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
45895         Moved ...
45896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
45897         ... here.
45898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
45899         Moved ...
45900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
45901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
45902         Moved ...
45903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
45904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
45905         Moved ...
45906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
45907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
45908         Moved ...
45909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
45910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
45911         Moved ...
45912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
45913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
45914         Moved ...
45915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
45916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
45917         Moved ...
45918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
45919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
45920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
45921         ... here.
45922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
45923         Moved ...
45924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
45925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45926         Moved ...
45927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
45928         ... here.
45929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
45930         Moved ...
45931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45932         ... here.
45933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45934         Moved ...
45935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
45936         ... here.
45937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45938         Moved ...
45939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
45940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45941         Moved ...
45942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
45943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
45944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
45945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45946         Moved ...
45947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
45948         ... here.
45949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45950         Moved ...
45951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
45952         ... here.
45953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45954         Moved ...
45955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
45956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45957         Moved ...
45958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
45959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45960         Moved ...
45961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
45962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45963         Moved ...
45964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
45965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45966         Moved ...
45967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
45968         ... here.
45969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45970         Moved ...
45971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
45972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45973         Moved ...
45974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
45975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45976         Moved ...
45977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
45978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45979         Moved ...
45980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
45981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
45982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
45983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45984         Moved ...
45985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
45986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45987         Moved ...
45988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
45989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45990         Moved ...
45991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
45992         ... here.
45993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45994         Moved ...
45995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
45996         ... here.
45997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45998         Moved ...
45999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
46000         ... here.
46001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46002         Moved ...
46003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
46004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46005         Moved ...
46006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
46007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46008         Moved ...
46009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
46010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46011         Moved ...
46012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
46013         ... here.
46014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46015         Moved ...
46016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
46017         ... here.
46018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46019         Moved ...
46020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
46021         ... here.
46022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46023         Moved ...
46024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
46025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46026         Moved ...
46027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
46029 2014-06-23  Will Newton  <will.newton@linaro.org>
46030             Wilco  <wdijkstr@arm.com>
46032         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
46033         implementation.  Include get-rounding-mode.h.
46034         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
46035         [!libc_feholdsetround_noex_ctx]: Define
46036         libc_feholdsetround_noex_ctx.
46037         [!libc_feholdsetround_noexf_ctx]: Define
46038         libc_feholdsetround_noexf_ctx.
46039         [!libc_feholdsetround_noexl_ctx]: Define
46040         libc_feholdsetround_noexl_ctx.
46041         (libc_feholdsetround_ctx): New function.
46042         (libc_feresetround_ctx): New function.
46043         (libc_feholdsetround_noex_ctx): New function.
46044         (libc_feresetround_noex_ctx): New function.
46046 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46048         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
46049         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
46050         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
46051         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
46052         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
46053         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
46055         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
46056         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
46057         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
46058         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
46059         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
46060         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
46061         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
46062         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
46063         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
46064         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
46065         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
46066         Moved ...
46067         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
46068         ... here.
46069         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
46070         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
46071         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
46072         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
46073         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
46074         Moved ...
46075         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
46076         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
46077         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
46078         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
46079         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
46080         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
46081         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
46082         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
46083         Moved ...
46084         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
46085         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
46086         Moved ...
46087         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
46088         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
46089         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
46090         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
46091         Moved ...
46092         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
46093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
46094         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
46095         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
46096         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
46097         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
46098         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
46099         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
46100         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
46101         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
46102         Moved ...
46103         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
46104         ... here.
46105         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
46106         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
46107         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
46108         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
46109         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
46110         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
46111         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
46112         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
46113         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
46114         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
46115         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
46116         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
46117         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
46118         Moved ...
46119         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
46120         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
46121         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
46122         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
46123         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
46124         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
46125         Moved ...
46126         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
46127         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
46128         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
46129         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
46130         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
46132         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
46133         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
46134         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
46135         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
46136         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
46137         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
46138         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
46139         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
46140         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
46141         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
46142         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
46143         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
46144         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
46145         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
46146         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
46147         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
46148         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
46149         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
46150         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
46151         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46152         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46153         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46154         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46155         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46156         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46157         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46158         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46159         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46161 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46163         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46164         (FALLOC_FL_COLLAPSE_RANGE): New macro.
46165         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46166         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46167         (IPV6_PMTUDISC_INTERFACE): Likewise.
46168         (IPV6_PMTUDISC_OMIT): Likewise.
46170 2014-06-23  Andreas Schwab  <schwab@suse.de>
46172         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46173         Remove unused errout label.
46175 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46177         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46178         macro: hardware supports Vector Crypto instructions.
46180 2014-06-23  Will Newton  <will.newton@linaro.org>
46182         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46183         rather than __builtin_expect.
46185         * elf/dl-lookup.c (undefined_msg): Remove variable.
46186         (_dl_lookup_symbol_x): Replace undefined_msg with string
46187         literal.
46189         * elf/dl-lookup.c (do_lookup_unique): New function.
46190         (do_lookup_x): Move STB_GNU_UNIQUE handling code
46191         to a separate function.
46193 2014-06-23  Andreas Schwab  <schwab@suse.de>
46195         [BZ #17079]
46196         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46197         before reading the next line.
46199 2014-06-23  Will Newton  <will.newton@linaro.org>
46201         * test-skeleton.c (signal_handler): Use printf and %m
46202         rather than perror.  Use printf rather than fprintf to
46203         stderr.  Use puts rather than fputs to stderr.
46204         (main): Likewise.
46206 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
46208         * nscd/nscd.c (thread_info_t): Remove typedef.
46209         (thread_info): Remove variable.
46211 2014-06-21  Allan McRae  <allan@archlinux.org>
46213         * NEWS: Mention CVE-2014-4043.
46215 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46217         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46218         * nptl/smp.h: ... here.
46220         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46222         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46223         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46224         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46225         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46227         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46228         * nptl/stack-aliasing.h: New file.
46229         * sysdeps/i386/i686/stack-aliasing.h: New file.
46230         * sysdeps/i386/i686/nptl/Makefile: File removed.
46231         * sysdeps/x86_64/stack-aliasing.h: New file.
46232         * sysdeps/x86_64/nptl/Makefile
46233         (CFLAGS-pthread_create.c): Variable removed.
46235         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46236         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46237         old file.
46238         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46239         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46240         old file.
46242 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46244         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46245         (__ASSUME_SIGFRAME_V2): Remove macro.
46246         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46247         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46248         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46249         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46250         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46251         Declare as function.  Remove conditional macro definitions.
46252         (__default_rt_sa_restorer): Likewise.
46253         (__default_sa_restorer_v1): Remove declaration.
46254         (__default_sa_restorer_v2): Likewise.
46255         (__default_rt_sa_restorer_v1): Likewise.
46256         (__default_rt_sa_restorer_v2): Likewise.
46257         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46258         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46259         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46261 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46263         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46264         (libpthread-routines): Add sysdep.
46265         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46266         * sysdeps/unix/sysv/linux/sparc/Versions
46267         (libpthread: GLIBC_2.3.3): New version set.
46268         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46269         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46270         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46271         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46272         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46273         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46274         Moved ...
46275         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46276         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46277         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46278         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46279         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46280         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46281         * sysdeps/sparc/nptl/sem_init.c: ... here.
46282         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46283         * sysdeps/sparc/nptl/sem_post.c: ... here.
46284         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46285         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46286         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46287         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46288         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46289         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46290         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46291         (libpthread-routines): Add cpu_relax.
46292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46293         File removed.
46294         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46295         (librt: GLIBC_2.3.3): New version set.
46296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46297         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46298         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46299         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46302         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46304         Moved ...
46305         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46307         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46309         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46311         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46313         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46315         Moved ...
46316         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46317         Update #include.
46318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46319         Moved ...
46320         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46321         Update #include.
46322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46323         Moved ...
46324         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46325         Update #include.
46326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46327         Moved ...
46328         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46329         Update #include.
46330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46331         Moved ...
46332         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46333         Update #include.
46334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46335         Moved ...
46336         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46337         Update #include.
46338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46339         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46341         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46345         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46347         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46349         Moved ...
46350         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46352         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46354         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46356 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46358         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46359         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46360         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46361         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46362         * nscd/nscd.c: Likewise.
46363         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46364         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46365         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46366         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46368         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46369         <kernel-features.h>.
46370         (init_mq_netlink): Remove conditional have_sock_cloexec
46371         definitions.  Remove code conditional on have_sock_cloexec < 0.
46372         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46373         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46374         * sysdeps/unix/sysv/linux/opensock.c: Do not include
46375         <kernel-features.h>.
46376         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46377         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46379 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46382         Add tests for memset_chk and memset.
46384         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46385         with AVX2_Usable.
46387 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46389         [BZ #16046]
46390         * elf/tst-dl-iter-static.c: New file.
46391         * elf/Makefile (tests-static): Add tst-dl-iter-static.
46393         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46394         error.
46396 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46398         * sysdeps/unix/sysv/linux/kernel-features.h
46399         (__ASSUME_F_GETOWN_EX): Remove macro.
46400         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46401         <kernel-features.h>.
46402         (miss_F_GETOWN_EX): Remove variable or macro.
46403         (do_fcntl): Do not check miss_F_GETOWN_EX.
46404         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46406         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46407         Remove macro.
46408         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46409         [!__ASSUME_AT_RANDOM]: Remove conditional code.
46410         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46412         * sysdeps/unix/sysv/linux/kernel-features.h
46413         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46414         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46415         [ADJ_OFFSET_SS_READ]: Make code unconditional.
46416         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46418 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46420         [BZ #17075]
46421         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46422         Fix calculation of the symbol's value.
46423         * sysdeps/arm/tst-armtlsdescloc.c: New file.
46424         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46425         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46426         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46427         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46428         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46429         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46430         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46431         (modules-names): Add `tst-armtlsdescmod',
46432         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46433         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46434         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46435         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46436         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46437         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46438         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46439         ($(objpfx)tst-armtlsdescloc): New dependency.
46440         ($(objpfx)tst-armtlsdescextnow): Likewise.
46441         ($(objpfx)tst-armtlsdescextlazy): Likewise.
46442         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46443         TLS scheme support.
46444         * sysdeps/arm/configure: Regenerate.
46446 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46448         * include/fcntl.h (__atfct_seterrno): Remove prototype.
46449         (__atfct_seterrno_2): Likewise.
46450         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
46451         <kernel-features.h>.
46452         (__ASSUME_ATFCTS): Do not undefine and redefine.
46453         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
46454         (__have_atfcts): Remove conditional definition.
46455         (__fxstatat([__NR_fstatat64]: Make code unconditional.
46456         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
46457         unreachable if [__ASSUME_ATFCTS].
46458         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
46459         not undefine and redefine.
46460         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
46461         <kernel-features.h>.
46462         (faccessat) [__NR_faccessat]: Make code unconditional.
46463         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
46464         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
46465         <kernel-features.h>.
46466         (fchmodat) [__NR_fchmodat]: Make code unconditional.
46467         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46468         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
46469         <kernel-features.h>.
46470         (fchownat) [__NR_fchownat]: Make code unconditional.
46471         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
46472         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
46473         <kernel-features.h>.
46474         (futimesat) [__NR_futimesat]: Make code unconditional.
46475         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
46476         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46477         <kernel-features.h>.
46478         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46479         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46480         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46481         <kernel-features.h>.
46482         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
46483         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46484         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
46485         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46486         <kernel-features.h>.
46487         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
46488         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46489         * sysdeps/unix/sysv/linux/linkat.c: Do not include
46490         <kernel-features.h>.
46491         (linkat) [__NR_linkat]: Make code unconditional.
46492         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46493         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
46494         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
46495         <kernel-features.h>.
46496         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
46497         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46498         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
46499         <kernel-features.h>.
46500         (mkdirat) [__NR_mkdirat]: Make code unconditional.
46501         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
46502         * sysdeps/unix/sysv/linux/openat.c: Do not include
46503         <kernel-features.h>.
46504         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
46505         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
46506         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
46507         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
46508         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
46509         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
46510         <kernel-features.h>.
46511         (readlinkat) [__NR_readlinkat]: Make code unconditional.
46512         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
46513         result of INLINE_SYSCALL directly, not via int variable.
46514         * sysdeps/unix/sysv/linux/renameat.c: Do not include
46515         <kernel-features.h>.
46516         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
46517         (renameat) [__NR_renameat]: Make code unconditional.
46518         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
46519         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
46520         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
46521         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
46522         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
46523         (__ASSUME_ATFCTS): Do not undefine and redefine.
46524         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
46525         <kernel-features.h>.
46526         (symlinkat) [__NR_symlinkat]: Make code unconditional.
46527         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46528         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
46529         <kernel-features.h>.
46530         (unlinkat) [__NR_unlinkat]: Make code unconditional.
46531         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46532         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
46533         (__ASSUME_ATFCTS): Do not undefine and redefine.
46534         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46535         <kernel-features.h>.
46536         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46537         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46538         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46539         <kernel-features.h>.
46540         (__xmknodat) [__NR_mknodat]: Make code unconditional.
46541         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46543 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46545         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
46547 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
46549         [BZ #17069]
46550         * posix/regcomp.c (parse_reg_exp): Deallocate partially
46551         constructed tree before returning error.
46552         * posix/bug-regexp36.c: Expand test case.
46554 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
46556         [BZ #6803]
46557         * math/libm-test.inc (scalbln_test_date):
46558         Add errno expectations.
46559         * math/w_scalblnf.c: New File.
46560         Add wrapper which checks for setting errno to ERANGE.
46561         Add weak_alias for corresponding scalbln function.
46562         * math/w_scalbln.c: Likewise.
46563         * math/w_scalblnl.c: Likewise.
46564         * math/Makefile (libm-calls): Add w_scalbln.
46565         * sysdeps/ieee754/flt-32/s_scalblnf.c:
46566         Remove weak_alias for corresponding scalbln function.
46567         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46568         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46569         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46570         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46571         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
46572         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46573         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
46574         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46575         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
46576         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
46577         Remove long_double_symbol for scalblnl function in libm, libc.
46578         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
46579         Add wrapper which checks for setting errno to ERANGE.
46580         Add long_double_symbol for scalblnl function in libm, libc.
46581         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
46582         Remove long_double_symbol for scalblnl in libm.
46583         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
46584         Add wrapper which checks for setting errno to ERANGE.
46585         Add long_double_symbol for scalblnl function in libm.
46586         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
46587         Do not use wrapper because of own implementation.
46589 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
46591         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
46592         3 bytes for __pad1 for x32.
46593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
46595 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
46596             H.J. Lu  <hongjiu.lu@intel.com>
46598         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
46599         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
46600         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46601         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46602         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
46604 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
46606         [BZ #17069]
46607         * posix/regcomp.c (parse_expression): Deallocate partially
46608         constructed tree before returning error.
46609         * posix/Makefile.c (tests): Add bug-regex36.
46610         (generated): Add bug-regex36.mtrace.
46611         (tests-special): Add $(objpfx)bug-regex36-mem.out
46612         (bug-regex36-ENV): New variable.
46613         ($(objpfx)bug-regex36-mem.out): New rule.
46614         * posix/bug-regex36.c: New file.
46616 2014-06-19  Will Newton  <will.newton@linaro.org>
46618         * malloc/malloc.c (systrim): If extra is zero then return
46619         early.
46621 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46623         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
46625 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
46627         * sysdeps/aarch64/strchr.S: New file.
46629 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46631         [BZ #17022]
46632         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
46633         from arguments -2 or below.
46634         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46635         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
46637 2014-06-18  Andreas Schwab  <schwab@suse.de>
46639         [BZ #17062]
46640         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
46641         of a bracket expr not to run off the end of the string.
46642         * posix/Makefile (tests): Add tst-fnmatch3.
46643         * posix/tst-fnmatch3.c: New file.
46645 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46647         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
46648         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46649         [$(cross-compiling) = no]: Likewise.
46650         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46651         [$(cross-compiling) = no]: Likewise.
46653 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46655         [BZ #17031]
46656         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
46657         double, adjusted for any remainder from the high double.
46658         * math/libm-test.inc (nearbyint): Add tests.
46659         (rint): Likewise.
46661 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46663         * nptl/sysdeps/powerpc/Makefile: Moved ...
46664         * sysdeps/powerpc/nptl/Makefile: ... here.
46665         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
46666         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
46667         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
46668         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
46669         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
46670         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
46671         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
46672         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
46673         * nptl/sysdeps/powerpc/tls.h: Moved ...
46674         * sysdeps/powerpc/nptl/tls.h: ... here.
46676 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
46678         [BZ #16681]
46679         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
46680         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
46681         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
46682         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
46683         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
46684         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
46685         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
46686         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
46687         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
46689 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
46691         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46693 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
46695         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
46696         defined operator.
46698         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
46699         $TIMEOUTFACTOR.
46701 2014-06-16  Florian Weimer  <fweimer@redhat.com>
46703         [BZ #17058]
46704         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
46705         non-executed part of the test.
46707 2014-06-16  Andreas Schwab  <schwab@suse.de>
46709         * string/bits/string2.h (strdup, strndup): Update feature guard.
46711 2014-06-14  David S. Miller  <davem@davemloft.net>
46713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46715 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
46717         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
46718         that was previously under [RESET_PID].
46719         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
46721         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
46722         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
46723         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
46724         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46725         (__libc_vfork): New strong alias.
46726         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
46728 2014-06-14 Andi Kleen  <ak@linux.intel.com>
46730         * sysdeps/generic/elide.h: New file.
46732 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
46734         * Makefile (installed-headers): Adjust path of pthread.h header.
46736 2014-06-13  Roland McGrath  <roland@hack.frob.com>
46738         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
46739         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
46740         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
46741         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
46743         * nptl/sysdeps/s390/Makefile: Moved ...
46744         * sysdeps/s390/nptl/Makefile: ... here.
46745         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46746         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
46747         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
46748         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
46749         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
46750         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
46751         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46752         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
46753         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
46754         * sysdeps/s390/nptl/pthreaddef.h: ... here.
46755         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
46756         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
46757         * nptl/sysdeps/s390/tls.h: Moved ...
46758         * sysdeps/s390/nptl/tls.h: ... here.
46760         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
46761         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
46763 2014-06-13  David S. Miller  <davem@davemloft.net>
46765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
46766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
46767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
46768         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
46769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
46770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
46771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
46772         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46773         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
46774         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46775         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46776         Remove RESET_PID cpp guards.
46777         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46778         Remove RESET_PID cpp guards.
46779         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46781 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
46783         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46784         __sp to uintptr_t.
46786 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46788         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46789         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46790         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46791         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46792         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46793         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46794         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46795         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46796         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46797         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46798         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46799         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46800         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46801         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46802         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46803         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46804         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46805         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46806         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46807         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46809         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46810         (pthread_rwlock_rdlock): Add elision.
46811         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46812         (pthread_rwlock_wrlock): Add elision.
46813         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46814         (pthread_rwlock_trywrlock): Add elision.
46815         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46816         (pthread_rwlock_tryrdlock): Add elision.
46817         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46818         (pthread_rwlock_tryrdlock): Add elision unlock.
46819         * nptl/sysdeps/pthread/pthread.h:
46820         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46821         (PTHREAD_RWLOCK_INITIALIZER,
46822         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46823         Handle new elision field.
46824         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46825         * sysdeps/arm/nptl/bits/pthreadtypes.h
46826         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46827         * sysdeps/sh/nptl/bits/pthreadtypes.h
46828         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46829         * sysdeps/tile/nptl/bits/pthreadtypes.h
46830         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46831         * sysdeps/a/nptl/bits/pthreadtypes.h
46832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46833         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46835         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46836         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46837         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
46838         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46839         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46841         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46843         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46844         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46845         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46847         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
46848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46849         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
46850         (elision_init): Set try_xbegin to zero when no RTM.
46851         * sysdeps/x86/nptl/bits/pthreadtypes.h
46852         (pthread_rwlock_t): Change __pad1 to __rwelision.
46853         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46855 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46857         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
46858         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
46859         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
46860         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
46862 2014-06-13  Meador Inge  <meadori@codesourcery.com>
46864         [BZ #16996]
46865         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
46866         that the cached result has been set before returning it.
46868 2014-06-12  Roland McGrath  <roland@hack.frob.com>
46870         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
46871         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
46872         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
46873         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
46874         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
46875         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
46877         * nptl/sysdeps/sparc/Makefile: Moved ...
46878         * sysdeps/sparc/nptl/Makefile: ... here.
46879         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
46880         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
46881         * nptl/sysdeps/sparc/tls.h: Moved ...
46882         * sysdeps/sparc/nptl/tls.h: ... here.
46883         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
46884         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
46885         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
46886         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
46887         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
46888         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
46889         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
46890         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
46891         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
46892         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
46893         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
46894         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
46895         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
46896         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
46897         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
46898         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
46899         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
46900         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
46901         Update #include.
46902         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
46903         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
46904         Update #include.
46905         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
46906         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
46907         Update #include.
46908         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
46909         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
46910         Update #include.
46912         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46914         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
46915         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
46917         * sysdeps/pthread/posix-timer.h: Include <list.h>.
46918         (struct list_links): Type removed.
46919         (struct thread_node, struct timer_node): Replace struct list_links
46920         with struct list_head.
46921         (list_unlink_ip): Likewise.
46922         * sysdeps/pthread/timer_routines.c
46923         (timer_free_list, thread_free_list, thread_active_list): Likewise.
46924         (list_append, list_insbefore): Likewise.
46925         (list_init): Function removed.
46926         (thread_init, init_module): Use INIT_LIST_HEAD instead.
46927         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
46928         * sysdeps/pthread/Makefile: ... here, new file.
46930         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
46931         * sysdeps/nptl/Implies: ... here.
46932         * sysdeps/unix/sysv/linux/Implies: Add nptl.
46933         * nptl/sysdeps/pthread/list.h: Moved ...
46934         * include/list.h: ... here.
46935         * nptl/sysdeps/pthread/createthread.c: Moved ...
46936         * nptl/createthread.c: ... here.
46937         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
46938         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
46939         * nptl/pt-longjmp.c: ... here.
46940         * nptl/sysdeps/pthread/Makefile: Moved ...
46941         * sysdeps/nptl/Makefile: ... here.
46942         * nptl/sysdeps/pthread/Subdirs: Moved ...
46943         * sysdeps/nptl/Subdirs: ... here.
46944         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
46945         * sysdeps/nptl/aio_misc.h: ... here.
46946         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
46947         * sysdeps/nptl/bits/libc-lock.h: ... here.
46948         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
46949         * sysdeps/nptl/bits/libc-lockP.h: ... here.
46950         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
46951         * sysdeps/nptl/bits/stdio-lock.h: ... here.
46952         * nptl/sysdeps/pthread/configure: Moved ...
46953         * sysdeps/nptl/configure: ... here.
46954         * nptl/sysdeps/pthread/configure.ac: Moved ...
46955         * sysdeps/nptl/configure.ac: ... here.
46956         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46957         * sysdeps/nptl/gai_misc.h: ... here.
46958         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
46959         * sysdeps/nptl/librt-cancellation.c: ... here.
46960         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
46961         * sysdeps/nptl/malloc-machine.h: ... here.
46962         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
46963         * sysdeps/nptl/pthread-functions.h: ... here.
46964         * nptl/sysdeps/pthread/pthread.h: Moved ...
46965         * sysdeps/nptl/pthread.h: ... here.
46966         * nptl/sysdeps/pthread/setxid.h: Moved ...
46967         * sysdeps/nptl/setxid.h: ... here.
46968         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
46969         * sysdeps/nptl/sigfillset.c: ... here.
46970         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
46971         * sysdeps/nptl/tcb-offsets.h: ... here.
46972         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
46973         * sysdeps/nptl/tst-mqueue8x.c: ... here.
46974         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
46975         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
46976         * nptl/sysdeps/pthread/allocalim.h: Moved ...
46977         * sysdeps/pthread/allocalim.h: ... here.
46978         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
46979         * sysdeps/pthread/bits/sigthread.h: ... here.
46980         * nptl/sysdeps/pthread/flockfile.c: Moved ...
46981         * sysdeps/pthread/flockfile.c: ... here.
46982         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
46983         * sysdeps/pthread/ftrylockfile.c: ... here.
46984         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
46985         * sysdeps/pthread/funlockfile.c: ... here.
46986         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
46987         * sysdeps/pthread/posix-timer.h: ... here.
46988         * nptl/sysdeps/pthread/timer_create.c: Moved ...
46989         * sysdeps/pthread/timer_create.c: ... here.
46990         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
46991         * sysdeps/pthread/timer_delete.c: ... here.
46992         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
46993         * sysdeps/pthread/timer_getoverr.c: ... here.
46994         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
46995         * sysdeps/pthread/timer_gettime.c: ... here.
46996         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
46997         * sysdeps/pthread/timer_routines.c: ... here.
46998         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
46999         * sysdeps/pthread/timer_settime.c: ... here.
47000         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
47001         * sysdeps/pthread/tst-timer.c: ... here.
47002         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
47003         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
47005         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
47006         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
47008         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
47009         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
47010         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
47011         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
47012         Update #include target.
47013         * nptl/sysdeps/i386/i686/Makefile: Moved ...
47014         * sysdeps/i386/i686/nptl/Makefile: ... here.
47015         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
47016         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
47017         Update #include target.
47018         * nptl/sysdeps/i386/i686/tls.h: Moved ...
47019         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
47020         * nptl/sysdeps/i386/Makefile: Moved ...
47021         * sysdeps/i386/nptl/Makefile: ... here.
47022         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
47023         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
47024         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
47025         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
47026         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
47027         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
47028         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
47029         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
47030         * sysdeps/i386/nptl/pthreaddef.h: ... here.
47031         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
47032         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
47033         * nptl/sysdeps/i386/tls.h: Moved ...
47034         * sysdeps/i386/nptl/tls.h: ... here.
47036         * sysdeps/sh/Makefile [$(subdir) = csu]
47037         (gen-as-const-headers): Add tcb-offsets.sym.
47038         * nptl/sysdeps/sh/Makefile: File removed.
47039         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
47040         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
47041         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
47042         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
47043         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
47044         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
47045         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
47046         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
47047         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
47048         * sysdeps/sh/nptl/pthreaddef.h: ... here.
47049         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
47050         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
47051         * nptl/sysdeps/sh/tls.h: Moved ...
47052         * sysdeps/sh/nptl/tls.h: ... here.
47053         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
47054         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
47055         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
47056         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
47057         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
47058         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
47059         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
47060         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
47061         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
47062         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
47063         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
47064         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
47065         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
47066         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
47067         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
47068         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
47069         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
47070         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
47071         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
47072         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
47073         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
47074         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
47075         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
47076         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
47077         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
47078         Moved ...
47079         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
47080         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
47081         Moved ...
47082         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
47083         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
47084         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
47085         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
47086         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
47087         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
47088         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
47089         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
47090         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
47091         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
47092         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
47093         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
47094         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
47095         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
47096         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
47097         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
47098         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
47099         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
47100         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
47102 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
47104         * posix/spawn_faction_addopen.c: Include string.h.
47106 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47108         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
47109         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
47110         * nptl/sysdeps/x86_64/Makefile: Moved ...
47111         * sysdeps/x86_64/nptl/Makefile: ... here.
47112         * nptl/sysdeps/x86_64/configure: Moved ...
47113         * sysdeps/x86_64/nptl/configure: ... here.
47114         * nptl/sysdeps/x86_64/configure.ac: Moved ...
47115         * sysdeps/x86_64/nptl/configure.ac: ... here.
47116         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
47117         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
47118         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
47119         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
47120         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
47121         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
47122         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
47123         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
47124         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
47125         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
47126         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
47127         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
47128         * nptl/sysdeps/x86_64/tls.h: Moved ...
47129         * sysdeps/x86_64/nptl/tls.h: ... here.
47130         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
47131         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
47132         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
47133         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
47135         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
47137 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47141 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
47143         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
47144         type.
47145         [POSIX] (off_t): Likewise.
47146         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
47147         [POSIX] (S_ISBLK): Require macro.
47148         [POSIX] (S_ISCHR): Likewise.
47149         [POSIX] (S_ISDIR): Likewise.
47150         [POSIX] (S_ISFIFO): Likewise.
47151         [POSIX] (S_ISREG): Likewise.
47152         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47153         optional-macro.
47154         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47155         type.
47156         [POSIX] (time_t): Likewise.
47157         [POSIX] (timer_t): Likewise.
47159 2014-06-11  Florian Weimer  <fweimer@redhat.com>
47161         [BZ #17048]
47162         * posix/spawn_int.h (struct __spawn_action): Make the path string
47163         non-const to support deallocation.
47164         * posix/spawn_faction_addopen.c
47165         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47166         * posix/spawn_faction_destroy.c
47167         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
47168         path in all spawn_do_open actions.
47169         * posix/tst-spawn.c (do_test): Exercise the copy operation in
47170         posix_spawn_file_actions_addopen.
47172 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
47174         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47175         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47176         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47177         conditional code always true.
47178         (__libc_vfork): New alias.
47180 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47182         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47183         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47185         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47187         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47188         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47190         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47191         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47193         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47194         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47196 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47198         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47199         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47200         multiarch strcmp for PPC64.
47201         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47202         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47204         multiarch optimizations.
47205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47206         (__libc_ifunc_impl_list): Likewise.
47208 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47210         * benchtests/scripts/validate_benchout.py: New script.
47211         * benchtests/Makefile (bench-func): Call it.
47212         * benchtests/scripts/benchout.schema.json: New file.
47214 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47216         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47217         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47218         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47219         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47220         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47221         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47222         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47223         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47224         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47225         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47226         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47227         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47228         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47229         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47230         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47231         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47233         Moved ...
47234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47235         ... here.
47236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47237         Moved ...
47238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47240         Moved ...
47241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47242         ... here.
47243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47244         Moved ...
47245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47246         ... here.
47247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47248         Moved ...
47249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47251         Moved ...
47252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47253         ... here.
47254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47255         Moved ...
47256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47257         ... here.
47258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47259         Moved ...
47260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47262         Moved ...
47263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47264         ... here.
47265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47266         Moved ...
47267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47268         ... here.
47269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47270         Moved ...
47271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47272         ... here.
47273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47274         Moved ...
47275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47277         Moved ...
47278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47279         ... here.
47280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47281         Moved ...
47282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47283         ... here.
47284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47285         Moved ...
47286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47287         ... here.
47288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47289         Moved ...
47290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47292         Moved ...
47293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47294         ... here.
47295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47296         Moved ...
47297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47298         ... here.
47299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47300         Moved ...
47301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47303         Moved ...
47304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47305         ... here.
47306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47307         Moved ...
47308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47310         Moved ...
47311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47313         Moved ...
47314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47315         ... here.
47316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47317         Moved ...
47318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47319         ... here.
47320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47321         Moved ...
47322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47323         ... here.
47324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47325         Moved ...
47326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47328         Moved ...
47329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47330         ... here.
47331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47332         Moved ...
47333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47334         ... here.
47335         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47336         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47337         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47338         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47339         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47340         Moved ...
47341         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47342         ... here.
47343         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47344         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47345         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47346         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47348         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47350         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47351         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47352         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47353         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47354         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47355         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47356         Moved ...
47357         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47358         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47359         Moved ...
47360         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47361         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47362         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47363         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47364         Moved ...
47365         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47366         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47367         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47368         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47369         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47370         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47371         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47373 2014-06-10  Wilco  <wdijkstr@arm.com>
47375         * math/test-fenv-return.c: New file.
47376         * math/Makefile: Add new test test-fenv-return.
47378 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
47380         [BZ #17042]
47381         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47382         when x - 1 is zero.
47383         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47384         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47385         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47386         0.0L for an argument of 1.0L.
47387         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47388         Likewise.
47389         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47390         value when x - 1 is zero.
47391         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47392         * sysdeps/i386/fpu/libm-test-ulps: Update.
47393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47395 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
47397         [BZ #15119]
47398         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47400 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47402         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47403         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47405 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47407         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47408         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47410         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47411         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47413         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47414         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47416         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47417         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47419         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47420         if not already defined.
47421         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47422         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47423         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47424         (TLS_INIT_TP): Use it.
47425         (TLS_DEFINE_INIT_TP): New macro.
47426         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47428 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
47430         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47431         constant.
47432         [POSIX] (IXANY): Likewise.
47433         [POSIX] (OLCUC): Likewise.
47434         [POSIX || POSIX2008] (CBAUD): Do not allow.
47435         [POSIX || POSIX2008] (DEFECHO): Likewise.
47436         [POSIX || POSIX2008] (ECHOCTL): Likewise.
47437         [POSIX || POSIX2008] (ECHOKE): Likewise.
47438         [POSIX || POSIX2008] (ECHOPRT): Likewise.
47439         [POSIX || POSIX2008] (EXTA): Likewise.
47440         [POSIX || POSIX2008] (EXTB): Likewise.
47441         [POSIX || POSIX2008] (FLUSHO): Likewise.
47442         [POSIX || POSIX2008] (LOBLK): Likewise.
47443         [POSIX || POSIX2008] (PENDIN): Likewise.
47444         [POSIX || POSIX2008] (SWTCH): Likewise.
47445         [POSIX || POSIX2008] (VDISCARD): Likewise.
47446         [POSIX || POSIX2008] (VDSUSP): Likewise.
47447         [POSIX || POSIX2008] (VLNEXT): Likewise.
47448         [POSIX || POSIX2008] (VREPRINT): Likewise.
47449         [POSIX || POSIX2008] (VSTATUS): Likewise.
47450         [POSIX || POSIX2008] (VWERASE): Likewise.
47451         (B*): Change to B[0123456789]*.
47452         * conform/data/time.h-data [POSIX || UNIX98]
47453         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
47454         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47455         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
47456         [POSIX] (tm_*): Do not allow.
47458 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
47460         * Makefile (install): Don't set LANGUAGE.
47461         * Makefile.in (install): Likewise.
47462         * assert/Makefile (test-assert-ENV): Remove variable.
47463         (test-assert-perr-ENV): Likewise.
47464         * elf/Makefile (neededtest4-ENV): Likewise.
47465         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47466         [$(cross-compiling) = no]: Don't set LANGUAGE.
47467         * io/ftwtest-sh (LANG): Remove variable.
47468         * libio/Makefile (tst-widetext-ENV): Likewise.
47469         * manual/install.texi (Running make install): Don't refer to
47470         environment settings for make install.
47471         * INSTALL: Regenerated.
47472         * nptl/tst-tls6.sh: Don't set LANG.
47473         * posix/globtest.sh (LANG): Remove variable.
47474         * string/Makefile (tester-ENV): Likewise.
47475         (inl-tester-ENV): Likewise.
47476         (noinl-tester-ENV): Likewise.
47477         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47478         [$(cross-compiling) = no]: Don't set LANGUAGE.
47479         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
47480         without explicit environment settings.
47482 2014-06-06  Roland McGrath  <roland@hack.frob.com>
47484         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
47485         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
47486         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
47487         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
47489 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
47491         * crypt/crypt-private.h [DOS]: Add some includes taken from the
47492         other files in the crypt directory.
47493         * crypt/crypt.c: Remove duplicate includes.
47494         * crypt/crypt-entry.c: Likewise.
47495         * crypt/crypt_util.c: Likewise.
47497 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
47499         * Makeconfig (run-program-env): New variable.
47500         (run-program-prefix-before-env): Likewise.
47501         (run-program-prefix-after-env): Likewise.
47502         (run-program-prefix): Define in terms of new variables.
47503         (built-program-cmd-before-env): New variable.
47504         (built-program-cmd-after-env): Likewise.
47505         (built-program-cmd): Define in terms of new variables.
47506         (test-program-prefix-before-env): New variable.
47507         (test-program-prefix-after-env): Likewise.
47508         (test-program-prefix): Define in terms of new variables.
47509         (test-program-cmd-before-env): New variable.
47510         (test-program-cmd-after-env): Likewise.
47511         (test-program-cmd): Define in terms of new variables.
47512         * Rules (make-test-out): Use $(run-program-env).
47513         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
47514         (help): Do not mention environment variables.  Mention
47515         --timeoutfactor option.
47516         (timeoutfactor): New variable.
47517         (blacklist_exports): Remove function.
47518         (exports): Remove variable.
47519         (command): Do not include ${exports}.
47520         * manual/install.texi (Configuring and compiling): Do not mention
47521         test wrappers preserving environment variables.  Mention that last
47522         assignment to a variable must take precedence.
47523         * INSTALL: Regenerated.
47524         * benchtests/Makefile (run-bench): Use $(run-program-env).
47525         * catgets/Makefile ($(objpfx)test1.cat): Use
47526         $(built-program-cmd-before-env), $(run-program-env) and
47527         $(built-program-cmd-after-env).
47528         ($(objpfx)test2.cat): Do not specify environment variables
47529         explicitly.
47530         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
47531         $(run-program-env) and $(built-program-cmd-after-env).
47532         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
47533         $(run-program-env) and $(test-program-cmd-after-env).
47534         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
47535         explicitly.
47536         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
47537         run_program_env and test_program_cmd_after_env arguments.
47538         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
47539         * elf/tst-pathopt.sh: Use run_program_env argument.
47540         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
47541         $(test-wrapper-env) and $(run-program-env).
47542         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
47543         run_program_env arguments.
47544         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
47545         * intl/Makefile ($(objpfx)tst-gettext.out): Use
47546         $(test-program-prefix-before-env), $(run-program-env) and
47547         $(test-program-prefix-after-env).
47548         ($(objpfx)tst-gettext2.out): Likewise.
47549         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
47550         run_program_env and test_program_prefix_after_env arguments.
47551         * intl/tst-gettext2.sh: Likewise.
47552         * intl/tst-gettext4.sh: Do not set environment variables
47553         explicitly.
47554         * intl/tst-gettext6.sh: Likewise.
47555         * intl/tst-translit.sh: Likewise.
47556         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
47557         $(test-program-prefix-before-env), $(run-program-env) and
47558         $(test-program-prefix-after-env).
47559         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
47560         run_program_env and test_program_prefix_after_env arguments.
47561         * math/Makefile (run-regen-ulps): Use $(run-program-env).
47562         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
47563         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
47564         explicitly with each use of ${test_wrapper_env}.
47565         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
47566         $(test-program-prefix-before-env), $(run-program-env) and
47567         $(test-program-prefix-after-env).
47568         * posix/tst-getconf.sh: Do not set environment variables
47569         explicitly.
47570         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
47571         run_program_env and test_program_prefix_after_env arguments.
47572         * stdio-common/tst-printf.sh: Do not set environment variables
47573         explicitly.
47574         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
47575         $(test-program-prefix-before-env), $(run-program-env) and
47576         $(test-program-prefix-after-env).
47577         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
47578         run_program_env and test_program_prefix_after_env arguments.
47579         Split $test calls into $test_pre and $test.
47580         * timezone/Makefile (build-testdata): Use
47581         $(built-program-cmd-before-env), $(run-program-env) and
47582         $(built-program-cmd-after-env).
47584 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47586         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
47587         strlen for non SHARED builds.
47589 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47591         * nptl/allocatestack.c (check_list): Inlined function...
47592         (__reclaim_stacks): ... here.
47594 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47596         [BZ #15698]
47597         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
47598         memory overrun.
47600 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
47602         * Rules (make-test-out): Include
47603         LOCPATH=$(common-objpfx)localedata in default environment.
47604         * debug/Makefile (tst-chk1-ENV): Remove variable.
47605         (tst-chk2-ENV): Likewise.
47606         (tst-chk3-ENV): Likewise.
47607         (tst-chk4-ENV): Likewise.
47608         (tst-chk5-ENV): Likewise.
47609         (tst-chk6-ENV): Likewise.
47610         (tst-lfschk1-ENV): Likewise.
47611         (tst-lfschk2-ENV): Likewise.
47612         (tst-lfschk3-ENV): Likewise.
47613         (tst-lfschk4-ENV): Likewise.
47614         (tst-lfschk5-ENV): Likewise.
47615         (tst-lfschk6-ENV): Likewise.
47616         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
47617         (tst-iconv7-ENV): Likewise.
47618         * intl/Makefile (LOCPATH-ENV): Likewise.
47619         (tst-codeset-ENV): Likewise.
47620         (tst-gettext3-ENV): Likewise.
47621         (tst-gettext5-ENV): Likewise.
47622         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
47623         (tst-fopenloc-ENV): Likewise.
47624         (tst-fgetws-ENV): Remove variable.
47625         (tst-ungetwc1-ENV): Likewise.
47626         (tst-ungetwc2-ENV): Likewise.
47627         (bug-ungetwc2-ENV): Likewise.
47628         (tst-swscanf-ENV): Likewise.
47629         (bug-ftell-ENV): Likewise.
47630         (tst-fgetwc-ENV): Likewise.
47631         (tst-fseek-ENV): Likewise.
47632         (tst-ftell-partial-wide-ENV): Likewise.
47633         (tst-ftell-active-handler-ENV): Likewise.
47634         (tst-ftell-append-ENV): Likewise.
47635         * posix/Makefile (tst-fnmatch-ENV): Likewise.
47636         (tst-regexloc-ENV): Likewise.
47637         (bug-regex1-ENV): Likewise.
47638         (tst-regex-ENV): Likewise.
47639         (tst-regex2-ENV): Likewise.
47640         (bug-regex5-ENV): Likewise.
47641         (bug-regex6-ENV): Likewise.
47642         (bug-regex17-ENV): Likewise.
47643         (bug-regex18-ENV): Likewise.
47644         (bug-regex19-ENV): Likewise.
47645         (bug-regex20-ENV): Likewise.
47646         (bug-regex22-ENV): Likewise.
47647         (bug-regex23-ENV): Likewise.
47648         (bug-regex25-ENV): Likewise.
47649         (bug-regex26-ENV): Likewise.
47650         (bug-regex30-ENV): Likewise.
47651         (bug-regex32-ENV): Likewise.
47652         (bug-regex33-ENV): Likewise.
47653         (bug-regex34-ENV): Likewise.
47654         (bug-regex35-ENV): Likewise.
47655         (tst-rxspencer-ENV): Likewise.
47656         (tst-rxspencer-no-utf8-ENV): Likewise.
47657         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
47658         (tst-sscanf-ENV): Likewise.
47659         (tst-swprintf-ENV): Likewise.
47660         (tst-swscanf-ENV): Likewise.
47661         (test-vfprintf-ENV): Likewise.
47662         (scanf13-ENV): Likewise.
47663         (bug14-ENV): Likewise.
47664         (tst-grouping-ENV): Likewise.
47665         * stdlib/Makefile (tst-strtod-ENV): Likewise.
47666         (tst-strtod3-ENV): Likewise.
47667         (tst-strtod4-ENV): Likewise.
47668         (tst-strtod5-ENV): Likewise.
47669         (testmb2-ENV): Likewise./
47670         * string/Makefile (tst-strxfrm-ENV): Likewise.
47671         (tst-strxfrm2-ENV): Likewise.
47672         (bug-strcoll1-ENV): Likewise.
47673         (test-strcasecmp-ENV): Likewise.
47674         (test-strncasecmp-ENV): Likewise.
47675         * time/Makefile (tst-strptime-ENV): Likewise.
47676         (tst-ftime_l-ENV): Likewise.
47677         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
47678         (tst-mbrtowc-ENV): Likewise.
47679         (tst-wcrtomb-ENV): Likewise.
47680         (tst-mbrtowc2-ENV): Likewise.
47681         (tst-c16c32-1-ENV): Likewise.
47682         (tst-mbsnrtowcs-ENV): Likewise.
47684 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47686         * manual/resource.texi (How to get information about the memory
47687         subsystem?): Fix typo.
47688         Reported by Peon de la Parra Ivan <peon@keba.com>
47690 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
47692         [BZ #16882]
47693         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
47694         (pthread_spin_lock): Branch out of spin loop to proper location.
47695         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
47696         (pthread_spin_lock): Likewise.
47698         * nptl/tst-spin4.c: New test.
47699         * nptl/Makefile (tests): Add tst-spin4.
47701 2014-06-03  Andreas Schwab  <schwab@suse.de>
47703         [BZ #15946]
47704         * resolv/res_send.c (send_dg): Reload file descriptor after
47705         calling reopen.
47707 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
47709         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47711 2014-06-03  Richard Henderson  <rth@redhat.com>
47713         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
47714         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
47715         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
47716         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
47717         in the SAVE_PID block.
47718         (__libc_vfork): New alias.
47719         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
47721         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
47722         child in registers, not on the stack.  Remove RESET_PID conditionals.
47723         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
47725 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47727         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47729 2014-06-03  Wilco  <wdijkstr@arm.com>
47731         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
47732         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
47733         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47734         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
47735         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
47736         Likewise.
47738 2014-06-03  Wilco  <wdijkstr@arm.com>
47740         * sysdeps/aarch64/fpu/math_private.h
47741         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
47742         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
47743         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
47744         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47745         Fix declarations.
47747 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47749         * crypt/crypt-private.h: Include ufc-crypt.h.
47750         (__b64_from_24bit): Declare extern.
47751         * crypt/crypt_util.c(__b64_from_24bit): New function.
47752         (b64t): New static const variable.
47753         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
47754         (b64t): Remove variable.
47755         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
47756         * crypt/sha256-crypt.c: Include crypt-private.h.
47757         (b64t): Remove variable.
47758         (__sha256_crypt_r): Remove b64_from_24bit and replace
47759         with __b64_from_24bit.
47760         * crypt/sha512-crypt.c: Likewise.
47762 2014-06-02  Roland McGrath  <roland@hack.frob.com>
47764         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
47765         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
47766         Label the code __libc_vfork rather than __vfork.
47767         [!NOT_IN_libc] (vfork): Define as weak alias.
47768         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
47769         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
47770         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47772 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47774         * malloc/malloc.c (malloc_info): Fix format specifier for
47775         n_mmaps.
47777 2014-06-02  Wilco  <wdijkstr@arm.com>
47779         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47780         FPCR write.
47782 2014-06-02  Wilco  <wdijkstr@arm.com>
47784         [BZ #17009]
47785         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47786         Rewrite to reduce FPCR/FPSR accesses.
47788 2014-06-01  David S. Miller  <davem@davemloft.net>
47790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47792 2014-05-31  David S. Miller  <davem@davemloft.net>
47794         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47795         to occur in round to nearest mode when |x| >= 2.0
47797 2014-05-30  Richard Henderson  <rth@twiddle.net>
47799         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47800         (PSEUDO_RET_NOERRNO): Remove.
47801         (ret): Don't redefine.
47802         (ret_NOERRNO): Define in terms of ret.
47803         (ret_ERRVAL): Likewise.
47805         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47806         use of PSEUDO_RET; perform the error check directly.
47808 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47810         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47811         with __int128_t.
47813 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47815         * malloc/malloc (malloc_info): Fix formatting.
47817 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47818             Roland McGrath  <roland@hack.frob.com>
47820         * malloc/malloc (malloc_info): Also print mmapped statistics.
47822 2014-05-30  Roland McGrath  <roland@hack.frob.com>
47824         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47825         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47827 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
47829         * malloc/malloc.c (malloc_info): Inline mi_arena.
47831 2014-05-29  Richard Henderson  <rth@twiddle.net>
47833         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47834         Remove comma before expanding ASM_ARGS_##nr.
47835         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
47836         Make _x0 a strict output; make _x8 a strict input; adjust expansion
47837         of ASM_ARGS_##nr.
47838         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
47839         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
47840         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
47841         (ASM_ARGS_1): Add leading comma.
47843         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
47844         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
47845         to __errno_location.
47846         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
47847         Remove the expected plt for __errno_location.
47849         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47850         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
47851         call to __read_tp.
47853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47854         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
47855         it and break it down.
47856         (DOCARGS_0, DOCARGS_1): Do nothing.
47857         (DOCARGS_2): Update to store into the new stack frame.
47858         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
47859         (UNDOCARGS_1): Update to restore from the new stack frame.
47860         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
47861         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
47863         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47864         (SINGLE_THREAD_P): New parameter for result regno.
47865         (PSEUDO): Update to match; use cbz instead of beq.
47867         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47868         Use ENTRY to define the _nocancel entry point.  Share the syscall
47869         and syscall error check paths with the cancel path.
47870         (PSEUDO_END): New.
47872         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47873         whitespace; tabs before and after asm mnemonics.
47875 2014-05-29  Eric Wong  <normalperson@yhbt.net>
47877         [BZ #15132]
47878         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47879         Call fstat64 or stat64 internally, depending on arguments passed.
47880         Replace stat buffer argument with file descriptor argument.
47881         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
47882         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47883         Pass fd to __internal_statvfs instead of calling fstat64.
47884         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
47885         Pass fd to __internal_statvfs64 instead of calling fstat64.
47886         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47887         Pass -1 to __internal_statvfs instead of calling stat64.
47888         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
47889         Pass -1 to __internal_statvfs64 instead of calling stat64.
47891 2014-05-28  Roland McGrath  <roland@hack.frob.com>
47893         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
47894         that was previously under [RESET_PID].
47895         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47897         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
47898         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
47900 2014-05-27  Roland McGrath  <roland@hack.frob.com>
47902         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
47904         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
47905         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
47907 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
47909         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
47911 2014-05-27  Andreas Schwab  <schwab@suse.de>
47913         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
47914         TLS_INIT_TP macro.
47915         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47916         * elf/rtld.c (init_tls, dl_main): Likewise.
47917         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
47918         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
47919         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
47920         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47921         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
47922         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
47923         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
47924         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
47925         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
47926         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
47927         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
47928         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
47929         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
47930         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
47931         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
47932         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
47933         * sysdeps/generic/tls.h: Update description.
47935 2014-05-27  Will Newton  <will.newton@linaro.org>
47937         [BZ #16990]
47938         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
47939         and restore r2 rather than just restoring.
47941 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47943         [BZ #16724]
47944         * libio/tst-ftell-append.c: New test case.
47945         * libio/Makefile (tests): Add test case.
47946         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
47947         append mode.
47948         * libio/wfileops.c (do_ftell_wide): Likewise.
47950 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47954         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
47955         ...
47956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
47957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47958         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
47959         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
47960         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
47961         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
47962         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
47963         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
47964         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
47965         Moved ...
47966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
47967         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
47968         Moved ...
47969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
47970         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
47971         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
47972         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
47973         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
47974         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
47975         ...
47976         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
47977         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
47978         Moved ...
47979         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
47980         here.
47981         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
47982         ...
47983         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
47984         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
47985         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
47987         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
47988         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
47989         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
47990         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
47992         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
47993         merge into ...
47994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
47995         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
47996         ...
47997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47998         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
47999         ...
48000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
48001         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48002         Moved ...
48003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
48004         here.
48005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48006         Moved ...
48007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
48008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48009         Moved ...
48010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
48012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
48013         conditional [RESET_PID].
48014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
48015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
48016         removed.
48017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
48018         removed.
48020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
48021         <tcb-offsets.h>.
48022         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48023         (__libc_vfork): New strong alias.
48024         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
48025         removed.
48026         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
48027         Removed.
48029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
48030         <tcb-offsets.h>.
48031         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
48032         (__libc_vfork): New strong alias.
48033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
48034         removed.
48035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
48036         removed.
48038 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
48040         * malloc/malloc.c (mi_arena): New function.
48041         (malloc_info): Remove nested function mi_arena. Call non-nosted
48042         function mi_arena.
48044 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48046         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
48047         by insrwi.
48048         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
48049         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
48050         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
48051         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
48052         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
48053         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
48054         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
48056 2014-05-26  Andreas Schwab  <schwab@suse.de>
48058         [BZ #16984]
48059         * locale/programs/repertoire.c (repertoire_read): Add slash
48060         between I18NPATH element and file name.
48061         * locale/programs/locfile.c (locfile_read): Likewise.
48063 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48065         * nptl/pthread_mutexattr_settype.c
48066         (__pthread_mutexattr_settype):
48067         Disable lock elision for PTHREAD_MUTEX_NORMAL.
48069 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48071         * nptl/tst-mutex5 (do_test):
48072         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
48074 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48076         * benchtests/README: Document 'init' directive.
48077         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
48078         BENCH_INIT.
48079         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
48080         (parse_file): Recognize 'init' directive.
48082 2014-05-26  Kyle McMartin  <kyle@redhat.com>
48084         [BZ #16796]
48085         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
48086         alignment of struct pthread.
48088 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48090         [BZ #16878]
48091         * nscd/netgroupcache.c (addgetnetgrentX): Look for
48092         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48093         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
48094         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48096 2014-05-25  Richard Henderson  <rth@twiddle.net>
48098         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48099         (SINGLE_THREAD_P_PIC): Remove.
48100         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
48101         (SINGLE_THREAD_P_PIC): Remove.
48103         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
48104         branch to syscall error ...
48105         (PSEUDO): ... here.
48106         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
48107         from __local_syscall_error to .Lsyscall_error.
48108         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
48109         (SYSCALL_ERROR): Update label name.
48111         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48112         Do not use DOARGS/UNDOARGS.
48113         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
48114         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
48115         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48116         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
48117         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
48119         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
48120         block comment.
48122         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
48123         define if !NOT_IN_libc.
48124         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
48125         define with non-default symbol versions.
48127 2014-05-23  Richard Henderson  <rth@twiddle.net>
48129         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
48130         (vfork, __vfork): Define via compat_symbol.
48132         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
48133         [!HAVE_IFUNC] (vfork_compat): Remove.
48134         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48136 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48138         [BZ #16978]
48139         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
48140         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
48141         variable.
48143 2014-05-23  Richard Henderson  <rth@twiddle.net>
48145         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
48146         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
48147         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48148         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
48150         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
48151         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48152         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48153         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48154         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48155         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48156         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48157         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48158         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48159         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48160         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48161         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48162         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48163         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48164         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48165         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48166         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48167         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48168         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48169         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48170         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48171         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48172         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48173         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48174         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48175         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48176         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48177         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48178         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48179         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48180         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48181         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48182         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48183         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48184         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48185         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48186         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48187         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48188         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48189         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48190         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48191         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48192         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48193         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48194         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48195         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48196         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48197         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48198         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48199         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48201         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48202         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48203         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48204         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48205         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48207         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48208         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48209         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
48210         before exiting on error.
48211         (__libc_vfork): New strong alias.
48212         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48213         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48215         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48216         that was previously under [RESET_PID].
48217         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48219         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48221 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48223         [BZ #16977]
48224         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48225         value when x - 1 is zero.
48226         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48227         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48228         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48229         0.0L for an argument of 1.0L.
48230         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48231         Likewise.
48232         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48233         value when x - 1 is zero.
48234         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48235         * sysdeps/i386/fpu/libm-test-ulps: Update.
48236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48238 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48240         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48241         alphasort and versionsort.
48243 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48245         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48246         macro.
48247         [copysignf]: Likewise.
48249 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48251         * crypt/md5-crypt.c: Fix formatting.
48253 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48255         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48256         (b64_from_24bit): New function.
48258 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48260         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48261         libc_hidden_builtin_def to ifunc.
48262         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48263         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48265 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48267         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48268         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48270 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48272         * nscd/Depend (linuxthreads): Remove.
48273         (nptl): Add.
48274         * resolv/Depend (linuxthreads): Remove.
48275         * rt/Depend (linuxthreads): Remove.
48277         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48278         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48279         $(common-objpfx)elf/.
48280         (link-libc-before-gnulib): Likewise.
48281         (elfobjdir): Remove variable.
48282         * Makefile (install): Use $(elf-objpfx) instead of
48283         $(common-objpfx)elf/.
48284         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48285         $(elfobjdir)/.
48286         (link-libc-deps): Likewise.
48287         ($(common-objpfx)libc.so): Likewise.
48288         ($(common-objpfx)linkobj/libc.so): Likewise.
48289         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48290         instead of $(common-objpfx)elf/.
48291         (symbolic-link-list): Likewise.
48292         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48293         [$(cross-compiling) = no]: Likewise.
48294         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48295         $(elfobjdir)/.
48296         (static-gnulib-arch): Likewise.
48297         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48298         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48299         $(common-objpfx)elf/.
48301 2014-05-21  Richard Henderson  <rth@redhat.com>
48303         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48304         (SINGLE_THREAD_P): Use the correct width load.  Fold
48305         into the ldr offset.
48307         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48308         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48310 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48312         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48313         (libgcc_s_resume): Use __attribute_used__.
48314         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48315         Likewise.
48317 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48319         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48320         optimization when used with float constants.
48322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48324 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48326         [BZ #16915]
48327         * locale/nl_langinfo_l.c: Make direct reference to every
48328         _nl_current_CATEGORY symbol.
48329         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48330         (tests-static): Add tst-langinfo-static.
48331         (tests-special): Add tst-langinfo-static.out.
48332         ($(objpfx)tst-langinfo.out): Redirect output.
48333         ($(objpfx)tst-langinfo-static.out): New.
48334         * localedata/tst-langinfo.sh: Send output to stdout.
48335         * localedata/tst-langinfo-static.c: New file.
48337         [BZ #16965]
48338         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48339         when the shift amount is modulo the limb size.
48341 2014-05-20  Richard Henderson  <rth@redhat.com>
48343         [BZ #16967]
48344         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48345         Change type of sa_flags from unsigned int to int.
48347         [BZ #16966]
48348         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48350         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48352 2014-05-20  Will Newton  <will.newton@linaro.org>
48354         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48355         Test the return value of the system call in the nocancel case.
48357 2014-05-20  Will Newton  <will.newton@linaro.org>
48358             Yvan Roux  <yvan.roux@linaro.org>
48360         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48361         #include of asm/ptrace.h.
48362         (PTRACE_GET_THREAD_AREA): Remove #undef.
48363         (PTRACE_GETHBPREGS): Likewise.
48364         (PTRACE_SETHBPREGS): Likewise.
48365         (struct user_regs_struct): New structure.
48366         (struct user_fpsimd_struct): New structure.
48367         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48368         #include of asm/ptrace.h and second #include of sys/user.h.
48369         (PTRACE_GET_THREAD_AREA): Remove #undef.
48370         (PTRACE_GETHBPREGS): Likewise.
48371         (PTRACE_SETHBPREGS): Likewise.
48372         (ELF_NGREG): Use new struct user_regs_struct.
48373         (elf_fpregset_t): Use new struct user_fpsimd_struct.
48375 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48377         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48378         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48380 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
48382         [BZ #16958]
48383         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48384         membar to avoid block loads/stores to overlap previous stores.
48386 2014-05-17  Richard Henderson  <rth@redhat.com>
48388         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48389         Create the __##syscall_name##_nocancel entry point.
48390         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48391         Remove; let the sysdep-cancel.h code create it.
48393 2014-05-17  David S. Miller  <davem@davemloft.net>
48395         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48396         Protect with __USE_GNU.
48397         (TIOCSET_TEMPT): Likewise.
48398         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48399         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48400         these are already provided in bits/ioctl-types.h
48402 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48404         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48405         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48407         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48408         Use wait4 regardless of [__NR_waitpid].
48410 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48412         PR libgcc/60166
48413         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48414         (_FP_NANSIGN_Q): Set the quiet bit.
48416 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
48418         * benchtests/Makefile
48419         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48420         not $(common-objpfx)math/libm.so.
48421         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48422         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48423         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48424         $(common-objpfx)dlfcn/libdl.so.
48425         ($(objpfx)tst-audit8): Depend on $(libm), not
48426         $(common-objpfx)math/libm.so.
48427         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48428         not $(common-objpfx)dlfcn/libdl.so.
48429         * math/Makefile
48430         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48431         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
48432         [$(build-shared) = yes].
48433         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48434         $(common-objpfx)nptl/libpthread.so.
48435         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48436         $(common-objpfx)math/libm.so$(libm.so-version) or
48437         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48438         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48439         $(common-objpfx)dlfcn/libdl.so.
48440         * setjmp/Makefile (link-libm): Remove variable.
48441         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48442         * stdio-common/Makefile (link-libm): Remove variable.
48443         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
48444         * stdlib/Makefile (link-libm): Remove variable.
48445         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
48446         ($(objpfx)tst-strtod-round): Likewise.
48447         ($(objpfx)tst-tininess): Likewise.
48448         ($(objpfx)tst-strtod-underflow): Likewise.
48449         ($(objpfx)tst-strtod6): Likewise.
48450         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
48451         $(libdl), not $(common-objpfx)nptl/libpthread.so and
48452         $(common-objpfx)dlfcn/libdl.so.
48454 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48456         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48457         BSD terminal modes definitions.
48459 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48461         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
48462         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
48464         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
48465         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
48466         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
48467         Don't do #include_next.
48468         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
48469         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
48470         Don't do #include_next.
48471         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
48472         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
48473         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
48474         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
48476 2014-05-16  Allan McRae  <allan@archlinux.org>
48478         * po/sv.po: Update Swedish translation from translation project.
48480         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
48481         in sed expression.
48483 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
48485         [BZ #16917]
48486         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
48487         errno if the TIOCGPTN ioctl fails with an error different than
48488         EINVAL.
48489         * login/tst-ptsname.c: New file.
48490         * login/Makefile (tests): Add tst-ptsname.
48492         [BZ #16943]
48493         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
48494         and prlimit64.
48496 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48498         [BZ #16849]
48499         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
48500         herrno to return EAI_AGAIN.
48502 2014-05-14  Roland McGrath  <roland@hack.frob.com>
48504         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
48505         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
48506         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
48507         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
48508         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
48509         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
48510         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
48511         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
48512         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
48513         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
48514         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
48515         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
48516         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
48517         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
48518         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
48519         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
48520         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
48521         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
48522         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
48523         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
48524         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
48525         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
48526         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
48527         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
48528         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
48529         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
48530         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
48531         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
48532         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
48533         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
48534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
48535         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
48536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
48537         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
48538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48539         Moved ...
48540         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
48541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
48542         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
48543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
48544         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
48545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
48546         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
48547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
48548         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
48549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
48550         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
48551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
48552         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
48553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
48554         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
48555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
48556         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
48557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
48558         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
48559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
48560         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
48561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
48562         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
48563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
48564         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
48565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
48566         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
48567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48568         Moved ...
48569         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
48570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
48571         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
48572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
48573         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
48574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
48575         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
48576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
48577         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
48578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
48579         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
48580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
48581         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
48582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
48583         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
48584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
48585         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
48586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
48587         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
48588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48589         Moved ...
48590         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
48591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
48592         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
48594         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
48595         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
48596         (libpthread-sysdep_routines): Add elision-related stuff here instead.
48597         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
48598         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
48599         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
48600         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
48601         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
48602         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
48603         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
48604         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
48605         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
48606         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
48607         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
48608         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
48609         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
48610         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
48611         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
48612         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
48613         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
48614         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
48615         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
48616         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
48617         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
48618         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
48619         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
48620         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
48621         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
48622         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
48623         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
48624         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
48626         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
48627         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
48629         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
48630         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
48631         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
48632         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
48633         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
48634         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
48635         Moved ...
48636         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
48637         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
48638         Moved ...
48639         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
48640         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
48641         Moved ...
48642         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
48643         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
48644         Moved ...
48645         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
48646         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
48647         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
48648         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
48649         Moved ...
48650         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
48651         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
48652         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
48653         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
48654         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
48655         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
48656         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
48657         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
48658         Moved ...
48659         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
48660         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48661         Moved ...
48662         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48663         ... here.
48664         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
48665         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
48666         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
48667         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
48668         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48669         Moved ...
48670         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48671         ... here.
48672         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
48673         Moved ...
48674         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
48675         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
48676         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
48677         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
48678         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
48679         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
48680         Moved ...
48681         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
48682         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
48683         Moved ...
48684         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
48685         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
48686         Moved ...
48687         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
48688         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
48689         Moved ...
48690         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
48691         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
48692         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
48693         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
48694         Moved ...
48695         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
48696         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
48697         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
48698         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
48699         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
48700         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
48701         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
48702         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
48703         Moved ...
48704         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
48705         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48706         Moved ...
48707         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48708         ... here.
48709         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
48710         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
48711         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
48712         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
48713         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48714         Moved ...
48715         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48716         ... here.
48717         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
48718         Moved ...
48719         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
48720         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
48721         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
48722         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
48723         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
48724         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
48725         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
48726         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
48727         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
48728         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
48729         Moved ...
48730         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
48731         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
48732         Moved ...
48733         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
48734         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
48735         Moved ...
48736         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
48737         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
48738         Moved ...
48739         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
48740         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
48741         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
48742         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
48743         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
48744         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
48745         Moved ...
48746         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
48747         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
48748         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
48749         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
48750         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
48751         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
48752         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
48753         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
48754         Moved ...
48755         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
48756         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48757         Moved ...
48758         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48759         ... here.
48760         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
48761         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
48762         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
48763         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
48764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48765         Moved ...
48766         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48767         ... here.
48768         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
48769         Moved ...
48770         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
48771         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
48772         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
48773         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
48774         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48775         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48776         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48777         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48778         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48779         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48780         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48782         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48783         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48785         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48786         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48788         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48789         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48790         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48791         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48792         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48793         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48794         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48795         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48796         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48797         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48799         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48800         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48801         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48802         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48803         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48804         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48805         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48806         Moved ...
48807         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48808         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48809         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48810         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48811         Moved ...
48812         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48813         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48814         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48815         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48816         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48817         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48818         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48819         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48820         Moved ...
48821         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48822         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48823         Moved ...
48824         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48826         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48827         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48828         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48829         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48830         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48831         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48832         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48833         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
48834         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
48835         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
48836         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
48837         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
48838         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
48839         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
48840         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
48842         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
48843         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
48844         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
48845         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
48846         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
48848         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
48849         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
48850         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
48851         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
48852         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
48853         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
48854         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
48855         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
48856         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
48857         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
48859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
48860         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
48862         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
48863         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
48864         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
48865         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
48866         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
48867         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
48868         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
48869         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
48870         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
48871         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
48872         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
48873         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
48874         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
48875         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
48876         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
48877         Update #include.
48878         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
48879         Likewise.
48880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48881         Likewise.
48882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48883         Likewise.
48884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48885         Likewise.
48886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48887         Likewise.
48888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
48889         Likewise.
48890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48891         Likewise.
48892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
48893         Likewise.
48894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
48895         Likewise.
48896         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
48897         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
48898         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
48899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
48900         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
48901         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
48902         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
48903         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
48904         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
48905         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
48906         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
48907         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
48908         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
48909         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
48910         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
48912         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
48913         that was previously under [RESET_PID].
48914         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48915         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
48916         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
48918         * sysdeps/i386/nptl/Implies: New file.
48919         * sysdeps/x86_64/nptl/Implies: New file.
48920         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
48921         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48922         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
48923         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
48925         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
48926         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48927         (__libc_vfork): New strong alias.
48928         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
48929         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
48931         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
48932         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48933         (__libc_vfork): New strong alias.
48934         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
48935         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
48937         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
48938         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48939         (__libc_vfork): New strong alias.
48940         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
48941         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
48942         * nptl/pt-vfork.c: New file.
48943         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
48944         (libpthread: GLIBC_2.20): New version set (empty).
48946 2014-05-14  Will Newton  <will.newton@linaro.org>
48948         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
48949         rather than #if.
48951 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48953         [BZ #16564]
48954         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
48955         arguments with exponent 65 or above.
48956         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
48957         arguments 0x1p113L or above.
48958         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
48959         to arguments 0x1p107L or above.
48960         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
48961         positive arguments with exponent 65 or above.
48962         * math/auto-libm-test-in: Add more tests of log1p.
48963         * math/auto-libm-test-out: Regenerated.
48965         [BZ #16928]
48966         * math/s_cacos.c (__cacos): Ensure zero real part of result from
48967         non-finite arguments is +0.
48968         * math/s_cacosf.c (__cacosf): Likewise.
48969         * math/s_cacosl.c (__cacosl): Likewise.
48970         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
48971         * sysdeps/i386/fpu/libm-test-ulps: Update.
48972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48974         [BZ #16927]
48975         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
48976         value.
48977         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
48978         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
48979         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
48980         for explicit high bit of mantissa when testing for argument equal
48981         to 1.
48982         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
48983         * sysdeps/i386/fpu/libm-test-ulps: Update.
48984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48986         [BZ #16516]
48987         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
48988         (__erf): Scale by 16 instead of 8 in potentially underflowing
48989         case.  Ensure exception if result actually underflows.
48990         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
48991         (__erff): Scale by 16 instead of 8 in potentially underflowing
48992         case.  Ensure exception if result actually underflows.
48993         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
48994         (efx8): Remove variable.
48995         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48996         case.  Ensure exception if result actually underflows.
48997         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48998         (efx8): Remove variable.
48999         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49000         case.  Ensure exception if result actually underflows.
49001         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
49002         (efx8): Remove variable.
49003         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49004         case.  Ensure exception if result actually underflows.
49005         * math/auto-libm-test-in: Add more tests of erf.
49006         * math/auto-libm-test-out: Regenerated.
49008 2014-05-14  Andreas Schwab  <schwab@suse.de>
49010         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49011         Remove code conditionalized on USE___THREAD.
49013         * config.h.in (HAVE_PT_CHOWN): Define as 0.
49014         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
49015         not definedness.
49017 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49019         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49020         Define unconditionally.
49021         (__ASSUME_O_CLOEXEC): Likewise.
49022         (__ASSUME_SOCK_CLOEXEC): Likewise.
49023         (__ASSUME_IN_NONBLOCK): Likewise.
49024         (__ASSUME_PIPE2): Likewise.
49025         (__ASSUME_EVENTFD2): Likewise.
49026         (__ASSUME_SIGNALFD4): Likewise.
49027         (__ASSUME_DUP3): Likewise.
49028         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49029         (__ASSUME_DUP3): Do not define.
49030         (__ASSUME_EVENTFD2): Likewise.
49031         (__ASSUME_IN_NONBLOCK): Likewise.
49032         (__ASSUME_O_CLOEXEC): Likewise.
49033         (__ASSUME_PIPE2): Likewise.
49034         (__ASSUME_SIGNALFD4): Likewise.
49035         (__ASSUME_SOCK_CLOEXEC): Likewise.
49036         (__ASSUME_UTIMES): Undefine.
49037         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49038         (__ASSUME_UTIMES): Do not define.
49039         (__ASSUME_O_CLOEXEC): Likewise.
49040         (__ASSUME_SOCK_CLOEXEC): Likewise.
49041         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
49042         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
49043         0x020621].
49044         (__ASSUME_PIPE2): Likewise.
49045         (__ASSUME_EVENTFD2): Likewise.
49046         (__ASSUME_SIGNALFD4): Likewise.
49047         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
49048         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
49049         Do not define.
49050         (__ASSUME_EVENTFD2): Likewise.
49051         (__ASSUME_SIGNALFD4): Likewise.
49052         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
49053         (__ASSUME_32BITUIDS): Likewise.
49054         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49055         (__ASSUME_IPC64): Likewise.
49056         (__ASSUME_ST_INO_64_BIT): Likewise.
49057         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
49058         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
49059         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49060         (__ASSUME_UTIMES): Do not define.
49061         (__ASSUME_PSELECT): Likewise.
49062         (__ASSUME_PPOLL): Likewise.
49063         (__ASSUME_O_CLOEXEC): Likewise.
49064         (__ASSUME_SOCK_CLOEXEC): Likewise.
49065         (__ASSUME_IN_NONBLOCK): Likewise.
49066         (__ASSUME_PIPE2): Likewise.
49067         (__ASSUME_EVENTFD2): Likewise.
49068         (__ASSUME_SIGNALFD4): Likewise.
49069         (__ASSUME_DUP3): Likewise.
49070         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49071         (__ASSUME_UTIMES): Likewise.
49072         (__ASSUME_O_CLOEXEC): Likewise.
49073         (__ASSUME_SOCK_CLOEXEC): Likewise.
49074         (__ASSUME_IN_NONBLOCK): Likewise.
49075         (__ASSUME_PIPE2): Likewise.
49076         (__ASSUME_EVENTFD2): Likewise.
49077         (__ASSUME_SIGNALFD4): Likewise.
49078         (__ASSUME_DUP3): Likewise.
49079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49080         (__ASSUME_UTIMES): Likewise.
49081         (__ASSUME_O_CLOEXEC): Likewise.
49082         (__ASSUME_SOCK_CLOEXEC): Likewise.
49083         (__ASSUME_IN_NONBLOCK): Likewise.
49084         (__ASSUME_PIPE2): Likewise.
49085         (__ASSUME_EVENTFD2): Likewise.
49086         (__ASSUME_SIGNALFD4): Likewise.
49087         (__ASSUME_DUP3): Likewise.
49088         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
49089         Likewise.
49090         (__ASSUME_UTIMES): Likewise.
49091         (__ASSUME_EVENTFD2): Likewise.
49092         (__ASSUME_SIGNALFD4): Likewise.
49093         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49094         (__ASSUME_O_CLOEXEC): Likewise.
49095         (__ASSUME_SOCK_CLOEXEC): Likewise.
49096         (__ASSUME_IN_NONBLOCK): Likewise.
49097         (__ASSUME_PIPE2): Likewise.
49098         (__ASSUME_EVENTFD2): Likewise.
49099         (__ASSUME_SIGNALFD4): Likewise.
49100         (__ASSUME_DUP3): Likewise.
49101         (__ASSUME_UTIMES): Undefine.
49103         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
49104         feclearexcept.  Remove symbol versioning code.
49105         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
49106         symbol versioning code.
49107         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
49108         symbol versioning code.
49109         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
49110         feupdateenv.  Remove symbol versioning code.
49111         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
49112         fegetexceptflag.  Remove symbol versioning code.
49113         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
49114         fesetexceptflag.  Remove symbol versioning code.
49115         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
49116         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
49117         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
49118         (__posix_fadvise64_l32): Remove prototype.
49119         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
49120         code.
49122 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49124         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
49125         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
49126         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
49127         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
49129 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
49131         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
49132         current working directory
49134 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49136         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
49137         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
49138         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
49139         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
49140         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
49141         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
49142         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
49143         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
49144         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
49145         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
49146         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
49147         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
49148         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
49149         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
49150         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
49151         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49152         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49153         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49154         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49155         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49156         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49157         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49158         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49159         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49160         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49161         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49162         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49163         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49164         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49165         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49166         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49167         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49168         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49169         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49170         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49171         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49172         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49173         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49174         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49175         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49176         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49177         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49179         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49180         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49182         * sysdeps/unix/sysv/linux/arm/Makefile
49183         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49184         Add rt-aeabi_unwind_cpp_pr1.
49185         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49186         Add nptl-aeabi_unwind_cpp_pr1.
49187         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49188         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49189         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49190         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49191         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49192         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49194         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49195         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49196         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49197         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49199         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49200         Deconditionalize the code that was previously under [RESET_PID].
49201         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49203         * sysdeps/generic/exit-thread.h: New file.
49204         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49205         * include/unistd.h (__exit_thread): Remove declaration.
49206         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49207         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49208         * csu/libc-start.c: Include <exit-thread.h>.
49209         (LIBC_START_MAIN): Pass no argument to __exit_thread.
49210         * nptl/pthread_create.c: Include <exit-thread.h>.
49211         (start_thread): Call __exit_thread in place of __exit_thread_inline.
49212         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49213         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49214         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49215         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49216         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49217         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49218         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49219         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49220         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49221         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49222         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49223         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49224         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49225         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49226         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49227         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49229 2014-05-13  Andreas Schwab  <schwab@suse.de>
49231         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49233 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49235         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49236         (__ASSUME_UTIMES): Do not condition on kernel version.
49237         (__ASSUME_PSELECT): Define unconditionally.
49238         (__ASSUME_PPOLL): Likewise.
49239         (__ASSUME_ATFCTS): Likewise.
49240         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49241         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49242         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49243         (__ASSUME_UTIMENSAT): Define unconditionally.
49244         (__ASSUME_PRIVATE_FUTEX): Likewise.
49245         (__ASSUME_FALLOCATE): Likewise.
49246         (__ASSUME_O_CLOEXEC): Likewise.
49247         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49248         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49249         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49250         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49251         (__ASSUME_IN_NONBLOCK): Likewise.
49252         (__ASSUME_PIPE2): Likewise.
49253         (__ASSUME_EVENTFD2): Likewise.
49254         (__ASSUME_SIGNALFD4): Likewise.
49255         (__ASSUME_DUP3): Likewise.
49256         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49257         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49258         (__ASSUME_AT_RANDOM): Likewise.
49259         (__ASSUME_PREADV): Likewise.
49260         (__ASSUME_PWRITEV): Likewise.
49261         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49262         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49263         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49264         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49265         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49266         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49267         (__ASSUME_O_CLOEXEC): Define unconditionally.
49268         (__ASSUME_PSELECT): Do not undefine conditionally.
49269         (__ASSUME_PPOLL): Likewise.
49270         (__ASSUME_ATFCTS): Likewise.
49271         (__ASSUME_SET_ROBUST_LIST): Likewise.
49272         (__ASSUME_UTIMENSAT): Likewise.
49273         (__ASSUME_FDATASYNC): Define unconditionally.
49274         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49275         (__ASSUME_SIGFRAME_V2): Likewise.
49276         )__ASSUME_EVENTFD2): Likewise.
49277         (__ASSUME_SIGNALFD4): Likewise.
49278         (__ASSUME_PSELECT): Do not undefine conditionally.
49279         (__ASSUME_PPOLL): Likewise.
49280         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49281         (__ASSUME_PSELECT): Define unconditionally.
49282         (__ASSUME_PPOLL): Likewise.
49283         (__ASSUME_O_CLOEXEC): Likewise.
49284         (__ASSUME_SOCK_CLOEXEC): Likewise.
49285         (__ASSUME_IN_NONBLOCK): Likewise.
49286         (__ASSUME_PIPE2): Likewise.
49287         (__ASSUME_EVENTFD2): Likewise.
49288         (__ASSUME_SIGNALFD4): Likewise.
49289         (__ASSUME_DUP3): Likewise.
49290         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49291         (__ASSUME_O_CLOEXEC): Likewise.
49292         (__ASSUME_SOCK_CLOEXEC): Likewise.
49293         (__ASSUME_IN_NONBLOCK): Likewise.
49294         (__ASSUME_PIPE2): Likewise.
49295         (__ASSUME_EVENTFD2): Likewise.
49296         (__ASSUME_SIGNALFD4): Likewise.
49297         (__ASSUME_DUP3): Likewise.
49298         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49299         (__ASSUME_EVENTFD2): Likewise.
49300         (__ASSUME_SIGNALFD4): Likewise.
49301         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49303 2014-05-12  Andreas Schwab  <schwab@suse.de>
49305         [BZ #16932]
49306         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49307         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49308         than maximum RPC packet size.
49309         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49310         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49311         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49312         (_nss_nis_getservbyport_r): Likewise.
49314 2014-05-12  Will Newton  <will.newton@linaro.org>
49316         * malloc/Makefile (tests): Add tst-mallopt.
49317         * malloc/tst-mallopt.c: New file.
49319 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49321         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49322         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49324 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49326         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49327         (tst-tlsmod6.so): Likewise.
49329 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49331         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49333 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49335         [BZ #16064]
49336         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49337         and <dl-procinfo.h>.
49338         (__fegetenv): Save SSE state in envp->__eip if supported.
49339         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49340         envp->__eip if supported.
49341         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49342         and <dl-procinfo.h>.
49343         (__fesetenv): Always set __eip, __cs_selector, __opcode,
49344         __data_offset and __data_selector in environment to 0.  Set SSE
49345         state if supported.
49346         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49347         test-fenv-sse.
49348         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49349         -mfpmath=sse.
49350         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49352 2014-05-09  Will Newton  <will.newton@linaro.org>
49354         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49355         and libc_relro_required for ARM.
49356         * sysdeps/arm/preconfigure: Regenerate.
49358 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
49359             Stefan Liebler  <stli@linux.vnet.ibm.com>
49361         * config.make.in (enable-lock-elision): New Makefile variable.
49362         * configure.ac: Likewise.
49363         * configure: Regenerate.
49364         * sysdeps/s390/configure.ac:
49365         Add check for gcc transactions support.
49366         * sysdeps/s390/configure: Regenerate.
49367         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49368         Build elision files if enabled.
49369         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49370         Add lock elision support for s390.
49371         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49372         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49373         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49374         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49375         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49376         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49377         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49378         Likewise.
49379         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49380         Likewise.
49381         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49382         Likewise.
49383         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49384         Likewise.
49385         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49386         (__lll_timedlock_elision, __lll_lock_elision)
49387         (__lll_unlock_elision, __lll_trylock_elision)
49388         (lll_timedlock_elision, lll_lock_elision)
49389         (lll_unlock_elision, lll_trylock_elision): Add.
49390         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49391         (pthread_mutex_t): Add lock elision support for s390.
49393 2014-05-14  Wilco  <wdijkstr@arm.com>
49395         * sysdeps/arm/fclrexcpt.c: Cleanup.
49396         * sysdeps/arm/fedisblxcpt.c: Cleanup.
49397         * sysdeps/arm/feenablxcpt.c: Cleanup.
49398         * sysdeps/arm/fegetenv.c: Cleanup.
49399         * sysdeps/arm/fegetexcept.c: Cleanup.
49400         * sysdeps/arm/fegetround.c: Cleanup.
49401         * sysdeps/arm/feholdexcpt.c: Cleanup.
49402         * sysdeps/arm/fesetenv.c: Cleanup.
49403         * sysdeps/arm/fesetround.c: Cleanup.
49404         * sysdeps/arm/feupdateenv.c: Cleanup.
49405         * sysdeps/arm/fgetexcptflg.c: Cleanup.
49406         * sysdeps/arm/fraiseexcpt.c: Cleanup.
49407         * sysdeps/arm/fsetexcptflg.c: Cleanup.
49408         * sysdeps/arm/ftestexcept.c: Cleanup.
49409         * sysdeps/arm/get-rounding-mode.h: Cleanup.
49410         * sysdeps/arm/setfpucw.c: Cleanup.
49412 2014-05-09  Will Newton  <will.newton@linaro.org>
49414         * sysdeps/arm/armv7/strcmp.S: New file.
49415         * NEWS: Mention addition of ARMv7 optimized strcmp.
49417 2014-05-08  Roland McGrath  <roland@hack.frob.com>
49419         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49420         look for %.ac rather than %.in.
49422         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49423         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49424         * sysdeps/mach/hurd/configure: Regenerated.
49425         * sysdeps/unix/sysv/linux/configure: Regenerated.
49427         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49429 2014-05-07  Steve Ellcey  <sellcey@mips.com>
49431         [BZ #16922]
49432         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49433         (LONG_SUB): Ditto.
49434         (PTR_SUB): Ditto.
49436 2014-05-07  Andreas Schwab  <schwab@suse.de>
49438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49439         when skipping over non-matching result from nscd.
49441 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
49443         [BZ #16876]
49444         * nptl/sockperf.c (client): Check socket return value.
49446         [BZ #16877]
49447         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
49448         nscd security class.
49450 2014-05-06  Roland McGrath  <roland@hack.frob.com>
49452         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
49453         * sysdeps/arm/unwind.h: ... here.
49455 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
49457         [BZ #16916]
49458         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
49459         Define.
49461 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49463         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
49464         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49465         multiarch strncpy for PPC64.
49466         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
49467         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
49468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
49469         multiarch optimizations.
49470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49471         (__libc_ifunc_impl_list): Likewise.
49472         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49473         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
49474         multiarch stpncpy for PPC64.
49475         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
49476         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
49478 2014-05-06  Andreas Schwab  <schwab@suse.de>
49480         [BZ #16912]
49481         * gmon/mcount.c (_MCOUNT_DECL): Use
49482         atomic_compare_and_exchange_bool_acq instead of
49483         catomic_compare_and_exchange_bool_acq.
49485 2014-05-05  Roland McGrath  <roland@hack.frob.com>
49487         * elf/Makefile (others, install-bin): Remove pldd.
49488         (pldd-modules): Variable removed.
49489         ($(objpfx)pldd): Target removed.
49490         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
49491         (others, install-bin): Append pldd here.
49492         ($(objpfx)pldd): New target.
49494         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
49495         to 0, so the first #if test emitted later doesn't see it undefined.
49496         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
49497         * sysdeps/gnu/errlist.c: Regenerated.
49499 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49501         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49502         [libc_hidden_builtin_def]: Define to empty value.
49503         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
49504         [libc_hidden_builtin_def]: Likewise.
49505         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
49506         [libc_hidden_builtin_def]: Likewise.
49507         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
49508         [libc_hidden_builtin_def]: Likewise.
49509         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
49510         __redirect_memcpy and define ifunc as default hidden symbol.
49511         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
49512         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
49514 2014-05-04  Adam Conrad  <adconrad@0c3.net>
49516         * locale/iso-4217.def: Reintroduce XDR currency.
49518 2014-05-04  Allan McRae  <allan@archlinux.org>
49520         * po/eo.po: Update Esperanto translation from translation project.
49522 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
49524         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
49525         and FEATURE_INDEX_MAX to 1.
49526         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
49528 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49530         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
49531         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
49532         * iconvdata/big5.c (ONE_DIRECTION): Define.
49533         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
49534         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
49535         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
49536         * iconvdata/cp932.c (ONE_DIRECTION): Define.
49537         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
49538         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
49539         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
49540         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
49541         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
49542         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
49543         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
49544         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
49545         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
49546         * iconvdata/gbk.c (ONE_DIRECTION): Define.
49547         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
49548         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
49549         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
49550         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
49551         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
49552         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
49553         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
49554         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
49555         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
49556         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
49557         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
49558         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
49559         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
49560         * iconvdata/iso646.c (ONE_DIRECTION): Define.
49561         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
49562         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
49563         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
49564         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
49565         * iconvdata/johab.c (ONE_DIRECTION): Define.
49566         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
49567         * iconvdata/sjis.c (ONE_DIRECTION): Define.
49568         * iconvdata/t.61.c (ONE_DIRECTION): Define.
49569         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
49570         * iconvdata/tscii.c (ONE_DIRECTION): Define.
49571         * iconvdata/uhc.c (ONE_DIRECTION): Define.
49572         * iconvdata/unicode.c (ONE_DIRECTION): Define.
49573         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
49574         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
49575         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
49577 2014-05-01  Roland McGrath  <roland@hack.frob.com>
49579         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
49580         (_IO_JUMPS_OFFSET): Define to 0.
49582         * nptl/sysdeps/pthread/bits/libc-lock.h
49583         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
49584         (__libc_lock_define_initialized_recursive): Always define using
49585         initializer.  Modern compilers treat uninitialized (implicit zero) and
49586         explicit zero initializers the same (i.e. put the datum in bss).
49588 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49590         * nscd/nscd-client.h: Include <string.h>.
49592 2014-05-01  David S. Miller  <davem@davemloft.net>
49594         [BZ #16885]
49595         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
49596         multiple zero bytes exist at the end of a string.
49597         Reported by Aurelien Jarno <aurelien@aurel32.net>
49599         * string/test-strcmp.c (check): Add explicit test for situations where
49600         there are multiple zero bytes after the first.
49602 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49604         [BZ #16890]
49605         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
49606         when compiling wprintf.
49607         * stdio-common/tstdiomisc.c (t3): New function.
49608         (main): Call it.
49610 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49612         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
49613         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
49614         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
49615         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
49617 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49619         * stdlib/longlong.h: Updated from GCC.
49621 2014-05-01  Will Newton  <will.newton@linaro.org>
49622             Bernard Ogden  <bernie.ogden@linaro.org>
49624         * NEWS: Update fixed bug list.
49626         [BZ #15119]
49627         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
49629 2014-04-30  David S. Miller  <davem@davemloft.net>
49631         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
49632         (libc_feholdexcept_setround_sparc_ctx): New function.
49633         (libc_fesetenv_sparc_ctx): Likewise.
49634         (libc_feupdateenv_sparc_ctx): Likewise.
49635         (libc_feholdsetround_sparc_ctx): Likewise.
49636         (libc_feholdexcept_setround_ctx): Define.
49637         (libc_feholdexcept_setroundf_ctx): Likewise.
49638         (libc_feholdexcept_setroundl_ctx): Likewise.
49639         (libc_fesetenv_ctx): Likewise.
49640         (libc_fesetenvf_ctx): Likewise.
49641         (libc_fesetenvl_ctx): Likewise.
49642         (libc_feupdateenv_ctx): Likewise.
49643         (libc_feupdateenvf_ctx): Likewise.
49644         (libc_feupdateenvl_ctx): Likewise.
49645         (libc_feresetround_ctx): Likewise.
49646         (libc_feresetroundf_ctx): Likewise.
49647         (libc_feresetroundl_ctx): Likewise.
49648         (libc_feholdsetround_ctx): Likewise.
49649         (libc_feholdsetroundf_ctx): Likewise.
49650         (libc_feholdsetroundl_ctx): Likewise.
49652         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49653         with __USE_GNU instead of XOPEN cpp guards.
49655         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
49656         0.
49658         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49659         with XOPEN cpp guards.
49661 2014-04-30  Julian Brown  <julian@codesourcery.com>
49663         [BZ #16888]
49664         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
49665         handling.
49667 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
49669         [BZ #9894]
49670         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
49671         Change to 2.6.32.
49672         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
49673         * sysdeps/unix/sysv/linux/configure: Regenerated.
49674         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
49675         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
49676         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
49677         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
49678         * README: Update reference to required Linux kernel version.
49679         * manual/install.texi (Linux): Update reference to required Linux
49680         kernel headers version.
49681         * INSTALL: Regenerated.
49683         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
49684         header inclusion.
49685         [POSIX] (limits.h): Likewise.
49686         [POSIX] (math.h): Likewise.
49687         [POSIX] (sys/wait.h): Likewise.
49688         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
49689         function.
49690         [POSIX] (stddef.h): Do not allow header inclusion.
49692 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49694         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
49696 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
49698         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
49699         Return immediately after lll_futex_wake.
49701 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49703         [BZ #16791]
49704         * nscd/nscd-client.h (datahead_init_common): Initialize entire
49705         structure.
49706         (datahead_init_pos): Call datahead_init_common early.
49707         (datahead_init_neg): Likewise.
49709         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
49710         datahead_init_neg): New functions.
49711         * nscd/aicache.c (addhstaiX): Use them.
49712         * nscd/grpcache.c (cache_addgr): Likewise.
49713         * nscd/hstcache.c (cache_addhst): Likewise.
49714         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49715         * nscd/netgroupcache.c (do_notfound): Likewise.
49716         (addgetnetgrentX): Likewise.
49717         (addinnetgrX): Likewise.
49718         * nscd/pwdcache.c (cache_addpw): Likewise.
49719         * nscd/servicescache.c (cache_addserv): Likewise.
49721 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49722             Atsushi Onoe  <atsushi@onoe.org>
49724         [BZ #14308]
49725         [BZ #12994]
49726         [BZ #13651]
49727         * resolv/res_query.c (__libc_res_nsearch): Return if at least
49728         one response is valid.
49729         * resolv/res_send.c (send_dg): Check for validity of other
49730         response if the current response is a referral.
49732 2014-04-29  Steve Ellcey  <sellcey@mips.com>
49734         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
49736 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
49738         [BZ #16823]
49739         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
49740         Always divide by positive zero when computing -Inf result.
49741         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49742         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49744 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49746         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
49747         FPSCR if value do not change.
49748         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49749         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
49750         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
49751         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49752         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
49753         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
49754         function.
49756 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
49758         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
49759         * sysdeps/unix/sysv/linux/hppa: Move directory from
49760         ports/systeps/unix/sysv/linux/hppa.
49761         * README: Update listing for hppa-*-linux-gnu.
49763 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
49765         [BZ #16754]
49766         * manual/stdio.texi (Hook functions): Fix types of stream hook
49767         functions.
49768         [BZ #16854]
49769         * socket/sys/socket.h: Fix typo in comment.
49771 2014-04-28  Wilco  <wdijkstr@arm.com>
49773         * sysdeps/arm/fenv_private.h: New file.
49774         * sysdeps/arm/math_private.h: New file.
49775         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49777 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
49779         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49780         with __int128_t.
49781         (La_x86_64_retval): Likewise.
49783 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49785         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49786         fpsr if value didn't change.
49787         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49788         to fpcr if value didn't change.
49789         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49790         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49791         fpsr or fpcr if value didn't change.
49792         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49793         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49794         fpcr if value didn't change.
49795         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49796         to fpsr if value didn't change.
49798 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49800         * nptl/tst-sem3.c: Use test-skeleton.c
49801         (main): Rename to do_test.  Use return instead of
49802         exit.
49803         * nptl/tst-sem4.c: Use test-skeleton.c
49804         (main): Rename to do_test.
49806 2014-04-22  David S. Miller  <davem@davemloft.net>
49808         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49809         (struct sigaction): New struct member __glibc_reserved0, change
49810         type of sa_flags to int.
49812 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49814         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49815         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49817 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49819         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49820         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49822 2014-04-22  Will Newton  <will.newton@linaro.org>
49823             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
49825         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49826         (__longjmp): Add longjmp and longjmp_target SystemTap
49827         probes.
49828         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49829         (__sigsetjmp): Add setjmp SystemTap probe.
49831 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
49833         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
49834         match manual order.
49836 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49838         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
49840         * sysdeps/powerpc/fpu/fenv_private.h
49841         (libc_feholdexcept_setroundl_ctx): Define to
49842         libc_feholdexcept_setround_ppc_ctx.
49843         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49844         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
49845         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
49846         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
49848 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49850         * sysdeps/aarch64/math-tests.h: New file.
49852 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
49854         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
49855         New.
49856         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49857         Check and set bit_AVX2_Usable.
49858         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
49859         macro.
49860         (bit_AVX2): Likewise.
49861         (index_AVX2_Usable): Likewise.
49862         (CPUID_AVX2): Likewise.
49863         (HAS_AVX2): Likewise.
49865 2014-04-17  Will Newton  <will.newton@linaro.org>
49867         * manual/setjmp.texi (System V contexts): Add note that
49868         calling setcontext on a context created by a call to a
49869         signal handler is undefined.  Update text to note that
49870         setcontext from a signal handler is possible but not
49871         recommended.
49873         [BZ #16629]
49874         * stdlib/tst-setcontext.c: Include signal.h.
49875         (main): Check that the signal stack before and
49876         after swapcontext is the same.
49878         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
49879         Re-implement to restore registers in user code and avoid
49880         rt_sigreturn system call.
49882 2014-04-17  Wilco  <wdijkstr@arm.com>
49884         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
49885         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49886         * math/test-fenv.c: Skip exception trap tests on targets which only
49887         support non-stop mode.
49889 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49890             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49892         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
49893         (libc_feholdsetround_aarch64_ctx)
49894         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
49895         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
49896         (libc_feresetround_ctx, libc_feresetroundf_ctx)
49897         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
49898         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
49899         (libc_feresetround_noexl_ctx): Define.
49901 2014-04-16  Richard Henderson  <rth@redhat.com>
49903         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
49905         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
49906         unwind tables.
49908         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
49909         const from the non-libc, non-ldso copy.
49911         * sysdeps/alpha/libm-test-ulps: Regenerate.
49913 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
49914             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49916         * sysdeps/aarch64/fpu/math_private.h: New file.
49918 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49920         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49922 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
49924         [BZ #16275]
49925         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
49926         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
49927         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
49928         Intel MPX bound registers before _dl_profile_fixup.
49929         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
49930         registers after _dl_profile_fixup.  Save and restore bound
49931         registers bnd0/bnd1 when calling _dl_call_pltexit.
49932         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
49933         (LR_BND_OFFSET): Likewise.
49934         (LRV_BND0_OFFSET): Likewise.
49935         (LRV_BND1_OFFSET): Likewise.
49937 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49939         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
49940         to...
49941         * sysdeps/mach/hurd/i386/tls.h: ... here.
49942         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
49943         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
49944         fields.
49946 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49948         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
49950 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49952         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49954 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49956         [BZ #14770]
49957         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
49958         * sysdeps/s390/configure: Regenerate.
49960         [BZ #16824]
49961         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
49962         Set round-to-nearest internally to reduce error accumulation.
49964 2014-04-16  Alan Modra  <amodra@gmail.com>
49966         [BZ #16740]
49967         [BZ #16619]
49968         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
49969         * math/libm-test.inc (frexp_test_data): Add tests.
49970         * NEWS: Update fixed bug list.
49972 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49974         * benchtests/Makefile: Depend on libraries in build directory.
49975         (bench-math): Separate out math tests.
49976         (bench-pthread): Separate out pthread tests.
49977         (bench): Include math and pthread tests.
49979 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
49981         [BZ #16831]
49982         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
49983         _dl_debug_initialize.
49985         * configure.ac: Remove SELinux header check.
49986         * configure: Regenerate.
49987         * nscd/selinux.c (perms): Array of const char* to permission names.
49988         (nscd_request_avc_has_perm): Call security_deny_unknown to find
49989         default policy. Call string_to_security_class and string_to_av_perm to
49990         translate strings. Enforce default policy and call avs_has_perm with
49991         results of translated strings.
49993 2014-04-13  David S. Miller  <davem@davemloft.net>
49995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49997 2014-04-12  Allan McRae  <allan@archlinux.org>
49999         [BZ #16838]
50000         * manual/string.texi (Collation Functions): Fix qsort argument
50001         order in example.
50002         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50004 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
50006         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
50007         Make the test a no-op if there are no exceptions defined.
50009 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
50011         * elf/Makefile (tests): make tst-dlopen-aout conditional on
50012         enable-hardcoded-path-in-tests
50014 2014-04-11  Will Newton  <will.newton@linaro.org>
50016         * benchtests/Makefile (extra-objs): Add json-lib.o.
50017         (bench-func): Tidy up JSON output.
50018         * benchtests/bench-skeleton.c: Include json-lib.h.
50019         (main): Use JSON library functions to do output of
50020         benchmark results.
50021         * benchtests/bench-timing-type.c (main): Output the
50022         timing type simply, leaving formatting to the user.
50023         * benchtests/json-lib.c: New file.
50024         * benchtests/json-lib.h: Likewise.
50026 2014-04-11  Torvald Riegel  <triegel@redhat.com>
50028         [BZ #15215]
50029         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
50030         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
50031         memory barriers.  Add comments.
50032         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
50033         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
50034         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
50035         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
50036         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
50037         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
50039 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50041         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50042         * sysdeps/s390/s390-64/configure.ac: ... this ...
50043         * sysdeps/s390/configure.ac: ... to here.
50044         * sysdeps/s390/s390-32/configure: Delete file.
50045         * sysdeps/s390/s390-64/configure: Delete file.
50046         * sysdeps/s390/configure: Regenerate.
50048 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
50050         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
50052 2014-04-11  Will Newton  <will.newton@linaro.org>
50054         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
50055         to zero if it is not defined elsewhere.  (mtrim): Test
50056         the value of MALLOC_DEBUG with #if rather than #ifdef.
50058 2014-04-10 Torvald Riegel  <triegel@redhat.com>
50060         * benchtests/pthread_once-inputs: New file.
50061         * benchtests/pthread_once-source.c: New file.
50062         * benchtests/README: Update documentation.
50064 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
50065             H.J. Lu  <hongjiu.lu@intel.com>
50067         [BZ #16275]
50068         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
50069         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
50070         * sysdeps/x86_64/configure: Regenerated.
50071         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
50072         macro.
50073         (REGISTER_SAVE_RAX): Likewise.
50074         (REGISTER_SAVE_RCX): Likewise.
50075         (REGISTER_SAVE_RDX): Likewise.
50076         (REGISTER_SAVE_RSI): Likewise.
50077         (REGISTER_SAVE_RDI): Likewise.
50078         (REGISTER_SAVE_R8): Likewise.
50079         (REGISTER_SAVE_R9): Likewise.
50080         (REGISTER_SAVE_BND0): Likewise.
50081         (REGISTER_SAVE_BND1): Likewise.
50082         (REGISTER_SAVE_BND2): Likewise.
50083         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
50084         bound registers when calling _dl_fixup.
50086 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50088         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
50089         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
50090         of its definition.
50091         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
50092         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
50093         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
50094         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
50095         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
50096         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
50097         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
50099 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
50101         [BZ #15514]
50102         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
50103         pathconf(_PC_NAME_MAX).
50105 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50107         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
50108         Remove macro usage.
50109         (__PTHREAD_SPINS): Move definition to ...
50110         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50111         (__PTHREAD_SPINS): ... here.
50112         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50113         (__PTHREAD_SPIN): Likewise.
50114         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
50115         (__PTHREAD_SPIN): Likewise.
50116         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
50117         (__PTHREAD_SPIN): Likewise.
50118         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
50119         (__PTHREAD_SPIN): Likewise.
50120         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50121         (__PTHREAD_SPIN): Likewise.
50122         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50123         (__PTHREAD_SPIN): Likewise.
50124         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
50125         (__PTHREAD_SPIN): Likewise.
50126         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50127         (__PTHREAD_SPIN): Likewise.
50128         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50129         (__PTHREAD_SPIN): Likewise.
50130         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50131         (__PTHREAD_SPIN): Likewise.
50132         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50133         (__PTHREAD_SPIN): Likewise.
50134         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
50135         (__PTHREAD_SPIN): Likewise.
50137         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
50138         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
50139         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
50140         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
50141         imply folder.
50142         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
50143         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
50144         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
50145         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50146         correct imply path.
50147         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
50148         strlen symbol for non multi-arch builds.
50149         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
50150         missing hidden_def and weak_alias.
50152 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
50154         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50156 2014-04-07  Will Newton  <will.newton@linaro.org>
50158         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50159         and contents.  [!_LIBC] Remove #ifndef and contents.
50160         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
50161         * string/memccpy.c (__memccpy): Use ANSI prototype.
50162         * string/memfrob.c (memfrob): Likewise.
50163         * string/strcoll.c (STRCOLL): Likewise.
50164         * string/strlen.c (strlen): Likewise.
50165         * string/strtok.c (STRTOK): Likewise.
50166         * string/strcat.c: Remove unused #include of memcopy.h.
50167         (strcat): Use ANSI prototype.
50168         * string/strchr.c: Remove unused #include of memcopy.h.
50169         (strchr): Use ANSI prototype.
50170         * string/strcmp.c: Remove unused #include of memcopy.h.
50171         (strcmp): Use ANSI prototype.
50172         * string/strcpy.c: Remove unused #include of memcopy.h.
50173         (strcpy): Use ANSI prototype.
50175 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50177         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50178         * config.make.in (config-extra-cppflags): Set it from
50179         libc_extra_cppflags.
50180         * configure.ac (libc_extra_cflags): Make it accumulate over
50181         configure fragments.
50182         (libc_extra_cppflags): New flag.
50183         * configure. Regenerate.
50184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50185         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50186         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50189         [BZ #16815]
50190         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50191         result for FE_DOWNWARD rounding mode.
50192         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50193         Likewise.
50194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50196 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
50198         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50199         in function argument name.
50201 2014-04-03  David Svoboda  <svoboda@cert.org>
50203         [BZ #5666]
50204         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50205         explicitly.
50207 2014-04-03  Roland McGrath  <roland@hack.frob.com>
50209         * elf/dl-unmap-segments.h: New file.
50210         * sysdeps/generic/ldsodefs.h
50211         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50212         * elf/dl-close.c: Include <dl-unmap-segments.h>.
50213         * elf/dl-fptr.c: Likewise.
50214         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50215         * sysdeps/aarch64/tlsdesc.c: Likewise.
50216         * sysdeps/arm/tlsdesc.c: Likewise.
50217         * sysdeps/i386/tlsdesc.c: Likewise.
50218         * sysdeps/tile/dl-runtime.c: Likewise.
50219         * sysdeps/x86_64/tlsdesc.c: Likewise.
50220         * elf/dl-load.h: New file.
50221         * elf/dl-load.c: Include it.
50222         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50223         Macros moved to dl-load.h.
50224         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50225         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50226         Use _dl_unmap_segments in place of __munmap.
50227         Break out segment-mapping loop into ...
50228         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50230 2014-04-03  Will Newton  <will.newton@linaro.org>
50232         * elf/dl-lookup.c (do_lookup_x): Remove comment
50233         referring to nested function and move variable
50234         declarations down to before first use.
50236 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50238         [BZ #16799]
50239         [BZ #16800]
50240         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50241         with 0 numerator.
50242         * math/s_catanf.c (__catanf): Likewise.
50243         * math/s_catanh.c (__catanh): Likewise.
50244         * math/s_catanhf.c (__catanhf): Likewise.
50245         * math/s_catanhl.c (__catanhl): Likewise.
50246         * math/s_catanl.c (__catanl): Likewise.
50247         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50248         by positive zero when computing -Inf result.
50249         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50250         (catanh_test): Likewise.
50251         * sysdeps/i386/fpu/libm-test-ulps: Update.
50252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50254         [BZ #16789]
50255         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50256         instead of using underflowing value in computing result.
50257         * math/s_clog10.c (__clog10): Likewise.
50258         * math/s_clog10f.c (__clog10f): Likewise.
50259         * math/s_clog10l.c (__clog10l): Likewise.
50260         * math/s_clogf.c (__clogf): Likewise.
50261         * math/s_clogl.c (__clogl): Likewise.
50262         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50263         (clog10_test): Likewise.
50264         * sysdeps/i386/fpu/libm-test-ulps: Update.
50265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50267 2014-04-02  Alan Modra  <amodra@gmail.com>
50269         [BZ #16739]
50270         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50271         output when value is near a power of two.  Use int64_t for lx and
50272         remove casts.  Use decimal rather than hex exponent constants.
50273         Don't use long double multiplication when double will suffice.
50274         * math/libm-test.inc (nextafter_test_data): Add tests.
50275         * NEWS: Add 16739 and 16786 to bug list.
50277         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50279         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50281 2014-04-01  Will Newton  <will.newton@linaro.org>
50283         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50284         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50286 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50288         [BZ #13347]
50289         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50290         * nptl/tst-setuid2.c: New file.
50291         * nptl/Makefile (xtests): Add tst-setuid2.
50293 2014-04-01  Alan Modra  <amodra@gmail.com>
50295         [BZ #16786]
50296         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50298 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50300         [BZ #6803]
50301         [BZ #6804]
50302         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50303         set errno as appropriate.
50304         * math/w_scalbf.c (__scalbf): Likewise.
50305         * math/w_scalbl.c (__scalbl): Likewise.
50306         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50307         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50308         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50309         Add more NaN tests.
50311         [BZ #16349]
50312         * math/w_atan2.c: Include <errno.h>.
50313         (__atan2): Set errno for result underflowing to zero.
50314         * math/w_atan2f.c: Include <errno.h>.
50315         (__atan2f): Set errno for result underflowing to zero.
50316         * math/w_atan2l.c: Include <errno.h>.
50317         (__atan2l): Set errno for result underflowing to zero.
50318         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50319         tests.
50320         * math/auto-libm-test-out: Regenerated.
50322 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50324         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50325         Encode instruction correctly in little endian.
50326         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50327         Likewise.
50328         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50329         Likewise.
50330         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50331         Likewise.
50332         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50333         Likewise.
50335 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50337         [BZ #9894]
50338         * sysdeps/unix/sysv/linux/kernel-features.h
50339         [__sparc__ && !__arch64__ && !__sparc_v9__]
50340         (__ASSUME_SET_ROBUST_LIST): Do not define.
50341         [__sparc__ && !__arch64__ && !__sparc_v9__]
50342         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50343         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50344         Likewise.
50345         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50346         (__ASSUME_FUTEX_LOCK_PI): Undefine.
50347         (__ASSUME_REQUEUE_PI): Likewise.
50348         (__ASSUME_SET_ROBUST_LIST): Likewise.
50349         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50350         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50351         Undefine.
50352         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50353         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50354         Likewise.
50355         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50356         Likewise.
50357         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50358         Likewise.
50359         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50360         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50361         Undefine.
50362         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50363         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50364         Likewise.
50366         [BZ #16648]
50367         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50368         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50369         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50371 2014-03-31  Will Newton  <will.newton@linaro.org>
50373         * benchtests/Makefile (bench): Add ffs and ffsll to list
50374         of tests.
50375         * benchtests/ffs-inputs: New file.
50376         * benchtests/ffsll-inputs: Likewise.
50378 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
50380         [BZ #16770]
50381         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50382         too large before casting to int.
50383         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50384         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50385         * math/libm-test.inc (scalb_test_data): Add more tests.
50387 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50389         * benchtests/Makefile (DETAILED_OPT): New make option.
50390         (bench-func): Run benchmark program with -d if DETAILED_OPT is
50391         set.
50392         * benchtests/bench-skeleton.c: Include stdbool.h.
50393         (main): Store and print timings per input.
50394         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50395         member to each argument value.
50396         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50397         (_print_arg_data): Initialize per-input timing to 0.
50399         * benchtests/Makefile (timing-type): New binary.
50400         (bench-clean): Also remove bench-timing-type.
50401         (bench): New target for timing-type.
50402         (bench-func): Print output in JSON format.
50403         * benchtests/bench-skeleton.c (main): Print output in JSON
50404         format.
50405         * benchtests/bench-timing-type.c: New file.
50406         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50407         (TIMING_PRINT_STATS): Remove.
50408         * benchtests/scripts/bench.py (_print_arg_data): Store variant
50409         name separately.
50411         * benchtests/bench-modf.c: Remove.
50412         * benchtests/modf-inputs: New inputs file.
50414 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
50416         [BZ #16362]
50417         * math/s_clog10.c (M_PI_LOG10E): New macro.
50418         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50419         imaginary parts are 0.
50420         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50421         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50422         imaginary parts are 0.
50423         * math/s_clog10l.c (M_PI_LOG10El): New macro.
50424         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50425         imaginary parts are 0.
50426         * math/libm-test.inc (clog10_test_data): Update expected results
50427         for when real and imaginary parts are 0.
50429 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
50431         * elf/dl-load.c: Finish conversion of __builtin_expect into
50432         __glibc_{un}likely.
50434 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
50436         [BZ #16348]
50437         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50438         1+x for argument with exponent below -67.
50439         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50440         Likewise.
50441         * math/auto-libm-test-in: Add more tests of exp.
50442         * math/auto-libm-test-out: Regenerated.
50444 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50446         [BZ #16759]
50447         * inet/getnetgrent_r.c (get_nonempty_val): New function.
50448         (nscd_getnetgrent): Use it.
50450         [BZ #16760]
50451         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
50452         of stpcpy.
50454 2014-03-27  Andi Kleen  <ak@linux.intel.com>
50456         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
50457         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50458         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50459         (lll_robust_unlock): Remove out of line section. Use cfi
50460         intrinsics.
50461         (LLL_STUB_UNWIND_INFO*): Remove.
50462         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
50463         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50464         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50465         (lll_robust_unlock): Remove out of line section. Use cfi
50466         intrinsics.
50467         (LLL_STUB_UNWIND_INFO*): Remove.
50469 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50471         [BZ #16758]
50472         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
50473         blank values.
50475 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
50477         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
50479 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
50481         [BZ #16198]
50482         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
50483         fnstenv.
50484         * math/test-fenv-preserve.c: New file.
50485         * math/Makefile (tests): Add test-fenv-preserve.
50487 2014-03-26  Will Newton <will.newton@linaro.org>
50489         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
50491 2014-03-25  Roland McGrath  <roland@hack.frob.com>
50493         * scripts/versionlist.awk: Partition the version sets and emit all
50494         GLIBC_* (sorted) before all others (sorted).
50496 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50498         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
50499         GLIBC_2.2.5 version.
50501 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50503         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
50504         calls.
50506         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
50507         previous change.
50509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50511 2014-03-25  Andreas Schwab  <schwab@suse.de>
50513         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
50514         label to be used after in6ailist is initialized.
50516 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50518         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50519         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50521 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50523         [BZ #16357]
50524         [BZ #16599]
50525         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
50526         min_plus_half.
50527         (fp_formats): Update initializers.
50528         (init_fp_formats): Initialize new field.
50529         (output_for_one_input_case): Allow underflow for results up to
50530         min_plus_half.
50531         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
50532         * math/auto-libm-test-in: Don't mark some underflows from asin and
50533         atanh as spurious.
50534         * math/auto-libm-test-out: Regenerated.
50535         * sysdeps/i386/fpu/libm-test-ulps: Update.
50536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50538 2014-03-25  Andreas Schwab  <schwab@suse.de>
50540         * libio/Makefile (tst-ftell-partial-wide-ENV)
50541         (tst-ftell-active-handler-ENV): Define.
50543 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
50545         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
50547 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50549         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
50551 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50553         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
50554         * sysdeps/x86_64/fpu/multiarch/e_exp.c
50555         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
50557 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50559         [BZ #16634]
50560         * elf/dl-load.c (open_verify): Add mode parameter.
50561         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
50562         (open_path): Change from boolean 'secure' to complete flag 'mode'
50563         (_dl_map_object): Adjust.
50564         * elf/Makefile (tests): Add tst-dlopen-aout.
50565         * elf/tst-dlopen-aout.c: New test.
50567 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
50569         [BZ #16714]
50570         * sysdeps/unix/sysv/linux/s390/bits/stat.h
50571         (struct stat): Rename member pad0 to __glibc_reserved0.
50573         [BZ #16712]
50574         * sysdeps/s390/s390-32/bits/wordsize.h
50575         (__WORDSIZE32_SIZE_ULONG): New define.
50576         * sysdeps/s390/s390-64/bits/wordsize.h
50577         (__WORDSIZE32_SIZE_ULONG): Likewise.
50578         * sysdeps/generic/stdint.h (SIZE_MAX):
50579         Define as UL if __WORDSIZE32_SIZE_ULONG.
50581         [BZ #16713]
50582         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
50583         (__glibc_reserved0): New variable.
50584         (sa_flags): Change type to int.
50586         * posix/Makefile (before-compile): Use += before-compile instead
50587         of a :=.
50589         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50590         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50592 2014-03-20  Andreas Schwab  <schwab@suse.de>
50594         [BZ #16743]
50595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
50596         non-matching result from nscd.
50598 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50600         * scripts/bench.py: Moved to ...
50601         * benchtests/scripts/bench.py: ... here.
50602         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
50604 2014-03-24  Andreas Schwab  <schwab@suse.de>
50606         [BZ #16002]
50607         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
50608         alloca_account and account alloca use for struct in6ailist.
50610 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50612         [BZ #16284]
50613         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
50614         rounding mode to recompute results that overflow to infinity or
50615         underflow to zero.
50616         * math/auto-libm-test-in: Don't mark tests as expected to fail for
50617         bug 16284.
50618         * math/auto-libm-test-out: Regenerated.
50619         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
50620         (ccosh_test): Likewise.
50621         (csin_test_data): Use plus_oflow.
50622         (csin_test): Use ALL_RM_TEST.
50623         (csinh_test_data): Use plus_oflow.
50624         (csinh_test): Use ALL_RM_TEST.
50625         * sysdeps/i386/fpu/libm-test-ulps: Update.
50626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50628 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
50630         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
50631         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
50632         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
50634         [BZ #16731]
50635         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
50636         when x - 1 is zero.
50637         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
50638         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
50639         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50640         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
50641         argument is 1.
50642         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
50643         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
50644         zero.
50645         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
50646         * sysdeps/i386/fpu/libm-test-ulps: Update.
50647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50649 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50651         * scripts/bench.pl: Remove file.
50652         * scripts/bench.py: New benchmark script.
50653         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
50654         * benchtests/README: Mention python dependency.
50655         * scripts/pylintrc: New file.
50656         * scripts/pylint: New file.
50658         * bits/mathdef.h: Use #ifdef instead of #if.
50659         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
50660         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50661         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
50662         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50663         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
50664         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50666 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50667             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50669         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
50670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
50671         and strpbrk-ppc64 objects.
50672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50673         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
50674         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
50675         multiarch strpbrk for POWER7.
50676         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
50677         multiarch strpbrk for PPC64.
50678         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
50679         ifunc selector.
50680         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
50681         strpbrk for POWER7.
50683 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50685         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
50686         (atan_test): Likewise.
50687         (atanh_test_data): Use NO_TEST_INLINE for two tests.
50688         (atanh_test): Use ALL_RM_TEST.
50689         (atan2_test_data): Likewise.
50690         (cabs_test): Likewise.
50691         (cacosh_test): Likewise.
50692         (carg_test): Likewise.
50693         (casin_test): Likewise.
50694         (casinh_test): Likewise.
50695         (cbrt_test): Likewise.
50696         (csqrt_test): Likewise.
50697         (erf_test): Likewise.
50698         (erfc_test): Likewise.
50699         (pow10_test): Likewise.
50700         (exp2_test): Likewise.
50701         (hypot_test): Likewise.
50702         (j0_test): Likewise.
50703         (j1_test): Likewise.
50704         (lgamma_test): Likewise.
50705         (gamma_test): Likewise.
50706         (sincos_test): Likewise.
50707         (tanh_test): Likewise.
50708         (y0_test): Likewise.
50709         (y1_test): Likewise.
50710         * sysdeps/i386/fpu/libm-test-ulps: Update.
50711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50713 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50715         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
50716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
50717         and strcspn-ppc64 objects.
50718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50719         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
50720         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
50721         multiarch strcspn for POWER7.
50722         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
50723         multiarch strcspn for PPC64.
50724         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
50725         ifunc selector.
50726         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
50727         strcspn for POWER7.
50729 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50731         * math/gen-libm-test.pl (generate_testfile): Expect only function
50732         name as argument to AUTO_TESTS_* and pass results for all rounding
50733         modes to parse_args.
50734         (parse_auto_input): Separate inputs of automatic tests from
50735         outputs before storing in %auto_tests.
50736         * math/libm-test.inc (acos_test_data): Update call to
50737         AUTO_TESTS_f_f.
50738         (acos_test): Use ALL_RM_TEST.
50739         (acos_tonearest_test_data): Remove.
50740         (acos_test_tonearest): Likewise.
50741         (acos_towardzero_test_data): Likewise.
50742         (acos_test_towardzero): Likewise.
50743         (acos_downward_test_data): Likewise.
50744         (acos_test_downward): Likewise.
50745         (acos_upward_test_data): Likewise.
50746         (acos_test_upward): Likewise.
50747         (acosh_test_data): Update call to AUTO_TESTS_f_f.
50748         (asin_test_data): Likewise.
50749         (asin_test): Use ALL_RM_TEST.
50750         (asin_tonearest_test_data): Remove.
50751         (asin_test_tonearest): Likewise.
50752         (asin_towardzero_test_data): Likewise.
50753         (asin_test_towardzero): Likewise.
50754         (asin_downward_test_data): Likewise.
50755         (asin_test_downward): Likewise.
50756         (asin_upward_test_data): Likewise.
50757         (asin_test_upward): Likewise.
50758         (asinh_test_data): Update call to AUTO_TESTS_f_f.
50759         (atan_test_data): Likewise.
50760         (atanh_test_data): Likewise.
50761         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
50762         (cabs_test_data): Update call to AUTO_TESTS_c_f.
50763         (carg_test_data): Likewise.
50764         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
50765         (ccos_test_data): Update call to AUTO_TESTS_c_c.
50766         (ccosh_test_data): Likewise.
50767         (cexp_test_data): Likewise.
50768         (clog_test_data): Likewise.
50769         (clog10_test_data): Likewise.
50770         (cos_test_data): Update call to AUTO_TESTS_f_f.
50771         (cos_test): Use ALL_RM_TEST.
50772         (cos_tonearest_test_data): Remove.
50773         (cos_test_tonearest): Likewise.
50774         (cos_towardzero_test_data): Likewise.
50775         (cos_test_towardzero): Likewise.
50776         (cos_downward_test_data): Likewise.
50777         (cos_test_downward): Likewise.
50778         (cos_upward_test_data): Likewise.
50779         (cos_test_upward): Likewise.
50780         (cosh_test_data): Update call to AUTO_TESTS_f_f.
50781         (cosh_test): Use ALL_RM_TEST.
50782         (cosh_tonearest_test_data): Remove.
50783         (cosh_test_tonearest): Likewise.
50784         (cosh_towardzero_test_data): Likewise.
50785         (cosh_test_towardzero): Likewise.
50786         (cosh_downward_test_data): Likewise.
50787         (cosh_test_downward): Likewise.
50788         (cosh_upward_test_data): Likewise.
50789         (cosh_test_upward): Likewise.
50790         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50791         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50792         (ctan_test_data): Likewise.
50793         (ctan_test): Use ALL_RM_TEST.
50794         (ctan_tonearest_test_data): Remove.
50795         (ctan_test_tonearest): Likewise.
50796         (ctan_towardzero_test_data): Likewise.
50797         (ctan_test_towardzero): Likewise.
50798         (ctan_downward_test_data): Likewise.
50799         (ctan_test_downward): Likewise.
50800         (ctan_upward_test_data): Likewise.
50801         (ctan_test_upward): Likewise.
50802         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50803         (ctanh_test): Use ALL_RM_TEST.
50804         (ctanh_tonearest_test_data): Remove.
50805         (ctanh_test_tonearest): Likewise.
50806         (ctanh_towardzero_test_data): Likewise.
50807         (ctanh_test_towardzero): Likewise.
50808         (ctanh_downward_test_data): Likewise.
50809         (ctanh_test_downward): Likewise.
50810         (ctanh_upward_test_data): Likewise.
50811         (ctanh_test_upward): Likewise.
50812         (erf_test_data): Update call to AUTO_TESTS_f_f.
50813         (erfc_test_data): Likewise.
50814         (exp_test_data): Likewise.
50815         (exp_test): Use ALL_RM_TEST.
50816         (exp_tonearest_test_data): Remove.
50817         (exp_test_tonearest): Likewise.
50818         (exp_towardzero_test_data): Likewise.
50819         (exp_test_towardzero): Likewise.
50820         (exp_downward_test_data): Likewise.
50821         (exp_test_downward): Likewise.
50822         (exp_upward_test_data): Likewise.
50823         (exp_test_upward): Likewise.
50824         (exp10_test_data): Update call to AUTO_TESTS_f_f.
50825         (exp10_test): Use ALL_RM_TEST.
50826         (exp10_tonearest_test_data): Remove.
50827         (exp10_test_tonearest): Likewise.
50828         (exp10_towardzero_test_data): Likewise.
50829         (exp10_test_towardzero): Likewise.
50830         (exp10_downward_test_data): Likewise.
50831         (exp10_test_downward): Likewise.
50832         (exp10_upward_test_data): Likewise.
50833         (exp10_test_upward): Likewise.
50834         (exp2_test_data): Update call to AUTO_TESTS_f_f.
50835         (expm1_test_data): Likewise.
50836         (expm1_test): Use ALL_RM_TEST.
50837         (expm1_tonearest_test_data): Remove.
50838         (expm1_test_tonearest): Likewise.
50839         (expm1_towardzero_test_data): Likewise.
50840         (expm1_test_towardzero): Likewise.
50841         (expm1_downward_test_data): Likewise.
50842         (expm1_test_downward): Likewise.
50843         (expm1_upward_test_data): Likewise.
50844         (expm1_test_upward): Likewise.
50845         (fma_test_data): Update call to AUTO_TESTS_fff_f.
50846         (fma_test): Use ALL_RM_TEST.
50847         (fma_towardzero_test_data): Remove.
50848         (fma_test_towardzero): Likewise.
50849         (fma_downward_test_data): Likewise.
50850         (fma_test_downward): Likewise.
50851         (fma_upward_test_data): Likewise.
50852         (fma_test_upward): Likewise.
50853         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
50854         (j0_test_data): Update call to AUTO_TESTS_f_f.
50855         (j1_test_data): Likewise.
50856         (jn_test_data): Update call to AUTO_TESTS_if_f.
50857         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
50858         (log_test_data): Update call to AUTO_TESTS_f_f.
50859         (log10_test_data): Likewise.
50860         (log1p_test_data): Likewise.
50861         (log2_test_data): Likewise.
50862         (pow_test_data): Update call to AUTO_TESTS_ff_f.
50863         (pow_tonearest_test_data): Likewise.
50864         (sin_test_data): Update call to AUTO_TESTS_f_f.
50865         (sin_test): Use ALL_RM_TEST.
50866         (sin_tonearest_test_data): Remove.
50867         (sin_test_tonearest): Likewise.
50868         (sin_towardzero_test_data): Likewise.
50869         (sin_test_towardzero): Likewise.
50870         (sin_downward_test_data): Likewise.
50871         (sin_test_downward): Likewise.
50872         (sin_upward_test_data): Likewise.
50873         (sin_test_upward): Likewise.
50874         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
50875         (sinh_test_data): Update call to AUTO_TESTS_f_f.
50876         (sinh_test): Use ALL_RM_TEST.
50877         (sinh_tonearest_test_data): Remove.
50878         (sinh_test_tonearest): Likewise.
50879         (sinh_towardzero_test_data): Likewise.
50880         (sinh_test_towardzero): Likewise.
50881         (sinh_downward_test_data): Likewise.
50882         (sinh_test_downward): Likewise.
50883         (sinh_upward_test_data): Likewise.
50884         (sinh_test_upward): Likewise.
50885         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
50886         (sqrt_test): Use ALL_RM_TEST.
50887         (sqrt_tonearest_test_data): Remove.
50888         (sqrt_test_tonearest): Likewise.
50889         (sqrt_towardzero_test_data): Likewise.
50890         (sqrt_test_towardzero): Likewise.
50891         (sqrt_downward_test_data): Likewise.
50892         (sqrt_test_downward): Likewise.
50893         (sqrt_upward_test_data): Likewise.
50894         (sqrt_test_upward): Likewise.
50895         (tan_test_data): Update call to AUTO_TESTS_f_f.
50896         (tan_test): Use ALL_RM_TEST.
50897         (tan_tonearest_test_data): Remove.
50898         (tan_test_tonearest): Likewise.
50899         (tan_towardzero_test_data): Likewise.
50900         (tan_test_towardzero): Likewise.
50901         (tan_downward_test_data): Likewise.
50902         (tan_test_downward): Likewise.
50903         (tan_upward_test_data): Likewise.
50904         (tan_test_upward): Likewise.
50905         (tanh_test_data): Update call to AUTO_TESTS_f_f.
50906         (tgamma_test_data): Likewise.
50907         (y0_test_data): Likewise.
50908         (y1_test_data): Likewise.
50909         (yn_test_data): Update call to AUTO_TESTS_if_f.
50910         (main): Do not call removed functions.
50912 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50914         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
50915         (ldexp_test_data): Remove.
50916         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
50917         scalbn_test_data.
50918         (scalb_test): Use ALL_RM_TEST.
50920 2014-03-19  Andreas Schwab  <schwab@suse.de>
50922         * nscd/nscd.service: Also invalidate netgroup cache on reload.
50924 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50926         [BZ #16649]
50927         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50928         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
50929         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
50930         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50931         (__ASSUME_PREADV): Undefine.
50932         (__ASSUME_PWRITEV): Likewise.
50934 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50936         * bits/mman-linux.h: Add comment about non-Linux use.
50937         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
50938         bits/mman-linux.h resting place.
50940         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
50941         * bits/mman-linux.h: ... here.
50943 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50945         * conform/conformtest.pl: Add standard definition when calling C
50946         preprocessor on data files.
50947         (checknamespace): Remove unused variable.
50949 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50951         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
50952         minus_oflow, plus_uflow and minus_uflow in expected results.
50953         * math/libm-test.inc (scalbn_test_data): Add more tests of
50954         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
50955         minus_uflow.
50956         (scalbn_test): Use ALL_RM_TEST.
50957         (scalbln_test_data): Add more tests of negative arguments.  Use
50958         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
50959         (scalbln_test): Use ALL_RM_TEST.
50961 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50963         * scripts/abilist.awk: Ignore symbols marked with .hidden.
50965 2014-03-18  Will Newton  <will.newton@linaro.org>
50967         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
50968         inaccurate comment.
50970 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50972         * Makerules [!subdir] (check-abi): Exit with error status if a
50973         test failed.
50975 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50977         * math/libm-test.inc (nearbyint_test_data): Include all tests used
50978         for rint.  Include results for all rounding modes.
50979         (nearbyint_test): Use ALL_RM_TEST.
50980         (rint_test_data): Include all tests used for nearbyint.
50982 2014-03-17  Will Newton  <will.newton@linaro.org>
50984         * nptl/sysdeps/pthread/pthread.h: Revert previous
50985         change.
50987         * sysdeps/generic/ldsodefs.h: Revert previous
50988         change.
50990         * libio/genops.c: Revert previous change.
50991         * libio/libioP.h: Likewise.
50992         * stdio-common/vfprintf.c: Likewise.
50994         * sysdeps/generic/math_private.h: Revert previous
50995         change.
50997         * sysdeps/generic/math_private.h: Check whether
50998         HAVE_RM_CTX is defined with #ifdef rather
50999         than #if.
51001         * argp/argp-fmtstream.h: Check whether
51002         __STRICT_ANSI__ is defined with #ifdef rather
51003         than #if.
51004         * argp/argp.h: Likewise.
51006         * libio/genops.c: Check whether
51007         _IO_JUMPS_OFFSET is defined with #ifdef rather
51008         than #if.
51009         * libio/libioP.h: Likewise.
51010         * stdio-common/vfprintf.c: Likewise.
51012         * sysdeps/generic/ldsodefs.h: Check whether
51013         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
51014         than #if.
51016         * nptl/sysdeps/pthread/pthread.h: Check
51017         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
51018         its value.
51020 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51022         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
51023         setting O_APPEND.
51024         * libio/tst-ftell-active-handler.c (do_append_test): Add a
51025         test case.
51027         [BZ #16680]
51028         * libio/fileops.c (_IO_file_open): Seek to end of file but
51029         don't cache the offset.
51030         (get_file_offset): Remove function.
51031         (do_ftell): Use cached offset when available.
51032         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
51033         don't cache the offset.
51034         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
51035         case.
51036         (do_one_test): Call it.
51037         (do_ftell_test): Fix up expected old offset for a+ mode.
51038         * libio/wfileops.c (do_ftell_wide): Used cached offset when
51039         available.
51041         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
51042         up test status with function return status.
51043         (do_write_test): Likewise.
51044         (do_append_test): Likewise.
51046         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
51047         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
51048         Remove.
51050 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51052         * math/gen-libm-test.pl (parse_args): Handle results specified for
51053         each rounding mode separately.
51054         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
51055         tests and results from lrint_tonearest_test_data,
51056         lrint_towardzero_test_data, lrint_downward_test_data and
51057         lrint_upward_test_data.
51058         (lrint_test): Use ALL_RM_TEST.
51059         (lrint_tonearest_test_data): Remove.
51060         (lrint_test_tonearest): Likewise.
51061         (lrint_towardzero_test_data): Likewise.
51062         (lrint_test_towardzero): Likewise.
51063         (lrint_downward_test_data): Likewise.
51064         (lrint_test_downward): Likewise.
51065         (lrint_upward_test_data): Likewise.
51066         (lrint_test_upward): Likewise.
51067         (llrint_test_data): Merge in per-rounding-mode tests and results
51068         from llrint_tonearest_test_data, llrint_towardzero_test_data,
51069         llrint_downward_test_data and llrint_upward_test_data.
51070         (llrint_test): Use ALL_RM_TEST.
51071         (llrint_tonearest_test_data): Remove.
51072         (llrint_test_tonearest): Likewise.
51073         (llrint_towardzero_test_data): Likewise.
51074         (llrint_test_towardzero): Likewise.
51075         (llrint_downward_test_data): Likewise.
51076         (llrint_test_downward): Likewise.
51077         (llrint_upward_test_data): Likewise.
51078         (llrint_test_upward): Likewise.
51079         (rint_test_data): Merge in per-rounding-mode tests and results
51080         from rint_tonearest_test_data, rint_towardzero_test_data,
51081         rint_downward_test_data and rint_upward_test_data.  Add
51082         per-rounding-mode results for tests not in those arrays.
51083         (rint_test): Use ALL_RM_TEST.
51084         (rint_tonearest_test_data): Remove.
51085         (rint_test_tonearest): Likewise.
51086         (rint_towardzero_test_data): Likewise.
51087         (rint_test_towardzero): Likewise.
51088         (rint_downward_test_data): Likewise.
51089         (rint_test_downward): Likewise.
51090         (rint_upward_test_data): Likewise.
51091         (rint_test_upward): Likewise.
51092         (main): Don't call removed functions.
51094 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51096         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
51097         "Compiled on ..." crapola.  It is anti-useful.
51099 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
51101         * scripts/evaluate-test.sh: Handle fourth argument to determine
51102         whether test run should stop on failure.
51103         * Makeconfig (stop-on-test-failure): New variable.
51104         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
51105         $(stop-on-test-failure).
51106         * Makefile (tests): Give a summary of results from testing and
51107         exit with failure status if they include an ERROR or FAIL.
51108         (xtests): Likewise.
51109         * manual/install.texi (Configuring and compiling): Mention
51110         stop-on-test-failure=y.
51111         * INSTALL: Regenerated.
51113 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51115         * scripts/versionlist.awk: New file.
51116         * Makerules [$(build-shared) = yes]
51117         (postclean-generated): Add Versions.def, not Versions.def.v and
51118         Versions.def.v.i.
51119         ($(common-objpfx)Versions.def.v.i): Target removed.
51120         ($(common-objpfx)Versions.def): New target.
51121         ($(common-objpfx)Versions.all): Depend on that rather that
51122         $(common-objpfx)Versions.def.v.
51123         * Versions.def: File removed.
51125         * Makeconfig (+gccwarn): Add -Wundef.
51126         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
51127         a dl-sysdep.h breaking its contract.
51128         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
51129         * include/stackinfo.h: New file.
51130         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
51131         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
51132         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
51133         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
51134         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
51135         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
51136         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51137         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51138         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51139         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51140         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51141         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
51142         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51143         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51144         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51146 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51148         [BZ #16707]
51149         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
51150         implementation.
51151         * math/libm-test.inc (round_test_data): Add more tests.
51153         [BZ #16706]
51154         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51155         implementation.
51156         * math/libm-test.inc (nearbyint_test_data): Add more tests.
51158         [BZ #16701]
51159         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51160         implementation.
51161         * math/libm-test.inc (ceil_test_data): Add more tests.
51163         * math/libm-test.inc (trunc_test_data): Add more tests related to
51164         BZ#16414.
51166 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51168         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51169         with #if rather than #ifdef.
51170         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51172 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
51174         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51175         first.  Disable AVX-512 GCC support if assembler doesn't support
51176         it.
51177         * sysdeps/x86_64/configure: Regenerated.
51179 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
51181         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51182         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51183         (__old_pthread_attr_setstack): Likewise.
51184         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51185         [!_STACK_GROWS_DOWN]: Likewise.
51187 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
51189         * config.make.in (have-bash2): Delete.
51190         * configure.ac (libc_cv_have_bash2): Delete.
51191         * configure: Regenerate.
51192         * elf/Makefile (common-ldd-rewrite): Rename to ...
51193         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
51194         (sh-ldd-rewrite): Delete.
51195         (bash-ldd-rewrite): Delete.
51196         (have-bash2): Delete checks.
51197         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51198         ldd-rewrite.
51200         * config.make.in (have-ksh): Delete.
51201         (KSH): Delete.
51202         * configure.ac (libc_cv_have_ksh): Delete.
51203         * configure: Regenerate.
51205         * elf/Makefile: Delete $(have-ksh) check.
51206         ($(objpfx)sotruss): Change KSH to BASH.
51207         * elf/sotruss.ksh: Rename to ...
51208         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
51209         function style to match POSIX.  Drop ksh vim mode setting.
51211         * manual/time.texi (Specifying the Time Zone with TZ): Change
51212         Tuesday to Thursday.
51214         * debug/tst-longjmp_chk2.c: Update header comment.
51215         (stackoverflow_handler): Add comment.  Call assert on pass value.
51217 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51219         [BZ #16194]
51220         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51221         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51222         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51223         (La_x86_64_vector): Add zmm.
51224         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51225         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51226         ($(objpfx)tst-audit10): New target.
51227         ($(objpfx)tst-audit10.out): Likewise.
51228         (tst-audit10-ENV): New.
51229         (AVX512-CFLAGS): Likewise.
51230         (CFLAGS-tst-audit10.c): Likewise.
51231         (CFLAGS-tst-auditmod10a.c): Likewise.
51232         (CFLAGS-tst-auditmod10b.c): Likewise.
51233         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51234         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51235         * sysdeps/x86_64/configure: Regenerated.
51236         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51237         AVX-512 zmm register support.
51238         (_dl_x86_64_save_sse): Likewise.
51239         (_dl_x86_64_restore_sse): Likewise.
51240         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51241         size vector registers.
51242         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51243         (ZMM_SIZE): Likewise.
51244         * sysdeps/x86_64/tst-audit10.c: New file.
51245         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51246         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51248 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51250         * configure.ac (HAVE_EHDR_START): New check.
51251         * configure: Regenerated.
51252         * config.h.in (HAVE_EHDR_START): New #undef.
51253         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51254         assuming the lowest-addressed segment maps the start of the file.
51256 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51258         * INSTALL: Regenerated.
51260 2014-03-13  Will Newton  <will.newton@linaro.org>
51262         * manual/setjmp.texi (System V contexts): Improve
51263         clarity and grammar of documentation.
51265 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51267         [BZ #16381]
51268         * elf/Makefile (tests): Add tst-pie2.
51269         (tests-pie): Add tst-pie2.
51270         * elf/tst-pie2.c: New file.
51271         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51272         for ET_EXEC.
51273         * elf/rtld.c (map_doit): Load executable as lt_executable.
51274         (dl_main): Likewise.
51276 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51278         [BZ #16642]
51279         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51280         (__ASSUME_PSELECT): Undefine.
51282 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51284         [BZ #16689]
51285         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51286         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51287         static build.
51288         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51289         selector for static builds.
51291 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51293         [BZ #16695]
51294         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51295         key in the buffer.
51297 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51299         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51300         IFUNC selector for static builds.
51302 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51304         * sysdeps/mips/math_private.h [__mips_hard_float]
51305         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51306         libc_feresetround_mips_ctx.
51307         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51308         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51309         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51311         [BZ #16677]
51312         * math/s_nextafter.c (__nextafter): Do not return value from
51313         overflowing computation.
51314         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51315         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51316         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51317         Likewise.
51318         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51319         Likewise.
51320         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51321         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51323 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51325         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51326         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51327         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51328         the new mov targetting sp.
51330 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51332         [BZ #16683]
51333         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51334         Define it for static builds as well.
51335         (NO_BZERO_IMPL): Likewise.
51337 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51339         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51340         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51341         multiarch strspn for PPC64.
51342         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51343         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51345         (__libc_ifunc_impl_list): Likewise.
51346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51347         multiarch optimizations
51348         * string/strspn.c (strspn): Using macro to redefine symbol name.
51350 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51351             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51353         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51354         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51355         multiarch strncat for PPC64.
51356         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51357         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51359         (__libc_ifunc_impl_list): Likewise.
51360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51361         multiarch optimizations
51363 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51365         [BZ #16639]
51366         * nscd/nscd.service: Make service type forking.
51368 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51370         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51371         sign in non default rounding modes.
51372         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51374 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
51376         * math/libm-test.inc (ALL_RM_TEST): New macro.
51377         (ceil_test): Use ALL_RM_TEST.
51378         (cimag_test): Likewise.
51379         (conj_test): Likewise.
51380         (copysign_test): Likewise.
51381         (cproj_test): Likewise.
51382         (creal_test): Likewise.
51383         (fabs_test): Likewise.
51384         (floor_test): Likewise.
51385         (fmax_test): Likewise.
51386         (fmin_test): Likewise.
51387         (fmod_test): Likewise.
51388         (fpclassify_test): Likewise.
51389         (frexp_test): Likewise.
51390         (ilogb_test): Likewise.
51391         (isfinite_test): Likewise.
51392         (finite_test): Likewise.
51393         (isgreater_test): Likewise.
51394         (isgreaterequal_test): Likewise.
51395         (isinf_test): Likewise.
51396         (isless_test): Likewise.
51397         (islessequal_test): Likewise.
51398         (islessgreater_test): Likewise.
51399         (isnan_test): Likewise.
51400         (isnormal_test): Likewise.
51401         (issignaling_test): Likewise.
51402         (isunordered_test): Likewise.
51403         (logb_test): Likewise.
51404         (logb_downward_test_data): Remove.
51405         (logb_test_downward): Likewise.
51406         (lround_test): Use ALL_RM_TEST.
51407         (llround_test): Likewise.
51408         (modf_test): Likewise.
51409         (nexttoward_test): Likewise.
51410         (remainder_test): Likewise.
51411         (drem_test): Likewise.
51412         (remainder_tonearest_test_data): Likewise.
51413         (remainder_test_tonearest): Likewise.
51414         (drem_test_tonearest): Likewise.
51415         (remainder_towardzero_test_data): Likewise.
51416         (remainder_test_towardzero): Likewise.
51417         (drem_test_towardzero): Likewise.
51418         (remainder_downward_test_data): Likewise.
51419         (remainder_test_downward): Likewise.
51420         (drem_test_downward): Likewise.
51421         (remainder_upward_test_data): Likewise.
51422         (remainder_test_upward): Likewise.
51423         (drem_test_upward): Likewise.
51424         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
51425         (round_test): Use ALL_RM_TEST.
51426         (signbit_test): Likewise.
51427         (trunc_test): Likewise.
51428         (significand_test): Likewise.
51429         (main): Don't call removed functions.
51431 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51433         [BZ #16674]
51434         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51435         || __USE_XOPEN2K8].
51436         (ILL_ILLOPN): Likewise.
51437         (ILL_ILLADR): Likewise.
51438         (ILL_ILLTRP): Likewise.
51439         (ILL_PRVOPC): Likewise.
51440         (ILL_PRVREG): Likewise.
51441         (ILL_COPROC): Likewise.
51442         (ILL_BADSTK): Likewise.
51443         (FPE_INTDIV): Likewise.
51444         (FPE_INTOVF): Likewise.
51445         (FPE_FLTDIV): Likewise.
51446         (FPE_FLTOVF): Likewise.
51447         (FPE_FLTUND): Likewise.
51448         (FPE_FLTRES): Likewise.
51449         (FPE_FLTINV): Likewise.
51450         (FPE_FLTSUB): Likewise.
51451         (SEGV_MAPERR): Likewise.
51452         (SEGV_ACCERR): Likewise.
51453         (BUS_ADRALN): Likewise.
51454         (BUS_ADRERR): Likewise.
51455         (BUS_OBJERR): Likewise.
51456         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51457         (TRAP_TRACE): Likewise.
51458         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51459         __USE_XOPEN2K8].
51460         (CLD_KILLED): Likewise.
51461         (CLD_DUMPED): Likewise.
51462         (CLD_TRAPPED): Likewise.
51463         (CLD_STOPPED): Likewise.
51464         (CLD_CONTINUED): Likewise.
51465         (POLL_IN): Likewise.
51466         (POLL_OUT): Likewise.
51467         (POLL_MSG): Likewise.
51468         (POLL_ERR): Likewise.
51469         (POLL_PRI): Likewise.
51470         (POLL_HUP): Likewise.
51471         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
51472         Likewise.
51473         (ILL_ILLOPN): Likewise.
51474         (ILL_ILLADR): Likewise.
51475         (ILL_ILLTRP): Likewise.
51476         (ILL_PRVOPC): Likewise.
51477         (ILL_PRVREG): Likewise.
51478         (ILL_COPROC): Likewise.
51479         (ILL_BADSTK): Likewise.
51480         (FPE_INTDIV): Likewise.
51481         (FPE_INTOVF): Likewise.
51482         (FPE_FLTDIV): Likewise.
51483         (FPE_FLTOVF): Likewise.
51484         (FPE_FLTUND): Likewise.
51485         (FPE_FLTRES): Likewise.
51486         (FPE_FLTINV): Likewise.
51487         (FPE_FLTSUB): Likewise.
51488         (SEGV_MAPERR): Likewise.
51489         (SEGV_ACCERR): Likewise.
51490         (BUS_ADRALN): Likewise.
51491         (BUS_ADRERR): Likewise.
51492         (BUS_OBJERR): Likewise.
51493         (BUS_MCEERR_AR): Likewise.
51494         (BUS_MCEERR_AO): Likewise.
51495         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51496         (TRAP_TRACE): Likewise.
51497         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51498         __USE_XOPEN2K8].
51499         (CLD_KILLED): Likewise.
51500         (CLD_DUMPED): Likewise.
51501         (CLD_TRAPPED): Likewise.
51502         (CLD_STOPPED): Likewise.
51503         (CLD_CONTINUED): Likewise.
51504         (POLL_IN): Likewise.
51505         (POLL_OUT): Likewise.
51506         (POLL_MSG): Likewise.
51507         (POLL_ERR): Likewise.
51508         (POLL_PRI): Likewise.
51509         (POLL_HUP): Likewise.
51510         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
51511         (ILL_ILLOPN): Likewise.
51512         (ILL_ILLADR): Likewise.
51513         (ILL_ILLTRP): Likewise.
51514         (ILL_PRVOPC): Likewise.
51515         (ILL_PRVREG): Likewise.
51516         (ILL_COPROC): Likewise.
51517         (ILL_BADSTK): Likewise.
51518         (FPE_INTDIV): Likewise.
51519         (FPE_INTOVF): Likewise.
51520         (FPE_FLTDIV): Likewise.
51521         (FPE_FLTOVF): Likewise.
51522         (FPE_FLTUND): Likewise.
51523         (FPE_FLTRES): Likewise.
51524         (FPE_FLTINV): Likewise.
51525         (FPE_FLTSUB): Likewise.
51526         (SEGV_MAPERR): Likewise.
51527         (SEGV_ACCERR): Likewise.
51528         (BUS_ADRALN): Likewise.
51529         (BUS_ADRERR): Likewise.
51530         (BUS_OBJERR): Likewise.
51531         (BUS_MCEERR_AR): Likewise.
51532         (BUS_MCEERR_AO): Likewise.
51533         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51534         (TRAP_TRACE): Likewise.
51535         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51536         __USE_XOPEN2K8].
51537         (CLD_KILLED): Likewise.
51538         (CLD_DUMPED): Likewise.
51539         (CLD_TRAPPED): Likewise.
51540         (CLD_STOPPED): Likewise.
51541         (CLD_CONTINUED): Likewise.
51542         (POLL_IN): Likewise.
51543         (POLL_OUT): Likewise.
51544         (POLL_MSG): Likewise.
51545         (POLL_ERR): Likewise.
51546         (POLL_PRI): Likewise.
51547         (POLL_HUP): Likewise.
51548         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
51549         Likewise.
51550         (ILL_ILLOPN): Likewise.
51551         (ILL_ILLADR): Likewise.
51552         (ILL_ILLTRP): Likewise.
51553         (ILL_PRVOPC): Likewise.
51554         (ILL_PRVREG): Likewise.
51555         (ILL_COPROC): Likewise.
51556         (ILL_BADSTK): Likewise.
51557         (ILL_BADIADDR): Likewise.
51558         (ILL_BREAK): Likewise.
51559         (FPE_INTDIV): Likewise.
51560         (FPE_INTOVF): Likewise.
51561         (FPE_FLTDIV): Likewise.
51562         (FPE_FLTOVF): Likewise.
51563         (FPE_FLTUND): Likewise.
51564         (FPE_FLTRES): Likewise.
51565         (FPE_FLTINV): Likewise.
51566         (FPE_FLTSUB): Likewise.
51567         (FPE_DECOVF): Likewise.
51568         (FPE_DECDIV): Likewise.
51569         (FPE_DECERR): Likewise.
51570         (FPE_INVASC): Likewise.
51571         (FPE_INVDEC): Likewise.
51572         (SEGV_MAPERR): Likewise.
51573         (SEGV_ACCERR): Likewise.
51574         (SEGV_PSTKOVF): Likewise.
51575         (BUS_ADRALN): Likewise.
51576         (BUS_ADRERR): Likewise.
51577         (BUS_OBJERR): Likewise.
51578         (BUS_MCEERR_AR): Likewise.
51579         (BUS_MCEERR_AO): Likewise.
51580         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51581         (TRAP_TRACE): Likewise.
51582         (TRAP_BRANCH): Likewise.
51583         (TRAP_HWBKPT): Likewise.
51584         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51585         __USE_XOPEN2K8].
51586         (CLD_KILLED): Likewise.
51587         (CLD_DUMPED): Likewise.
51588         (CLD_TRAPPED): Likewise.
51589         (CLD_STOPPED): Likewise.
51590         (CLD_CONTINUED): Likewise.
51591         (POLL_IN): Likewise.
51592         (POLL_OUT): Likewise.
51593         (POLL_MSG): Likewise.
51594         (POLL_ERR): Likewise.
51595         (POLL_PRI): Likewise.
51596         (POLL_HUP): Likewise.
51597         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
51598         (ILL_ILLOPN): Likewise.
51599         (ILL_ILLADR): Likewise.
51600         (ILL_ILLTRP): Likewise.
51601         (ILL_PRVOPC): Likewise.
51602         (ILL_PRVREG): Likewise.
51603         (ILL_COPROC): Likewise.
51604         (ILL_BADSTK): Likewise.
51605         (FPE_INTDIV): Likewise.
51606         (FPE_INTOVF): Likewise.
51607         (FPE_FLTDIV): Likewise.
51608         (FPE_FLTOVF): Likewise.
51609         (FPE_FLTUND): Likewise.
51610         (FPE_FLTRES): Likewise.
51611         (FPE_FLTINV): Likewise.
51612         (FPE_FLTSUB): Likewise.
51613         (SEGV_MAPERR): Likewise.
51614         (SEGV_ACCERR): Likewise.
51615         (BUS_ADRALN): Likewise.
51616         (BUS_ADRERR): Likewise.
51617         (BUS_OBJERR): Likewise.
51618         (BUS_MCEERR_AR): Likewise.
51619         (BUS_MCEERR_AO): Likewise.
51620         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51621         (TRAP_TRACE): Likewise.
51622         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51623         __USE_XOPEN2K8].
51624         (CLD_KILLED): Likewise.
51625         (CLD_DUMPED): Likewise.
51626         (CLD_TRAPPED): Likewise.
51627         (CLD_STOPPED): Likewise.
51628         (CLD_CONTINUED): Likewise.
51629         (POLL_IN): Likewise.
51630         (POLL_OUT): Likewise.
51631         (POLL_MSG): Likewise.
51632         (POLL_ERR): Likewise.
51633         (POLL_PRI): Likewise.
51634         (POLL_HUP): Likewise.
51635         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
51636         (ILL_ILLOPN): Likewise.
51637         (ILL_ILLADR): Likewise.
51638         (ILL_ILLTRP): Likewise.
51639         (ILL_PRVOPC): Likewise.
51640         (ILL_PRVREG): Likewise.
51641         (ILL_COPROC): Likewise.
51642         (ILL_BADSTK): Likewise.
51643         (FPE_INTDIV): Likewise.
51644         (FPE_INTOVF): Likewise.
51645         (FPE_FLTDIV): Likewise.
51646         (FPE_FLTOVF): Likewise.
51647         (FPE_FLTUND): Likewise.
51648         (FPE_FLTRES): Likewise.
51649         (FPE_FLTINV): Likewise.
51650         (FPE_FLTSUB): Likewise.
51651         (SEGV_MAPERR): Likewise.
51652         (SEGV_ACCERR): Likewise.
51653         (BUS_ADRALN): Likewise.
51654         (BUS_ADRERR): Likewise.
51655         (BUS_OBJERR): Likewise.
51656         (BUS_MCEERR_AR): Likewise.
51657         (BUS_MCEERR_AO): Likewise.
51658         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51659         (TRAP_TRACE): Likewise.
51660         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51661         __USE_XOPEN2K8].
51662         (CLD_KILLED): Likewise.
51663         (CLD_DUMPED): Likewise.
51664         (CLD_TRAPPED): Likewise.
51665         (CLD_STOPPED): Likewise.
51666         (CLD_CONTINUED): Likewise.
51667         (POLL_IN): Likewise.
51668         (POLL_OUT): Likewise.
51669         (POLL_MSG): Likewise.
51670         (POLL_ERR): Likewise.
51671         (POLL_PRI): Likewise.
51672         (POLL_HUP): Likewise.
51673         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
51674         (ILL_ILLOPN): Likewise.
51675         (ILL_ILLADR): Likewise.
51676         (ILL_ILLTRP): Likewise.
51677         (ILL_PRVOPC): Likewise.
51678         (ILL_PRVREG): Likewise.
51679         (ILL_COPROC): Likewise.
51680         (ILL_BADSTK): Likewise.
51681         (FPE_INTDIV): Likewise.
51682         (FPE_INTOVF): Likewise.
51683         (FPE_FLTDIV): Likewise.
51684         (FPE_FLTOVF): Likewise.
51685         (FPE_FLTUND): Likewise.
51686         (FPE_FLTRES): Likewise.
51687         (FPE_FLTINV): Likewise.
51688         (FPE_FLTSUB): Likewise.
51689         (SEGV_MAPERR): Likewise.
51690         (SEGV_ACCERR): Likewise.
51691         (BUS_ADRALN): Likewise.
51692         (BUS_ADRERR): Likewise.
51693         (BUS_OBJERR): Likewise.
51694         (BUS_MCEERR_AR): Likewise.
51695         (BUS_MCEERR_AO): Likewise.
51696         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51697         (TRAP_TRACE): Likewise.
51698         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51699         __USE_XOPEN2K8].
51700         (CLD_KILLED): Likewise.
51701         (CLD_DUMPED): Likewise.
51702         (CLD_TRAPPED): Likewise.
51703         (CLD_STOPPED): Likewise.
51704         (CLD_CONTINUED): Likewise.
51705         (POLL_IN): Likewise.
51706         (POLL_OUT): Likewise.
51707         (POLL_MSG): Likewise.
51708         (POLL_ERR): Likewise.
51709         (POLL_PRI): Likewise.
51710         (POLL_HUP): Likewise.
51711         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
51712         (ILL_ILLOPN): Likewise.
51713         (ILL_ILLADR): Likewise.
51714         (ILL_ILLTRP): Likewise.
51715         (ILL_PRVOPC): Likewise.
51716         (ILL_PRVREG): Likewise.
51717         (ILL_COPROC): Likewise.
51718         (ILL_BADSTK): Likewise.
51719         (ILL_DBLFLT): Likewise.
51720         (ILL_HARDWALL): Likewise.
51721         (FPE_INTDIV): Likewise.
51722         (FPE_INTOVF): Likewise.
51723         (FPE_FLTDIV): Likewise.
51724         (FPE_FLTOVF): Likewise.
51725         (FPE_FLTUND): Likewise.
51726         (FPE_FLTRES): Likewise.
51727         (FPE_FLTINV): Likewise.
51728         (FPE_FLTSUB): Likewise.
51729         (SEGV_MAPERR): Likewise.
51730         (SEGV_ACCERR): Likewise.
51731         (BUS_ADRALN): Likewise.
51732         (BUS_ADRERR): Likewise.
51733         (BUS_OBJERR): Likewise.
51734         (BUS_MCEERR_AR): Likewise.
51735         (BUS_MCEERR_AO): Likewise.
51736         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51737         (TRAP_TRACE): Likewise.
51738         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51739         __USE_XOPEN2K8].
51740         (CLD_KILLED): Likewise.
51741         (CLD_DUMPED): Likewise.
51742         (CLD_TRAPPED): Likewise.
51743         (CLD_STOPPED): Likewise.
51744         (CLD_CONTINUED): Likewise.
51745         (POLL_IN): Likewise.
51746         (POLL_OUT): Likewise.
51747         (POLL_MSG): Likewise.
51748         (POLL_ERR): Likewise.
51749         (POLL_PRI): Likewise.
51750         (POLL_HUP): Likewise.
51751         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
51752         (ILL_ILLOPN): Likewise.
51753         (ILL_ILLADR): Likewise.
51754         (ILL_ILLTRP): Likewise.
51755         (ILL_PRVOPC): Likewise.
51756         (ILL_PRVREG): Likewise.
51757         (ILL_COPROC): Likewise.
51758         (ILL_BADSTK): Likewise.
51759         (FPE_INTDIV): Likewise.
51760         (FPE_INTOVF): Likewise.
51761         (FPE_FLTDIV): Likewise.
51762         (FPE_FLTOVF): Likewise.
51763         (FPE_FLTUND): Likewise.
51764         (FPE_FLTRES): Likewise.
51765         (FPE_FLTINV): Likewise.
51766         (FPE_FLTSUB): Likewise.
51767         (SEGV_MAPERR): Likewise.
51768         (SEGV_ACCERR): Likewise.
51769         (BUS_ADRALN): Likewise.
51770         (BUS_ADRERR): Likewise.
51771         (BUS_OBJERR): Likewise.
51772         (BUS_MCEERR_AR): Likewise.
51773         (BUS_MCEERR_AO): Likewise.
51774         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51775         (TRAP_TRACE): Likewise.
51776         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51777         __USE_XOPEN2K8].
51778         (CLD_KILLED): Likewise.
51779         (CLD_DUMPED): Likewise.
51780         (CLD_TRAPPED): Likewise.
51781         (CLD_STOPPED): Likewise.
51782         (CLD_CONTINUED): Likewise.
51783         (POLL_IN): Likewise.
51784         (POLL_OUT): Likewise.
51785         (POLL_MSG): Likewise.
51786         (POLL_ERR): Likewise.
51787         (POLL_PRI): Likewise.
51788         (POLL_HUP): Likewise.
51789         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51790         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51792         [BZ #16670]
51793         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51794         before #include of <time.h>.
51795         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51796         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51797         (test-xfail-UNIX98/sched.h/conform): Likewise.
51799 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51801         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51802         error absence of trapping exception support.
51803         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51805 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51807         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51808         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51809         * timezone/Makefile (testdata): Move definition above include of
51810         Rules.
51811         (test-zones): New variable.
51812         (tests-special): Add zone files.
51813         (build-testdata): Use $(evaluate-test).
51815         * elf/Makefile (tests-special): Rename tests to end with .out.
51816         ($(objpfx)noload-mem): Likewise.
51817         ($(objpfx)tst-leaks1-mem): Likewise.
51818         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51819         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51820         $(objpfx)test-iconvconfig.out.
51821         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51822         set -e inside subshell and redirect output to file.
51823         * iconvdata/Makefile (generated): Rename tests to end with .out.
51824         Correct type.
51825         (tests-special): Rename tests to end with .out.
51826         ($(objpfx)mtrace-tst-loading): Likewise.
51827         * intl/Makefile (generated): Likewise.
51828         (tests-special): Likewise.
51829         ($(objpfx)mtrace-tst-gettext): Likewise.
51830         * misc/Makefile (generated): Likewise.
51831         (tests-special): Likewise.
51832         ($(objpfx)tst-error1-mem): Likewise.
51833         * nptl/Makefile (tests-special): Likewise.
51834         ($(objpfx)tst-stack3-mem): Likewise.
51835         (generated): Likewise.
51836         * posix/Makefile (generated): Likewise.
51837         (tests-special): Likewise.
51838         (xtests-special): Likewise.
51839         ($(objpfx)tst-fnmatch-mem): Likewise.
51840         ($(objpfx)bug-regex2-mem): Likewise.
51841         ($(objpfx)bug-regex14-mem): Likewise.
51842         ($(objpfx)bug-regex21-mem): Likewise.
51843         ($(objpfx)bug-regex31-mem): Likewise.
51844         ($(objpfx)tst-vfork3-mem): Likewise.
51845         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51846         ($(objpfx)tst-pcre-mem): Likewise.
51847         ($(objpfx)tst-boost-mem): Likewise.
51848         ($(objpfx)bug-ga2-mem): Likewise.
51849         ($(objpfx)bug-glob2-mem): Likewise.
51850         * resolv/Makefile (generate): Likewise.
51851         (tests-special): Likewise.
51852         (xtests-special): Likewise.
51853         (generated): Likewise.
51854         ($(objpfx)mtrace-tst-leaks): Likewise.
51855         ($(objpfx)mtrace-tst-leaks2): Likewise.
51857         * scripts/merge-test-results.sh: New file.
51858         * Makefile (tests-special-notdir): New variable.
51859         (tests): Run merge-test-results.sh.
51860         (xtests): Likewise.
51861         * Rules (tests-special-notdir): New variable.
51862         (xtests-special-notdir): Likewise.
51863         (tests): Run merge-test-results.sh
51864         (xtests): Likewise.
51866         * Makeconfig (test-xfail-name): New variable.
51867         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
51868         compute variable name for expected failures.
51869         * conform/Makefile (conformtest-headers-data): New variable.
51870         (conformtest-standards): Likewise.
51871         (conformtest-headers-ISO): Likewise.
51872         (conformtest-headers-ISO99): Likewise.
51873         (conformtest-headers-ISO11): Likewise.
51874         (conformtest-headers-POSIX): Likewise.
51875         (conformtest-headers-XPG3): Likewise.
51876         (conformtest-headers-XPG4): Likewise.
51877         (conformtest-headers-UNIX98): Likewise.
51878         (conformtest-headers-XOPEN2K): Likewise.
51879         (conformtest-headers-POSIX2008): Likewise.
51880         (conformtest-headers-XOPEN2K8): Likewise.
51881         (conformtest-header-list-base): Likewise.
51882         (conformtest-header-list-tests): Likewise.
51883         (conformtest-header-base): Likewise.
51884         (conformtest-header-tests): Likewise.
51885         (tests-special): Add $(conformtest-header-list-tests).  If
51886         [$(fast-check) && !$(cross-compiling)], add
51887         $(conformtest-header-tests) instead of
51888         $(objpfx)run-conformtest.out.
51889         (generated): Add $(conformtest-header-list-base).  If
51890         [$(fast-check) && !$(cross-compiling)], add
51891         $(conformtest-header-base).  Remove previous setting.
51892         ($(conformtest-header-list-tests)): New target.
51893         (test-xfail-run-conformtest): Remove variable.
51894         ($(objpfx)run-conformtest.out): Remove target.
51895         (test-xfail-ISO11/complex.h/conform): New variable.
51896         (test-xfail-ISO11/stdalign.h/conform): Likewise.
51897         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
51898         (test-xfail-XPG3/varargs.h/conform): Likewise.
51899         (test-xfail-XPG4/varargs.h/conform): Likewise.
51900         (test-xfail-UNIX98/varargs.h/conform): Likewise.
51901         (test-xfail-XPG4/ndbm.h/conform): Likewise.
51902         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
51903         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
51904         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51905         (test-xfail-XPG3/fcntl.h/conform): Likewise.
51906         (test-xfail-XPG3/ftw.h/conform): Likewise.
51907         (test-xfail-XPG3/grp.h/conform): Likewise.
51908         (test-xfail-XPG3/langinfo.h/conform): Likewise.
51909         (test-xfail-XPG3/limits.h/conform): Likewise.
51910         (test-xfail-XPG3/pwd.h/conform): Likewise.
51911         (test-xfail-XPG3/search.h/conform): Likewise.
51912         (test-xfail-XPG3/signal.h/conform): Likewise.
51913         (test-xfail-XPG3/stdio.h/conform): Likewise.
51914         (test-xfail-XPG3/stdlib.h/conform): Likewise.
51915         (test-xfail-XPG3/string.h/conform): Likewise.
51916         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
51917         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
51918         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
51919         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
51920         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
51921         (test-xfail-XPG3/sys/types.h/conform): Likewise.
51922         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
51923         (test-xfail-XPG3/termios.h/conform): Likewise.
51924         (test-xfail-XPG3/time.h/conform): Likewise.
51925         (test-xfail-XPG3/unistd.h/conform): Likewise.
51926         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
51927         (test-xfail-XPG4/fcntl.h/conform): Likewise.
51928         (test-xfail-XPG4/langinfo.h/conform): Likewise.
51929         (test-xfail-XPG4/netdb.h/conform): Likewise.
51930         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
51931         (test-xfail-XPG4/signal.h/conform): Likewise.
51932         (test-xfail-XPG4/stdio.h/conform): Likewise.
51933         (test-xfail-XPG4/stdlib.h/conform): Likewise.
51934         (test-xfail-XPG4/stropts.h/conform): Likewise.
51935         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
51936         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
51937         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
51938         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
51939         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
51940         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
51941         (test-xfail-XPG4/sys/time.h/conform): Likewise.
51942         (test-xfail-XPG4/sys/types.h/conform): Likewise.
51943         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
51944         (test-xfail-XPG4/termios.h/conform): Likewise.
51945         (test-xfail-XPG4/ucontext.h/conform): Likewise.
51946         (test-xfail-XPG4/unistd.h/conform): Likewise.
51947         (test-xfail-XPG4/utmpx.h/conform): Likewise.
51948         (test-xfail-POSIX/sched.h/conform): Likewise.
51949         (test-xfail-POSIX/signal.h/conform): Likewise.
51950         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51951         (test-xfail-POSIX/tar.h/conform): Likewise.
51952         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
51953         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
51954         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
51955         (test-xfail-UNIX98/netdb.h/conform): Likewise.
51956         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
51957         (test-xfail-UNIX98/sched.h/conform): Likewise.
51958         (test-xfail-UNIX98/signal.h/conform): Likewise.
51959         (test-xfail-UNIX98/stdio.h/conform): Likewise.
51960         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
51961         (test-xfail-UNIX98/stropts.h/conform): Likewise.
51962         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
51963         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
51964         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
51965         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
51966         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
51967         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
51968         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
51969         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
51970         (test-xfail-UNIX98/unistd.h/conform): Likewise.
51971         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
51972         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
51973         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
51974         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
51975         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
51976         (test-xfail-XOPEN2K/math.h/conform): Likewise.
51977         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
51978         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
51979         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
51980         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
51981         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
51982         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
51983         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
51984         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51985         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
51986         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
51987         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
51988         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
51989         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
51990         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
51991         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
51992         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
51993         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
51994         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
51995         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
51996         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
51997         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
51998         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
51999         (test-xfail-POSIX2008/signal.h/conform): Likewise.
52000         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
52001         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
52002         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
52003         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
52004         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
52005         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
52006         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
52007         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
52008         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
52009         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
52010         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
52011         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
52012         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
52013         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
52014         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
52015         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
52016         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
52017         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
52018         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
52019         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
52020         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
52021         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
52022         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
52023         (conformtest-cc-flags): Likewise.
52024         ($(conformtest-header-tests): New target.
52025         * conform/check-header-lists.sh: New file.
52026         * conform/run-conformtest.sh: Remove.
52028         * conform/conformtest.pl: Allow ' and \ in values given for
52029         constants.
52030         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
52031         inclusion.
52032         [POSIX] (sys/types.h): Likewise.
52033         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
52034         inclusion.
52035         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
52036         inclusion.
52037         * conform/data/signal.h-data (SIGIO): Remove expectation.
52038         [XPG3] (SIGBUS): Do not expect.
52039         [POSIX || XPG3] (SIGPOLL): Likewise.
52040         [POSIX || XPG3] (SIGPROF): Likewise.
52041         [POSIX || XPG3] (SIGSYS): Likewise.
52042         [XPG3] (SIGTRAP): Likewise.
52043         [POSIX || XPG3] (SIGURG): Likewise.
52044         [POSIX || XPG3] (SIGVTALRM): Likewise.
52045         [POSIX || XPG3] (SIGXCPU): Likewise.
52046         [POSIX || XPG3] (SIGXFSZ): Likewise.
52047         [POSIX] (SA_SIGINFO): Expect.
52048         [XPG3] (siginfo_t): Do not expect type or contents.
52049         [POSIX] (si_pid): Do not expect element.
52050         [POSIX] (si_uid): Likewise.
52051         [POSIX] (si_addr): Likewise.
52052         [POSIX] (si_status): Likewise.
52053         [POSIX] (si_band): Likewise.
52054         [XPG4] (si_value): Likewise.
52055         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
52056         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
52057         [POSIX || XPG3] (ILL_ILLADR): Likewise.
52058         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
52059         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
52060         [POSIX || XPG3] (ILL_PRVREG): Likewise.
52061         [POSIX || XPG3] (ILL_COPROC): Likewise.
52062         [POSIX || XPG3] (ILL_BADSTK): Likewise.
52063         [POSIX || XPG3] (FPE_INTDIV): Likewise.
52064         [POSIX || XPG3] (FPE_INTOVF): Likewise.
52065         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
52066         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
52067         [POSIX || XPG3] (FPE_FLTUND): Likewise.
52068         [POSIX || XPG3] (FPE_FLTRES): Likewise.
52069         [POSIX || XPG3] (FPE_FLTINV): Likewise.
52070         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
52071         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
52072         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
52073         [POSIX || XPG3] (BUS_ADRALN): Likewise.
52074         [POSIX || XPG3] (BUS_ADRERR): Likewise.
52075         [POSIX || XPG3] (BUS_OBJERR): Likewise.
52076         [POSIX || XPG3] (CLD_EXITED): Likewise.
52077         [POSIX || XPG3] (CLD_KILLED): Likewise.
52078         [POSIX || XPG3] (CLD_DUMPED): Likewise.
52079         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
52080         [POSIX || XPG3] (CLD_STOPPED): Likewise.
52081         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
52082         [POSIX || XPG3] (POLL_IN): Likewise.
52083         [POSIX || XPG3] (POLL_OUT): Likewise.
52084         [POSIX || XPG3] (POLL_MSG): Likewise.
52085         [POSIX || XPG3] (POLL_ERR): Likewise.
52086         [POSIX || XPG3] (POLL_PRI): Likewise.
52087         [POSIX || XPG3] (POLL_HUP): Likewise.
52088         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
52089         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
52090         (SIG*): Do not allow.
52091         [XPG3] (si_*): Likewise.
52092         [XPG3] (SI_*): Likewise.
52093         [XPG3 || XPG4] (sigev_*): Likewise.
52094         [XPG3 || XPG4] (SIGEV_*): Likewise.
52095         [XPG3 || XPG4] (sival_*): Likewise.
52096         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
52097         [POSIX || XPG3] (BUS_*): Likewise.
52098         [POSIX || XPG3] (CLD_*): Likewise.
52099         [POSIX || XPG3] (FPE_*): Likewise.
52100         [POSIX || XPG3] (ILL_*): Likewise.
52101         [POSIX || XPG3] (POLL_*): Likewise.
52102         [POSIX || XPG3] (SEGV_*): Likewise.
52103         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
52104         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
52105         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
52106         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
52107         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
52108         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
52109         Specify type and value.
52110         (TVERSLEN): Likewise.
52111         (REGTYPE): Likewise.
52112         (AREGTYPE): Likewise.
52113         (LNKTYPE): Likewise.
52114         (SYMTYPE): Likewise.
52115         (CHRTYPE): Likewise.
52116         (BLKTYPE): Likewise.
52117         (DIRTYPE): Likewise.
52118         (FIFOTYPE): Likewise.
52119         (CONTTYPE): Likewise.
52120         (TSUID): Likewise.
52121         (TSGID): Likewise.
52122         (TSVTX): Likewise.
52123         (TUREAD): Likewise.
52124         (TUWRITE): Likewise.
52125         (TUEXEC): Likewise.
52126         (TGREAD): Likewise.
52127         (TGWRITE): Likewise.
52128         (TGEXEC): Likewise.
52129         (TOREAD): Likewise.
52130         (TOWRITE): Likewise.
52131         (TOEXEC): Likewise.
52132         [POSIX] (TSVTX): Expect constant.
52134 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
52136         * Makefile (tests): Change dependencies to ....
52137         (tests-special): ... additions to this variable.
52138         (tests): Depend on $(tests-special).
52139         * Makerules (check-abi-list): New variable.
52140         (check-abi): Depend on $(check-abi-list).
52141         [$(subdir) = elf] (tests-special): Add
52142         $(objpfx)check-abi-libc.out.
52143         [$(build-shared) = yes && subdir] (tests-special): Add
52144         $(check-abi-list).
52145         [$(build-shared) = yes && subdir] (tests): Do not depend on
52146         check-abi.
52147         * Rules (tests): Depend on $(tests-special).
52148         (xtests): Depend on $(xtests-special).
52149         * catgets/Makefile (tests): Change dependencies to ....
52150         (tests-special): ... additions to this variable.
52151         * conform/Makefile (tests): Change dependencies to ....
52152         (tests-special): ... additions to this variable.
52153         * elf/Makefile (tests): Change dependencies to ....
52154         (tests-special): ... additions to this variable.
52155         * grp/Makefile (tests): Change dependencies to ....
52156         (tests-special): ... additions to this variable.
52157         * iconv/Makefile (xtests): Change dependencies to ....
52158         (xtests-special): ... additions to this variable.
52159         * iconvdata/Makefile (tests): Change dependencies to ....
52160         (tests-special): ... additions to this variable.
52161         * intl/Makefile (tests): Change dependencies to ....
52162         (tests-special): ... additions to this variable.  Also add
52163         $(objpfx)tst-gettext.out.
52164         * io/Makefile (tests): Change dependencies to ....
52165         (tests-special): ... additions to this variable.
52166         * libio/Makefile (tests): Change dependencies to ....
52167         (tests-special): ... additions to this variable.
52168         * malloc/Makefile (tests): Change dependencies to ....
52169         (tests-special): ... additions to this variable.
52170         * misc/Makefile (tests): Change dependencies to ....
52171         (tests-special): ... additions to this variable.
52172         * nptl/Makefile (tests): Change dependencies to ....
52173         (tests-special): ... additions to this variable.
52174         * nptl_db/Makefile (tests): Change dependencies to ....
52175         (tests-special): ... additions to this variable.
52176         * posix/Makefile (tests): Change dependencies to ....
52177         (tests-special): ... additions to this variable.
52178         (xtests): Change dependencies to ....
52179         (xtests-special): ... additions to this variable.
52180         * resolv/Makefile (tests): Change dependencies to ....
52181         (tests-special): ... additions to this variable.
52182         (xtests): Change dependencies to ....
52183         (xtests-special): ... additions to this variable.
52184         * stdio-common/Makefile (tests): Change dependencies to ....
52185         (tests-special): ... additions to this variable.
52186         (do-tst-unbputc): Remove target.
52187         (do-tst-printf): Likewise.
52188         * stdlib/Makefile (tests): Change dependencies to ....
52189         (tests-special): ... additions to this variable.
52190         * string/Makefile (tests): Change dependencies to ....
52191         (tests-special): ... additions to this variable.
52192         * sysdeps/x86/Makefile (tests): Change dependencies to ....
52193         (tests-special): ... additions to this variable.
52195         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52196         whole file.
52197         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52198         whole file.
52199         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52200         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52202         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52203         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52204         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52205         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52206         * conform/data/libgen.h-data [XPG3]: Likewise.
52207         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52208         * conform/data/ndbm.h-data [XPG3]: Likewise.
52209         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52210         * conform/data/netdb.h-data [XPG3]: Likewise.
52211         * conform/data/netinet/in.h-data [XPG3]: Likewise.
52212         * conform/data/poll.h-data [XPG3]: Likewise.
52213         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52214         * conform/data/strings.h-data [XPG3]: Likewise.
52215         * conform/data/stropts.h-data [XPG3]: Likewise.
52216         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52217         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52218         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52219         Likewise.
52220         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52221         * conform/data/sys/time.h-data [XPG3]: Likewise.
52222         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52223         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52224         * conform/data/sys/un.h-data [XPG3]: Likewise.
52225         * conform/data/syslog.h-data [XPG3]: Likewise.
52226         * conform/data/ucontext.h-data [XPG3]: Likewise.
52227         * conform/data/utmpx.h-data [XPG3]: Likewise.
52228         * conform/data/varargs.h-data [UNIX98]: Enable file.
52230         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52232         * math/libm-test.inc (struct test_f_f_data): Move expected results
52233         into structure for each rounding mode.
52234         (struct test_ff_f_data): Likewise.
52235         (struct test_ff_f_data_nexttoward): Likewise.
52236         (struct test_fi_f_data): Likewise.
52237         (struct test_fl_f_data): Likewise.
52238         (struct test_if_f_data): Likewise.
52239         (struct test_fff_f_data): Likewise.
52240         (struct test_c_f_data): Likewise.
52241         (struct test_f_f1_data): Likewise.
52242         (struct test_fF_f1_data): Likewise.
52243         (struct test_ffI_f1_data): Likewise.
52244         (struct test_c_c_data): Likewise.
52245         (struct test_cc_c_data): Likewise.
52246         (struct test_f_i_data): Likewise.
52247         (struct test_ff_i_data): Likewise.
52248         (struct test_f_l_data): Likewise.
52249         (struct test_f_L_data): Likewise.
52250         (struct test_fFF_11_data): Likewise.
52251         (RM_): New macro.
52252         (RM_FE_DOWNWARD): Likewise.
52253         (RM_FE_TONEAREST): Likewise.
52254         (RM_FE_TOWARDZERO): Likewise.
52255         (RM_FE_UPWARD): Likewise.
52256         (RUN_TEST_LOOP_f_f): Update references to expected results.
52257         (RUN_TEST_LOOP_2_f): Likewise.
52258         (RUN_TEST_LOOP_fff_f): Likewise.
52259         (RUN_TEST_LOOP_c_f): Likewise.
52260         (RUN_TEST_LOOP_f_f1): Likewise.
52261         (RUN_TEST_LOOP_fF_f1): Likewise.
52262         (RUN_TEST_LOOP_fI_f1): Likewise.
52263         (RUN_TEST_LOOP_ffI_f1): Likewise.
52264         (RUN_TEST_LOOP_c_c): Likewise.
52265         (RUN_TEST_LOOP_cc_c): Likewise.
52266         (RUN_TEST_LOOP_f_i): Likewise.
52267         (RUN_TEST_LOOP_f_i_tg): Likewise.
52268         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52269         (RUN_TEST_LOOP_f_b): Likewise.
52270         (RUN_TEST_LOOP_f_b_tg): Likewise.
52271         (RUN_TEST_LOOP_f_l): Likewise.
52272         (RUN_TEST_LOOP_f_L): Likewise.
52273         (RUN_TEST_LOOP_fFF_11): Likewise.
52274         * math/gen-libm-test.pl (parse_args): Output four copies of
52275         expected results for each test.
52277         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52278         (__ASSUME_UTIMES): Remove.
52279         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52280         (__ASSUME_UTIMES): Likewise.
52282         * math/gen-auto-libm-tests.c: Update comment on output format.
52283         (output_for_one_input_case): Generate before-rounding and
52284         after-rounding information as conditions on output flags not
52285         floating-point format.
52286         * math/auto-libm-test-out: Regenerated.
52287         * math/gen-libm-test.pl (cond_value): New function.
52288         (or_cond_value): Use cond_value.
52289         (generate_testfile): Handle conditional exceptions.
52291 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52293         * math/libm-test.inc (max_valid_error): New variable.
52294         (init_max_error): Take new argument specifying whether function
52295         results are exactly determined.  Set max_valid_error and bound
52296         other variables for errors based on this argument.
52297         (set_max_error): Do not record results above max_valid_error.
52298         (check_float_internal): Only accept errors of up to 0.5ulps if
52299         also at most max_valid_error.
52300         (START): Take new argument EXACT and pass it to init_max_error.
52301         (acos_test): Update call to START.
52302         (acos_test_tonearest): Likewise.
52303         (acos_test_towardzero): Likewise.
52304         (acos_test_downward): Likewise.
52305         (acos_test_upward): Likewise.
52306         (acosh_test): Likewise.
52307         (asin_test): Likewise.
52308         (asin_test_tonearest): Likewise.
52309         (asin_test_towardzero): Likewise.
52310         (asin_test_downward): Likewise.
52311         (asin_test_upward): Likewise.
52312         (asinh_test): Likewise.
52313         (atan_test): Likewise.
52314         (atanh_test): Likewise.
52315         (atan2_test): Likewise.
52316         (cabs_test): Likewise.
52317         (cacos_test): Likewise.
52318         (cacosh_test): Likewise.
52319         (carg_test): Likewise.
52320         (casin_test): Likewise.
52321         (casinh_test): Likewise.
52322         (catan_test): Likewise.
52323         (catanh_test): Likewise.
52324         (cbrt_test): Likewise.
52325         (ccos_test): Likewise.
52326         (ccosh_test): Likewise.
52327         (ceil_test): Likewise.
52328         (cexp_test): Likewise.
52329         (cimag_test): Likewise.
52330         (clog_test): Likewise.
52331         (clog10_test): Likewise.
52332         (conj_test): Likewise.
52333         (copysign_test): Likewise.
52334         (cos_test): Likewise.
52335         (cos_test_tonearest): Likewise.
52336         (cos_test_towardzero): Likewise.
52337         (cos_test_downward): Likewise.
52338         (cos_test_upward): Likewise.
52339         (cosh_test): Likewise.
52340         (cosh_test_tonearest): Likewise.
52341         (cosh_test_towardzero): Likewise.
52342         (cosh_test_downward): Likewise.
52343         (cosh_test_upward): Likewise.
52344         (cpow_test): Likewise.
52345         (cproj_test): Likewise.
52346         (creal_test): Likewise.
52347         (csin_test): Likewise.
52348         (csinh_test): Likewise.
52349         (csqrt_test): Likewise.
52350         (ctan_test): Likewise.
52351         (ctan_test_tonearest): Likewise.
52352         (ctan_test_towardzero): Likewise.
52353         (ctan_test_downward): Likewise.
52354         (ctan_test_upward): Likewise.
52355         (ctanh_test): Likewise.
52356         (ctanh_test_tonearest): Likewise.
52357         (ctanh_test_towardzero): Likewise.
52358         (ctanh_test_downward): Likewise.
52359         (ctanh_test_upward): Likewise.
52360         (erf_test): Likewise.
52361         (erfc_test): Likewise.
52362         (exp_test): Likewise.
52363         (exp_test_tonearest): Likewise.
52364         (exp_test_towardzero): Likewise.
52365         (exp_test_downward): Likewise.
52366         (exp_test_upward): Likewise.
52367         (exp10_test): Likewise.
52368         (exp10_test_tonearest): Likewise.
52369         (exp10_test_towardzero): Likewise.
52370         (exp10_test_downward): Likewise.
52371         (exp10_test_upward): Likewise.
52372         (pow10_test): Likewise.
52373         (exp2_test): Likewise.
52374         (expm1_test): Likewise.
52375         (expm1_test_tonearest): Likewise.
52376         (expm1_test_towardzero): Likewise.
52377         (expm1_test_downward): Likewise.
52378         (expm1_test_upward): Likewise.
52379         (fabs_test): Likewise.
52380         (fdim_test): Likewise.
52381         (floor_test): Likewise.
52382         (fma_test): Likewise.
52383         (fma_test_towardzero): Likewise.
52384         (fma_test_downward): Likewise.
52385         (fma_test_upward): Likewise.
52386         (fmax_test): Likewise.
52387         (fmin_test): Likewise.
52388         (fmod_test): Likewise.
52389         (fpclassify_test): Likewise.
52390         (frexp_test): Likewise.
52391         (hypot_test): Likewise.
52392         (ilogb_test): Likewise.
52393         (isfinite_test): Likewise.
52394         (finite_test): Likewise.
52395         (isgreater_test): Likewise.
52396         (isgreaterequal_test): Likewise.
52397         (isinf_test): Likewise.
52398         (isless_test): Likewise.
52399         (islessequal_test): Likewise.
52400         (islessgreater_test): Likewise.
52401         (isnan_test): Likewise.
52402         (isnormal_test): Likewise.
52403         (issignaling_test): Likewise.
52404         (isunordered_test): Likewise.
52405         (j0_test): Likewise.
52406         (j1_test): Likewise.
52407         (jn_test): Likewise.
52408         (ldexp_test): Likewise.
52409         (lgamma_test): Likewise.
52410         (gamma_test): Likewise.
52411         (lrint_test): Likewise.
52412         (lrint_test_tonearest): Likewise.
52413         (lrint_test_towardzero): Likewise.
52414         (lrint_test_downward): Likewise.
52415         (lrint_test_upward): Likewise.
52416         (llrint_test): Likewise.
52417         (llrint_test_tonearest): Likewise.
52418         (llrint_test_towardzero): Likewise.
52419         (llrint_test_downward): Likewise.
52420         (llrint_test_upward): Likewise.
52421         (log_test): Likewise.
52422         (log10_test): Likewise.
52423         (log1p_test): Likewise.
52424         (log2_test): Likewise.
52425         (logb_test): Likewise.
52426         (logb_test_downward): Likewise.
52427         (lround_test): Likewise.
52428         (llround_test): Likewise.
52429         (modf_test): Likewise.
52430         (nearbyint_test): Likewise.
52431         (nextafter_test): Likewise.
52432         (nexttoward_test): Likewise.
52433         (pow_test): Likewise.
52434         (pow_test_tonearest): Likewise.
52435         (pow_test_towardzero): Likewise.
52436         (pow_test_downward): Likewise.
52437         (pow_test_upward): Likewise.
52438         (remainder_test): Likewise.
52439         (drem_test): Likewise.
52440         (remainder_test_tonearest): Likewise.
52441         (drem_test_tonearest): Likewise.
52442         (remainder_test_towardzero): Likewise.
52443         (drem_test_towardzero): Likewise.
52444         (remainder_test_downward): Likewise.
52445         (drem_test_downward): Likewise.
52446         (remainder_test_upward): Likewise.
52447         (drem_test_upward): Likewise.
52448         (remquo_test): Likewise.
52449         (rint_test): Likewise.
52450         (rint_test_tonearest): Likewise.
52451         (rint_test_towardzero): Likewise.
52452         (rint_test_downward): Likewise.
52453         (rint_test_upward): Likewise.
52454         (round_test): Likewise.
52455         (scalb_test): Likewise.
52456         (scalbn_test): Likewise.
52457         (scalbln_test): Likewise.
52458         (signbit_test): Likewise.
52459         (sin_test): Likewise.
52460         (sin_test_tonearest): Likewise.
52461         (sin_test_towardzero): Likewise.
52462         (sin_test_downward): Likewise.
52463         (sin_test_upward): Likewise.
52464         (sincos_test): Likewise.
52465         (sinh_test): Likewise.
52466         (sinh_test_tonearest): Likewise.
52467         (sinh_test_towardzero): Likewise.
52468         (sinh_test_downward): Likewise.
52469         (sinh_test_upward): Likewise.
52470         (sqrt_test): Likewise.
52471         (sqrt_test_tonearest): Likewise.
52472         (sqrt_test_towardzero): Likewise.
52473         (sqrt_test_downward): Likewise.
52474         (sqrt_test_upward): Likewise.
52475         (tan_test): Likewise.
52476         (tan_test_tonearest): Likewise.
52477         (tan_test_towardzero): Likewise.
52478         (tan_test_downward): Likewise.
52479         (tan_test_upward): Likewise.
52480         (tanh_test): Likewise.
52481         (tgamma_test): Likewise.
52482         (trunc_test): Likewise.
52483         (y0_test): Likewise.
52484         (y1_test): Likewise.
52485         (yn_test): Likewise.
52486         (significand_test): Likewise.
52488         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
52489         individual tests in comment.
52490         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
52491         (prev_max_error): New variable.
52492         (prev_real_max_error): Likewise.
52493         (prev_imag_max_error): Likewise.
52494         (compare_ulp_data): Don't refer to test names in comment.
52495         (find_test_ulps): Remove function.
52496         (find_function_ulps): Likewise.
52497         (find_complex_function_ulps): Likewise.
52498         (init_max_error): Take function name as argument.  Look up ulps
52499         for that function.
52500         (print_ulps): Remove function.
52501         (print_max_error): Use prev_max_error instead of calling
52502         find_function_ulps.
52503         (print_complex_max_error): Use prev_real_max_error and
52504         prev_imag_max_error instead of calling find_complex_function_ulps.
52505         (check_float_internal): Take max_ulp parameter instead of calling
52506         find_test_ulps.  Don't call print_ulps.
52507         (check_float): Update call to check_float_internal.
52508         (check_complex): Update calls to check_float_internal.
52509         (START): Pass argument to init_max_error.
52510         * math/gen-libm-test.pl (%results): Don't include "kind"
52511         information.
52512         (parse_ulps): Don't handle ulps of individual tests.
52513         (print_ulps_file): Likewise.
52514         (output_ulps): Likewise.
52515         * math/README.libm-test: Update.
52516         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
52517         individual tests.
52518         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
52519         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
52520         * sysdeps/arm/libm-test-ulps: Likewise.
52521         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
52522         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
52523         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
52524         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
52525         * sysdeps/microblaze/libm-test-ulps: Likewise.
52526         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
52527         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
52528         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52529         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
52530         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52531         * sysdeps/sh/libm-test-ulps: Likewise.
52532         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52533         * sysdeps/tile/libm-test-ulps: Likewise.
52534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52536 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
52538         * math/libm-test.inc (print_complex_max_error): Check separately
52539         whether real and imaginary errors are within allowed range and
52540         pass 0 to print_complex_function_ulps instead of value within
52541         allowed range.
52543 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52545         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
52546         formatting.
52547         (get_handles_fopen): Likewise.
52548         (do_write_test): Likewise.
52550         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
52552         * libio/fileops.c (do_ftell): Use cached offset when
52553         available.
52554         * libio/iofwide.c (do_ftell_wide): Likewise.
52555         * libio/iofdopen.c (_IO_new_fdopen): Don't use
52556         _IO_file_attach.
52557         * libio/wfileops.c (_IO_fwide): Don't cache offset.
52559         [BZ #16532]
52560         * libio/libioP.h (get_file_offset): New function.
52561         * libio/fileops.c (get_file_offset): Likewise.
52562         (do_ftell): Likewise.
52563         (_IO_new_file_seekoff): Split out ftell logic.
52564         * libio/wfileops.c (do_ftell_wide): Likewise.
52565         (_IO_wfile_seekoff): Split out ftell logic.
52566         * libio/tst-ftell-active-handler.c: New test case.
52567         * libio/Makefile (tests): Add it.
52569 2014-03-03  Roland McGrath  <roland@hack.frob.com>
52571         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
52572         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
52574 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52576         [BZ #16639]
52577         * nscd/connections.c (nscd_init): Call do_exit.
52578         (start_threads): Call do_exit and notify_parent.
52579         (begin_drop_privileges): Call do_exit.
52580         (finish_drop_privileges): Likewise.
52581         * nscd/selinux.c (preserve_capabilities): Likewise.
52582         (install_real_capabilities): Likewise.
52583         (nscd_selinux_enabled): Likewise.
52584         (avc_create_thread): Likewise.
52585         (avc_alloc_lock): Likewise.
52586         (nscd_avc_init): Likewise.
52587         * nscd/nscd.c (parent_fd): New static variable.
52588         (main): Create a pipe between parent and child processes.
52589         Skip closing parent_fd.
52590         (monitor_child): New function.
52591         (do_exit): Likewise.
52592         (notify_parent): Likewise.
52593         * nscd/nscd.h (notify_parent): Likewise.
52594         (do_exit): Likewise.
52596 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
52598         * malloc/malloc.c (__libc_calloc): Revert last change.
52600 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52604 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52606         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
52607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
52608         implementation.
52609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52610         (__libc_ifunc_impl_list): Likewise.
52611         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
52612         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
52613         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
52614         * string/strrchr.c: Define STRRCHR.
52616 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
52618         * benchtest/bench-strtok.c (simple_strtok): Delete.
52619         (strtok_string): Use as benchmark.
52620         * string/strtok (STRTOK): New macro.
52622 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
52624         * manual/threads.texi: Add header and standard comments to all
52625         functions.
52627         * elf/dl-lookup.c (check_match): New function.
52628         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
52629         (do_lookup_x): Remove nested function check_match. Use non-nested
52630         function check_match.
52632 2014-02-28  Roland McGrath  <roland@hack.frob.com>
52634         * csu/Makefile (generated, before-compile): Use += rather than =.
52635         * catgets/Makefile (generated, generated-dirs): Likewise.
52636         * debug/Makefile (generated): Likewise.
52637         * dlfcn/Makefile (generated): Likewise.
52638         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
52639         * iconvdata/Makefile (before-compile, generated): Likewise.
52640         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
52641         * libio/Makefile (generated): Likewise.
52642         * malloc/Makefile (generated): Likewise.
52643         * manual/Makefile (generated, generated-dirs): Likewise.
52644         * misc/Makefile (generated): Likewise.
52645         * posix/Makefile (generated): Likewise.
52646         * resolv/Makefile (generated): Likewise.
52647         * sunrpc/Makefile (generated, generated-dirs): Likewise.
52648         * timezone/Makefile (generated, generated-dirs): Likewise.
52650         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
52652 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52654         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52655         power8 implementation.
52656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
52657         file: POWER8 llround ifunc implementation.
52658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
52659         (__lllround): Add POWER8 implementation.
52660         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
52661         POWER8 llround implementation.
52663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
52664         power8 implementation.
52665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
52666         file: POWER8 llrint ifunc implementation.
52667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
52668         Add POWER8 implementation.
52669         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
52670         POWER8 llrint implementation.
52672         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
52673         power8 implementation.
52674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
52675         file: POWER8 finite ifunc implementation.
52676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
52677         Add POWER8 implementation.
52678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
52679         Likewise.
52680         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
52681         POWER8 finite implementation.
52682         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
52684         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
52685         power8 implementation.
52686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
52687         file: POWER8 isinf ifunc implementation.
52688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
52689         POWER8 implementation.
52690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
52691         Likewise.
52692         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
52693         isinf implementation.
52694         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
52696         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
52697         (INIT_ARCH): Add hwcap2 initialization.
52698         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52699         power8 implementation.
52700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
52701         file: POWER8 isnan ifunc implementation.
52702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
52703         POWER8 implementation.
52704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
52705         Likewise.
52706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
52707         isnan implementation.
52708         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
52710 2014-02-27  Joey Ye  <joey.ye@arm.com>
52712         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52713         (_FP_NANFRAC_Q): Set to zero.
52715 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52717         [BZ #16623]
52718         * math/auto-libm-test-in: New test inputs.
52719         * math/auto-libm-test-out: Regenerate.
52720         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
52721         and DA.
52722         (__cos): Likewise.
52723         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52725 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
52727         * scripts/evaluate-test.sh: Take new argument indicating whether
52728         failure is expected.
52729         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
52730         indicating whether failure is expected.
52731         * conform/Makefile (test-xfail-run-conformtest): New variable.
52732         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
52733         level.
52734         * posix/Makefile (test-xfail-annexc): New variable.
52735         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
52737 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
52739         * argp/Makefile: Include Makeconfig immediately after defining
52740         subdir.
52741         * assert/Makefile: Likewise.
52742         * benchtests/Makefile: Likewise.
52743         * catgets/Makefile: Likewise.
52744         * conform/Makefile: Likewise.
52745         * crypt/Makefile: Likewise.
52746         * csu/Makefile: Likewise.
52747         (all): Remove target.
52748         * ctype/Makefile: Include Makeconfig immediately after defining
52749         subdir.
52750         * debug/Makefile: Likewise.
52751         * dirent/Makefile: Likewise.
52752         * dlfcn/Makefile: Likewise.
52753         * gmon/Makefile: Likewise.
52754         * gnulib/Makefile: Likewise.
52755         * grp/Makefile: Likewise.
52756         * gshadow/Makefile: Likewise.
52757         * hesiod/Makefile: Likewise.
52758         * hurd/Makefile: Likewise.
52759         (all): Remove target.
52760         * iconvdata/Makefile: Include Makeconfig immediately after
52761         defining subdir.
52762         * inet/Makefile: Likewise.
52763         * intl/Makefile: Likewise.
52764         * io/Makefile: Likewise.
52765         * libio/Makefile: Likewise.
52766         (all): Remove target.
52767         * locale/Makefile: Include Makeconfig immediately after defining
52768         subdir.
52769         * login/Makefile: Likewise.
52770         * mach/Makefile: Likewise.
52771         (all): Remove target.
52772         * malloc/Makefile: Include Makeconfig immediately after defining
52773         subdir.
52774         (all): Remove target.
52775         * manual/Makefile: Include Makeconfig immediately after defining
52776         subdir.
52777         * math/Makefile: Likewise.
52778         * misc/Makefile: Likewise.
52779         * nis/Makefile: Likewise.
52780         * nss/Makefile: Likewise.
52781         * po/Makefile: Likewise.
52782         (all): Remove target.
52783         * posix/Makefile: Include Makeconfig immediately after defining
52784         subdir.
52785         * pwd/Makefile: Likewise.
52786         * resolv/Makefile: Likewise.
52787         * resource/Makefile: Likewise.
52788         * rt/Makefile: Likewise.
52789         * setjmp/Makefile: Likewise.
52790         * shadow/Makefile: Likewise.
52791         * signal/Makefile: Likewise.
52792         * socket/Makefile: Likewise.
52793         * soft-fp/Makefile: Likewise.
52794         * stdio-common/Makefile: Likewise.
52795         * stdlib/Makefile: Likewise.
52796         * streams/Makefile: Likewise.
52797         * string/Makefile: Likewise.
52798         * sunrpc/Makefile: Likewise.
52799         (all): Remove target.
52800         * sysvipc/Makefile: Include Makeconfig immediately after defining
52801         subdir.
52802         * termios/Makefile: Likewise.
52803         * time/Makefile: Likewise.
52804         * timezone/Makefile: Likewise.
52805         (all): Remove target.
52806         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52807         subdir.
52808         * wctype/Makefile: Likewise.
52810 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52812         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52813         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52814         (libc_feholdexcept_setround_mips): Ditto.
52815         (libc_feholdsetround): New.
52816         (libc_feholdsetroundf): New.
52817         (libc_feholdsetroundl): New.
52818         (libc_feupdateenv_test_mips): New.
52819         (libc_feupdateenv_test): New.
52820         (libc_feupdateenv_testf): New.
52821         (libc_feupdateenv_testl): New.
52822         (libc_feresetround): New.
52823         (libc_feresetroundf): New.
52824         (libc_feresetroundl): New.
52825         (libc_fetestexcept_mips): New.
52826         (libc_fetestexcept): New.
52827         (libc_fetestexceptf): New.
52828         (libc_fetestexceptl): New.
52829         (HAVE_RM_CTX): New.
52830         (libc_feholdexcept_setround_mips_ctx): New.
52831         (libc_feholdexcept_setround_ctx): New.
52832         (libc_feholdexcept_setroundf_ctx): New.
52833         (libc_feholdexcept_setroundl_ctx): New.
52834         (libc_fesetenv_mips_ctx): New.
52835         (libc_fesetenv_ctx): New.
52836         (libc_fesetenv_ctxf): New.
52837         (libc_fesetenv_ctxl): New.
52838         (libc_feupdateenv_mips_ctx): New.
52839         (libc_feupdateenv_ctx): New.
52840         (libc_feupdateenvf_ctx): New.
52841         (libc_feupdateenvl_ctx): New.
52842         (libc_feholdsetround_mips_ctx): New.
52843         (libc_feholdsetround_ctx): New.
52844         (libc_feholdsetroundf_ctx): New.
52845         (libc_feholdsetroundl_ctx): New.
52846         (libc_feresetround_mips_ctx): New.
52847         (libc_feresetround_ctx): New.
52848         (libc_feresetroundf_ctx): New.
52849         (libc_feresetroundl_ctx): New.
52851 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
52853         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
52855         * manual/ipc.texi: New file.
52856         * manual/Makefile (chapters): Add ipc.
52857         * manual/job.texi: Add "Inter-Process Communication" to next.
52858         * manual/process.texi: Add "Inter-Process Communication" to prev.
52860 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52864 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
52866         * malloc/malloc.c (__libc_calloc): Simplify implementation.
52868         * manual/arith.texi: Fix spaces after sentences.
52869         * manual/charset.texi: Likewise.
52870         * manual/errno.texi: Likewise.
52871         * manual/install.texi: Likewise.
52872         * manual/llio.texi: Likewise.
52873         * manual/locale.texi: Likewise.
52874         * manual/maint.texi: Likewise.
52875         * manual/math.texi: Likewise.
52876         * manual/memory.texi: Likewise.
52877         * manual/message.texi: Likewise.
52878         * manual/probes.texi: Likewise.
52879         * manual/resource.texi: Likewise.
52880         * manual/signal.texi: Likewise.
52881         * manual/socket.texi: Likewise.
52882         * manual/stdio.texi: Likewise.
52883         * manual/string.texi: Likewise.
52884         * manual/time.texi: Likewise.
52885         * manual/users.texi: Likewise.
52887 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
52889         [BZ #16632]
52890         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
52891         _DEFAULT_SOURCE is defined.
52893 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
52894             Carlos O'Donell  <carlos@redhat.com>
52896         [BZ #16613]
52897         * elf/dl-tls.c (_dl_count_modids): New function.
52898         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
52899         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
52900         audit library and increment generation counter.
52901         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
52902         * elf/tst-audit9.c: New file.
52903         * elf/tst-auditmod9a.c: New file.
52904         * elf/tst-auditmod9b.c: New file.
52905         * elf/Makefile: Add rules to build and run tst-audit9.
52907 2014-02-25  Florian Weimer  <fweimer@redhat.com>
52909         [BZ #15347]
52910         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
52912 2014-02-25  Will Newton  <will.newton@linaro.org>
52914         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
52915         (__longjmp): Restore sp and lr before restoring callee
52916         saved registers.  Add longjmp and longjmp_target
52917         SystemTap probe point.
52918         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
52919         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
52920         Define to zero to match jmpbuf layout.
52921         * sysdeps/arm/setjmp.S: Include stap-probe.h.
52922         (__sigsetjmp): Save sp and lr before saving callee
52923         saved registers.  Add setjmp SystemTap probe point.
52925 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
52927         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52929 2014-02-24  Andreas Schwab  <schwab@suse.de>
52931         [BZ #15804]
52932         * elf/pldd.c (wait_for_ptrace_stop): New function.
52933         (main): Call it after attaching.
52935 2014-02-22  Roland McGrath  <roland@hack.frob.com>
52937         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52938         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
52939         Versions files is now verboten.
52940         * hurd/Versions (libc: GLIBC_2.0):
52941         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
52942         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
52943         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52944         * mach/Versions: Likewise.
52946         * csu/Versions: Remove unused %include.
52947         * resolv/Versions: Likewise.
52949 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
52951         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
52952         ($(objpfx)check-local-headers.out): Likewise.
52953         ($(objpfx)begin-end-check.out): Likewise.
52954         * Makerules (check-abi-%.out): Likewise.
52955         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
52956         ($(objpfx)test2.cat): Likewise.
52957         ($(objpfx)de/libc.cat): Likewise.
52958         ($(objpfx)test-gencat.out): Likewise.
52959         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
52960         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
52961         ($(objpfx)noload-mem): Likewise.
52962         ($(objpfx)tst-pathopt.out): Likewise.
52963         ($(objpfx)tst-rtld-load-self.out): Likewise.
52964         ($(objpfx)tst-array1-cmp.out): Likewise.
52965         ($(objpfx)tst-array1-static-cmp.out): Likewise.
52966         ($(objpfx)tst-array2-cmp.out): Likewise.
52967         ($(objpfx)tst-array3-cmp.out): Likewise.
52968         ($(objpfx)tst-array4-cmp.out): Likewise.
52969         ($(objpfx)tst-array5-cmp.out): Likewise.
52970         ($(objpfx)tst-array5-static-cmp.out): Likewise.
52971         ($(objpfx)check-textrel.out): Likewise.
52972         ($(objpfx)check-execstack.out): Likewise.
52973         ($(objpfx)check-localplt.out): Likewise.
52974         ($(objpfx)order2-cmp.out): Likewise.
52975         ($(objpfx)tst-leaks1-mem): Likewise.
52976         ($(objpfx)tst-leaks1-static-mem): Likewise.
52977         ($(objpfx)tst-initorder-cmp.out): Likewise.
52978         ($(objpfx)tst-initorder2-cmp.out): Likewise.
52979         ($(objpfx)tst-unused-dep.out): Likewise.
52980         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
52981         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
52982         * iconv/Makefile (test-iconvconfig): Likewise.
52983         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
52984         ($(objpfx)iconv-test.out): Likewise.
52985         ($(objpfx)tst-tables.out): Likewise.
52986         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
52987         ($(objpfx)tst-gettext.out): Likewise.
52988         ($(objpfx)tst-translit.out): Likewise.
52989         ($(objpfx)tst-gettext2.out): Likewise.
52990         ($(objpfx)tst-gettext4.out): Likewise.
52991         ($(objpfx)tst-gettext6.out): Likewise.
52992         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
52993         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
52994         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52995         ($(objpfx)tst-fopenloc-mem.out): Likewise.
52996         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
52997         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
52998         * posix/Makefile ($(objpfx)globtest.out): Likewise.
52999         ($(objpfx)wordexp-tst.out): Likewise.
53000         ($(objpfx)annexc.out): Likewise.
53001         ($(objpfx)tst-fnmatch-mem): Likewise.
53002         ($(objpfx)bug-regex2-mem): Likewise.
53003         ($(objpfx)bug-regex14-mem): Likewise.
53004         ($(objpfx)bug-regex21-mem): Likewise.
53005         ($(objpfx)bug-regex31-mem): Likewise.
53006         ($(objpfx)tst-vfork3-mem): Likewise.
53007         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53008         ($(objpfx)tst-pcre-mem): Likewise.
53009         ($(objpfx)tst-boost-mem): Likewise.
53010         ($(objpfx)tst-getconf.out): Likewise.
53011         ($(objpfx)bug-ga2-mem): Likewise.
53012         ($(objpfx)bug-glob2-mem): Likewise.
53013         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
53014         ($(objpfx)mtrace-tst-leaks2): Likewise.
53015         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
53016         ($(objpfx)tst-printf.out): Likewise.
53017         ($(objpfx)tst-setvbuf1.out): Likewise.
53018         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
53019         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
53020         ($(objpfx)tst-fmtmsg.out): Likewise.
53021         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
53022         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
53024         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
53025         * bits/sigaction.h [__USE_MISC]: Likewise.
53026         * bits/waitstatus.h: Update #endif comments.
53027         * ctype/ctype.h: Likewise.
53028         * dirent/dirent.h: Likewise.
53029         [__USE_MISC]: Remove redundant conditionals.
53030         * grp/grp.h: Update #endif comments.
53031         [__USE_GNU]: Remove redundant conditionals.
53032         [__USE_MISC]: Likewise.
53033         * inet/netinet/in.h [__USE_GNU]: Likewise.
53034         * io/sys/stat.h [__USE_MISC]: Likewise.
53035         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
53036         * libio/bits/stdio.h: Update #endif comments.
53037         [__USE_MISC]: Remove redundant conditionals.
53038         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
53039         * libio/stdio.h: Update #endif comments.
53040         [__USE_MISC]: Remove redundant conditionals.
53041         * math/bits/math-finite.h [__USE_MISC]: Likewise.
53042         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
53043         * math/math.h: Update #else and #endif comments.
53044         [__USE_MISC]: Remove redundant conditionals.
53045         * misc/sys/uio.h: Update #endif comments.
53046         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
53047         * posix/glob.h [__USE_MISC]: Likewise.
53048         * posix/sys/types.h: Update #endif comments.
53049         [__USE_MISC]: Remove redundant conditionals.
53050         * posix/sys/wait.h: Update #endif comments.
53051         [__USE_MISC]: Remove redundant conditionals.
53052         * posix/unistd.h: Update #endif comments.
53053         [__USE_MISC]: Remove redundant conditionals.
53054         * pwd/pwd.h [__USE_GNU]: Likewise.
53055         [__USE_MISC]: Likewise.
53056         * resolv/netdb.h [__USE_GNU]: Likewise.
53057         * signal/signal.h: Update #endif comments.
53058         [__USE_MISC]: Remove redundant conditionals.
53059         * stdlib/stdlib.h: Update #else and #endif comments.
53060         [__USE_MISC]: Remove redundant conditionals.
53061         [__USE_GNU]: Likewise.
53062         * string/bits/string2.h [__USE_MISC]: Likewise.
53063         * string/string.h: Update #endif comments.
53064         [__USE_MISC]: Remove redundant conditionals.
53065         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
53066         Likewise.
53067         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
53068         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
53069         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
53070         Likewise.
53071         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
53072         Likewise.
53073         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
53074         comments.
53075         [__USE_MISC]: Remove redundant conditionals.
53076         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
53077         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
53078         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
53079         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
53080         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
53081         Likewise.
53082         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
53083         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
53084         Likewise.
53085         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
53086         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
53087         Likewise.
53088         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
53089         Likewise.
53090         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
53091         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
53092         Likewise.
53093         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
53094         Likewise.
53095         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
53096         * sysdeps/x86/bits/string.h: Update #endif comments.
53097         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
53098         conditionals.
53099         * time/sys/time.h: Update #endif comments.
53100         * time/time.h: Likewise.
53101         [__USE_MISC]: Remove redundant conditionals.
53103 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
53105         [BZ #16600]
53106         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
53108 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
53110         * Versions.def (librt): Add GLIBC_2.17.
53112 2014-02-21  Adam Conrad  <adconrad@0c3.net>
53114         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
53115         synonym for _SYS_AUXV_H to allow direct inclusion.
53116         * sysdeps/sparc/bits/hwcap.h: Likewise.
53117         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
53118         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
53119         * sysdeps/sparc/sysdep.h: Likewise.
53121 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53123         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
53125 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53127         * benchtests/bench-strrchr.c: Print length instead of position.
53129 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
53131         [BZ #16611]
53132         * sysdeps/unix/sysv/linux/kernel-features.h
53133         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
53134         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
53135         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
53136         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
53137         Likewise.
53138         [__i386__ || __powerpc__ || __sh__ || __sparc__]
53139         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53140         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
53141         (__ASSUME_SENDMMSG): Define instead of using previous
53142         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
53143         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53144         (__ASSUME_SENDMMSG_SYSCALL): Define.
53145         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53146         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
53147         Likewise.
53148         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53149         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53150         Likewise.
53151         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53152         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53153         Likewise.
53154         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53155         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53156         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53157         [__ASSUME_SENDMMSG]: Change conditionals to
53158         [__ASSUME_SENDMMSG_SOCKETCALL].
53159         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53160         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53161         Define.
53162         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53163         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53164         Likewise.
53165         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53166         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53167         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53168         [!__ASSUME_SENDMMSG]: Change conditional to
53169         [!__ASSUME_SENDMMSG_SOCKETCALL].
53170         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53171         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53172         Define.
53174         [BZ #16610]
53175         * sysdeps/unix/sysv/linux/kernel-features.h
53176         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53177         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53178         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53179         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53180         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53181         [__i386__ || __sparc__]
53182         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53183         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53184         (__ASSUME_RECVMMSG): Define instead of using previous
53185         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53186         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53187         (__ASSUME_RECVMMSG_SYSCALL): Define.
53188         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53189         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53190         Likewise.
53191         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53192         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53193         Likewise.
53194         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53195         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53196         Likewise.
53197         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53198         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53199         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53200         [__ASSUME_RECVMMSG]: Change condition to
53201         [__ASSUME_RECVMMSG_SOCKETCALL].
53202         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53203         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53204         Define.
53205         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53206         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53207         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53208         Likewise.
53209         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53210         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53211         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53212         [!__ASSUME_RECVMMSG]: Change condition to
53213         [!__ASSUME_RECVMMSG_SOCKETCALL].
53214         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53215         (__ASSUME_RECVMMSG_SYSCALL): Define.
53217         [BZ #16609]
53218         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53219         __powerpc__ || __s390__ || __sh__ || __sparc__]
53220         (__ASSUME_SOCKETCALL): Define.
53221         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53222         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53223         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53224         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53225         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53226         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53227         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53228         (__ASSUME_ACCEPT4): Define instead of using previous
53229         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53230         __powerpc__ || __sparc__ || __s390__)] condition.
53231         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53232         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53233         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53234         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53235         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53236         [!__ASSUME_ACCEPT4]: Change condition to
53237         [!__ASSUME_ACCEPT4_SOCKETCALL].
53238         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53239         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53240         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53241         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53242         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53243         __ASSUME_ACCEPT4_SYSCALL.
53244         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53245         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53246         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53247         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53248         __ASSUME_ACCEPT4_SYSCALL.
53249         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53250         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53251         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53252         [__ASSUME_ACCEPT4]: Change condition to
53253         [__ASSUME_ACCEPT4_SOCKETCALL].
53254         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53255         (__ASSUME_SOCKETCALL): Define.
53256         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53257         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53258         (__ASSUME_SOCKETCALL): Define.
53259         (__ASSUME_ACCEPT4): Remove.
53260         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53261         Define.
53262         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53263         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53264         Likewise.
53265         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53266         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53268         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53269         macro.
53270         (HWCAP_ARM_LPAE): Likewise.
53271         (HWCAP_ARM_EVTSTRM): Likewise.
53272         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53273         Add vpfd32, lpae and evtstrm.
53274         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53275         Increase to 22.
53277 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53279         * math/auto-libm-test-in: Add tests of clog10.
53280         * math/auto-libm-test-out: Regenerated.
53281         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53282         * sysdeps/i386/fpu/libm-test-ulps: Update.
53283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53285 2014-02-18  Andreas Schwab  <schwab@suse.de>
53287         [BZ #16574]
53288         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53289         Store non-zero if the second buffer was newly allocated.
53290         (send_dg): Likewise.
53291         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53292         to send_vc and send_dg.
53293         (res_nsend): Pass NULL for ansp2_malloced.
53294         * resolv/res_query.c (__libc_res_nquery): Add parameter
53295         answerp2_malloced and pass it down to __libc_res_nsend.
53296         (res_nquery): Pass additional NULL to __libc_res_nquery.
53297         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53298         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53299         second answer buffer if answerp2_malloced was set.
53300         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53301         (__libc_res_nquerydomain): Add parameter
53302         answerp2_malloced and pass it down to __libc_res_nquery.
53303         (res_nquerydomain): Pass additional NULL to
53304         __libc_res_nquerydomain.
53305         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53306         additional NULL to __libc_res_nsend and __libc_res_nquery.
53307         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53308         additional NULL to __libc_res_nsearch.
53309         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53310         parameter of __libc_res_nsearch to check for separately allocated
53311         second buffer.
53312         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53313         __libc_res_nquery.
53314         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53315         additional NULL to __libc_res_nquery.
53316         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53317         __libc_res_nsearch.
53318         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53319         * include/resolv.h: Update prototypes of __libc_res_nquery,
53320         __libc_res_nsearch, __libc_res_nsend.
53322 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53324         * math/auto-libm-test-in: Add tests of fma.
53325         * math/auto-libm-test-out: Regenerated.
53326         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53327         (fma_towardzero_test_data): Likewise.
53328         (fma_downward_test_data): Likewise.
53329         (fma_upward_test_data): Likewise.
53330         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53331         mpc_mode.
53332         (rounding_modes): Add values for new field.
53333         (func_calc_method): Add value mpfr_fff_f.
53334         (func_calc_desc): Add mpfr_fff_f union field.
53335         (test_function): Add field exact_args.
53336         (FUNC): Add macro argument EXACT_ARGS.
53337         (FUNC_mpfr_f_f): Update call to FUNC.
53338         (FUNC_mpfr_f_f): Likewise.
53339         (FUNC_mpfr_ff_f): Likewise.
53340         (FUNC_mpfr_if_f): Likewise.
53341         (FUNC_mpc_c_f): Likewise.
53342         (FUNC_mpc_c_c): Likewise.
53343         (test_functions): Add fma.  Update calls to FUNC.
53344         (handle_input_arg): Add argument exact_args.
53345         (add_test): Update call to handle_input_arg.
53346         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
53347         (output_for_one_input_case): Update call to calc_generic_results.
53348         Recalculate exact zero results in each rounding mode.
53350         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53351         non-negative before setting low bit.
53352         * math/auto-libm-test-in: Mark one asin test possibly having
53353         spurious underflow.
53354         * math/auto-libm-test-out: Regenerated.
53355         * sysdeps/i386/fpu/libm-test-ulps: Update.
53356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53358 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
53360         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53361         * sysdeps/unix/sysv/linux/microblaze: Move directory from
53362         ports/sysdeps/unix/sysv/linux/microblaze.
53363         * README: Add missing listing for microblaze*-*-linux-gnu.
53365 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
53367         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53368         duplicate code
53370 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
53372         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53373         * sysdeps/unix/sysv/linux/ia64: Move directory from
53374         ports/sysdeps/unix/sysv/linux/ia64.
53375         * README: Update listing for ia64-*-linux-gnu.
53377 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
53378             Joseph Myers  <joseph@codesourcery.com>
53380         * Makeconfig (test-name): New variable.
53381         (evaluate-test): Likewise.
53382         * Makerules (do-test-clean): Remove .test-result files.
53383         (common-mostlyclean): Likewise.
53384         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53385         * scripts/evaluate-test.sh: New file.
53387 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
53389         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53390         separate $(objpfx)tst-fopenloc-cmp.out and
53391         $(objpfx)tst-fopenloc-mem.out targets.
53392         (tests): Update dependencies.
53393         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53394         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53395         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53396         (tst-rxspencer-no-utf8-ARGS): New variable.
53397         (tst-rxspencer-no-utf8-ENV): Likewise.
53398         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53399         instead of $(objpfx)tst-rxspencer-mem.
53400         ($(objpfx)tst-rxspencer-mem): Change target to
53401         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
53402         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53403         * posix/tst-rxspencer-no-utf8.c: New file.
53405         * elf/Makefile ($(objpfx)order.out): Remove rule.
53406         [$(run-built-tests) = yes] (tests): Depend on
53407         $(objpfx)order-cmp.out.
53408         ($(objpfx)order-cmp.out): New rule.
53409         [$(run-built-tests) = yes] (tests): Depend on
53410         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53411         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53412         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53413         $(objpfx)tst-array5-static-cmp.out.
53414         ($(objpfx)tst-array1.out): Remove rule.
53415         ($(objpfx)tst-array1-cmp.out): New rule.
53416         ($(objpfx)tst-array1-static.out): Remove rule.
53417         ($(objpfx)tst-array1-static-cmp.out): New rule.
53418         ($(objpfx)tst-array2.out): Remove rule.
53419         ($(objpfx)tst-array2-cmp.out): New rule.
53420         ($(objpfx)tst-array3.out): Remove rule.
53421         ($(objpfx)tst-array3-cmp.out): New rule.
53422         ($(objpfx)tst-array4.out): Remove rule.
53423         ($(objpfx)tst-array4-cmp.out): New rule.
53424         ($(objpfx)tst-array5.out): Remove rule.
53425         ($(objpfx)tst-array5-cmp.out): New rule.
53426         ($(objpfx)tst-array5-static.out): Remove rule.
53427         ($(objpfx)tst-array5-static-cmp.out): New rule.
53428         [$(run-built-tests) = yes] (tests): Depend on
53429         $(objpfx)order2-cmp.out.
53430         ($(objpfx)order2.out): Remove rule.
53431         ($(objpfx)order2-cmp.out): New rule.
53432         ($(objpfx)tst-initorder.out): Remove rule.
53433         [$(run-built-tests) = yes] (tests): Depend on
53434         $(objpfx)tst-initorder-cmp.out.
53435         ($(objpfx)tst-initorder-cmp.out): New rule.
53436         ($(objpfx)tst-initorder2.out): Remove rule.
53437         [$(run-built-tests) = yes] (tests): Depend on
53438         $(objpfx)tst-initorder2-cmp.out.
53439         ($(objpfx)tst-initorder2-cmp.out): New rule.
53440         [$(run-built-tests) = yes] (tests): Depend on
53441         $(objpfx)tst-unused-dep-cmp.out.
53442         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53443         ($(objpfx)tst-unused-dep-cmp.out): New rule.
53444         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
53445         on $(objpfx)tst-setvbuf1-cmp.out.
53446         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
53447         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
53448         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
53449         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
53450         ($(objpfx)tst-svc.out): Remove rule.
53451         ($(objpfx)tst-svc-cmp.out): New rule.
53453 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
53455         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
53456         * ctype/ctype.h [__USE_MISC]: Likewise.
53457         * dirent/dirent.h [__USE_MISC]: Likewise.
53458         * grp/grp.h [__USE_MISC]: Likewise.
53459         * io/fcntl.h [__USE_MISC]: Likewise.
53460         * io/sys/stat.h [__USE_MISC]: Likewise.
53461         * libio/stdio.h [__USE_MISC]: Likewise.
53462         * posix/unistd.h [__USE_MISC]: Likewise.
53463         * pwd/pwd.h [__USE_MISC]: Likewise.
53464         * stdlib.h [__USE_MISC]: Likewise.
53465         * string/bits/string2.h [__USE_MISC]: Likewise.
53466         * string/string.h [__USE_MISC]: Likewise.
53467         * time/time.h [__USE_MISC]: Likewise.
53469 2014-02-13  Andreas Schwab  <schwab@suse.de>
53471         [BZ #16574]
53472         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
53473         second answer buffer if it was separately allocated.
53475 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
53477         * sysdeps/mips/math-tests.h: Include <features.h>.
53478         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53479         (ROUNDING_TESTS_long_double): Do not define.
53480         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53481         (EXCEPTION_TESTS_long_double): Likewise.
53482         * sysdeps/mips/mips64/libm-test-ulps: Update.
53484         * include/features.h (__USE_BSD): Remove macro definitions.
53485         (__USE_SVID): Likewise.
53486         (_BSD_SOURCE): Likewise.
53487         (_SVID_SOURCE): Likewise.
53488         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
53489         from definition of _DEFAULT_SOURCE.
53490         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
53491         [_DEFAULT_SOURCE].
53492         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
53493         * bits/mman.h [__USE_BSD]: Likewise.
53494         * bits/termios.h [__USE_BSD]: Likewise.
53495         * bits/waitstatus.h [__USE_BSD]: Likewise.
53496         * ctype/ctype.h [__USE_SVID]: Likewise.
53497         * dirent/dirent.h [__USE_BSD]: Likewise.
53498         * grp/grp.h [__USE_SVID]: Likewise.
53499         [__USE_BSD]: Likewise.
53500         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
53501         * io/fcntl.h [__USE_BSD]: Likewise.
53502         * io/ftw.h [__USE_BSD]: Likewise.
53503         * io/sys/stat.h [__USE_BSD]: Likewise.
53504         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
53505         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
53506         * libio/stdio.h [__USE_SVID]: Likewise.
53507         [__USE_BSD]: Likewise.
53508         * math/math.h [__USE_SVID]: Likewise.
53509         [__USE_BSD]: Likewise.
53510         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
53511         * misc/bits/syslog.h [__USE_BSD]: Likewise.
53512         * misc/search.h [__USE_SVID]: Likewise.
53513         * misc/sys/mman.h [__USE_BSD]: Likewise.
53514         * misc/sys/syslog.h [__USE_BSD]: Likewise.
53515         * misc/sys/uio.h [__USE_BSD]: Likewise.
53516         * posix/bits/unistd.h [__USE_BSD]: Likewise.
53517         * posix/glob.h [__USE_BSD]: Likewise.
53518         * posix/regex.h [__USE_BSD]: Likewise.
53519         * posix/sys/types.h [__USE_BSD]: Likewise.
53520         [__USE_SVID]: Likewise.
53521         * posix/sys/utsname.h [__USE_SVID]: Likewise.
53522         * posix/sys/wait.h [__USE_BSD]: Likewise.
53523         [__USE_SVID]: Likewise.
53524         * posix/unistd.h [__USE_BSD]: Likewise.
53525         [__USE_SVID]: Likewise.
53526         * pwd/pwd.h [__USE_SVID]: Likewise.
53527         * resolv/netdb.h [__USE_BSD]: Likewise.
53528         * setjmp/setjmp.h [__USE_BSD]: Likewise.
53529         * signal/signal.h [__USE_BSD]: Likewise.
53530         [__USE_SVID]: Likewise.
53531         * socket/sys/socket.h [__USE_BSD]: Likewise.
53532         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
53533         * stdlib/stdlib.h [__USE_BSD]: Likewise.
53534         [__USE_SVID]: Likewise.
53535         * string/bits/string2.h [__USE_BSD]: Likewise.
53536         [__USE_SVID]: Likewise.
53537         * string/bits/string3.h [__USE_BSD]: Likewise.
53538         * string/endian.h [__USE_BSD]: Likewise.
53539         * string/string.h [__USE_SVID]: Likewise.
53540         [__USE_BSD]: Likewise.
53541         * string/strings.h [__USE_BSD]: Likewise.
53542         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
53543         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
53544         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
53545         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
53546         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
53547         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
53548         Likewise.
53549         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
53550         Likewise.
53551         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
53552         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
53553         Likewise.
53554         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
53555         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
53556         Likewise.
53557         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
53558         Likewise.
53559         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
53560         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
53561         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
53562         Likewise.
53563         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
53564         Likewise.
53565         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
53566         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
53567         * termios/termios.h [__USE_BSD]: Likewise.
53568         * time/sys/time.h [__USE_BSD]: Likewise.
53569         * time/time.h [__USE_BSD]: Likewise.
53570         [__USE_SVID]: Likewise.
53572         * Makefile (subdir_targets): Remove subdir_lint.out.
53574         * stdio-common/Makefile (do-tst-unbputc): Remove target.
53575         (do-tst-printf): Likewise.
53576         (tests): Depend directly on $(objpfx)tst-unbputc.out and
53577         $(objpfx)tst-printf.out.
53579         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
53581         * Makerules (check-abi-%): Change target to
53582         $(objpfx)check-abi-%.out.
53583         (check-abi target): Update dependencies.
53584         (check-abi-pattern variable): Redirect output of diff to $@.
53585         (check-abi variable): Likewise.
53586         * elf/Makefile (check-abi): Update dependencies.
53588         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
53589         unused.
53590         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
53591         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
53592         subnormal range.
53593         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
53594         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
53595         value has largest subnormal exponent.
53596         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
53597         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
53598         * sysdeps/aarch64/soft-fp/sfp-machine.h
53599         (_FP_TININESS_AFTER_ROUNDING): New macro.
53600         * sysdeps/alpha/soft-fp/sfp-machine.h
53601         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53602         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53603         Likewise.
53604         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
53605         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53606         * sysdeps/mips/soft-fp/sfp-machine.h
53607         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53608         * sysdeps/powerpc/soft-fp/sfp-machine.h
53609         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53610         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53611         Likewise.
53612         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53613         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53614         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53615         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53616         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53617         Likewise.
53619 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
53621         [BZ #16545]
53622         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
53623         model 1.
53625 2014-02-12  Richard Henderson  <rth@redhat.com>
53627         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
53628         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
53629         * sysdeps/unix/sysv/linux/alpha: Move directory from
53630         ports/sysdeps/unix/sysv/linux/alpha.
53631         * README: Update listing for alpha-*-linux-gnu.
53633 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
53635         * include/features.h: Update comment documenting feature test
53636         macros.
53637         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
53638         _DEFAULT_SOURCE.
53639         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
53640         (_SVID_SOURCE): Likewise.
53641         (_DEFAULT_SOURCE): Update description of default features.
53642         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
53643         with _GNU_SOURCE.
53644         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
53645         (S_ISVTX): Likewise.
53646         * manual/math.texi (Mathematical Constants): Likewise.
53647         * manual/signal.texi (Interrupted Primitives): Likewise.
53648         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
53649         * math/test-matherr.c (_SVID_SOURCE): Do not define.
53650         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
53651         Don't refer to _SVID_SOURCE in warning text.
53653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53655         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
53656         already defined.
53657         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
53658         * sysdeps/mips/dl-lookup.c: Remove.
53659         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
53661 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53663         [BZ #16447]
53664         * math/auto-libm-test-in: Add testcase for expl.
53665         * math/auto-libm-test-out: Regenerate.
53666         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
53667         calculation of unsafe.
53668         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
53670 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53672         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
53673         * sysdeps/unix/sysv/linux/aarch64: Move directory from
53674         ports/sysdeps/unix/sysv/linux/aarch64.
53675         * README: Update listing for aarch64*-*-linux-gnu.
53677 2014-02-11  Will Newton  <will.newton@linaro.org>
53679         * manual/probes.texi (Mathematical Function Probes): Use
53680         "triggered" instead of "hit".
53682         * manual/probes.texi (Internal Probes): Add documentation
53683         of setjmp, longjmp and longjmp_target probes.
53685         * include/stap-probe.h: Add comment about probe argument
53686         format.
53688         * malloc/mtrace.c (attribute_hidden): Remove unused macro
53689         definition.  (tr_where, tr_freehook, tr_mallochook,
53690         tr_reallochook, tr_memalignhook): Use ANSI protoype.
53692 2014-02-11  David S. Miller  <davem@davemloft.net>
53694         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
53695         processing int_tests.
53697 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
53699         * sysdeps/mips: Move directory from ports/sysdeps/mips.
53700         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
53701         * sysdeps/unix/sysv/linux/mips: Move directory from
53702         ports/sysdeps/unix/sysv/linux/mips.
53703         * README: Update listing for mips-*-linux-gnu and
53704         mips64-*-linux-gnu.
53706 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
53708         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
53709         * sysdeps/unix/sysv/linux/m68k: Move directory from
53710         ports/sysdeps/unix/sysv/linux/m68k.
53711         * README: Update listing for m68k-*-linux-gnu.
53713 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
53715         * sysdeps/tile: Move directory from ports/sysdeps/tile.
53716         * sysdeps/unix/sysv/linux/generic: Move directory from
53717         ports/sysdeps/unix/sysv/linux/generic.
53718         * sysdeps/unix/sysv/linux/tile: Move directory from
53719         ports/sysdeps/unix/sysv/linux/tile.
53720         * README: Update listing for tile*-*-linux-gnu.
53722 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
53724         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
53725         __builtin_expect.
53726         * benchtests/bench-memmem.c (simple_memmem): Likewise.
53727         * catgets/open_catalog.c (__open_catalog): Likewise.
53728         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
53729         * debug/confstr_chk.c: Likewise.
53730         * debug/fread_chk.c (__fread_chk): Likewise.
53731         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
53732         * debug/getgroups_chk.c: Likewise.
53733         * debug/mbsnrtowcs_chk.c: Likewise.
53734         * debug/mbsrtowcs_chk.c: Likewise.
53735         * debug/mbstowcs_chk.c: Likewise.
53736         * debug/memcpy_chk.c: Likewise.
53737         * debug/memmove_chk.c: Likewise.
53738         * debug/mempcpy_chk.c: Likewise.
53739         * debug/memset_chk.c: Likewise.
53740         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53741         * debug/strcat_chk.c (__strcat_chk): Likewise.
53742         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
53743         * debug/strncat_chk.c (__strncat_chk): Likewise.
53744         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
53745         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
53746         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
53747         * debug/wcpncpy_chk.c: Likewise.
53748         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53749         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53750         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
53751         * debug/wcsncpy_chk.c: Likewise.
53752         * debug/wcsnrtombs_chk.c: Likewise.
53753         * debug/wcsrtombs_chk.c: Likewise.
53754         * debug/wcstombs_chk.c: Likewise.
53755         * debug/wmemcpy_chk.c: Likewise.
53756         * debug/wmemmove_chk.c: Likewise.
53757         * debug/wmempcpy_chk.c: Likewise.
53758         * debug/wmemset_chk.c: Likewise.
53759         * dirent/scandirat.c (SCANDIRAT): Likewise.
53760         * dlfcn/dladdr1.c (dladdr1): Likewise.
53761         * dlfcn/dladdr.c (dladdr): Likewise.
53762         * dlfcn/dlclose.c (dlclose_doit): Likewise.
53763         * dlfcn/dlerror.c (__dlerror): Likewise.
53764         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
53765         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53766         * dlfcn/dlopen.c (dlopen_doit): Likewise.
53767         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
53768         * dlfcn/dlsym.c (dlsym_doit): Likewise.
53769         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
53770         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
53771         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
53772         Likewise.
53773         * elf/dl-conflict.c: Likewise.
53774         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53775         * elf/dl-dst.h: Likewise.
53776         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53777         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53778         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53779         * elf/dl-init.c (call_init, _dl_init): Likewise.
53780         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53781         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53782         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53783         Likewise.
53784         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53785         Likewise.
53786         * elf/dl-minimal.c (__libc_memalign): Likewise.
53787         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53788         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53789         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53790         * elf/dl-sym.c (do_sym): Likewise.
53791         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53792         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53793         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53794         * elf/dl-writev.h (_dl_writev): Likewise.
53795         * elf/ldconfig.c (search_dir): Likewise.
53796         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53797         (dl_main): Likewise.
53798         * elf/setup-vdso.h (setup_vdso): Likewise.
53799         * grp/compat-initgroups.c (compat_call): Likewise.
53800         * grp/fgetgrent.c (fgetgrent): Likewise.
53801         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53802         * grp/putgrent.c (putgrent): Likewise.
53803         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53804         Likewise.
53805         * hurd/hurdinit.c: Likewise.
53806         * iconvdata/8bit-gap.c (struct): Likewise.
53807         * iconvdata/ansi_x3.110.c : Likewise.
53808         * iconvdata/big5.c : Likewise.
53809         * iconvdata/big5hkscs.c : Likewise.
53810         * iconvdata/cp1255.c: Likewise.
53811         * iconvdata/cp1258.c : Likewise.
53812         * iconvdata/cp932.c : Likewise.
53813         * iconvdata/euc-cn.c: Likewise.
53814         * iconvdata/euc-jisx0213.c : Likewise.
53815         * iconvdata/euc-jp.c: Likewise.
53816         * iconvdata/euc-jp-ms.c : Likewise.
53817         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53818         * iconvdata/gb18030.c : Likewise.
53819         * iconvdata/gbbig5.c (const): Likewise.
53820         * iconvdata/gbgbk.c: Likewise.
53821         * iconvdata/gbk.c : Likewise.
53822         * iconvdata/ibm1364.c : Likewise.
53823         * iconvdata/ibm930.c : Likewise.
53824         * iconvdata/ibm932.c: Likewise.
53825         * iconvdata/ibm933.c : Likewise.
53826         * iconvdata/ibm935.c : Likewise.
53827         * iconvdata/ibm937.c : Likewise.
53828         * iconvdata/ibm939.c : Likewise.
53829         * iconvdata/ibm943.c: Likewise.
53830         * iconvdata/iso_11548-1.c: Likewise.
53831         * iconvdata/iso-2022-cn.c : Likewise.
53832         * iconvdata/iso-2022-cn-ext.c : Likewise.
53833         * iconvdata/iso-2022-jp-3.c: Likewise.
53834         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
53835         * iconvdata/iso-2022-kr.c : Likewise.
53836         * iconvdata/iso646.c (gconv_end): Likewise.
53837         * iconvdata/iso_6937-2.c : Likewise.
53838         * iconvdata/iso_6937.c : Likewise.
53839         * iconvdata/iso8859-1.c: Likewise.
53840         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
53841         * iconvdata/shift_jisx0213.c : Likewise.
53842         * iconvdata/sjis.c : Likewise.
53843         * iconvdata/t.61.c : Likewise.
53844         * iconvdata/tcvn5712-1.c : Likewise.
53845         * iconvdata/tscii.c: Likewise.
53846         * iconvdata/uhc.c : Likewise.
53847         * iconvdata/unicode.c (gconv_end): Likewise.
53848         * iconvdata/utf-16.c (gconv_end): Likewise.
53849         * iconvdata/utf-32.c (gconv_end): Likewise.
53850         * iconvdata/utf-7.c (base64): Likewise.
53851         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
53852         * iconv/gconv_close.c (__gconv_close): Likewise.
53853         * iconv/gconv_open.c (__gconv_open): Likewise.
53854         * iconv/gconv_simple.c (internal_ucs4_loop_single)
53855         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
53856         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
53857         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
53858         (ucs4le_internal_loop_single): Likewise.
53859         * iconv/iconv.c (iconv): Likewise.
53860         * iconv/iconv_close.c: Likewise.
53861         * iconv/loop.c (SINGLE): Likewise.
53862         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
53863         * include/atomic.h: Likewise.
53864         * inet/inet6_option.c (option_alloc): Likewise.
53865         * intl/bindtextdom.c (set_binding_values): Likewise.
53866         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
53867         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
53868         * intl/localealias.c (read_alias_file): Likewise.
53869         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
53870         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
53871         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
53872         * libio/fmemopen.c (fmemopen): Likewise.
53873         * libio/iofgets.c (_IO_fgets): Likewise.
53874         * libio/iofgets_u.c (fgets_unlocked): Likewise.
53875         * libio/iofgetws.c (fgetws): Likewise.
53876         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
53877         * libio/iogetdelim.c (_IO_getdelim): Likewise.
53878         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
53879         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
53880         * locale/findlocale.c (_nl_find_locale): Likewise.
53881         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
53882         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
53883         Likewise.
53884         * locale/setlocale.c (setlocale): Likewise.
53885         * login/programs/pt_chown.c (main): Likewise.
53886         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
53887         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
53888         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
53889         (mmap, mmap64, mremap, munmap): Likewise.
53890         * math/e_exp2l.c: Likewise.
53891         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
53892         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
53893         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
53894         * math/s_catan.c (__catan): Likewise.
53895         * math/s_catanf.c (__catanf): Likewise.
53896         * math/s_catanh.c (__catanh): Likewise.
53897         * math/s_catanhf.c (__catanhf): Likewise.
53898         * math/s_catanhl.c (__catanhl): Likewise.
53899         * math/s_catanl.c (__catanl): Likewise.
53900         * math/s_ccosh.c (__ccosh): Likewise.
53901         * math/s_ccoshf.c (__ccoshf): Likewise.
53902         * math/s_ccoshl.c (__ccoshl): Likewise.
53903         * math/s_cexp.c (__cexp): Likewise.
53904         * math/s_cexpf.c (__cexpf): Likewise.
53905         * math/s_cexpl.c (__cexpl): Likewise.
53906         * math/s_clog10.c (__clog10): Likewise.
53907         * math/s_clog10f.c (__clog10f): Likewise.
53908         * math/s_clog10l.c (__clog10l): Likewise.
53909         * math/s_clog.c (__clog): Likewise.
53910         * math/s_clogf.c (__clogf): Likewise.
53911         * math/s_clogl.c (__clogl): Likewise.
53912         * math/s_csin.c (__csin): Likewise.
53913         * math/s_csinf.c (__csinf): Likewise.
53914         * math/s_csinh.c (__csinh): Likewise.
53915         * math/s_csinhf.c (__csinhf): Likewise.
53916         * math/s_csinhl.c (__csinhl): Likewise.
53917         * math/s_csinl.c (__csinl): Likewise.
53918         * math/s_csqrt.c (__csqrt): Likewise.
53919         * math/s_csqrtf.c (__csqrtf): Likewise.
53920         * math/s_csqrtl.c (__csqrtl): Likewise.
53921         * math/s_ctan.c (__ctan): Likewise.
53922         * math/s_ctanf.c (__ctanf): Likewise.
53923         * math/s_ctanh.c (__ctanh): Likewise.
53924         * math/s_ctanhf.c (__ctanhf): Likewise.
53925         * math/s_ctanhl.c (__ctanhl): Likewise.
53926         * math/s_ctanl.c (__ctanl): Likewise.
53927         * math/w_pow.c: Likewise.
53928         * math/w_powf.c: Likewise.
53929         * math/w_powl.c: Likewise.
53930         * math/w_scalb.c (sysv_scalb): Likewise.
53931         * math/w_scalbf.c (sysv_scalbf): Likewise.
53932         * math/w_scalbl.c (sysv_scalbl): Likewise.
53933         * misc/error.c (error_tail): Likewise.
53934         * misc/pselect.c (__pselect): Likewise.
53935         * nis/nis_callback.c (__nis_create_callback): Likewise.
53936         * nis/nis_call.c (__nisfind_server): Likewise.
53937         * nis/nis_creategroup.c (nis_creategroup): Likewise.
53938         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
53939         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
53940         * nis/nis_getservlist.c (nis_getservlist): Likewise.
53941         * nis/nis_lookup.c (nis_lookup): Likewise.
53942         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
53943         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
53944         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
53945         * nis/nis_xdr.c (xdr_endpoint): Likewise.
53946         * nis/nss_compat/compat-grp.c (getgrent_next_file)
53947         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
53948         * nis/nss_compat/compat-initgroups.c (add_group)
53949         (internal_getgrent_r): Likewise.
53950         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
53951         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
53952         * nis/nss_compat/compat-spwd.c (getspent_next_file)
53953         (internal_getspnam_r): Likewise.
53954         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
53955         (_nss_nis_getaliasbyname_r): Likewise.
53956         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
53957         (_nss_nis_getntohost_r): Likewise.
53958         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
53959         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
53960         (_nss_nis_getgrgid_r): Likewise.
53961         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
53962         (internal_nis_gethostent_r, internal_gethostbyname2_r)
53963         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
53964         (_nss_nis_gethostbyname4_r): Likewise.
53965         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
53966         (initgroups_netid): Likewise.
53967         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
53968         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
53969         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
53970         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
53971         (_nss_nis_getprotobynumber_r): Likewise.
53972         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
53973         (_nss_nis_getsecretkey): Likewise.
53974         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
53975         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
53976         (_nss_nis_getpwuid_r): Likewise.
53977         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
53978         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
53979         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
53980         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
53981         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
53982         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
53983         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
53984         Likewise.
53985         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
53986         (_nss_nisplus_getntohost_r): Likewise.
53987         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
53988         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
53989         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
53990         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
53991         Likewise.
53992         * nis/nss_nisplus/nisplus-initgroups.c
53993         (_nss_nisplus_initgroups_dyn): Likewise.
53994         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
53995         (_nss_nisplus_getnetbyaddr_r): Likewise.
53996         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
53997         (_nss_nisplus_getprotobynumber_r): Likewise.
53998         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
53999         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
54000         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
54001         Likewise.
54002         * nis/nss_nisplus/nisplus-service.c
54003         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
54004         (_nss_nisplus_getservbyport_r): Likewise.
54005         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
54006         (_nss_nisplus_getspnam_r): Likewise.
54007         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
54008         Likewise.
54009         * nscd/aicache.c (addhstaiX): Likewise.
54010         * nscd/cache.c (cache_search, prune_cache): Likewise.
54011         * nscd/connections.c (register_traced_file, send_ro_fd)
54012         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
54013         (main_loop_epoll): Likewise.
54014         * nscd/grpcache.c (addgrbyX): Likewise.
54015         * nscd/hstcache.c (addhstbyX): Likewise.
54016         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54017         * nscd/mem.c (gc, mempool_alloc): Likewise.
54018         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
54019         (addinnetgrX): Likewise.
54020         * nscd/nscd-client.h (__nscd_acquire_maplock)
54021         (__nscd_drop_map_ref): Likewise.
54022         * nscd/nscd_getai.c (__nscd_getai): Likewise.
54023         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
54024         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
54025         Likewise.
54026         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
54027         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54028         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
54029         (__nscd_get_map_ref): Likewise.
54030         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
54031         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
54032         Likewise.
54033         * nscd/pwdcache.c (addpwbyX): Likewise.
54034         * nscd/selinux.c (preserve_capabilities): Likewise.
54035         * nscd/servicescache.c (addservbyX): Likewise.
54036         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
54037         * posix/fnmatch.c (fnmatch): Likewise.
54038         * posix/getopt.c (_getopt_internal_r): Likewise.
54039         * posix/glob.c (glob, glob_in_dir): Likewise.
54040         * posix/wordexp.c (exec_comm_child): Likewise.
54041         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
54042         (getanswer_r, gaih_getanswer_slice): Likewise.
54043         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
54044         * resolv/res_init.c: Likewise.
54045         * resolv/res_mkquery.c (res_nmkquery): Likewise.
54046         * resolv/res_query.c (__libc_res_nquery): Likewise.
54047         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
54048         Likewise.
54049         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
54050         * stdio-common/perror.c (perror): Likewise.
54051         * stdio-common/printf_fp.c (___printf_fp): Likewise.
54052         * stdio-common/tmpnam.c (tmpnam): Likewise.
54053         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54054         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
54055         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
54056         Likewise.
54057         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
54058         * stdlib/putenv.c (putenv): Likewise.
54059         * stdlib/setenv.c (__add_to_environ): Likewise.
54060         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54061         * stdlib/strtol_l.c (INTERNAL): Likewise.
54062         * string/memmem.c (memmem): Likewise.
54063         * string/strerror.c (strerror): Likewise.
54064         * string/strnlen.c (__strnlen): Likewise.
54065         * string/test-memmem.c (simple_memmem): Likewise.
54066         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
54067         * sunrpc/pm_getport.c (__get_socket): Likewise.
54068         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
54069         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
54070         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
54071         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
54072         Likewise.
54073         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
54074         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
54075         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
54076         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
54077         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
54078         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
54079         Likewise.
54080         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
54081         Likewise.
54082         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
54083         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
54084         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54085         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
54086         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
54087         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
54088         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
54089         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
54090         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
54091         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
54092         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54093         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
54094         Likewise.
54095         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
54096         Likewise.
54097         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
54098         Likewise.
54099         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
54100         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54101         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
54102         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
54103         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
54104         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
54105         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54106         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
54107         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
54108         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
54109         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
54110         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54111         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54112         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
54113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54114         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
54115         Likewise.
54116         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
54117         Likewise.
54118         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
54119         Likewise.
54120         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
54121         Likewise.
54122         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54123         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54124         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
54125         Likewise.
54126         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
54127         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
54128         * sysdeps/posix/opendir.c (__opendirat): Likewise.
54129         * sysdeps/posix/sleep.c: Likewise.
54130         * sysdeps/posix/tempname.c: Likewise.
54131         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
54132         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54133         Likewise.
54134         * sysdeps/powerpc/powerpc32/dl-machine.h
54135         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
54136         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54137         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54138         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
54139         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
54140         Likewise.
54141         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
54142         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
54143         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54144         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
54145         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54146         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
54147         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
54148         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
54149         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54150         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
54151         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54152         (elf_machine_lazy_rel): Likewise.
54153         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54154         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54155         (elf_machine_lazy_rel): Likewise.
54156         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54157         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54158         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54159         * sysdeps/unix/grantpt.c (grantpt): Likewise.
54160         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54161         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54162         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54163         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54164         Likewise.
54165         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54166         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54167         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54168         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54169         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54170         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54171         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54172         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54173         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54174         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54175         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54176         Likewise.
54177         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54178         (__posix_fallocate64_l64): Likewise.
54179         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54180         (posix_fallocate): Likewise.
54181         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54182         Likewise.
54183         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54184         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54185         (getifaddrs_internal): Likewise.
54186         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54187         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54188         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54189         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54190         * sysdeps/unix/sysv/linux/posix_fallocate64.c
54191         (__posix_fallocate64_l64): Likewise.
54192         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54193         Likewise.
54194         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54195         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54196         (__get_clockfreq): Likewise.
54197         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54198         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54199         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54200         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54201         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54202         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54203         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54204         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54205         Likewise.
54206         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54207         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54208         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54209         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54210         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54211         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54212         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54213         Likewise.
54214         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54215         (posix_fallocate): Likewise.
54216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54217         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54218         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54219         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54220         (elf_machine_rela, elf_machine_rela_relative)
54221         (elf_machine_lazy_rel): Likewise.
54222         * time/asctime.c (asctime_internal): Likewise.
54223         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54224         * time/tzset.c (__tzset_parse_tz): Likewise.
54225         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54226         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54227         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54228         * wcsmbs/wcsmbsload.h: Likewise.
54230         [BZ #15894]
54231         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54233         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54234         (arena_get2): Remove THREAD_STATS conditionals.
54235         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54236         (__malloc_stats, int): Likewise.
54238 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54240         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54241         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54243         * manual/setjmp.texi: Fix typos/grammar errors.
54245         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54246         Only return early when n is <= 0.  Delete unused return statement.
54248         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54249         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54250         * debug/tst-longjmp_chk3.c: New file.
54252         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54253         (test_main): Replace code with set_fortify_handler call.
54254         * debug/test-strcpy_chk.c: Likewise.
54255         * debug/tst-chk1.c: Likewise.
54256         * debug/tst-longjmp_chk.c: Likewise.
54257         * test-skeleton.c: Include fcntl.h & paths.h
54258         (set_fortify_handler): Define.
54260         * debug/tst-longjmp_chk.c: Add header comment and include
54261         ../test-skeleton.c.
54262         (do_test): Mark static.
54263         (TEST_FUNCTION): Define.
54265         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54266         (IP_PMTUDISC_INTERFACE): Likewise.
54267         (IP_MULTICAST_IF): Likewise.
54268         (IP_MULTICAST_TTL): Likewise.
54269         (IP_MULTICAST_LOOP): Likewise.
54270         (IP_ADD_MEMBERSHIP): Likewise.
54271         (IP_DROP_MEMBERSHIP): Likewise.
54272         (IP_UNBLOCK_SOURCE): Likewise.
54273         (IP_BLOCK_SOURCE): Likewise.
54274         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54275         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54276         (IP_MSFILTER): Likewise.
54277         (MCAST_JOIN_GROUP): Likewise.
54278         (MCAST_BLOCK_SOURCE): Likewise.
54279         (MCAST_UNBLOCK_SOURCE): Likewise.
54280         (MCAST_LEAVE_GROUP): Likewise.
54281         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54282         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54283         (MCAST_MSFILTER): Likewise.
54284         (IP_MULTICAST_ALL): Likewise.
54285         (IP_UNICAST_IF): Likewise.
54287         * timezone/Makefile: Delete $(have-ksh) check.
54288         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54289         * timezone/tzselect.ksh: Add +x mode bits.
54291         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54292         (ANON_INODE_FS_MAGIC): Likewise.
54293         (BDEVFS_MAGIC): Likewise.
54294         (BINFMTFS_MAGIC): Likewise.
54295         (BTRFS_TEST_MAGIC): Likewise.
54296         (CRAMFS_MAGIC_WEND): Likewise.
54297         (DEBUGFS_MAGIC): Likewise.
54298         (ECRYPTFS_SUPER_MAGIC): Likewise.
54299         (EXT3_SUPER_MAGIC): Likewise.
54300         (EXT4_SUPER_MAGIC): Likewise.
54301         (FUTEXFS_SUPER_MAGIC): Likewise.
54302         (HOSTFS_SUPER_MAGIC): Likewise.
54303         (HUGETLBFS_MAGIC): Likewise.
54304         (MINIX3_SUPER_MAGIC): Likewise.
54305         (MTD_INODE_FS_MAGIC): Likewise.
54306         (NILFS_SUPER_MAGIC): Likewise.
54307         (OPENPROM_SUPER_MAGIC): Likewise.
54308         (PIPEFS_MAGIC): Likewise.
54309         (PSTOREFS_MAGIC): Likewise.
54310         (QNX6_SUPER_MAGIC): Likewise.
54311         (RAMFS_MAGIC): Likewise.
54312         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54313         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54314         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54315         (SECURITYFS_MAGIC): Likewise.
54316         (SELINUX_MAGIC): Likewise.
54317         (SMACK_MAGIC): Likewise.
54318         (SOCKFS_MAGIC): Likewise.
54319         (SQUASHFS_MAGIC): Likewise.
54320         (STACK_END_MAGIC): Likewise.
54321         (TMPFS_MAGIC): Likewise.
54322         (USBDEVICE_SUPER_MAGIC): Likewise.
54323         (V9FS_MAGIC): Likewise.
54324         (XENFS_SUPER_MAGIC): Likewise.
54325         (CRAMFS_MAGIC): Fix typo in comment.
54326         (EXT2_SUPER_MAGIC): Update comment.
54327         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54329 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54331         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54332         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54333         * sysdeps/unix/sysv/linux/arm: Move directory from
54334         ports/sysdeps/unix/sysv/linux/arm.
54335         * README: Update listing for arm-*-linux-gnueabi.
54337         * README: Remove mention of am33.
54339 2014-02-07  Roland McGrath  <roland@hack.frob.com>
54341         * bits/sigset.h (__sigemptyset): Use a statement expression rather
54342         than the comma operator, to avoid "rhs of comma has no effect"
54343         compiler warnings.
54344         (__sigfillset, __sigandset, __sigorset): Likewise.
54345         * include/signal.h (__sigemptyset): Likewise.
54346         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54348 2014-02-07  Allan McRae  <allan@archlinux.org>
54350         * version.h (RELEASE): Set to "development".
54351         (VERSION): Set to "2.19.90"
54352         * NEWS: Add 2.20 section.
54354 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
54356         [BZ #16529]
54357         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54359 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54361         * manual/contrib.texi: Update entry for Carlos O'Donell,
54362         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54364 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
54366         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54368         * sysdeps/unix/sysv/linux/kernel-features.h
54369         [__LINUX_KERNEL_VERSION >= 0x020621]
54370         (__ASSUME_PROC_PID_TASK_COMM): Define.
54372 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54374         [BZ #16398]
54375         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54376         conversion when destination buffer does not have enough space.
54377         * libio/tst-ftell-partial-wide.c: New test case.
54378         * libio/Makefile (tests): Add tst-ftell-partial-wide.
54380         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54381         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
54382         Leonard and Allan McRae.
54384 2014-02-04  David S. Miller  <davem@davemloft.net>
54386         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54387         32-bit.
54389 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54392         New file
54393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54394         New file
54395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54396         New file.
54397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54398         New file.
54399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54400         New file.
54401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54402         New file.
54403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54404         New file.
54405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54406         New file.
54407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54408         New file.
54409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54410         New file.
54411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54412         New file.
54413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54414         New file.
54415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54416         New file.
54418 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54420         * nptl/shlib-versions: Change powerpc*le start to 2.17.
54421         * shlib-versions: Likewise.
54423 2014-02-04  Roland McGrath  <roland@hack.frob.com>
54424             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54426         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54427         (abilist-pattern): New variable, set to %-le.abilist.
54429         * Makerules (abilist-pattern): New variable.
54430         (vpath): Use $(abilist-pattern) in place of %.abilist.
54431         (check-abi-% pattern rule): Likewise.
54432         (check-abi, update-abi): Likewise.
54434 2014-02-04  Eric Wong  <normalperson@yhbt.net>
54436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54438 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
54440         * manual/startup.texi: Add next, previous, and top entries for
54441         the `Program Arguments' and `Environment Variables' nodes.
54443 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
54445         * manual/macros.texi: Add comments before MTASC-safety macros.
54447         * manual/users.texi: Document MTASC-safety properties.
54449         * manual/threads.texi (pthread_key_create, pthread_key_delete)
54450         (pthread_getspecific, pthread_setspecific): Format with
54451         @deftypefun, and add @safety note.
54452         * manual/signal.texi: Move comments that analyze the above
54453         functions to their home place.
54455 2014-02-03  Allan McRae  <allan@archlinux.org>
54457         * po/sl.po: Update Slovenian translation from translation project.
54459 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
54461         * manual/time.texi (timegm): Add missing blank after @c.
54462         Reported by Joseph Myers <joseph@codesourcery.com>.
54464 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
54466         * manual/check-safety.sh: New.
54467         * manual/Makefile ($(objpfx)stamp-summary): Run it.
54469         * manual/terminal.texi: Document MTASC-safety properties.
54471         * manual/filesys.texi: Document MTASC-safety properties.
54473         * manual/errno.texi: Document MTASC-safety properties.
54475         * manual/intro.texi: Document safety identifiers and
54476         conditionals.
54478         * manual/string.texi (wcstok): Fix prototype.
54479         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
54481         * manual/time.texi: Document MTASC-safety properties.
54483         * manual/string.texi: Document MTASC-safety properties.
54485         * manual/threads.texi: Document MTASC-safety properties.
54487         * manual/stdio.texi: Document MTASC-safety properties.
54489         * manual/syslog.texi: Document MTASC-safety properties.
54491         * manual/sysinfo.texi: Document MTASC-safety properties.
54493         * manual/startup.texi: Document MTASC-safety properties.
54495         * manual/socket.texi: Document MTASC-safety properties.
54497         * manual/signal.texi: Document MTASC-safety properties.
54499 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
54501         * manual/setjmp.texi: Document MTASC-safety properties.
54503         * manual/search.texi: Document MTASC-safety properties.
54505         * manual/resource.texi: Document MTASC-safety properties.
54507         * manual/process.texi: Document MTASC-safety properties.
54509         * manual/platform.texi: Document MTASC-safety properties.
54511         * manual/pipe.texi: Document MTASC-safety properties.
54513         * manual/pattern.texi: Document MTASC-safety properties.
54515         * manual/message.texi: Document MTASC-safety properties.
54517         [BZ #12751]
54518         * manual/memory.texi: Document MTASC-safety properties.
54520         * manual/math.texi: Document MTASC-safety properties.
54522         * manual/locale.texi: Document MTASC-safety properties.
54524         * manual/llio.texi: Document MTASC-safety properties.
54526         * manual/libdl.texi: New.
54528         * manual/lang.texi: Document MTASC-safety properties.
54530         * manual/job.texi: Document MTASC-safety properties.
54532         * manual/getopt.texi: Document MTASC-safety properties.
54534         * manual/ctype.texi: Document MTASC-safety properties.
54536 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
54538         [BZ #16046]
54539         * csu/libc-tls.c (static_map): Remove variable.
54540         (__libc_setup_tls): Use main executable's link map for TLS data.
54541         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
54542         casing for LM_ID_BASE and GL(dl_nns).
54543         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
54544         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
54545         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
54546         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
54547         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
54548         member.
54549         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
54550         l_phnum members.
54552 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
54554         * manual/debug.texi: Document MTASC-safety properties.
54556 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
54558         [BZ #16510]
54559         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
54560         of __x86_64__ when disabling x87 inline functions.
54562 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
54564         * manual/charset.texi: Document MTASC-safety properties.
54566         * manual/crypt.texi: Document MTASC-safety properties.
54568         * manual/conf.texi: Document MTASC-safety properties.
54570         * manual/arith.texi: Document MTASC-safety properties.
54572         * manual/argp.texi: Document MTASC-safety properties.
54574         * manual/macros.texi: Introduce macros to document multi
54575         thread, asynchronous signal and asynchronous cancellation
54576         safety properties.
54577         * manual/intro.texi: Introduce the properties themselves.
54579 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54581         * sysdeps/sh/sh4/Makefile: New file.
54583 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
54585         * math/gen-libm-test.pl ($srcdir): New variable.
54586         ($auto_input): Use it.
54588 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54590         [BZ #16506]
54591         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
54592         access beyond array bounds when parsing netgroups file.
54594         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
54595         the old buffer before realloc.
54597 2014-01-27  Allan McRae  <allan@archlinux.org>
54599         * po/fr.po: Update French translation from translation project.
54601 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54603         * sysdeps/sh/libm-test-ulps: Regenerate.
54605 2014-01-24  David S. Miller  <davem@davemloft.net>
54607         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
54609 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54611         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
54612         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
54614 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54616         [BZ #16474]
54617         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
54618         string pointers after reallocation.
54620 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54622         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
54623         __SH4A__ instead of __SH_FPU_ANY__.
54625 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54627         * sysdeps/sh/fpu_control.h: New file.
54628         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
54629         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
54630         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
54631         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
54632         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
54633         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
54634         * sysdeps/sh/sys/ucontext.h: Remove.
54635         * sysdeps/sh/sys: Remove directory.
54637 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54639         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
54640         s390/sys/ucontext.h.
54641         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
54642         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
54644 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
54646         [BZ #15605]
54647         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
54649 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54651         [BZ #16431]
54652         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54653         Adjust the vDSO correctly for internal calls.
54654         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
54656 2014-01-20  Allan McRae  <allan@archlinux.org>
54658         * po/ca.po: Update Catalan translation from translation project.
54660 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
54662         * sysdeps/s390/sotruss-lib.c: New file.
54664 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54666         [BZ #16430]
54667         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
54668         (__GI___gettimeofday): Alias for a different internal symbol to avoid
54669         local calls issues by not having a PLT stub required for IFUNC calls.
54670         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
54672 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
54674         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
54675         * math/test-fpucw-static.c: Likewise.
54677 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54679         [BZ #16453]
54680         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
54682 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54684         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
54685         implementation for powerpc.
54687 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
54689         [BZ #14782]
54690         * sysdeps/posix/system.c (__libc_system): Do not enable
54691         asynchronous cancellation.
54693 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54695         [BZ #16427]
54696         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
54697         handling only for numbers special also in the IEEE case.
54699 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54701         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54703 2014-01-11  Allan McRae  <allan@archlinux.org>
54705         * po/bg.po: Update Bulgarian translation from translation project.
54707         * po/de.po: Update German translation from translation project.
54709 2014-01-10  Roland McGrath  <roland@hack.frob.com>
54711         * sysdeps/generic/gcc-compat.h: New file.
54713 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54715         * benchtests/asin-inputs: Correct slow inputs.
54716         * benchtests/acos-inputs: Likewise.
54718 2014-01-10  Allan McRae  <allan@archlinux.org>
54720         * po:sv.po: Update Swedish translation from translation project.
54722         * po/vi.po: Update Vietnamese translation from translation project.
54724         * po/eo.po: Update Esperanto translation from translation project.
54726         * po/cs.po: Update Czech translation from translation project.
54728         * po/nl.po: Update Dutch translation from translation project.
54730         * po/pl.po: Update Polish translation from translation project.
54732         * po/ru.po: Update Russian translation from translation project.
54734         * po/uk.po: Update Ukrainian translation from translation project.
54736 2014-01-08  Brooks Moses  <bmoses@google.com>
54738         * elf/dl-load.c: Fix comment typo.
54740 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
54742         * po/header.pot: Rename to...
54743         * po/pot.header: ... this.
54744         * po/Makefile: Use pot.header.
54746 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
54747             Maxim Kuvyrkov  <maxim@kugelworks.com>
54749         [BZ #16394]
54750         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
54751         SRC and DEST against LEN.
54753 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54755         [BZ #16414]
54756         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
54757         implementation.
54758         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
54760 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54764 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
54766         [BZ #16408]
54767         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
54768         for large positive arguments.
54770 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
54772         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54774         * math/auto-libm-test-in: Mark various tests with
54775         xfail-rounding:ldbl-128ibm.
54776         * math/auto-libm-test-out: Regenerated.
54778         [BZ #16407]
54779         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54780         Increase overflow threshold.
54782 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54784         [BZ #14286]
54785         * stdio-common/vfprintf.c: Check for integer overflow.
54787 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54789         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54790         the first argument and return value of __tls_get_addr_internal.
54792 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54794         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54795         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54797 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54799         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54800         * sysdeps/s390/rtld-global-offsets.sym: New file.
54801         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54802         GLIBC_2.19 symbol.
54803         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54804         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54805         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54806         ... this.
54807         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54808         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54809         ... this.
54810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54811         Regenerate.
54812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54813         Regenerate.
54814         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54815         halfs of GPRs for high_gprs contexts.
54816         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54817         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54818         field.
54819         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54820         uc_flags field.
54821         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54822         64 bit versions:
54823         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54824         for high GPRs (uc_high_gprs) and for future extensions
54825         (__reserved).
54826         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54827         for future extensions (__reserved).
54828         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54829         64 bit versions:
54830         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54831         SC_HIGHGPRS offset definition.
54832         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54833         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
54835         * Versions.def: Add GLIBC_2.19 for libpthread.
54836         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
54837         siglongjmp for libpthread with GLIBC_2.19 symver.
54838         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
54839         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
54840         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
54841         * sysdeps/s390/__longjmp.c: New file.
54842         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
54843         * sysdeps/s390/longjmp.c: New file.
54844         * sysdeps/s390/setjmp.S: New file.
54845         * sysdeps/s390/sigjmp.S: New file.
54846         * sysdeps/s390/v1-longjmp.c: New file.
54847         * sysdeps/s390/v1-setjmp.h: New file.
54848         * sysdeps/s390/v1-sigjmp.c: New file.
54849         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
54850         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
54851         GLIBC_2.19 version.
54852         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
54853         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
54854         versioned symbols for ____longjmp_chk.
54855         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
54856         Likewise.
54857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54858         Regenerate.
54859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54860         Regenerate.
54861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54862         Regenerate.
54863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54864         Regenerate.
54865         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
54866         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
54867         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
54868         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
54869         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
54870         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
54871         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
54872         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
54873         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
54874         * sysdeps/s390/rtld-__longjmp.c: New file.
54875         * sysdeps/s390/rtld-setjmp.S: New file.
54877 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
54879         [BZ #16400]
54880         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54881         Return -__logl (x) for small positive arguments without evaluating
54882         a polynomial.
54884 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
54886         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
54887         Rename to ...
54888         (__ptrace_peeksiginfo_args): ... this.
54889         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54890         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54891         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54893 2014-01-06  Allan McRae  <allan@archlinux.org>
54895         * inet/netinet/in.h: Fix typo in comment.
54897 2014-01-05  Andreas Jaeger  <aj@suse.de>
54899         * sysdeps/i386/fpu/libm-test-ulps: Update.
54901 2014-01-05  Allan McRae  <allan@archlinux.org>
54903         * po/libc.pot: Regenerated.
54905         * malloc/memusagestat.c: Fix gettext call formatting.
54907 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
54909         * nscd/nscd.c: Improve usage() output.
54911 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
54913         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
54914         * sysdeps/unix/sysv/linux/configure: Regenerated.
54915         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
54916         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
54918 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54920         [BZ #16390]
54921         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54922         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
54924 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54926         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
54927         extra tokens at end of #undef directive.
54928         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
54929         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
54930         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
54932 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54934         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54936         * math/auto-libm-test-in: Mark various tests with
54937         xfail-rounding:ldbl-128ibm.
54938         * math/auto-libm-test-out: Regenerated.
54940 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
54942         [BZ #16386]
54943         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
54944         numbers with subnormal high part when calculating exponent.
54946         [BZ #16385]
54947         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
54948         fabs.
54950         [BZ #16384]
54951         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
54952         M_LN2l.
54953         (__ieee754_acoshl): Use __log1pl not __log1p.
54955 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
54957         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
54958         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
54959         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
54960         (grow_heap, heap_trim, _int_new_arena, get_free_list)
54961         (reused_arena, arena_get2): Convert to GNU style.
54962         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
54963         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
54964         (memalign_check, __malloc_set_state): Likewise.
54965         * malloc/mallocbug.c (main): Likewise.
54966         * malloc/malloc.c (__malloc_assert, malloc_init_state)
54967         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
54968         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
54969         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
54970         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
54971         (__posix_memalign, malloc_info): Likewise.
54972         * malloc/malloc.h: Likewise.
54973         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
54974         (mallochook, memalignhook, reallochook, mabort): Likewise.
54975         * malloc/mcheck.h: Likewise.
54976         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
54977         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
54978         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
54979         * malloc/morecore.c (__default_morecore): Likewise.
54980         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
54981         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
54982         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
54983         (print_and_abort): Likewise.
54984         * malloc/obstack.h: Likewise.
54985         * malloc/set-freeres.c (__libc_freeres): Likewise.
54986         * malloc/tst-mallocstate.c (main): Likewise.
54987         * malloc/tst-mtrace.c (main): Likewise.
54988         * malloc/tst-realloc.c (do_test): Likewise.
54990 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54992         [BZ #16366]
54993         * nscd/netgroupcache.c (do_notfound): New function.
54994         (addgetnetgrentX): Use it.
54996         [BZ # 16365]
54997         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
54998         NSS_STATUS_NOTFOUND.
55000 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
55002         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55005 2014-01-01  Allan McRae  <allan@archlinux.org>
55007         * scripts/update-copyrights: Update configure input file suffix.
55009         * NEWS: Update copyright year.
55010         * catgets/gencat.c: Likewise.
55011         * csu/version.c: Likewise.
55012         * debug/catchsegv.sh: Likewise.
55013         * debug/pcprofiledump.c: Likewise.
55014         * debug/xtrace.sh: Likewise.
55015         * elf/ldconfig.c: Likewise.
55016         * elf/ldd.bash.in: Likewise.
55017         * elf/pldd.c: Likewise.
55018         * elf/sotruss.ksh: Likewise.
55019         * elf/sprof.c: Likewise.
55020         * iconv/iconv_prog.c: Likewise.
55021         * iconv/iconvconfig.c: Likewise.
55022         * locale/programs/locale.c: Likewise.
55023         * locale/programs/localedef.c: Likewise.
55024         * login/programs/pt_chown.c: Likewise.
55025         * malloc/memusage.sh: Likewise.
55026         * malloc/memusagestat.c: Likewise.
55027         * malloc/mtrace.pl: Likewise.
55028         * manual/libc.texinfo: Likewise.
55029         * nscd/nscd.c: Likewise.
55030         * nss/getent.c: Likewise.
55031         * nss/makedb.c: Likewise.
55032         * posix/getconf.c: Likewise.
55033         * scripts/test-installation.pl: Likewise.
55035         * All files with FSF copyright notices: Update copyright dates
55036         using scripts/update-copyrights.
55037         * intl/plural.c: Regenerated.
55038         * locale/programs/charmap-kw.h: Likewise.
55039         * locale/programs/locfile-kw.h: Likewise.
55041 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
55043         * sysdeps/unix/sysv/linux/configure: Regenerated.
55044         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
55045         the linux/fanotify.h header.
55046         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
55047         HAVE_LINUX_FANOTIFY_H is defined.
55049 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55051         * benchtests/cos-inputs: New inputs.
55052         * benchtests/sin-inputs: Likewise.
55054         * benchtests/atan-inputs: New inputs. Fix name of multiple
55055         precision fallback inputs.
55057         * benchtests/atanh-inputs: New inputs.
55058         * benchtests/tanh-inputs: Likewise.
55060         * benchtests/acosh-inputs: New inputs.
55061         * benchtests/asinh-inputs: Likewise.
55063         * benchtests/cosh-inputs: New inputs.
55064         * benchtests/sinh-inputs: Likewise.
55066         * benchtests/acos-inputs: Add more inputs.
55067         * benchtests/asin-inputs: Likewise.
55069 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
55071         [BZ #16375]
55072         * manual/arith.texi: Fix spelling.
55073         * manual/charset.texi: Likewise.
55074         * manual/errno.texi: Likewise.
55075         * manual/filesys.texi: Likewise.
55076         * manual/lang.texi: Likewise.
55077         * manual/llio.texi: Likewise.
55078         * manual/locale.texi: Likewise.
55079         * manual/message.texi: Likewise.
55080         * manual/resource.texi: Likewise.
55081         * manual/search.texi: Likewise.
55082         * manual/setjmp.texi: Likewise.
55083         * manual/stdio.texi: Likewise.
55084         * manual/string.texi: Likewise.
55085         * manual/sysinfo.texi: Likewise.
55086         * manual/time.texi: Likewise.
55088 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
55090         * po/sl.po: New file.
55092 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
55094         * .gitignore: Add core/.gdbinit/.gdb_history.
55096 2013-12-27  Allan McRae  <allan@archlinux.org>
55098         [BZ #16369]
55099         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
55100         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
55102 2013-12-24  Brooks Moses  <bmoses@google.com>
55104         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
55105         all compilers that claim C++98 compliance, not just GCC.
55106         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
55107         Likewise.
55109 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55111         * NEWS: Restore accidentally deleted bug-fix entries.
55113 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55114             Ondřej Bílka  <neleai@seznam.cz>
55116         [BZ #15073]
55117         * malloc/malloc.c (_int_free): Perform sanity check only if we
55118         have_lock.
55120 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
55122         [BZ #12986]
55123         * manual/stdio.texi (String Input Conversions): Clarify that character
55124         classes are not supported.
55126 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55130 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
55132         [BZ #16337]
55133         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55134         Calculate results for small negative arguments directly rather
55135         than using reflection formula with special underflow handling.
55137         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
55138         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
55139         sysdeps/unix/bsd/bsd4.4/syscalls.list.
55140         (fchflags): Likewise.
55141         (revoke): Likewise.
55142         (setlogin): Likewise.
55143         (sigaltstack): Likewise.
55144         (wait4): Likewise.
55145         (sigblock): Remove.
55146         (sigsetmask): Likewise.
55147         (wait3): Likewise.
55148         (waitpid): Likewise.
55149         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
55150         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
55151         file.
55152         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55153         * sysdeps/unix/bsd/Makefile: ... here.
55154         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55155         * sysdeps/unix/bsd/Versions: ... here.
55156         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55157         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55158         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55159         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55160         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55161         * sysdeps/unix/bsd/sigblock.c: ... here.
55162         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55163         * sysdeps/unix/bsd/sigsetmask.c: ... here.
55164         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55165         * sysdeps/unix/bsd/sigvec.c: ... here.
55166         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55167         * sysdeps/unix/bsd/tcdrain.c: ... here.
55168         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55169         * sysdeps/unix/bsd/tcgetattr.c: ... here.
55170         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55171         * sysdeps/unix/bsd/tcsetattr.c: ... here.
55172         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55173         * sysdeps/unix/bsd/wait.c: ... here.
55174         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55175         * sysdeps/unix/bsd/wait3.c: ... here.
55176         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55177         * sysdeps/unix/bsd/waitpid.c: ... here.
55179 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
55181         [BZ #16356]
55182         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55183         round-to-nearest for [!USE_AS_EXPM1L].
55184         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55185         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
55186         more tests of exp and exp10.  Expect some exp10 tests to miss
55187         exceptions or fail in directed rounding modes.
55188         * math/auto-libm-test-out: Regenerated.
55189         * math/libm-test.inc (exp10_tonearest_test_data): New array.
55190         (exp10_test_tonearest): New function.
55191         (exp10_towardzero_test_data): New array.
55192         (exp10_test_towardzero): New function.
55193         (exp10_downward_test_data): New array.
55194         (exp10_test_downward): New function.
55195         (exp10_upward_test_data): New array.
55196         (exp10_test_upward): New function.
55197         (main): Call the new functions.
55198         * sysdeps/i386/fpu/libm-test-ulps: Update.
55199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55201 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
55203         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55204         asinh, atan, atan2, atanh, cbrt, cos and cosh.
55205         * math/auto-libm-test-out: Regenerated.
55206         * math/libm-test.inc (acosh_test_data): Add more tests.
55207         (atanh_test_data): Likewise.
55208         (ceil_test_data): Likewise.
55209         (copysign_test_data): Likewise.
55210         * sysdeps/i386/fpu/libm-test-ulps: Update.
55211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55213         * timezone/checktab.awk: Update from tzcode 2013i.
55214         * timezone/private.h: Likewise.
55215         * timezone/scheck.c: Likewise.
55216         * timezone/tzfile.h: Likewise.
55217         * timezone/tzselect.ksh: Likewise.
55218         * timezone/zdump.c: Likewise.
55219         * timezone/zic.c: Likewise.
55221         * math/auto-libm-test-in: Add tests of cpow.
55222         * math/auto-libm-test-out: Regenerated.
55223         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55224         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55225         mpc_cc_c.
55226         (func_calc_desc): Add mpc_cc_c union field.
55227         (test_functions): Add cpow.
55228         (special_fill_2pi): New function.
55229         (special_real_inputs): Add 2pi.
55230         (calc_generic_results): Handle mpc_cc_c.
55231         * sysdeps/i386/fpu/libm-test-ulps: Update.
55232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55234         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55235         csqrt, ctan and ctanh.
55236         * math/auto-libm-test-out: Regenerated.
55237         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55238         (TEST_COND_x86): Likewise.
55239         (ccos_test_data): Use AUTO_TESTS_c_c.
55240         (ccosh_test_data): Likewise.
55241         (cexp_test_data): Likewise.
55242         (clog_test_data): Likewise.
55243         (csqrt_test_data): Likewise.
55244         (ctan_test_data): Likewise.
55245         (ctan_tonearest_test_data): Likewise.
55246         (ctan_towardzero_test_data): Likewise.
55247         (ctan_downward_test_data): Likewise.
55248         (ctan_upward_test_data): Likewise.
55249         (ctanh_test_data): Likewise.
55250         (ctanh_tonearest_test_data): Likewise.
55251         (ctanh_towardzero_test_data): Likewise.
55252         (ctanh_downward_test_data): Likewise.
55253         (ctanh_upward_test_data): Likewise.
55254         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55255         mpc_c_c.
55256         (func_calc_desc): Add mpc_c_c union field.
55257         (FUNC_mpc_c_c): New macro.
55258         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55259         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55260         ctanh.
55261         (special_fill_min_subnorm_p120): New function.
55262         (special_real_inputs): Add min_subnorm_p120.
55263         (calc_generic_results): Handle mpc_c_c.
55264         * sysdeps/i386/fpu/libm-test-ulps: Update.
55265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55267 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55269         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55270         (do_sin_slow): New functions.
55271         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55272         (cslow2, csloww1, csloww2): Use the new functions.
55274         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55275         Use M to change sign of result instead of X.  Assume X is
55276         positive.
55277         (csloww1): Likewise.
55278         (__sin): Adjust.
55279         (__cos): Adjust.
55281         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55282         arguments A and DA.
55283         (__sin): Adjust.
55284         (__cos): Likewise.
55286         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55287         (__cos): Likewise.
55288         (sloww1): Don't adjust sign of DX.
55289         (csloww1): Likewise.
55290         (sloww2): Use X directly and don't adjust sign of DX.
55291         (csloww2): Likewise.
55293 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55295         * math/auto-libm-test-in: Add tests of cabs and carg.
55296         * math/auto-libm-test-out: Regenerated.
55297         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55298         (carg_test_data): Likewise.
55299         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55300         mpc_c_f.
55301         (func_calc_desc): Add mpc_c_f union field.
55302         (test_functions): Add cabs and carg.
55303         (calc_generic_results): Handle mpc_c_f.
55305         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55306         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55307         as a macro and a compat symbol.
55308         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55309         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55310         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55311         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55312         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55313         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55314         not use .hidden.
55315         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55316         Likewise.
55317         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55318         Likewise.
55319         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55320         Likewise.
55321         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55322         Likewise.
55323         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55324         Likewise.
55325         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55326         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55327         from GLIBC_2.3.2.
55329 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55333 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55335         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55336         trailing whitespace removed.
55337         * scripts/config.guess: Update to version 2013-11-29.
55338         * scripts/config.sub: Update to version 2013-10-01.
55340         * math/auto-libm-test-in: Add tests of sincos.
55341         * math/auto-libm-test-out: Regenerated.
55342         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55343         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55344         mpfr_f_11.
55345         (func_calc_desc): Add mpfr_f_11 union field.
55346         (test_functions): Add sincos.
55347         (calc_generic_results): Handle mpfr_f_11.
55348         * sysdeps/i386/fpu/libm-test-ulps: Update.
55349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55351 2013-12-19  Andreas Schwab  <schwab@suse.de>
55353         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55354         CALL_MCOUNT.
55355         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55356         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55357         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55359 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55361         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55362         * sysdeps/i386/fpu/libm-test-ulps: Update.
55363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55365         [BZ #16293]
55366         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55367         round-to-nearest mode when using frndint.
55368         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55369         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55370         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55371         Likewise.
55372         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
55373         sinh test to fail.
55374         * math/auto-libm-test-out: Regenerated.
55375         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55376         (TEST_COND_x86): Likewise.
55377         (expm1_tonearest_test_data): New array.
55378         (expm1_test_tonearest): New function.
55379         (expm1_towardzero_test_data): New array.
55380         (expm1_test_towardzero): New function.
55381         (expm1_downward_test_data): New array.
55382         (expm1_test_downward): New function.
55383         (expm1_upward_test_data): New array.
55384         (expm1_test_upward): New function.
55385         (main): Run the new test functions.
55386         * sysdeps/i386/fpu/libm-test-ulps: Update.
55387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55389         * include/features.h: Update comment documenting feature test
55390         macros.  Mention _DEFAULT_SOURCE in comment.
55391         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55392         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55393         _BSD_SOURCE and _SVID_SOURCE.
55394         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55395         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55396         !_SVID_SOURCE]: Likewise.
55397         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55398         (__USE_POSIX_IMPLICITLY): Define.
55399         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55400         (_POSIX_SOURCE): Undefine and redefine.
55401         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55402         (_POSIX_C_SOURCE): Likewise.
55403         * manual/creature.texi (_DEFAULT_SOURCE): Document.
55404         (Feature Test Macros): Update documentation of default features.
55406 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55408         * benchtests/Makefile: Add bench-strtok.
55409         * benchtests/bench-strtok.c: New file: strtok benchtest.
55411 2013-12-19  Allan McRae  <allan@archlinux.org>
55413         * manual/install.texi: Suppress menu for plain text output.
55414         * INSTALL: Regenerated.
55416 2013-12-18  Brooks Moses  <bmoses@google.com>
55418         [BZ #15846]
55419         * misc/getauxval.c: Include errno.h.
55420         (__getauxval): Set errno to ENOENT if the requested type is not
55421         found.
55422         * misc/sys/auxv.h (getauxval): Document that it may set errno;
55423         don't declare with __attribute_const__.
55424         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55425         * manual/startup.texi: Document that getauxval sets errno.
55427 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55429         * math/auto-libm-test-in: Add tests of jn and yn.
55430         * math/auto-libm-test-out: Regenerated.
55431         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55432         (yn_test_data): Likewise.
55433         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55434         mpfr_if_f.
55435         (func_calc_desc): Add mpfr_if_f union field.
55436         (FUNC_mpfr_if_f): New macro.
55437         (test_functions): Add jn and yn.
55438         (calc_generic_results): Assert type of second input for
55439         mpfr_ff_f.  Handle mpfr_if_f.
55440         (output_for_one_input_case): Disable all checking for arguments
55441         fitting floating-point types in case of an integer argument.
55442         * sysdeps/i386/fpu/libm-test-ulps: Update.
55443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55446         Don't expect fegetround reference in libm.so.
55448 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55450         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
55451         $(config-cflags-nofma).
55453 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55455         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
55456         * math/auto-libm-test-out: Regenerated.
55458         [BZ #16338]
55459         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
55460         to determine exponent and adjust argument to have exponent of -1.
55461         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
55462         log2.
55463         * math/auto-libm-test-out: Regenerated.
55464         * sysdeps/i386/fpu/libm-test-ulps: Update.
55465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55467 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
55469         * manual/probes.texi: Remove cases when per-thread arenas are
55470         disabled.
55472 2013-12-18  Andreas Schwab  <schwab@suse.de>
55474         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
55475         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
55476         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
55477         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
55478         * sysdeps/i386/i686/multiarch/Makefile: Update.
55479         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
55481 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55483         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
55484         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
55486 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
55488         [BZ #15968]
55489         Support TZ transition times < 00:00:00.
55490         This is needed for version-3 tz-format files; it supports time
55491         stamps past 2037 for America/Godthab (the only entry in the tz
55492         database for which this change is relevant).
55493         * manual/time.texi (TZ Variable): Document transition times
55494         from -167:59:59 through -00:00:01.
55495         * time/tzset.c (tz_rule): Time of day is now signed.
55496         (__tzset_parse_tz): Parse negative time of day.
55498         Document TZ transition times >= 25:00:00.
55499         * manual/time.texi (TZ Variable): Document transition times from
55500         25:00:00 through 167:59:59.  These are already supported, and this
55501         support will help with version-3 tz-format files.
55503         * manual/time.texi (TZ Variable): Modernize North America example
55504         to reflect current (i.e., 2007-and-later) daylight saving rules.
55506         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
55508 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55510         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
55511         * sysdeps/unix/bsd/bits/stat.h: Likewise.
55512         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
55513         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55514         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
55515         * sysdeps/unix/bsd/bsdstat.h: Likewise.
55516         * sysdeps/unix/bsd/clock.c: Likewise.
55517         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
55518         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
55519         * sysdeps/unix/bsd/init-posix.c: Likewise.
55520         * sysdeps/unix/bsd/poll.c: Likewise.
55521         * sysdeps/unix/bsd/ptsname.c: Likewise.
55522         * sysdeps/unix/bsd/seekdir.c: Likewise.
55523         * sysdeps/unix/bsd/setegid.c: Likewise.
55524         * sysdeps/unix/bsd/seteuid.c: Likewise.
55525         * sysdeps/unix/bsd/setgid.c: Likewise.
55526         * sysdeps/unix/bsd/setrgid.c: Likewise.
55527         * sysdeps/unix/bsd/setruid.c: Likewise.
55528         * sysdeps/unix/bsd/setsid.c: Likewise.
55529         * sysdeps/unix/bsd/setuid.c: Likewise.
55530         * sysdeps/unix/bsd/sigaction.c: Likewise.
55531         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
55532         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
55533         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
55534         * sysdeps/unix/bsd/telldir.c: Likewise.
55535         * sysdeps/unix/bsd/times.c: Likewise.
55536         * sysdeps/unix/bsd/usleep.c: Likewise.
55538         * misc/Makefile (install-lib): Remove libbsd-compat.a.
55539         ($(objpfx)libbsd-compat.a): Remove rule.
55541         * include/features.h (__FAVOR_BSD): Do not define.
55542         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
55543         features conflicting with POSIX.
55544         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
55545         (_BSD_SOURCE): Remove description of not being a subset of other
55546         feature test macros.
55547         * manual/job.texi (getpgrp): Do not document BSD version.
55548         (getpgid): Do not document by reference to BSD getpgrp.
55549         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
55550         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
55551         * signal/signal.h [__FAVOR_BSD]: Likewise.
55552         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
55553         instead of making contents conditional on [__FAVOR_BSD].
55554         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
55556 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55560 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55562         [BZ #16314]
55563         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
55564         values below 2**-450, not 2**-500.
55565         * math/auto-libm-test-in: Don't allow spurious underflow from
55566         hypot.
55567         * math/auto-libm-test-out: Regenerated.
55569         [BZ #16316]
55570         [BZ #16330]
55571         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
55572         values of ha and hb and sort them after adjusting subnormal
55573         arguments.
55574         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
55575         Likewise.
55576         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
55577         values of ea and eb and sort them after adjusting subnormal
55578         arguments.
55579         * math/auto-libm-test-in: Do not expect some hypot tests of
55580         subnormals to fail.  Add more hypot tests.
55581         * math/auto-libm-test-out: Regenerated.
55583 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55585         [BZ #13304]
55586         * sysdeps/sh/s_fma.c: New file.
55587         * sysdeps/sh/s_fmaf.c: New file.
55588         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
55589         version.
55590         * sysdeps/sh/Implies: Add sh/soft-fp.
55592 2013-12-16  Roland McGrath  <roland@hack.frob.com>
55594         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
55595         level of indirection to members `objname', `errstring', `malloced'.
55596         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
55597         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
55598         it as the __longjmp argument (just pass 1 instead).
55599         (_dl_catch_error): Initialize C with argument pointers and address of
55600         volatile local ERRCODE rather than copying values out of C at return.
55602 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
55604         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
55605         * math/auto-libm-test-out: Regenerated.
55606         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
55607         (hypot_test_data): Likewise.
55608         (pow_test_data): Likewise.
55609         (pow_tonearest_test_data): Likewise.
55610         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55611         mpfr_ff_f.
55612         (func_calc_desc): Add mpfr_ff_f union field.
55613         (FUNC_mpfr_ff_f): New macro.
55614         (test_functions): Add atan2, hypot and pow.
55615         (special_fill_min): New function.
55616         (special_fill_minus_min): Likewise.
55617         (special_fill_min_subnorm): Likewise.
55618         (special_fill_minus_min_subnorm): Likewise.
55619         (special_real_inputs): Add min, -min, min_subnorm and
55620         -min_subnorm.
55621         (calc_generic_results): Handle mpfr_ff_f.
55622         * sysdeps/i386/fpu/libm-test-ulps: Update.
55623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55625 2013-12-16  Will Newton  <will.newton@linaro.org>
55627         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
55628         (Aligned Memory Blocks): Add documentation for aligned_alloc
55629         and suggest it as an alternative to posix_memalign.
55630         (Hooks for Malloc): Document __memalign_hook is also called
55631         for aligned_alloc.  (Summary of Malloc): Add summary for
55632         aligned alloc.  Document __memalign_hook is also called
55633         for aligned_alloc.
55635 2013-12-16  Will Newton  <will.newton@linaro.org>
55637         * manual/memory.texi (Malloc Examples): Clarify default
55638         alignment documentation.  Suggest posix_memalign rather
55639         than memalign or valloc.
55640         (Aligned Memory Blocks): Remove suggestion to use memalign
55641         or valloc.  Remove obsolete comment about BSD.
55642         Document memalign errno values and mark the function obsolete.
55643         Document posix_memalign returned error codes.  Mark valloc
55644         as obsolete.  (Hooks for Malloc): __memalign_hook is also
55645         called for posix_memalign and valloc.
55646         (Summary of Malloc): Add posix_memalign to function summary.
55647         __memalign_hook is also called for posix_memalign and valloc.
55649 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55651         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
55652         TAYLOR_SIN.
55653         (__sin): Adjust.
55654         (__cos): Likewise.
55655         (sloww): Use mynumber union.  Expand ternary operator into
55656         if-else statements.
55657         (cslow): use mynumber union.
55659 2013-12-16  Allan McRae  <allan@archlinux.org>
55661         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
55662         * configure: Regenerated.
55664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
55666         [BZ #14120]
55667         * configure.ac: Added --enable-maintainer-mode. Check for
55668         autoconf when enabled.
55669         * configure: Regenerated.
55671         * nscd/nscd.service: New file.
55672         * nscd/nscd.tmpfiles: New file.
55674 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
55676         [BZ #12100]
55677         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
55678         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
55679         * sysdeps/x86_64/multiarch/strstr.c: ... here.
55680         (strstr): Add __strstr_sse2_unaligned ifunc.
55681         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
55682         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
55683         (strcasestr): Remove __strcasestr_sse42 ifunc.
55684         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
55685         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55688 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55690         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
55691         * sysdeps/sh/bits/fenv.h: ... here.
55692         * sysdeps/sh/sh4/fpu/bits: Remove directory.
55694 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55696         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
55698         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
55699         hypotf multiarch implementations.
55700         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
55701         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
55702         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
55703         multiarch hypot for PPC64.
55704         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
55705         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
55706         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
55707         multiarch hypotf for PPC64.
55709         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
55710         modff multiarch implementations.
55711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
55712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
55713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
55714         multiarch modf for PPC64.
55715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
55716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
55717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
55718         multiarch modff for PPC64.
55720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
55721         and logl multiarch implementations.
55722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
55723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
55724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
55725         multiarch logb for PPC64.
55726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
55727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
55728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
55729         multiarch logb for PPC64.
55730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
55731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
55732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
55733         multiarch logb for PPC64.
55735         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
55736         isinff multiarch implementation.
55737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
55738         file.
55739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
55740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
55741         multiarch isinf for PPC64.
55742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
55743         file.
55744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
55745         multiarch isinff for PPC64.
55747         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
55748         finitef multiarch implementation.
55749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
55750         file.
55751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
55752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
55753         multiarch finite for PPC64.
55754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55755         file.
55756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
55757         multiarch finitef for PPC64.
55759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
55760         lrint multiarch implementation.
55761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
55762         file.
55763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
55764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
55765         multiarch llrint for PPC64.
55766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
55767         multiarch lrint for PPC64.
55769         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
55770         copysignf multiarch implementation.
55771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
55772         file.
55773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
55774         file.
55775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55776         multiarch copysign for PPC64.
55777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55778         multiarch copysignf for PPC64.
55780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55781         multiarch implementation.
55782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55783         file.
55784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55785         file.
55786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55787         file.
55788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55789         file.
55790         multiarch llround for PPC64.
55791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55792         multiarch trunc for PPC64.
55793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55794         multiarch truncf for PPC64.
55796         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55797         multiarch implementation.
55798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55799         file.
55800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55801         file.
55802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55803         file.
55804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55805         file.
55806         multiarch llround for PPC64.
55807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55808         multiarch round for PPC64.
55809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55810         multiarch roundf for PPC64.
55812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55813         multiarch implementation.
55814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55815         file.
55816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55817         file.
55818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55819         file.
55820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55821         file.
55822         multiarch llround for PPC64.
55823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55824         multiarch floor for PPC64.
55825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55826         multiarch floorf for PPC64.
55828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55829         multiarch implementation.
55830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55831         file.
55832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55833         file.
55834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
55835         file.
55836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
55837         file.
55838         multiarch llround for PPC64.
55839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
55840         multiarch ceil for PPC64.
55841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
55842         multiarch ceilf for PPC64.
55844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55845         multiarch implementation.
55846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
55847         file.
55848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
55849         file.
55850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
55851         file.
55852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
55853         multiarch llround for PPC64.
55854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
55855         multiarch lround for PPC64.
55857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55858         multiarch implementation.
55859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
55860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
55861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
55862         file.
55863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
55864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
55865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
55866         multiarch isnan for PPC64.
55867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
55868         multiarch isnanf for PPC64.
55870         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
55871         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
55872         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
55873         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55874         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
55875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
55877         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
55878         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55879         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55880         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
55883         multiarch implementations.
55884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55885         (__libc_ifunc_impl_list): Likewise.
55886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
55887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55888         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
55889         multiarch stpcpy for PPC64.
55891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
55892         multiarch implementations.
55893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55894         (__libc_ifunc_impl_list): Likewise.
55895         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
55896         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
55897         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
55898         multiarch strcpy for PPC64.
55900         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
55901         redefine function name.
55902         (_wordcopy_fwd_dest_aligned): Likewise.
55903         (_wordcopy_bwd_aligned): Likewise.
55904         (_wordcopy_bwd_dest_aligned): Likewise.
55905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
55906         multiarch implementations.
55907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55908         (__libc_ifunc_impl_list): Likewise.
55909         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
55910         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
55911         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
55912         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
55913         multiarch wcscpy for PPC64.
55915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
55916         multiarch implementations.
55917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55918         (__libc_ifunc_impl_list): Likewise.
55919         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
55920         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
55921         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
55922         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
55923         multiarch wcscpy for PPC64.
55925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55926         multiarch implementations.
55927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55928         (__libc_ifunc_impl_list): Likewise.
55929         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
55930         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
55931         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
55932         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
55933         multiarch wcsrchr for PPC64.
55935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
55936         multiarch implementations.
55937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55938         (__libc_ifunc_impl_list): Likewise.
55939         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
55940         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
55941         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
55942         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
55943         multiarch wcschr for PPC64.
55945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
55946         multiarch implementations.
55947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55948         (__libc_ifunc_impl_list): Likewise.
55949         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
55950         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
55951         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
55952         multiarch strchrnul for PPC64.
55954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
55955         implementations.
55956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55957         (__libc_ifunc_impl_list): Likewise.
55958         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
55959         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
55960         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
55961         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
55962         strchr for PPC64.
55964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
55965         implementations.
55966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55967         (__libc_ifunc_impl_list): Likewise.
55968         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
55969         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
55970         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
55971         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
55972         strncmp for PPC64.
55974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
55975         multiarch implementations.
55976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55977         (__libc_ifunc_impl_list): Likewise.
55978         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55979         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
55980         strncasecmp for PPC64.
55981         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
55982         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
55983         multiarch strncasecmp_l for PPC64.
55985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
55986         multiarch implementations.
55987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55988         (__libc_ifunc_impl_list): Likewise.
55989         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
55990         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
55991         multiarch strcasecmp for PPC64.
55992         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
55993         file.
55994         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
55995         multiarch strcasecmp_l for PPC64.
55997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
55998         implementations.
55999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56000         (__libc_ifunc_impl_list): Likewise.
56001         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
56002         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
56003         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
56004         strnlen for PPC64.
56006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
56007         implementations.
56008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56009         (__libc_ifunc_impl_list): Likewise.
56010         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
56011         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
56012         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
56013         strlen for PPC64.
56015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
56016         implementations.
56017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56018         (__libc_ifunc_impl_list): Likewise.
56019         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
56020         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
56021         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
56022         rawmemrchr for PPC64.
56024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
56025         implementation.
56026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56027         (__libc_ifunc_impl_list): Likewise.
56028         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
56029         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
56030         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
56031         memrchr for PPC64.
56033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
56034         implementation.
56035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56036         (__libc_ifunc_impl_list): Likewise.
56037         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
56038         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
56039         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
56040         memchr for PPC64.
56042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
56043         implementation.
56044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56045         (__libc_ifunc_impl_list): Likewise.
56046         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
56047         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
56048         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
56049         mempcpy for PPC64.
56051         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
56052         avoid cretion of __bzero symbol.
56053         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
56054         Likewise.
56055         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
56056         Likewise.
56057         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
56058         Likewise.
56059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
56060         multiarch implementations.
56061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56062         (__libc_ifunc_impl_list): Likewise.
56063         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
56064         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
56065         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
56066         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
56067         bzero for PPC32.
56068         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
56069         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
56070         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
56071         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
56072         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
56073         memset for PPC64.
56074         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
56076         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
56077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
56078         implementations.
56079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56080         (__libc_ifunc_impl_list): Likewise.
56081         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
56082         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
56083         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
56084         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
56085         memcmp for PPC64.
56087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
56088         multiarch for POWER/PPC64.
56089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
56090         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
56091         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
56092         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
56093         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
56094         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
56095         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
56096         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
56097         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
56098         memcpy for PPC64.
56100         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
56101         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
56102         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
56103         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
56104         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
56105         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
56106         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
56107         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
56108         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
56109         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
56110         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
56111         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
56112         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
56113         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
56114         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
56115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
56116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
56117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
56118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
56119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
56120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
56121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
56123 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56125         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
56127 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56129         * benchtests/Makefile (bench): Add exp2 and log2.
56130         (LDLIBS-bench-exp2): Add -lm.
56131         (LDLIBS-bench-log2): Likewise.
56132         * benchtests/exp2-inputs: New inputs file.
56133         * benchtests/log2-inputs: New inputs file.
56134         * benchtests/log-inputs: Add new inputs.
56135         * benchtests/tan-inputs: Likewise.
56137 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56139         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
56140         definition...
56141         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
56142         (csloww2): ... from here.
56144         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
56145         instead of structures.
56146         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
56147         (POLYNOMIAL): Likewise.
56148         (TAYLOR_SLOW): Likewise.
56149         (__sin): Likewise.
56150         (__cos): Likewise.
56151         (slow1): Likewise.
56152         (slow2): Likewise.
56153         (sloww): Likewise.
56154         (sloww1); Likewise.
56155         (sloww2): Likewise.
56156         (bsloww1): Likewise.
56157         (bsloww2): Likewise.
56158         (cslow2): Likewise.
56159         (csloww): Likewise.
56160         (csloww1): Likewise.
56161         (csloww2): Likewise.
56163 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
56165         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56166         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56167         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56168         * malloc/hooks.c (realloc_check): Likewise.
56170         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56171         * malloc/arena.c: Remove PER_THREAD conditional.
56172         [!PER_THREAD]: Remove code.
56173         (ptmalloc_unlock_all2): Likewise.
56174         (ptmalloc_init): Likewise.
56175         (_int_new_arena): Likewise.
56176         (arena_get2): Likewise.
56177         * malloc/hooks.c (__malloc_get_state): Likewise.
56178         (__malloc_set_state): Likewise.
56179         * malloc/malloc.c: Likewise.
56180         (struct malloc_state): Likewise.
56181         (struct malloc_par): Likewise.
56182         (__libc_realloc): Likewise.
56183         (__libc_mallopt): Likewise.
56185 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56187         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56189 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
56191         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56192         macro to a function.  Check for zero perturb_byte.
56193         (_int_malloc, _int_free): Remove zero perturb_byte checks.
56195         * malloc/malloc.c: (force_reg): Remove.
56196         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56197         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56198         force_reg by atomic_forced_read.
56199         * malloc/arena.c (ptmalloc_init): Likewise.
56200         * malloc/hooks.c (top_check): Likewise.
56202 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56206 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
56208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56210 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
56212         * math/auto-libm-test-in: Add tests of lgamma.
56213         * math/auto-libm-test-out: Regenerated.
56214         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56215         (M_LOG_2_SQRT_PIl): Likewise.
56216         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56217         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56218         mpfr_f_f1.
56219         (func_calc_desc): Add mpfr_f_f1 union field.
56220         (ARGS1): New macro.
56221         (ARGS2): Likewise.
56222         (ARGS3): Likewise.
56223         (ARGS4): Likewise.
56224         (RET1): Likewise.
56225         (RET2): Likewise.
56226         (CALC): Likewise.
56227         (FUNC): Likewise.
56228         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56229         (test_functions): Add lgamma.
56230         (calc_generic_results): Handle mpfr_f_f1.
56231         * sysdeps/i386/fpu/libm-test-ulps: Update.
56232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56236         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56237         __mpn_add_n for PowerPC64/POWER7.
56238         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56239         __mpn_sub_n for PowerPC64/POWER7.
56241         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56242         __mpn_addmul_1 for PowerPC64.
56243         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56244         __mpn_submul_1 for PowerPC64.
56245         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56246         for PowerPC64.
56247         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56248         for PowerPC64.
56250 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56252         [BZ #15089]
56253         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56255 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56257         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56259         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56260         add multiarch folders.
56261         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56262         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56263         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56264         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56265         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56266         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56267         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56268         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56269         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56270         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56271         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56280         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56282         New file.
56283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56284         New file.
56285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56286         multiarch __ieee754_hypot for PowerPC32.
56287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56288         New file.
56289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56290         New file.
56291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56292         multiarch __ieee754_hypotf for PowerPC32.
56294         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56295         long_double_symbol only if __logbl is defined.
56296         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56297         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56299         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56301         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56302         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56303         path for implementation.
56304         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56305         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56307         logb, and logbl multiarch implementations for PowerPC32.
56308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56309         file.
56310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56311         file.
56312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56313         multiarch logb for PowerPC32.
56314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56315         file.
56316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56317         file.
56318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56319         multiarch logbf for PowerPC32.
56320         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56322         file.
56323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56324         multiarch logbl implementation for PowerPC32.
56326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56327         and modff multiarch implementations.
56328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56329         New file.
56330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56331         New file.
56332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56333         multiarch modf for PowerPC32.
56334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56335         New file.
56336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56337         New file.
56338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56339         multiarch modff for PowerPC32.
56341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56342         and lrintf multiarch implementations.
56343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56344         New file.
56345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56346         New file.
56347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56348         multiarch lrint for PowerPC32.
56349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56350         file: multiarch lrintf for PowerPC32.
56352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56353         and lroundf multiarch implementations.
56354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56355         New file.
56356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56357         New file.
56358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56359         New file.
56360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56361         multiarch lround for PowerPC32.
56362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56363         file: multiarch lroundf for PowerPC32.
56365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56366         copysign and copysignf multiarch implementations.
56367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56368         New file.
56369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56370         New file.
56371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56372         file: multiarch copysign for PowerPC32.
56373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56374         file: multiarch copysignf for PowerPC32.
56376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56377         and truncf multiarch implementations.
56378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56379         New file.
56380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56381         file.
56382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56383         multiarch trunc for PowerPC32.
56384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56385         New file.
56386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56387         New file.
56388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56389         multiarch truncf for PowerPC32.
56391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56392         and roundf multiarch implementations.
56393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56394         New file.
56395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56396         file.
56397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56398         multiarch round for PowerPC32.
56399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56400         New file.
56401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56402         New file.
56403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56404         multiarch roundf for PowerPC32.
56406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56407         and floorf multiarch implementations.
56408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56409         New file.
56410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56411         file.
56412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56413         multiarch floor for PowerPC32.
56414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56415         New file.
56416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56417         New file.
56418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56419         multiarch floorf for PowerPC32.
56421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56422         and ceilf multiarch implementations.
56423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56424         New file.
56425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56426         file.
56427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56428         multiarch ceil for PowerPC32.
56429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56430         New file.
56431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56432         file.
56433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56434         multiarch ceilf for PowerPC32.
56436         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56437         is defined.
56438         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56439         FINITEF is defined.
56440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56441         and finitef multiarch implementations.
56442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56443         New file.
56444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
56445         file.
56446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
56447         multiarch finite for PowerPC32.
56448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
56449         New file.
56450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
56451         file: multiarch finitef for PowerPC32.
56453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
56454         and isinff multiarch implementations.
56455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
56456         file.
56457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
56458         file.
56459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
56460         multiarch isinf for PowerPC32.
56461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
56462         New file.
56463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
56464         multiarch isinff for PowerPC32.
56466         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
56467         alias when __isnan is defined.
56468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
56469         and isnanf multiarch implementations.
56470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
56471         file.
56472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
56473         file.
56474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
56475         file.
56476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
56477         file.
56478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
56479         multiarch isnan for PowerPC32.
56480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
56481         New file.
56482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
56483         New file.
56484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
56485         multiarch isnanf for PowerPC32.
56487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
56488         and sqrtf multiarch implementations.
56489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
56490         file.
56491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
56492         file.
56493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
56494         multiarch sqrt for PowerPC32.
56495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
56496         file.
56497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
56498         file.
56499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
56500         multiarch sqrtf for PowerPC32.
56502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
56503         and llroundf multiarch implementations.
56504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
56505         New file.
56506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
56507         New file.
56508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
56509         New file.
56510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
56511         file: multiarch llround for PowerPC32.
56512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
56513         file: multiarch llroundf for PowerPC32.
56515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
56516         multiarch PowerPC32 fpu implementations.
56517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
56518         New file.
56519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
56520         New file.
56521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
56522         multiarch llrint for PowerPC32.
56523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
56524         New file.
56525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
56526         New file.
56527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
56528         file.
56530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
56532         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
56533         file.
56534         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
56535         file.
56536         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
56537         file.
56538         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
56539         multiarch wordcopy for PPC32.
56540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56541         wordcopy objects.
56542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56543         (__libc_ifunc_impl_list): Likewise.
56544         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
56545         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
56546         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
56547         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
56548         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
56549         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
56551         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
56552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
56553         file.
56554         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
56555         file.
56556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
56557         file.
56558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
56559         multiarch wcscpy for PPC32.
56560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56561         multiarch objects.
56562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56563         (__libc_ifunc_impl_list): Likewise.
56564         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56565         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56566         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
56567         sysdeps/powerpc/power6/wcscpy.c.
56569         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
56570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
56571         file.
56572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
56573         file.
56574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
56575         file.
56576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
56577         multiarch wcsrchr for PPC32.
56578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56579         multiarch objects.
56580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56581         (__libc_ifunc_impl_list): Likewise.
56582         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56583         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56584         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
56585         sysdeps/powerpc/power6/wcsrchr.c.
56587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
56588         file.
56589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
56590         file.
56591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
56592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
56593         multiarch wcschr for PPc32.
56594         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56595         multiarch objects.
56596         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56597         (__libc_ifunc_impl_list): Likewise.
56598         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
56599         * sysdeps/powerpc/power6/wcschr.c: ... to here.
56600         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
56601         sysdeps/powerpc/power6/wcschr.c.
56603         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
56604         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
56605         file.
56606         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
56607         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
56608         file: multiarch strchr for PPC32.
56609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
56610         multiarch objects.
56611         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56612         (__libc_ifunc_impl_list): Likewise.
56614         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
56615         name.
56616         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
56617         file.
56618         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
56619         file.
56620         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
56621         multiarch strchrnul for PPC32.
56622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
56623         multiarch objects.
56624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56625         (__libc_ifunc_impl_list): Likewise.
56627         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
56628         file.
56629         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
56630         multiarch strncasecmp for PPC32.
56631         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
56632         file.
56633         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
56634         multiarch strncasecmp_l for PPC32.
56635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
56636         strncasecmp multiarch objects.
56637         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56638         (__libc_ifunc_impl_list): Likewise.
56640         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
56641         file.
56642         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
56643         multiarch strncasecmp for PPC32.
56644         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
56645         New file.
56646         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
56647         multiarch strcasecmp_l for PPC32.
56648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
56649         multiarch objects.
56650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56651         (__libc_ifunc_impl_list): Likewise.
56653         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
56654         file.
56655         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
56656         file.
56657         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
56658         multiarch strncmp for PPC32.
56659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
56660         multiarch objects.
56661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56662         (__libc_ifunc_impl_list): Likewise.
56664         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
56665         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
56666         file.
56667         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
56668         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
56669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
56670         multiarch objects.
56671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56672         (__libc_ifunc_impl_list): Likewise.
56674         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
56675         file.
56676         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
56677         file.
56678         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
56679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
56680         multiarch objects.
56681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56682         (__libc_ifunc_impl_list): Likewise.
56684         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
56685         file.
56686         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
56687         file.
56688         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
56689         multiarch rawmemchr for PPC32.
56690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
56691         multiarch objects.
56692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56693         (__libc_ifunc_impl_list): Likewise.
56695         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
56696         file.
56697         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
56698         file.
56699         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
56700         file: memrchr multiarch for PPC32.
56701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
56702         multiarch objects.
56703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56704         (__libc_ifunc_impl_list): Likewise.
56706         * string/memchr.c (__memchr): Using macro to redefine symbol name.
56707         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
56708         file.
56709         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
56710         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
56711         multiarch memchr for PPC32.
56712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
56713         multiarch objects.
56714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56715         (__libc_ifunc_impl_list): Likewise.
56717         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
56718         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
56719         file.
56720         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
56721         file.
56722         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
56723         file: multiarch mempcpy for PPC32.
56724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
56725         multiarch objects.
56726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56727         (__libc_ifunc_impl_list): Likewise.
56729         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
56730         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
56731         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
56732         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
56733         multiarch bzero for PPC32.
56734         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
56735         file.
56736         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
56737         file.
56738         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
56739         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
56740         file: multiarch memset for PPC32.
56741         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
56742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
56743         memset multiarch objects.
56744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56745         (__libc_ifunc_impl_list): Likewise.
56747         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
56748         file.
56749         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
56750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
56751         memcmp for PPC32.
56752         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
56754         multiarch objects.
56755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56756         (__libc_ifunc_impl_list): Likewise.
56758         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
56759         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
56760         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
56761         file.
56762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
56763         file.
56764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
56765         file.
56766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
56767         multiarch memcpy for PPC32.
56768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
56769         multiarch objects.
56770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56771         (__libc_ifunc_impl_list): Likewise.
56773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
56774         support multiarch for POWER/PPC32.
56775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56776         Likewise.
56777         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56779         Implies file to make multiarch folder appers before the fpu and
56780         default folder for power4 configuration.
56782 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56784         * scripts/bench.pl: Append volatile keyword to type.
56786 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56788         * sysdeps/sh/sotruss-lib.c: New file.
56789         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56791 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56795 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56797         [BZ #6810]
56798         * math/w_tgamma.c: Include <errno.h>.
56799         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56800         * math/w_tgammaf.c: Include <errno.h>.
56801         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56802         * math/w_tgammal.c: Include <errno.h>.
56803         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56804         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56805         underflow.  Add more tgamma tests.
56806         * math/auto-libm-test-out: Regenerated.
56807         * sysdeps/i386/fpu/libm-test-ulps: Update.
56808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56810         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56811         sin, sinh, tan, tanh, tgamma, y0 and y1.
56812         * math/auto-libm-test-out: Regenerated.
56813         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56814         (TEST_COND_x86): Likewise.
56815         (M_E2l): Remove macro.
56816         (M_E3l): Likewise.
56817         (M_2_SQRT_PIl): Likewise.
56818         (M_SQRT_PIl): Likewise.
56819         (M_1_DIV_El): Likewise.
56820         (log_test_data): Use AUTO_TESTS_f_f.
56821         (log10_test_data): Likewise.
56822         (log1p_test_data): Likewise.
56823         (log2_test_data): Likewise.
56824         (sin_test_data): Likewise.
56825         (sin_tonearest_test_data): Likewise.
56826         (sin_towardzero_test_data): Likewise.
56827         (sin_downward_test_data): Likewise.
56828         (sin_upward_test_data): Likewise.
56829         (sinh_test_data): Likewise.
56830         (sinh_tonearest_test_data): Likewise.
56831         (sinh_towardzero_test_data): Likewise.
56832         (sinh_downward_test_data): Likewise.
56833         (sinh_upward_test_data): Likewise.
56834         (tan_test_data): Likewise.
56835         (tan_tonearest_test_data): Likewise.
56836         (tan_towardzero_test_data): Likewise.
56837         (tan_downward_test_data): Likewise.
56838         (tan_upward_test_data): Likewise.
56839         (tanh_test_data): Likewise.
56840         (tgamma_test_data): Likewise.
56841         (y0_test_data): Likewise.
56842         (y1_test_data): Likewise.
56843         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
56844         (special_real_inputs): Add pi/4.
56845         * sysdeps/i386/fpu/libm-test-ulps: Update.
56846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56848 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56850         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
56851         "longjmp_target" static probes.
56852         (__longjmp): Rename to __longjmp_symbol.
56853         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56854         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
56855         on which longjmp to generate.
56856         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56857         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
56858         probe.
56859         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56860         (__sigjmp_save): Rename to __sigjmp_save_symbol.
56861         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
56862         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
56863         and __sigjmp_save_symbol based on which sigsetjmp to generated.
56864         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
56866         __longjmp_symbol based on which __longjmp to generate.
56867         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
56868         probe.
56869         (setjmp): Rename to setjmp_symbol.
56870         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56871         (_setjmp): Rename to _setjmp_symbol.
56872         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56873         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
56874         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
56875         which setjmp to generate.
56876         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
56877         "longjmp_target" static probes.
56879 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56881         * benchtests/README: Add note about output arguments.
56882         * benchtests/bench-sincos.c: Remove file.
56883         * benchtests/sincos-inputs: New file.
56884         * scripts/bench.pl: Identify output arguments and define
56885         static variables for them.
56887         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
56889         [BZ #15941]
56890         * Makefile (INSTALL): Add install-plain.texi as the primary
56891         dependency.
56892         * manual/install-plain.texi: New file.
56893         * manual/install.texi: Include node directive only for
56894         non-plaintext output.
56896 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
56898         * stdlib/longlong.h: Update from GCC.
56900         [BZ #6807]
56901         [BZ #15901]
56902         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56903         * math/w_j0f.c (y0f): Likewise.
56904         * math/w_j0l.c (__y0l): Likewise.
56905         * math/w_j1.c (y1): Likewise.
56906         * math/w_j1f.c (y1f): Likewise.
56907         * math/w_j1l.c (__y1l): Likewise.
56908         * math/w_jn.c (yn): Likewise.
56909         * math/w_jnf.c (ynf): Likewise.
56910         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
56911         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
56912         value for Bessel function domain errors outside _SVID_ mode.
56913         Adjust sign of return value for yn (negative integer, 0).
56914         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
56915         by zero in return for negative x and set sign appropriately for
56916         negative n.
56917         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
56918         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56919         * math/libm-test.inc (y0_test_data): Add more tests and adjust
56920         expectations in error cases.
56921         (y1_test_data): Likewise.
56922         (yn_test_data): Likewise.
56923         * sysdeps/i386/fpu/libm-test-ulps: Update.
56924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56926 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56928         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
56929         "64" to "64-v1".  Add "64-v2".
56930         (abi-64-options): Rename to ...
56931         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
56932         (abi-64-condition): Rename to ...
56933         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
56934         (abi-64-ld-soname): Rename to ...
56935         (abi-64-v1-ld-soname): ... this.
56936         (abi-64-v2-options): Define.
56937         (abi-64-v2-condition): Likewise.
56938         (abi-64-v2-ld-soname): Likewise.
56939         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
56940         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
56941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
56943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
56945 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56946             Alan Modra  <amodra@gmail.com>
56948         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
56949         New versions for use with the ELFv2 ABI.
56950         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56951         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
56952         declaration.
56953         (struct La_ppc64v2_retval): Likewise.
56954         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
56955         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
56956         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
56957         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
56958         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
56959         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56960         Do not save or restore CR.
56961         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
56962         (_dl_profile_resolve): Do no save or restore CR.  Support extended
56963         return values for ELFv2 ABI.  Fix location of FPR return registers.
56964         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
56965         updated values for _CALL_ELF == 2.
56966         (La_regs, La_retval, int_retval): Likewise.
56968 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56970         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
56971         (FRAME_MIN_SIZE_PARM): Likewise.
56972         (FRAME_BACKCHAIN): Likewise.
56973         (FRAME_CR_SAVE): Likewise.
56974         (FRAME_LR_SAVE): Likewise.
56975         (FRAME_TOC_SAVE): Likewise.
56976         (FRAME_PARM_SAVE): Likewise.
56977         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
56978         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
56979         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56980         (call_mcount_parm_offset): New macro.
56981         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
56982         (PROF): Use symbolic stack frame offsets.
56983         (TAIL_CALL_SYSCALL_ERROR): Likewise.
56984         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
56985         Redefine in terms of FRAME_MIN_SIZE.
56986         (_dl_runtime_resolve): Use symbolic stack frame offsets.
56987         (_dl_profile_resolve): Likewise.  Update comment.
56988         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
56989         symbols stack frame offsets.
56990         (__sigsetjmp): Likewise.
56991         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
56992         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
56993         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
56994         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
56996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
56997         (FRAME_BACKCHAIN): Remove.
56998         (FRAME_CR_SAVE): Likewise.
56999         (FRAME_LR_SAVE): Likewise.
57000         (FRAME_COMPILER_DW): Likewise.
57001         (FRAME_LINKER_DW): Likewise.
57002         (FRAME_TOC_SAVE): Likewise.
57003         (FRAME_PARM_SAVE): Likewise.
57004         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
57005         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
57006         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
57008         (CHECK_SP): Use symbolic stack frame offsets.
57009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
57010         zone" instead of caller's parameter save area for temp storage.
57011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57012         Likewise.  Also, use symbolic stack frame offsets.
57013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
57014         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
57015         our own stack frame instead of the caller's.
57016         (__socket): Use symbolic stack frame offsets.
57018 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57019             Alan Modra  <amodra@gmail.com>
57021         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
57022         Define.
57023         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
57024         (PPC64_LOCAL_ENTRY_OFFSET): Define.
57025         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
57026         New function.
57027         (elf_machine_fixup_plt): Call it.
57028         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
57029         reloc arguments.
57030         (elf_machine_rela): Update call to elf_machine_plt_conflict.
57031         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57032         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
57033         r2 before calling target.
57035 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57036             Alan Modra  <amodra@gmail.com>
57038         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
57039         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
57040         versions of macros to support ELFv2 ABI.
57041         (LOCALENTRY): New macro.
57042         (ENTRY, EALIGN): Use it.
57043         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
57044         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
57045         fall through into ENTRY entry point.
57046         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
57047         Only define if _CALL_ELF != 2.
57049         (elf_machine_matches_host): Verify ABI version matches.
57050         (RTLD_START): Use LOCALENTRY.
57051         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
57052         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
57053         (PLT_ENTRY_WORDS): New macro.
57054         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
57055         (elf_machine_runtime_setup): Support ELFv2 ABI.
57056         (elf_machine_fixup_plt): Likewise.
57057         (elf_machine_plt_conflict): Likewise.
57058         (resolve_ifunc): Likewise.
57059         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57060         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57061         Likewise.
57062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
57063         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
57064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57065         (makecontext): Support ELFv2 ABI.
57066         * elf/elf.h (EF_PPC64_ABI): Define.
57068 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57070         * sysdeps/powerpc/powerpc64/sysdep.h
57071         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
57072         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
57073         (ENTRY) [ASSEMBLER]: ... but instead here ...
57074         (EALIGN) [ASSEMBLER]: ... and here.
57075         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
57076         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
57077         (ENTRY_2) [!ASSEMBLER]: Use it.
57078         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
57079         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
57080         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57081         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
57082         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
57083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
57084         Use PPC64_LOAD_FUNCPTR.
57086         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
57088 2013-12-04  Alan Modra  <amodra@gmail.com>
57090         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
57091         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
57092         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
57093         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
57095         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
57096         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
57097         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
57098         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
57099         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
57100         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
57102 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57105         (__makecontext): Fix incorrect CFI when backtracing out of
57106         context created via makecontext.
57107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
57108         (__setcontext): Fix incorrect CFI during switch to new context.
57109         (__novec_setcontext): Likewise.
57111 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57113         [BZ #4772]
57114         * time/strptime_l.c (__strptime_internal): Allow modifiers
57115         in strptime.
57116         * time/tst-strptime.c (day_tests): Add testcase.
57118 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57120         * scripts/bench.pl: Skip over blank lines.
57122 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
57124         [BZ #926]
57125         * manual/time.texi (Calendar Time): Clarify what timezone functions
57126         use.
57128 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57132 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57134         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
57135         implementation.
57136         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
57137         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
57138         * debug/memset_chk.c (__memset_chk): Likewise.
57139         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
57140         * debug/strncpy_chk.c: Likewise.
57142 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57144         [BZ #15268]
57145         [BZ #15425]
57146         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
57147         (__ieee754_exp): For possibly underflowing results, check size of
57148         result and force underflow exception if required.
57149         * math/auto-libm-test-in: Add more tests of exp.
57150         * math/auto-libm-test-out: Regenerated.
57151         * sysdeps/i386/fpu/libm-test-ulps: Update.
57152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57154         [BZ #16283]
57155         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57156         * math/w_exp2f.c (__exp2f): Likewise.
57157         * math/w_exp2l.c (__exp2l): Likewise.
57158         * math/auto-libm-test-in: Do not allow missing errno on exp2
57159         underflow.
57160         * math/auto-libm-test-out: Regenerated.
57162 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
57164         [BZ #16274]
57165         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57166         handle filename validation.
57167         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57168         (do_open): Delete.
57170 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57172         [BZ #6786]
57173         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57174         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57175         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57176         <float.h>.
57177         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57178         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57179         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57180         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57181         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57182         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57183         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57184         * math/auto-libm-test-in: Don't allow missing errno from erfc.
57185         Add more erfc tests.
57186         * math/auto-libm-test-out: Regenerated.
57187         * sysdeps/i386/fpu/libm-test-ulps: Update.
57188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57190         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57191         exp2, expm1, j0 and j1.
57192         * math/auto-libm-test-out: Regenerated.
57193         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57194         (erfc_test_data): Likewise.
57195         (exp_test_data): Likewise.
57196         (exp_tonearest_test_data): Likewise.
57197         (exp_towardzero_test_data): Likewise.
57198         (exp_downward_test_data): Likewise.
57199         (exp_upward_test_data): Likewise.
57200         (exp10_test_data): Likewise.
57201         (exp2_test_data): Likewise.
57202         (expm1_test_data): Likewise.
57203         (j0_test_data): Likewise.
57204         (j1_test_data): Likewise.
57205         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57206         (input_flag_type): Add flag_xfail_rounding.
57207         (input_flags): Add xfail-rounding.
57208         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57209         (output_for_one_input_case): Handle flag_xfail_rounding.
57210         * sysdeps/i386/fpu/libm-test-ulps: Update.
57211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57213 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57215         [BZ #16289]
57216         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57217         division by 0.
57219 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57221         [BZ #16195]
57222         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57223         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57224         (STAP_PROBE0): New macro.
57225         (STAP_PROBE1): Likewise.
57226         (STAP_PROBE2): Likewise.
57227         (STAP_PROBE3): Likewise.
57228         (STAP_PROBE4): Likewise.
57230 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57232         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57234 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57236         * benchtests/Makefile (bench): Add sqrt.
57237         (LDLIBS-bench-sqrt): New.
57238         * benchtests/sqrt-input: New.
57240 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57242         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57243         (GAIH_EAI): Likewise.
57244         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57245         (gaih_inet): Likewise.
57246         (getaddrinfo): Don't use GAIH_EAI.
57248         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57249         (struct gaih): Remove definition.
57251 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57253         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57254         Use HERRNOP directly.
57256 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57260 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57262         * math/gen-auto-libm-tests.c (test_functions): Add more
57263         single-argument functions.
57264         (special_fill_pi_2): New function.
57265         (special_fill_minus_pi_2): Likewise.
57266         (special_fill_pi_6): Likewise.
57267         (special_fill_minus_pi_6): Likewise.
57268         (special_fill_pi_3): Likewise.
57269         (special_fill_2pi_3): Likewise.
57270         (special_fill_e): Likewise.
57271         (special_fill_1_e): Likewise.
57272         (special_fill_e_minus_1): Likewise.
57273         (special_real_inputs): Add more special inputs.
57274         (output_for_one_input_case): Do not require ERANGE on underflow to
57275         zero if round-to-nearest result does not underflow to zero, unless
57276         exact results required.
57277         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57278         atan, atanh, cbrt, cos and cosh.
57279         * math/auto-libm-test-out: Regenerated.
57280         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57281         (acos_tonearest_test_data): Likewise.
57282         (acos_towardzero_test_data): Likewise.
57283         (acos_downward_test_data): Likewise.
57284         (acos_upward_test_data): Likewise.
57285         (acosh_test_data): Likewise.
57286         (asin_test_data): Likewise.
57287         (asin_tonearest_test_data): Likewise.
57288         (asin_towardzero_test_data): Likewise.
57289         (asin_upward_test_data): Likewise.
57290         (asinh_test_data): Likewise.
57291         (atan_test_data): Likewise.
57292         (atanh_test_data): Likewise.
57293         (cbrt_test_data): Likewise.
57294         (cos_test_data): Likewise.
57295         (cos_tonearest_test_data): Likewise.
57296         (cos_towardzero_test_data): Likewise.
57297         (cos_downward_test_data): Likewise.
57298         (cos_upward_test_data): Likewise.
57299         (cosh_test_data): Likewise.
57300         (cosh_tonearest_test_data): Likewise.
57301         (cosh_towardzero_test_data): Likewise.
57302         (cosh_downward_test_data): Likewise.
57303         (cosh_upward_test_data): Likewise.
57304         * sysdeps/i386/fpu/libm-test-ulps: Update.
57305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57307 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57309         [BZ #6787]
57310         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57311         * math/w_exp10f.c (__exp10f): Likewise.
57312         * math/w_exp10l.c (__exp10l): Likewise.
57313         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57314         errno settings in existing tests.
57316         [BZ #14032]
57317         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57318         precision control set to double precision.
57319         * sysdeps/i386/fpu/w_sqrt.c: New file.
57320         * math/auto-libm-test-in: Add more tests.
57321         * math/auto-libm-test-out: Update.
57323         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57324         (sqrt_test_tonearest): New function.
57325         (sqrt_towardzero_test_data): New variable.
57326         (sqrt_test_towardzero): New function.
57327         (sqrt_downward_test_data): New variable.
57328         (sqrt_test_downward): New function.
57329         (sqrt_upward_test_data): New variable.
57330         (sqrt_test_upward): New function.
57331         (main): Call the new functions.
57333         * math/gen-auto-libm-tests.c: New file.
57334         * math/auto-libm-test-in: Likewise.
57335         * math/auto-libm-test-out: New generated file.
57336         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57337         variables.
57338         (%beautify): Add generated representations of zero.
57339         (top level): Set $auto_input and call parse_auto_input.
57340         (beautify): Remove trailing "f" from hex float constants.
57341         (parse_args): Handle XFAIL_TEST.
57342         (convert_condition): New function.
57343         (or_value): Likewise.
57344         (or_cond_value): Likewise.
57345         (generate_testfile): Handle AUTO_TESTS_* lines.
57346         (parse_auto_input): New function.
57347         * math/libm-test.inc (XFAIL_TEST): New macro.
57348         (ERRNO_UNCHANGED): Update value.
57349         (ERRNO_EDOM): Likewise.
57350         (ERRNO_ERANGE): Likewise.
57351         (IGNORE_RESULT): Likewise.
57352         (TEST_COND_flt_32): New macro.
57353         (TEST_COND_dbl_64): Likewise.
57354         (TEST_COND_ldbl_96_intel): Likewise.
57355         (TEST_COND_ldbl_96_m68k): Likewise.
57356         (TEST_COND_ldbl_128): Likewise.
57357         (TEST_COND_ldbl_128ibm): Likewise.
57358         (TEST_COND_long32): Likewise.
57359         (TEST_COND_long64): Likewise.
57360         (TEST_COND_before_rounding): Likewise.
57361         (TEST_COND_after_rounding): Likewise.
57362         (enable_test): Handle XFAIL_TEST flag.
57363         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57364         with finite results.
57365         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57366         auto-libm-test-out.
57368 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57369             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57371         [BZ #16214]
57372         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57373         __tls_get_addr_internal instead of __tls_get_offset in order to
57374         avoid GOT pointer dependency.  Make rtld export
57375         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57376         __tls_get_addr since we are a __tls_get_offset platform.
57377         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57378         GOT pointer being set up before.
57379         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57381 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
57383         * manual/math.texi (Errors in Math Functions): Document accuracy
57384         goals.
57386         [BZ #15004]
57387         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57388         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57389         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57390         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57391         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57392         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57393         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57394         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57395         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57396         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57397         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57398         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57399         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57400         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57401         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57402         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57404         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57405         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57406         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57407         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57408         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57409         Likewise.
57410         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57411         Likewise.
57412         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57413         Likewise.
57414         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57415         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57416         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57417         atomic-feupdateenv and flt-rounds.
57418         * sysdeps/powerpc/nofpu/Versions (libc): Add
57419         __atomic_feholdexcept, __atomic_feclearexcept,
57420         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57421         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57422         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57423         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57424         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57425         here.
57426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57427         Update.
57429         * manual/arith.texi (FP Exceptions): Document that exceptions may
57430         not be raised when matherr is used.
57431         (Math Error Reporting): Document overflow in directed rounding
57432         modes.  Document that errno may not be set when finite values are
57433         returned on overflow.  Document intent to set errno on underflow
57434         only for underflow to zero.
57436         [BZ #16271]
57437         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57438         round-to-nearest then adjust result for other rounding modes.
57439         * include/fenv.h (fegetround): Use libm_hidden_proto.
57440         * math/fegetround.c (fegetround): Use libm_hidden_def.
57441         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57442         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57443         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57444         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
57445         Likewise.
57446         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
57447         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57448         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
57449         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
57451 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57453         [BZ #16077]
57454         * nss/Versions (libnss_files): Add
57455         _nss_files_gethostbyname3_r.
57456         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
57457         New function.
57458         (HOST_DB_LOOKUP): Remove macro.
57459         (_nss_files_gethostbyname_r): Implement function without the
57460         HOST_DB_LOOKUP macro.
57461         (_nss_files_gethostbyname2_r): Likewise.
57463 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
57465         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
57467 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
57469         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
57470         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
57471         warning.
57473 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57475         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
57476         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
57477         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57478         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
57479         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
57480         __fe_nomask_env_priv and attribute_hidden.
57481         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
57482         (libc_feupdateenv_test_ppc): Likewise.
57483         (libc_feresetround_ppc): Likewise.
57484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57485         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
57486         compat_symbol macro.
57487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57488         (__fe_nomask_env): Likewise.
57489         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
57491 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57493         * string/Makefile: Remove ifunc tests.
57494         * string/test-string.h: Define TEST_IFUNC.
57495         * string/test-bcopy-ifunc.c: Remove.
57496         * string/test-bzero-ifunc.c: Likewise.
57497         * string/test-memccpy-ifunc.c: Likewise.
57498         * string/test-memchr-ifunc.c: Likewise.
57499         * string/test-memcmp-ifunc.c: Likewise.
57500         * string/test-memcpy-ifunc.c: Likewise.
57501         * string/test-memmem-ifunc.c: Likewise.
57502         * string/test-memmove-ifunc.c: Likewise.
57503         * string/test-mempcpy-ifunc.c: Likewise.
57504         * string/test-memrchr-ifunc.c: Likewise.
57505         * string/test-memset-ifunc.c: Likewise.
57506         * string/test-rawmemchr-ifunc.c: Likewise.
57507         * string/test-stpcpy-ifunc.c: Likewise.
57508         * string/test-stpncpy-ifunc.c: Likewise.
57509         * string/test-strcasecmp-ifunc.c: Likewise.
57510         * string/test-strcasestr-ifunc.c: Likewise.
57511         * string/test-strcat-ifunc.c: Likewise.
57512         * string/test-strchr-ifunc.c: Likewise.
57513         * string/test-strchrnul-ifunc.c: Likewise.
57514         * string/test-strcmp-ifunc.c: Likewise.
57515         * string/test-strcpy-ifunc.c: Likewise.
57516         * string/test-strcspn-ifunc.c: Likewise.
57517         * string/test-strlen-ifunc.c: Likewise.
57518         * string/test-strncasecmp-ifunc.c: Likewise.
57519         * string/test-strncat-ifunc.c: Likewise.
57520         * string/test-strncmp-ifunc.c: Likewise.
57521         * string/test-strncpy-ifunc.c: Likewise.
57522         * string/test-strnlen-ifunc.c: Likewise.
57523         * string/test-strpbrk-ifunc.c: Likewise.
57524         * string/test-strrchr-ifunc.c: Likewise.
57525         * string/test-strspn-ifunc.c: Likewise.
57526         * string/test-strstr-ifunc.c: Likewise.
57528 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57530         * benchtests/Makefile: Remove ifunc tests.
57531         * benchtests/bench-string.h: Define TEST_IFUNC.
57532         * benchtests/bench-bcopy-ifunc.c: Remove.
57533         * benchtests/bench-bzero-ifunc.c: Likewise.
57534         * benchtests/bench-memccpy-ifunc.c: Likewise.
57535         * benchtests/bench-memchr-ifunc.c: Likewise.
57536         * benchtests/bench-memcmp-ifunc.c: Likewise.
57537         * benchtests/bench-memcpy-ifunc.c: Likewise.
57538         * benchtests/bench-memmem-ifunc.c: Likewise.
57539         * benchtests/bench-memmove-ifunc.c: Likewise.
57540         * benchtests/bench-mempcpy-ifunc.c: Likewise.
57541         * benchtests/bench-memrchr-ifunc.c: Likewise.
57542         * benchtests/bench-memset-ifunc.c: Likewise.
57543         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
57544         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
57545         * benchtests/bench-stpcpy-ifunc.c: Likewise.
57546         * benchtests/bench-stpncpy-ifunc.c: Likewise.
57547         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
57548         * benchtests/bench-strcasestr-ifunc.c: Likewise.
57549         * benchtests/bench-strcat-ifunc.c: Likewise.
57550         * benchtests/bench-strchr-ifunc.c: Likewise.
57551         * benchtests/bench-strchrnul-ifunc.c: Likewise.
57552         * benchtests/bench-strcmp-ifunc.c: Likewise.
57553         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
57554         * benchtests/bench-strcpy-ifunc.c: Likewise.
57555         * benchtests/bench-strcspn-ifunc.c: Likewise.
57556         * benchtests/bench-strlen-ifunc.c: Likewise.
57557         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
57558         * benchtests/bench-strncat-ifunc.c: Likewise.
57559         * benchtests/bench-strncmp-ifunc.c: Likewise.
57560         * benchtests/bench-strncpy-ifunc.c: Likewise.
57561         * benchtests/bench-strnlen-ifunc.c: Likewise.
57562         * benchtests/bench-strpbrk-ifunc.c: Likewise.
57563         * benchtests/bench-strrchr-ifunc.c: Likewise.
57564         * benchtests/bench-strsep-ifunc.c: Likewise.
57565         * benchtests/bench-strspn-ifunc.c: Likewise.
57566         * benchtests/bench-strstr-ifunc.c: Likewise.
57568 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57570         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
57572 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57574         * resolv/netdb.h: Use __glibc_reserved instead __unused.
57575         * rt/aio.h: Likewise.
57576         * sysdeps/gnu/bits/utmp.h: Likewise.
57577         * sysdeps/gnu/bits/utmpx.h: Likewise.
57578         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57579         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
57580         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
57581         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
57582         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
57583         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
57584         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
57585         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
57586         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
57587         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
57588         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
57589         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
57590         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
57591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
57592         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57593         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
57594         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
57595         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
57596         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
57597         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
57598         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
57599         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
57600         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
57601         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57602         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
57603         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57604         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
57605         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
57606         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
57607         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
57608         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
57609         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
57610         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
57611         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
57612         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
57613         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
57614         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
57615         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
57616         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
57617         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
57618         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
57619         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57621 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
57623         [BZ #16245]
57624         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
57625         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
57627 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
57629         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
57630         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
57631         Likewise.
57633 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57635         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
57636         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
57637         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
57638         (__fesetround): Remove define.
57639         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
57640         rounding and exceptions handling.
57641         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
57642         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
57643         (__fe_nomask_env): Likewise.
57644         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
57645         __fegetround instead of fegetround.
57646         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57647         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
57649 2013-11-21  Roland McGrath  <roland@hack.frob.com>
57651         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
57652         it's there.
57654         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
57656 2013-11-21  Meador Inge  <meadori@codesourcery.com>
57658         [BZ #11157]
57659         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
57660         (encrypt_r): Likewise.
57661         * malloc/obstack.h (obstack_free): Likewise.
57662         * posix/unistd.h (encrypt): Likewise.
57664 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
57666         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
57667         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
57668         DL_CALL_DT_FINI() that call the functions directly.
57669         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
57670         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
57671         * elf/dl-fini.c: Likewise.
57673 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
57675         * malloc/hooks.c (memalign_check): Add alignment rounding.
57676         * malloc/malloc.c (_mid_memalign): New function.
57677         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
57678         Implement by calling _mid_memalign.
57679         * manual/probes.texi (Memory Allocation Probes): Remove
57680         memory_valloc_retry and memory_pvalloc_retry.
57682 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57684         * locale/programs/locarchive.c (open_archive): Add const
57685         qualifier to ARCHIVEFNAME and copy default fname to
57686         DEFAULT_FNAME.
57688         [BZ #15601]
57689         * libio/tst-widetext.input: Rename Oriya to Odia.
57690         * locale/iso-639.def: Likewise.
57692         * manual/probes.texi (Mathematical Function Probes): Add
57693         documentation for sin, cos, asin and acos probes.
57694         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
57695         (__sin32): Add slowasin probe.
57696         (__cos32): Add slowacos probe.
57697         (__mpsin): Add slowsin probe.
57698         (__mpcos): Add slowcos probe.
57700 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
57702         [BZ #15483]
57703         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
57704         thread-local __sim_exceptions_thread and global
57705         __sim_exceptions_global.
57706         (__sim_disabled_exceptions): Change to thread-local
57707         __sim_disabled_exceptions_thread and global
57708         __sim_disabled_exceptions_global.
57709         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57710         and global __sim_round_mode_global.
57711         (__simulate_exceptions): Use thread-local floating-point state and
57712         set global state from it as needed.
57713         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
57714         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
57715         __sim_round_mode_thread.
57716         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
57717         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
57718         and global __sim_exceptions_global.
57719         (__sim_disabled_exceptions): Change to thread-local
57720         __sim_disabled_exceptions_thread and global
57721         __sim_disabled_exceptions_global.
57722         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57723         and global __sim_round_mode_global.
57724         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
57725         (SIM_SET_GLOBAL): Likewise.
57726         * sysdeps/powerpc/soft-fp/sfp-machine.h
57727         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
57728         __sim_round_mode_thread.
57729         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
57730         __sim_disabled_exceptions_thread.
57731         (__sim_exceptions): Change to __sim_exceptions_thread.
57732         (__sim_disabled_exceptions): Change to
57733         __sim_disabled_exceptions_thread.
57734         (__sim_round_mode): Change to __sim_round_mode_thread.
57735         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
57736         thread-local floating-point state and set global state from it as
57737         needed.
57738         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
57739         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
57740         (__sim_disabled_exceptions): Remove extern declaration.
57741         (feenableexcept): Use thread-local floating-point state and set
57742         global state from it as needed.
57743         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
57744         extern declaration.
57745         (__sim_disabled_exceptions): Likewise.
57746         (__sim_round_mode): Likewise.
57747         (__fegetenv): Use thread-local floating-point state.
57748         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
57749         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57750         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
57751         floating-point state and set global state from it as needed.
57752         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
57753         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
57754         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
57755         Likewise.
57756         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
57757         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
57758         Likewise.
57759         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
57760         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
57761         Use __sim_round_mode_thread.
57762         * math/test-fenv-tls.c: New file.
57763         * math/Makefile (tests): Add test-fenv-tls.
57764         ($(objpfx)test-fenv-tls): Depend on
57765         $(common-objpfx)nptl/libpthread.so.
57767 2013-11-19  Andreas Schwab  <schwab@suse.de>
57769         * locale/programs/locale.c (show_info): Decode wordarray elements.
57770         * locale/categories.def (LC_MONETARY): Add element for
57771         _NL_MONETARY_CRNCYSTR.
57772         * locale/C-monetary.c (conversion_rate): New variable.
57773         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
57774         element.
57776 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
57778         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57779         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57781 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57783         * elf/Makefile (tst-auxv): New test.
57784         * elf/tst-auxv.c: New
57785         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57787 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57789         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57790         (hidden_proto): Caller changed.
57791         (hidden_tls_proto): New macro.
57792         (libc_hidden_tls_proto): Likewise.
57793         (rtld_hidden_tls_proto): Likewise.
57794         (libm_hidden_tls_proto): Likewise.
57795         (libresolv_hidden_tls_proto): Likewise.
57796         (librt_hidden_tls_proto): Likewise.
57797         (libdl_hidden_tls_proto): Likewise.
57798         (libnss_files_hidden_tls_proto): Likewise.
57799         (libnsl_hidden_tls_proto): Likewise.
57800         (libnss_nisplus_hidden_tls_proto): Likewise.
57801         (libutil_hidden_tls_proto): Likewise.
57803 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57805         [BZ #10253]
57806         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57807         (decompose_rpath): Defer expansion to fillin_rpath.
57808         (_dl_init_paths): Pass linkmap to fillin_rpath.
57810 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57812         * benchtests/Makefile: Add strsep.
57813         * benchtests/bench-strsep.c: New file: strsep benchtest.
57814         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57816 2013-11-18  Andreas Schwab  <schwab@suse.de>
57818         * locale/programs/locale.c (show_info) [case byte]: Check for
57819         '\377' instead of '\177'.
57820         * locale/C-monetary.c (not_available): Always use "\377".
57821         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57822         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57823         detect unavailable sign_posn locale elements.
57824         * locale/localeconv.c (__localeconv): For grouping and
57825         mon_grouping handle "\177" and "\377" like no grouping.
57826         (INT_ELEM): New macro.  Use it to set all numeric members.
57827         * locale/programs/ld-monetary.c (monetary_read)
57828         <tok_mon_grouping>: Normalize single -1 to the empty string.
57829         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57830         Likewise.
57832 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57834         [BZ #16055]
57835         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
57836         when we match (nil).
57837         * stdio-common/tst-sscanf.c (struct test): Add testcase.
57839 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
57841         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
57842         (NO_TEST_INLINE): Update value.
57843         (ERRNO_UNCHANGED): Likewise.
57844         (ERRNO_EDOM): Likewise.
57845         (ERRNO_ERANGE): Likewise.
57846         (IGNORE_RESULT): Likewise.
57847         (check_float_internal): Check signs of NaN results if
57848         TEST_NAN_SIGN used.
57849         (check_complex): Pass TEST_NAN_SIGN flag through to second
57850         check_float_internal call.
57851         (copysign_test_data): Add tests with quiet NaNs as second
57852         argument.  Use TEST_NAN_SIGN.
57853         (fabs_test_data): Add test of negative quiet NaN argument.  Use
57854         TEST_NAN_SIGN.
57855         (signbit_test_data): Add tests of quiet NaN argument.
57856         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
57858         * math/gen-libm-test.pl (show_exceptions): Take extra argument
57859         $ignore_result.
57860         (parse_args): Handle function results specified as IGNORE.
57861         * math/libm-test.inc (IGNORE_RESULT): New macro.
57862         (check_float_internal): Do not check numerical result if flag
57863         IGNORE_RESULT set.
57864         (check_complex): Pass through IGNORE_RESULT to second
57865         check_float_internal call.
57866         (check_int): Do not check numerical result if flag IGNORE_RESULT
57867         set.
57868         (check_long): Likewise.
57869         (check_bool): Likewise.
57870         (check_longlong): Likewise.
57871         (lrint_test_data): Add tests of infinite and NaN arguments.
57872         (lrint_tonearest_test_data): Likewise.
57873         (lrint_towardzero_test_data): Likewise.
57874         (lrint_downward_test_data): Likewise.
57875         (lrint_upward_test_data): Likewise.
57876         (llrint_test_data): Likewise.
57877         (llrint_tonearest_test_data): Likewise.
57878         (llrint_towardzero_test_data): Likewise.
57879         (llrint_downward_test_data): Likewise.
57880         (llrint_upward_test_data): Likewise.
57881         (lround_test_data): Likewise.
57882         (llround_test_data): Likewise.
57884         * math/libm-test.inc (NO_TEST_INLINE): New macro.
57885         (ERRNO_UNCHANGED): Update value.
57886         (ERRNO_EDOM): Likewise.
57887         (ERRNO_ERANGE): Likewise.
57888         (NO_TEST_INLINE_FLOAT): New macro.
57889         (NO_TEST_INLINE_DOUBLE): Likewise.
57890         (enable_test): New function.
57891         (RUN_TEST_f_f): Check enable_test before running test.
57892         (RUN_TEST_2_f): Likewise.
57893         (RUN_TEST_fff_f): Likewise.
57894         (RUN_TEST_c_f): Likewise.
57895         (RUN_TEST_f_f1): Likewise.
57896         (RUN_TEST_fF_f1): Likewise.
57897         (RUN_TEST_fI_f1): Likewise.
57898         (RUN_TEST_ffI_f1): Likewise.
57899         (RUN_TEST_c_c): Likewise.
57900         (RUN_TEST_cc_c): Likewise.
57901         (RUN_TEST_f_i): Likewise.
57902         (RUN_TEST_f_i_tg): Likewise.
57903         (RUN_TEST_ff_i_tg): Likewise.
57904         (RUN_TEST_f_b): Likewise.
57905         (RUN_TEST_f_b_tg): Likewise.
57906         (RUN_TEST_f_l): Likewise.
57907         (RUN_TEST_f_L): Likewise.
57908         (RUN_TEST_fFF_11): Likewise.
57909         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
57910         conditionals.
57911         (cosh_test_data): Likewise.
57912         (exp_test_data): Likewise.
57913         (expm1_test_data): Likewise.
57914         (hypot_test_data): Likewise.
57915         (pow_test_data): Likewise.
57916         (sinh_test_data): Likewise.
57917         (tanh_test_data): Likewise.
57918         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
57919         flags argument.
57921         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
57922         tests with quiet NaN input and output.
57923         (acosh_test_data): Likewise.
57924         (asin_test_data): Likewise.
57925         (asinh_test_data): Likewise.
57926         (atan_test_data): Likewise.
57927         (atanh_test_data): Likewise.
57928         (atan2_test_data): Likewise.
57929         (cbrt_test_data): Likewise.
57930         (cos_test_data): Likewise.
57931         (cosh_test_data): Likewise.
57932         (erf_test_data): Likewise.
57933         (erfc_test_data): Likewise.
57934         (exp_test_data): Likewise.
57935         (exp10_test_data): Likewise.
57936         (exp2_test_data): Likewise.
57937         (expm1_test_data): Likewise.
57938         (hypot_test_data): Likewise.
57939         (j0_test_data): Likewise.
57940         (j1_test_data): Likewise.
57941         (jn_test_data): Likewise.
57942         (lgamma_test_data): Likewise.
57943         (log_test_data): Likewise.
57944         (log10_test_data): Likewise.
57945         (log1p_test_data): Likewise.
57946         (log2_test_data): Likewise.
57947         (pow_test_data): Likewise.
57948         (scalb_test_data): Likewise.
57949         (sin_test_data): Likewise.
57950         (sincos_test_data): Likewise.
57951         (sinh_test_data): Likewise.
57952         (tan_test_data): Likewise.
57953         (tanh_test_data): Likewise.
57954         (tgamma_test_data): Likewise.
57955         (y0_test_data): Likewise.
57956         (y1_test_data): Likewise.
57957         (yn_test_data): Likewise.
57959         [BZ #16167]
57960         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
57961         argument being NaN and avoid computations with second argument in
57962         that case.
57963         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57964         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
57965         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57967 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
57969         * locale/iso-639.def: Add Chitwani Tharu (the).
57971 2013-11-14  Andreas Schwab  <schwab@suse.de>
57973         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
57974         word instead of empty string.
57976 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57979         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
57980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57981         (__fe_nomask_env): Likewise.
57983 2013-11-13  Steve Ellcey  <sellcey@mips.com>
57985         * benchtests/bench-timing.h: Include time.h.
57987 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
57989         [BZ #15997]
57990         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
57991         to 3.4.0 for x32.
57992         * sysdeps/unix/sysv/linux/configure: Regenerated.
57994 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
57996         [BZ #16151]
57997         * stdlib/strtod_l.c (round_and_return): Do not consider
57998         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
57999         exponent one less than half the least subnormal exponent.
58000         * stdlib/test-strtod-round-data: Add more tests.
58001         * stdlib/tst-strtod-round.c (tests): Regenerated.
58003 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58005         [BZ #14143]
58006         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
58007         (__fe_mask_env): Likewise.
58008         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
58009         libm_hidden_proto and add function prototype.
58010         (__fe_mask_env): Add function prototype.
58011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58012         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
58013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58014         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
58015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58016         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
58018 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58020         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
58021         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
58023 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58025         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
58026         of htab_find_slot().
58028 2013-11-11  David S. Miller  <davem@davemloft.net>
58030         [BZ #16150]
58031         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
58032         symbol in the non-vis3 case in static builds.
58033         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
58034         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
58035         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
58036         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
58038 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
58040         [BZ #387]
58041         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
58042         it is empty.
58044 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58046         * benchtests/Makefile: Add bench-strtod.
58047         * benchtests/bench-strtod.c: New file: strtod benchtest
58049 2013-11-11  Andreas Schwab  <schwab@suse.de>
58051         [BZ #16153]
58052         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
58053         terminating NUL in key length.
58055 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58057         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58058         Add artificial ODP entry for vDSO symbol for PPC64.
58059         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
58060         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
58062 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58064         [BZ #15374]
58065         * nss/getent.c (services_keys): Recognize services starting with digit.
58067 2013-11-06  David S. Miller  <davem@davemloft.net>
58069         [BZ #15985]
58070         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
58071         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
58073 2013-11-06  Will Newton  <will.newton@linaro.org>
58075         * manual/memory.texi (Malloc Examples): Remove register
58076         keyword from examples.
58078 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
58080         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
58082 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
58084         [BZ #6981]
58085         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
58086         depending on [__GCC_IEC_559 > 0].
58087         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
58088         depending on [__GCC_IEC_559_COMPLEX > 0].
58090 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
58092         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
58093         to iso-639.def.
58095 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
58097         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
58099 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
58101         [BZ #16112]
58102         * malloc/malloc (malloc_info): Do not handle first bin as
58103         special case.
58105 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
58107         * locale/iso-639.def: Add Central Nahuatl (nhn).
58109 2013-11-01  Bruno Haible  <bruno@clisp.org>
58111         [BZ #7003]
58112         * manual/math.texi (BSD Random): Specify range upper bound as
58113         in POSIX.
58115 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
58117         * locale/iso-639.def: Add Meadow Mari (mhr).
58119 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
58121         [BZ #14752], [BZ #15763]
58122         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
58123         Validate name.
58124         * rt/tst_shm.c: Add test for escaping directory.
58126 2013-10-31  Andreas Schwab  <schwab@suse.de>
58128         [BZ #15917]
58129         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
58130         followed by 'x' as part of digit sequence.
58131         * stdio-common/tst-sscanf.c (double_tests2): New tests.
58133 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
58135         [BZ #16037]
58136         * configure.ac: allow GNU Make 4.0 and greater.
58137         * configure: Regenerated.
58139 2013-10-30  Will Newton  <will.newton@linaro.org>
58141         [BZ #16038]
58142         * malloc/hooks.c (memalign_check): Limit alignment to the
58143         maximum representable power of two.
58144         * malloc/malloc.c (__libc_memalign): Likewise.
58145         * malloc/tst-memalign.c (do_test): Add test for very
58146         large alignment values.
58147         * malloc/tst-posix_memalign.c (do_test): Likewise.
58149 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58151         [BZ #11087]
58152         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58153         (munmap_chunk): Likewise.
58154         (mremap_chunk): Likewise.
58156 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58158         [BZ #15799]
58159         * stdlib/div.c (div): Remove obsolete code.
58160         * stdlib/ldiv.c (ldiv): Likewise.
58161         * stdlib/lldiv.c (lldiv): Likewise.
58163 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58165         [BZ #16071]
58166         * nss/nss_files/files-XXX.c (get_contents_ret): New
58167         enumerator.
58168         (get_contents): New function.
58169         (internal_getent): Use it.  Expand size of LINEBUFLEN.
58171 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
58173         * configure.in: Moved to ...
58174         * configure.ac: ... here. Change reference to configure.in
58175         to configure.ac.
58176         * sysdeps/arm/preconfigure.ac: ... here.
58177         configure.in to configure.ac.
58178         * sysdeps/gnu/configure.in: Moved to ...
58179         * sysdeps/gnu/configure.ac: ... here.
58180         * sysdeps/i386/configure.in: Moved to ...
58181         * sysdeps/i386/configure.ac: ... here.
58182         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58183         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58184         * sysdeps/mach/configure.in: Moved to ...
58185         * sysdeps/mach/configure.ac: ... here.
58186         * sysdeps/mach/hurd/configure.in: Moved to ...
58187         * sysdeps/mach/hurd/configure.ac: ... here.
58188         * sysdeps/powerpc/configure.in: Moved to ...
58189         * sysdeps/powerpc/configure.ac: ... here.
58190         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58191         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58192         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58193         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58194         * sysdeps/s390/s390-32/configure.in: Moved to ...
58195         * sysdeps/s390/s390-32/configure.ac: ... here.
58196         * sysdeps/s390/s390-64/configure.in: Moved to ...
58197         * sysdeps/s390/s390-64/configure.ac: ... here.
58198         * sysdeps/sh/configure.in: Moved to ...
58199         * sysdeps/sh/configure.ac: ... here.
58200         * sysdeps/sparc/configure.in: Moved to ...
58201         * sysdeps/sparc/configure.ac: ... here.
58202         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58203         * sysdeps/unix/sysv/linux/configure.ac: ... here.
58204         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58205         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58206         * sysdeps/x86_64/configure.in: Moved to ...
58207         * sysdeps/x86_64/configure.ac: ... here.
58208         * sysdeps/x86_64/preconfigure.in: Moved to ...
58209         * sysdeps/x86_64/preconfigure.ac: ... here.
58210         * aclocal.m4: Change reference to configure.in to configure.ac.
58211         * config.h.in: Likewise.
58212         * manual/install.texi: Likewise.
58213         * manual/maint.texi: Likewise.
58214         * Makefile: Likewise.
58215         * malloc/Makefile: Likewise.
58216         * nscd/Makefile: Likewise.
58217         * Makeconfig: Change reference to configure.in and
58218         preconfigure.in to configure.ac and preconfigure.ac
58219         respectively.
58220         * INSTALL: Regenerated.
58221         * configure: Likewise.
58222         * sysdeps/gnu/configure: Likewise.
58223         * sysdeps/i386/configure: Likewise.
58224         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58225         * sysdeps/mach/configure: Likewise.
58226         * sysdeps/mach/hurd/configure: Likewise.
58227         * sysdeps/powerpc/configure: Likewise.
58228         * sysdeps/powerpc/powerpc32/configure: Likewise.
58229         * sysdeps/powerpc/powerpc64/configure: Likewise.
58230         * sysdeps/s390/s390-32/configure: Likewise.
58231         * sysdeps/s390/s390-64/configure: Likewise.
58232         * sysdeps/sh/configure: Likewise.
58233         * sysdeps/sparc/configure: Likewise.
58234         * sysdeps/unix/sysv/linux/configure: Likewise.
58235         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58236         * sysdeps/x86_64/configure: Likewise.
58237         * sysdeps/x86_64/preconfigure: Likewise.
58239 2013-10-29  Andreas Schwab  <schwab@suse.de>
58241         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58243 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58245         * benchtests/pow-inputs: Add new inputs.
58247         * benchtests/exp-inputs: Add new inputs.
58249         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58250         conditional check for return value.
58251         (__cos32): Likewise.
58253 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58255         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58256         to provide a boost for large inputs with word alignment.
58257         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58258         implementation based on optimized PPC64 strcpy.
58259         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58260         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58261         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58262         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58264 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58266         [BZ #2801]
58267         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58269 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58271         [BZ #14876]
58272         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58273         * time/tst-strptime.c (day_tests): Add testcase.
58275 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58277         [BZ #14029]
58278         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58280 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58282         [BZ #16074]
58283         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58284         MAP_FAILED on error.
58286 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58288         [BZ #16072]
58289         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58290         heap for large requests.
58292 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58294         [BZ #9954]
58295         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58296         result if the result has no associated interface.
58297         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58298         interface for all 127.X.Y.Z addresses.
58300 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58302         * locale/iso-639.def: Add Ligurian (lij)
58304 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58306         [BZ #15825]
58307         * sunrpc/rpc_main.c: Document rpcgen -5.
58309 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58311         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58313 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58315         [BZ #10278]
58316         * posix/glob.c: Match only directories when trailing slash is present.
58317         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58318         (main): Add testcase.
58320 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58322         [BZ #15670]
58323         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58325 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58327         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58328         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58329         AUTH_DES and cindex for FIPS 140-2.
58330         (DES Encryption): Add cindex FIPS 46-3.
58332         * locale/locarchive.h (struct locarhandle): Add fname.
58333         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58334         if an optional argument was specified to --list-archive,
58335         otherwise NULL.
58336         * locale/programs/locarchive.c (show_archive_content): Take new
58337         argument fname and pass it via ah.fname to open_archive.
58338         * locale/programs/localedef.h: Update decl.
58339         (open_archive): If AH->fname is non-null, open that file
58340         rather than the default file name, and don't ignore ENOENT.
58341         (create_archive): Set AH.fname to NULL.
58342         (delete_locales_from_archive): Likewise.
58343         (add_locales_to_archive): Likewise.
58344         * locale/programs/locfile.c (write_all_categories): Likewise.
58346 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
58347             Aldy Hernandez  <aldyh@redhat.com>
58349         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58350         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58351         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58352         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58353         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58354         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58355         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58356         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58357         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58358         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58359         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58360         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58361         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58362         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58363         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58364         Likewise.
58365         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58366         Likewise.
58367         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58368         Likewise.
58369         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58370         Likewise.
58371         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58372         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58373         Likewise.
58374         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58375         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58376         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58377         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58378         Likewise.
58379         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58380         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58381         * sysdeps/powerpc/preconfigure: Likewise.
58382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58383         Likewise.
58384         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58385         Replace contents of file by #include of <fenv_libc.h>.
58386         * sysdeps/powerpc/soft-fp/sfp-machine.h
58387         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58388         and <sys/prctl.h>.
58389         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58390         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58391         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58392         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58393         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58394         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58396         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58397         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58398         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58399         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58400         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58402         Allow copysignl PLT reference to be missing.
58404 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
58405             Joseph Myers  <joseph@codesourcery.com
58407         [BZ #15948]
58408         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58409         single character.
58410         (add_to_tablewc): Assert sequence of wide characters is nonempty.
58412 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58414         * elf/tst-tls-dlinfo.c: Don't include tls.h.
58415         * elf/tst-tls1.c: Likewise.
58416         * elf/tst-tls10.h: Likewise.
58417         * elf/tst-tls14.c: Likewise.
58418         * elf/tst-tls2.c: Likewise.
58419         * elf/tst-tls3.c: Likewise.
58420         * elf/tst-tls4.c: Likewise.
58421         * elf/tst-tls5.c: Likewise.
58422         * elf/tst-tls6.c: Likewise.
58423         * elf/tst-tls7.c: Likewise.
58424         * elf/tst-tls8.c: Likewise.
58425         * elf/tst-tls9.c: Likewise.
58426         * elf/tst-tlsmod1.c: Likewise.
58427         * elf/tst-tlsmod13.c: Likewise.
58428         * elf/tst-tlsmod13a.c: Likewise.
58429         * elf/tst-tlsmod14a.c: Likewise.
58430         * elf/tst-tlsmod16a.c: Likewise.
58431         * elf/tst-tlsmod16b.c: Likewise.
58432         * elf/tst-tlsmod2.c: Likewise.
58433         * elf/tst-tlsmod3.c: Likewise.
58434         * elf/tst-tlsmod4.c: Likewise.
58435         * elf/tst-tlsmod5.c: Likewise.
58436         * elf/tst-tlsmod6.c: Likewise.
58438 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
58440         [BZ #12486]
58441         * malloc/malloc.c: remove checks for statistics.
58443 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58445         [BZ #15277]
58446         * inet/inet_net.c (inet_network): Detect additional invalid strings.
58447         * inet/tst-network.c: Add testcase.
58449 2013-10-17  Andreas Schwab  <schwab@suse.de>
58451         [BZ #15218]
58452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
58453         to determine canonical name.
58455 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58457         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
58458         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
58459         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58460         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58461         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58462         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58463         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58464         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58465         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58466         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58467         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58468         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58469         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58470         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58471         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58472         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58473         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58474         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58475         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58476         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58477         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58478         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58479         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58480         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
58481         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
58482         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58483         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58484         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
58485         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58486         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
58487         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58488         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58489         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58490         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58491         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58492         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58493         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58494         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58495         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58496         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58497         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58498         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58499         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58500         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58501         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58502         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58503         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58504         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58505         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58506         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58507         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58508         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58509         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58510         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58511         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58512         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58513         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58514         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58516 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
58518         [BZ #16041]
58519         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
58520         make result into a quiet NaN.
58522 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
58524         * soft-fp/adddf3.c: Fix horizontal whitespace.
58525         * soft-fp/addsf3.c: Likewise.
58526         * soft-fp/addtf3.c: Likewise.
58527         * soft-fp/divdf3.c: Likewise.
58528         * soft-fp/divsf3.c: Likewise.
58529         * soft-fp/divtf3.c: Likewise.
58530         * soft-fp/double.h: Likewise.
58531         * soft-fp/eqdf2.c: Likewise.
58532         * soft-fp/eqsf2.c: Likewise.
58533         * soft-fp/eqtf2.c: Likewise.
58534         * soft-fp/extenddftf2.c: Likewise.
58535         * soft-fp/extended.h: Likewise.
58536         * soft-fp/extendsfdf2.c: Likewise.
58537         * soft-fp/extendsftf2.c: Likewise.
58538         * soft-fp/extendxftf2.c: Likewise.
58539         * soft-fp/fixdfdi.c: Likewise.
58540         * soft-fp/fixdfsi.c: Likewise.
58541         * soft-fp/fixdfti.c: Likewise.
58542         * soft-fp/fixsfdi.c: Likewise.
58543         * soft-fp/fixsfsi.c: Likewise.
58544         * soft-fp/fixsfti.c: Likewise.
58545         * soft-fp/fixtfdi.c: Likewise.
58546         * soft-fp/fixtfsi.c: Likewise.
58547         * soft-fp/fixtfti.c: Likewise.
58548         * soft-fp/fixunsdfdi.c: Likewise.
58549         * soft-fp/fixunsdfsi.c: Likewise.
58550         * soft-fp/fixunsdfti.c: Likewise.
58551         * soft-fp/fixunssfdi.c: Likewise.
58552         * soft-fp/fixunssfsi.c: Likewise.
58553         * soft-fp/fixunssfti.c: Likewise.
58554         * soft-fp/fixunstfdi.c: Likewise.
58555         * soft-fp/fixunstfsi.c: Likewise.
58556         * soft-fp/fixunstfti.c: Likewise.
58557         * soft-fp/floatdidf.c: Likewise.
58558         * soft-fp/floatdisf.c: Likewise.
58559         * soft-fp/floatditf.c: Likewise.
58560         * soft-fp/floatsidf.c: Likewise.
58561         * soft-fp/floatsisf.c: Likewise.
58562         * soft-fp/floatsitf.c: Likewise.
58563         * soft-fp/floattidf.c: Likewise.
58564         * soft-fp/floattisf.c: Likewise.
58565         * soft-fp/floattitf.c: Likewise.
58566         * soft-fp/floatundidf.c: Likewise.
58567         * soft-fp/floatundisf.c: Likewise.
58568         * soft-fp/floatunditf.c: Likewise.
58569         * soft-fp/floatunsidf.c: Likewise.
58570         * soft-fp/floatunsisf.c: Likewise.
58571         * soft-fp/floatunsitf.c: Likewise.
58572         * soft-fp/floatuntidf.c: Likewise.
58573         * soft-fp/floatuntisf.c: Likewise.
58574         * soft-fp/floatuntitf.c: Likewise.
58575         * soft-fp/fmadf4.c: Likewise.
58576         * soft-fp/fmasf4.c: Likewise.
58577         * soft-fp/fmatf4.c: Likewise.
58578         * soft-fp/gedf2.c: Likewise.
58579         * soft-fp/gesf2.c: Likewise.
58580         * soft-fp/getf2.c: Likewise.
58581         * soft-fp/ledf2.c: Likewise.
58582         * soft-fp/lesf2.c: Likewise.
58583         * soft-fp/letf2.c: Likewise.
58584         * soft-fp/muldf3.c: Likewise.
58585         * soft-fp/mulsf3.c: Likewise.
58586         * soft-fp/multf3.c: Likewise.
58587         * soft-fp/negdf2.c: Likewise.
58588         * soft-fp/negsf2.c: Likewise.
58589         * soft-fp/negtf2.c: Likewise.
58590         * soft-fp/op-1.h: Likewise.
58591         * soft-fp/op-2.h: Likewise.
58592         * soft-fp/op-4.h: Likewise.
58593         * soft-fp/op-8.h: Likewise.
58594         * soft-fp/op-common.h: Likewise.
58595         * soft-fp/quad.h: Likewise.
58596         * soft-fp/single.h: Likewise.
58597         * soft-fp/soft-fp.h: Likewise.
58598         * soft-fp/sqrtdf2.c: Likewise.
58599         * soft-fp/sqrtsf2.c: Likewise.
58600         * soft-fp/sqrttf2.c: Likewise.
58601         * soft-fp/subdf3.c: Likewise.
58602         * soft-fp/subsf3.c: Likewise.
58603         * soft-fp/subtf3.c: Likewise.
58604         * soft-fp/truncdfsf2.c: Likewise.
58605         * soft-fp/trunctfdf2.c: Likewise.
58606         * soft-fp/trunctfsf2.c: Likewise.
58607         * soft-fp/trunctfxf2.c: Likewise.
58608         * soft-fp/unorddf2.c: Likewise.
58609         * soft-fp/unordsf2.c: Likewise.
58610         * soft-fp/unordtf2.c: Likewise.
58612 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
58614         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
58615         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
58617 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
58619         * elf/dl-libc.c: Clear initfini list after freeing.
58621 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
58623         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
58624         * soft-fp/addsf3.c: Likewise.
58625         * soft-fp/addtf3.c: Likewise.
58626         * soft-fp/divdf3.c: Likewise.
58627         * soft-fp/divsf3.c: Likewise.
58628         * soft-fp/divtf3.c: Likewise.
58629         * soft-fp/double.h: Likewise.
58630         * soft-fp/eqdf2.c: Likewise.
58631         * soft-fp/eqsf2.c: Likewise.
58632         * soft-fp/eqtf2.c: Likewise.
58633         * soft-fp/extenddftf2.c: Likewise.
58634         * soft-fp/extended.h: Likewise.
58635         * soft-fp/extendsfdf2.c: Likewise.
58636         * soft-fp/extendsftf2.c: Likewise.
58637         * soft-fp/extendxftf2.c: Likewise.
58638         * soft-fp/fixdfdi.c: Likewise.
58639         * soft-fp/fixdfsi.c: Likewise.
58640         * soft-fp/fixdfti.c: Likewise.
58641         * soft-fp/fixsfdi.c: Likewise.
58642         * soft-fp/fixsfsi.c: Likewise.
58643         * soft-fp/fixsfti.c: Likewise.
58644         * soft-fp/fixtfdi.c: Likewise.
58645         * soft-fp/fixtfsi.c: Likewise.
58646         * soft-fp/fixtfti.c: Likewise.
58647         * soft-fp/fixunsdfdi.c: Likewise.
58648         * soft-fp/fixunsdfsi.c: Likewise.
58649         * soft-fp/fixunsdfti.c: Likewise.
58650         * soft-fp/fixunssfdi.c: Likewise.
58651         * soft-fp/fixunssfsi.c: Likewise.
58652         * soft-fp/fixunssfti.c: Likewise.
58653         * soft-fp/fixunstfdi.c: Likewise.
58654         * soft-fp/fixunstfsi.c: Likewise.
58655         * soft-fp/fixunstfti.c: Likewise.
58656         * soft-fp/floatdidf.c: Likewise.
58657         * soft-fp/floatdisf.c: Likewise.
58658         * soft-fp/floatditf.c: Likewise.
58659         * soft-fp/floatsidf.c: Likewise.
58660         * soft-fp/floatsisf.c: Likewise.
58661         * soft-fp/floatsitf.c: Likewise.
58662         * soft-fp/floattidf.c: Likewise.
58663         * soft-fp/floattisf.c: Likewise.
58664         * soft-fp/floattitf.c: Likewise.
58665         * soft-fp/floatundidf.c: Likewise.
58666         * soft-fp/floatundisf.c: Likewise.
58667         * soft-fp/floatunsidf.c: Likewise.
58668         * soft-fp/floatunsisf.c: Likewise.
58669         * soft-fp/floatuntidf.c: Likewise.
58670         * soft-fp/floatuntisf.c: Likewise.
58671         * soft-fp/floatuntitf.c: Likewise.
58672         * soft-fp/fmadf4.c: Likewise.
58673         * soft-fp/fmasf4.c: Likewise.
58674         * soft-fp/fmatf4.c: Likewise.
58675         * soft-fp/gedf2.c: Likewise.
58676         * soft-fp/gesf2.c: Likewise.
58677         * soft-fp/getf2.c: Likewise.
58678         * soft-fp/ledf2.c: Likewise.
58679         * soft-fp/lesf2.c: Likewise.
58680         * soft-fp/letf2.c: Likewise.
58681         * soft-fp/muldf3.c: Likewise.
58682         * soft-fp/mulsf3.c: Likewise.
58683         * soft-fp/multf3.c: Likewise.
58684         * soft-fp/negdf2.c: Likewise.
58685         * soft-fp/negsf2.c: Likewise.
58686         * soft-fp/negtf2.c: Likewise.
58687         * soft-fp/op-1.h: Likewise.
58688         * soft-fp/op-2.h: Likewise.
58689         * soft-fp/op-4.h: Likewise.
58690         * soft-fp/op-8.h: Likewise.
58691         * soft-fp/op-common.h: Likewise.
58692         * soft-fp/quad.h: Likewise.
58693         * soft-fp/single.h: Likewise.
58694         * soft-fp/soft-fp.h: Likewise.
58695         * soft-fp/sqrtdf2.c: Likewise.
58696         * soft-fp/sqrtsf2.c: Likewise.
58697         * soft-fp/sqrttf2.c: Likewise.
58698         * soft-fp/subdf3.c: Likewise.
58699         * soft-fp/subsf3.c: Likewise.
58700         * soft-fp/subtf3.c: Likewise.
58701         * soft-fp/truncdfsf2.c: Likewise.
58702         * soft-fp/trunctfdf2.c: Likewise.
58703         * soft-fp/trunctfsf2.c: Likewise.
58704         * soft-fp/trunctfxf2.c: Likewise.
58705         * soft-fp/unorddf2.c: Likewise.
58706         * soft-fp/unordsf2.c: Likewise.
58707         * soft-fp/unordtf2.c: Likewise.
58709 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
58711         [BZ #15672]
58712         * misc/error.c (error_tail): Fix possible buffer overflow.
58714 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
58716         [BZ #13028]
58717         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
58718         address.
58720 2013-10-14  P. J. McDermott  <pj@pehjota.net>
58722         [BZ #832]
58723         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
58724         testing pipefail option.
58726 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58728         * soft-fp/double.h: Indent preprocessor directives inside #if.
58729         * soft-fp/extended.h: Likewise.
58730         * soft-fp/op-2.h: Likewise.
58731         * soft-fp/op-4.h: Likewise.
58732         * soft-fp/op-common.h: Likewise.
58733         * soft-fp/quad.h: Likewise.
58734         * soft-fp/single.h: Likewise.
58735         * soft-fp/soft-fp.h: Likewise.
58737 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
58739         * iconv/iconv_prog.c: Fix typos.
58740         * stdio-common/psiginfo-data.h: Likewise.
58742 2013-10-12   Reuben Thomas <rrt@sc3d.org>
58744         [BZ #15764]
58745         * locale/setlocale.c: Fix typo.
58747 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58749         [BZ #16036]
58750         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
58751         signaling NaN arguments.
58752         * soft-fp/unordsf2.c (__unordsf2): Likewise.
58753         * soft-fp/unordtf2.c (__unordtf2): Likewise.
58755         [BZ #14910]
58756         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
58757         unordered operands.
58758         * soft-fp/gesf2.c (__gesf2): Likewise.
58759         * soft-fp/getf2.c (__getf2): Likewise.
58760         * soft-fp/ledf2.c (__ledf2): Likewise.
58761         * soft-fp/lesf2.c (__lesf2): Likewise.
58762         * soft-fp/letf2.c (__letf2): Likewise.
58764         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
58765         * soft-fp/eqsf2.c (__eqsf2): Likewise.
58766         * soft-fp/eqtf2.c (__eqtf2): Likewise.
58767         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
58768         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
58769         * soft-fp/fixdfti.c (__fixdfti): Likewise.
58770         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
58771         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
58772         * soft-fp/fixsfti.c (__fixsfti): Likewise.
58773         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
58774         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58775         * soft-fp/fixtfti.c (__fixtfti): Likewise.
58776         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58777         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58778         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58779         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58780         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58781         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58782         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58783         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58784         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58785         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58786         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58787         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58788         * soft-fp/floattidf.c (__floattidf): Likewise.
58789         * soft-fp/floattisf.c (__floattisf): Likewise.
58790         * soft-fp/floattitf.c (__floattitf): Likewise.
58791         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58792         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58793         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58794         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58795         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58796         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58797         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58798         * soft-fp/gesf2.c (__gesf2): Likewise.
58799         * soft-fp/getf2.c (__getf2): Likewise.
58800         * soft-fp/ledf2.c (__ledf2): Likewise.
58801         * soft-fp/lesf2.c (__lesf2): Likewise.
58802         * soft-fp/letf2.c (__letf2): Likewise.
58804         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58805         Undefine and redefine.
58806         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58807         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58808         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58809         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58810         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58811         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58812         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58813         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58814         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58815         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58816         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58817         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58818         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58819         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58820         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58822         [BZ #16032]
58823         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58824         without decrementing exponent if mantissa >= that for the
58825         denominator, not >.
58826         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58827         denominator, not >.  Decrement exponent in < case instead of
58828         incrementing in >= case.
58829         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58830         without decrementing exponent if mantissa >= that for the
58831         denominator, not >.
58833         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
58834         computing saturated result for unsigned overflow.
58836 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58837             Jeff Law  <law@redhat.com>
58839         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
58840         (atan2Mp): Add systemtap probe marker.
58841         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
58842         (__ieee754_log): Add systemtap probe marker.
58843         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
58844         (atanMp): Add systemtap probe marker.
58845         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
58846         (tanMp): Add systemtap probe marker.
58847         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
58848         (__slowexp): Add systemtap probe marker.
58849         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
58850         (__slowpow): Add systemtap probe marker.
58851         * manual/probes.texi: Document probes.
58853 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
58855         [BZ #15362]
58856         * libio/fileops.c (_IO_new_file_write): Return count of bytes
58857         written.
58858         (_IO_new_file_xsputn): Don't return EOF if nothing has been
58859         written.
58860         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
58861         written to buffer but not flushed.
58862         * libio/iofwrite_u.c:  Likewise.
58863         * libio/iopadn.c:  Return bytes returned even if EOF was
58864         encountered.
58865         * libio/iowpadn.c:  Likewise.
58866         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
58867         if _IO_padn does not write the whole buffer.
58868         [!COMPILE_WPRINTF] (PAD): Likewise.
58870 2013-10-10  David S. Miller  <davem@davemloft.net>
58872         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
58873         directory block.
58875 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58877         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
58878         instead of FSF address.
58879         * soft-fp/fixdfti.c: Likewise.
58880         * soft-fp/fixsfti.c: Likewise.
58881         * soft-fp/fixtfti.c: Likewise.
58882         * soft-fp/fixunsdfti.c: Likewise.
58883         * soft-fp/fixunssfti.c: Likewise.
58884         * soft-fp/fixunstfti.c: Likewise.
58885         * soft-fp/floattidf.c: Likewise.
58886         * soft-fp/floattisf.c: Likewise.
58887         * soft-fp/floattitf.c: Likewise.
58888         * soft-fp/floatuntidf.c: Likewise.
58889         * soft-fp/floatuntisf.c: Likewise.
58890         * soft-fp/floatuntitf.c: Likewise.
58891         * soft-fp/trunctfxf2.c: Likewise.
58893         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
58894         * soft-fp/fixdfti.c: Likewise.
58895         * soft-fp/fixsfti.c: Likewise.
58896         * soft-fp/fixtfti.c: Likewise.
58897         * soft-fp/fixunsdfti.c: Likewise.
58898         * soft-fp/fixunssfti.c: Likewise.
58899         * soft-fp/fixunstfti.c: Likewise.
58900         * soft-fp/floattidf.c: Likewise.
58901         * soft-fp/floattisf.c: Likewise.
58902         * soft-fp/floattitf.c: Likewise.
58903         * soft-fp/floatuntidf.c: Likewise.
58904         * soft-fp/floatuntisf.c: Likewise.
58905         * soft-fp/floatuntitf.c: Likewise.
58906         * soft-fp/trunctfxf2.c: Likewise.
58908 2013-10-10  David S. Miller  <davem@davemloft.net>
58910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58912 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
58914         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58915         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
58916         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
58917         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
58918         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
58919         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
58920         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
58922         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
58923         for NaNs before doing comparisons on argument.
58924         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
58925         Likewise.
58927 2013-10-10  Will Newton  <will.newton@linaro.org>
58929         * malloc/hooks.c (memalign_check): Ensure the value of bytes
58930         passed to _int_memalign does not overflow.
58932 2013-10-10  Torvald Riegel  <triegel@redhat.com>
58934         * scripts/bench.pl: Add include-sources directive.
58935         * benchtests/README: Update documentation.
58937 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58939         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
58940         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
58941         instead of FP_INIT_ROUNDMODE.
58942         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
58943         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
58945         [BZ #16034]
58946         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
58947         copy class of input value.
58948         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
58949         not handle exceptions.
58950         * soft-fp/negsf2.c (__negsf2): Likewise.
58951         * soft-fp/negtf2.c (__negtf2): Likewise.
58952         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
58954 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
58956         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
58957         semicolon.  From Linux kernel.
58959 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
58961         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
58963 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
58965         [BZ #156]
58966         * manual/socket.texi: Added statement about buffer
58967         for gethostbyname2_r.
58969 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
58971         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
58972         Use .p2align directive instead, throughout.
58973         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58974         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
58975         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
58976         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58977         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58978         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
58979         * sysdeps/x86_64/strchr.S: Likewise.
58980         * sysdeps/x86_64/strrchr.S: Likewise.
58982 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58984         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
58986         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
58988         * sysdeps/generic/math_private.h (__mpsin1): Remove
58989         declaration.
58990         (__mpcos1): Likewise.
58991         (__mpsin): New argument __range_reduce.
58992         (__mpcos): Likewise.
58993         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58994         (slow): Use __mpsin and __mpcos.
58995         (slow1): Likewise.
58996         (slow2): Likewise.
58997         (sloww): Likewise.
58998         (sloww1): Likewise.
58999         (sloww2): Likewise.
59000         (bsloww): Likewise.
59001         (bsloww1): Likewise.
59002         (bsloww2): Likewise.
59003         (cslow2): Likewise.
59004         (csloww): Likewise.
59005         (csloww1): Likewise.
59006         (csloww2): Likewise.
59007         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
59008         range_reduce.  Merge in __mpsin1.
59009         (__mpcos): Likewise.
59010         (__mpsin1): Remove.
59011         (__mpcos1): Likewise.
59013 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
59015         * locale/loadlocale.c (_nl_intern_locale_data): Use
59016         LOCFILE_ALIGNED_P.
59017         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
59018         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
59019         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
59020         obstack data is appropriately aligned.
59021         (obstack_int32_grow_fast): Likewise.
59022         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
59023         * locale/programs/locfile.c (add_locale_uint32): Likewise.
59024         (add_locale_uint32_array): Likewise.
59026 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59028         * benchtests/Makefile: Remove ARGLIST and RET variables.
59029         ($(objpfx)bench-%.c): Pass only function name to the script.
59030         * benchtests/README: Update documentation.
59031         * benchtests/acos-inputs: Add new directives.
59032         * benchtests/acosh-inputs: Likewise.
59033         * benchtests/asin-inputs: Likewise.
59034         * benchtests/asinh-inputs: Likewise.
59035         * benchtests/atan-inputs: Likewise.
59036         * benchtests/atanh-inputs: Likewise.
59037         * benchtests/cos-inputs: Likewise.
59038         * benchtests/cosh-inputs: Likewise.
59039         * benchtests/exp-inputs: Likewise.
59040         * benchtests/log-inputs: Likewise.
59041         * benchtests/pow-inputs: Likewise.
59042         * benchtests/rint-inputs: Likewise.
59043         * benchtests/sin-inputs: Likewise.
59044         * benchtests/sinh-inputs: Likewise.
59045         * benchtests/tan-inputs: Likewise.
59046         * benchtests/tanh-inputs: Likewise.
59047         * scripts/bench.pl: Add support for new directives.
59049 2013-10-07  Alan Modra  <amodra@gmail.com>
59051         * README: Fix careless merge.
59053 2013-10-05  Alan Modra  <amodra@gmail.com>
59055         * NEWS: Mention powerpc64le support and bugs fixed.
59056         * README: Both big-endian and little-endian powerpc64 supported.
59058 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59060         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
59061         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
59062         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
59063         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
59065 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
59067         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
59068         match prototype.
59070 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
59072         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
59073         Move -mhard-float appending from
59074         ports/sysdeps/powerpc/powerpc32/Makefile.
59075         [$(with-fp) = yes] (ASFLAGS): Likewise.
59076         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
59077         * sysdeps/powerpc/nofpu: Move directory from
59078         ports/sysdeps/powerpc/nofpu.
59079         * sysdeps/powerpc/soft-fp: Move directory from
59080         ports/sysdeps/powerpc/soft-fp.
59081         * sysdeps/powerpc/powerpc32/405: Move directory from
59082         ports/sysdeps/powerpc/powerpc32/405.
59083         * sysdeps/powerpc/powerpc32/440: Move directory from
59084         ports/sysdeps/powerpc/powerpc32/440.
59085         * sysdeps/powerpc/powerpc32/464: Move directory from
59086         ports/sysdeps/powerpc/powerpc32/464.
59087         * sysdeps/powerpc/powerpc32/476: Move directory from
59088         ports/sysdeps/powerpc/powerpc32/476.
59089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
59090         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
59091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
59092         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
59093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
59094         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
59095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
59096         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
59097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
59098         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
59099         * README: Update for powerpc-*-linux-gnu software floating point
59100         support in libc.
59102         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
59103         case to powerpc/powerpc32*.
59104         * sysdeps/unix/sysv/linux/configure: Regenerated.
59106         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
59107         (_FPU_MASK_OM): Define as 0x04.
59108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
59109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
59110         0x00c10080.
59111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
59112         0x0000003c.
59113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
59115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59116         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59117         getcontext_e500.
59118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
59119         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59120         setcontext_e500.
59121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
59122         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
59123         and setcontext_e500.
59125 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
59127         * locale/iso-3166.def: Update iso-1366.def and related occurrences
59129 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59131         * manual/threads.texi (Default Thread Attributes): Fix typo.
59133 2013-10-04  Will Newton  <will.newton@linaro.org>
59135         * malloc/Makefile: Add tst-memalign.
59136         * malloc/tst-memalign.c: New file.
59138         * malloc/tst-posix_memalign.c: Add comments.
59139         (do_test): Add comments and call free on all potentially
59140         allocated pointers. Add space after cast.
59142         * malloc/tst-pvalloc.c: Add comments.
59143         (do_test): Add comments and call free on all potentially
59144         allocated pointers. Remove duplicate check for NULL pointer.
59145         Add space after cast.
59147         * malloc/tst-valloc.c: Add comments.
59148         (do_test): Add comments and call free on all potentially
59149         allocated pointers. Remove duplicate check for NULL pointer.
59150         Add space after cast.
59152 2013-10-04  Alan Modra  <amodra@gmail.com>
59154         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59155         Use stdint types in rather than __attribute__((mode())).
59156         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59158 2013-10-04  Alan Modra  <amodra@gmail.com>
59160         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59161         Correct handling of unaligned relocs for little-endian.
59162         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59164 2013-10-04  Alan Modra  <amodra@gmail.com>
59166         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59167         * configure: Regenerate.
59168         * nptl/shlib-versions: Powerpc*le starts at 2.18.
59169         * shlib-versions: Likewise.
59171 2013-10-04  Alan Modra  <amodra@gmail.com>
59173         * string/tester.c (test_memrchr): Increment reported test cycle.
59175 2013-10-04  Alan Modra  <amodra@gmail.com>
59177         * string/test-memcpy.c (do_one_test): When reporting errors, print
59178         string address and don't overrun end of string.
59180 2013-10-04  Alan Modra  <amodra@gmail.com>
59182         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59183         insrdi.  Make better use of reg selection to speed exit slightly.
59184         Schedule entry path a little better.  Remove useless "are we done"
59185         checks on entry to main loop.  Handle wrapping around zero address.
59186         Correct main loop count.  Handle single left-over word from main
59187         loop inline rather than by using loop_small.  Remove extra word
59188         case in loop_small caused by wrong loop count.  Add little-endian
59189         support.
59190         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59191         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
59192         cache hint.
59193         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59194         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59195         support.  Avoid rlwimi.
59196         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59198 2013-10-04  Alan Modra  <amodra@gmail.com>
59200         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59201         insrdi.  Formatting.
59202         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59203         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59204         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59205         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59206         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59207         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59209 2013-10-04  Alan Modra  <amodra@gmail.com>
59211         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59212         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59213         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59214         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59215         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59216         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59217         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59218         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59219         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59220         use of regs.  Use power7 mtocrf.  Tidy function tails.
59222 2013-10-04  Alan Modra  <amodra@gmail.com>
59224         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59225         Formatting.  Consistently use rXXX register defines or rN defines.
59226         Use early exit labels that avoid restoring unused non-volatile regs.
59227         Make cr field use more consistent with rWORDn compares.  Rename
59228         regs used as shift registers for unaligned loop, using rN defines
59229         for short lifetime/multiple use regs.
59230         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59231         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59232         addi 1,1,64 to pop stack frame.  Simplify return value code.
59233         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59235 2013-10-04  Alan Modra  <amodra@gmail.com>
59237         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59238         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59239         rather than rlwimi.
59240         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59241         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59242         little-endian support.  Correct typos.
59243         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59244         rather than rlwimi.
59245         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59246         in loop and entry code to keep "and." results.
59247         (strchr): Add little-endian support.  Comment.  Move cntlzd
59248         earlier in tail.
59249         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59251 2013-10-04  Alan Modra  <amodra@gmail.com>
59253         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59254         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59255         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59256         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59258 2013-10-04  Alan Modra  <amodra@gmail.com>
59260         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59261         (rTMP): Define as r11.
59262         (strcmp): Add little-endian support.  Optimise tail.
59263         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59264         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59265         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59266         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59267         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59268         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59269         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59271 2013-10-04  Alan Modra  <amodra@gmail.com>
59273         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59274         little-endian support.  Remove unnecessary "are we done" tests.
59275         Handle "s" wrapping around zero and extremely large "size".
59276         Correct main loop count.  Handle single left-over word from main
59277         loop inline rather than by using small_loop.  Correct comments.
59278         Delete "zero" tail, use "end_max" instead.
59279         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59281 2013-10-04  Alan Modra  <amodra@gmail.com>
59283         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59284         support.  Don't branch over align.
59285         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59286         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59287         support.  Rearrange tmp reg use to suit.  Comment.
59288         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59290 2013-10-04  Alan Modra  <amodra@gmail.com>
59292         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59294 2013-10-04  Alan Modra  <amodra@gmail.com>
59296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59297         conditional form of branch and link when obtaining pc.
59298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59300 2013-10-04  Alan Modra  <amodra@gmail.com>
59302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59303         HIWORD/LOWORD.
59304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59307 2013-10-04  Alan Modra  <amodra@gmail.com>
59309         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59310         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59311         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59312         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59313         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59314         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59315         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59316         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59317         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59318         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59320 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59321             Alistair Popple <alistair@ozlabs.au.ibm.com>
59322             Alan Modra <amodra@gmail.com>
59324         [BZ #15723]
59325         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59326         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59327         _dl_hwcap access for little-endian.
59328         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59329         destroy vmx regs when saving unaligned.
59330         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59331         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59332         destroy vmx regs when saving unaligned.
59334 2013-10-04  Alan Modra  <amodra@gmail.com>
59336         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59337         Don't use a union to pack hi/low value.
59339 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59341         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59342         for little-endian.
59343         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59344         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59345         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59346         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59347         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59349 2013-10-04  Alan Modra  <amodra@gmail.com>
59351         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59352         constants to usual value for .cst8 section, and remove redundant
59353         high address load.
59354         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59355         constant for 0x1p52.  Load little-endian words of double from
59356         correct stack offsets.
59358 2013-10-04  Alan Modra  <amodra@gmail.com>
59360         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59361         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59362         words of double from correct stack offsets.
59363         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59364         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59365         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59366         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59367         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59368         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59369         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59370         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59371         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59372         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59373         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59374         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59375         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59376         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59377         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59378         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59379         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59381 2013-10-04  Alan Modra  <amodra@gmail.com>
59383         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59384         64-bit int/double union.
59385         (_FPU_SETCW): Likewise.
59386         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59387         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59389 2013-10-04  Alan Modra  <amodra@gmail.com>
59391         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59392         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59394 2013-10-04  Alan Modra  <amodra@gmail.com>
59396         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59397         use vector int constants.
59398         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59400 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59402         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59403         array with long long.
59404         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59405         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59406         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59407         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59408         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59409         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59410         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59411         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59412         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59413         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59414         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59415         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59416         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59418 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59420         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59421         (__signbit): Likewise.  Correct for little-endian.
59422         (__signbitl): Call __signbit.
59423         (lrint): Correct for little-endian.
59424         (lrintf): Call lrint.
59426 2013-10-04  Alan Modra  <amodra@gmail.com>
59428         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59429         union 32-bit int array member with 64-bit int array.
59430         (t515, tm256): Double rather than long double.
59431         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59433 2013-10-04  Alan Modra  <amodra@gmail.com>
59435         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59436         Delete.
59437         (IEEE854_LONG_DOUBLE_BIAS): Delete.
59438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59439         version of math_ldbl.h.
59441 2013-10-04  Alan Modra  <amodra@gmail.com>
59443         [BZ #15734], [BZ #15735]
59444         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
59445         all uses of ieee875 long double macros and unions.  Simplify test
59446         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
59447         ldbl_extract_mantissa value for ix,iy exponents.  Properly
59448         normalize after ldbl_extract_mantissa, and don't add hidden bit
59449         already handled.  Don't treat low word of ieee854 mantissa like
59450         low word of IBM long double and mask off bit when testing for
59451         zero.
59452         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
59453         all uses of ieee875 long double macros and unions.  Simplify tests
59454         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
59455         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
59456         two1022, instead use their values.  Recognise that tests for large
59457         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
59458         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
59459         Rewrite all uses of ieee875 long double macros and unions.  Simplify
59460         test for 0.0L and nan.  Correct negation.
59461         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
59462         ieee875 long double macros and unions.  Correct output for large
59463         magnitude x.  Correct absolute value calculation.
59464         (__erfcl): Likewise.
59465         * math/libm-test.inc: Add tests for errors discovered in IBM long
59466         double versions of fmodl, remainderl, erfl and erfcl.
59468 2013-10-04  Alan Modra  <amodra@gmail.com>
59470         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
59471         all uses of ieee854 long double macros and unions.  Simplify tests
59472         for long doubles that are fully specified by the high double.
59473         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
59474         Likewise.
59475         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59476         Remove dead code too.
59477         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
59478         (__ieee754_ynl): Likewise.
59479         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
59480         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
59481         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
59482         Remove dead code too.
59483         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
59484         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
59485         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
59486         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
59487         Simplify.
59488         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
59489         Simplify.
59490         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59491         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
59492         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
59493         Comment on variable precision.
59494         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
59495         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59496         Likewise.
59497         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
59498         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59499         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59500         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
59501         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
59503 2013-10-04  Alan Modra  <amodra@gmail.com>
59505         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
59506         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
59507         all uses of ieee854 long double macros and unions.
59508         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
59509         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59510         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
59511         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
59512         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
59513         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59514         Likewise.
59515         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
59516         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59517         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
59518         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59519         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
59520         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
59521         Simplify sign and nan test too.
59522         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
59523         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
59524         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
59525         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
59526         Likewise.
59527         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59528         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
59529         Likewise.
59530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59531         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
59532         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
59533         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
59534         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
59535         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
59537 2013-10-04  Alan Modra  <amodra@gmail.com>
59539         * stdio-common/printf_size.c (__printf_size): Don't use
59540         union ieee854_long_double in fpnum union.
59541         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
59542         signbit macro to retrieve sign from long double.
59543         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
59544         retrieve sign from long double.
59545         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
59546         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
59547         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
59548         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59549         * math/test-misc.c (main): Don't use union ieee854_long_double.
59551 2013-10-04  Alan Modra  <amodra@gmail.com>
59553         [BZ #15680]
59554         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
59555         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
59556         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
59557         calculation.  Remove unnecessary test for denormal exponent.
59558         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
59559         Correct handling of denormals.  Avoid undefined shift behaviour.
59560         Correct normalisation of low mantissa when low double is denormal.
59561         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
59562         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
59563         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
59564         Correct normalisation of low mantissa.  Test for overflow of high
59565         mantissa and normalise.
59566         (ldbl_nearbyint): Use more readable constant for two52.
59567         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
59568         (__mpn_construct_long_double): Fix test for overflow of high
59569         mantissa and correct normalisation.  Avoid undefined shift.
59571 2013-10-04  Alan Modra  <amodra@gmail.com>
59573         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59574         (union ibm_extended_long_double): Define as an array of ieee754_double.
59575         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
59576         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
59577         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
59578         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59579         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59580         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
59581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59582         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59583         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59584         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
59585         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59587 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
59589         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
59590         page size instead of calling getpagesize.
59592         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
59593         (LOCFILE_ALIGN_MASK): Likewise.
59594         (LOCFILE_ALIGN_UP): Likewise.
59595         (LOCFILE_ALIGNED_P): Likewise.
59596         * locale/programs/ld-collate.c (collate_output): Use the new
59597         macros instead of __alignof__ (int32_t).
59598         * locale/weight.h (findidx): Likewise.
59600 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
59602         [BZ #431]
59603         * manual/string.texi: Fix strncat and wcsncat.
59605 2013-10-03  Brooks Moses  <bmoses@google.com>
59607         [BZ #15915]
59608         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
59609         * Makerules: ...here, and adjust associated comments.
59611 2013-10-02  Will Newton  <will.newton@linaro.org>
59613         * malloc/Makefile: Add tst-pvalloc.
59614         * malloc/tst-pvalloc.c: New file.
59616 2013-10-02  Will Newton  <will.newton@linaro.org>
59618         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
59619         improve test coverage.
59621 2013-10-02  Will Newton  <will.newton@linaro.org>
59623         * malloc/Makefile: Add tst-posix_memalign.
59624         * malloc/tst-posix_memalign.c: New file.
59626 2013-10-01  Eric Blake  <eblake@redhat.com>
59628         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
59629         Use __THROWNL rather than __THROW on static functions.
59631 2013-09-30  Petr Machata  <pmachata@redhat.com>
59633         * elf/elf.h (R_AARCH64_ABS16): New macro.
59634         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
59635         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
59636         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
59637         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
59638         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
59639         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
59640         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
59641         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
59642         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
59643         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
59644         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
59645         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
59646         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
59647         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
59648         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
59649         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
59650         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
59651         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
59652         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
59653         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
59654         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
59655         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
59656         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
59657         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
59658         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
59659         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
59660         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
59661         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
59662         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
59663         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
59664         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
59665         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
59666         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
59667         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
59668         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
59669         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
59670         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
59671         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
59672         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
59673         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
59674         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
59675         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
59676         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
59677         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
59678         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
59679         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
59680         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
59681         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
59682         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
59683         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
59684         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
59685         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
59686         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
59687         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
59688         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
59689         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
59690         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
59691         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
59692         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
59693         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
59694         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
59695         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
59696         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
59697         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
59698         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
59699         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
59700         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
59701         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
59702         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
59703         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
59704         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
59705         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
59706         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
59707         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
59708         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
59709         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
59710         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
59711         (R_AARCH64_TLSDESC_LDR): Likewise.
59712         (R_AARCH64_TLSDESC_ADD): Likewise.
59713         (R_AARCH64_TLSDESC_CALL): Likewise.
59715 2013-09-30  Andreas Schwab  <schwab@suse.de>
59717         [BZ #15048]
59718         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
59719         the nss database lookup.
59720         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59723 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
59725         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
59727 2013-09-28  P. J. McDermott  <pj@pehjota.net>
59729         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
59730         ${Bash-specific parameter/pattern/string} parameter expansion.
59731         * sysdeps/unix/make-syscalls.sh: Likewise.
59733 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59735         * sysdeps/sh/stackguard-macros.h: New file.
59737 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
59739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59740         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
59741         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
59742         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
59743         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59744         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
59746 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59748         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
59749         Fix thread ID register.
59751 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
59753         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
59754         [POSIX || UNIX98]: Require rather than permitting all symbols from
59755         <time.h>.
59756         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
59757         element of struct sched_param.
59758         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
59759         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
59760         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
59761         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
59762         constant.
59764 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
59766         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
59767         argument calculation.
59769 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59771         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
59772         Expect macro.
59773         [POSIX] (pthread_attr_t): Do not require type.
59774         [POSIX] (pthread_cond_t): Likewise.
59775         [POSIX] (pthread_condattr_t): Likewise.
59776         [POSIX] (pthread_key_t): Likewise.
59777         [POSIX] (pthread_mutex_t): Likewise.
59778         [POSIX] (pthread_mutexattr_t): Likewise.
59779         [POSIX] (pthread_once_t): Likewise.
59780         [POSIX] (pthread_t): Likewise.
59781         [POSIX-based standards] (pthread_atfork): Expect function.
59783 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59784             Richard Sandiford  <richard@codesourcery.com>
59786         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59787         (swap_endianness_p): New extern variable.
59788         (set_big_endian): New inline function.
59789         (maybe_swap_uint32): Likewise.
59790         (maybe_swap_uint32_array): Likewise.
59791         (maybe_swap_uint32_obstack): Likewise.
59792         * locale/programs/locfile.c: Include <stdbool.h>.
59793         (swap_endianness_p): New variable.
59794         (add_locale_uint32): Call maybe_swap_uint32.
59795         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59796         (write_locale_data): Call maybe_swap_uint32_array.
59797         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59798         maybe_swap_uint32.
59799         (obstack_int32_grow_fast): Likewise.
59800         (output_weightwc): Call maybe_swap_uint32_obstack.
59801         (collate_output): Likewise.
59802         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59803         (OPT_LITTLE_ENDIAN): Likewise.
59804         (options): Add --little-endian and --big-endian options.
59805         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59806         * locale/programs/locarchive.c: Include "locfile.h".
59807         (GET): New macro.
59808         (SET): Likewise.
59809         (INC): Likewise.
59810         (create_archive): Use the new macros to access fields of
59811         structures directly mapped from or written to locale archives.
59812         (oldlocrecentcmp): Likewise.
59813         (enlarge_archive): Likewise.
59814         (insert_name): Likewise.
59815         (add_alias): Likewise.
59816         (add_locale): Likewise.
59817         (delete_locales_from_archive): Likewise.
59818         (show_archive_content): Likewise.
59819         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59820         locale data.
59822 2013-09-24  Roland McGrath  <roland@hack.frob.com>
59824         * manual/freemanuals.texi: Updated from (newly) canonical copy at
59825         http://www.gnu.org/doc/freemanuals.texi.
59826         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59828 2013-09-24  Will Newton  <will.newton@linaro.org>
59830         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59831         macro.
59833 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
59835         * locale/hashval.h (compute_hashval): Interpret bytes of key as
59836         unsigned char.
59838 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
59840         * manual/threads.texi (POSIX Threads): Fix a typo.
59842 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59844         [BZ #14547]
59845         * string/tst-strcoll-overflow.c: New test case.
59846         * string/Makefile (xtests): Add tst-strcoll-overflow.
59847         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
59848         cache if string sizes may cause integer overflow.
59850         [BZ #14547]
59851         * string/strcoll_l.c (coll_seq): New members rule, idx,
59852         save_idx and back_us.
59853         (get_next_seq_nocache): New function.
59854         (do_compare_nocache): New function.
59855         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
59856         when malloc fails.
59858 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
59860         [BZ #15754]
59861         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
59862         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
59863         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
59865         [BZ #15754]
59866         * elf/Makefile (tests): Add tst-ptrguard1.
59867         (tests-static): Add tst-ptrguard1-static.
59868         (tst-ptrguard1-ARGS): Define.
59869         (tst-ptrguard1-static-ARGS): Define.
59870         * elf/tst-ptrguard1.c: New file.
59871         * elf/tst-ptrguard1-static.c: New file.
59872         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
59873         * sysdeps/i386/stackguard-macros.h: Likewise.
59874         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59875         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59876         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59877         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59878         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59879         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59881 2013-09-23  Hector Marco  <hecmargi@upv.es>
59882             Ismael Ripoll  <iripoll@disca.upv.es>
59883             Carlos O'Donell  <carlos@redhat.com>
59885         [BZ #15754]
59886         * sysdeps/generic/stackguard-macros.h: Define
59887         __pointer_chk_guard_local and POINTER_CHK_GUARD.
59888         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
59889         Define __pointer_chk_guard_local.
59890         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
59891         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
59893 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
59895         [BZ #15859]
59896         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
59898 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
59900         * include/string.h (__ffs): Declare as hidden.
59901         * string/ffs.c (__ffs): Define as hidden.
59902         * sysdeps/i386/ffs.c (__ffs): Likewise.
59903         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
59904         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
59905         * sysdeps/s390/ffs.c (__ffs): Likewise.
59906         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
59908 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
59910         * NEWS: Mention malloc probes.
59912         * malloc/arena.c (new_heap): New memory_heap_new probe.
59913         (grow_heap): New memory_heap_more probe.
59914         (shrink_heap): New memory_heap_less probe.
59915         (heap_trim): New memory_heap_free probe.
59916         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
59917         (systrim): New memory_sbrk_less probe.
59918         * manual/probes.texi: Document them.
59920         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59921         * manual/probes.texi: Document it.
59923         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
59924         (__libc_realloc): Add memory_realloc_retry probe.
59925         (__libc_memalign): Add memory_memalign_retry probe.
59926         (__libc_valloc): Add memory_valloc_retry probe.
59927         (__libc_pvalloc): Add memory_pvalloc_retry probe.
59928         (__libc_calloc): Add memory_calloc_retry probe.
59929         * manual/probes.texi: Document them.
59931         * malloc/arena.c (get_free_list): Add probe
59932         memory_arena_reuse_free_list.
59933         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
59934         and memory_arena_reuse.
59935         (arena_get2) [!PER_THREAD]: Likewise.
59936         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
59937         memory_arena_reuse_realloc.
59938         * manual/probes.texi: Document them.
59940         * malloc/malloc.c (__libc_free): Add
59941         memory_mallopt_free_dyn_thresholds probe.
59942         (__libc_mallopt): Add multiple memory_mallopt probes.
59943         * manual/probes.texi: Document them.
59945         * malloc/malloc.c: Include stap-probe.h.
59946         (__libc_mallopt): Add memory_mallopt probe.
59947         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
59948         * manual/probes.texi: New.
59949         * manual/Makefile (chapters): Add probes.
59950         * manual/threads.texi: Set next node.
59952 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
59954         [BZ #15963, #13985]
59955         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59956         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
59957         Add `Chinese' to `nan' entry name.
59959 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59961         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
59962         (POLYNOMIAL): Likewise.
59963         (TAYLOR_SINCOS): Likewise.
59964         (TAYLOR_SLOW): Likewise.
59965         (__sin): Use TAYLOR_SINCOS.
59966         (__cos): Likewise.
59967         (slow): Use TAYLOR_SLOW.
59968         (sloww): Likewise.
59969         (bsloww): Likewise.
59970         (csloww): Likewise.
59972 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59974         * stdlib/strtod_l.c: Fix buffer overrun.
59976 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59978         * benchtests/Makefile (bench): Add sincos.
59979         * benchtests/bench-sincos.c: New file.
59981         * math/libm-test.inc (cos_test_data): New test inputs.
59982         (sin_test_data): Likewise.
59984         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
59985         macro.
59986         (__sin): Use it.
59987         (__cos): Likewise.
59988         (slow1): Likewise.
59989         (slow2): Likewise.
59990         (sloww1): Likewise.
59991         (sloww2): Likewise.
59992         (bsloww1): Likewise.
59993         (bsloww2): Likewise.
59994         (cslow2): Likewise.
59995         (csloww1): Likewise.
59996         (csloww2): Likewise.
59998         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
59999         function.
60000         (__sin): Use it.
60001         (__cos): Likewise.
60003         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
60004         gotos.
60005         (__cos): Likewise.
60007 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
60009         * config.h.in (HAVE_MIPS_NAN2008): New macro.
60010         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60011         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60012         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
60013         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
60014         * elf/cache.c (print_entry): Handle the new cache flags.
60016 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60017             Aldy Hernandez  <aldyh@redhat.com>
60019         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
60020         Change condition to [_SOFT_FLOAT].
60021         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
60022         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
60023         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
60024         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
60025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
60026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
60027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
60028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
60029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
60030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
60031         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
60032         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
60033         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
60034         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
60035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
60036         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
60037         declaration.
60039 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60041         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
60042         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60043         (__longjmp): Use LOAD_GP to load saved GPRs.
60044         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
60045         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60046         (__sigsetjmp): Use SAVE_GP to save GPRs.
60048         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
60049         Do not append -msoft-float.
60050         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
60052 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60054         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
60056 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
60058         [BZ #15966]
60059         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
60060         (_FPU_GETCW): Use initial "__" on variable and field names but not
60061         on macro parameter name.
60062         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
60063         parentheses around reference to macro parameter.
60065 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
60067         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
60068         prototype.
60069         (ctype_startup): Use uint32_t in cast and sizeof for
60070         ctype->charnames.
60072 2013-09-11  Jia Liu  <proljc@gmail.com>
60074         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
60075         __daddr_t_defined.
60076         [__FreeBSD__]: Likewise.
60078 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
60080         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
60081         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
60082         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
60083         (strchr): Remove __strchr_sse42 ifunc selection.
60084         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
60085         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
60087 2013-09-11  Will Newton  <will.newton@linaro.org>
60089         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
60090         parameter to RES. Remove hardcoded 1000 value.
60091         * benchtests/bench-skeleton.c (main): Pass RES parameter
60092         to TIMING_INIT and multiply result by 1000.
60094 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60098 2013-09-11  Andreas Schwab  <schwab@suse.de>
60100         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
60101         if not defined.
60102         (O_TMPFILE) [__USE_GNU]: Define.
60103         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
60104         Define.
60106 2013-09-11  Will Newton  <will.newton@linaro.org>
60108         [BZ #15857]
60109         * malloc/malloc.c (__libc_memalign): Check the value of bytes
60110         does not overflow.
60112 2013-09-11  Will Newton  <will.newton@linaro.org>
60114         [BZ #15856]
60115         * malloc/malloc.c (__libc_valloc): Check the value of bytes
60116         does not overflow.
60118 2013-09-11  Will Newton  <will.newton@linaro.org>
60120         [BZ #15855]
60121         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
60122         does not overflow.
60124 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
60126         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
60127         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60128         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60129         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60130         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60132 2013-09-10  Allan McRae  <allan@archlinux.org>
60134         [BZ #15748]
60135         * manual/arith.texi (Parsing of Floats): Clarify
60136         cross-reference.
60138         [BZ #15849]
60139         * manual/install.texi (Running make install): Mention
60140         --enable-pt-chown.
60141         * INSTALL: Regenerated.
60143 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
60145         * csu/init-first.c (_init): Remove the !SHARED condition around
60146         FPU control word initialization.
60147         * elf/dl-support.c (_dl_fpu_control): New variable.
60148         (_dl_aux_init) <AT_FPUCW>: Initialize it.
60149         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
60150         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
60151         * math/test-fpucw-static.c: New file.
60152         * math/test-fpucw-ieee.c: New file.
60153         * math/test-fpucw-ieee-static.c: New file.
60154         * math/Makefile (tests): Add `test-fpucw-ieee' and
60155         `$(tests-static)'.
60156         (tests-static): New variable.
60157         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60158         dependency to...
60159         [($(build-shared),yes)]
60160         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60161         ... this.
60162         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60163         New dependency.
60165 2013-09-09  Allan McRae  <allan@archlinux.org>
60167         [BZ #15939]
60168         * manual/string.texi (Collation Functions): Fix typo in
60169         strcoll example.
60170         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60172         [BZ #15893]
60173         * stdlib/isomac.c (get_null_defines): Fix memory leak.
60175         [BZ #15892]
60176         * libio/memstream.c (open_memstream): Fix memory leak.
60177         * libio/wmemstream.c (open_wmemstream): Likewise.
60179         [BZ #15895]
60180         * nscd/netgroupcache.c: Fix nesting of ifdefs.
60182 2013-09-09  Will Newton  <will.newton@linaro.org>
60184         * malloc/Makefile: Add tst-realloc to tests.
60185         * malloc/tst-realloc.c: New file.
60187 2013-09-09  Allan McRae  <allan@archlinux.org>
60189         [BZ #15844]
60190         * COPYING: Update from GNU website to fix FSF address.
60191         * COPYING.LIB: Likewise.
60193 2013-09-06  David S. Miller  <davem@davemloft.net>
60195         * po/zh_TW.po: Update Chinese (traditional) translation from
60196         translation project.
60198 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
60199             Joseph Myers  <joseph@codesourcery.com>
60201         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60202         "localeinfo.h".
60203         (obstack_chunk_alloc): New macro.
60204         (obstack_chunk_free): Likewise.
60205         (record_offset): New function.
60206         (init_locale_data): Likewise.
60207         (align_locale_data): Likewise.
60208         (add_locale_empty): Likewise.
60209         (add_locale_raw_data): Likewise.
60210         (add_locale_raw_obstack): Likewise.
60211         (add_locale_string): Likewise.
60212         (add_locale_wstring): Likewise.
60213         (add_locale_uint32): Likewise.
60214         (add_locale_uint32_array): Likewise.
60215         (add_locale_char): Likewise.
60216         (start_locale_structure): Likewise.
60217         (end_locale_structure): Likewise.
60218         (start_locale_prelude): Likewise.
60219         (end_locale_prelude): Likewise.
60220         (write_locale_data): Take locale_file structure rather than an
60221         iovec.
60222         * locale/programs/locfile.h: Include "obstack.h".
60223         (struct locale_file): Change to store locale file contents instead
60224         of header.
60225         (init_locale_data): New prototype.
60226         (align_locale_data): Likewise.
60227         (add_locale_empty): Likewise.
60228         (add_locale_raw_data): Likewise.
60229         (add_locale_raw_obstack): Likewise.
60230         (add_locale_string): Likewise.
60231         (add_locale_wstring): Likewise.
60232         (add_locale_uint32): Likewise.
60233         (add_locale_uint32_array): Likewise.
60234         (add_locale_char): Likewise.
60235         (start_locale_structure): Likewise.
60236         (end_locale_structure): Likewise.
60237         (start_locale_prelude): Likewise.
60238         (end_locale_prelude): Likewise.
60239         (write_locale_data): Update prototype.
60240         * locale/programs/3level.h (struct TABLE): Remove result field.
60241         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60242         Use new locale_file interface.
60243         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60244         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60245         * locale/programs/ld-address.c (address_output): Use new
60246         locale_file interface.
60247         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60248         NO_ADD_LOCALE.
60249         (collate_finish): Don't call collseq_table_finalize.
60250         (collate_output): Use new locale_file interface.
60251         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60252         in file.
60253         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60254         (TABLE): Move defines earlier in file.
60255         (ELEMENT): Likewise.
60256         (DEFAULT): Likewise.
60257         (wctrans_table_add): Move macro and inline function earlier in
60258         file.
60259         (struct wctype_table): Move type earlier in file.
60260         (add_locale_wctype_table): New static prototype.
60261         (struct locale_ctype_t): Use logical types instead of struct iovec
60262         pointers for members.
60263         (ctype_output): Use new locale_file interface.
60264         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60265         new locale_file interface.
60266         (allocate_arrays): Update for use of new locale_file interface.
60267         * locale/programs/ld-identification.c (identification_output): Use
60268         new locale_file interface.
60269         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60270         * locale/programs/ld-messages.c (messages_output): Likewise.
60271         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60272         * locale/programs/ld-name.c (name_output): Likewise.
60273         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60274         * locale/programs/ld-paper.c (paper_output): Likewise.
60275         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60276         * locale/programs/ld-time.c (time_output): Likewise.
60278 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60280         * benchtests/Makefile: Add memrchr benchmark.
60281         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60282         benchmark as memrchr.
60283         * benchtests/bench-memrchr-ifunc.c: New file.
60284         * benchtests/bench-memrchr.c: New file.
60286 2013-09-06   Will Newton  <will.newton@linaro.org>
60288         * benchtests/Makefile (string-bench): Add memcpy.
60290 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60291             Cong Wang  <amwang@redhat.com>
60293         [BZ #15850]
60294         * sysdeps/unix/sysv/linux/bits/in.h
60295         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60296         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60297         before __USE_KERNEL_IPV6_DEFS uses.
60298         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60299         IPPROTO_BEETPH.
60300         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60301         sockaddr_in6, or ipv6_mreq.
60303 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60305         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60306         memory access for final bytes in some large inputs.
60307         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60309 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60311         * string/test-memrchr.c: New file.
60312         * string/test-memrchr-ifunc.c: New file.
60313         * string/Makefile: Add new memrchr testcase.
60315 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60317         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60318         fanotify_init returns EPERM.
60320 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60322         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60323         errors.
60324         (top level): Treat second token from macro or constant entries for
60325         allowed headers as allowed.
60326         * include/complex.h: Condition internal declarations on
60327         [!_ISOMAC].
60328         * include/fenv.h: Condition include of <stdbool.h> and internal
60329         declarations on [!_ISOMAC].
60331 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60333         [BZ #15923]
60334         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60336 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60338         * configure.in (--enable-versioning): Remove configure option.
60339         (libc_cv_asm_symver_directive): Remove configure test.
60340         (libc_cv_ld_version_script_option): Likewise.
60341         (VERSIONING): Remove variable and AC_SUBST.
60342         (DO_VERSIONING): Remove AC_DEFINE.
60343         * configure: Regenerated.
60344         * config.h.in (DO_VERSIONING): Remove macro.
60345         * Makerules [$(versioning) = yes]: Change conditionals to
60346         [$(build-shared) = yes].
60347         * config.make.in (versioning): Remove variable.
60348         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60349         [$(build-shared) = yes].
60350         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60351         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60352         * elf/Makefile [$(versioning) = yes]: Change conditionals to
60353         [$(build-shared) = yes].
60354         * extra-lib.mk [$(versioning) = yes]: Likewise.
60355         * hurd/Makefile [$(versioning) = yes]: Likewise.
60356         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60357         [SHARED].
60358         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60359         [SHARED].
60360         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60361         [SHARED && !NO_HIDDEN].
60362         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60363         [SHARED].
60364         [SHARED && DO_VERSIONING]: Likewise..
60365         * libio/Makefile [$(versioning) = yes]: Change conditionals to
60366         [$(build-shared) = yes].
60367         * manual/install.texi (--disable-versioning): Remove
60368         documentation.
60369         * INSTALL: Regenerated.
60370         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60371         to [SHARED].
60372         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60373         [$(build-shared) = yes].
60374         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60375         * sysdeps/i386/i686/multiarch/strstr-c.c
60376         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60377         [SHARED && !NO_HIDDEN].
60378         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60379         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60380         * sysdeps/powerpc/powerpc32/dl-machine.c
60381         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60382         * sysdeps/powerpc/powerpc32/sysdep.h
60383         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60384         to [SHARED && PIC && !NO_HIDDEN].
60385         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60386         conditional to [SHARED].
60388 2013-09-04   Will Newton  <will.newton@linaro.org>
60390         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60391         * benchtests/bench-string.h: Include bench-timing.h instead
60392         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60393         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60394         call to HP_TIMING_DIFF_INIT.
60395         * benchtests/bench-memccpy.c: Use bench-timing.h macros
60396         instead of hp-timing.h macros.
60397         * benchtests/bench-memchr.c: Likewise.
60398         * benchtests/bench-memcmp.c: Likewise.
60399         * benchtests/bench-memcpy.c: Likewise.
60400         * benchtests/bench-memmem.c: Likewise.
60401         * benchtests/bench-memmove.c: Likewise.
60402         * benchtests/bench-memset.c: Likewise.
60403         * benchtests/bench-rawmemchr.c: Likewise.
60404         * benchtests/bench-strcasecmp.c: Likewise.
60405         * benchtests/bench-strcasestr.c: Likewise.
60406         * benchtests/bench-strcat.c: Likewise.
60407         * benchtests/bench-strchr.c: Likewise.
60408         * benchtests/bench-strcmp.c: Likewise.
60409         * benchtests/bench-strcpy.c: Likewise.
60410         * benchtests/bench-strcpy_chk.c: Likewise.
60411         * benchtests/bench-strlen.c: Likewise.
60412         * benchtests/bench-strncasecmp.c: Likewise.
60413         * benchtests/bench-strncat.c: Likewise.
60414         * benchtests/bench-strncmp.c: Likewise.
60415         * benchtests/bench-strncpy.c: Likewise.
60416         * benchtests/bench-strnlen.c: Likewise.
60417         * benchtests/bench-strpbrk.c: Likewise.
60418         * benchtests/bench-strrchr.c: Likewise.
60419         * benchtests/bench-strspn.c: Likewise.
60420         * benchtests/bench-strstr.c: Likewise.
60422 2013-09-04  Will Newton  <will.newton@linaro.org>
60424         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60426 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
60428         [BZ #15427]
60429         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60430         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60431         * math/libm-test.inc (lgamma_test_data): Add more tests.
60432         * sysdeps/i386/fpu/libm-test-ulps: Update.
60433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60435 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
60437         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60438         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60439         Add ifunc.
60440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60441         Add strcmp-sse2-unaligned
60442         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
60444 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60446         * Versions.def (libc): Add GLIBC_2.19.
60448 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60450         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
60451         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
60453 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
60455         [BZ #14155]
60456         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
60457         intermediate calculations in recurrence.
60458         (__ieee754_ynf): Likewise.
60459         * math/libm-test.inc (jn_test_data): Do not allow spurious
60460         underflow exception.  Add more tests.
60461         (yn_test_data): Add more tests.
60462         * sysdeps/i386/fpu/libm-test-ulps: Update.
60463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60465 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
60467         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
60469 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60471         * csu/init-first.c: Fix then/than typos.
60472         * locale/programs/ld-collate.c: Likewise.
60473         * locale/programs/linereader.h: Likewise.
60474         * manual/charset.texi: Likewise.
60475         * manual/filesys.texi: Likewise.
60476         * manual/stdio.texi: Likewise.
60477         * manual/string.texi: Likewise.
60478         * stdlib/fmtmsg.c: Likewise.
60479         * sysdeps/i386/stpncpy.S: Likewise.
60480         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60481         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60482         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60483         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60485 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60487         * elf/dl-open.c: Fix typos.
60488         * iconvdata/gbbig5.c: Likewise.
60489         * iconvdata/iso-2022-jp.c: Likewise.
60490         * iconv/gconv_int.h: Likewise.
60491         * iconv/loop.c: Likewise.
60492         * nis/rpcsvc/nis.h: Likewise.
60493         * resolv/ns_name.c: Likewise.
60494         * stdio-common/vfscanf.c: Likewise.
60495         * streams/stropts.h: Likewise.
60496         * sunrpc/rpc_thread.c: Likewise.
60497         * sysdeps/i386/strpbrk.S: Likewise.
60498         * sysdeps/ieee754/k_standard.c: Likewise.
60499         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60500         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60501         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
60502         * sysdeps/mach/hurd/profil.c: Likewise.
60503         * sysdeps/s390/dl-procinfo.h: Likewise.
60504         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
60505         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
60506         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
60507         * sysdeps/x86_64/dl-trampoline.S: Likewise.
60508         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60510 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
60512         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
60513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
60515 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
60517         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
60518         aix specific files.
60519         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
60520         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
60521         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
60522         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
60523         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
60524         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
60525         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
60526         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
60528 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60529             Roland McGrath  <roland@hack.frob.com>
60531         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
60532         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
60534 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60536         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
60537         __executable_start symbol instead of _start.
60539 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60541         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
60542         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
60543         Move macros to...
60544         * sysdeps/gnu/ldsodefs.h: ... this new file.
60546         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
60547         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
60548         instead of ELFOSABI_LINUX.
60550         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
60551         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
60552         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
60553         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
60554         Likewise.
60555         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
60556         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
60557         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
60558         Likewise.
60559         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60560         (ibm_extended_long_double): Add ieee_nan member.
60561         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
60562         (do_test): New function.
60564         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
60565         TEST_TRUNC.
60566         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
60567         functions, renamed from truncdfsf_test, trunctfsf_test,
60568         trunctfdf_test.
60569         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
60570         functions.
60571         (do_test): Run all these.
60573 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
60575         * argp/argp-help.c: Fix typos.
60576         * argp/argp-parse.c: Likewise.
60577         * debug/backtracesyms.c: Likewise.
60578         * elf/elf.h: Likewise.
60579         * malloc/malloc.c: Likewise.
60580         * nis/nis_print.c: Likewise.
60581         * resolv/res_comp.c: Likewise.
60582         * stdlib/stdlib.h: Likewise.
60583         * sunrpc/clnt_tcp.c: Likewise.
60584         * sunrpc/clnt_udp.c: Likewise.
60585         * sunrpc/clnt_unix.c: Likewise.
60586         * sysdeps/unix/bsd/ptsname.c: Likewise.
60587         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
60588         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
60589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
60590         Likewise.
60591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
60592         Likewise.
60593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
60594         Likewise.
60595         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60597 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60599         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
60600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60602 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
60604         [BZ #15897]
60605         * dlfcn/Makefile (tests): Add bug-dl-leaf.
60606         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
60607         ($(objpfx)bug-dl-leaf): New rule.
60608         ($(objpfx)bug-dl-leaf.so): Likewise.
60609         ($(objpfx)bug-dl-leaf.out): Likewise.
60610         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
60611         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
60612         * dlfcn/bug-dl-leaf.c: New test.
60613         * dlfcn/bug-dl-leaf-lib.c: Likewise.
60614         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
60615         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
60616         (dlclose): Likewise.
60617         (dlmopen): Likewise.
60619 2013-08-27  Roland McGrath  <roland@hack.frob.com>
60621         * include/netdb.h [!_ISOMAC]:
60622         Don't include <tls.h>.
60623         (h_errno, __libc_h_errno): Move declaration and macros out of
60624         [_LIBC_REENTRANT].
60626         * include/resolv.h [_RESOLV_H_]:
60627         Don't include <tls.h>.
60628         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
60629         * resolv/res_libc.c: Don't include <tls.h>.
60630         (_res): Use __attribute__ ((nocommon)) in place of
60631         __attribute__ ((section (".bss"))).
60633         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
60634         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
60636         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
60638         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
60639         only under [SIOCGIFCONF && SIOCGIFNETMASK].
60641         * resolv/res_mkquery.c: Include <sys/time.h>.
60643         * inet/ifreq.c: Moved to ...
60644         * sysdeps/unix/ifreq.c: ... here.
60645         * inet/ifreq.c: New file, true stub version.
60647         * socket/sa_len.c: New file.
60648         * socket/Makefile (aux): Add it.
60649         * sysdeps/unix/sysv/linux/Makefile
60650         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
60651         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
60652         and #include <socket/sa_len.c>.
60653         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
60654         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
60656         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
60657         * bits/socket.h: ... here.
60659         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
60660         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
60661         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
60663 2013-08-27  Andreas Schwab  <schwab@suse.de>
60665         [BZ #15736]
60666         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
60667         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
60668         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
60669         * string/test-strcasecmp.c (test_main): Run tests in several
60670         locales.
60671         * string/test-strncasecmp.c (test_main): Likewise.
60673         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
60674         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
60675         to __strcasecmp_nonascii and __strncasecmp_nonascii.
60676         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
60677         (__strncasecmp_ssse3) [PIC]: Likewise.
60679 2013-08-26  Roland McGrath  <roland@hack.frob.com>
60681         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
60683         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
60684         instead of explicitly declaring xdecrypt.
60685         * nis/nss_nis/nis-publickey.c: Likewise.
60687 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60689         [BZ #15890]
60690         * nscd/aicache.c: Include res_hconf.h.
60691         (addhstaiX): Initialize res_hconf.
60693 2013-08-26  Andreas Schwab  <schwab@suse.de>
60695         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
60696         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
60698 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60700         * nscd/aicache.c (addhstaiX): Fix indentation.
60702 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
60704         * configure.ac: Quote $build_pt_chown test.
60705         * configure: Regenerated.
60707 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
60709         [BZ #15532]
60710         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
60711         * math/s_cexpf.c (__cexpf): Likewise.
60712         * math/s_cexpl.c (__cexpl): Likewise.
60713         * math/libm-test.inc (cexp_test_data): Correct expected return
60714         value for NaN + i0.  Add another test.
60716 2013-08-22  David S. Miller  <davem@davemloft.net>
60718         * po/ca.po: Update Catalan translation from translation project.
60719         * po/uk.po: Add Ukrainian translations from translation project.
60721 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
60723         [BZ #15797]
60724         * math/s_fdim.c (__fdim): Check for infinite arguments if result
60725         is infinite, not alongside NaN test.
60726         * math/s_fdimf.c (__fdimf): Likewise.
60727         * math/s_fdiml.c (__fdiml): Likewise.
60728         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
60729         errno is unchanged.
60731 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
60733         * argp/argp-help.c: Fix typos.
60734         * crypt/speeds.c: Likewise.
60735         * csu/check_fds.c: Likewise.
60736         * elf/dl-load.c: Likewise.
60737         * elf/dl-open.c: Likewise.
60738         * elf/reldep3.c: Likewise.
60739         * elf/reldep.c: Likewise.
60740         * elf/sprof.c: Likewise.
60741         * iconv/iconv_charmap.c: Likewise.
60742         * iconv/skeleton.c: Likewise.
60743         * iconv/strtab.c: Likewise.
60744         * io/lockf64.c: Likewise.
60745         * libio/libioP.h: Likewise.
60746         * resolv/gai_notify.c: Likewise.
60747         * resolv/ns_name.c: Likewise.
60748         * resolv/ns_samedomain.c: Likewise.
60749         * resolv/res_send.c: Likewise.
60750         * stdlib/random.c: Likewise.
60751         * sunrpc/rpc/xdr.h: Likewise.
60752         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
60753         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60754         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60755         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60756         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60757         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60759         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60760         * sysdeps/mach/hurd/check_fds.c: Likewise.
60761         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60762         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60763         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60765         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60766         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60767         * sysdeps/pthread/aio_notify.c: Likewise.
60768         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
60769         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
60770         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
60771         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60772         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60774 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60776         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60777         version if bit_Slow_SSE4_2 is set.
60778         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60779         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60781 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60783         [BZ #15867]
60784         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60785         trampoline stack frame information.
60786         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60787         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60788         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60789         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60790         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60791         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60792         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60793         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60794         sa_flags value.
60795         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60796         interrupting a syscall and set with option SA_SIGINFO.
60798 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60800         [BZ #15531]
60801         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60802         argument is infinite.
60803         * math/s_cprojf.c (__cprojf): Likewise.
60804         * math/s_cprojl.c (__cprojl): Likewise.
60805         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60806         * math/libm-test.inc (cproj_test_data): Add more tests.
60808         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60810         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60811         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60812         size.  Use __ffs to determine corresponding shift.
60814 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60815             Roland McGrath  <roland@hack.frob.com>
60817         * Makefile (INSTALL): Remove trailing blank lines from output of
60818         makeinfo.
60820 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60822         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60823         Align 32 bit compat elf_greg to 8 bytes.
60825 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
60827         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60829 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60831         * string/strcoll_l.c (coll_seq): New structure.
60832         (get_next_seq_cached): New function.
60833         (get_next_seq): New function.
60834         (do_compare): New function.
60835         (STRCOLL): Use GNU style definition.  Simplify implementation
60836         by using get_next_seq, get_next_seq_cached and do_compare.
60838 2013-08-16  Florian Weimer  <fweimer@redhat.com>
60840         [BZ #14699]
60841         CVE-2013-4237
60842         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
60843         member.
60844         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
60845         member.
60846         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
60847         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
60848         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
60849         conditional.
60850         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
60851         GETDENTS_64BIT_ALIGNED.
60852         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60853         * manual/filesys.texi (Reading/Closing Directory): Document
60854         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
60855         strongly.
60856         * manual/conf.texi (Limits for Files): Add portability note to
60857         NAME_MAX, PATH_MAX.
60858         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
60860 2013-08-13  Andreas Schwab  <schwab@suse.de>
60862         [BZ #15749]
60863         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
60864         of fabs.
60865         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
60866         LDBL_MAX_EXP >= 16384]: Add tests for it.
60868 2013-08-12  David S. Miller  <davem@davemloft.net>
60870         * version.h (RELEASE): Set to "development".
60871         (VERSION): Set to "2.18.90".
60872         * NEWS: Add 2.19 section.
60874 2013-08-03  David S. Miller  <davem@davemloft.net>
60876         * po/ko.po: Update Korean translation from translation project.
60878 2013-08-01  David S. Miller  <davem@davemloft.net>
60880         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
60881         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
60882         Bilka.
60884 2013-07-30  David S. Miller  <davem@davemloft.net>
60886         * po/fr.po: Update French translation from translation project.
60888 2013-07-28  David S. Miller  <davem@davemloft.net>
60890         * po/cs.po: Update Czech translation from translation project.
60892         * po/sv.po: Update Swedish translation from translation project.
60894 2013-07-27  David S. Miller  <davem@davemloft.net>
60896         * po/eo.po: Update Esperanto translation from translation project.
60898         * po/vi.po: Update Vietnamese translation from translation project.
60900         * po/de.po: Update German translation from translation project.
60902 2013-07-26  David S. Miller  <davem@davemloft.net>
60904         * po/bg.po: Update Bulgarian translation from translation project.
60906         * po/nl.po: Update Dutch translation from translation project.
60907         * po/pl.po: Update Polish translation from translation project.
60908         * po/ru.po: Update Russian translation from translation project.
60910 2013-07-24  David S. Miller  <davem@davemloft.net>
60912         * po/libc.pot: Update.
60914 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60916         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
60917         variable page size.
60918         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60919         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
60920         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
60922 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60924         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
60926 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60927             Andreas Schwab  <schwab@suse.de>
60928             Roland McGrath  <roland@hack.frob.com>
60929             Joseph Myers  <joseph@codesourcery.com>
60930             Carlos O'Donell  <carlos@redhat.com>
60932         [BZ #15755]
60933         * config.h.in: Define HAVE_PT_CHOWN.
60934         * config.make.in (build-pt-chown): New variable.
60935         * configure.in (--enable-pt_chown): New configure option.
60936         * configure: Regenerate.
60937         * login/Makefile: Include Makeconfig.  Build pt_chown only if
60938         build-pt-chown is enabled.
60939         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
60940         pt_chown to fix pty ownership.
60941         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
60942         CLOSE_ALL_FDS.
60943         * manual/install.texi (Configuring and compiling): Mention
60944         --enable-pt_chown. Add @findex for grantpt.
60945         * INSTALL: Regenerate.
60947 2013-07-20  David S. Miller  <davem@davemloft.net>
60949         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
60950         difference between 32-bit and 64-bit.
60952 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
60954         [BZ #15711]
60955         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
60956         Avoid system header dependency with -ffreestanding.
60957         ($(objpfx)bits/syscall%d): Likewise.
60959 2013-07-13  David S. Miller  <davem@davemloft.net>
60961         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
60962         underflows from atanl/atan2l due to bug 15319.
60963         (casinh_test_data): Likewise.
60965 2013-07-07  David S. Miller  <davem@davemloft.net>
60967         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
60969 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
60971         * sysdeps/i386/fpu/libm-test-ulps: Update.
60972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60974 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60976         * configure.in (--enable-lock-elision): Fix message text.
60977         * INSTALL: Regenerate.
60978         * configure: Regenerate.
60980 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60984 2013-07-03  Andreas Jaeger  <aj@suse.de>
60986         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
60987         define.
60988         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
60989         (ptrace_peeksiginfo_args): Add.
60990         (__ptrace_peeksiginfo_flags): Add.
60991         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60992         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60993         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60995 2013-07-03  Allan McRae  <allan@archlinux.org>
60997         * sysdeps/i386/fpu/libm-test-ulps: Update.
60999 2013-07-02  David S. Miller  <davem@davemloft.net>
61001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61003 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
61005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61007 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61009         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
61010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61012 2013-07-02  Andi Kleen <ak@linux.intel.com>
61014         * config.h.in (ENABLE_LOCK_ELISION): Add.
61015         * configure.in (--enable-lock-elision): Add option.
61016         * manual/install.texi: Document --enable lock elision.
61017         * configure: Regenerate
61018         * INSTALL: Regenerate.
61020 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
61022         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
61023         SSE4.2 strcasecmp for libc.a.
61024         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
61026 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61028         [BZ #13304]
61029         * soft-fp/op-common.h (_FP_FMA): New macro.
61030         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
61031         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
61032         (_FP_MUL_MEAT_1_imm): ... here.
61033         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
61034         (_FP_MUL_MEAT_1_wide): ... here.
61035         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
61036         (_FP_MUL_MEAT_1_hard): ... here.
61037         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
61038         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
61039         (_FP_MUL_MEAT_2_wide): ... here.
61040         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
61041         (_FP_MUL_MEAT_2_wide_3mul): ... here.
61042         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
61043         (_FP_MUL_MEAT_2_gmp): ... here.
61044         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
61045         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
61046         (_FP_MUL_MEAT_4_wide): ... here.
61047         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
61048         (_FP_MUL_MEAT_4_gmp): ... here.
61049         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
61050         (_FP_WFRACBITS_DW_S): Likewise.
61051         (_FP_WFRACXBITS_DW_S): Likewise.
61052         (_FP_HIGHBIT_DW_S): Likewise.
61053         (FP_FMA_S): Likewise.
61054         (_FP_FRAC_HIGH_DW_S): Likewise.
61055         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
61056         (_FP_WFRACBITS_DW_D): Likewise.
61057         (_FP_WFRACXBITS_DW_D): Likewise.
61058         (_FP_HIGHBIT_DW_D): Likewise.
61059         (FP_FMA_D): Likewise.
61060         (_FP_FRAC_HIGH_DW_D): Likewise.
61061         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
61062         (_FP_WFRACBITS_DW_E): Likewise.
61063         (_FP_WFRACXBITS_DW_E): Likewise.
61064         (_FP_HIGHBIT_DW_E): Likewise.
61065         (FP_FMA_E): Likewise.
61066         (_FP_FRAC_HIGH_DW_E): Likewise.
61067         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
61068         (_FP_WFRACBITS_DW_Q): Likewise.
61069         (_FP_WFRACXBITS_DW_Q): Likewise.
61070         (_FP_HIGHBIT_DW_Q): Likewise.
61071         (FP_FMA_Q): Likewise.
61072         (_FP_FRAC_HIGH_DW_Q): Likewise.
61073         * soft-fp/fmasf4.c: New file.
61074         * soft-fp/fmadf4.c: Likewise.
61075         * soft-fp/fmatf4.c: Likewise.
61077 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61080         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
61081         Silvermont.
61082         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
61083         macro.
61084         (index_Slow_SSE4_2): Likewise.
61085         (index_Prefer_PMINUB_for_stringop): Likewise.
61086         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
61087         bit_Slow_SSE4_2 is set.
61088         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61089         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61091 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61093         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
61094         rtld_global._dl_hwcap2.
61095         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
61096         POWER8.
61097         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
61098         POWER8 feature descriptions defined in _dl_hwcap2.
61099         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
61100         string handling for POWER8 feature bits.
61101         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
61102         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
61103         _dl_powerpc_cap_flags.
61104         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
61105         * sysdeps/powerpc/rtld-global-offsets.sym
61106         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
61107         _dl_hwcap2 in the rtld_global_ro structure.
61109 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61111         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
61112         hardware capabilities in support of AT_HWCAP2.
61113         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
61114         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
61115         GLRO(dl_hwcap2).
61116         (_dl_show_auxv): Add support for calling _dl_procinfo to display
61117         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
61118         explicitly the unknown a_type display mechanism is used.
61119         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
61120         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
61121         struct member.
61122         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
61123         to macro prototype for AT_HWCAP2 support.
61124         * sysdeps/i386/dl-procinfo.h: Likewise.
61125         * sysdeps/s390/dl-procinfo.h: Likewise.
61126         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
61127         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
61128         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
61129         return -1 for unknown a_type display fallback.
61130         * sysdeps/sparc/dl-procinfo.h: Likewise.
61131         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
61132         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
61134 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
61136         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
61137         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
61139 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
61141         [BZ #12492]
61142         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
61143         mprotect making __stack_prot writable.
61145 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
61146             Joseph Myers  <joseph@codesourcery.com>
61148         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
61149         as being properly aligned.
61151 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
61153         * dlfcn/modstatic5.c: New file.
61154         * dlfcn/tststatic5.c: New file.
61155         * dlfcn/Makefile (tests): Add tststatic5.
61156         (tests-static): Likewise.
61157         (modules-names): Add modstatic5.
61158         (tststatic5-ENV): New variable.
61159         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61161         [BZ #15022]
61162         * elf/dl-support.c (_dl_main_map): New variable.
61163         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61164         (_dl_nns, _dl_load_adds): Set to 1.
61165         (_dl_initial_searchlist): Refer to _dl_main_map.
61166         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61167         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61168         call to _dl_get_origin.
61169         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61170         around call_map.
61171         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61172         * dlfcn/modstatic3.c: New file.
61173         * dlfcn/tststatic3.c: New file.
61174         * dlfcn/tststatic4.c: New file.
61175         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61176         (tests-static): Likewise.
61177         (modules-names): Add modstatic3.
61178         (tststatic3-ENV, tststatic4-ENV): New variables.
61179         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61180         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61182 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
61184         * configure.in (CC): Require GCC version 4.4 or later.
61185         * configure: Regenerated.
61186         * manual/install.texi (Tools for Compilation): Update GCC version
61187         requirement.
61188         * INSTALL: Regenerated.
61190 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61192         [BZ #15674]
61193         * string/test-memcmp.c (check2): New.
61194         (main): Call check2.
61196         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61198 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
61200         [BZ #15022]
61201         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61202         over to...
61203         (dl_open_worker) [!SHARED]: ... here.
61205 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61207         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61209 2013-06-25  Richard Henderson  <rth@redhat.com>
61211         * locale/programs/locarchive.c: Include <libc-internal.h>
61213 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61215         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61216         trailing whitespace removed.
61218 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61220         [BZ #10283]
61221         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61222         * locale/programs/locarchive.c: Include libc-mmap.h.
61223         (prepare_address_space): Take two new outputs (the mmap base and len).
61224         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61225         values.
61226         (create_archive): Declare new mmap base and len values for
61227         prepare_address_space, and store the result in ah.
61228         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61229         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61230         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61231         Declare new mmap base and len values for
61232         prepare_address_space, and store the result in new_ah.
61233         (open_archive): Declare new mmap base and len values for
61234         prepare_address_space, and store the result in ah.
61235         (close_archive): If ah->mmap_base is not NULL, use that and
61236         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61237         * sysdeps/generic/libc-mmap.h: New file.
61239 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61241         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61242         (ALIGN_UP): Likewise.
61243         (PTR_ALIGN_DOWN): Likewise.
61244         (PTR_ALIGN_UP): Likewise.
61246 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61248         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61249         entry mapped to PPC_PLATFORM_POWER8.
61250         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61251         POWER8.
61252         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61253         (_dl_string_platform): Add case for exporting platform position for
61254         POWER8.
61255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61256         search path to sysdeps/powerpc/powerpc32/power8 directory.
61257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61258         search path to sysdeps/powerpc/powerpc64/power8 directory.
61259         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61260         power7 directories.
61261         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61262         power7 directories.
61264 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61266         * INSTALL: Regenerate.
61268         * nscd/connections.c (nscd_init): Fix comment.
61270 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61272         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61274         [BZ #15667]
61275         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61276         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61278 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61280         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61281         DL_DST_REQ_STATIC.
61282         (DL_DST_REQ_STATIC): Remove macro.
61284 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61286         [BZ #7006]
61287         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61288         with a shift of 0 bits.
61290 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61292         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61293         $(tststatic-ENV).
61295 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61297         [BZ #15655]
61298         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61300 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61302         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61303         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61304         accepts -fno-tree-loop-distribute-patterns.
61305         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61306         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61307         recursive call.
61308         * string/memset.c (memset): Likewise.
61309         * string/test-memmove.c (simple_memmove): Disable loop transformation
61310         to library calls.
61311         * string/test-memset.c (simple_memset): Likewise.
61312         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61313         * benchtests/bench-memset.c (simple_memset): Likewise.
61314         * configure: Regenerated.
61316 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61318         * math/test-misc.c (main): Ignore fesetround failure when failures
61319         of subsequent rounding tests would be ignored.
61321         [BZ #15654]
61322         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61323         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61324         * math/fegetenv.c (__fegetenv): Return 0.
61325         * math/fegetexcept.c (fegetexcept): Return 0.
61326         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61327         FE_TONEAREST.
61328         * math/feholdexcpt.c (feholdexcept): Return 0.
61329         * math/fesetenv.c (__fesetenv): Return 0.
61330         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61331         argument FE_TONEAREST.
61332         * math/feupdateenv.c (__feupdateenv): Return 0.
61333         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61335 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61337         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61338         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61339         ($(objpfx)rtld-%.os rules): Use them.
61341 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61343         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61344         fields.
61346 2013-06-17  Roland McGrath  <roland@hack.frob.com>
61348         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61349         length of target pattern, then descending length of dependency pattern.
61350         * configure.in (AWK): Require gawk 3.1.2 or newer.
61351         * manual/install.texi (Tools for Compilation): Say that we do.
61352         * configure: Regenerated.
61354         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61355         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61356         * scripts/sysd-rules.awk: ... this new script.
61357         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61358         than a glob-style pattern.
61360 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
61362         * math/test-misc.c (main): Do not treat incorrectly rounded
61363         conversions as failure unless ROUNDING_TESTS passes.
61365 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
61367         [BZ #15631]
61368         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61369         restore exception state around main square root computation, then
61370         check for inexactness explicitly.
61372         * math/libm-test.inc (fma_test_data): Add another test.
61374 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61376         * manual/threads.texi (Non-POSIX Extensions): New document
61377         node.  Document pthread_getattr_default_np and
61378         pthread_setattr_default_np.
61380         * Versions.def (libpthread): Add GLIBC_2.18.
61381         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61383         Likewise.
61384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61385         Likewise.
61386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61387         Likewise.
61388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61389         Likewise.
61390         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61391         Likewise.
61392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61393         Likewise.
61394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61395         Likewise.
61396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61397         Likewise.
61398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61399         Likewise.
61401 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61404         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61406 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61407             H.J. Lu  <hjl.tools@gmail.com>
61409         [BZ #15627]
61410         * sysdeps/x86_64/rtld-memset.c: Remove file.
61411         * sysdeps/x86_64/rtld-memset.S: New file.
61413 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
61415         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61416         (test_in_one_mode): Take arguments for whether the rounding mode
61417         is supported for each floating-point type.
61418         (do_test): Pass new arguments to test_in_one_mode using
61419         ROUNDING_TESTS.
61421 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61423         * posix/tst-waitid.c (do_test): Distinguish different instances of
61424         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
61425         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61426         before entering the kernel for waitpid.
61428 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61430         * NEWS: Fix note on clock function precision.  Text by Roland
61431         McGrath.
61433 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61435         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61436         it into place only when and if the sanity check passes.
61438 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
61440         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61441         output for whether conversion result is exact.  Take argument
61442         indicating whether type is IBM long double.
61443         (round_for_all): Change need_exact field to ibm_ld.
61444         * stdlib/tst-strtod-round.c (struct exactness): New type.
61445         (struct test): Change bool ld_ok field to struct exactness exact.
61446         (TEST): Update all definitions for change to field.
61447         (tests): Regenerate array contents.
61448         (test_in_one_mode): Take pointer to new field instead of old ld_ok
61449         field value.  Check for IBM long double here.
61450         (do_test): Update calls to test_in_one_mode.
61452 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61454         [BZ #12515]
61455         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
61456         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
61458 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61460         [BZ #15605]
61461         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
61462         generated by the compiler on loop optimizations.
61463         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
61464         general definitions.
61466 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
61468         * math/bug-nextafter.c: Include <math-tests.h>.
61469         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61470         the relevant type.
61471         * math/bug-nexttoward.c: Include <math-tests.h>.
61472         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61473         the relevant type.
61474         * math/test-misc.c: Include <math-tests.h>.
61475         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61476         the relevant type.
61478 2013-06-12  Andreas Jaeger  <aj@suse.de>
61480         * po/ia.po: Update Interlingua translation from translation
61481         project.
61483 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61485         * include/fenv.h: Include stdbool.h.
61486         (struct rm_ctx): New structure.
61487         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61488         Define macro.
61489         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
61490         (SET_RESTORE_ROUNDF): Likewise.
61491         (SET_RESTORE_ROUNDL): Likewise.
61492         (SET_RESTORE_ROUND_NOEX): Likewise.
61493         (SET_RESTORE_ROUND_NOEXF): Likewise.
61494         (SET_RESTORE_ROUND_NOEXL): Likewise.
61495         (SET_RESTORE_ROUND_53BIT): Likewise.
61496         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
61497         (libc_feresetround_noexf_ctx): Likewise.
61498         (libc_feresetround_noexl_ctx): Likewise.
61499         (libc_feholdsetround_53bit_ctx): Likewise.
61500         (libc_feresetround_53bit_ctx): Likewise.
61501         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
61502         (libc_feholdexcept_setround_sse_ctx): New function.
61503         (libc_fesetenv_sse_ctx): Likewise.
61504         (libc_feupdateenv_sse_ctx): Likewise.
61505         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
61506         (libc_feholdexcept_setround_387_ctx): Likewise.
61507         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
61508         (libc_feholdsetround_387_prec_ctx): Likewise.
61509         (libc_feholdsetround_387_ctx): Likewise.
61510         (libc_feholdsetround_387_53bit_ctx): Likewise.
61511         (libc_feholdsetround_sse_ctx): Likewise.
61512         (libc_feresetround_sse_ctx): Likewise.
61513         (libc_feresetround_387_ctx): Likewise.
61514         (libc_feupdateenv_387_ctx): Likewise.
61515         (libc_feholdexcept_setroundf_ctx): Define macro.
61516         (libc_fesetenvf_ctx): Likewise.
61517         (libc_feupdateenvf_ctx): Likewise.
61518         (libc_feholdsetroundf_ctx): Likewise.
61519         (libc_feresetroundf_ctx): Likewise.
61520         (libc_feholdexcept_setround_ctx): Likewise.
61521         (libc_fesetenv_ctx): Likewise.
61522         (libc_feupdateenv_ctx): Likewise.
61523         (libc_feholdsetround_ctx): Likewise.
61524         (libc_feresetround_ctx): Likewise.
61525         (libc_feholdexcept_setroundl_ctx): Likewise.
61526         (libc_feupdateenvl_ctx): Likewise.
61527         (libc_feholdsetroundl_ctx): Likewise.
61528         (libc_feresetroundl_ctx): Likewise.
61529         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
61530         (libc_feresetround_53bit_ctx): Likewise.
61532 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61534         * locale/iso-639.def: Convert to UTF-8.
61536 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
61538         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
61539         (EXCEPTION_TESTS_double): Likewise.
61540         (EXCEPTION_TESTS_long_double): Likewise.
61541         (EXCEPTION_TESTS): Likewise.
61542         * math/libm-test.inc (test_exceptions): Only test exceptions if
61543         EXCEPTION_TESTS (FLOAT).
61545 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61547         * benchtests/Makefile (string-bench): Add strcpy_chk and
61548         stpcpy_chk.
61549         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
61550         * benchtests/bench-stpcpy_chk.c: New file.
61551         * benchtests/bench-strcpy_chk-ifunc.c: New file.
61552         * benchtests/bench-strcpy_chk.c: New file.
61553         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
61554         code.
61555         (do_test): Likewise.
61557 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61559         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
61560         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
61561         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
61562         with tabs where appropriate.
61563         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
61564         dl-procinfo.h.
61565         [PPC_PLATFORM_PPC440]: Likewise.
61566         [PPC_PLATFORM_PPC464]: Likewise.
61567         [PPC_PLATFORM_PPC476]: Likewise.
61568         (_dl_string_platform): Add support for detecting ppc405, ppc440,
61569         ppc464, and ppc476 platform strings merging from ports/
61570         dl-procinfo.h.
61572 2013-06-11  Andreas Schwab  <schwab@suse.de>
61574         [BZ #14991]
61575         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
61576         (from_ucs4_idx): Regenerate.
61577         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
61578         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
61579         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
61580         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
61581         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
61582         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
61583         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
61584         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
61585         from FROM_LOOP and TO_LOOP specific macros.
61586         (BODY): Handle combining characters.
61587         * iconvdata/BIG5HKSCS.irreversible: Update.
61588         * iconvdata/BIG5HKSCS.precomposed: New file.
61589         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
61590         characters.
61591         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
61593 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61595         * include/sys/time.h: Fix indentation and add copyright header.
61597         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
61598         (do_test): Likewise.
61599         * string/test-memchr.c (do_one_test): Likewise.
61600         (do_test): Likewise.
61601         * string/test-memcmp.c (do_one_test): Likewise.
61602         (do_test): Likewise.
61603         * string/test-memcpy.c (do_one_test): Likewise.
61604         (do_test): Likewise.
61605         * string/test-memmem.c (do_one_test): Likewise.
61606         (do_test): Likewise.
61607         (do_random_tests): Likewise.
61608         * string/test-memmove.c (do_one_test): Likewise.
61609         (do_test): Likewise.
61610         * string/test-memset.c (do_one_test): Likewise.
61611         (do_test): Likewise.
61612         * string/test-rawmemchr.c (do_one_test): Likewise.
61613         (do_test): Likewise.
61614         * string/test-strcasecmp.c (do_one_test): Likewise.
61615         (do_test): Likewise.
61616         * string/test-strcasestr.c (do_one_test): Likewise.
61617         (do_test): Likewise.
61618         * string/test-strcat.c (do_one_test): Likewise.
61619         (do_test): Likewise.
61620         * string/test-strchr.c (do_one_test): Likewise.
61621         (do_test): Likewise.
61622         * string/test-strcmp.c (do_one_test): Likewise.
61623         (do_test): Likewise.
61624         * string/test-strcpy.c (do_one_test): Likewise.
61625         (do_test): Likewise.
61626         * string/test-string.h: Likewise.
61627         (test_init): Likewise.
61628         * string/test-strlen.c (do_one_test): Likewise.
61629         (do_test): Likewise.
61630         * string/test-strncasecmp.c (do_one_test): Likewise.
61631         (do_test): Likewise.
61632         * string/test-strncat.c (do_one_test): Likewise.
61633         (do_test): Likewise.
61634         * string/test-strncmp.c (do_one_test): Likewise.
61635         (do_test_limit): Likewise.
61636         (do_test): Likewise.
61637         * string/test-strncpy.c (do_one_test): Likewise.
61638         (do_test): Likewise.
61639         * string/test-strnlen.c (do_one_test): Likewise.
61640         (do_test): Likewise.
61641         * string/test-strpbrk.c (do_one_test): Likewise.
61642         (do_test): Likewise.
61643         * string/test-strrchr.c (do_one_test): Likewise.
61644         (do_test): Likewise.
61645         * string/test-strspn.c (do_one_test): Likewise.
61646         (do_test): Likewise.
61647         * string/test-strstr.c (do_one_test): Likewise.
61648         (do_test): Likewise.
61650         * benchtests/Makefile (string-bench): Add string benchmarks.
61651         * benchtests/bench-bcopy-ifunc.c: New file.
61652         * benchtests/bench-bcopy.c: New file.
61653         * benchtests/bench-bzero-ifunc.c: New file.
61654         * benchtests/bench-bzero.c: New file.
61655         * benchtests/bench-memccpy-ifunc.c: New file.
61656         * benchtests/bench-memccpy.c: New file.
61657         * benchtests/bench-memchr-ifunc.c: New file.
61658         * benchtests/bench-memchr.c: New file.
61659         * benchtests/bench-memcmp-ifunc.c: New file.
61660         * benchtests/bench-memcmp.c: New file.
61661         * benchtests/bench-memmem-ifunc.c: New file.
61662         * benchtests/bench-memmem.c: New file.
61663         * benchtests/bench-memmove-ifunc.c: New file.
61664         * benchtests/bench-memmove.c: New file.
61665         * benchtests/bench-mempcpy-ifunc.c: New file.
61666         * benchtests/bench-mempcpy.c: New file.
61667         * benchtests/bench-memset-ifunc.c: New file.
61668         * benchtests/bench-memset.c: New file.
61669         * benchtests/bench-rawmemchr-ifunc.c: New file.
61670         * benchtests/bench-rawmemchr.c: New file.
61671         * benchtests/bench-stpcpy-ifunc.c: New file.
61672         * benchtests/bench-stpcpy.c: New file.
61673         * benchtests/bench-stpncpy-ifunc.c: New file.
61674         * benchtests/bench-stpncpy.c: New file.
61675         * benchtests/bench-strcasecmp-ifunc.c: New file.
61676         * benchtests/bench-strcasecmp.c: New file.
61677         * benchtests/bench-strcasestr-ifunc.c: New file.
61678         * benchtests/bench-strcasestr.c: New file.
61679         * benchtests/bench-strcat-ifunc.c: New file.
61680         * benchtests/bench-strcat.c: New file.
61681         * benchtests/bench-strchr-ifunc.c: New file.
61682         * benchtests/bench-strchr.c: New file.
61683         * benchtests/bench-strchrnul-ifunc.c: New file.
61684         * benchtests/bench-strchrnul.c: New file.
61685         * benchtests/bench-strcmp-ifunc.c: New file.
61686         * benchtests/bench-strcmp.c: New file.
61687         * benchtests/bench-strcpy-ifunc.c: New file.
61688         * benchtests/bench-strcpy.c: New file.
61689         * benchtests/bench-strcspn-ifunc.c: New file.
61690         * benchtests/bench-strcspn.c: New file.
61691         * benchtests/bench-strlen-ifunc.c: New file.
61692         * benchtests/bench-strlen.c: New file.
61693         * benchtests/bench-strncasecmp-ifunc.c: New file.
61694         * benchtests/bench-strncasecmp.c: New file.
61695         * benchtests/bench-strncat-ifunc.c: New file.
61696         * benchtests/bench-strncat.c: New file.
61697         * benchtests/bench-strncmp-ifunc.c: New file.
61698         * benchtests/bench-strncmp.c: New file.
61699         * benchtests/bench-strncpy-ifunc.c: New file.
61700         * benchtests/bench-strncpy.c: New file.
61701         * benchtests/bench-strnlen-ifunc.c: New file.
61702         * benchtests/bench-strnlen.c: New file.
61703         * benchtests/bench-strpbrk-ifunc.c: New file.
61704         * benchtests/bench-strpbrk.c: New file.
61705         * benchtests/bench-strrchr-ifunc.c: New file.
61706         * benchtests/bench-strrchr.c: New file.
61707         * benchtests/bench-strspn-ifunc.c: New file.
61708         * benchtests/bench-strspn.c: New file.
61709         * benchtests/bench-strstr-ifunc.c: New file.
61710         * benchtests/bench-strstr.c: New file.
61712         * benchtests/Makefile: Disable parallel execution of targets.
61713         (string-bench): Add memcpy.
61714         (benchset): New variable to store a list of benchmark sets.
61715         (bench-func): Renamed from bench.
61716         (bench-set): New target.
61717         (bench): Depend on bench-func and bench-set.
61718         * benchtests/README: Add section on benchmark sets.
61719         * benchtests/bench-memcpy-ifunc.c: New file.
61720         * benchtests/bench-memcpy.c: New file.
61721         * benchtests/bench-string.h: New file.
61723 2013-06-11  Andreas Schwab  <schwab@suse.de>
61725         [BZ #15577]
61726         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
61727         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
61728         values in the triple.
61729         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
61730         terminator in the group key.
61732 2013-06-11  Andreas Jaeger  <aj@suse.de>
61734         * po/zh_TW.po: Update Chinese (traditional) translation from
61735         translation project.
61737 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61739         * include/time.h (__clock_gettime): Add libc_hidden_proto.
61740         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
61741         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
61742         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61743         (clock_getcpuclockid): Likewise.
61744         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
61745         Add weak_alias and libc_hidden_def.
61746         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
61747         * rt/clock_gettime.c (clock_gettime): Rename to
61748         __clock_gettime.  Add weak_alias and libc_hidden_def.
61749         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
61750         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
61751         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
61752         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
61753         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
61754         Likewise.
61755         * rt/clock_settime.c (clock_settime): Rename to
61756         __clock_settime.  Add weak_alias and libc_hidden_def.
61757         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
61759 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
61761         * mach/err_boot.sub: Remove trailing whitespace.
61762         * mach/err_ipc.sub: Likewise.
61763         * mach/err_mach.sub: Likewise.
61765         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
61766         (ROUNDING_TESTS_double): Likewise.
61767         (ROUNDING_TESTS_long_double): Likewise.
61768         (ROUNDING_TESTS): Likewise.
61769         * math/libm-test.inc: Include <math-tests.h>.
61770         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
61771         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61772         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61773         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61775 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61777         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61778         of assigning.
61780 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
61782         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61783         otherwise empty TRANS lines.
61784         * sysdeps/gnu/errlist.c: Regenerated.
61786         * catgets/gencat.c (error_print): Use (void) in function
61787         definition.
61788         * crypt/crypt_util.c (__init_des): Likewise.
61789         * crypt/speeds.c (Stop): Likewise.
61790         (main): Likewise.
61791         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61792         * inet/ruserpass.c (token): Likewise.
61793         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61794         * intl/localealias.c (extend_alias_table): Likewise.
61795         * intl/plural-exp.c (init_germanic_plural): Likewise.
61796         * libio/fcloseall.c (__fcloseall): Likewise.
61797         * libio/genops.c (_IO_flush_all): Likewise.
61798         (_IO_flush_all_linebuffered): Likewise.
61799         (_IO_cleanup): Likewise.
61800         (_IO_iter_begin): Likewise.
61801         (_IO_iter_end): Likewise.
61802         (_IO_list_lock): Likewise.
61803         (_IO_list_unlock): Likewise.
61804         (_IO_list_resetlock): Likewise.
61805         * libio/getchar.c (getchar): Likewise.
61806         * libio/getchar_u.c (getchar_unlocked): Likewise.
61807         * libio/getwchar.c (getwchar): Likewise.
61808         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61809         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61810         * login/getpt.c (__getpt): Likewise.
61811         * login/tst-utmp.c (main): Likewise.
61812         * malloc/hooks.c (__malloc_check_init): Likewise.
61813         * malloc/malloc.c (__malloc_stats): Likewise.
61814         * malloc/mtrace.c (tr_break): Likewise.
61815         (mtrace): Likewise.
61816         (muntrace): Likewise.
61817         * misc/fstab.c (endfsent): Likewise.
61818         * misc/getclktck.c (__getclktck): Likewise.
61819         * misc/getdtsz.c (__getdtablesize): Likewise.
61820         * misc/gethostid.c (gethostid): Likewise.
61821         * misc/getpagesize.c (__getpagesize): Likewise.
61822         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61823         (__get_nprocs): Likewise.
61824         (__get_phys_pages): Likewise.
61825         (__get_avphys_pages): Likewise.
61826         * misc/getttyent.c (getttyent): Likewise.
61827         (setttyent): Likewise.
61828         (endttyent): Likewise.
61829         * misc/getusershell.c (getusershell): Likewise.
61830         (endusershell): Likewise.
61831         (setusershell): Likewise.
61832         (initshells): Likewise.
61833         * misc/hsearch.c (__hdestroy): Likewise.
61834         * misc/sync.c (sync): Likewise.
61835         * misc/syslog.c (closelog_internal): Likewise.
61836         (closelog): Likewise.
61837         * misc/ttyslot.c (ttyslot): Likewise.
61838         * misc/vhangup.c (vhangup): Likewise.
61839         * posix/fork.c (__fork): Likewise.
61840         * posix/getegid.c (__getegid): Likewise.
61841         * posix/geteuid.c (__geteuid): Likewise.
61842         * posix/getgid.c (__getgid): Likewise.
61843         * posix/getpid.c (__getpid): Likewise.
61844         * posix/getppid.c (__getppid): Likewise.
61845         * posix/getuid.c (__getuid): Likewise.
61846         * posix/pause.c (pause): Likewise.
61847         * posix/setpgrp.c (setpgrp): Likewise.
61848         * posix/setsid.c (__setsid): Likewise.
61849         * posix/test-vfork.c (noop): Likewise.
61850         * resolv/gethnamaddr.c (_endhtent): Likewise.
61851         (_gethtent): Likewise.
61852         (ht_endhostent): Likewise.
61853         (gethostent): Likewise.
61854         (dns_service): Likewise.
61855         * stdlib/drand48.c (drand48): Likewise.
61856         * stdlib/lrand48.c (lrand48): Likewise.
61857         * stdlib/mrand48.c (mrand48): Likewise.
61858         * stdlib/rand.c (rand): Likewise.
61859         * stdlib/random.c (__random): Likewise.
61860         * stdlib/setenv.c (clearenv): Likewise.
61861         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
61862         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
61863         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
61864         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
61865         (__get_nprocs): Likewise.
61866         (__get_phys_pages): Likewise.
61867         (__get_avphys_pages): Likewise.
61868         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
61869         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
61870         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
61871         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
61872         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
61873         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
61874         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
61875         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
61876         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
61877         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
61878         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
61879         * sysdeps/mach/hurd/sync.c (sync): Likewise.
61880         * sysdeps/posix/clock.c (clock): Likewise.
61881         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
61882         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
61883         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
61884         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
61885         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
61886         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
61887         (__get_nprocs_conf): Likewise.
61888         (__get_phys_pages): Likewise.
61889         (__get_avphys_pages): Likewise.
61890         * time/clock.c (clock): Likewise.
61891         * time/tzset.c (__tzname_max): Likewise.
61893 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
61895         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
61896         (__bswap_32): Do not use "register".
61897         * crypt/crypt.c (_ufc_doit_r): Likewise.
61898         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
61899         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
61900         * gmon/gmon.c (__monstartup): Likewise.
61901         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
61902         * hurd/hurdmalloc.c (more_memory): Likewise.
61903         (malloc): Likewise.
61904         (free): Likewise.
61905         (realloc): Likewise.
61906         (malloc_fork_prepare): Likewise.
61907         (malloc_fork_parent): Likewise.
61908         (malloc_fork_child): Likewise.
61909         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
61910         (_svcauth_des): Likewise.
61911         * inet/inet_lnaof.c (inet_lnaof): Likewise.
61912         * inet/inet_net.c (inet_network): Likewise.
61913         * inet/inet_netof.c (inet_netof): Likewise.
61914         * inet/rcmd.c (__validuser2_sa): Likewise.
61915         * io/fts.c (fts_open): Likewise.
61916         (fts_load): Likewise.
61917         (fts_close): Likewise.
61918         (fts_read): Likewise.
61919         (fts_children): Likewise.
61920         (fts_build): Likewise.
61921         (fts_stat): Likewise.
61922         (fts_sort): Likewise.
61923         (fts_alloc): Likewise.
61924         (fts_lfree): Likewise.
61925         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
61926         (_IO_file_xsgetn): Likewise.
61927         (_IO_file_xsgetn_mmap): Likewise.
61928         * libio/iofopncook.c (_IO_cookie_read): Likewise.
61929         (_IO_cookie_write): Likewise.
61930         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
61931         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
61932         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
61933         * malloc/obstack.c (_obstack_begin): Likewise.
61934         (_obstack_begin_1): Likewise.
61935         (_obstack_newchunk): Likewise.
61936         (_obstack_allocated_p): Likewise.
61937         (obstack_free): Likewise.
61938         (_obstack_memory_used): Likewise.
61939         * misc/getttyent.c (getttynam): Likewise.
61940         (getttyent): Likewise.
61941         (skip): Likewise.
61942         (value): Likewise.
61943         * misc/getusershell.c (initshells): Likewise.
61944         * misc/syslog.c (__vsyslog_chk): Likewise.
61945         * misc/ttyslot.c (ttyslot): Likewise.
61946         * nis/nis_hash.c (__nis_hash): Likewise.
61947         * posix/fnmatch_loop.c (FCT): Likewise.
61948         * posix/getconf.c (print_all): Likewise.
61949         (main): Likewise.
61950         * posix/getopt.c (exchange): Likewise.
61951         * posix/glob.c (globfree): Likewise.
61952         (prefix_array): Likewise.
61953         (__glob_pattern_type): Likewise.
61954         * resolv/arpa/nameser.h (NS_GET16): Likewise.
61955         (NS_GET32): Likewise.
61956         (NS_PUT16): Likewise.
61957         (NS_PUT32): Likewise.
61958         * resolv/gethnamaddr.c (getanswer): Likewise.
61959         (gethostbyname2): Likewise.
61960         (gethostbyaddr): Likewise.
61961         (_gethtent): Likewise.
61962         (_gethtbyname2): Likewise.
61963         (_gethtbyaddr): Likewise.
61964         * resolv/ns_print.c (dst_s_get_int16): Likewise.
61965         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
61966         * resolv/res_init.c (__res_vinit): Likewise.
61967         (net_mask): Likewise.
61968         * resolv/res_mkquery.c (outchar): Likewise.
61969         (PRINT): Likewise.
61970         * stdio-common/printf_fp.c (outchar): Likewise.
61971         (PRINT): Likewise.
61972         * stdio-common/printf_fphex.c (outchar): Likewise.
61973         (PRINT): Likewise.
61974         * stdio-common/printf_size.c (outchar): Likewise.
61975         (PRINT): Likewise.
61976         * stdio-common/test_rdwr.c (main): Likewise.
61977         * stdio-common/tfformat.c (matches): Likewise.
61978         * stdio-common/vfprintf.c (outchar): Likewise.
61979         (printf_unknown): Likewise.
61980         (buffered_vfprintf): Likewise.
61981         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
61982         * stdio-common/xbug.c (AppendToBuffer): Likewise.
61983         (ReadFile): Likewise.
61984         * stdlib/qsort.c (SWAP): Likewise.
61985         (_quicksort): Likewise.
61986         * stdlib/setenv.c (__add_to_environ): Likewise.
61987         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
61988         * stdlib/strtol_l.c (__strtol_l): Likewise.
61989         * stdlib/tst-strtod.c (main): Likewise.
61990         * stdlib/tst-strtol.c (main): Likewise.
61991         * stdlib/tst-strtoll.c (main): Likewise.
61992         * string/bits/string2.h (__strcmp_cc): Likewise.
61993         (__strcmp_cg): Likewise.
61994         (__strcspn_c1): Likewise.
61995         (__strcspn_c2): Likewise.
61996         (__strcspn_c3): Likewise.
61997         (__strspn_c1): Likewise.
61998         (__strspn_c2): Likewise.
61999         (__strspn_c3): Likewise.
62000         (__strsep_1c): Likewise.
62001         (__strsep_2c): Likewise.
62002         (__strsep_3c): Likewise.
62003         * string/memccpy.c (__memccpy): Likewise.
62004         * string/stpcpy.c (__stpcpy): Likewise.
62005         * string/strcmp.c (strcmp): Likewise.
62006         * string/strrchr.c (strrchr): Likewise.
62007         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
62008         Likewise.
62009         * sysdeps/mach/hurd/getcwd.c
62010         (_hurd_canonicalize_directory_name_internal): Likewise.
62011         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
62012         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
62013         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
62014         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
62015         Likewise, in both definitions.
62016         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
62017         definitions.
62018         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
62019         64] (__bswap_64): Likewise.
62020         * time/test_time.c (main): Likewise.
62021         * time/tzfile.c (__tzfile_read): Likewise.
62022         (__tzfile_compute): Likewise.
62023         * time/tzset.c (__tzset_parse_tz): Likewise.
62024         (tzset_internal): Likewise.
62025         (compute_change): Likewise.
62026         * wcsmbs/wcscat.c (__wcscat): Likewise.
62027         * wcsmbs/wcschr.c (wcschr): Likewise.
62028         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
62029         * wcsmbs/wcscspn.c (wcscspn): Likewise.
62030         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
62031         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
62032         * wcsmbs/wcsspn.c (wcsspn): Likewise.
62033         * wcsmbs/wcsstr.c (wcsstr): Likewise.
62034         * wcsmbs/wmemchr.c (wmemchr): Likewise.
62035         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62036         * wcsmbs/wmemset.c (wmemset): Likewise.
62038 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
62040         * scripts/config.guess: Update to version 2013-05-16.
62041         * scripts/config.sub: Update to version 2013-04-24.
62042         * scripts/install-sh: Update to version 2011-11-20.07.
62043         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
62044         * scripts/move-if-change: Update to version 2012-01-06 07:23.
62046 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
62048         * debug/fgetws_u_chk.c: Fix leading whitespaces.
62049         * elf/sln.c: Likewise.
62050         * hurd/hurd/ioctl.h: Likewise.
62051         * hurd/hurdmalloc.c: Likewise.
62052         * hurd/xattr.c: Likewise.
62053         * include/shlib-compat.h: Likewise.
62054         * inet/ruserpass.c: Likewise.
62055         * libio/iofgets_u.c: Likewise.
62056         * libio/iofgetws_u.c: Likewise.
62057         * locale/programs/ld-identification.c: Likewise.
62058         * locale/programs/ld-time.c: Likewise.
62059         * mach/msg-destroy.c: Likewise.
62060         * nss/nss_files/files-netgrp.c: Likewise.
62061         * resolv/res_data.c: Likewise.
62062         * soft-fp/op-1.h: Likewise.
62063         * soft-fp/op-2.h: Likewise.
62064         * soft-fp/op-4.h: Likewise.
62065         * soft-fp/op-common.h: Likewise.
62066         * stdio-common/printf_fphex.c: Likewise.
62067         * stdlib/strtod_l.c: Likewise.
62068         * sunrpc/rpc/clnt.h: Likewise.
62069         * sysdeps/generic/framestate.c: Likewise.
62070         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62071         * sysdeps/i386/bsd-setjmp.S: Likewise.
62072         * sysdeps/i386/__longjmp.S: Likewise.
62073         * sysdeps/i386/setjmp.S: Likewise.
62074         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62075         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62076         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62077         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62078         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62079         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62080         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62081         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62082         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62083         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62084         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62085         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62086         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62087         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62088         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62089         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62090         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62091         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
62092         * sysdeps/ieee754/support.c: Likewise.
62093         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62094         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
62095         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
62096         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
62097         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
62098         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
62099         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
62100         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
62101         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
62102         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
62103         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
62104         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
62105         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
62106         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62107         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
62108         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
62109         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
62112 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
62114         * posix/transbug.c: Remove executable mode.
62116 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
62118         * crypt/speeds.c: Remove trailing whitespace.
62119         * dlfcn/default.c: Likewise.
62120         * elf/ifuncdep2.c: Likewise.
62121         * elf/ifuncmain1.c: Likewise.
62122         * elf/ifuncmain1vis.c: Likewise.
62123         * elf/testobj.h: Likewise.
62124         * elf/tst-stackguard1.c: Likewise.
62125         * gmon/sys/gmon.h: Likewise.
62126         * hurd/hurdmsg.c: Likewise.
62127         * hurd/new-fd.c: Likewise.
62128         * hurd/ports-get.c: Likewise.
62129         * iconvdata/ibm1008_420.c: Likewise.
62130         * inet/tst-getni1.c: Likewise.
62131         * inet/tst-getni2.c: Likewise.
62132         * libio/ioungetc.c: Likewise.
62133         * libio/wfiledoalloc.c: Likewise.
62134         * manual/libm-err-tab.pl: Likewise.
62135         * math/w_dremf.c: Likewise.
62136         * misc/ftruncate.c: Likewise.
62137         * posix/bug-glob2.c: Likewise.
62138         * posix/tst-pcre.c: Likewise.
62139         * posix/wait4.c: Likewise.
62140         * resolv/README: Likewise.
62141         * resolv/res_debug.h: Likewise.
62142         * resolv/tst-inet_ntop.c: Likewise.
62143         * setjmp/bug269-setjmp.c: Likewise.
62144         * soft-fp/extended.h: Likewise.
62145         * soft-fp/op-1.h: Likewise.
62146         * soft-fp/op-2.h: Likewise.
62147         * soft-fp/op-4.h: Likewise.
62148         * soft-fp/op-8.h: Likewise.
62149         * soft-fp/testit.c: Likewise.
62150         * stdio-common/bug16.c: Likewise.
62151         * stdlib/random.c: Likewise.
62152         * sunrpc/rpcsvc/rquota.x: Likewise.
62153         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62154         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62155         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62156         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62157         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62158         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62159         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62160         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62161         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62162         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62163         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62164         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62165         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62166         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62167         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62168         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62169         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62170         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62171         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62172         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62173         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62174         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62175         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62176         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62177         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62178         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62179         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62180         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62181         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62182         * sysdeps/ieee754/s_lib_version.c: Likewise.
62183         * sysdeps/mach/hurd/check_fds.c: Likewise.
62184         * sysdeps/mach/hurd/getsockname.c: Likewise.
62185         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62186         * sysdeps/mach/hurd/recvfrom.c: Likewise.
62187         * sysdeps/powerpc/bits/link.h: Likewise.
62188         * sysdeps/powerpc/dl-procinfo.c: Likewise.
62189         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62190         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62191         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62192         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62193         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62194         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62195         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62196         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62197         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62198         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62199         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62200         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62201         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62202         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62203         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62204         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62205         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62206         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62207         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62208         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62209         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62210         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62211         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62212         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62213         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62214         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62215         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62216         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62217         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62218         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62219         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62220         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62221         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62222         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62223         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62224         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62225         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62226         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62227         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62228         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62229         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62230         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62231         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62232         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62233         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62234         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62235         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62236         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62237         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62238         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62239         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62240         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62241         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62242         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62243         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62244         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62245         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62246         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62247         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62248         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62249         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62250         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62251         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62252         * sysdeps/powerpc/sysdep.h: Likewise.
62253         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62254         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62255         * sysdeps/sh/dl-trampoline.S: Likewise.
62256         * sysdeps/sh/memset.S: Likewise.
62257         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62258         * sysdeps/sh/strlen.S: Likewise.
62259         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62260         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62261         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62262         * sysdeps/sparc/sparc32/rem.S: Likewise.
62263         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62264         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62265         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62266         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62267         * sysdeps/sparc/sparc32/urem.S: Likewise.
62268         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62269         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62270         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62271         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62272         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62273         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62274         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62275         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62276         * sysdeps/unix/bsd/times.c: Likewise.
62277         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62278         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62282         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62283         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62284         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62285         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62286         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62287         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62288         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62289         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62290         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62291         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62292         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62293         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62294         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62295         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62296         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62297         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62298         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62299         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62300         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62301         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62302         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62303         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62304         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62305         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62306         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62307         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62308         * sysdeps/x86_64/strcspn.S: Likewise.
62310 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62312         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62313         generated file.  Regenerate properly from gen-translit.pl.
62314         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62315         locale/C-translit.h.
62317 2013-06-05  Andreas Schwab  <schwab@suse.de>
62319         [BZ #15100]
62320         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62321         week as 6 instead of -1.
62322         * time/tst-strptime.c (day_tests): Add test case.
62324 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62326         * sysdeps/generic/math_private.h
62327         (libc_feholdexcept_setround_53bit): Replace with
62328         libc_feholdsetround_53bit.
62329         (libc_feupdateenv_53bit): Replace with
62330         libc_feresetround_53bit.
62331         (SET_RESTORE_ROUND_53BIT): Adjust.
62333 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62335         * string/test-strchrnul.c: Add copyright header.
62337         * posix/tst-getaddrinfo4.c: Increase test timeout.
62339 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
62341         [BZ #15536]
62342         * math/libm-test.inc (MAX_EXP): Remove
62343         (MIN_EXP): Define.
62344         (ulp): Use MIN_EXP - MANT_DIG.
62345         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62347 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
62349         * po/be.po: Revert last change.
62350         * po/zh_CN.po: Likewise.
62351         * po/header.pot: Likewise.
62353 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
62355         * Makefile ($(common-objpfx)linkobj/libc.so): Define
62356         link-libc-deps to empty as target-specific variable.
62357         * Makerules (link-libc-args): New variable.
62358         (libc-for-link): Likewise.
62359         (link-libc-deps): Likewise.
62360         (lib%.so): Depend on $(link-libc-deps).  Link with
62361         $(link-libc-args).
62362         (build-module): Link with $(link-libc-args).
62363         (build-module-asneeded): Likewise.
62364         (build-module-helper-objlist): Filter out $(link-libc-deps) from
62365         list of objects.
62366         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62367         target-specific variable.
62368         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62369         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62370         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62371         libc.
62372         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62373         libc and ld.so.
62374         ($(objpfx)libpcprofile.so): Likewise.
62375         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62376         libc_nonshared.a.
62377         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62378         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62379         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62380         $(link-libc-deps).
62381         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62382         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62383         * login/Makefile ($(objpfx)libutil.so): Likewise.
62384         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62385         * math/Makefile ($(objpfx)libm.so): Likewise.
62386         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62387         $(objpfx)libnsl.so): Define libc-for-link as target-specific
62388         variable instead of depending directly on libc.
62389         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62390         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62391         $(link-libc-deps).
62392         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62393         libc.
62394         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62395         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62396         ($(objpfx)libanl.so): Likewise.
62397         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62398         ld.so.
62399         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62400         $(link-libc-deps).
62401         * sysdeps/i386/fpu/Makefile: Remove file.
62402         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62403         ($(objpfx)libm.so): Remove dependency on ld.so.
62405 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
62407         [BZ # 15553]
62408         * nis/yp_xdr.c (XDRMAXNAME): Define.
62409         (XDRMAXRECORD): Define.
62410         (xdr_domainname): Use XDRMAXNAME.
62411         (xdr_mapname): Likewise.
62412         (xdr_peername): Likewise.
62413         (xdr_keydat): Use XDRMAXRECORD.
62414         (xdr_valdat): Likewise.
62416 2013-05-30  Jeff Law  <law@redhat.com>
62418         [BZ #14256]
62419         * manual/errno.texi (ESTALE): Update to account for more than
62420         just NFS file systems.
62421         * sysdeps/gnu/errlist.c: Regenerated.
62423 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62425         [BZ #15465]
62426         * elf/Makefile (tests): Add tst-null-argv.
62427         (modules-names):  Add tst-null-argv-lib.
62428         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62429         (tst-null-argv-ENV): Set environment for tst-null-argv.
62430         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62431         (RTLD_PROGNAME): New macro.
62432         * elf/tst-null-argv.c: New test case.
62433         * elf/tst-null-argv-lib.c: Library for test case.
62434         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62435         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62436         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62437         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62438         * elf/dl-init.c (call_init): Likewise.
62439         (_dl_init): Likewise.
62440         * elf/dl-load.c (print_search_path): Likewise.
62441         (_dl_map_object): Likewise.
62442         * elf/dl-lookup.c (do_lookup_x): Likewise.
62443         (add_dependency): Likewise.
62444         (_dl_lookup_symbol_x): Likewise.
62445         (_dl_debug_bindings): Likewise.
62446         * elf/dl-open.c (_dl_show_scope): Likewise.
62447         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
62448         * elf/dl-version.c (match_symbol): Likewise.
62449         (_dl_check_map_versions): Likewise.
62450         * elf/rtld.c (dl_main): Likewise.
62451         (print_unresolved): Use RTLD_PROGNAME.
62452         (print_missing_version): Likewise.
62453         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
62454         (elf_machine_rela): Likewise.
62455         * sysdeps/powerpc/powerpc32/dl-machine.c
62456         (__process_machine_rela): Likewise.
62457         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62458         Likewise.
62459         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62460         Likewise.
62461         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
62462         Likewise.
62463         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62464         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
62465         Likewise.
62466         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
62467         Likewise.
62468         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62470 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
62472         * po/be.po: Add descriptive title.
62473         * po/zh_CN.po: Likewise.
62474         * po/header.pot: Likewise.
62476 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
62478         * locale/programs/locarchive.c (create_archive): Inlucde fname in
62479         error message.
62480         (enlarge_archive): Likewise.
62482 2013-05-28  Ben North  <ben@redfrontdoor.org>
62484         * manual/arith.texi (frexp): It is the magnitude of the return
62485         value which lies in [0.5, 1), not the return value itself.
62487 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62491 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
62493         * stdio-common/bug26.c (main): Correct fscanf template.
62495         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
62496         declare _dl_skip_args.
62498         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
62499         Don't declare.
62501         * manual/platform.texi: Add missing @end deftypefun.
62503 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62505         [BZ #15529]
62506         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
62507         bit of mantissa of 2^16382.
62508         * math/libm-test.inc (hypot_test_data): Add more tests.
62510         * math/libm-test.inc: Add drem and pow10 to list of tested
62511         functions.
62512         (pow10_test): New function.
62513         (drem_test): Likewise.
62514         (drem_test_tonearest): Likewise.
62515         (drem_test_towardzero): Likewise.
62516         (drem_test_downward): Likewise.
62517         (drem_test_upward): Likewise.
62518         (main): Call the new functions.
62520         * math/libm-test.inc (finite_test_data): Remove.
62521         (finite_test): Run tests from isfinite_test_data.
62522         (gamma_test_data): Remove.
62523         (gamma_test): Run tests from lgamma_test_data.
62524         * sysdeps/i386/fpu/libm-test-ulps: Update.
62525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62527 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62529         * manual/platform.texi: Add PowerPC PPR function set documentation.
62530         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
62531         implementation.
62533 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
62535         * math/libm-test.inc (MAX_EXP): Define.
62536         (ULPDIFF): Define.
62537         (ulp): New function.
62538         (check_float_internal): Use ULPDIFF.
62539         (cpow_test): Disable failing test.
62540         (check_ulp): Test ulp() implementation.
62541         (main): Call check_ulp before starting tests.
62543 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62545         * math/gen-libm-test.pl (generate_testfile): Do not handle
62546         START_DATA and END_DATA.
62547         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
62548         END_DATA.
62549         (acos_tonearest_test_data): Likewise.
62550         (acos_towardzero_test_data): Likewise.
62551         (acos_downward_test_data): Likewise.
62552         (acos_upward_test_data): Likewise.
62553         (acosh_test_data): Likewise.
62554         (asin_test_data): Likewise.
62555         (asin_tonearest_test_data): Likewise.
62556         (asin_towardzero_test_data): Likewise.
62557         (asin_downward_test_data): Likewise.
62558         (asin_upward_test_data): Likewise.
62559         (asinh_test_data): Likewise.
62560         (atan_test_data): Likewise.
62561         (atanh_test_data): Likewise.
62562         (atan2_test_data): Likewise.
62563         (cabs_test_data): Likewise.
62564         (cacos_test_data): Likewise.
62565         (cacosh_test_data): Likewise.
62566         (carg_test_data): Likewise.
62567         (casin_test_data): Likewise.
62568         (casinh_test_data): Likewise.
62569         (catan_test_data): Likewise.
62570         (catanh_test_data): Likewise.
62571         (cbrt_test_data): Likewise.
62572         (ccos_test_data): Likewise.
62573         (ccosh_test_data): Likewise.
62574         (ceil_test_data): Likewise.
62575         (cexp_test_data): Likewise.
62576         (cimag_test_data): Likewise.
62577         (clog_test_data): Likewise.
62578         (clog10_test_data): Likewise.
62579         (conj_test_data): Likewise.
62580         (copysign_test_data): Likewise.
62581         (cos_test_data): Likewise.
62582         (cos_tonearest_test_data): Likewise.
62583         (cos_towardzero_test_data): Likewise.
62584         (cos_downward_test_data): Likewise.
62585         (cos_upward_test_data): Likewise.
62586         (cosh_test_data): Likewise.
62587         (cosh_tonearest_test_data): Likewise.
62588         (cosh_towardzero_test_data): Likewise.
62589         (cosh_downward_test_data): Likewise.
62590         (cosh_upward_test_data): Likewise.
62591         (cpow_test_data): Likewise.
62592         (cproj_test_data): Likewise.
62593         (creal_test_data): Likewise.
62594         (csin_test_data): Likewise.
62595         (csinh_test_data): Likewise.
62596         (csqrt_test_data): Likewise.
62597         (ctan_test_data): Likewise.
62598         (ctan_tonearest_test_data): Likewise.
62599         (ctan_towardzero_test_data): Likewise.
62600         (ctan_downward_test_data): Likewise.
62601         (ctan_upward_test_data): Likewise.
62602         (ctanh_test_data): Likewise.
62603         (ctanh_tonearest_test_data): Likewise.
62604         (ctanh_towardzero_test_data): Likewise.
62605         (ctanh_downward_test_data): Likewise.
62606         (ctanh_upward_test_data): Likewise.
62607         (erf_test_data): Likewise.
62608         (erfc_test_data): Likewise.
62609         (exp_test_data): Likewise.
62610         (exp_tonearest_test_data): Likewise.
62611         (exp_towardzero_test_data): Likewise.
62612         (exp_downward_test_data): Likewise.
62613         (exp_upward_test_data): Likewise.
62614         (exp10_test_data): Likewise.
62615         (exp2_test_data): Likewise.
62616         (expm1_test_data): Likewise.
62617         (fabs_test_data): Likewise.
62618         (fdim_test_data): Likewise.
62619         (finite_test_data): Likewise.
62620         (floor_test_data): Likewise.
62621         (fma_test_data): Likewise.
62622         (fma_towardzero_test_data): Likewise.
62623         (fma_downward_test_data): Likewise.
62624         (fma_upward_test_data): Likewise.
62625         (fmax_test_data): Likewise.
62626         (fmin_test_data): Likewise.
62627         (fmod_test_data): Likewise.
62628         (fpclassify_test_data): Likewise.
62629         (frexp_test_data): Likewise.
62630         (gamma_test_data): Likewise.
62631         (hypot_test_data): Likewise.
62632         (ilogb_test_data): Likewise.
62633         (isfinite_test_data): Likewise.
62634         (isgreater_test_data): Likewise.
62635         (isgreaterequal_test_data): Likewise.
62636         (isinf_test_data): Likewise.
62637         (isless_test_data): Likewise.
62638         (islessequal_test_data): Likewise.
62639         (islessgreater_test_data): Likewise.
62640         (isnan_test_data): Likewise.
62641         (isnormal_test_data): Likewise.
62642         (issignaling_test_data): Likewise.
62643         (isunordered_test_data): Likewise.
62644         (j0_test_data): Likewise.
62645         (j1_test_data): Likewise.
62646         (jn_test_data): Likewise.
62647         (ldexp_test_data): Likewise.
62648         (lgamma_test_data): Likewise.
62649         (lrint_test_data): Likewise.
62650         (lrint_tonearest_test_data): Likewise.
62651         (lrint_towardzero_test_data): Likewise.
62652         (lrint_downward_test_data): Likewise.
62653         (lrint_upward_test_data): Likewise.
62654         (llrint_test_data): Likewise.
62655         (llrint_tonearest_test_data): Likewise.
62656         (llrint_towardzero_test_data): Likewise.
62657         (llrint_downward_test_data): Likewise.
62658         (llrint_upward_test_data): Likewise.
62659         (log_test_data): Likewise.
62660         (log10_test_data): Likewise.
62661         (log1p_test_data): Likewise.
62662         (log2_test_data): Likewise.
62663         (logb_test_data): Likewise.
62664         (logb_downward_test_data): Likewise.
62665         (lround_test_data): Likewise.
62666         (llround_test_data): Likewise.
62667         (modf_test_data): Likewise.
62668         (nearbyint_test_data): Likewise.
62669         (nextafter_test_data): Likewise.
62670         (nexttoward_test_data): Likewise.
62671         (pow_test_data): Likewise.
62672         (pow_tonearest_test_data): Likewise.
62673         (pow_towardzero_test_data): Likewise.
62674         (pow_downward_test_data): Likewise.
62675         (pow_upward_test_data): Likewise.
62676         (remainder_test_data): Likewise.
62677         (remainder_tonearest_test_data): Likewise.
62678         (remainder_towardzero_test_data): Likewise.
62679         (remainder_downward_test_data): Likewise.
62680         (remainder_upward_test_data): Likewise.
62681         (remquo_test_data): Likewise.
62682         (rint_test_data): Likewise.
62683         (rint_tonearest_test_data): Likewise.
62684         (rint_towardzero_test_data): Likewise.
62685         (rint_downward_test_data): Likewise.
62686         (rint_upward_test_data): Likewise.
62687         (round_test_data): Likewise.
62688         (scalb_test_data): Likewise.
62689         (scalbn_test_data): Likewise.
62690         (scalbln_test_data): Likewise.
62691         (signbit_test_data): Likewise.
62692         (sin_test_data): Likewise.
62693         (sin_tonearest_test_data): Likewise.
62694         (sin_towardzero_test_data): Likewise.
62695         (sin_downward_test_data): Likewise.
62696         (sin_upward_test_data): Likewise.
62697         (sincos_test_data): Likewise.
62698         (sinh_test_data): Likewise.
62699         (sinh_tonearest_test_data): Likewise.
62700         (sinh_towardzero_test_data): Likewise.
62701         (sinh_downward_test_data): Likewise.
62702         (sinh_upward_test_data): Likewise.
62703         (sqrt_test_data): Likewise.
62704         (tan_test_data): Likewise.
62705         (tan_tonearest_test_data): Likewise.
62706         (tan_towardzero_test_data): Likewise.
62707         (tan_downward_test_data): Likewise.
62708         (tan_upward_test_data): Likewise.
62709         (tanh_test_data): Likewise.
62710         (tgamma_test_data): Likewise.
62711         (trunc_test_data): Likewise.
62712         (y0_test_data): Likewise.
62713         (y1_test_data): Likewise.
62714         (yn_test_data): Likewise.
62715         (significand_test_data): Likewise.
62717         * math/gen-libm-test.pl (@functions): Remove variable.
62718         (generate_testfile): Don't handle START and END lines.
62719         * math/libm-test.inc (START): New macro.
62720         (END): Likewise.
62721         (END_COMPLEX): Likewise.
62722         (acos_test): Use END macro without arguments.
62723         (acos_test_tonearest): Likewise.
62724         (acos_test_towardzero): Likewise.
62725         (acos_test_downward): Likewise.
62726         (acos_test_upward): Likewise.
62727         (acosh_test): Likewise.
62728         (asin_test): Likewise.
62729         (asin_test_tonearest): Likewise.
62730         (asin_test_towardzero): Likewise.
62731         (asin_test_downward): Likewise.
62732         (asin_test_upward): Likewise.
62733         (asinh_test): Likewise.
62734         (atan_test): Likewise.
62735         (atanh_test): Likewise.
62736         (atan2_test): Likewise.
62737         (cabs_test): Likewise.
62738         (cacos_test): Use END_COMPLEX macro without arguments.
62739         (cacosh_test): Likewise.
62740         (carg_test): Use END macro without arguments.
62741         (casin_test): Use END_COMPLEX macro without arguments.
62742         (casinh_test): Likewise.
62743         (catan_test): Likewise.
62744         (catanh_test): Likewise.
62745         (cbrt_test): Use END macro without arguments.
62746         (ccos_test): Use END_COMPLEX macro without arguments.
62747         (ccosh_test): Likewise.
62748         (ceil_test): Use END macro without arguments.
62749         (cexp_test): Use END_COMPLEX macro without arguments.
62750         (cimag_test): Use END macro without arguments.
62751         (clog_test): Use END_COMPLEX macro without arguments.
62752         (clog10_test): Likewise.
62753         (conj_test): Likewise.
62754         (copysign_test): Use END macro without arguments.
62755         (cos_test): Likewise.
62756         (cos_test_tonearest): Likewise.
62757         (cos_test_towardzero): Likewise.
62758         (cos_test_downward): Likewise.
62759         (cos_test_upward): Likewise.
62760         (cosh_test): Likewise.
62761         (cosh_test_tonearest): Likewise.
62762         (cosh_test_towardzero): Likewise.
62763         (cosh_test_downward): Likewise.
62764         (cosh_test_upward): Likewise.
62765         (cpow_test): Use END_COMPLEX macro without arguments.
62766         (cproj_test): Likewise.
62767         (creal_test): Use END macro without arguments.
62768         (csin_test): Use END_COMPLEX macro without arguments.
62769         (csinh_test): Likewise.
62770         (csqrt_test): Likewise.
62771         (ctan_test): Likewise.
62772         (ctan_test_tonearest): Likewise.
62773         (ctan_test_towardzero): Likewise.
62774         (ctan_test_downward): Likewise.
62775         (ctan_test_upward): Likewise.
62776         (ctanh_test): Likewise.
62777         (ctanh_test_tonearest): Likewise.
62778         (ctanh_test_towardzero): Likewise.
62779         (ctanh_test_downward): Likewise.
62780         (ctanh_test_upward): Likewise.
62781         (erf_test): Use END macro without arguments.
62782         (erfc_test): Likewise.
62783         (exp_test): Likewise.
62784         (exp_test_tonearest): Likewise.
62785         (exp_test_towardzero): Likewise.
62786         (exp_test_downward): Likewise.
62787         (exp_test_upward): Likewise.
62788         (exp10_test): Likewise.
62789         (exp2_test): Likewise.
62790         (expm1_test): Likewise.
62791         (fabs_test): Likewise.
62792         (fdim_test): Likewise.
62793         (finite_test): Likewise.
62794         (floor_test): Likewise.
62795         (fma_test): Likewise.
62796         (fma_test_towardzero): Likewise.
62797         (fma_test_downward): Likewise.
62798         (fma_test_upward): Likewise.
62799         (fmax_test): Likewise.
62800         (fmin_test): Likewise.
62801         (fmod_test): Likewise.
62802         (fpclassify_test): Likewise.
62803         (frexp_test): Likewise.
62804         (gamma_test): Likewise.
62805         (hypot_test): Likewise.
62806         (ilogb_test): Likewise.
62807         (isfinite_test): Likewise.
62808         (isgreater_test): Likewise.
62809         (isgreaterequal_test): Likewise.
62810         (isinf_test): Likewise.
62811         (isless_test): Likewise.
62812         (islessequal_test): Likewise.
62813         (islessgreater_test): Likewise.
62814         (isnan_test): Likewise.
62815         (isnormal_test): Likewise.
62816         (issignaling_test): Likewise.
62817         (isunordered_test): Likewise.
62818         (j0_test): Likewise.
62819         (j1_test): Likewise.
62820         (jn_test): Likewise.
62821         (ldexp_test): Likewise.
62822         (lgamma_test): Likewise.
62823         (lrint_test): Likewise.
62824         (lrint_test_tonearest): Likewise.
62825         (lrint_test_towardzero): Likewise.
62826         (lrint_test_downward): Likewise.
62827         (lrint_test_upward): Likewise.
62828         (llrint_test): Likewise.
62829         (llrint_test_tonearest): Likewise.
62830         (llrint_test_towardzero): Likewise.
62831         (llrint_test_downward): Likewise.
62832         (llrint_test_upward): Likewise.
62833         (log_test): Likewise.
62834         (log10_test): Likewise.
62835         (log1p_test): Likewise.
62836         (log2_test): Likewise.
62837         (logb_test): Likewise.
62838         (logb_test_downward): Likewise.
62839         (lround_test): Likewise.
62840         (llround_test): Likewise.
62841         (modf_test): Likewise.
62842         (nearbyint_test): Likewise.
62843         (nextafter_test): Likewise.
62844         (nexttoward_test): Likewise.
62845         (pow_test): Likewise.
62846         (pow_test_tonearest): Likewise.
62847         (pow_test_towardzero): Likewise.
62848         (pow_test_downward): Likewise.
62849         (pow_test_upward): Likewise.
62850         (remainder_test): Likewise.
62851         (remainder_test_tonearest): Likewise.
62852         (remainder_test_towardzero): Likewise.
62853         (remainder_test_downward): Likewise.
62854         (remainder_test_upward): Likewise.
62855         (remquo_test): Likewise.
62856         (rint_test): Likewise.
62857         (rint_test_tonearest): Likewise.
62858         (rint_test_towardzero): Likewise.
62859         (rint_test_downward): Likewise.
62860         (rint_test_upward): Likewise.
62861         (round_test): Likewise.
62862         (scalb_test): Likewise.
62863         (scalbn_test): Likewise.
62864         (scalbln_test): Likewise.
62865         (signbit_test): Likewise.
62866         (sin_test): Likewise.
62867         (sin_test_tonearest): Likewise.
62868         (sin_test_towardzero): Likewise.
62869         (sin_test_downward): Likewise.
62870         (sin_test_upward): Likewise.
62871         (sincos_test): Likewise.
62872         (sinh_test): Likewise.
62873         (sinh_test_tonearest): Likewise.
62874         (sinh_test_towardzero): Likewise.
62875         (sinh_test_downward): Likewise.
62876         (sinh_test_upward): Likewise.
62877         (sqrt_test): Likewise.
62878         (tan_test): Likewise.
62879         (tan_test_tonearest): Likewise.
62880         (tan_test_towardzero): Likewise.
62881         (tan_test_downward): Likewise.
62882         (tan_test_upward): Likewise.
62883         (tanh_test): Likewise.
62884         (tgamma_test): Likewise.
62885         (trunc_test): Likewise.
62886         (y0_test): Likewise.
62887         (y1_test): Likewise.
62888         (yn_test): Likewise.
62889         (significand_test): Likewise.
62891 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
62893         [BZ #15381]
62894         * libio/genops.c (_IO_no_init): Initialize wide struct info.
62896 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62898         [BZ #14894]
62899         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
62900         __ppc_mdoio and __ppc_mdoom.
62901         * manual/platform.texi: Document new functions __ppc_yield,
62902         __ppc_mdoio and __ppc_mdoom.
62904 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
62906         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
62907         (main): Mention "tls" pseudo-hwcap is legacy.
62908         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
62910 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62912         * math/gen-libm-test.pl (parse_args): Output only string of
62913         arguments as text for test name, not full call or descriptions of
62914         tests for extra outputs.
62915         (generate_testfile): Do not pass function name to parse_args.
62916         Generate this_func variable from START.
62917         * math/libm-test.inc (struct test_f_f_data): Rename test_name
62918         field to arg_str.
62919         (struct test_ff_f_data): Likewise.
62920         (test_ff_f_data_nexttoward): Likewise.
62921         (struct test_fi_f_data): Likewise.
62922         (struct test_fl_f_data): Likewise.
62923         (struct test_if_f_data): Likewise.
62924         (struct test_fff_f_data): Likewise.
62925         (struct test_c_f_data): Likewise.
62926         (struct test_f_f1_data): Likewise.  Remove field extra_name.
62927         (struct test_fF_f1_data): Likewise.
62928         (struct test_ffI_f1_data): Likewise.
62929         (struct test_c_c_data): Rename test_name field to arg_str.
62930         (struct test_cc_c_data): Likewise.
62931         (struct test_f_i_data): Likewise.
62932         (struct test_ff_i_data): Likewise.
62933         (struct test_f_l_data): Likewise.
62934         (struct test_f_L_data): Likewise.
62935         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
62936         and extra2_name.
62937         (COMMON_TEST_SETUP): New macro.
62938         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
62939         (COMMON_TEST_CLEANUP): Likewise.
62940         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
62941         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
62942         macros.
62943         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
62944         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
62945         macros.
62946         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
62947         (RUN_TEST_fff_f): Take argument string.  Call new setup and
62948         cleanup macros.
62949         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
62950         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
62951         macros.
62952         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
62953         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
62954         macros.
62955         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62956         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
62957         cleanup macros.
62958         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62959         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
62960         cleanup macros.
62961         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62962         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
62963         cleanup macros.
62964         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62965         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
62966         macros.
62967         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
62968         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
62969         macros.
62970         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
62971         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
62972         macros.
62973         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
62974         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
62975         cleanup macros.
62976         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
62977         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
62978         cleanup macros.
62979         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
62980         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
62981         macros.
62982         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
62983         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
62984         cleanup macros.
62985         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
62986         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
62987         macros.
62988         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
62989         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
62990         macros.
62991         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
62992         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
62993         cleanup macros.
62994         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
62996 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
62998         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
62999         to _sifields.sigfault.
63000         (si_addr_lsb): Define new macro.
63001         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63002         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63003         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
63005 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
63007         [BZ #15441]
63008         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
63009         returns -1.
63010         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
63011         null return -1.
63012         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
63013         loading the domain.
63015 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63017         * math/gen-libm-test.pl (parse_args): Do not include expected
63018         result in test name.
63019         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
63020         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63021         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63022         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63023         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63026 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63028         * benchtests/Makefile: Sort function entries.
63030         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
63031         tanh, asinh, acosh, atanh.
63032         * benchtests/acos-inputs: New file.
63033         * benchtests/acosh-inputs: New file.
63034         * benchtests/asin-inputs: New file.
63035         * benchtests/asinh-inputs: New file.
63036         * benchtests/atanh-inputs: New file.
63037         * benchtests/cosh-inputs: New file.
63038         * benchtests/log-inputs: New file.
63039         * benchtests/sinh-inputs: New file.
63040         * benchtests/tanh-inputs: New file.
63042 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
63044         [BZ #15339]
63045         * posix/tst-getaddrinfo4.c: New test.
63046         * posix/Makefile (tests): Add it.
63048 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63050         [BZ #15339]
63051         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
63052         when no services were used.
63053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
63054         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
63056 2013-05-21  Andreas Schwab  <schwab@suse.de>
63058         [BZ #15014]
63059         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
63060         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
63061         successful.
63062         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
63063         redundant variable declarations and reallocation of buffer when
63064         parsing as IPv6 address.  Always set NSS status when called from
63065         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
63066         buffer too small.  Correct computation of needed size.
63067         * nss/Makefile (tests): Add test-digits-dots.
63068         * nss/test-digits-dots.c: New test.
63070 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63072         * benchtests/Makefile: Remove instructions for adding
63073         benchmark tests.
63074         * benchtests/README: New file to explain how to execute and
63075         enhance the benchmark tests.
63077 2013-05-21  Andreas Schwab  <schwab@suse.de>
63079         [BZ #15493]
63080         * setjmp/Makefile (tests): Add tst-sigsetjmp.
63081         * setjmp/tst-sigsetjmp.c: New test.
63083 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63085         * sysdeps/x86_64/memset.S (memset): New implementation.
63086         (__bzero): Likewise.
63087         (__memset_tail): New function.
63089 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63091         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
63092         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
63093         __memcpy_sse2_unaligned ifunc selection.
63094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63095         Add memcpy-sse2-unaligned.S.
63096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63097         Add: __memcpy_sse2_unaligned.
63099 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
63101         [BZ #15490]
63102         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63103         math_force_eval before restoring floating-point envrionment.
63104         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
63105         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
63106         Likewise.
63107         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
63108         <math_private.h>.
63109         (__nearbyintl): Use math_force_eval before restoring
63110         floating-point environment.
63111         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
63113         * math/gen-libm-test.pl (special_functions): Remove.
63114         (parse_args): Don't handle TEST_extra.  Handle functions with no
63115         return value.
63116         * math/libm-test.inc (struct test_sincos_data): Replace with
63117         struct test_fFF_11_data.
63118         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
63119         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
63120         (sincos_test_data): Change element type to struct
63121         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
63122         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
63123         RUN_TEST_LOOP_sincos.
63124         * math/README.libm-test: Don't mention special handling of
63125         individual functions.
63126         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
63127         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63128         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63129         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63130         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63133         * math/gen-libm-test.pl (get_variable): Remove function.
63134         (parse_args): Don't show pointer parameters to call in test
63135         names.  Use "extra output N" in test names for extra outputs
63136         rather than naming variables.
63138 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
63140         [BZ #15488]
63141         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
63142         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
63143         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63144         double tests.
63145         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
63146         disable.
63147         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
63148         check_long_double.
63150         * math/gen-libm-test.pl (@tests): Remove variable.
63151         ($count): Likewise.
63152         (new_test): Remove function.
63153         (show_exceptions): New function.
63154         (special_functions): Use show_exceptions instead of new_test.
63155         (parse_args): Likewise.
63156         (generate_testfile): Pass only function name in generated call to
63157         print_max_error or print_complex_max_error.
63158         (get_ulps): Do not handle complex tests specially.
63159         (output_test): Rename to ...
63160         (get_all_ulps_for_test): ... this.  Return a string rather than
63161         printing to a file.  Require ulps to be present.
63162         (output_ulps): Generate arrays rather than #defines.
63163         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63164         (struct ulp_data): New type.
63165         (BUILD_COMPLEX_ULP): Remove macro.
63166         (compare_ulp_data): New function.
63167         (find_ulps): Likewise.
63168         (find_test_ulps): Likewise.
63169         (find_function_ulps): Likewise.
63170         (find_complex_function_ulps): Likewise.
63171         (print_max_error): Determine allowed ulps using
63172         find_function_ulps.
63173         (print_complex_max_error): Determine allowed ulps using
63174         find_complex_function_ulps.
63175         (check_float_internal): Determine max ulps using find_test_ulps.
63176         (check_float): Do not take max_ulp parameter.  Update call to
63177         check_float_internal.
63178         (check_complex): Likewise.
63179         (check_int): Do not take max_ulp parameter.
63180         (check_long): Likewise.
63181         (check_bool): Likewise.
63182         (check_longlong): Likewise.
63183         (struct test_f_f_data): Remove max_ulp field.
63184         (struct test_ff_f_data): Likewise.
63185         (struct test_ff_f_data_nexttoward): Likewise.
63186         (struct test_fi_f_data): Likewise.
63187         (struct test_fl_f_data): Likewise.
63188         (struct test_if_f_data): Likewise.
63189         (struct test_fff_f_data): Likewise.
63190         (struct test_c_f_data): Likewise.
63191         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63192         (struct test_fF_f1_data): Likewise.
63193         (struct test_ffI_f1_data): Likewise.
63194         (struct test_c_c_data): Remove max_ulp field.
63195         (struct test_cc_c_data): Likewise.
63196         (struct test_f_i_data): Likewise.
63197         (struct test_ff_i_data): Likewise.
63198         (struct test_f_l_data): Likewise.
63199         (struct test_f_L_data): Likewise.
63200         (struct test_sincos_data): Likewise.
63201         (RUN_TEST_f_f): Do not handle ulps.
63202         (RUN_TEST_LOOP_f_f): Likewise.
63203         (RUN_TEST_2_f): Likewise.
63204         (RUN_TEST_LOOP_2_f): Likewise.
63205         (RUN_TEST_fff_f): Likewise.
63206         (RUN_TEST_LOOP_fff_f): Likewise.
63207         (RUN_TEST_c_f): Likewise.
63208         (RUN_TEST_LOOP_c_f): Likewise.
63209         (RUN_TEST_f_f1): Likewise.
63210         (RUN_TEST_LOOP_f_f1): Likewise.
63211         (RUN_TEST_fF_f1): Likewise.
63212         (RUN_TEST_LOOP_fF_f1): Likewise.
63213         (RUN_TEST_fI_f1): Likewise.
63214         (RUN_TEST_LOOP_fI_f1): Likewise.
63215         (RUN_TEST_ffI_f1): Likewise.
63216         (RUN_TEST_LOOP_ffI_f1): Likewise.
63217         (RUN_TEST_c_c): Likewise.
63218         (RUN_TEST_LOOP_c_c): Likewise.
63219         (RUN_TEST_cc_c): Likewise.
63220         (RUN_TEST_LOOP_cc_c): Likewise.
63221         (RUN_TEST_f_i): Likewise.
63222         (RUN_TEST_LOOP_f_i): Likewise.
63223         (RUN_TEST_f_i_tg): Likewise.
63224         (RUN_TEST_LOOP_f_i_tg): Likewise.
63225         (RUN_TEST_ff_i_tg): Likewise.
63226         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63227         (RUN_TEST_f_b): Likewise.
63228         (RUN_TEST_LOOP_f_b): Likewise.
63229         (RUN_TEST_f_b_tg): Likewise.
63230         (RUN_TEST_LOOP_f_b_tg): Likewise.
63231         (RUN_TEST_f_l): Likewise.
63232         (RUN_TEST_LOOP_f_l): Likewise.
63233         (RUN_TEST_f_L): Likewise.
63234         (RUN_TEST_LOOP_f_L): Likewise.
63235         (RUN_TEST_sincos): Likewise.
63236         (RUN_TEST_LOOP_sincos): Likewise.
63238 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63240         [BZ #15480]
63241         [BZ #15485]
63242         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63243         main case of finite arguments, set rounding mode to FE_TONEAREST
63244         and discard exceptions.
63245         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63246         exceptions.
63247         (remainder_tonearest_test_data): New variable.
63248         (remainder_test_tonearest): New function.
63249         (remainder_towardzero_test_data): New variable.
63250         (remainder_test_towardzero): New function.
63251         (remainder_downward_test_data): New variable.
63252         (remainder_test_downward): New function.
63253         (remainder_upward_test_data): New variable.
63254         (remainder_test_upward): New function.
63255         (main): Call the new test functions.
63257         * math/libm-test.inc (struct test_f_f1_data): Remove field
63258         extra_init.
63259         (struct test_fF_f1_data): Likewise.
63260         (struct test_ffI_f1_data): Likewise.
63261         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63262         based on value of EXTRA_EXPECTED.
63263         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63264         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63265         EXTRA_VAR based on value of EXTRA_EXPECTED.
63266         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63267         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63268         EXTRA_VAR based on value of EXTRA_EXPECTED.
63269         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63270         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63271         EXTRA_VAR based on value of EXTRA_EXPECTED.
63272         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63273         * math/gen-libm-test.pl (parse_args): Don't output initializers
63274         for extra output values.
63276         * math/libm-test.inc (check_int): Expect result to be exactly
63277         equal to expected value and do not handle ulps.
63278         (check_long): Likewise.
63279         (check_longlong): Likewise.
63281         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63282         exceptions.
63283         (cimag_test_data): Likewise.
63284         (conj_test_data): Likewise.
63285         (copysign_test_data): Likewise.
63286         (cproj_test_data): Likewise.
63287         (creal_test_data): Likewise.
63288         (fabs_test_data): Likewise.
63289         (fdim_test_data): Likewise.
63290         (finite_test_data): Likewise.
63291         (floor_test_data): Likewise.
63292         (fmax_test_data): Likewise.
63293         (fmin_test_data): Likewise.
63294         (fmod_test_data): Likewise.
63295         (fpclassify_test_data): Likewise.
63296         (frexp_test_data): Likewise.
63297         (ilogb_test_data): Likewise.
63298         (isfinite_test_data): Likewise.
63299         (isgreater_test_data): Likewise.
63300         (isgreaterequal_test_data): Likewise.
63301         (isinf_test_data): Likewise.
63302         (isless_test_data): Likewise.
63303         (islessequal_test_data): Likewise.
63304         (islessgreater_test_data): Likewise.
63305         (isnan_test_data): Likewise.
63306         (isnormal_test_data): Likewise.
63307         (issignaling_test_data): Likewise.
63308         (isunordered_test_data): Likewise.
63309         (ldexp_test_data): Likewise.
63310         (lrint_test_data): Likewise.
63311         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63312         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63313         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63314         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63315         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63316         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63317         test input.
63318         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63319         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63320         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63321         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63322         that test input.
63323         (lrint_downward_test_data): Test for "inexact" exceptions.
63324         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63325         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63326         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63327         test input.
63328         (lrint_upward_test_data): Test for "inexact" exceptions.
63329         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63330         test input.
63331         (llrint_test_data): Test for "inexact" exceptions.
63332         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63333         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63334         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63335         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63336         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63337         (llrint_downward_test_data): Test for "inexact" exceptions.
63338         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63339         (llrint_upward_test_data): Test for "inexact" exceptions.
63340         (logb_test_data): Likewise.
63341         (logb_downward_test_data): Likewise.
63342         (nextafter_test_data): Likewise.
63343         (nexttoward_test_data): Likewise.
63344         (remainder_test_data): Likewise.
63345         (remquo_test_data): Likewise.
63346         (scalbn_test_data): Likewise.
63347         (scalbln_test_data): Likewise.
63348         (signbit_test_data): Likewise.
63349         (sqrt_test_data): Likewise.
63350         (significand_test_data): Likewise.
63352 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63354         [BZ #15424]
63355         * benchtests/bench-modf.c (struct args): Mark arg0 as
63356         volatile.
63357         * scripts/bench.pl: Mark members of struct args as volatile.
63359 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63361         [BZ # 15497]
63362         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63363         negative infinity on POWER6 or lower.
63364         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63366 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
63368         [BZ #15442]
63369         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63370         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63371         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63372         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63373         (_FP_SETQNAN): New macro.
63374         (_FP_SETQNAN_SEMIRAW): Likewise.
63375         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63376         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63377         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63378         (FP_EXTEND): Use _FP_FRAC_SNANP.
63379         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63380         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63381         into account.
63382         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63383         New macro.
63384         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63385         Likewise.
63387 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63389         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63390         with DIVIDE_BY_ZERO_EXCEPTION.
63391         (gamma_test_data): Likewise.
63392         (lgamma_test_data): Likewise.
63393         (log_test_data): Likewise.
63394         (log10_test_data): Likewise.
63395         (log2_test_data): Likewise.
63396         (tgamma_test_data): Likewise.
63398         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63399         (acos_test_tonearest): Likewise.
63400         (acos_test_towardzero): Likewise.
63401         (acos_test_downward): Likewise.
63402         (acos_test_upward): Likewise.
63403         (acosh_test): Likewise.
63404         (asin_test): Likewise.
63405         (asin_test_tonearest): Likewise.
63406         (asin_test_towardzero): Likewise.
63407         (asin_test_downward): Likewise.
63408         (asin_test_upward): Likewise.
63409         (asinh_test): Likewise.
63410         (atan_test): Likewise.
63411         (atanh_test): Likewise.
63412         (atan2_test): Likewise.
63413         (cabs_test): Likewise.
63414         (cacos_test): Likewise.
63415         (cacosh_test): Likewise.
63416         (casin_test): Likewise.
63417         (casinh_test): Likewise.
63418         (catan_test): Likewise.
63419         (catanh_test): Likewise.
63420         (cbrt_test): Likewise.
63421         (ccos_test): Likewise.
63422         (ccosh_test): Likewise.
63423         (cexp_test): Likewise.
63424         (clog_test): Likewise.
63425         (clog10_test): Likewise.
63426         (cos_test): Likewise.
63427         (cos_test_tonearest): Likewise.
63428         (cos_test_towardzero): Likewise.
63429         (cos_test_downward): Likewise.
63430         (cos_test_upward): Likewise.
63431         (cosh_test): Likewise.
63432         (cosh_test_tonearest): Likewise.
63433         (cosh_test_towardzero): Likewise.
63434         (cosh_test_downward): Likewise.
63435         (cosh_test_upward): Likewise.
63436         (cpow_test): Likewise.
63437         (csin_test): Likewise.
63438         (csinh_test): Likewise.
63439         (csqrt_test): Likewise.
63440         (ctan_test): Likewise.
63441         (ctan_test_tonearest): Likewise.
63442         (ctan_test_towardzero): Likewise.
63443         (ctan_test_downward): Likewise.
63444         (ctan_test_upward): Likewise.
63445         (ctanh_test): Likewise.
63446         (ctanh_test_tonearest): Likewise.
63447         (ctanh_test_towardzero): Likewise.
63448         (ctanh_test_downward): Likewise.
63449         (ctanh_test_upward): Likewise.
63450         (erf_test): Likewise.
63451         (erfc_test): Likewise.
63452         (exp_test): Likewise.
63453         (exp_test_tonearest): Likewise.
63454         (exp_test_towardzero): Likewise.
63455         (exp_test_downward): Likewise.
63456         (exp_test_upward): Likewise.
63457         (exp10_test): Likewise.
63458         (exp2_test): Likewise.
63459         (expm1_test): Likewise.
63460         (fmod_test): Likewise.
63461         (gamma_test): Likewise.
63462         (hypot_test): Likewise.
63463         (j0_test): Likewise.
63464         (j1_test): Likewise.
63465         (jn_test): Likewise.
63466         (lgamma_test): Likewise.
63467         (log_test): Likewise.
63468         (log10_test): Likewise.
63469         (log1p_test): Likewise.
63470         (log2_test): Likewise.
63471         (logb_test_downward): Likewise.
63472         (pow_test): Likewise.
63473         (pow_test_tonearest): Likewise.
63474         (pow_test_towardzero): Likewise.
63475         (pow_test_downward): Likewise.
63476         (pow_test_upward): Likewise.
63477         (remainder_test): Likewise.
63478         (remquo_test): Likewise.
63479         (sin_test): Likewise.
63480         (sin_test_tonearest): Likewise.
63481         (sin_test_towardzero): Likewise.
63482         (sin_test_downward): Likewise.
63483         (sin_test_upward): Likewise.
63484         (sincos_test): Likewise.
63485         (sinh_test): Likewise.
63486         (sinh_test_tonearest): Likewise.
63487         (sinh_test_towardzero): Likewise.
63488         (sinh_test_downward): Likewise.
63489         (sinh_test_upward): Likewise.
63490         (sqrt_test): Likewise.
63491         (tan_test): Likewise.
63492         (tan_test_tonearest): Likewise.
63493         (tan_test_towardzero): Likewise.
63494         (tan_test_downward): Likewise.
63495         (tan_test_upward): Likewise.
63496         (tanh_test): Likewise.
63497         (tgamma_test): Likewise.
63498         (y0_test): Likewise.
63499         (y1_test): Likewise.
63500         (yn_test): Likewise.
63502         * math/gen-libm-test.pl (adjust_arg): Remove function.
63503         (special_function): Remove argument $in_func.  Only handle
63504         generating output for tables of tests, not inside functions.
63505         (parse_args): Likewise.
63506         (generate_testfile): Remove variable $in_func.  Update call to
63507         parse_args.
63508         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
63509         (MINUS_ZERO_INIT): Rename macro to minus_zero.
63510         (PLUS_INFTY_INIT): Rename macro to plus_infty.
63511         (MINUS_INFTY_INIT): Rename macro to minus_infty.
63512         (QNAN_VALUE_INIT): Rename macro to qnan_value.
63513         (MAX_VALUE_INIT): Rename macro to max_value.
63514         (MIN_VALUE_INIT): Rename macro to min_value.
63515         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
63516         (plus_zero): Remove variable.
63517         (minus_zero): Likewise.
63518         (plus_infty): Likewise.
63519         (minus_infty): Likewise.
63520         (qnan_value): Likewise.
63521         (max_value): Likewise.
63522         (min_value): Likewise.
63523         (min_subnorm_value): Likewise.
63525 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63527         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
63528         uint64_t or uint32_t usage.
63529         * crypt/sha256-block.c: Likewise.
63530         * crypt/sha256-crypt.c: Likewise.
63531         * crypt/sha256.c: Likewise.
63532         * crypt/sha512-block.c: Likewise.
63533         * crypt/sha512-crypt.c: Likewise.
63534         * crypt/sha512.c: Likewise.
63535         * debug/backtrace-tst.c: Likewise.
63536         * debug/pcprofiledump.c: Likewise.
63537         * elf/cache.c: Likewise.
63538         * elf/dl-cache.c: Likewise.
63539         * elf/dl-misc.c: Likewise.
63540         * elf/dl-profile.c: Likewise.
63541         * elf/dl-support.c: Likewise.
63542         * elf/ldconfig.c: Likewise.
63543         * elf/sprof.c: Likewise.
63544         * iconv/dummy-repertoire.c: Likewise.
63545         * iconv/iconv_charmap.c: Likewise.
63546         * iconv/skeleton.c: Likewise.
63547         * iconvdata/8bit-generic.c: Likewise.
63548         * iconvdata/cp737.h: Likewise.
63549         * iconvdata/cp775.h: Likewise.
63550         * iconvdata/ibm1008.h: Likewise.
63551         * iconvdata/ibm1025.h: Likewise.
63552         * iconvdata/ibm1046.h: Likewise.
63553         * iconvdata/ibm1097.h: Likewise.
63554         * iconvdata/ibm1112.h: Likewise.
63555         * iconvdata/ibm1122.h: Likewise.
63556         * iconvdata/ibm1123.h: Likewise.
63557         * iconvdata/ibm1124.h: Likewise.
63558         * iconvdata/ibm1129.h: Likewise.
63559         * iconvdata/ibm1130.h: Likewise.
63560         * iconvdata/ibm1132.h: Likewise.
63561         * iconvdata/ibm1133.h: Likewise.
63562         * iconvdata/ibm1137.h: Likewise.
63563         * iconvdata/ibm1140.h: Likewise.
63564         * iconvdata/ibm1141.h: Likewise.
63565         * iconvdata/ibm1142.h: Likewise.
63566         * iconvdata/ibm1143.h: Likewise.
63567         * iconvdata/ibm1144.h: Likewise.
63568         * iconvdata/ibm1145.h: Likewise.
63569         * iconvdata/ibm1146.h: Likewise.
63570         * iconvdata/ibm1147.h: Likewise.
63571         * iconvdata/ibm1148.h: Likewise.
63572         * iconvdata/ibm1149.h: Likewise.
63573         * iconvdata/ibm1153.h: Likewise.
63574         * iconvdata/ibm1154.h: Likewise.
63575         * iconvdata/ibm1155.h: Likewise.
63576         * iconvdata/ibm1156.h: Likewise.
63577         * iconvdata/ibm1157.h: Likewise.
63578         * iconvdata/ibm1158.h: Likewise.
63579         * iconvdata/ibm1160.h: Likewise.
63580         * iconvdata/ibm1161.h: Likewise.
63581         * iconvdata/ibm1162.h: Likewise.
63582         * iconvdata/ibm1163.h: Likewise.
63583         * iconvdata/ibm1164.h: Likewise.
63584         * iconvdata/ibm1166.h: Likewise.
63585         * iconvdata/ibm1167.h: Likewise.
63586         * iconvdata/ibm12712.h: Likewise.
63587         * iconvdata/ibm1390.h: Likewise.
63588         * iconvdata/ibm1399.h: Likewise.
63589         * iconvdata/ibm16804.h: Likewise.
63590         * iconvdata/ibm4517.h: Likewise.
63591         * iconvdata/ibm4899.h: Likewise.
63592         * iconvdata/ibm4909.h: Likewise.
63593         * iconvdata/ibm4971.h: Likewise.
63594         * iconvdata/ibm5347.h: Likewise.
63595         * iconvdata/ibm803.h: Likewise.
63596         * iconvdata/ibm856.h: Likewise.
63597         * iconvdata/ibm901.h: Likewise.
63598         * iconvdata/ibm902.h: Likewise.
63599         * iconvdata/ibm9030.h: Likewise.
63600         * iconvdata/ibm9066.h: Likewise.
63601         * iconvdata/ibm921.h: Likewise.
63602         * iconvdata/ibm922.h: Likewise.
63603         * iconvdata/ibm9448.h: Likewise.
63604         * iconvdata/isiri-3342.h: Likewise.
63605         * iconvdata/jis0201.h: Likewise.
63606         * include/link.h: Likewise.
63607         * include/netdb.h: Likewise.
63608         * inet/check_native.c: Likewise.
63609         * inet/check_pf.c: Likewise.
63610         * inet/getipv4sourcefilter.c: Likewise.
63611         * inet/getnameinfo.c: Likewise.
63612         * inet/getsourcefilter.c: Likewise.
63613         * inet/htonl.c: Likewise.
63614         * inet/setipv4sourcefilter.c: Likewise.
63615         * inet/setsourcefilter.c: Likewise.
63616         * inet/test-inet6_opt.c: Likewise.
63617         * inet/tst-network.c: Likewise.
63618         * locale/C-collate.c: Likewise.
63619         * locale/C-ctype.c: Likewise.
63620         * locale/C-time.c: Likewise.
63621         * locale/C-translit.h: Likewise.
63622         * locale/loadarchive.c: Likewise.
63623         * locale/programs/3level.h: Likewise.
63624         * locale/programs/charmap.c: Likewise.
63625         * locale/programs/charmap.h: Likewise.
63626         * locale/programs/ld-address.c: Likewise.
63627         * locale/programs/ld-collate.c: Likewise.
63628         * locale/programs/ld-ctype.c: Likewise.
63629         * locale/programs/ld-identification.c: Likewise.
63630         * locale/programs/ld-measurement.c: Likewise.
63631         * locale/programs/ld-messages.c: Likewise.
63632         * locale/programs/ld-monetary.c: Likewise.
63633         * locale/programs/ld-name.c: Likewise.
63634         * locale/programs/ld-numeric.c: Likewise.
63635         * locale/programs/ld-paper.c: Likewise.
63636         * locale/programs/ld-telephone.c: Likewise.
63637         * locale/programs/ld-time.c: Likewise.
63638         * locale/programs/linereader.c: Likewise.
63639         * locale/programs/locale.c: Likewise.
63640         * locale/programs/locarchive.c: Likewise.
63641         * locale/programs/locfile.h: Likewise.
63642         * locale/programs/repertoire.c: Likewise.
63643         * locale/programs/simple-hash.c: Likewise.
63644         * locale/programs/simple-hash.h: Likewise.
63645         * malloc/memusage.c: Likewise.
63646         * malloc/memusagestat.c: Likewise.
63647         * nis/nis_defaults.c: Likewise.
63648         * nis/nis_hash.c: Likewise.
63649         * nis/nis_print.c: Likewise.
63650         * nis/nis_xdr.c: Likewise.
63651         * nscd/connections.c: Likewise.
63652         * nscd/hstcache.c: Likewise.
63653         * nscd/nscd_gethst_r.c: Likewise.
63654         * nscd/nscd_getserv_r.c: Likewise.
63655         * nscd/nscd_helper.c: Likewise.
63656         * nscd/servicescache.c: Likewise.
63657         * nss/makedb.c: Likewise.
63658         * nss/nss_db/db-XXX.c: Likewise.
63659         * nss/nss_db/db-initgroups.c: Likewise.
63660         * nss/nss_db/db-netgrp.c: Likewise.
63661         * nss/nss_files/files-network.c: Likewise.
63662         * nss/nss_files/files-parse.c: Likewise.
63663         * posix/bug-regex5.c: Likewise.
63664         * posix/fnmatch_loop.c: Likewise.
63665         * posix/regcomp.c: Likewise.
63666         * posix/regexec.c: Likewise.
63667         * posix/tst-rfc3484-2.c: Likewise.
63668         * posix/tst-rfc3484-3.c: Likewise.
63669         * posix/tst-rfc3484.c: Likewise.
63670         * resolv/nss_dns/dns-canon.c: Likewise.
63671         * resolv/nss_dns/dns-network.c: Likewise.
63672         * resolv/res_init.c: Likewise.
63673         * resolv/res_mkquery.c: Likewise.
63674         * resolv/tst-aton.c: Likewise.
63675         * stdlib/cxa_atexit.c: Likewise.
63676         * stdlib/cxa_finalize.c: Likewise.
63677         * stdlib/gen-fpioconst.c: Likewise.
63678         * stdlib/strtol_l.c: Likewise.
63679         * string/tst-endian.c: Likewise.
63680         * sunrpc/auth_des.c: Likewise.
63681         * sunrpc/clnt_udp.c: Likewise.
63682         * sunrpc/rtime.c: Likewise.
63683         * sunrpc/svcauth_des.c: Likewise.
63684         * sunrpc/xdr.c: Likewise.
63685         * sunrpc/xdr_intXX_t.c: Likewise.
63686         * sunrpc/xdr_rec.c: Likewise.
63687         * sysdeps/generic/ldconfig.h: Likewise.
63688         * sysdeps/generic/ldsodefs.h: Likewise.
63689         * sysdeps/generic/memusage.h: Likewise.
63690         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63691         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
63692         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
63693         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63694         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63695         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63696         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63697         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63698         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63699         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63700         * sysdeps/posix/getaddrinfo.c: Likewise.
63701         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63702         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63703         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63704         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63705         * sysdeps/powerpc/test-gettimebase.c: Likewise.
63706         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
63707         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
63708         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
63709         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
63710         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
63711         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63712         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63713         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
63714         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
63715         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
63716         * sysdeps/x86_64/dl-tls.h: Likewise.
63717         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
63718         * time/alt_digit.c: Likewise.
63719         * time/era.c: Likewise.
63720         * wcsmbs/tst-c16c32-1.c: Likewise.
63722 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63724         * math/libm-test.inc (struct test_sincos_data): New type.
63725         (RUN_TEST_LOOP_sincos): New macro.
63726         (sincos_test_data): New variable.
63727         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
63729 2013-05-16  Richard Henderson  <rth@redhat.com>
63731         * math/atest-exp2.c (LIMB64): New macro.
63732         (CONSTSZ): New macro.
63733         (mp_exp1, mp_exp_m1, mp_log2): New variables.
63734         (hexdig): Move ...
63735         (print_mpn_fp): ... to function scope.
63736         (read_mpn_hex): Remove.
63737         (get_log2): Remove.
63738         (exp2_mpn): Use mp_log2.
63739         (main): Use mp_exp1.
63741 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63743         * math/libm-test.inc: Remove comment about not testing "inexact"
63744         exceptions.
63745         (INEXACT_EXCEPTION): New macro.
63746         (NO_INEXACT_EXCEPTION): Likewise.
63747         (INVALID_EXCEPTION_OK): Update value.
63748         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63749         (OVERFLOW_EXCEPTION_OK): Likewise.
63750         (UNDERFLOW_EXCEPTION_OK): Likewise.
63751         (IGNORE_ZERO_INF_SIGN): Likewise.
63752         (ERRNO_UNCHANGED): Likewise.
63753         (ERRNO_EDOM): Likewise.
63754         (ERRNO_ERANGE): Likewise.
63755         (test_exceptions): Handle testing "inexact" exceptions.
63756         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
63757         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
63758         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
63759         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
63760         INEXACT_EXCEPTION.
63761         (rint_towardzero_test_data): Likewise.
63762         (rint_downward_test_data): Likewise.
63763         (rint_upward_test_data): Likewise.
63765         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
63766         with OVERFLOW_EXCEPTION.
63767         (exp10_test_data): Likewise.
63768         (exp2_test_data): Likewise.
63769         (expm1_test_data): Likewise.
63770         (lgamma_test_data): Likewise.
63771         (pow_test_data): Likewise.
63772         (tgamma_test_data): Likewise.
63773         (yn_test_data): Remove duplicate test of overflow.
63775         * math/libm-test.inc (struct test_cc_c_data): New type.
63776         (RUN_TEST_LOOP_cc_c): New macro.
63777         (cpow_test_data): New variable.
63778         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63780         * math/libm-test.inc (struct test_f_L_data): New type.
63781         (RUN_TEST_LOOP_f_L): New macro.
63782         (llrint_test_data): New variable.
63783         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63784         (llrint_tonearest_test_data): New variable.
63785         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63786         (llrint_towardzero_test_data): New variable.
63787         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63788         (llrint_downward_test_data): New variable.
63789         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63790         (llrint_upward_test_data): New variable.
63791         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63792         (llround_test_data): New variable.
63793         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63795 2013-05-13  Peter Collingbourne  <pcc@google.com>
63797         * math/atest-exp2.c (get_log2): Remove const attribute.
63799 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63801         * math/libm-test.inc (struct test_f_l_data): New type.
63802         (RUN_TEST_LOOP_f_l): New macro.
63803         (lrint_test_data): New variable.
63804         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63805         (lrint_tonearest_test_data): New variable.
63806         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63807         (lrint_towardzero_test_data): New variable.
63808         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63809         (lrint_downward_test_data): New variable.
63810         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63811         (lrint_upward_test_data): New variable.
63812         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63813         (lround_test_data): New variable.
63814         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63816 2013-05-15  Peter Collingbourne  <pcc@google.com>
63818         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63819         (EXTRACT_WORDS64) Use where appropriate.
63820         (INSERT_WORDS64) Likewise.
63822         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63823         constraints with x constraints.
63824         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63826         * malloc/obstack.c (_obstack_compat): Add initializer.
63828 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63830         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63831         si_trapno and add si_addr_lsb to _sifields.sigfault.
63832         (si_trapno): Remove macro.
63833         (si_addr_lsb): Define new macro.
63834         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63836 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63838         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
63839         instead of TEST_f_l.
63840         (llrint_test_tonearest): Likewise.
63841         (llrint_test_towardzero): Likewise.
63842         (llrint_test_downward): Likewise.
63843         (llrint_test_upward): Likewise.
63844         (llround_test): Likewise.
63846         * math/libm-test.inc (struct test_f_i_data): Add comment.
63847         (RUN_TEST_LOOP_f_b): New macro.
63848         (RUN_TEST_LOOP_f_b_tg): Likewise.
63849         (finite_test_data): New variable.
63850         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
63851         (isfinite_test_data): New variable.
63852         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63853         (isinf_test_data): New variable.
63854         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63855         (isnan_test_data): New variable.
63856         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63857         (isnormal_test_data): New variable.
63858         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63859         (issignaling_test_data): New variable.
63860         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63861         (signbit_test_data): New variable.
63862         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63864         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
63865         with INVALID_EXCEPTION.
63866         (acosh_test_data): Likewise.
63867         (asin_test_data): Likewise.
63868         (atanh_test_data): Likewise.
63869         (fmod_test_data): Likewise.
63870         (log_test_data): Likewise.
63871         (log10_test_data): Likewise.
63872         (log2_test_data): Likewise.
63873         (pow_test_data): Likewise.
63874         (sqrt_test_data): Likewise.
63875         (y0_test_data): Likewise.
63876         (y1_test_data): Likewise.
63877         (yn_test_data): Likewise.
63879         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
63880         function contents.
63882         * math/libm-test.inc (struct test_ff_i_data): New type.
63883         (RUN_TEST_LOOP_ff_i_tg): New macro.
63884         (isgreater_test_data): New variable.
63885         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63886         (isgreaterequal_test_data): New variable.
63887         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63888         (isless_test_data): New variable.
63889         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63890         (islessequal_test_data): New variable.
63891         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63892         (islessgreater_test_data): New variable.
63893         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63894         (isunordered_test_data): New variable.
63895         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63897 2013-05-14  David S. Miller  <davem@davemloft.net>
63899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63901 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
63903         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
63905         * math/libm-test.inc (struct test_fF_f1_data): Change type of
63906         extra_test to int.
63907         (struct test_f_i_data): Change type of max_ulp to int.
63909         * math/libm-test.inc (test_ffI_f1_data): New type.
63910         (RUN_TEST_LOOP_ffI_f1): New macro.
63911         (remquo_test_data): New variable.
63912         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
63914         * setjmp/tst-setjmp-fp.c: New file.
63915         * setjmp/Makefile (tests): Add tst-setjmp-fp.
63916         (link-libm): New variable.
63917         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
63919         * math/libm-test.inc (struct test_f_i_data): New type.
63920         (RUN_TEST_LOOP_f_i): New macro.
63921         (RUN_TEST_LOOP_f_i_tg): Likewise.
63922         (fpclassify_test_data): New variable.
63923         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
63924         (ilogb_test_data): New variable.
63925         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
63927         * math/libm-test.inc (scalbln_test): Correct function name in END
63928         call.
63930         * math/libm-test.inc (struct test_f_f1_data): Add comment.
63931         (RUN_TEST_LOOP_fI_f1): New macro.
63932         (frexp_test_data): New variable.
63933         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
63935         * math/libm-test.inc (struct test_fF_f1_data): New type.
63936         (RUN_TEST_LOOP_fF_f1): New macro.
63937         (modf_test_data): New variable.
63938         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
63940         * math/libm-test.inc (struct test_f_f1_data): New type.
63941         (RUN_TEST_LOOP_f_f1): New macro.
63942         (gamma_test_data): New variable.
63943         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63944         (lgamma_test_data): New variable.
63945         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63947 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
63949         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
63950         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
63951         (main): Comment "tls" pseudo-hwcap.
63953 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
63955         * math/libm-test.inc (struct test_fl_f_data): New type.
63956         (RUN_TEST_LOOP_fl_f): New variable.
63957         (scalbln_test_data): New variable.
63958         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
63960         * math/libm-test.inc (struct test_fi_f_data): New type.
63961         (RUN_TEST_LOOP_fi_f): New macro.
63962         (ldexp_test_data): New variable.
63963         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
63964         (scalbn_test_data): New variable.
63965         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
63967         * math/libm-test.inc (struct test_c_f_data): New type.
63968         (RUN_TEST_LOOP_c_f): New macro.
63969         (cabs_test_data): New variable.
63970         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
63971         (carg_test_data): New variable.
63972         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
63973         (cimag_test_data): New variable.
63974         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
63975         (creal_test_data): New variable.
63976         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
63978         * math/libm-test.inc (struct test_if_f_data): New type.
63979         (RUN_TEST_LOOP_if_f): New macro.
63980         (jn_test_data): New variable.
63981         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
63982         (yn_test_data): New variable.
63983         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
63985         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
63987 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63989         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63990         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
63992 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63994         * benchtests/Makefile (CPPFLAGS-nonlib): Add
63995         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
63996         (bench-deps): Add bench-timing.h.
63997         * benchtests-bench-skeleton.c: Include bench-timing.h.
63998         (main): Use TIMING_* macros instead of clock_gettime.
63999         * benchtests/bench-timing.h: New file.
64001         [BZ #14582]
64002         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
64003         Renamed from _LIB_VERSION.
64004         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
64006 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
64008         * math/libm-test.inc (struct test_fff_f_data): New type.
64009         (RUN_TEST_LOOP_fff_f): New macro.
64010         (fma_test_data): New variable.
64011         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
64012         (fma_towardzero_test_data): New variable.
64013         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
64014         (fma_downward_test_data): New variable.
64015         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
64016         (fma_upward_test_data): New variable.
64017         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
64019         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
64020         (struct test_c_c_data): New type.
64021         (RUN_TEST_LOOP_c_c): New macro.
64022         (cacos_test_data): New variable.
64023         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
64024         (cacosh_test_data): New variable.
64025         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
64026         (casin_test_data): New variable.
64027         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
64028         (casinh_test_data): New variable.
64029         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
64030         (catan_test_data): New variable.
64031         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
64032         (catanh_test_data): New variable.
64033         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
64034         (ccos_test_data): New variable.
64035         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
64036         (ccosh_test_data): New variable.
64037         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
64038         (cexp_test_data): New variable.
64039         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
64040         (clog_test_data): New variable.
64041         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
64042         (clog10_test_data): New variable.
64043         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
64044         (conj_test_data): New variable.
64045         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
64046         (cproj_test_data): New variable.
64047         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
64048         (csin_test_data): New variable.
64049         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
64050         (csinh_test_data): New variable.
64051         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
64052         (csqrt_test_data): New variable.
64053         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
64054         (ctan_test_data): New variable.
64055         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
64056         (ctan_tonearest_test_data): New variable.
64057         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64058         (ctan_towardzero_test_data): New variable.
64059         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64060         (ctan_downward_test_data): New variable.
64061         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64062         (ctan_upward_test_data): New variable.
64063         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64064         (ctanh_test_data): New variable.
64065         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
64066         (ctanh_tonearest_test_data): New variable.
64067         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64068         (ctanh_towardzero_test_data): New variable.
64069         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64070         (ctanh_downward_test_data): New variable.
64071         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64072         (ctanh_upward_test_data): New variable.
64073         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64074         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
64075         of BUILD_COMPLEX.
64077         * math/libm-test.inc (struct test_ff_f_data): New type.
64078         (struct test_ff_f_data_nexttoward): Likewise.
64079         (RUN_TEST_LOOP_2_f): New macro.
64080         (RUN_TEST_LOOP_ff_f): Likewise.
64081         (atan2_test_data): New variable.
64082         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
64083         (copysign_test_data): New variable.
64084         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
64085         (fdim_test_data): New variable.
64086         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
64087         (fmax_test_data): New variable.
64088         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
64089         (fmin_test_data): New variable.
64090         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
64091         (fmod_test_data): New variable.
64092         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
64093         (hypot_test_data): New variable.
64094         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
64095         (nextafter_test_data): New variable.
64096         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
64097         (nexttoward_test_data): New variable.
64098         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
64099         (pow_test_data): New variable.
64100         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
64101         (pow_tonearest_test_data): New variable.
64102         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
64103         (pow_towardzero_test_data): New variable.
64104         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
64105         (pow_downward_test_data): New variable.
64106         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
64107         (pow_upward_test_data): New variable.
64108         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
64109         (remainder_test_data): New variable.
64110         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
64111         (scalb_test_data): New variable.
64112         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
64113         * sysdeps/i386/fpu/libm-test-ulps: Update.
64115 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
64117         * math/libm-test.inc (fma_test): Use max_value instead of local
64118         variable fltmax.
64119         (nextafter_test): Likewise.
64121         * math/libm-test.inc (acos_towardzero_test_data): New variable.
64122         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64123         (acos_downward_test_data): New variable.
64124         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64125         (acos_upward_test_data): New variable.
64126         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64127         (acosh_test_data): New variable.
64128         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
64129         (asin_test_data): New variable.
64130         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
64131         (asin_tonearest_test_data): New variable.
64132         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64133         (asin_towardzero_test_data): New variable.
64134         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64135         (asin_downward_test_data): New variable.
64136         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64137         (asin_upward_test_data): New variable.
64138         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64139         (asinh_test_data): New variable.
64140         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
64141         (atan_test_data): New variable.
64142         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
64143         (atanh_test_data): New variable.
64144         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
64145         (cbrt_test_data): New variable.
64146         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
64147         (ceil_test_data): New variable.
64148         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
64149         (cos_test_data): New variable.
64150         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
64151         (cos_tonearest_test_data): New variable.
64152         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64153         (cos_towardzero_test_data): New variable.
64154         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64155         (cos_downward_test_data): New variable.
64156         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64157         (cos_upward_test_data): New variable.
64158         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64159         (cosh_test_data): New variable.
64160         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64161         (cosh_tonearest_test_data): New variable.
64162         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64163         (cosh_towardzero_test_data): New variable.
64164         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64165         (cosh_downward_test_data): New variable.
64166         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64167         (cosh_upward_test_data): New variable.
64168         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64169         (erf_test_data): New variable.
64170         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64171         (erfc_test_data): New variable.
64172         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64173         (exp_test_data): New variable.
64174         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64175         (exp_tonearest_test_data): New variable.
64176         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64177         (exp_towardzero_test_data): New variable.
64178         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64179         (exp_downward_test_data): New variable.
64180         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64181         (exp_upward_test_data): New variable.
64182         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64183         (exp10_test_data): New variable.
64184         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64185         (exp2_test_data): New variable.
64186         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64187         (expm1_test_data): New variable.
64188         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64189         (fabs_test_data): New variable.
64190         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64191         (floor_test_data): New variable.
64192         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64193         (j0_test_data): New variable.
64194         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64195         (j1_test_data): New variable.
64196         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64197         (log_test_data): New variable.
64198         (log_test): Run tests with RUN_TEST_LOOP_f_f.
64199         (log10_test_data): New variable.
64200         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64201         (log1p_test_data): New variable.
64202         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64203         (log2_test_data): New variable.
64204         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64205         (logb_test_data): New variable.
64206         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64207         (logb_downward_test_data): New variable.
64208         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64209         (nearbyint_test_data): New variable.
64210         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64211         (rint_test_data): New variable.
64212         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64213         (rint_tonearest_test_data): New variable.
64214         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64215         (rint_towardzero_test_data): New variable.
64216         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64217         (rint_downward_test_data): New variable.
64218         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64219         (rint_upward_test_data): New variable.
64220         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64221         (round_test_data): New variable.
64222         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64223         (sin_test_data): New variable.
64224         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64225         (sin_tonearest_test_data): New variable.
64226         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64227         (sin_towardzero_test_data): New variable.
64228         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64229         (sin_downward_test_data): New variable.
64230         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64231         (sin_upward_test_data): New variable.
64232         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64233         (sinh_test_data): New variable.
64234         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64235         (sinh_tonearest_test_data): New variable.
64236         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64237         (sinh_towardzero_test_data): New variable.
64238         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64239         (sinh_downward_test_data): New variable.
64240         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64241         (sinh_upward_test_data): New variable.
64242         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64243         (sqrt_test_data): New variable.
64244         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64245         (tan_test_data): New variable.
64246         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64247         (tan_tonearest_test_data): New variable.
64248         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64249         (tan_towardzero_test_data): New variable.
64250         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64251         (tan_downward_test_data): New variable.
64252         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64253         (tan_upward_test_data): New variable.
64254         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64255         (tanh_test_data): New variable.
64256         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64257         (tgamma_test_data): New variable.
64258         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64259         (trunc_test_data): New variable.
64260         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64261         (y0_test_data): New variable.
64262         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64263         (y1_test_data): New variable.
64264         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64265         (significand_test_data): New variable.
64266         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64268 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64270         [BZ #12387]
64271         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64273 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64275         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64277 2013-05-10  Andreas Jaeger  <aj@suse.de>
64279         [BZ #15448]
64280         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64281         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64283 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64285         * math/gen-libm-test.pl (adjust_arg): New function.
64286         (special_functions): Handle generating output in both functions
64287         and arrays.
64288         (parse_args): Likewise.
64289         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64290         $in_func argument to parse_args.
64291         * math/libm-test.inc (struct test_f_f_data): New type.
64292         (IF_ROUND_INIT_): New macro.
64293         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64294         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64295         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64296         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64297         (ROUND_RESTORE_): Likewise.
64298         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64299         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64300         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64301         (ROUND_RESTORE_FE_UPWARD): Likewise.
64302         (RUN_TEST_LOOP_f_f): New macro.
64303         (acos_test_data): New variable.
64304         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64305         (acos_tonearest_test_data): New variable.
64306         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64308 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64310         * benchtests/bench-skeleton.c (startup): Fix coding style.
64312 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64314         [BZ #6809]
64315         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64316         negative infinity argument.
64317         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64318         negative infinity argument.
64319         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64320         negative infinity argument.
64321         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64322         domain errors.
64324 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64326         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64327         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64328         * iconv/iconv_prog.c (main): Likewise.
64329         * locale/programs/charmap-dir.c (charmap_readdir)
64330         (fopen_uncompressed): Likewise.
64331         * locale/programs/locfile.c (siblings_uncached)
64332         (write_locale_data): Use lstat64 instead of lstat.
64333         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64334         stat.
64336 2013-05-10  Andreas Jaeger  <aj@suse.de>
64338         [BZ #15395]
64339         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64340         localization.
64341         Include <locale.h>.
64343 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
64345         * elf/dl-close.c (_dl_close_worker): Add comments.
64347 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
64349         [BZ #15359]
64350         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64351         high part of pi/2.
64352         (__ieee754_rem_pio2l): Update comments.
64354         [BZ #15429]
64355         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64356         high part of pi/2.
64357         (__ieee754_rem_pio2l): Update comments.
64359         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64360         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64362         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64363         M_PI_4l.
64365         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64366         (M_PI_34_LOG10El): Likewise.
64367         (M_PI2_LOG10El): Likewise.
64368         (M_PI4_LOG10El): Likewise.
64369         (M_PI_LOG10El): Likewise.
64371 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64375 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
64377         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64378         (MINUS_ZERO_INIT): Likewise.
64379         (PLUS_INFTY_INIT): Likewise.
64380         (MINUS_INFTY_INIT): Likewise.
64381         (QNAN_VALUE_INIT): Likewise.
64382         (MAX_VALUE_INIT): Likewise.
64383         (MIN_VALUE_INIT): Likewise.
64384         (MIN_SUBNORM_VALUE_INIT): Likewise.
64385         (plus_zero): Initialize with PLUS_ZERO_INIT.
64386         (minus_zero): Initialize with MINUS_ZERO_INIT.
64387         (plus_infty): Initialize with PLUS_INFTY_INIT.
64388         (minus_infty): Initialize with MINUS_INFTY_INIT.
64389         (qnan_value): Initialize with QNAN_VALUE_INIT.
64390         (max_value): Initialize with MAX_VALUE_INIT.
64391         (min_value): Initialize with MIN_VALUE_INIT.
64392         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64394         * math/libm-test.inc (RUN_TEST_if_f): New macro.
64395         (jn_test): Use TEST_if_f instead of TEST_ff_f.
64396         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64397         (yn_test): Use TEST_if_f instead of TEST_ff_f.
64399         * math/libm-test.inc (RUN_TEST_f_f): New macro.
64400         (RUN_TEST_2_f): Likewise.
64401         (RUN_TEST_ff_f): Likewise.
64402         (RUN_TEST_fi_f): Likewise.
64403         (RUN_TEST_fl_f): Likewise.
64404         (RUN_TEST_fff_f): Likewise.
64405         (RUN_TEST_c_f): Likewise.
64406         (RUN_TEST_f_f1): Likewise.
64407         (RUN_TEST_fF_f1): Likewise.
64408         (RUN_TEST_fI_f1): Likewise.
64409         (RUN_TEST_ffI_f1): Likewise.
64410         (RUN_TEST_c_c): Likewise.
64411         (RUN_TEST_cc_c): Likewise.
64412         (RUN_TEST_f_i): Likewise.
64413         (RUN_TEST_f_i_tg): Likewise.
64414         (RUN_TEST_ff_i_tg): Likewise.
64415         (RUN_TEST_f_b): Likewise.
64416         (RUN_TEST_f_b_tg): Likewise.
64417         (RUN_TEST_f_l): Likewise.
64418         (RUN_TEST_f_L): Likewise.
64419         (RUN_TEST_sincos): Likewise.
64420         * math/gen-libm-test.pl (new_test): Take new argument to indicate
64421         whether to show exceptions.  Do not include ");\n" in return
64422         value.
64423         (special_functions): Output call to RUN_TEST_sincos instead of
64424         check_float calls.  Update calls to new_test.
64425         (parse_args): Output call to single RUN_TEST_* macro instead of
64426         check_* calls and other assignments.  Update calls to new_test.
64428         [BZ #2546]
64429         [BZ #2560]
64430         [BZ #5159]
64431         [BZ #15426]
64432         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64433         input to result for tgamma overflow.
64434         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64435         (gamma_coeff): New variable.
64436         (NCOEFF): New macro.
64437         (gamma_positive): New function.
64438         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64439         underflow here.  Use gamma_positive instead of exp (lgamma) for
64440         other arguments.
64441         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64442         (gamma_coeff): New variable.
64443         (NCOEFF): New macro.
64444         (gammaf_positive): New function.
64445         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
64446         underflow here.  Use gamma_positive instead of exp (lgamma) for
64447         other arguments.
64448         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
64449         (gamma_coeff): New variable.
64450         (NCOEFF): New macro.
64451         (gammal_positive): New function.
64452         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
64453         underflow here.  Use gamma_positive instead of exp (lgamma) for
64454         other arguments.
64455         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
64456         (gamma_coeff): New variable.
64457         (NCOEFF): New macro.
64458         (gammal_positive): New function.
64459         (__ieee754_gammal_r): Handle positive infinity, overflow and
64460         underflow here.  Handle NaN the same as positive infinity.  Remove
64461         check x < 0xffffffff for negative integers.  Use gamma_positive
64462         instead of exp (lgamma) for other arguments.
64463         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
64464         (gamma_coeff): New variable.
64465         (NCOEFF): New macro.
64466         (gammal_positive): New function.
64467         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
64468         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
64469         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
64470         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
64471         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
64472         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
64473         * sysdeps/generic/math_private.h (__gamma_productf): New
64474         prototype.
64475         (__gamma_product): Likewise.
64476         (__gamma_productl): Likewise.
64477         * math/Makefile (libm-calls): Add gamma_product.
64478         * math/libm-test.inc (tgamma_test): Add more tests.
64479         * sysdeps/i386/fpu/libm-test-ulps: Update.
64480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64482 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
64484         * benchtests/bench-skeleton.c (main): Preheat CPU.
64486 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
64488         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64490 2013-05-07  Roland McGrath  <roland@hack.frob.com>
64492         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
64493         and _dl_skip_args_internal.
64495 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
64497         * manual/message.texi (Message Translation): Talk about users.
64498         Message to key mapping impacts design.
64500 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64502         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
64504         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
64506         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
64507         * sysdeps/wordsize-64/glob64.c: ... here.
64509         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
64510         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
64511         New macros.
64513         * debug/getlogin_r_chk.c: Moved to ...
64514         * login/getlogin_r_chk.c: ... here.
64515         * debug/Makefile (routines): Move getlogin_r_chk to ...
64516         * login/Makefile (routines): ... here.
64517         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
64518         * login/Versions (libc: GLIBC_2.4): ... here.
64520         * io/poll.c (__poll): Renamed from poll.
64521         Add libc_hidden_def.
64522         (poll): Define as weak alias.
64524         * debug/ptsname_r_chk.c: Moved to ...
64525         * login/ptsname_r_chk.c: ... here.
64526         * debug/Makefile (routines): Move ptsname_r_chk to ...
64527         * login/Makefile (routines): ... here.
64528         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
64529         * login/Versions (libc: GLIBC_2.4): ... here.
64531         * posix/getlogin.c: Moved to ...
64532         * login/getlogin.c: ... here.
64533         * posix/getlogin_r.c: Moved to ...
64534         * login/getlogin_r.c: ... here.
64535         * posix/getlogin_r.c: Moved to ...
64536         * login/getlogin_r.c: ... here.
64537         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
64538         * login/Makefile (routines): ... here.
64539         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
64540         * login/Versions (libc: GLIBC_2.0): ... here.
64542         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
64543         (setrlimit): Define as weak alias.
64545         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
64546         Call __ names for open, ftruncate, and close.
64547         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
64548         (truncate): Define as weak alias.
64550 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
64552         * math/gen-libm-test.pl (parse_args): Initialize x before each
64553         test of frexp, modf and remquo.
64555         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
64556         test signgam value.
64558 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64560         [BZ #15418]
64561         [BZ #15419]
64562         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
64563         internal tests.
64564         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64566 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64568         * elf/dl-writev.h: New file.
64569         * elf/dl-misc.c: Include it.
64570         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
64571         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
64573 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
64575         * math/libm-test.inc (noXFails): Remove variable.
64576         (noXPasses): Likewise.
64577         (BUILD_COMPLEX_INT): Remove macro.
64578         (print_screen): Remove xfail argument.
64579         (print_screen_max_error): Likewise.
64580         (update_stats): Likewise.
64581         (print_max_error): Likewise.  Update calls to other affected
64582         functions.
64583         (print_complex_max_error): Likewise.
64584         (test_single_exception): Update calls to print_screen.
64585         (test_single_errno): Likewise.
64586         (check_float_internal): Remove xfail argument.  Update calls to
64587         other affected functions.
64588         (check_float): Likewise.
64589         (check_complex): Likewise.
64590         (check_int): Likewise.
64591         (check_long): Likewise.
64592         (check_bool): Likewise.
64593         (check_longlong): Likewise.
64594         (main): Don't print noXFails and noXPasses.
64595         * math/gen-libm-test.pl (top level): Don't mention expected
64596         failure handling in comment.
64597         (new_test): Don't handle expected failures.
64598         (parse_args): Don't mention expected failure handling in comment.
64599         (generate_testfile): Don't handle expected failures.
64600         (parse_ulps): Likewise.
64601         (print_ulps_file): Likewise.
64602         (get_failure): Remove function.
64603         (output_test): Don't handle expected failures.
64604         * make/README.libm-test: Don't mention expected failure handling.
64606         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
64607         (minus_zero): Likewise.
64608         (plus_infty): Likewise.
64609         (minus_infty): Likewise.
64610         (qnan_value): Likewise.
64611         (max_value): Likewise.
64612         (min_value): Likewise.
64613         (min_subnorm_value): Likewise.
64614         (initialize): Do not initialize those variables dynamically.
64616 2013-05-03  Roland McGrath  <roland@hack.frob.com>
64618         * io/open.c (__open_2): Moved to ...
64619         * io/open_2.c: ... this new file.
64620         * io/open64.c (__open64_2): Moved to ...
64621         * io/open64_2.c: ... this new file.
64622         * io/openat.c (__openat_2): Moved to ...
64623         * io/openat_2.c: ... this new file.
64624         * io/openat64.c (__openat64_2): Moved to ...
64625         * io/openat64_2.c: ... this new file.
64626         * io/Makefile (routines): Add them.
64627         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
64628         * sysdeps/unix/sysv/linux/open_2.c: File removed.
64629         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
64630         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
64631         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
64632         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
64633         (__openat64): Add hidden_ver.
64634         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
64635         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
64637         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
64638         Separately conditionalize setting of GLRO(dl_sysinfo) so
64639         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
64640         as well, but the actual setting is only under [NEED_DL_SYSINFO].
64642 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64644         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
64645         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
64646         definition.
64647         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
64648         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64649         (_libc_vdso_platform_setup): Add __vdso_time initialization.
64650         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
64651         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
64653 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
64655         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
64656         test signgam value.
64658         * math/libm-test.inc (hypot_test): Do not use
64659         IGNORE_ZERO_INF_SIGN.
64661 2013-05-03  Andreas Jaeger  <aj@suse.de>
64663         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
64664         Linux 3.9.
64665         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
64666         (PF_MAX): Adjust for VSOCK change.
64668 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64672 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
64674         [BZ #15264]
64675         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
64676         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
64677         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
64679 2013-05-02  David S. Miller  <davem@davemloft.net>
64681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64683 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
64685         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
64687 2013-05-01  Roland McGrath  <roland@hack.frob.com>
64689         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
64691 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
64693         [BZ #14952]
64694         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
64695         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64696         Use __attribute__ ((__gnu_inline__)).
64697         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64698         Don't use __attribute__ ((__gnu_inline__)).
64700 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
64702         [BZ #15423]
64703         * math/s_catan.c (__catan): Handle small real or imaginary part of
64704         input specially to avoid spurious underflow.
64705         * math/s_catanf.c (__catanf): Likewise.
64706         * math/s_catanh.c (__catanh): Likewise.
64707         * math/s_catanhf.c (__catanhf): Likewise.
64708         * math/s_catanhl.c (__catanhl): Likewise.
64709         * math/s_catanl.c (__catanl): Likewise.
64710         * math/libm-test.inc (catan_test): Add more tests.
64711         (catanh_test): Likewise.
64712         * sysdeps/i386/fpu/libm-test-ulps: Update.
64713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64715 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64719 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
64721         [BZ #15416]
64722         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
64723         accurately for denominator in atan2.
64724         * math/s_catanf.c (__catanf): Likewise.
64725         * math/s_catanh.c (__catanh): Likewise.
64726         * math/s_catanhf.c (__catanhf): Likewise.
64727         * math/s_catanhl.c (__catanhl): Likewise.
64728         * math/s_catanl.c (__catanl): Likewise.
64729         * math/libm-test.inc (catan_test): Add more tests.
64730         (catanh_test): Likewise.
64731         * sysdeps/i386/fpu/libm-test-ulps: Update.
64732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64734 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64736         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
64738         * benchtests/Makefile (bench): Remove slow benchmarks.
64739         * benchtests/atan-inputs: Add slow benchmark inputs.
64740         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
64741         (BENCH_FUNC): Accept variant offset.
64742         (VARIANT): Define.
64743         * benchtests/bench-skeleton.c (main): Run benchmark for each
64744         variant.
64745         * benchtests/cos-inputs: Add slow benchmark inputs.
64746         * benchtests/exp-inputs: Likewise.
64747         * benchtests/pow-inputs: Likewise.
64748         * benchtests/sin-inputs: Likewise.
64749         * benchtests/slowatan-inputs: Remove.
64750         * benchtests/slowatan.c: Remove.
64751         * benchtests/slowcos-inputs: Remove.
64752         * benchtests/slowcos.c: Remove.
64753         * benchtests/slowexp-inputs: Remove.
64754         * benchtests/slowexp.c: Remove.
64755         * benchtests/slowpow-inputs: Remove.
64756         * benchtests/slowpow.c: Remove.
64757         * benchtests/slowsin-inputs: Remove.
64758         * benchtests/slowsin.c: Remove.
64759         * benchtests/slowtan-inputs: Remove.
64760         * benchtests/slowtan.c: Remove.
64761         * benchtests/tan-inputs: Add slow benchmark inputs.
64762         * scripts/bench.pl: Parse comments and directives.
64764         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
64765         in CPPFLAGS.
64766         ($(objpfx)bench-%.c): Remove *-ITER.
64767         * benchtests/bench-modf.c: Remove definition of ITER.
64768         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
64769         (main): Loop for DURATION seconds instead of fixed number of
64770         iterations.
64771         * scripts/bench.pl: Don't expect iterations in parameters.
64773 2013-04-29  Roland McGrath  <roland@hack.frob.com>
64775         * io/fchdir.c (__fchdir): Renamed from fchdir.
64776         (fchdir): Define as weak alias.
64778 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64780         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64781         (ERRNO_EDOM): Likewise.
64782         (ERRNO_ERANGE): Likewise.
64783         (noErrnoTests): New variable.
64784         (init_max_error): Set errno to 0.
64785         (test_single_errno): New function.
64786         (test_errno): Likewise.
64787         (check_float_internal): Call test_errno.  Set errno to 0.
64788         (check_complex): Refer to errno tests in comment.
64789         (check_int): Call test_errno.  Set errno to 0.
64790         (check_long): Likewise.
64791         (check_bool): Likewise.
64792         (check_longlong): Likewise.
64793         (cos_test): Use ERRNO_* flags for errno tests instead of
64794         check_int.
64795         (expm1_test): Likewise.
64796         (fmod_test): Likewise.
64797         (ilogb_test): Likewise.
64798         (lgamma_test): Likewise.
64799         (pow_test): Likewise.
64800         (remainder_test): Likewise.
64801         (sin_test): Likewise.
64802         (tan_test): Likewise.
64803         (yn_test): Likewise.
64804         (initialize): Set errno to 0.
64805         (main): Print number of errno tests.
64806         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64808 2013-04-29  Andreas Jaeger  <aj@suse.de>
64810         [BZ #15084]
64811         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64812         and RES_USEVC.
64814         [BZ #15085]
64815         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64816         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64817         unimplemented.
64819         [BZ #15380]
64820         * stdlib/random.c (__initstate): Return NULL if
64821         __initstate fails.
64823         [BZ #15086]
64824         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64825         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64826         RES_SNGLKUPREOP.
64828 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64832 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64834         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
64835         of individual tests.
64836         (casin_test): Likewise.
64837         (casinh_test): Likewise.
64839 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
64841         [BZ #15409]
64842         * math/s_catan.c (__catan): Handle arguments with large real or
64843         imaginary part separately without squaring.
64844         * math/s_catanf.c (__catanf): Likewise.
64845         * math/s_catanh.c (__catanh): Likewise.
64846         * math/s_catanhf.c (__catanhf): Likewise.
64847         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64848         and redefine.
64849         (__catanhl): Handle arguments with large real or imaginary part
64850         separately without squaring.
64851         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64852         and redefine.
64853         (__catanl): Handle arguments with large real or imaginary part
64854         separately without squaring.
64855         * math/libm-test.inc (catan_test): Add more tests.
64856         (catanh_test): Likewise.
64857         * sysdeps/i386/fpu/libm-test-ulps: Update.
64858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64860 2013-04-27  Andreas Jaeger  <aj@suse.de>
64862         [BZ #15007]
64863         * stdlib/stdlib.h: Update guards for qecvt.
64864         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
64865         <stdlib.h>.
64867 2013-04-27  Allan McRae  <allan@archlinux.org>
64869         * sysdeps/i386/fpu/libm-test-ulps: Update.
64871 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
64873         [BZ #15406]
64874         * math/s_catan.c: Include <float.h>.
64875         (__catan): Ensure underflow exception occurs for underflowed
64876         result.
64877         * math/s_catanf.c: Include <float.h>.
64878         (__catanf): Ensure underflow exception occurs for underflowed
64879         result.
64880         * math/s_catanh.c: Include <float.h>.
64881         (__catanh): Ensure underflow exception occurs for underflowed
64882         result.
64883         * math/s_catanhf.c: Include <float.h>.
64884         (__catanhf): Ensure underflow exception occurs for underflowed
64885         result.
64886         * math/s_catanhl.c: Include <float.h>.
64887         (__catanhl): Ensure underflow exception occurs for underflowed
64888         result.
64889         * math/s_catanl.c: Include <float.h>.
64890         (__catanl): Ensure underflow exception occurs for underflowed
64891         result.
64892         * math/libm-test.inc (catan_test): Add more tests.
64893         (catanh_test): Likewise.
64895         [BZ #15405]
64896         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
64897         underflowed result.
64898         * math/s_ccoshf.c (__ccoshf): Likewise.
64899         * math/s_ccoshl.c (__ccoshl): Likewise.
64900         * math/s_csin.c (__csin): Likewise.
64901         * math/s_csinf.c (__csinf): Likewise.
64902         * math/s_csinh.c (__csinh): Likewise.
64903         * math/s_csinhf.c (__csinhf): Likewise.
64904         * math/s_csinhl.c (__csinhl): Likewise.
64905         * math/s_csinl.c (__csinl): Likewise.
64906         * math/libm-test.inc (ccos_test): Add more tests.
64907         (ccosh_test): Likewise.
64908         (csin_test): Likewise.
64909         (csinh_test): Likewise.
64911 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64913         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
64914         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
64915         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
64916         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
64917         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
64918         powerpc/power5+/fpu folders.
64919         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
64922 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64926 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
64928         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
64929         additions to variable.
64930         [$(config-machine) = x86_64] (modules-names): Likewise.
64931         ($(objpfx)tst-audit3): Remove dependency.
64932         ($(objpfx)tst-audit3.out): Likewise.
64933         ($(objpfx)tst-audit4): Likewise.
64934         ($(objpfx)tst-audit4.out): Likewise.
64935         ($(objpfx)tst-audit5): Likewise.
64936         ($(objpfx)tst-audit5.out): Likewise.
64937         ($(objpfx)tst-audit6): Likewise.
64938         ($(objpfx)tst-audit6.out): Likewise.
64939         ($(objpfx)tst-audit7): Likewise.
64940         ($(objpfx)tst-audit7.out): Likewise.
64941         (tst-audit3-ENV): Remove variable.
64942         (tst-audit4-ENV): Likewise.
64943         (tst-audit5-ENV): Likewise.
64944         (tst-audit6-ENV): Likewise.
64945         (tst-audit7-ENV): Likewise.
64946         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
64947         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
64948         addition to variable.
64949         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
64950         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
64951         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
64952         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
64953         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
64954         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
64955         tst-audit3, tst-audit4 and tst-audit5.
64956         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
64957         tst-audit6 and tst-audit7.
64958         [$(subdir) = elf] (modules-names): Add audit modules for those
64959         tests.
64960         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
64961         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
64962         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
64963         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
64964         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
64965         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
64966         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
64967         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
64968         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
64969         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
64970         [$(subdir) = elf] (tst-audit3-ENV): New variable.
64971         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
64972         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
64973         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
64974         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
64975         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
64976         Likewise.
64977         [$(subdir) = elf && $(config-cflags-avx) = yes]
64978         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
64979         [$(subdir) = elf && $(config-cflags-avx) = yes]
64980         (CFLAGS-tst-auditmod4a.c): Likewise.
64981         [$(subdir) = elf && $(config-cflags-avx) = yes]
64982         (CFLAGS-tst-auditmod4b.c): Likewise.
64983         [$(subdir) = elf && $(config-cflags-avx) = yes]
64984         (CFLAGS-tst-auditmod6b.c): Likewise.
64985         [$(subdir) = elf && $(config-cflags-avx) = yes]
64986         (CFLAGS-tst-auditmod6c.c): Likewise.
64987         [$(subdir) = elf && $(config-cflags-avx) = yes]
64988         (CFLAGS-tst-auditmod7b.c): Likewise.
64989         * elf/tst-audit3.c: Move to ...
64990         * sysdeps/x86_64/tst-audit3.c: ... here.
64991         * elf/tst-audit4.c: Move to ...
64992         * sysdeps/x86_64/tst-audit4.c: ... here.
64993         * elf/tst-audit5.c: Move to ...
64994         * sysdeps/x86_64/tst-audit5.c: ... here.
64995         * elf/tst-audit6.c: Move to ...
64996         * sysdeps/x86_64/tst-audit6.c: ... here.
64997         * elf/tst-audit7.c: Move to ...
64998         * sysdeps/x86_64/tst-audit7.c: ... here.
64999         * elf/tst-auditmod3a.c: Move to ...
65000         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
65001         * elf/tst-auditmod3b.c: Move to ...
65002         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
65003         * elf/tst-auditmod4a.c: Move to ...
65004         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
65005         * elf/tst-auditmod4b.c: Move to ...
65006         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
65007         * elf/tst-auditmod5a.c: Move to ...
65008         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
65009         * elf/tst-auditmod5b.c: Move to ...
65010         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
65011         * elf/tst-auditmod6a.c: Move to ...
65012         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
65013         * elf/tst-auditmod6b.c: Move to ...
65014         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
65015         * elf/tst-auditmod6c.c: Move to ...
65016         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
65017         * elf/tst-auditmod7a.c: Move to ...
65018         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
65019         * elf/tst-auditmod7b.c: Move to ...
65020         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
65022 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
65024         [BZ #15366]
65025         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
65026         define unconditionally.
65027         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
65028         define unconditionally.
65029         (INT8_C, INT16_C, etc.): Likewise.
65031 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
65033         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
65034         __ehdr_start with hidden visibility.
65036         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
65038 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
65040         * math/libm-test.inc (cos_test): Use accurate hex constants.
65041         (sincost_test): Likewise.
65043 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
65045         * math/libm-test.inc (catan_test): Add more tests.
65046         (catanh_test): Likewise.
65048         * math/s_catanf.c (__catanf): Use suffixed floating-point
65049         constants.
65050         * math/s_catanhf.c (__catanhf): Likewise.
65051         * math/s_catanhl.c (__catanhl): Likewise.
65052         * math/s_catanl.c (__catanl): Likewise.
65054         [BZ #15394]
65055         * math/s_catan.c (__catan): Calculate imaginary part of result
65056         with log1p not log unless computing log of number close to 0.
65057         * math/s_catanf.c (__catanf): Likewise.
65058         * math/s_catanl.c (__catanl): Likewise.
65059         * math/s_catanh.c (__catanh): Calculate real part of result with
65060         log1p not log unless computing log of number close to 0.
65061         * math/s_catanhf.c (__catanhf): Likewise.
65062         * math/s_catanhl.c (__catanhl): Likewise.
65063         * math/libm-test.inc (catan_test): Add more tests.
65064         (catanh_test): Likewise.
65065         * sysdeps/i386/fpu/libm-test-ulps: Update.
65066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65068 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
65070         * benchtests/Makefile: Mention files in which fast and slow
65071         paths of math functions are implemented.
65073 2013-04-23  Roland McGrath  <roland@hack.frob.com>
65075         * sysdeps/posix/timespec_get.c: New file.
65077 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65079         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
65080         POWER.
65081         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
65082         for POWER.
65083         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
65084         powerpc/power5/fpu folders.
65085         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
65086         * benchtests/Makefile: Add modf testcase.
65087         * benchtests/bench-modf.c: New file: Benchmark test for mo
65089 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
65091         [BZ #14888]
65092         * time/Makefile (tests): Add tst-strptime-whitespace.
65093         * time/strptime_l.c (get_number): Use ISSPACE.
65094         (__strptime_internal): Likewise.
65095         * time/tst-strptime-whitespace.c: New test case.
65097 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
65099         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
65100         member.
65101         (_nss_files_init): Set it here.
65103 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
65105         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
65106         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
65107         unsigned.
65109 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
65111         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
65113 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65115         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
65116         size just once.
65118 2013-04-21  David S. Miller  <davem@davemloft.net>
65120         * po/ru.po: Update Russion translation from translation project.
65122 2013-04-17  Adam Conrad  <adconrad@0c3.net>
65124         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
65125         and setfsgid.
65127 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
65129         * configure.in: Remove i386 configure warning. Remove i386 case.
65130         * configure: Regenerate.
65131         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65132         Add example to error message.
65133         * sysdeps/i386/configure: Regenerate.
65135 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65137         * benchtests/Makefile (bench): Add cos, tan, slowcos and
65138         slowtan.
65139         * benchtests/cos-inputs: New file.
65140         * benchtests/slowcos-inputs: New file.
65141         * benchtests/slowcos.c: New file.
65142         * benchtests/slowtan-inputs: New file.
65143         * benchtests/slowtan.c: New file.
65144         * benchtests/tan-inputs: New file.
65146 2013-04-16  Roland McGrath  <roland@hack.frob.com>
65148         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
65149         considered kosher.
65151 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65153         * benchtests/Makefile: Include cppflags-iterator.mk to add
65154         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65156         * Makefile.in (bench-clean): New target.
65157         * benchtests/Makefile (bench-clean): Likewise.
65159 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
65161         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65163 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
65165         * stdio-common/tstdiomisc.c: Fix coding-style violation.
65167 2013-04-15  Andreas Schwab  <schwab@suse.de>
65169         * nscd/grpcache.c (cache_addgr): Properly check for short write.
65170         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65171         * nscd/pwdcache.c (cache_addpw): Likewise.
65172         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
65173         more than recsize.
65175 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65177         * benchtests/Makefile (bench): Write all output to
65178         bench-out.tmp together.
65180 2013-04-15  Andreas Schwab  <schwab@suse.de>
65182         * nscd/nscd.c (main): Don't fork again after closing files.
65184 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65186         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65188         * benchtests/Rules (bench-deps): Collect dependencies into a
65189         single variable.  Add Makefile to dependencies.
65190         ($(objpfx)bench-%.c): Depend on bench-deps.
65192 2013-04-12  Roland McGrath  <roland@hack.frob.com>
65193             Xavier Roche  <roche+kml2@exalead.com>
65195         [BZ #15361]
65196         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65197         just that it's a file descriptor.
65198         * manual/llio.texi (Synchronizing AIO Operations): Update description
65199         for EBADF error from aio_fsync.
65201 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65203         * Rules (bench): Move target definition...
65204         * benchtests/Makefile: ... here.
65206 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
65208         * math/libm-test.inc (cos_test): Fix PI/2 test.
65209         (sincos_test): Likewise.
65210         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65211         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65213 2013-04-11  Andreas Schwab  <schwab@suse.de>
65215         [BZ #13988]
65216         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65217         accept exponent character only when digits were seen.
65218         * stdio-common/Makefile (tests): Add bug26.
65219         * stdio-common/bug26.c: New file.
65221         [BZ #14293]
65222         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65223         non-freeable.
65225 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65227         * Makeconfig (rtld-prefix): Define built linker prefix.
65228         * Rules (run-bench): Use it.
65229         * math/Makefile (run-regen-ulps): Likewise.
65231         * Rules (bench): Remove eval.
65233 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65234             Roland McGrath  <roland@hack.frob.com>
65235             Ondrej Bilka  <neleai@seznam.cz>
65237         [BZ #15346]
65238         * time/getdate.c: Include ctype.h and alloca.h.
65239         (__getdate_r): Trim leading and trailing spaces of input.
65240         * time/tst-getdate.c (tests): Add tests with leading and
65241         trailing spaces.
65243 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65245         [BZ #14280]
65246         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65247         when computing value.
65249 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65251         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65252         Use testrun.sh to run libm tests.
65254         [BZ #15309]
65255         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65257 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65259         [BZ #15264]
65260         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65262 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65264         * Makefile.in (regen-ulps): New target.
65265         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65266         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65267         [ifneq (no,$(PERL)] (regen-ulps): New target.
65268         [ifeq (no,$(PERL)] (regen-ulps): New target.
65269         * math/libm-test.inc (ulps_file_name): Define.
65270         (output_dir): New variable.
65271         (options): Add "output-dir" option.
65272         (parse_opt): Handle 'o' case.
65273         (main): If output_dir is non-NULL use it as a prefix
65274         otherwise use "".
65275         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65277 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65279         [BZ #10060, #10062]
65280         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65281         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65282         fail configure if __sync_val_compare_and_swap is not inlined.
65283         * sysdeps/i386/configure: Regenerate.
65284         * configure.in: Build for i686 when configured for i386.
65285         * configure: Regenerate.
65286         * README: Remove i386 reference.
65288 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65290         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65291         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65293 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65295         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65296         (lmsnanval): New variables.
65297         (F): Add conversion tests.
65298         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65299         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65301         * stdio-common/tstdiomisc.c (F): Properly collect individual
65302         tests' results.
65304         [BZ #14686, #15336]
65305         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65306         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65307         Instead, use input NaN values or generate a qNaN by arithmetic
65308         operation.  Also fix bugs to comply with the standard.
65309         * math/libm-test.inc (remainder_test): Add more tests.
65311         [BZ #15335, #15342]
65312         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65313         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65314         input NaN values or generate a qNaN by arithmetic operation.
65316         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65317         unreachable code.
65319         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65320         definitions.
65322 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65324         [BZ #14478]
65325         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65326         underflowed result.
65327         * math/s_cexpf.c (__cexpf): Likewise.
65328         * math/s_cexpl.c (__cexpl): Likewise.
65329         * math/libm-test.inc (cexp_test): Add more tests.
65331 2013-04-03  Andreas Schwab  <schwab@suse.de>
65333         [BZ #15330]
65334         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65335         order arrays from heap if bigger than alloca cutoff.
65337 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65339         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65340         (SNAN_TESTS_double): Refer to GCC PR56831.
65341         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65342         GCC PR56828.
65344 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65346         * Rules (bench): Move bench.out after the run is complete.
65348         * Rules (bench): Echo currently running benchmark.
65350         * benchtests/Makefile (bench): Add atan and slowatan.
65351         * benchtests/atan-inputs: New file.
65352         * benchtests/slowatan-inputs: New file.
65353         * benchtests/slowatan.c: New file.
65355         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65356         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65357         its value.
65359         [BZ #15305]
65360         * sysdeps/unix/sysv/linux/kernel-features.h
65361         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65362         __ASSUME_XFS_RESTRICTED_CHOWN.
65363         * sysdeps/unix/sysv/linux/pathconf.c
65364         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65365         Save and restore errno.
65367 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
65369         [BZ #15327]
65370         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65371         arguments using __kernel_casinh.
65372         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65373         arguments using __kernel_casinhf.
65374         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65375         arguments using __kernel_casinhl.
65376         * math/libm-test.inc (cacosh_test): Add more tests.
65377         * sysdeps/i386/fpu/libm-test-ulps: Update.
65378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65380 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65382         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65383         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65385         * bench/Makefile (bench): Add sin and slowsin.
65386         * benchtests/sin-inputs: New file.
65387         * benchtests/slowsin-inputs: New file.
65388         * benchtests/slowsin.c: New file.
65390         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65391         (bench): Add slowexp and slowpow.
65392         (exp-ITER): Increase iterations.
65393         (pow-ITER): Likewise.
65394         * benchtests/exp-inputs: Change input.
65395         * benchtests/pow-inputs: Likewise.
65396         * benchtests/slowexp-inputs: New file.
65397         * benchtests/slowexp.c: New file.
65398         * benchtests/slowpow-inputs: New file.
65399         * benchtests/slowpow.c: New file.
65401 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65403         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65404         instructions.
65405         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65406         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65407         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65408         * benchtests/Makefile: Add rint benchtest.
65409         * benchtests/rint-inputs: Input for rint benchtest.
65411 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65413         * Versions.def (libm): Add GLIBC_2.18.
65414         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65415         hidden libm prototypes.
65416         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65417         * math/Makefile (libm-calls): Add s_issignaling.
65418         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65419         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
65420         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65421         declaration.
65422         * math/math.h [__USE_GNU] (issignaling): New macro.
65423         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65424         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65425         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65426         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65427         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65428         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65429         * manual/arith.texi (issignaling): New section.
65430         * manual/libm-err-tab.pl (@all_functions): Update comment.
65431         * math/gen-libm-test.pl (parse_args): Apply special handling for
65432         issignaling.
65433         * math/libm-test.inc (print_float, issignaling_test): New
65434         functions.
65435         (check_float_internal): Add issignaling checks.
65436         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65437         default definition.
65438         * sysdeps/powerpc/math-tests.h: New file.
65439         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65440         tests.
65441         * math/test-snan.c (TEST_FUNC): Likewise.
65443 2013-03-30  David S. Miller  <davem@davemloft.net>
65445         * po/de.po: Update from translation team.
65447 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
65449         [BZ #10357]
65450         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65451         imaginary part less than 1.0 and real part less than 0.5
65452         specially.
65453         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65454         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65455         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
65456         (cacos_test): Add more tests.
65457         (casin_test): Likewise.
65458         (casinh_test): Likewise.
65459         * sysdeps/i386/fpu/libm-test-ulps: Update.
65460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65462 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65464         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
65465         ONE with its value.
65467         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
65468         (__pow_mp): Replace ONE and MONE with their values.
65469         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65470         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
65471         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65472         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
65473         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65474         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65476         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
65478         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
65479         (__pow_mp): Replace ZERO and MZERO with their values.
65480         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65481         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65482         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65483         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65484         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65485         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
65486         (__sqr): Likewise.
65488         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
65490         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
65492 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65494         * include/stdlib.h [!SHARED] (__call_tls_dtors):
65495         Declare with __attribute__ ((weak)).
65496         * stdlib/exit.c (__libc_atexit) [!SHARED]:
65497         Call __call_tls_dtors only if it's not NULL.
65499 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65501         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
65502         didn't do it already, then set _dl_phdr and _dl_phnum based on the
65503         magic __ehdr_start linker symbol if it's defined.
65504         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
65505         them up here if it was already done.
65507         * elf/dl-support.c (_dl_phdr): Make pointer to const.
65508         (_dl_aux_init): Use const in cast when setting it.
65509         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
65510         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65511         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
65513         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
65514         Declare them here.
65515         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
65516         * csu/libc-tls.c: Nor here.
65517         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
65519         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
65520         (__libc_message): Never call vsyslog.
65522 2013-03-28  Alan Modra  <amodra@gmail.com>
65524         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
65525         Define as empty.
65526         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
65527         Likewise.
65529 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65531         [BZ #15214]
65532         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
65533         underflow.
65534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65536 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65538         [BZ #15304]
65539         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
65540         Don't add gid passed as argument.
65542         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
65544 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
65546         [BZ #15307]
65547         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65548         imaginary part between 1.0 and 1.5 and real part less than 0.5
65549         specially.
65550         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65551         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65552         * math/libm-test.inc (cacos_test): Add more tests.
65553         (casin_test): Likewise.
65554         (casinh_test): Likewise.
65555         * sysdeps/i386/fpu/libm-test-ulps: Update.
65556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65558 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65560         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
65561         constants.
65562         (norm): Likewise.
65563         (denorm): Likewise.
65564         (__dbl_mp): Likewise.
65565         (add_magnitudes): Likewise.
65566         (sub_magnitudes): Likewise.
65567         (__add): Likewise.
65568         (__sub): Likewise.
65569         (__mul): Likewise.
65570         (__sqr): Likewise.
65571         (__inv): Likewise.
65572         (__dvd): Likewise.
65574         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
65575         commented code.
65576         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
65577         (__dubcos): Likewise.
65578         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
65579         (__ieee754_acos): Likewise.
65580         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65581         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
65582         (__exp1): Likewise.
65583         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65584         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65585         (log1): Likewise.
65586         (my_log2): Likewise.
65587         (checkint): Likewise.
65588         * sysdeps/ieee754/dbl-64/e_remainder.c
65589         (__ieee754_remainder): Likewise.
65590         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65591         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
65592         (bsloww): Likewise.
65593         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65595         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65596         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
65597         MANTISSA_STORE_T to store computations on mantissa.  Use
65598         macros for rounding and division.
65599         (denorm): Likewise.
65600         (__dbl_mp): Likewise.
65601         (add_magnitudes): Likewise.
65602         (sub_magnitudes): Likewise.
65603         (__mul): Likewise.
65604         (__sqr): Likewise.
65605         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65606         powers of two in terms of TWOPOW macro.
65607         (mp_no): Make type of mantissa as MANTISSA_T.
65608         [!RADIXI]: Define RADIXI.
65609         [!TWO52]: Define TWO52.
65610         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65612 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65614         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
65615         llroundl symbol when building for PPC32.
65617 2013-03-24  Mark H Weaver  <mhw@netris.org>
65619         * manual/arith.texi (Normalization Functions): Fix prototypes for
65620         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
65622 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65624         [BZ #13889]
65625         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
65626         high value to check if expl overflow.
65627         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
65628         to check for underflow and overflow.
65629         * math/libm-test.inc: Add exp test.
65631 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
65633         [BZ #11120]
65634         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
65635         with NOT_IN_libc.
65637 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65639         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
65640         symbol.
65642 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65644         * math/gen-libm-test.pl (parse_args, special_functions): Properly
65645         wrap blocks consisting of several statements.
65647         * sysdeps/generic/math-tests.h: New file.
65648         * sysdeps/i386/fpu/math-tests.h: Likewise.
65649         * math/test-snan.c: Include it.
65650         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
65652 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65654         [BZ #15285]
65655         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
65656         (__ieee754_j0l): Do not improve calculations using cos of twice
65657         input for inputs above LDBL_MAX / 2.0L.
65658         (__ieee754_y0l): Likewise.
65659         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
65660         (__ieee754_j1l): Do not improve calculations using cos of twice
65661         input for inputs above LDBL_MAX / 2.0L.
65662         (__ieee754_y1l): Likewise.
65663         * math/libm-test.inc (j0_test): Add another test.
65664         (j1_test): Likewise.
65665         (y0_test): Likewise.
65666         (y1_test): Likewise.
65667         * sysdeps/i386/fpu/libm-test-ulps: Update.
65669 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65671         * Rules ($(objpfx)bench-%.c): Include code from a C source
65672         file.
65674 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65676         [BZ #15287]
65677         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65678         imaginary part 1.0 and real part less than 0.5 specially.
65679         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65680         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65681         * math/libm-test.inc (cacos_test): Add more tests.
65682         (casin_test): Likewise.
65683         (casinh_test): Likewise.
65684         * sysdeps/i386/fpu/libm-test-ulps: Update.
65685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65687 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65689         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
65690         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
65692 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
65694         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
65695         * config.make.in (config-cflags-sse4): Remove variable.
65696         (config-cflags-avx): Likewise.
65697         (config-cflags-sse2avx): Likewise.
65698         (config-cflags-novzeroupper): Likewise.
65699         (config-asflags-i686): Likewise.
65700         (have-mfma4): Likewise.
65701         (have-as-vis3): Likewise.
65702         (MIG): Likewise.
65703         * configure.in (MIG): Do not AC_SUBST.
65704         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
65705         (libc_cv_cc_sse4): Do not AC_SUBST.
65706         (libc_cv_cc_avx): Likewise.
65707         (libc_cv_cc_sse2avx): Likewise.
65708         (libc_cv_cc_novzeroupper): Likewise.
65709         (libc_cv_cc_fma4): Likewise.
65710         (libc_cv_as_i686): Likewise.
65711         (libc_cv_sparc_as_vis3): Likewise.
65712         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
65713         LIBC_CONFIG_VAR.
65714         (config-asflags-i686): Likewise.
65715         (config-cflags-avx): Likewise.
65716         (config-cflags-sse2avx): Likewise.
65717         (have-mfma4): Likewise.
65718         (config-cflags-novzeroupper): Likewise.
65719         * sysdeps/mach/configure.in (MIG): Likewise.
65720         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
65721         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
65722         LIBC_CONFIG_VAR.
65723         (config-cflags-avx): Likewise.
65724         (config-cflags-sse2avx): Likewise.
65725         (have-mfma4): Likewise.
65726         (config-cflags-novzeroupper): Likewise.
65727         * configure: Regenerated.
65728         * sysdeps/i386/configure: Likewise.
65729         * sysdeps/mach/configure: Likewise.
65730         * sysdeps/sparc/configure: Likewise.
65731         * sysdeps/x86_64/configure: Likewise.
65733 2013-03-20  Roland McGrath  <roland@hack.frob.com>
65735         [BZ #14812]
65736         * locale/programs/localedef.c (options): Put N_ translation marker
65737         on argument names, not just descriptions.
65739 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65741         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
65743 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
65745         [BZ #14176]
65746         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
65748 2013-03-19  Roland McGrath  <roland@hack.frob.com>
65750         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
65751         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
65752         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
65753         [!BEFORE_ABORT] (before_abort): New function.
65754         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
65755         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
65756         (writev_for_fatal): New function.
65757         (WRITEV_FOR_FATAL): New macro; call that.
65758         (backtrace_and_maps): New function.
65759         (BEFORE_ABORT): New macro; call that.
65760         (struct str_list): Type removed.
65761         (__libc_message, __libc_fatal): Functions removed.
65762         Include <sysdeps/posix/libc_fatal.c> instead.
65764 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
65766         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
65767         constants.
65768         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
65769         double constants.
65771 2013-03-19  Andreas Schwab  <schwab@suse.de>
65773         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
65774         * sysdeps/gnu/configure: Regenerate.
65776         * configure.in: Substitute libc_cv_rtlddir.
65777         * configure: Regenerate.
65778         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65779         * Makeconfig (rtlddir, inst_rtlddir): New variables.
65780         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65781         * elf/Makefile (install-others, CFLAGS-interp.c)
65782         (ldso_install, common-ldd-rewrite): Likewise.
65783         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65784         $(inst_slibdir)/$(rtld-installed-name).
65785         * scripts/rellns-sh: Add -p option.
65786         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65787         for source.
65789 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65791         * manual/nptl.texi: Renamed to ...
65792         * manual/threads.texi: ... this.
65793         * manual/Makefile (chapters): Update.
65795 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65797         [BZ #14812]
65798         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65799         on argument names, not just descriptions.
65800         * malloc/memusagestat.c (options): Likewise.
65801         * nss/getent.c (options): Likewise.
65803 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65805         [BZ #14812]
65806         * iconv/iconv_prog.c (options): Put N_ translation marker
65807         on argument names, not just descriptions.
65808         * iconv/iconvconfig.c (options): Likewise.
65810 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65812         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65813         implementation which is faster on all x86_64 architectures.
65814         Tested on AMD, Intel Nehalem, SNB, IVB.
65815         * sysdeps/x86_64/strnlen.S: Likewise.
65817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65818         Remove all multiarch strlen and strnlen versions.
65819         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65820         Remove strlen and strnlen related parts.
65822         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65823         Inline strlen part.
65824         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65826         * sysdeps/x86_64/multiarch/strlen.S: Remove.
65827         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65828         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65829         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65830         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65831         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65833 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
65835         * manual/memory.texi (Malloc Tunable Parameters):
65836         Sort parameters alphabetically. Add comments for missing entries.
65838 2013-03-17  David S. Miller  <davem@davemloft.net>
65840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65842 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
65844         [BZ #15283]
65845         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
65846         for arguments at most half maximum finite value.
65847         * math/libm-test.inc (j0_test): Add more tests.
65848         (j1_test): Likewise.
65849         (y0_test): Likewise.
65850         (y1_test): Likewise.
65851         * sysdeps/i386/fpu/libm-test-ulps: Update.
65852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65854         [BZ #14155]
65855         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
65856         1 / x and functions P and Q for arguments above 0x1p256L.
65857         (__ieee754_y0l): Likewise.
65858         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
65859         (__ieee754_y1l): Likewise.
65860         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
65861         (j1_test): Likewise.
65862         (y0_test): Likewise.
65863         (y1_test): Likewise.
65865 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
65867         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
65868         variable.
65870 2013-03-15  Roland McGrath  <roland@hack.frob.com>
65872         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
65873         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
65874         zero since it's initialized to EXEC_PAGESIZE.
65876         * sysdeps/unix/sysv/linux/ldsodefs.h
65877         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
65878         * sysdeps/generic/ldsodefs.h: ... here.
65880 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
65882         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
65884         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
65885         math/test-snan.c.
65886         * math/test-snan.c: Renamed from
65887         sysdeps/powerpc/fpu/test-powerpc-snan.c.
65888         * math/Makefile (tests): Add test-snan.
65889         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
65890         test-powerpc-snan.
65892         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
65893         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
65894         functions.
65895         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
65896         __builtin_nan family of functions.
65897         * math/libm-test.inc (initialize): Initialize qnan_value with
65898         __builtin_nan family of functions.
65899         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
65900         Remove variables.
65901         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
65902         Remove functions.
65903         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
65904         storage class.  Initialize qNaN_var and sNaN_var with
65905         __builtin_nan and __builtin_nans families of functions,
65906         respectively.
65908         * math/libm-test.inc (acosh_test): Also test with qNaN input.
65909         (sqrt_test): Remove duplicate test with qNaN input.
65910         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
65911         (round_test, signbit_test, significand_test): Note missing +/-Inf
65912         as well as qNaN tests.
65914         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
65915         qNaN_var.  Fix a few strings, too.
65916         * math/libm-test.inc (nan_value): Rename to qnan_value.
65917         * math/gen-libm-test.pl (%beautify): Adjust to that.
65918         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
65919         * math/test-misc.c (main): Likewise.
65920         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
65921         to __qnan_bytes, and __qnan_union, respectively.
65922         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
65923         Likewise.
65924         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
65925         and lqnanval, respectively.
65926         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
65927         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
65928         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
65929         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
65931         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
65932         * math/test-misc.c (main) [__x86_64__]: Enable test for long
65933         doubles.
65935         * math/test-misc.c (main): Fix copy'n'pastos.
65936         * misc/tst-efgcvt.c (special): Likewise.
65938         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
65939         Remove declarations.
65941 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65943         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
65944         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
65945         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
65946         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
65948 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65950         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
65951         macro to return vdso values correctly in IFUNC implementations.
65952         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
65953         Optimization by using IFUNC.
65955 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65956             Richard Henderson  <rth@redhat.com>
65957             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65959         * Makefile.in (bench): New target.
65960         * NEWS: Mention the benchmark framework.
65961         * Rules (bench): Likewise.
65962         (binaries-bench): Generate binaries for functions to
65963         benchmark.
65964         * benchtests/Makefile: New makefile for benchmark tests.
65965         * benchtests/bench-skeleton.c: New skeleton file for benchmark
65966         programs.
65967         * benchtests/exp-inputs: New input file for EXP function.
65968         * benchtests/pow-inputs: New input file for POW function.
65969         * scripts/bench.pl: New script to generate source files for
65970         benchmark programs.
65972 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65974         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65975         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
65976         computations on mantissa.  Use macros for rounding and
65977         division.
65978         (denorm): Likewise.
65979         (__dbl_mp): Likewise.
65980         (add_magnitudes): Likewise.
65981         (sub_magnitudes): Likewise.
65982         (__mul): Likewise.
65983         (__sqr): Likewise.
65984         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65985         powers of two in terms of TWOPOW macro.
65986         (mp_no): Make type of mantissa as MANTISSA_T.
65987         [!RADIXI]: Define RADIXI.
65988         [!TWO52]: Define TWO52.
65989         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65991         * manual/nptl.texi (cindex): Modify threads to pthreads.
65993 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
65995         * sysdeps/x86_64/preconfigure: Regenerated.
65997 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
65999         [BZ #14155]
66000         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
66001         0x1p28 and above.
66002         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
66003         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
66004         0x1p28 and above.
66005         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66006         * math/libm-test.inc (j0_test): Do not allow one spurious
66007         underflow exception.
66008         (y1_test): Likewise.
66010 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66012         * manual/Makefile (chapters): Add nptl.
66013         * manual/debug.texi (Debugging Support): Add link to Threads
66014         chapter.
66015         * manual/nptl.texi: New file.
66017         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
66019 2013-03-14  Petr Baudis  <pasky@ucw.cz>
66021         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
66022         for non-NULL pointer before the memory validity test. Pointed
66023         out by Holger Brunck <holger.brunck@keymile.com>.
66025 2013-03-13  Andreas Schwab  <schwab@suse.de>
66027         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
66028         instead of .os.
66030 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
66032         * timezone/zic.c: Update from tzcode 2013b.
66034 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
66036         * manual/install.texi (Configuring and compiling):
66037         Mention i686 and i586.
66038         * INSTALL: Regenerate.
66040 2013-03-12  Roland McGrath  <roland@hack.frob.com>
66042         * sysdeps/init_array/elf-init.c: New file.
66043         * csu/elf-init.c
66044         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
66045         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
66047         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
66048         __gmon_start__ as global, but as static with a .preinit_array pointer.
66049         * sysdeps/init_array/gmon-start.c: New file.  Use that.
66050         * sysdeps/init_array/crti.S: New file, empty except for comments.
66051         * sysdeps/init_array/crtn.S: Likewise.
66053 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
66055         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
66056         definining bcopy.
66057         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66058         Remove Prefer_SSE_for_memop.
66059         * sysdeps/x86_64/multiarch/init-arch.h: Remove
66060         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
66061         HAS_PREFER_SSE_FOR_MEMOP.
66062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
66063         memset-x86-64.
66064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66065         Remove bzero, memset ifunc support.
66066         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
66067         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
66068         * sysdeps/x86_64/multiarch/memset.S: Likewise.
66069         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66071 2013-03-11  Andreas Schwab  <schwab@suse.de>
66073         [BZ #15234]
66074         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
66075         by SHLIB_COMPAT.
66076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
66077         (GLIBC_2.16): Remove pthread_atfork.
66079 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
66081         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
66082         (ptestcases.h): Likewise.
66084 2013-03-08  Roland McGrath  <roland@hack.frob.com>
66086         * Makeconfig ($(common-objpfx)config.status): Depend on
66087         sysdeps/*/preconfigure{,.in} too.
66089 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
66091         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
66092         (__free_hook): Use void * instead of __malloc_ptr_t.
66093         (__malloc_hook): Likewise.
66094         (__realloc_hook): Likewise.
66095         (__memalign_hook): Likewise.
66096         (__after_morecore_hook): Likewise.
66097         * malloc/arena.c (save_malloc_hook): Likewise.
66098         (save_free_hook): Likewise.
66099         * malloc/hooks.c (malloc_hook_ini): Likewise.
66100         (realloc_hook_ini): Likewise.
66101         (memalign_hook_ini): Likewise.
66102         * malloc/malloc.c (malloc_hook_ini): Likewise.
66103         (realloc_hook_ini): Likewise.
66104         (memalign_hook_ini): Likewise.
66105         (__free_hook): Likewise.
66106         (__malloc_hook): Likewise.
66107         (__realloc_hook): Likewise.
66108         (__memalign_hook): Likewise.
66109         (__libc_malloc): Likewise.
66110         (__libc_free): Likewise.
66111         (__libc_realloc): Likewise.
66112         (__libc_memalign): Likewise.
66113         (__libc_valloc): Likewise.
66114         (__libc_pvalloc): Likewise.
66115         (__libc_calloc): Likewise.
66116         (__posix_memalign): Likewise.
66117         * malloc/morecore.c (__sbrk): Likewise.
66118         (__default_morecore): Likewise.
66120         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
66122         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
66123         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
66124         __malloc_ptrdiff_t.
66126         * malloc/malloc.h (__malloc_size_t): Remove macro.
66127         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
66128         __malloc_size_t.
66129         (old_memalign_hook): Likewise.
66130         (old_realloc_hook): Likewise.
66131         (struct hdr): Likewise.
66132         (flood): Likewise.
66133         (mallochook): Likewise.
66134         (memalignhook): Likewise.
66135         (reallochook): Likewise.
66136         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
66137         (tr_old_realloc_hook): Likewise.
66138         (tr_old_memalign_hook): Likewise.
66139         (tr_mallochook): Likewise.
66140         (tr_reallochook): Likewise.
66141         (tr_memalignhook): Likewise.
66143 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66145         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
66146         default_ldbl_pack and using as default implementation.
66147         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
66148         implementation.
66149         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
66150         redundant definition.
66151         (ldbl_insert_mantissa): Likewise.
66152         (ldbl_canonicalize): Likewise.
66153         (ldbl_nearbyint): Likewise.
66154         (ldbl_pack): Rename to ldbl_pack_ppc.
66155         (ldbl_unpack): Rename to ldbl_unpack_ppc.
66156         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66157         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66159 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66162         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66163         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66164         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66166         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66167         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66168         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66170 2013-03-07  Andreas Jaeger  <aj@suse.de>
66172         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66173         bits/mman-linux.h.
66175 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66177         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66178         Include mpa.h and declare __MPEXP.
66179         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66180         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66181         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66182         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66183         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66184         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66185         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66187         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66188         (__slowpow): Use long double EXPL and LOGL functions to
66189         compute POW.
66190         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66191         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66192         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66193         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66194         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66195         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66198         intermediate variable to calculate exponent.
66199         (__sqr): Likewise.
66200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66201         Likewise.
66202         (__sqr): Likewise.
66204         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66205         [!NO__SQR]: Define __sqr.
66206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66207         and NO__SQR.  Remove all code except __mul and __sqr.  Include
66208         sysdeps/ieee754/dbl-64/mpa.c.
66209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66211         [BZ #12723]
66212         * posix/Makefile (tests): Add tst-pathconf.
66213         * posix/tst-pathconf.c: New test case.
66214         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66215         _PC_PIPE_BUF.
66216         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66218 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66220         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66222 2013-03-06  Andreas Jaeger  <aj@suse.de>
66224         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66225         definition via __MAP_ANONYMOUS.
66227         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66228         it's not part of Linux headers.
66230         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66231         (MAP_HUGE_MASK): Define.
66233         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66234         Define.
66235         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66236         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66237         Define.
66238         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66239         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66240         Define.
66241         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66242         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66243         Define.
66244         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66246         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66247         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66248         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66249         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66250         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66251         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66253         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66254         Handle f2fs.
66256         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66257         Handle f2fs and efivarfs.
66259         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66260         f2fs.
66262         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66263         (EFIVARFS_MAGIC): Add.
66264         (F2FS_LINK_MAX): Add.
66266 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66268         * stdio-common/vfprintf.c: Replace __builtin_expect with
66269         __glibc_unlikely.
66271 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66273         [BZ #13550]
66274         * sysdeps/generic/bp-sym.h: Remove file.
66275         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66276         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66277         <bp-sym.h> and <bp-asm.h>.
66278         (__longjmp): Don't use BP_SYM.
66279         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66280         and <bp-asm.h>.
66281         (memcpy): Don't use BP_SYM.
66282         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66283         <bp-sym.h> and <bp-asm.h>.
66284         (memcpy): Don't use BP_SYM.
66285         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66286         <bp-asm.h>.
66287         (memcpy): Don't use BP_SYM.
66288         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66289         <bp-asm.h>.
66290         (memset): Don't use BP_SYM.
66291         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66292         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66293         (__bzero): Don't use BP_SYM.
66294         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66295         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66296         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66297         <bp-sym.h> and <bp-asm.h>.
66298         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66299         pointers.
66300         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66301         <bp-sym.h> and <bp-asm.h>.
66302         (memcpy): Don't use BP_SYM.
66303         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66304         <bp-sym.h> and <bp-asm.h>.
66305         (memset): Don't use BP_SYM.
66306         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66307         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66308         (__bzero): Don't use BP_SYM.
66309         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66310         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66311         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66312         <bp-sym.h> and <bp-asm.h>.
66313         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66314         pointers.
66315         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66316         <bp-sym.h> and <bp-asm.h>.
66317         (memcpy): Don't use BP_SYM.
66318         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66319         <bp-sym.h> and <bp-asm.h>.
66320         (memset): Don't use BP_SYM.
66321         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66322         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66323         (__bzero): Don't use BP_SYM.
66324         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66325         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66326         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66327         <bp-sym.h> and <bp-asm.h>.
66328         (__memchr): Don't use BP_SYM.
66329         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66330         <bp-sym.h> and <bp-asm.h>.
66331         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66332         pointers.
66333         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66334         <bp-sym.h> and <bp-asm.h>.
66335         (memcpy): Don't use BP_SYM.
66336         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66337         <bp-sym.h> and <bp-asm.h>.
66338         (__mempcpy): Don't use BP_SYM.
66339         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66340         <bp-sym.h> and <bp-asm.h>.
66341         (__memrchr): Don't use BP_SYM.
66342         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66343         <bp-sym.h> and <bp-asm.h>.
66344         (memset): Don't use BP_SYM.
66345         (__bzero): Likewise.
66346         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66347         <bp-sym.h> and <bp-asm.h>.
66348         (__rawmemchr): Don't use BP_SYM.
66349         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66350         <bp-sym.h> and <bp-asm.h>.
66351         (__STRCMP): Don't use BP_SYM.
66352         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66353         <bp-sym.h> and <bp-asm.h>.
66354         (strchr): Don't use BP_SYM.
66355         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66356         <bp-sym.h> and <bp-asm.h>.
66357         (__strchrnul): Don't use BP_SYM.
66358         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66359         <bp-sym.h> and <bp-asm.h>.
66360         (strlen): Don't use BP_SYM.
66361         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66362         <bp-sym.h> and <bp-asm.h>.
66363         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66364         pointers.
66365         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66366         <bp-sym.h> and <bp-asm.h>.
66367         (__strnlen): Don't use BP_SYM.
66368         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66369         <bp-sym.h> and <bp-asm.h>.
66370         (__GI__setjmp): Don't use BP_SYM.
66371         (_setjmp): Likewise.
66372         (__sigsetjmp): Likewise.
66373         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66374         (L(start_addresses)): Don't use BP_SYM.
66375         (_start): Likewise.
66376         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66377         <bp-asm.h>.
66378         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66379         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66380         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66381         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66382         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66383         <bp-asm.h>.
66384         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66385         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
66386         about bounded pointers.
66387         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66388         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66389         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66390         <bp-asm.h>.
66391         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66392         about bounded pointers.  Remove GKM FIXME comments.
66393         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66394         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66395         <bp-asm.h>.
66396         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66397         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
66398         Remove GKM FIXME comments.
66399         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66400         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66401         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66402         <bp-asm.h>.
66403         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66404         about bounded pointers.  Remove GKM FIXME comment.
66405         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66406         and <bp-asm.h>.
66407         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66408         pointers.
66409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66410         <bp-sym.h> and <bp-asm.h>.
66411         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66413         <bp-sym.h> and <bp-asm.h>.
66414         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66415         comment.
66417 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66419         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66420         call free(NULL).
66422 2013-03-05  David S. Miller  <davem@davemloft.net>
66424         * po/es.po: Update from translation team.
66426 2013-03-05  Andreas Jaeger  <aj@suse.de>
66428         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66429         <bits/mman-linux.h>.
66430         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66431         is fine.
66432         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66433         <bits/mman-linux.h> to end of file.
66434         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66435         is fine.
66436         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66437         <bits/mman-linux.h> to end of file.
66438         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66439         is fine.
66440         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66441         <bits/mman-linux.h> to end of file.
66443         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
66444         (MCL_CURRENT, MCL_FUTURE): Define here.
66446 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66448         [BZ #15232]
66449         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
66450         attribute_hidden.
66451         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66453 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66455         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
66456         fourth parameter needed for rt_sigprocmask syscall.
66457         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
66458         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66459         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
66460         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66461         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66462         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
66464 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
66466         [BZ #13550]
66467         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
66468         comment about bounded pointers.
66469         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
66470         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
66472 2013-03-04  Andreas Jaeger  <aj@suse.de>
66474         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
66475         common definitions.
66477         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
66478         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
66479         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
66480         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66481         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66482         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66484 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66486         [BZ #15055]
66487         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66488         __ieee754_sqrl instead of __sqrl.
66490 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
66492         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
66493         * sysdeps/powerpc/fpu_control.h: ... here.
66494         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
66495         * sysdeps/powerpc/bits/fenvinline.h: ... here.
66496         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
66497         * sysdeps/powerpc/bits/mathinline.h: ... here.
66499 2013-03-01  Roland McGrath  <roland@hack.frob.com>
66501         * elf/dl-hwcaps.c (_dl_important_hwcaps):
66502         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
66503         to just [NEED_DL_SYSINFO_DSO].
66504         * elf/dl-support.c: Likewise.
66505         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
66506         * elf/rtld.c (dl_main): Likewise.
66507         * elf/setup-vdso.h (setup_vdso): Likewise.
66508         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
66509         * sysdeps/unix/sysv/linux/dl-sysdep.c
66510         (_dl_discover_osversion): Likewise.
66512 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
66514         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
66515         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66517 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
66519         * NEWS: Mention libm performance improvements and non-x86 PI
66520         futex support.
66522         * csu/libc-start.c (__pthread_initialize_minimal): Change
66523         function arguments.
66524         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66526 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
66528         [BZ #13550]
66529         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
66530         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
66531         <bp-sym.h> and <bp-asm.h>.
66532         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66533         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
66534         and <bp-asm.h>.
66535         (memcpy): Don't use BP_SYM.
66536         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
66537         <bp-asm.h>.
66538         (__mpn_add_n): Don't use BP_SYM.
66539         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
66540         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
66541         and <bp-asm.h>.
66542         (__mpn_addmul_1): Don't use BP_SYM.
66543         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66544         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
66545         <bp-sym.h>.
66546         (_setjmp): Don't use BP_SYM.
66547         (__novmx_setjmp): Likewise.
66548         (__GI__setjmp): Likewise.
66549         (__vmx_setjmp): Likewise.
66550         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
66551         <bp-sym.h>.
66552         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
66553         (__bzero): Don't use BP_SYM.
66554         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66555         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66556         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
66557         <bp-sym.h> and <bp-asm.h>.
66558         (memcpy): Don't use BP_SYM.
66559         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
66560         <bp-sym.h> and <bp-asm.h>.
66561         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66562         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
66563         <bp-sym.h> and <bp-asm.h>.
66564         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66565         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
66566         <bp-asm.h>.
66567         (__mpn_lshift): Don't use BP_SYM.
66568         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66569         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
66570         <bp-asm.h>.
66571         (memset): Don't use BP_SYM.
66572         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66573         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66574         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
66575         <bp-asm.h>.
66576         (__mpn_mul_1): Don't use BP_SYM.
66577         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66578         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
66579         <bp-sym.h> and <bp-asm.h>.
66580         (memcmp): Don't use BP_SYM.
66581         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
66582         <bp-sym.h> and <bp-asm.h>.
66583         (memcpy): Don't use BP_SYM.
66584         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
66585         <bp-sym.h> and <bp-asm.h>.
66586         (memset): Don't use BP_SYM.
66587         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
66588         <bp-sym.h> and <bp-asm.h>.
66589         (strncmp): Don't use BP_SYM.
66590         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
66591         <bp-sym.h> and <bp-asm.h>.
66592         (memcpy): Don't use BP_SYM.
66593         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
66594         <bp-sym.h> and <bp-asm.h>.
66595         (memset): Don't use BP_SYM.
66596         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
66597         <bp-sym.h> and <bp-asm.h>.
66598         (__memchr): Don't use BP_SYM.
66599         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
66600         <bp-sym.h> and <bp-asm.h>.
66601         (memcmp): Don't use BP_SYM.
66602         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
66603         <bp-sym.h> and <bp-asm.h>.
66604         (memcpy): Don't use BP_SYM.
66605         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
66606         <bp-sym.h> and <bp-asm.h>.
66607         (__mempcpy): Don't use BP_SYM.
66608         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
66609         <bp-sym.h> and <bp-asm.h>.
66610         (__memrchr): Don't use BP_SYM.
66611         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
66612         <bp-sym.h> and <bp-asm.h>.
66613         (memset): Don't use BP_SYM.
66614         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
66615         <bp-sym.h> and <bp-asm.h>.
66616         (__rawmemchr): Don't use BP_SYM.
66617         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
66618         <bp-sym.h> and <bp-asm.h>.
66619         (__STRCMP): Don't use BP_SYM.
66620         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
66621         <bp-sym.h> and <bp-asm.h>.
66622         (strchr): Don't use BP_SYM.
66623         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
66624         <bp-sym.h> and <bp-asm.h>.
66625         (__strchrnul): Don't use BP_SYM.
66626         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
66627         <bp-sym.h> and <bp-asm.h>.
66628         (strlen): Don't use BP_SYM.
66629         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
66630         <bp-sym.h> and <bp-asm.h>.
66631         (strncmp): Don't use BP_SYM.
66632         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
66633         <bp-sym.h> and <bp-asm.h>.
66634         (__strnlen): Don't use BP_SYM.
66635         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
66636         <bp-asm.h>.
66637         (__mpn_rshift): Don't use BP_SYM.
66638         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66639         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
66640         <bp-sym.h> and <bp-asm.h>.
66641         (__sigsetjmp): Don't use BP_SYM.
66642         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
66643         (L(start_addresses)): Don't use BP_SYM.
66644         (_start): Likewise.
66645         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
66646         <bp-asm.h>.
66647         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
66648         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66649         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66650         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
66651         <bp-asm.h>.
66652         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
66653         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66654         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66655         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
66656         <bp-asm.h>.
66657         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66658         comments.
66659         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66660         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
66661         <bp-asm.h>.
66662         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
66663         FIXME comments.
66664         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66665         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66666         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
66667         <bp-asm.h>.
66668         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66669         comment.
66670         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
66671         and <bp-asm.h>.
66672         (strncmp): Don't use BP_SYM,
66673         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
66674         <bp-asm.h>.
66675         (__mpn_sub_n): Don't use BP_SYM.
66676         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66677         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
66678         and <bp-asm.h>.
66679         (__mpn_submul_1): Don't use BP_SYM.
66680         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
66682         <bp-sym.h> and <bp-asm.h>.
66683         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
66685         <bp-sym.h> and <bp-asm.h>.
66686         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66687         comment.
66689 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
66692         Use ZK to minimize writes to Z.
66693         (sub_magnitudes): Simplify code a bit.
66694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
66695         Use ZK to minimize writes to Z.
66696         (sub_magnitudes): Simplify code a bit.
66698 2013-02-27  Roland McGrath  <roland@hack.frob.com>
66700         * csu/gmon-start.c: Add special exception to license text.
66702 2013-02-27  Richard Henderson  <rth@redhat.com>
66704         * scripts/config.guess: Update from config.git.
66705         * scripts/config.sub: Likewise.
66707 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66709         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
66711         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
66713         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
66715         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
66717         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
66719 2013-02-26  Roland McGrath  <roland@hack.frob.com>
66721         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
66722         [$(build-shared = yes].
66724 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66726         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
66727         (__mul): Reduce iterations for calculating mantissa.
66729         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
66730         MPTWO.
66731         (__mpranred): Likewise.
66733         [BZ #15160]
66734         * malloc/memusagestat.c (main): Draw graphs for heap and stack
66735         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
66737 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
66739         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
66740         Define __attribute__.
66742 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66744         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
66745         unused.
66746         * posix/regex_internal.h (__attribute): Remove.
66747         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
66748         (re_string_context_at): Likewise.
66749         (bitset_not): Use __attribute__ and mark function as possibly
66750         unused.
66751         (bitset_merge): Likewise.
66752         (bitset_mask): Likewise.
66753         (re_string_char_size_at): Likewise.
66754         (re_string_wchar_at): Likewise.
66755         (re_string_elem_size_at): Likewise.
66757 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66759         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66760         code.
66761         (cc32): Likewise.
66763         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
66764         (__acr): Likewise.
66765         (__cpy): Likewise.
66766         (norm): Likewise.
66767         (denorm): Likewise.
66768         (__dbl_mp): Likewise.
66769         (add_magnitudes): Likewise.
66770         (sub_magnitudes): Likewise.
66771         (__mul): Likewise.
66772         (__inv): Likewise.
66774         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66775         style.
66777         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66778         style.
66780         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66781         code.
66783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66784         up changes with default code.
66785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66786         Likewise.
66788 2013-02-24  Allan McRae  <allan@archlinux.org>
66790         * manual/socket.texi (The Internet Namespace): Order menu items
66791         to match that in the file.
66793         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66794         node listing of the info page menu.
66796 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66798         [BZ #13550]
66799         * sysdeps/i386/bp-asm.h: Remove file.
66800         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66801         (PARMS): Do not use macros from bp-asm.h.
66802         (S1): Likewise.
66803         (S2): Likewise.
66804         (SIZE): Likewise.
66805         (__mpn_add_n): Do not use BP_SYM
66806         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66807         "bp-asm.h".
66808         (PARMS): Do not use macros from bp-asm.h.
66809         (S1): Likewise.
66810         (SIZE): Likewise.
66811         (__mpn_addmul_1): Do not use BP_SYM
66812         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66813         "bp-asm.h".
66814         (PARMS): Do not use macros from bp-asm.h.
66815         (SIGMSK): Likewise.
66816         (_setjmp): Likewise.  Do not use BP_SYM.
66817         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66818         "bp-asm.h".
66819         (PARMS): Do not use macros from bp-asm.h.
66820         (SIGMSK): Likewise.
66821         (setjmp): Likewise.  Do not use BP_SYM.
66822         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66823         "bp-asm.h".
66824         (PARMS): Do not use macros from bp-asm.h.
66825         (__frexp): Do not use BP_SYM.
66826         (frexp): Likewise.
66827         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66828         "bp-asm.h".
66829         (PARMS): Do not use macros from bp-asm.h.
66830         (__frexpf): Do not use BP_SYM.
66831         (frexpf): Likewise.
66832         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66833         "bp-asm.h".
66834         (PARMS): Do not use macros from bp-asm.h.
66835         (__frexpl): Do not use BP_SYM.
66836         (frexpl): Likewise.
66837         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
66838         "bp-asm.h".
66839         (PARMS): Do not use macros from bp-asm.h.
66840         (__remquo): Do not use BP_SYM.
66841         (remquo): Likewise.
66842         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66843         "bp-asm.h".
66844         (PARMS): Do not use macros from bp-asm.h.
66845         (__remquof): Do not use BP_SYM.
66846         (remquof): Likewise.
66847         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
66848         "bp-asm.h".
66849         (PARMS): Do not use macros from bp-asm.h.
66850         (__remquol): Do not use BP_SYM.
66851         (remquol): Likewise.
66852         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66853         "bp-asm.h".
66854         (PARMS): Do not use macros from bp-asm.h.
66855         (DEST): Likewise.
66856         (SRC): Likewise.
66857         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
66858         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
66859         "bp-asm.h".
66860         (PARMS): Do not use macros from bp-asm.h.
66861         (strlen): Do not use BP_SYM.
66862         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
66863         "bp-asm.h".
66864         (PARMS): Do not use macros from bp-asm.h.
66865         (S1): Likewise.
66866         (S2): Likewise.
66867         (SIZE): Likewise.
66868         (__mpn_add_n): Do not use BP_SYM.
66869         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
66870         "bp-asm.h".
66871         (PARMS): Do not use macros from bp-asm.h.
66872         (S1): Likewise.
66873         (SIZE): Likewise.
66874         (__mpn_addmul_1): Do not use BP_SYM.
66875         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
66876         weak_alias.
66877         (bzero): Likewise.
66878         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
66879         "bp-asm.h".
66880         (PARMS): Do not use macros from bp-asm.h.
66881         (S): Likewise.
66882         (SIZE): Likewise.
66883         (__mpn_lshift): Do not use BP_SYM.
66884         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
66885         "bp-asm.h".
66886         (PARMS): Do not use macros from bp-asm.h.
66887         (DEST): Likewise.
66888         (SRC): Likewise.
66889         (LEN): Likewise.
66890         (memcpy): Likewise.  Do not use BP_SYM.
66891         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
66892         libc_hidden_def and weak_alias.
66893         (mempcpy): Do not use BP_SYM in weak_alias.
66894         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
66895         "bp-asm.h".
66896         (PARMS): Do not use macros from bp-asm.h.
66897         (DEST): Likewise.
66898         (LEN): Likewise.
66899         [!BZERO_P] (CHR): Likewise.
66900         (memset): Likewise.  Do not use BP_SYM.
66901         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
66902         "bp-asm.h".
66903         (PARMS): Do not use macros from bp-asm.h.
66904         (S1): Likewise.
66905         (SIZE): Likewise.
66906         (__mpn_mul_1): Do not use BP_SYM.
66907         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
66908         "bp-asm.h".
66909         (PARMS): Do not use macros from bp-asm.h.
66910         (S): Likewise.
66911         (SIZE): Likewise.
66912         (__mpn_rshift): Do not use BP_SYM.
66913         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
66914         "bp-asm.h".
66915         (PARMS): Do not use macros from bp-asm.h.
66916         (STR): Likewise.
66917         (CHR): Likewise.
66918         (strchr): Likewise.  Do not use BP_SYM.
66919         (index): Do not use BP_SYM in weak_alias.
66920         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
66921         "bp-asm.h".
66922         (PARMS): Do not use macros from bp-asm.h.
66923         (DEST): Likewise.
66924         (SRC): Likewise.
66925         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
66926         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
66927         "bp-asm.h".
66928         (PARMS): Do not use macros from bp-asm.h.
66929         (strlen): Do not use BP_SYM.
66930         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
66931         "bp-asm.h".
66932         (PARMS): Do not use macros from bp-asm.h.
66933         (S1): Likewise.
66934         (S2): Likewise.
66935         (SIZE): Likewise.
66936         (__mpn_sub_n): Do not use BP_SYM.
66937         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
66938         "bp-asm.h".
66939         (PARMS): Do not use macros from bp-asm.h.
66940         (S1): Likewise.
66941         (SIZE): Likewise.
66942         (__mpn_submul_1): Do not use BP_SYM.
66943         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
66944         "bp-asm.h".
66945         (PARMS): Do not use macros from bp-asm.h.
66946         (S1): Likewise.
66947         (S2): Likewise.
66948         (SIZE): Likewise.
66949         (__mpn_add_n): Do not use BP_SYM.
66950         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
66951         weak_alias.
66952         (bzero): Likewise.
66953         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
66954         "bp-asm.h".
66955         (PARMS): Do not use macros from bp-asm.h.
66956         (BLK2): Likewise.
66957         (LEN): Likewise.
66958         (memcmp): Do not use BP_SYM.
66959         (bcmp): Do not use BP_SYM in weak_alias.
66960         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
66961         "bp-asm.h".
66962         (PARMS): Do not use macros from bp-asm.h.
66963         (DEST): Likewise.
66964         (SRC): Likewise.
66965         (LEN): Likewise.
66966         (memcpy): Likewise.  Do not use BP_SYM.
66967         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
66968         "bp-asm.h".
66969         (PARMS): Do not use macros from bp-asm.h.
66970         (DEST): Likewise.
66971         (SRC): Likewise.
66972         (LEN): Likewise.
66973         (memmove): Likewise.  Do not use BP_SYM.
66974         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
66975         "bp-asm.h".
66976         (PARMS): Do not use macros from bp-asm.h.
66977         (DEST): Likewise.
66978         (SRC): Likewise.
66979         (LEN): Likewise.
66980         (__mempcpy): Likewise.  Do not use BP_SYM.
66981         (mempcpy): Do not use BP_SYM in weak_alias.
66982         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
66983         "bp-asm.h".
66984         (PARMS): Do not use macros from bp-asm.h.
66985         (DEST): Likewise.
66986         (LEN): Likewise.
66987         [!BZERO_P] (CHR): Likewise.
66988         (memset): Likewise.  Do not use BP_SYM.
66989         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
66990         "bp-asm.h".
66991         (PARMS): Do not use macros from bp-asm.h.
66992         (STR2): Likewise.
66993         (strcmp): Do not use BP_SYM.
66994         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
66995         "bp-asm.h".
66996         (PARMS): Do not use macros from bp-asm.h.
66997         (STR): Likewise.
66998         (DELIM): Likewise.
66999         [USE_AS_STRTOK_R] (SAVE): Likewise.
67000         (FUNCTION): Likewise.  Do not use BP_SYM.
67001         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
67002         aliases.
67003         (strtok_r): Likewise.
67004         (__GI___strtok_r): Likewise.
67005         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67006         (PARMS): Do not use macros from bp-asm.h.
67007         (S): Likewise.
67008         (SIZE): Likewise.
67009         (__mpn_lshift): Do not use BP_SYM.
67010         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67011         (PARMS): Do not use macros from bp-asm.h.
67012         (STR): Likewise.
67013         (CHR): Likewise.
67014         (__memchr): Do not use BP_SYM.
67015         (memchr): Do not use BP_SYM in weak_alias.
67016         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67017         (PARMS): Do not use macros from bp-asm.h.
67018         (BLK2): Likewise.
67019         (LEN): Likewise.
67020         (memcmp): Do not use BP_SYM.
67021         (bcmp): Do not use BP_SYM in weak_alias.
67022         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
67023         (PARMS): Do not use macros from bp-asm.h.
67024         (S1): Likewise.
67025         (SIZE): Likewise.
67026         (__mpn_mul_1): Do not use BP_SYM.
67027         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
67028         "bp-asm.h".
67029         (PARMS): Do not use macros from bp-asm.h.
67030         (STR): Likewise.
67031         (CHR): Likewise.
67032         (__rawmemchr): Do not use BP_SYM.
67033         (rawmemchr): Do not use BP_SYM in weak_alias.
67034         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67035         (PARMS): Do not use macros from bp-asm.h.
67036         (S): Likewise.
67037         (SIZE): Likewise.
67038         (__mpn_rshift): Do not use BP_SYM.
67039         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67040         (PARMS): Do not use macros from bp-asm.h.
67041         (SIGMSK): Likewise.
67042         (__sigsetjmp): Likewise.  Do not use BP_SYM.
67043         * sysdeps/i386/start.S: Do not include "bp-sym.h".
67044         (_start): Do not use BP_SYM.
67045         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
67046         (PARMS): Do not use macros from bp-asm.h.
67047         (DEST): Likewise.
67048         (SRC): Likewise.
67049         (__stpcpy): Likewise.  Do not use BP_SYM.
67050         (stpcpy): Do not use BP_SYM in weak_alias.
67051         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
67052         "bp-asm.h".
67053         (PARMS): Do not use macros from bp-asm.h.
67054         (DEST): Likewise.
67055         (SRC): Likewise.
67056         (LEN): Likewise.
67057         (__stpncpy): Likewise.  Do not use BP_SYM.
67058         (stpncpy): Do not use BP_SYM in weak_alias.
67059         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67060         (PARMS): Do not use macros from bp-asm.h.
67061         (STR): Likewise.
67062         (CHR): Likewise.
67063         (strchr): Likewise.  Do not use BP_SYM.
67064         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
67065         "bp-asm.h".
67066         (PARMS): Do not use macros from bp-asm.h.
67067         (STR): Likewise.
67068         (CHR): Likewise.
67069         (__strchrnul): Likewise.  Do not use BP_SYM.
67070         (strchrnul): Do not use BP_SYM in weak_alias.
67071         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
67072         "bp-asm.h".
67073         (PARMS): Do not use macros from bp-asm.h.
67074         (STOP): Likewise.
67075         (strcspn): Do not use BP_SYM.
67076         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
67077         "bp-asm.h".
67078         (PARMS): Do not use macros from bp-asm.h.
67079         (STR): Likewise.
67080         (STOP): Likewise.
67081         (strpbrk): Likewise.  Do not use BP_SYM.
67082         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
67083         "bp-asm.h".
67084         (PARMS): Do not use macros from bp-asm.h.
67085         (STR): Likewise.
67086         (CHR): Likewise.
67087         (strrchr): Likewise.  Do not use BP_SYM.
67088         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
67089         (PARMS): Do not use macros from bp-asm.h.
67090         (SKIP): Likewise.
67091         (strspn): Do not use BP_SYM.
67092         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
67093         (PARMS): Do not use macros from bp-asm.h.
67094         (STR): Likewise.
67095         (DELIM): Likewise.
67096         (SAVE): Likewise.
67097         (FUNCTION): Likewise.  Do not use BP_SYM.
67098         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
67099         aliases.
67100         (strtok_r): Likewise.
67101         (__GI___strtok_r): Likewise.
67102         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67103         (PARMS): Do not use macros from bp-asm.h.
67104         (S1): Likewise.
67105         (S2): Likewise.
67106         (SIZE): Likewise.
67107         (__mpn_sub_n): Do not use BP_SYM.
67108         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
67109         "bp-asm.h".
67110         (PARMS): Do not use macros from bp-asm.h.
67111         (S1): Likewise.
67112         (SIZE): Likewise.
67113         (__mpn_submul_1): Do not use BP_SYM.
67114         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
67115         <bp-sym.h>.
67116         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
67117         and <bp-asm.h>.
67118         (PARMS): Do not use macros from bp-asm.h.
67119         (FLAGS): Likewise.
67120         (PTID): Likewise.
67121         (TLS): Likewise.
67122         (CTID): Likewise.
67123         (__clone): Do not use BP_SYM.
67124         (clone): Do not use BP_SYM in weak_alias.
67125         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
67126         and <bp-asm.h>.
67127         (PARMS): Do not use macros from bp-asm.h.
67128         (LEN): Likewise.
67129         (__mmap64): Do not use BP_SYM.
67130         (mmap64): Do not use BP_SYM in weak_alias.
67131         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67132         <bp-sym.h> and <bp-asm.h>.
67133         (PARMS): Do not use macros from bp-asm.h.
67134         (__posix_fadvise64_l64): Do not use BP_SYM.
67135         * sysdeps/unix/sysv/linux/i386/semtimedop.S
67136         (PARMS): Do not use macros from bp-asm.h.
67137         (NSOPS): Likewise.
67138         (semtimedop): Do not use BP_SYM.
67139         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
67140         and <bp-asm.h>.
67142 2013-02-21  Allan McRae  <allan@archlinux.org>
67144         * manual/message.texi (Charset conversion in gettext):
67145         Move @end statement to beginning of line.
67147 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
67150         static.
67151         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67152         Likewise.
67154         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67155         (denorm): Likewise.
67156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67159 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67161         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67162         tail-call to the resolved function if pltexit isn't needed.
67164 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67167         or Y being zero as being unlikely.
67168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67169         Likewise.
67171 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
67173         * manual/nss.texi (System Databases and Name Service Switch):
67174         Remove frobnicate @pxref.
67176 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67178         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67179         __attribute__ ((unused)) to __attribute__ ((__unused__)).
67181 2013-02-20  Petr Machata  <pmachata@redhat.com>
67183         * elf/elf.h (R_ARM_TARGET1): New macro.
67184         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67185         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67186         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67187         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67188         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67189         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67190         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67191         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67192         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67193         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67194         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67195         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67196         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67197         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67198         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67199         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67200         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67201         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67202         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67203         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67204         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67205         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67206         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67207         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67208         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67209         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67210         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67211         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67212         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67213         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67214         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67215         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67216         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67217         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67218         (R_ARM_THM_GOT_BREL12): Likewise.
67219         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67220         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67221         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67222         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67223         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67224         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67225         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67226         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67227         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67229 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67231         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67232         __attribute_used__ to __attribute__ ((unused)).
67234 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67236         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67237         powerpc mpa.c.
67238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67239         comment formatting.
67240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67242 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67244         [BZ #13550]
67245         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67246         Remove macro.
67247         (ENTER): Remove both macro definitions.
67248         (LEAVE): Likewise.
67249         (CHECK_BOUNDS_LOW): Likewise.
67250         (CHECK_BOUNDS_HIGH): Likewise.
67251         (CHECK_BOUNDS_BOTH): Likewise.
67252         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67253         (RETURN_BOUNDED_POINTER): Likewise.
67254         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67255         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67256         (POP_ERRNO_LOCATION_RETURN): Likewise.
67257         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67258         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67259         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67260         macros.
67261         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67262         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67263         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67264         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67265         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67266         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67267         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67268         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67269         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67270         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67271         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67272         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67273         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67274         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67275         removed macros.
67276         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67277         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67278         macros.
67279         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67280         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67281         * sysdeps/i386/i586/memset.S (memset): Likewise.
67282         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67283         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67284         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67285         macros.
67286         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67287         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67288         Change uses of L(2) to L(out).
67289         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67290         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67291         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67292         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67293         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67294         removed macros.
67295         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67296         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67297         macros.
67298         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67299         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67300         (RETURN): Do not use macro LEAVE.
67301         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67302         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67303         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67304         * sysdeps/i386/i686/memset.S (memset): Likewise.
67305         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67306         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67307         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67308         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67309         Likewise.
67310         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67311         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67312         L(1_2) and L(1_3) into L(1).
67313         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67314         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67315         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67316         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67317         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67318         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67319         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67320         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67321         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67322         macros.
67323         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67324         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67325         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67326         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67327         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67328         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67329         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67330         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67331         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67332         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67333         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67334         * sysdeps/i386/strspn.S (strspn): Likewise.
67335         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67336         conditional code.
67337         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67338         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67339         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67340         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
67341         L(1_3) into L(1_1).
67342         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67343         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67344         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67345         macros.
67346         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67348 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
67350         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67351         macro.
67353 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67355         * math/atest-exp.c (exp_mpn): Remove ROUND.
67356         * math/atest-exp2.c (exp_mpn): Likewise.
67357         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67359         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67360         * stdlib/tst-tls-atexit-lib.c: Likewise.
67361         * stdlib/tst-tls-atexit.c: Likewise.
67363 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67365         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67366         and __attribute_alloc_size__.
67368 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67370         * include/programs/xmalloc.h: Change __attribute_alloc_size to
67371         __attribute_alloc_size__.
67372         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67373         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67375 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67377         * include/programs/xmalloc.h: New file.
67378         * catgets/gencat.c: Include it.
67379         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67380         * elf/pldd.c: Likewise.
67381         * iconv/iconv_charmap.c: Likewise.
67382         * iconv/iconvconfig.c: Likewise.
67383         * iconv/strtab.c: Likewise.
67384         * locale/programs/locale.c: Likewise.
67385         * locale/programs/localedef.h: Likewise.
67386         * locale/programs/simple-hash.c: Likewise.
67387         * nscd/nscd.h: Likewise.
67388         * nss/makedb.c: Likewise.
67389         * sysdeps/generic/ldconfig.h: Likewise.
67391 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67393         * Versions.def: Add GLIBC_2.18.
67394         * include/link.h (struct link_map): New member l_tls_dtor_count.
67395         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67396         (__call_tls_dtors): Likewise.
67397         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67398         __cxa_thread_atexit_impl.
67399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67400         Likewise.
67401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67402         Likewise.
67403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67404         Likewise.
67405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67406         Likewise.
67407         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67409         Likewise.
67410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67411         Likewise.
67412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67414         Likewise.
67415         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67416         (tests): Add test case tst-tls-atexit.
67417         (modules-names): Add shared library for tst-tls-atexit.
67418         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67419         (GLIBC_PRIVATE): Add __call_tls_dtors.
67420         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67421         for libstdc++.
67422         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67423         * stdlib/tst-tls-atexit.c: New test case.
67424         * stdlib/tst-tls-atexit-lib.c: New test case.
67426         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67428         * elf/Versions (ld): Add _dl_find_dso_for_object.
67429         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67430         * elf/dl-open.c (_dl_find_dso_for_object): New function.
67431         (dl_open_worker): Use _dl_find_dso_for_object.
67432         * elf/dl-sym.c (do_sym): Likewise.
67433         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67435 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67437         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67438         Syntactic changes only.
67439         (_dl_runtime_profile): Do a tail-call to the resolved function.
67441 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
67443         [BZ #13550]
67444         * sysdeps/x86_64/bp-asm.h: Remove file.
67445         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
67446         <bp-sym.h> and <bp-asm.h>.
67447         (__clone): Do not use BP_SYM.
67448         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
67449         <bp-sym.h> and <bp-asm.h>.
67450         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67451         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
67452         "bp-asm.h".
67453         (_setjmp): Do not use BP_SYM.
67454         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
67455         "bp-asm.h".
67456         (setjmp): Do not use BP_SYM.
67457         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
67458         libc_hidden_def.
67459         (mempcpy): Do not use BP_SYM in weak_alias.
67460         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
67461         "bp-asm.h".
67462         (strchr): Do not use BP_SYM.
67463         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
67464         "bp-asm.h".
67465         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
67466         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
67467         (_start): Do not use BP_SYM.
67468         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
67469         "bp-asm.h".
67470         (strcat): Do not use BP_SYM.
67471         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
67472         "bp-asm.h".
67473         (STRCMP): Do not use BP_SYM.
67474         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
67475         "bp-asm.h".
67476         (STRCPY): Do not use BP_SYM.
67477         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
67478         "bp-asm.h".
67479         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
67480         "bp-asm.h".
67481         (FUNCTION): Do not use BP_SYM.
67482         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
67483         weak_alias.
67484         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
67486 2013-02-17  Andreas Jaeger  <aj@suse.de>
67488         * time/Versions: Sort entries.
67489         * string/Versions: Likewise.
67490         * resolv/Versions: Likewise.
67491         * posix/Versions: Likewise.
67492         * iconv/Versions: Likewise.
67493         * elf/Versions: Likewise.
67494         * wcsmbs/Versions: Likewise.
67496 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67498         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
67499         loop termination condition.
67501         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
67502         variable to calculate EZ.
67503         (__sqr): Likewise.
67505         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
67506         the lower precision input.
67508 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
67510         [BZ #13550]
67511         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
67512         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
67513         (run-via-rtld-prefix): Do not handle %-bp tests.
67514         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
67515         (all-object-suffixes): Remove .ob.
67516         (bppfx): Remove variable.
67517         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
67518         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
67519         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
67520         [$(build-bounded) = yes] (libtype.ob): Likewise.
67521         * Makerules (elide-routines.ob): Remove variable.
67522         (do-tests-clean): Do not handle *-bp.out.
67523         (common-mostlyclean): Do not handle *-bp and *-bp.out.
67524         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
67525         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
67526         (tests): Do not include $(tests-bp.out).
67527         (xtests): Do not include $(xtests-bp.out).
67528         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
67529         [$(build-bounded) = yes] ($(addprefix
67530         $(objpfx),$(binaries-bounded))): Remove rule.
67531         ($(objpfx)%-bp.out): Remove rule.
67532         * config.make.in (build-bounded): Remove variable.
67533         * crypt/Makefile [$(build-bounded) = yes]
67534         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
67535         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
67536         append to variable.
67537         [$(build-bounded) = yes] (install-lib): Likewise.
67538         [$(build-bounded) = yes] (generated): Likewise.
67539         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
67540         Remove rule.
67541         * intl/Makefile [$(build-bounded) = yes]
67542         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
67543         * math/Makefile [$(build-bounded) = yes]
67544         ($(tests:%=$(objpfx)%-bp): Likewise.
67545         * misc/Makefile [$(build-bounded) = yes]
67546         ($(objpfx)tst-tsearch-bp): Likewise.
67547         * nptl/Makeconfig (bounded-thread-library): Remove variable.
67548         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
67549         Remove dependency.
67550         * string/Makefile (o-objects.ob): Remove variable.
67551         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
67552         (CFLAGS-.ob): Remove variable.
67553         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
67554         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
67555         both definitions of variable.
67556         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
67557         (ASFLAGS-.ob): Remove variable.
67559 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
67561         [BZ #13550]
67562         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
67563         Remove __BOUNDED_POINTERS__ from condition.
67564         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
67565         * string/bits/string2.h [!__NO_STRING_INLINES &&
67566         !__BOUNDED_POINTERS__]: Likewise.
67567         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
67568         Likewise.
67569         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
67570         Remove conditional code.
67571         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
67572         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
67573         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
67574         condition.
67576         [BZ #13550]
67577         * csu/libc-start.c: Do not include <bp-sym.h>.
67578         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
67579         * elf/dl-open.c: Do not include <bp-sym.h>.
67580         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
67581         * math/fegetenv.c: Do not include <bp-sym.h>.
67582         (fegetenv): Do not use BP_SYM in versioned symbols.
67583         * nptl/sysdeps/pthread/bits/libc-lockP.h
67584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
67585         <bp-sym.h>.
67586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67587         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
67588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67589         (__pthread_mutex_destroy): Likewise.
67590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67591         (__pthread_mutex_lock): Likewise.
67592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67593         (__pthread_mutex_trylock): Likewise.
67594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67595         (__pthread_mutex_unlock): Likewise.
67596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67597         (__pthread_mutexattr_init): Likewise.
67598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67599         (__pthread_mutexattr_destroy): Likewise.
67600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67601         (__pthread_mutexattr_settype): Likewise.
67602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67603         (__pthread_rwlock_init): Likewise.
67604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67605         (__pthread_rwlock_destroy): Likewise.
67606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67607         (__pthread_rwlock_rdlock): Likewise.
67608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67609         (__pthread_rwlock_tryrdlock): Likewise.
67610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67611         (__pthread_rwlock_wrlock): Likewise.
67612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67613         (__pthread_rwlock_trywrlock): Likewise.
67614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67615         (__pthread_rwlock_unlock): Likewise.
67616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67617         (__pthread_key_create): Likewise.
67618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67619         (__pthread_setspecific): Likewise.
67620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67621         (__pthread_getspecific): Likewise.
67622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
67623         Likewise.
67624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67625         (_pthread_cleanup_push_defer): Likewise.
67626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67627         (_pthread_cleanup_pop_restore): Likewise.
67628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67629         (pthread_setcancelstate): Likewise.
67630         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
67631         <bp-sym.h>.
67632         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
67633         (memchr): Do not use BP_SYM in weak_alias.
67634         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
67635         (fegetenv): Do not use BP_SYM in versioned symbols.
67636         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
67637         (fesetenv): Do not use BP_SYM in versioned symbols.
67638         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67639         (feupdateenv): Do not use BP_SYM in versioned symbols.
67640         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67641         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67642         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
67643         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
67644         (open64): Do not use BP_SYM in weak_alias.
67645         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
67646         (fegetenv): Do not use BP_SYM in versioned symbols.
67647         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
67648         (fesetenv): Do not use BP_SYM in versioned symbols.
67649         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67650         (feupdateenv): Do not use BP_SYM in versioned symbols.
67651         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
67652         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
67653         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
67654         (feraiseexcept): Do not use BP_SYM in versioned symbols.
67655         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67656         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67657         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
67658         <bp-sym.h>.
67659         (__libc_start_main): Do not use BP_SYM.
67661 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
67664         redundant return line.
67665         (norm): Likewise.
67666         (denorm): Likewise.
67667         (dbl_mp): Likewise.
67668         (sub_magnitudes): Likewise.
67669         (__add): Likewise.
67670         (__sub): Likewise.
67671         (__mul): Likewise.
67672         (__inv): Likewise.
67673         (__dvd): Likewise.
67674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
67675         (norm): Likewise.
67676         (denorm): Likewise.
67677         (dbl_mp): Likewise.
67678         (sub_magnitudes): Likewise.
67679         (__add): Likewise.
67680         (__sub): Likewise.
67681         (__mul): Likewise.
67682         (__inv): Likewise.
67683         (__dvd): Likewise.
67685         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
67686         instead of __mul.
67687         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67688         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
67689         (cc32): Likewise.
67691         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
67692         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
67693         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
67694         of __mul for squares.
67695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
67696         function
67697         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
67698         Likewise.
67699         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
67700         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67702 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
67704         [BZ #13550]
67705         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
67706         code.
67707         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
67708         prototype or function definition.  Rename ubp_* variables and
67709         parameters.  Remove argv definitions conditional on
67710         [__BOUNDED_POINTERS__].
67711         * debug/backtrace.c (__backtrace): Do not use __unbounded.
67712         * elf/dl-runtime.c (_dl_fixup): Likewise.
67713         * include/set-hooks.h (RUN_HOOK): Likewise.
67714         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
67715         definition.
67716         * string/strcpy.c (strcpy): Do not use __unbounded.
67717         * sysdeps/generic/frame.h (struct layout): Likewise.
67718         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
67719         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
67720         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
67721         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
67722         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
67723         (__backtrace): Likewise.
67724         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
67725         use __ptrvalue.
67726         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
67727         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
67728         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
67729         Likewise.
67730         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
67731         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
67732         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
67733         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67734         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
67735         Do not use __unbounded.
67736         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
67737         Rename __unboundedrlimits parameter to rlimits in prototype.
67738         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
67739         Do not use __unbounded.
67740         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
67741         not use __ptrvalue.
67742         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67743         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
67744         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67745         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
67746         __ptrvalue or __unbounded.
67747         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
67748         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
67749         use __unbounded.
67750         (__new_msgctl): Do not use __ptrvalue.
67751         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
67752         __unbounded.
67753         (__libc_msgrcv): Do not use __ptrvalue.
67754         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
67755         startup_info): Do not use __unbounded.
67756         (__libc_start_main): Likewise.  Rename ubp_* variables and
67757         parameters.  Remove argv definitions conditional on
67758         [__BOUNDED_POINTERS__].
67759         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
67760         __ptrvalue.
67761         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
67762         use __unbounded.
67763         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
67764         or __ptrvalue.
67765         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
67766         use __unbounded.
67767         (__new_shmctl): Do not use __ptrvalue.
67768         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
67769         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
67770         Likewise.
67771         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
67772         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
67773         (__libc_sigaction): Likewise.
67774         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67775         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67776         Likewise.
67777         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67779 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
67781         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67783         * string/mempcpy.c: Implement by calling memcpy.
67785 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67790         evaluation.
67792         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67793         values in the mantissa.
67795         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67796         minimize writes to Z.
67797         (sub_magnitudes): Simplify code a bit.
67799 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67801         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67802         from the message.  The linker prefixes all warnings with that already.
67804 2013-02-12  Andreas Schwab  <schwab@suse.de>
67806         [BZ #15078]
67807         * posix/regexec.c (extend_buffers): Add parameter min_len.
67808         (check_matching): Pass minimum needed length.
67809         (clean_state_log_if_needed): Likewise.
67810         (get_subexp): Likewise.
67811         * posix/Makefile (tests): Add bug-regex34.
67812         (bug-regex34-ENV): Define.
67813         * posix/bug-regex34.c: New file.
67815         [BZ #11561]
67816         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67817         elements compare against the byte sequence of it, not its name.
67818         * posix/Makefile (tests): Add bug-regex35.
67819         (bug-regex35-ENV): Define.
67820         * posix/bug-regex35.c: New file.
67822 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67824         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
67825         comment.
67826         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67827         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67828         (CHECK_EOL): Add undef.
67830 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
67832         * bits/stdlib-bsearch.h: New file.
67833         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
67834         * stdlib/stdlib.h: Likewise.
67836 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67838         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
67839         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
67840         declaration.
67841         * manual/search.texi (Array Search Function): Add missing const in
67842         lfind prototype.
67843         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
67844         declaration to use rlim_t.
67845         (Basic Scheduling Functions): Remove erroneous const from
67846         sched_getparam prototype.  Remove erroneous * from
67847         sched_get_priority_max and sched_get_priority_min prototypes.
67848         (Resource Usage): Fix summary @comment on vtimes to refer to
67849         sys/vtimes.h rather than vtimes.h.
67850         Add missing *s in vtimes prototype.
67851         (Limits on Resources): Fix ulimit prototype to return long int.
67852         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
67853         prototypes to use long int rather than double.
67854         (BSD Random): Fix initstate and setstate to use char *, not void *.
67855         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
67856         prototype to make second argument 'struct aiocb64 *const[]'.
67857         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
67858         (Status of AIO Operations): Remove erroneous const in aio_return and
67859         aio_return64 prototypes.
67860         (Synchronizing I/O): Fix sync prototype to return void.
67861         * manual/startup.texi (Suboptions): Remove an erroneous const in
67862         getsubopt prototype.
67863         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
67864         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
67865         use size_t rather than int.
67866         (Scanning All Users): Likewise for getpwent_r.
67867         (Setting Groups): Add missing const to setgroups prototype.
67868         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
67869         * manual/socket.texi (Host Names): Fix gethostbyaddr and
67870         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
67871         'const void *' rather than 'const char *'.
67872         (Host Address Functions): Likewise for inet_ntop.
67873         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
67874         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
67875         ssize_t for return value.
67876         (Sending Data): Likewise for send, sendto, sendmsg.
67877         (Socket Option Functions): Add a missing const in setsockopt prototype.
67878         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
67879         use wchar_t for the argument.
67880         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
67881         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
67882         take no arguments.
67883         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
67884         double/float/long double for second argument.
67885         Fix return types of significand, significandf, significandl.
67886         * manual/filesys.texi (Setting Permissions): Use mode_t for second
67887         argument in fchmod prototype.
67888         (File Owner): Use uid_t and gid_t in fchown prototype.
67889         (File Times): Add const to utimes, futimes, and lutimes prototypes.
67890         (Making Special Files): Use mode_t and dev_t in mknod prototype.
67891         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
67892         use 'const struct dirent **' as argument types to CMP function pointer
67893         argument.
67894         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
67895         (File Times): Fix summary magic @comment for struct utimbuf and utime
67896         to refer to utime.h, not time.h.
67897         * manual/string.texi (Argz Functions): Add missing const in
67898         argz_extract and argz_next prototypes.
67899         (Finding Tokens in a String): Likewise for basename.
67900         (String/Array Comparison): Fix typo in wcscasecmp prototype.
67901         (Copying and Concatenation): Fix typo in wmemmove prototype.
67902         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
67903         (Signal Stack): Remove erroneous const in sigstack prototype.
67904         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
67905         prototype.
67906         (Simple Calendar Time): Likewise for stime.
67907         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
67908         prototype.
67909         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
67910         say sys/sysctl.h instead.
67911         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
67912         and vsyslog prototypes.
67914 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67916         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
67917         Remove.
67919 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67921         * misc/sys/mman.h: Fix typo in mremap comment.
67923 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67925         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
67926         the '\0' terminator.
67928 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67930         [BZ #13550]
67931         * debug/segfault.c: Don't include <bp-checks.h>.
67932         * sysdeps/generic/bp-checks.h: Remove file.
67933         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
67934         (__GETDENTS): Don't use CHECK_N.
67935         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
67936         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
67937         (__getgroups): Don't use CHECK_N.
67938         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
67939         (setgroups): Don't use CHECK_N.
67940         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
67941         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
67942         (__libc_msgrcv): Don't use CHECK_N.
67943         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
67944         (__libc_msgsnd): Don't use CHECK_N.
67945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
67946         <bp-checks.h>.
67947         (__libc_pread): Don't use CHECK_N.
67948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
67949         include <bp-checks.h>.
67950         (__libc_pread64): Don't use CHECK_N.
67951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
67952         include <bp-checks.h>.
67953         (__libc_pwrite): Don't use CHECK_N.
67954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
67955         include <bp-checks.h>.
67956         (__libc_pwrite64): Don't use CHECK_N.
67957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
67958         <bp-checks.h>.
67959         (__libc_pread): Don't use CHECK_N.
67960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
67961         include <bp-checks.h>.
67962         (__libc_pread64): Don't use CHECK_N.
67963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
67964         include <bp-checks.h>.
67965         (__libc_pwrite): Don't use CHECK_N.
67966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
67967         include <bp-checks.h>.
67968         (__libc_pwrite64): Don't use CHECK_N.
67969         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
67970         (do_pread): Don't use CHECK_N.
67971         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
67972         (do_pread64): Don't use CHECK_N.
67973         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
67974         (do_pwrite): Don't use CHECK_N.
67975         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
67976         (do_pwrite64): Don't use CHECK_N.
67977         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
67978         (__libc_readv): Don't use CHECK_N.
67979         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
67980         (semop): Don't use CHECK_N.
67981         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
67982         <bp-checks.h>.
67983         (semtimedop): Don't use CHECK_N.
67984         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67985         (__libc_pread): Don't use CHECK_N.
67986         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
67987         <bp-checks.h>.
67988         (__libc_pread64): Don't use CHECK_N.
67989         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
67990         <bp-checks.h>.
67991         (__libc_pwrite): Don't use CHECK_N.
67992         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
67993         <bp-checks.h>.
67994         (__libc_pwrite64): Don't use CHECK_N.
67995         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
67996         <bp-checks.h>.
67997         (__libc_msgrcv): Don't use CHECK_N.
67998         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
67999         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
68000         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
68001         (__libc_writev): Don't use CHECK_N.
68003 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68005         * string/strcpy.c: Removed unused variable.
68007         * Makeconfig (+sysdep-includes): Define with := rather than =.
68008         Use an existing include/ subdir of each sysdeps dir before it.
68010 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68012         * nscd/connection.c (register_traced_file): Comment function.
68013         [HAVE_INOTIFY] (union __inev): Define.
68014         [HAVE_INOTIFY] (inotify_check_files): New function.
68015         [HAVE_INOTIFY] (clear_db_cache): Likewise.
68016         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
68017         clear_db_cache.
68018         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
68020 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68022         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
68023         loaded if not already and that a failure is permanent.
68025 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68027         [BZ #15006]
68028         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
68029         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
68031 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68033         [BZ #13550]
68034         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
68035         (CHECK_1_NULL_OK): Likewise.
68036         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
68037         (__fxstat): Do not use CHECK_1.
68038         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
68039         <bp-checks.h>.
68040         (___fxstat64): Do not use CHECK_1.
68041         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
68042         <bp-checks.h>.
68043         (__fxstatat): Do not use CHECK_1.
68044         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
68045         <bp-checks.h>.
68046         (__fxstatat64): Do not use CHECK_1.
68047         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
68048         <bp-checks.h>.
68049         (__fxstat): Do not use CHECK_1.
68050         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
68051         <bp-checks.h>.
68052         (__fxstatat): Do not use CHECK_1.
68053         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68054         <bp-checks.h>.
68055         (__getresgid): Do not use CHECK_1.
68056         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68057         <bp-checks.h>.
68058         (__getresuid): Do not use CHECK_1.
68059         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
68060         <bp-checks.h>.
68061         (__lxstat): Do not use CHECK_1.
68062         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68063         <bp-checks.h>.
68064         (__old_msgctl): Do not use CHECK_1.
68065         (__new_msgctl): Likewise.
68066         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
68067         <bp-checks.h>.
68068         (__new_setrlimit): Do not use CHECK_1.
68069         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68070         <bp-checks.h>.
68071         (__old_shmctl): Do not use CHECK_1.
68072         (__new_shmctl): Likewise.
68073         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
68074         <bp-checks.h>.
68075         (__xstat): Do not use CHECK_1.
68076         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
68077         (__lxstat): Do not use CHECK_1.
68078         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
68079         <bp-checks.h>.
68080         (___lxstat64): Do not use CHECK_1.
68081         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
68082         (__old_msgctl): Do not use CHECK_1.
68083         (__new_msgctl): Likewise.
68084         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
68085         <bp-checks.h>.
68086         (__gettimeofday): Do not use CHECK_1.
68087         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
68088         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
68089         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
68090         <bp-checks.h>.
68091         (__gettimeofday): Do not use CHECK_1.
68092         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
68093         (__old_shmctl): Do not use CHECK_1_NULL_OK.
68094         (__new_shmctl): Do not use CHECK_1.
68095         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
68096         <bp-checks.h>.
68097         (do_sigtimedwait): Do not use CHECK_1.
68098         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
68099         <bp-checks.h>.
68100         (do_sigwaitinfo): Do not use CHECK_1.
68101         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
68102         <bp-checks.h>.
68103         (msgctl): Do not use CHECK_1.
68104         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
68105         <bp-checks.h>.
68106         (shmctl): Do not use CHECK_1.
68107         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
68108         (ustat): Do not use CHECK_1.
68109         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
68110         <bp-checks.h>.
68111         (__fxstat): Do not use CHECK_1.
68112         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
68113         <bp-checks.h>.
68114         (__fxstatat): Do not use CHECK_1.
68115         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
68116         <bp-checks.h>.
68117         (__lxstat): Do not use CHECK_1.
68118         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
68119         <bp-checks.h>.
68120         (__xstat): Do not use CHECK_1.
68121         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
68122         (__xstat): Do not use CHECK_1.
68123         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
68124         (___xstat64): Do not use CHECK_1.
68126         [BZ #13550]
68127         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
68128         definitions.
68129         (CHECK_BOUNDS_HIGH): Likewise.
68130         * string/strcpy.c: Do not include <bp-checks.h>.
68131         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
68133 2013-02-07  Roland McGrath  <roland@hack.frob.com>
68135         * nscd/nscd-client.h (__nscd_drop_map_ref):
68136         Add __attribute__ ((unused)).
68137         * nis/nss-nisplus.h (niserr2nss): Likewise.
68139         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
68140         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
68142         * csu/libc-tls.c (init_static_tls, init_slotinfo):
68143         Remove inline keyword.
68144         * include/rounding-mode.h (round_away): Likewise.
68145         * libio/wfileops.c (adjust_wide_data): Likewise.
68146         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
68147         (__m128i_strloadu_tolower): Likewise.
68148         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
68149         (__m128i_strloadu_tolower): Likewise.
68150         * time/mktime.c (ydhms_diff): Likewise.
68151         * locale/elem-hash.h (elem_hash): Likewise.
68152         * locale/setlocale.c (setdata): Likewise.
68153         * posix/regex_internal.h (re_string_char_size_at): Likewise.
68154         (re_string_wchar_at): Likewise.
68155         (bitset_not, bitset_merge, bitset_mask): Likewise.
68156         [!(__GNUC__ > 3)] (inline): Remove macro.
68157         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68158         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68159         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68160         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68161         * string/memcmp.c (memcmp_bytes): Likewise.
68162         * locale/programs/locarchive.c (compute_hashval): Likewise.
68163         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68164         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68165         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68166         * nss/getent.c (print_rpc, print_protocols): Likewise.
68167         (print_passwd, print_group, print_aliases): Likewise.
68168         * nis/nss-nisplus.h (niserr2nss): Likewise.
68169         * nscd/connections.c (restart_p): Likewise.
68170         Change return type to bool.
68172 2013-02-05  Roland McGrath  <roland@hack.frob.com>
68174         * Makeconfig (all-Depend-files): Add existing
68175         $(sorted-subdirs:=/Depend) files.
68176         (all-subdirs): Remove nss.
68177         * sysdeps/unix/inet/Subdirs: Add it here instead.
68178         * hesiod/Depend: New file.
68180         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68181         instead of calling alloca.
68183         * io/lseek.c (__lseek): Rename to __libc_lseek.
68184         Define __lseek as an alias.
68186         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68188 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
68190         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68191         else clause and remove check for non-standard endianness.
68193 2013-02-04  David S. Miller  <davem@davemloft.net>
68195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68197 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
68199         [BZ #13550]
68200         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68201         (__ubp_memchr): Remove prototype.
68202         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68203         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68204         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68205         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68206         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68207         Remove alias.
68208         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68209         (__ubp_memchr): Likewise.
68210         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68211         (__ubp_memchr): Likewise.
68212         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68213         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68214         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68215         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68216         CHECK_STRING.
68217         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68218         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68219         (__getcwd): Do not use CHECK_STRING.
68220         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68221         <bp-checks.h>.
68222         (__real_chown): Do not use CHECK_STRING.
68223         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68224         <bp-checks.h>.
68225         (fchownat): Do not use CHECK_STRING.
68226         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68227         CHECK_STRING.
68228         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68229         <bp-checks.h>.
68230         (__lchown): Do not use CHECK_STRING.
68231         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68232         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68233         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68234         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68236         include <bp-checks.h>.
68237         (truncate64): Do not use CHECK_STRING.
68238         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68239         <bp-checks.h>.
68240         (__real_chown): Do not use CHECK_STRING.
68241         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68242         <bp-checks.h>.
68243         (__lchown): Do not use CHECK_STRING.
68244         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68245         <bp-checks.h>.
68246         (__chown): Do not use CHECK_STRING.
68247         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68248         <bp-checks.h>.
68249         (truncate64): Do not use CHECK_STRING.
68250         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68251         Likewise.
68252         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68253         (__xmknod): Do not use CHECK_STRING.
68254         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68255         <bp-checks.h>.
68256         (__xmknodat): Do not use CHECK_STRING.
68257         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68258         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68260 2013-02-04  Andreas Schwab  <schwab@suse.de>
68262         [BZ #14142]
68263         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68264         * include/netdb.h: Likewise for h_errno.
68265         * elf/tst-stackguard1.c: Include <tls.h>.
68267 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68269         * elf/link.h (struct link_map): Extend the l_addr comment.
68270         * include/link.h (struct link_map): Likewise.
68272 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68274         [BZ #13550]
68275         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68276         (BOUNDED_1): Remove macro.
68277         * debug/backtrace.c: Don't include <bp-checks.h>.
68278         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68279         (__backtrace): Likewise.
68280         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68281         <bp-checks.h>.
68282         (__backtrace): Don't use BOUNDED_1.
68283         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68284         <bp-checks.h>.
68285         (__backtrace): Don't use BOUNDED_1.
68286         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68287         (__backtrace): Don't use BOUNDED_1.
68288         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68289         (shmat): Don't use BOUNDED_N.
68291 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68293         [BZ #13550]
68294         * sysdeps/generic/bp-start.h: Remove file.
68295         * csu/libc-start.c: Don't include <bp-start.h>.
68296         (LIBC_START_MAIN): Set up __environ directly instead of using
68297         INIT_ARGV_and_ENVIRON.
68298         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68299         <bp-start.h>.
68301         [BZ #13550]
68302         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68303         definitions.
68304         (CHECK_FCNTL): Likewise.
68305         (CHECK_N_PAGES): Likewise.
68307         [BZ #13550]
68308         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68309         definitions.
68310         (CHECK_SIGSET_NULL_OK): Likewise.
68311         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68312         <bp-checks.h>.
68313         (sigpending): Don't use CHECK_SIGSET.
68314         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68315         <bp-checks.h>.
68316         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68317         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68318         <bp-checks.h>.
68319         (do_sigsuspend): Don't use CHECK_SIGSET.
68320         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68321         use CHECK_SIGSET.
68322         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68323         (do_sigwait): Don't use CHECK_SIGSET.
68324         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68325         use CHECK_SIGSET.
68326         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68327         include <bp-checks.h>.
68328         (sigpending): Don't use CHECK_SIGSET.
68329         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68330         include <bp-checks.h>.
68331         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68332         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68333         <bp-checks.h>.
68334         (sigpending): Don't use CHECK_SIGSET.
68335         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68336         <bp-checks.h>.
68337         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68339         [BZ #13550]
68340         * sysdeps/generic/bp-semctl.h: Remove file.
68341         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68342         <bp-checks.h> and <bp-semctl.h>.
68343         (__old_semctl): Don't use CHECK_SEMCTL.
68344         (__new_semctl): Likewise.
68345         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68346         and <bp-semctl.h>.
68347         (__old_semctl): Don't use CHECK_SEMCTL.
68348         (__new_semctl): Likewise.
68349         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68350         <bp-checks.h> and <bp-semctl.h>.
68351         (__old_semctl): Don't use CHECK_SEMCTL.
68352         (__new_semctl): Likewise.
68353         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68354         <bp-checks.h> and <bp-semctl.h>.
68355         (semctl): Don't use CHECK_SEMCTL.
68357         [BZ #13550]
68358         * Makerules (elide-bp-thunks): Remove variable.
68359         (elide-routines.oS): Don't use $(elide-bp-thunks).
68360         (elide-routines.os): Likewise.
68361         (elide-routines.o): Likewise.
68362         (elide-routines.op): Likewise.
68363         (elide-routines.og): Likewise.
68364         (objects): Don't use $(bp-thunks).
68365         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68366         include.
68367         (common-generated): Do not add s-proto-bp.d.
68368         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68369         (int): Likewise.
68370         (typ): Likewise.
68371         Do not generate makefile rules for bounded-pointer thunks.
68372         * sysdeps/generic/bp-thunks.h: Remove file.
68373         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68374         * sysdeps/unix/s-proto-bp.S: Likewise.
68376         [BZ #15062]
68377         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68378         parts of result separately when argument is not close to line from
68379         -i to i and one part of argument is small.
68380         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68381         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68382         * math/libm-test.inc (cacos_test): Add more tests.
68383         (casin_test): Likewise.
68384         (casinh_test): Likewise.
68385         * sysdeps/i386/fpu/libm-test-ulps: Update.
68386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68388 2013-01-31  David S. Miller  <davem@davemloft.net>
68390         * po/de.po: Update from translation team.
68392 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
68394         * time/tzfile.c: Include stdint.h for SIZE_MAX.
68396 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
68398         * configure.in (_AC_PROG_CC_C89): New definition.
68399         * configure: Regenerate.
68401         * configure.in (AC_PROG_CPP): New definition.
68402         * configure: Regenerate.
68404 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68406         * debug/tst-backtrace.h: New file.
68407         * debug/tst-backtrace2.c: Include tst-backtrace.h.
68408         (ret): Remove variable.
68409         (x): Likewise.
68410         (FAIL): Remove macro.
68411         (NO_INLINE): Likewise.
68412         (fn1): Use match function instead of strstr.
68413         * debug/tst-backtrace3.c: Include tst-backtrace.h.
68414         (ret): Remove variable.
68415         (x): Likewise.
68416         (FAIL): Remove macro.
68417         (NO_INLINE): Likewise.
68418         (fn): Use match function instead of strstr.
68419         * debug/tst-backtrace4.c: Include tst-backtrace.h.
68420         (ret): Remove variable.
68421         (x): Likewise.
68422         (FAIL): Remove macro.
68423         (NO_INLINE): Likewise.
68424         (handle_signal): Use match function instead of strstr.
68425         * debug/tst-backtrace5.c: Include tst-backtrace.h.
68426         (ret): Remove variable.
68427         (x): Likewise.
68428         (FAIL): Remove macro.
68429         (NO_INLINE): Likewise.
68430         (handle_signal): Use match function instead of strstr.
68432 2013-01-23  Roland McGrath  <roland@hack.frob.com>
68434         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68436 2013-01-23  David S. Miller  <davem@davemloft.net>
68438         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68439         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68440         argument of CAS if possible.
68441         * sysdeps/sparc/sparc64/bits/atomic.h
68442         (__arch_compare_and_exchange_val_32_acq): Likewise.
68443         (__arch_compare_and_exchange_val_64_acq): Likewise.
68445 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
68447         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
68448         * sysdeps/posix/ulimit.c: ... this.
68449         Include <limits.h>.
68450         * sysdeps/unix/bsd/ulimit.c: Remove file.
68452 2013-01-23  Adam Conrad  <adconrad@0c3.net>
68454         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
68455         (LDFLAGS-tst-array5): Likewise.
68457 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68459         [BZ #15036]
68460         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
68461         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
68462         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
68463         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
68465 2013-01-21  David S. Miller  <davem@davemloft.net>
68467         * sysdeps/sparc/backtrace.c: New file.
68468         * sysdeps/sparc/sparc32/backtrace.h: New file.
68469         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
68470         * sysdeps/sparc/sparc64/backtrace.h: New file.
68471         * sysdeps/sparc/sparc64/backtrace.c: Delete.
68472         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
68473         -funwind-tables.
68475 2013-01-21  Andreas Schwab  <schwab@suse.de>
68477         [BZ #15020]
68478         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
68479         closed its stdout.
68481 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
68483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
68484         "mpa2.h".
68485         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68487 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
68488             Mark Mitchell  <mark@codesourcery.com>
68489             Tom de Vries  <tom@codesourcery.com>
68490             Paul Pluzhnikov  <ppluzhnikov@google.com>
68492         * debug/tst-backtrace2.c: New file.
68493         * debug/tst-backtrace3.c: Likewise.
68494         * debug/tst-backtrace4.c: Likewise.
68495         * debug/tst-backtrace5.c: Likewise.
68496         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
68497         (CFLAGS-tst-backtrace3.c): Likewise.
68498         (CFLAGS-tst-backtrace4.c): Likewise.
68499         (CFLAGS-tst-backtrace5.c): Likewise.
68500         (LDFLAGS-tst-backtrace2): Likewise.
68501         (LDFLAGS-tst-backtrace3): Likewise.
68502         (LDFLAGS-tst-backtrace4): Likewise.
68503         (LDFLAGS-tst-backtrace5): Likewise.
68504         (tests): Add new tests tst-backtrace2, tst-backtrace3,
68505         tst-backtrace4 and tst-backtrace5.
68507 2013-01-18  Anton Blanchard  <anton@samba.org>
68508             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68510         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
68511         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
68512         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
68513         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
68514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68515         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
68516         "+r" and remove output regs list as redundant.  Add explicit inline
68517         asm to specify register of return val to work around compiler codegen
68518         bug.  Remove (int) cast on return value.  Add return type parameter to
68519         use in macro so that this macro does not truncate return value for
68520         64-bit values.
68521         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
68522         pass to INTERNAL_VSYSCALL_NCS.
68523         (INLINE_VSYSCALL): Add 'long int' as return type to
68524         INTERNAL_VSYSCALL_NCS macro invocation.
68525         (INTERNAL_VSYSCALL): Add 'long int' as return type to
68526         INTERNAL_VSYSCALL_NCS macro invocation.
68527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68529 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68531         [BZ #14496]
68532         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
68533         Fix application of SIMD FP exception mask.
68535         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
68536         mp_no from a power of two.
68537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
68538         __mpexp_twomm1.  Use __pow_mp.
68540         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
68541         multiplication.
68543 2013-01-17  David S. Miller  <davem@davemloft.net>
68545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68547 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68549         [BZ #15023]
68550         * include/complex.h: Condition contents on [!_COMPLEX_H].
68551         (__kernel_casinhf): New prototype.
68552         (__kernel_casinh): Likewise.
68553         (__kernel_casinhl): Likewise.
68554         * math/Makefile (libm_calls): Add k_casinh.
68555         * math/k_casinh.c: New file.
68556         * math/k_casinhf.c: Likewise.
68557         * math/k_casinhl.c: Likewise.
68558         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
68559         finite nonzero arguments.
68560         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
68561         finite nonzero arguments.
68562         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
68563         finite nonzero arguments.
68564         * math/s_casinh.c: Do not include <float.h>.
68565         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
68566         * math/s_casinhf.c: Do not include <float.h>.
68567         (__casinhf): Move code for finite nonzero arguments to
68568         k_casinhf.c.
68569         * math/s_casinhl.c: Do not include <float.h>.
68570         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
68571         redefine.
68572         (__casinhl): Move code for finite nonzero arguments to
68573         k_casinhl.c.
68574         * math/libm-test.inc (cacos_test): Add more tests.
68575         * sysdeps/i386/fpu/libm-test-ulps: Update.
68576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68578 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
68580         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
68581         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
68582         [!HAVE_MREMAP]: Remove [defined linux] case.
68583         * malloc/arena.c: Do not include <malloc-sysdep.h>.
68585 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68587         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
68589 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
68591         * elf/elf.h (R_386_SIZE32): New relocation.
68592         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
68593         R_386_SIZE32.
68594         (elf_machine_rela): Likewise.
68595         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68596         R_X86_64_SIZE64 and R_X86_64_SIZE32.
68598 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68600         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
68601         (FP_FAST_FMA): Do not define.
68602         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
68603         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
68604         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
68605         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
68606         !_SOFT_FLOAT]: Likewise.
68607         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
68608         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
68609         value.
68610         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
68611         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
68612         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
68613         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
68614         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
68615         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
68616         file.
68618 2013-01-16  Andreas Schwab  <schwab@suse.de>
68620         [BZ #14327]
68621         * include/stdlib.h (__mktemp): Add declaration.
68622         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
68623         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
68625 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68627         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
68628         definitions.
68629         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68630         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
68631         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
68632         definitions here.
68633         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
68634         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
68635         definitions.
68636         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
68637         and ONE.
68638         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
68639         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
68640         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
68641         definitions.
68642         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
68643         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
68644         definitions.
68645         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68647         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
68649 2013-01-15  David S. Miller  <davem@davemloft.net>
68651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68652         trunc{,f} to libm-sysdep_routes.
68653         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
68655         file.
68656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
68657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
68658         file.
68659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
68660         file.
68661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
68662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
68663         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
68664         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
68665         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
68666         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
68667         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
68668         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
68670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68671         nearbyint{,f} to libm-sysdep_routes.
68672         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
68674         New file.
68675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
68676         file.
68677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
68678         New file.
68679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
68680         file.
68681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
68682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
68683         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
68684         file.
68685         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
68686         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
68687         file.
68688         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
68689         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
68690         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
68692         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
68693         libc_feholdexcept and libc_fesetenv.
68695 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
68697         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
68699 2013-01-14  David S. Miller  <davem@davemloft.net>
68701         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
68702         (SPARC_ASM_VIS2_IFUNC): Likewise.
68703         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
68704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
68705         use of 'siam' instruction.
68706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
68707         Likewise.
68708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
68709         Likewise.
68710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
68711         Likewise.
68712         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
68713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
68714         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
68715         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
68716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
68717         file.
68718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
68719         file.
68720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
68721         file.
68722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
68723         file.
68724         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
68725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
68726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
68727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
68728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
68729         new VIS2 routines.
68730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68733         Likewise.
68734         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68736         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68737         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
68739         routines to libm-sysdep_routines.
68740         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68743         fdim/fdimf to libm-sysdep_routines.
68744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
68745         file.
68746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
68747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
68748         file.
68749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
68750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
68751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
68752         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
68753         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
68754         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
68755         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
68757 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68759         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
68760         to optimize copies.
68762         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
68763         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68766         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
68767         local variable MPTWO.
68768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68769         Likewise.
68771 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68773         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
68774         GLOB_NOESCAPE.
68776 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68778         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68780 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68782         * manual/pattern.texi (glob_t): Document gl_flags.
68783         (glob64_t): Likewise.
68785 2013-01-11  David S. Miller  <davem@davemloft.net>
68787         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68788         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68789         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68790         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68791         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68792         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68793         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68794         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68795         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68796         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68797         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68798         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68799         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68801         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68802         sparc V9 rather than using V8 code.
68803         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68804         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68806         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68807         Move to...
68808         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68809         Here.
68811 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68813         [BZ #14941]
68814         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68815         not in the main loop.
68816         * configure: Regenerated.
68818 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68820         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68821         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68822         to just #else.
68823         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
68824         [!__GLIBC_HAVE_LONG_LONG] case.
68825         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68826         condition to just #else.
68827         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68828         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68829         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68830         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68831         unconditional.
68832         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68833         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68834         #elif condition to just #else.
68835         * sysdeps/unix/sysv/linux/sys/sysmacros.h
68836         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
68837         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68838         #elif condition to just #else.
68840 2013-01-11  Steve Ellcey  <sellcey@mips.com>
68842         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
68843         (EF_MIPS_ARCH_64): Fix value.
68844         (EF_MIPS_ARCH_32R2): New.
68845         (EF_MIPS_ARCH_64R2): New.
68847 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
68849         * Makeconfig (+link-pie-before-libc): New.
68850         (+link-pie-after-libc): Likewise.
68851         (+link-pie-tests): Likewise.
68852         (+link-pie): Rewritten.
68853         (link-before-libc): Remove $(config-LDFLAGS).
68854         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
68855         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
68856         (config-LDFLAGS): Renamed to ...
68857         (rtld-LDFLAGS): This.
68858         (rtld-tests-LDFLAGS): New macro.
68859         (link-libc-rpath-link): Likewise.
68860         (link-libc-tests-rpath-link): Likewise.
68861         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
68862         (link-libc): Prepand $(link-libc-rpath-link).
68863         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
68864         (test-program-prefix): New macro.
68865         (test-via-rtld-prefix): Likewise.
68866         (test-program-cmd): Likewise.
68867         (host-test-program-cmd): Likewise.
68868         * Makefile ($(common-objpfx)testrun.sh): Replace
68869         $(run-program-prefix) with $(test-program-prefix).
68870         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
68871         $(rtld-LDFLAGS).
68872         ($(common-objpfx)shlib.lds): Likewise.
68873         (build-module-helper): Likewise.
68874         ($(common-objpfx)format.lds): Likewise.
68875         * Rules (binaries-pie-tests): New.
68876         (binaries-pie-notests): Likewise.
68877         (binaries-pie): Rewritten.
68878         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
68879         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
68880         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
68881         (make-test-out): Replace $(host-built-program-cmd) with
68882         $(host-test-program-cmd).
68883         * config.make.in (build-hardcoded-path-in-tests): New variable.
68884         * configure.in (--enable-hardcoded-path-in-tests): New configure
68885         option.
68886         (hardcoded_path_in_tests): New AC_SUBST.
68887         * configure: Regenerated.
68888         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
68889         $(built-program-cmd) with $(test-program-cmd).
68890         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
68891         (test_program_cmd): This.
68892         * elf/Makefile ($(objpfx)order.out): Run test with
68893         $(test-program-prefix).
68894         ($(objpfx)order2.out): Likewise.
68895         ($(objpfx)tst-initorder.out): Likewise.
68896         ($(objpfx)tst-initorder2.out): Likewise.
68897         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
68898         $(test-program-cmd).
68899         ($(objpfx)tst-array1-static.out): Likewise.
68900         ($(objpfx)tst-array2.out): Likewise.
68901         ($(objpfx)tst-array3.out): Likewise.
68902         ($(objpfx)tst-array4.out): Likewise.
68903         ($(objpfx)tst-array5.out): Likewise.
68904         ($(objpfx)tst-array5-static.out): Likewise.
68905         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
68906         $(test-program-cmd).
68907         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
68908         $(run-program-prefix) with $(test-program-prefix).
68909         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
68910         (test_program_prefix): This.
68911         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
68912         $(run-program-prefix) with $(test-program-prefix).
68913         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68914         (test_program_prefix): This.
68915         * iconvdata/tst-tables.sh: Likewise.
68916         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
68917         $(run-program-prefix) with $(test-program-prefix).
68918         ($(objpfx)tst-translit.out): Likewise.
68919         ($(objpfx)tst-gettext2.out): Likewise.
68920         ($(objpfx)tst-gettext4.out): Likewise.
68921         ($(objpfx)tst-gettext6.out): Likewise.
68922         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
68923         (test_program_prefix): This.
68924         * intl/tst-gettext2.sh: Likewise.
68925         * intl/tst-gettext4.sh  Likewise.
68926         * intl/tst-gettext6.sh: Likewise.
68927         * intl/tst-translit.sh: Likewise.
68928         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
68929         with $(test-program-cmd).
68930         * libio/Makefile ($(objpfx)test-freopen.out): Replace
68931         $(run-program-prefix) with $(test-program-prefix).
68932         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
68933         (test_program_prefix): This.
68934         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
68935         $(run-program-prefix) with $(test-program-prefix).
68936         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
68937         (test_program_prefix): This.
68938         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
68939         * posix/Makefile ($(objpfx)globtest.out): Replace
68940         $(run-via-rtld-prefix) and $(test-wrapper) with
68941         $(test-program-prefix) and $(test-via-rtld-prefix).
68942         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
68943         $(test-program-prefix).
68944         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
68945         $(host-test-program-cmd).
68946         (tst-spawn-ARGS): Likewise.
68947         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
68948         $(test-program-prefix).
68949         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
68950         (test_via_rtld_prefix): This.
68951         (test_wrapper): Renamed to ...
68952         (test_program_prefix): This.
68953         (run_program_prefix): Replaced by test_program_prefix.
68954         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
68955         (test_program_prefix): This.
68956         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
68957         with $(host-test-program-cmd).
68958         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
68959         $(run-program-prefix) with $(test-program-prefix).
68960         ($(objpfx)tst-printf.out): Likewise.
68961         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
68962         $(test-program-cmd).
68963         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
68964         (test_program_prefix): This.
68965         * stdio-common/tst-unbputc.sh: Likewise.
68966         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
68967         $(run-program-prefix) with $(test-program-prefix).
68968         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
68969         (test_program_prefix): This.
68970         * string/Makefile ($(objpfx)tst-svc.out):  Replace
68971         $(built-program-cmd) with $(test-program-cmd).
68973 2013-01-11  Andreas Jaeger  <aj@suse.de>
68975         [BZ #15003]
68976         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
68977         value. Sync with Linux 3.7.
68979 2013-01-10  David S. Miller  <davem@davemloft.net>
68981         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
68982         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68983         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68985 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68987         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
68988         never set.
68989         * configure: Regenerated.
68991 2013-01-10  David S. Miller  <davem@davemloft.net>
68993         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68994         sparc V9 rather than using V8 code.
68995         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68996         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68998 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69000         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
69001         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
69002         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
69003         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
69004         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
69005         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
69006         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
69007         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
69008         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
69009         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
69010         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
69011         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
69012         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
69013         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
69014         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
69015         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
69016         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
69017         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
69018         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
69019         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
69020         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
69021         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
69022         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
69023         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
69024         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
69025         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
69026         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
69028 2013-01-10  David S. Miller  <davem@davemloft.net>
69030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69032 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69034         * posix/Makefile (tests-static): New variable.
69035         (tests): Add $(tests-static).
69036         (tst-exec-static-ARGS): New variable.
69037         (tst-spawn-static-ARGS): Likewise.
69038         * posix/tst-exec-static.c: New file.
69039         * posix/tst-spawn-static.c: Likewise.
69040         * posix/tst-exec.c: Support run directly.
69041         * posix/tst-spawn.c: Likewise.
69043 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
69045         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
69046         long.
69047         * math/bits/mathcalls.h (llrint): Likewise.
69048         (llround): Likewise.
69049         * stdlib/stdlib.h (struct drand48_data): Likewise.
69050         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
69051         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
69052         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
69053         Likewise.
69054         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
69055         Likewise.
69056         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
69057         (elf_greg_t): Likewise.
69058         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
69059         (__jmp_buf): Likewise.
69060         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
69061         definitions.
69062         (llrint): Likewise, for all definitions.
69063         (llrintl): Likewise.
69065         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
69066         Remove [__GNUC__] condition.
69067         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
69068         condition to just [__USE_ISOC99].
69069         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
69071 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69073         [BZ #14200]
69074         * sysdeps/unix/sysv/linux/x86/bits/environments.h
69075         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
69076         defined.
69077         (_POSIX_V6_ILP32_OFF32): Likewise.
69078         (_XBS5_ILP32_OFF32): Likewise.
69079         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
69080         (__ILP32_OFFBIG_LDFLAGS): Likewise.
69082 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69084         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
69086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
69087         doubles __mpexp_twomm1.  Adjust usage.
69088         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
69089         Remove.
69091 2013-01-10  Andreas Schwab  <schwab@suse.de>
69093         [BZ #14964]
69094         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
69095         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
69097 2013-01-09  David S. Miller  <davem@davemloft.net>
69099         [BZ #15003]
69100         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
69101         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
69102         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
69103         (TCP_FASTOPEN): Define.
69104         (tcp_repair_opt): New structure.
69105         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
69106         enum values.
69107         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
69108         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
69109         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69110         (tcp_cookie_transactions): New structure.
69112 2013-01-09  Anton Blanchard  <anton@samba.org>
69114         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
69115         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
69116         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
69117         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
69119 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
69121         * include/features.h (__USE_ANSI): Remove.
69123 2013-01-09  Roland McGrath  <roland@hack.frob.com>
69125         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
69127         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
69129 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
69131         * sysdeps/s390/fpu/libm-test-ulps: Update.
69133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69135         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
69136         (__acr): Likewise.
69137         (__cpy): Likewise.
69138         (norm): Likewise.
69139         (denorm): Likewise.
69140         (__mp_dbl): Likewise.
69141         (__dbl_mp): Likewise.
69142         (add_magnitudes): Likewise.
69143         (sub_magnitudes): Likewise.
69144         (__add): Likewise.
69145         (__sub): Likewise.
69146         (__mul): Likewise.
69147         (__inv): Likewise.
69148         (__dvd): Likewise.
69149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
69150         (__acr): Likewise.
69151         (__cpy): Likewise.
69152         (norm): Likewise.
69153         (denorm): Likewise.
69154         (__mp_dbl): Likewise.
69155         (__dbl_mp): Likewise.
69156         (add_magnitudes): Likewise.
69157         (sub_magnitudes): Likewise.
69158         (__add): Likewise.
69159         (__sub): Likewise.
69160         (__mul): Likewise.
69161         (__inv): Likewise.
69162         (__dvd): Likewise.
69163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69164         (__acr): Likewise.
69165         (__cpy): Likewise.
69166         (norm): Likewise.
69167         (denorm): Likewise.
69168         (__mp_dbl): Likewise.
69169         (__dbl_mp): Likewise.
69170         (add_magnitudes): Likewise.
69171         (sub_magnitudes): Likewise.
69172         (__add): Likewise.
69173         (__sub): Likewise.
69174         (__mul): Likewise.
69175         (__inv): Likewise.
69176         (__dvd): Likewise.
69178 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
69180         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69181         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69182         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69183         2 && __USE_EXTERN_INLINES]: Likewise.
69185 2013-01-08  Andreas Jaeger  <aj@suse.de>
69187         [BZ #14985]
69188         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69189         Remove.
69190         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69191         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69193 2013-01-07  Anton Blanchard  <anton@samba.org>
69195         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69196         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69197         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69198         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69199         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69200         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69201         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69202         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69204         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69205         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69206         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69207         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69208         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69209         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69210         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69211         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69212         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69213         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69214         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69215         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69216         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69217         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69218         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69219         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69220         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69221         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69222         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69223         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69224         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69225         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69227         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69228         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69229         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69230         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69231         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69232         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69233         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69234         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69235         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69236         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69237         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69239 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69241         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69242         (__MALLOC_PMT): Likewise.
69243         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69244         [__GNUC__], only on [_LIBC].
69245         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69246         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69247         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69248         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69249         forward declaration.
69250         (realloc_hook_ini): Likewise.
69251         (memalign_hook_ini): Likewise.
69252         (__libc_memalign): Do not use __MALLOC_PMT in variable
69253         declaration.
69254         (__libc_valloc): Likewise.
69255         (__libc_pvalloc): Likewise.
69256         (__libc_calloc): Likewise.
69257         (__posix_memalign): Likewise.
69259         [BZ #14996]
69260         * math/s_casinh.c: Include <float.h>.
69261         (__casinh): Do not do computation with squaring and square root
69262         for large arguments.
69263         * math/s_casinhf.c: Include <float.h>.
69264         (__casinhf): Do not do computation with squaring and square root
69265         for large arguments.
69266         * math/s_casinhl.c: Include <float.h>.
69267         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69268         (__casinhl): Do not do computation with squaring and square root
69269         for large arguments.
69270         * math/libm-test.inc (casin_test): Add more tests.
69271         (casinh_test): Likewise.
69272         * sysdeps/i386/fpu/libm-test-ulps: Update.
69273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69275 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69277         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69278         (__x86_64_raw_data_cache_size): Likewise.
69279         (__x86_64_data_cache_size_half): Likewise.
69280         (__x86_64_raw_data_cache_size_half): Likewise.
69281         (__x86_64_shared_cache_size): Likewise.
69282         (__x86_64_raw_shared_cache_size): Likewise.
69283         (__x86_64_shared_cache_size_half): Likewise.
69284         (__x86_64_raw_shared_cache_size_half): Likewise.
69285         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69286         to ...
69287         (__x86_data_cache_size): This.
69288         (__x86_64_raw_data_cache_size): Renamed to ...
69289         (__x86_raw_data_cache_size): This.
69290         (__x86_64_data_cache_size_half): Renamed to ...
69291         (__x86_data_cache_size_half): This.
69292         (__x86_64_raw_data_cache_size_half): Renamed to ...
69293         (__x86_raw_data_cache_size_half): This.
69294         (__x86_64_shared_cache_size): Renamed to ...
69295         (__x86_shared_cache_size): This.
69296         (__x86_64_raw_shared_cache_size): Renamed to ...
69297         (__x86_raw_shared_cache_size): This.
69298         (__x86_64_shared_cache_size_half): Renamed to ...
69299         (__x86_shared_cache_size_half): This.
69300         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69301         (__x86_raw_shared_cache_size_half): This.
69302         * sysdeps/x86_64/memcpy.S: Updated.
69303         * sysdeps/x86_64/memset.S: Likewise.
69304         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69305         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69306         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69308 2013-01-04  David S. Miller  <davem@davemloft.net>
69310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69312 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69314         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69315         1 to avoid redefinition warning.
69316         (__USE_GNU): Don't define.
69317         (init_signaling_nan): Protoize.
69319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69321 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69323         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69325         (__cpymn): Likewise.
69326         (norm): Remove commented code.
69327         (denorm): Likewise.
69328         (__mp_dbl): Likewise.
69329         (__inv): Likewise.
69330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69331         (__cpymn): Likewise.
69332         (norm): Remove commented code.
69333         (denorm): Likewise.
69334         (__mp_dbl): Likewise.
69335         (__inv): Likewise.
69337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69338         mp_no value for 1.0 and 2.0.
69339         (norm): Use RADIXI instead of radixi.d.
69340         (denorm): Likewise.
69341         (__mul): Use 0.0 instead of zero.d.
69342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69343         mp_no value for 1.0 and 2.0.
69344         (norm): Use RADIXI instead of radixi.d.
69345         (denorm): Likewise.
69346         (__mul): Use 0.0 instead of zero.d.
69348 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
69350         [BZ #14994]
69351         * math/s_casinh.c (__casinh): Reduce finite argument to first
69352         quadrant then set signs of results at the end.
69353         * math/s_casinhf.c (__casinhf): Likewise.
69354         * math/s_casinhl.c (__casinhl): Likewise.
69355         * math/libm-test.inc (casin_test): Add more tests.
69356         (casinh_test): Likewise.
69357         * sysdeps/i386/fpu/libm-test-ulps: Update.
69358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69360 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69362         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69364         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69366         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69367         declarations.
69368         (denorm): Likewise.
69369         (__mp_dbl): Likewise.
69370         (__inv): Likewise.
69372         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69373         and adjust the header comment.
69375         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69376         variable name from declaration.
69378 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
69380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69381         Initialize COMMON_CPUID_INDEX_7 element.
69382         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69383         (CPUID_RTM): Likewise.
69384         (HAS_RTM): Likewise.
69385         (COMMON_CPUID_INDEX_7): New enum.
69387 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
69389         [BZ #14981]
69390         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69391         size is zero, record memory as freed.
69393 2013-01-03  Andreas Jaeger  <aj@suse.de>
69395         * po/ia.po: Add new Interlingua translation.
69397 2012-01-03  Allan McRae  <allan@archlinux.org>
69399         * locale/programs/localedef.c: Fix description of '--posix' flag.
69401 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
69403         * NEWS: Update dates in second copyright notice.
69404         * README: Update copyright dates in example.
69405         * manual/libc.texinfo: Update copyright dates.
69406         * scripts/test-installation.pl: Update copyright date in --version
69407         output.
69409         * hurd/ctty-input.c: Fix copyright notice formatting.
69410         * hurd/ctty-output.c: Likewise.
69411         * hurd/dtable.c: Likewise.
69412         * hurd/hurd-raise.c: Likewise.
69413         * hurd/hurdprio.c: Likewise.
69414         * hurd/msgportdemux.c: Likewise.
69415         * misc/sys/file.h: Likewise.
69416         * misc/sys/ioctl.h: Likewise.
69417         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69418         * sysdeps/mach/hurd/chdir.c: Likewise.
69419         * sysdeps/mach/hurd/fchdir.c: Likewise.
69420         * sysdeps/mach/hurd/rename.c: Likewise.
69421         * sysdeps/mach/hurd/rmdir.c: Likewise.
69422         * sysdeps/mach/hurd/seekdir.c: Likewise.
69423         * sysdeps/mach/hurd/setsid.c: Likewise.
69424         * sysdeps/posix/wait3.c: Likewise.
69426         * All files with FSF copyright notices: Update copyright dates
69427         using scripts/update-copyrights.
69428         * intl/plural.c: Regenerated.
69429         * locale/programs/charmap-kw.h: Likewise.
69430         * locale/programs/locfile-kw.h: Likewise.
69432 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69434         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69435         four values.
69437         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69438         calculation loop and add branch prediction.
69440         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69441         check access beyond bounds of m1np.
69443         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69444         MPTWO.
69445         (__inv): Remove local variable MPTWO to use the global
69446         constant.
69447         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
69448         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69449         variable MPTWO.
69450         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
69451         MP3HALFS static const.
69453 2013-01-01  David S. Miller  <davem@davemloft.net>
69455         * po/ca.po: Update from translation team.
69457 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
69459         * scripts/update-copyrights: New file.
69460         * Makeconfig: Reformat copyright notice.
69461         * ctype/ctype.h: Likewise.
69462         * debug/swprintf_chk.c: Likewise.
69463         * elf/dl-cache.c: Likewise.
69464         * elf/dl-debug.c: Likewise.
69465         * elf/dl-object.c: Likewise.
69466         * grp/initgroups.c: Likewise.
69467         * hurd/Makefile: Likewise.
69468         * hurd/hurd/signal.h: Likewise.
69469         * hurd/hurdfault.c: Likewise.
69470         * hurd/hurdioctl.c: Likewise.
69471         * hurd/hurdlookup.c: Likewise.
69472         * hurd/intr-msg.c: Likewise.
69473         * iconv/gconv_open.c: Likewise.
69474         * libio/swprintf.c: Likewise.
69475         * locale/lc-ctype.c: Likewise.
69476         * locale/nl_langinfo.c: Likewise.
69477         * mach/Machrules: Likewise.
69478         * mach/Makefile: Likewise.
69479         * malloc/obstack.h: Likewise.
69480         * manual/Makefile: Likewise.
69481         * manual/tsort.awk: Likewise.
69482         * misc/bits/stab.def: Likewise.
69483         * nis/nis_print_group_entry.c: Likewise.
69484         * nis/nis_table.c: Likewise.
69485         * nis/nss_compat/compat-pwd.c: Likewise.
69486         * nis/nss_compat/compat-spwd.c: Likewise.
69487         * po/Makefile: Likewise.
69488         * posix/fnmatch.c: Likewise.
69489         * posix/regex.h: Likewise.
69490         * resolv/Makefile: Likewise.
69491         * resolv/nss_dns/dns-network.c: Likewise.
69492         * resolv/res_hconf.c: Likewise.
69493         * scripts/gen-sorted.awk: Likewise.
69494         * soft-fp/soft-fp.h: Likewise.
69495         * stdio-common/printf.h: Likewise.
69496         * stdlib/monetary.h: Likewise.
69497         * stdlib/random.c: Likewise.
69498         * stdlib/random_r.c: Likewise.
69499         * sysdeps/generic/Makefile: Likewise.
69500         * sysdeps/gnu/Makefile: Likewise.
69501         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69503         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69504         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69505         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69508         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69509         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69510         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69511         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69512         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69513         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69514         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69515         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
69516         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69517         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69519         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69520         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69521         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69522         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69523         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69524         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
69525         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
69526         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69527         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
69528         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
69529         * sysdeps/mach/hurd/errnos.awk: Likewise.
69530         * sysdeps/mach/hurd/fork.c: Likewise.
69531         * sysdeps/mach/hurd/getcwd.c: Likewise.
69532         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
69533         * sysdeps/mach/hurd/mmap.c: Likewise.
69534         * sysdeps/mach/hurd/utimes.c: Likewise.
69535         * sysdeps/mach/hurd/xmknod.c: Likewise.
69536         * sysdeps/posix/profil.c: Likewise.
69537         * sysdeps/posix/readdir_r.c: Likewise.
69538         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69539         * sysdeps/powerpc/bits/setjmp.h: Likewise.
69540         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
69541         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69543         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69544         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69545         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69547         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69548         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69549         * sysdeps/pthread/lio_listio.c: Likewise.
69550         * sysdeps/sparc/dl-procinfo.h: Likewise.
69551         * sysdeps/unix/i386/sysdep.S: Likewise.
69552         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
69553         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
69554         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
69555         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
69556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69557         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
69558         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
69559         * sysdeps/unix/sysv/linux/speed.c: Likewise.
69560         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
69561         * sysdeps/wordsize-32/divdi3.c: Likewise.
69562         * time/sys/time.h: Likewise.
69563         * wcsmbs/Makefile: Likewise.
69565 2013-01-01  David S. Miller  <davem@davemloft.net>
69567         * po/fr.po: Update from translation team.
69569         * catgets/gencat.c: Update copyright year.
69570         * csu/version.c: Likewise.
69571         * debug/catchsegv.sh: Likewise.
69572         * debug/pcprofiledump.c: Likewise.
69573         * debug/xtrace.sh: Likewise.
69574         * elf/ldconfig.c: Likewise.
69575         * elf/ldd.bash.in: Likewise.
69576         * elf/pldd.c: Likewise.
69577         * elf/sotruss.ksh: Likewise.
69578         * elf/sprof.c: Likewise.
69579         * iconv/iconv_prog.c: Likewise.
69580         * iconv/iconvconfig.c: Likewise.
69581         * locale/programs/locale.c: Likewise.
69582         * locale/programs/localedef.c: Likewise.
69583         * login/programs/pt_chown.c: Likewise.
69584         * malloc/memusage.sh: Likewise.
69585         * malloc/memusagestat.c: Likewise.
69586         * malloc/mtrace.pl: Likewise.
69587         * nscd/nscd.c: Likewise.
69588         * nss/getent.c: Likewise.
69589         * nss/makedb.c: Likewise.
69590         * posix/getconf.c: Likewise.
69592 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69594         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
69595         numbers.
69597 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
69599         * math/bits/mathcalls.h (modf): Use __nonnull.
69601 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69603         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
69604         (split): Use macro CN instead of the bare value.
69605         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
69606         could be used.
69607         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
69608         instead of the bare value.
69609         (power1): Likewise.
69611 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69613         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
69614         __ATAN_TWOM.
69615         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69617         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
69618         their values.
69619         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69620         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69621         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
69622         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69624 2012-12-28  Andreas Jaeger  <aj@suse.de>
69626         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
69627         values are from Linux 3.7.
69629         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
69630         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
69632 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69634         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
69635         TRUE case.
69637         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
69638         (norm): Likewise.
69639         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
69640         variables with preprocessor constants.
69641         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69642         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69643         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69645 2012-12-27  Bruno Haible  <bruno@clisp.org>
69647         [BZ #14317]
69648         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
69649         only if needed.
69651 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69653         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
69654         and use variable directly.
69655         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
69657         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69658         MPONE.
69659         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
69660         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69661         variable MPONE.
69662         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69664         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
69665         include directive.  Remove local variable MPONE.
69666         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
69667         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
69668         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69670 2012-12-25  David S. Miller  <davem@davemloft.net>
69672         * version.h (RELEASE): Set to "development".
69673         (VERSION): Set to "2.17.90".
69674         * NEWS: Add 2.18 section.
69676 2012-12-21  David S. Miller  <davem@davemloft.net>
69678         * po/hr.po: Update from translation team.
69680 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69682         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
69684 2012-12-19  Steve Ellcey  <sellcey@mips.com>
69686         * NEWS:  Mention new memcpy for MIPS.
69688 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69690         * manual/contrib.texi (Contributors): Spelling correction.
69692 2012-12-15  David S. Miller  <davem@davemloft.net>
69694         * po/ru.po: Update from translation team.
69696 2012-12-13  David S. Miller  <davem@davemloft.net>
69698         * NEWS: Mention IFUNC testsuite enhancements.
69700         * po/pl.po: Update from translation team.
69701         * po/bg.po: Likewise.
69703         * manual/contrib.texi (Contributors): Update entries for Hongjiu
69704         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
69706 2012-12-11  David S. Miller  <davem@davemloft.net>
69708         * po/sv.po: Update from translation team.
69710         * po/vi.po: Update from translation team.
69712         * po/cs.po: Update from translation team.
69714         * po/de.po: Update from translation team.
69715         * po/eo.po: Likewise.
69716         * po/nl.po: Likewise.
69718 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
69720         [BZ #14246]
69721         * manual/argp.texi (Argp Helper Functions): Move node to follow
69722         Argp Parsing State.
69724         [BZ #14872]
69725         * manual/conf.texi (Limits on File System Capacity): Mention if
69726         terminating null is included in the max size.
69728 2012-12-10  Andreas Jaeger  <aj@suse.de>
69730         * po/cs.po: Update from translation team.
69732 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69734         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
69735         void pointer and cast to uintptr_t.
69736         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
69737         path.
69738         * sysdeps/s390/s390-64/memcpy.S: Likewise.
69739         * sysdeps/s390/s390-64/memset.S: Likewise.
69741 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
69743         [BZ #14833]
69744         * menual/message.texi (Message Translation): Fix typos.
69745         (Helper programs for gettext): Likewise.
69747 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
69749         [BZ #14898]
69750         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
69751         Change to -1.
69753 2012-12-07  David S. Miller  <davem@davemloft.net>
69755         * po/libc.pot: Update.
69757 2012-12-07  Richard Henderson  <rth@redhat.com>
69759         [BZ #10114]
69760         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
69761         normal/normal case to before the switch.
69762         (_FP_DIV): Likewise.
69764 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
69765             Mike Frysinger  <vapier@gentoo.org>
69767         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
69768         check for __NR_fadvise64_64.
69770 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
69772         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
69773         0, not just to plain "0" as a statement.
69774         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69775         with cw.
69777 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
69779         * NEWS: Use sourceware.org in Bugzilla URL.
69781 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69784         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69786         * stdio-common/tst-put-error.c (do_test): Add newline to the
69787         padded test to ensure flush.
69789 2012-12-05  Jeff Law  <law@redhat.com>
69791         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69793 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69795         * README: Don't refer to ports add-on as distributed separately.
69796         Mention AArch64 in list of systems supported in the ports add-on.
69798         * LICENSES: Add more non-FSF copyright and license notices.
69800         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69801         ((unused)).
69803         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69805         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69806         10000 as width of padded output.
69808 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69810         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69812         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69813         variable LX with __attribute__ ((unused)).
69814         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69815         Likewise.
69816         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69817         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69818         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69819         with __attribute__ ((unused)).
69821 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69823         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69825 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69827         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69828         (CFLAGS-nldbl-acos.c): New variable.
69829         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69830         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69831         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69832         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69833         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
69834         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
69835         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
69836         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
69837         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
69838         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
69839         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
69840         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
69841         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
69842         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
69843         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
69844         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
69845         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
69846         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
69847         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
69848         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69849         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
69850         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
69851         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
69852         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
69853         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
69854         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
69855         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
69856         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69857         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
69858         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
69859         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
69860         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
69861         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
69862         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
69863         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
69864         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
69865         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
69866         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
69867         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
69868         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
69869         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
69870         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
69871         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
69872         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
69873         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
69874         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
69875         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
69876         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
69877         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69878         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
69879         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
69880         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
69881         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
69882         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
69883         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
69884         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
69885         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
69886         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
69887         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
69888         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69889         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
69890         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
69891         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
69892         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
69893         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
69894         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
69895         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
69896         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
69897         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
69898         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
69899         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
69900         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
69901         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
69902         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
69903         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
69904         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
69905         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
69906         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
69907         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
69908         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
69909         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
69910         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
69911         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
69912         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
69913         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
69914         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
69915         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
69916         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
69917         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
69918         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
69919         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
69920         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
69921         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
69922         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
69923         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
69924         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
69925         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
69927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69928         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69930         [BZ #14914]
69931         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
69932         whole low double instead of just low 47 bits when splitting values
69933         into two parts.
69935 2012-12-03  Allan McRae  <allan@archlinux.org>
69937         * manual/stdio.texi (Predefined Printf Handlers): Remove
69938         @hsep and @vsep usage.
69940 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
69942         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
69943         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
69945 2012-12-03  Jeff Law  <law@redhat.com>
69947         * time/sys/time.h (settimeofday): Do not mark TV argument
69948         as __nonnull.
69950 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
69952         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
69953         when currently writing and seek to current position when not.
69954         * libio/Makefile (tests): Remove bug-fclose1.
69955         * libio/bug-fclose1.c: Delete.
69957 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
69959         * manual/arith.texi (feenableexcept): Fix typo.
69960         (fedisableexcept): Likewise.
69962 2012-11-30  Roland McGrath  <roland@hack.frob.com>
69964         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
69965         second, differently-typed declaration, rather than a cast.
69967 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69969         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
69970         * include/rpc/svc.h: ... here.
69972 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
69974         [BZ #13013]
69975         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
69976         depending n and resplen2 to catch cases where answer
69977         equals answerp2.
69979 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
69981         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
69982         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
69984 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
69986         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
69988 2012-11-29  Roland McGrath  <roland@hack.frob.com>
69990         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
69992 2012-11-28  Jeff Law  <law@redhat.com>
69994         [BZ #13761]
69995         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
69996         dataset_temporary.  Track alloca usage into alloca_used.
69997         If dataset is large allocate and release it via malloc/free.
69999 2012-06-04  Florian Weimer  <fweimer@redhat.com>
70001         [BZ #14197]
70002         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
70004 2012-11-28  David S. Miller  <davem@davemloft.net>
70006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70008 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70010         [BZ #14803]
70011         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
70012         of pi/2 rounded to nearest to 64 bits.
70013         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
70014         nearest to 64 bits.
70015         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
70016         bits.
70018 2012-11-28  Jeff Law <law@redhat.com>
70019             Martin Osvald <mosvald@redhat.com>
70021         [BZ #14889]
70022         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
70023         * sunrpc/svc.c: Include time.h.
70024         (__svc_accept_failed): New function.
70025         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
70026         any reason other than EINTR, call __svc_accept_failed.
70027         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
70028         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
70030 2012-11-28  Andreas Schwab  <schwab@suse.de>
70032         * scripts/abilist.awk: Also handle indirect functions in .opd
70033         section.
70035 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70037         [BZ #13881]
70038         * sysdeps/x86/fpu/powl_helper.c: New file.
70039         * sysdeps/x86/fpu/Makefile: Likewise.
70040         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
70041         (p3): New object.
70042         (__ieee754_powl): Use __powl_helper for finite arguments except
70043         integer exponents below 8.
70044         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
70045         (p3): New object.
70046         (__ieee754_powl): Use __powl_helper for finite arguments except
70047         integer exponents below 8.
70048         * math/libm-test.inc (pow_test): Add more tests and enable some
70049         previously disabled tests.
70050         * sysdeps/i386/fpu/libm-test-ulps: Update.
70051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70053 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70054             Carlos O'Donell  <carlos_odonell@mentor.com>
70056         * nss/makedb.c (is_prime): Assert that input is odd and greater
70057         than 4.  Note that fact in a comment too.
70058         (next_prime): Add 4 to input.
70060 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70062         [BZ #11741]
70063         * libio/Makefile (tests): Add test case tst-fwrite-error.
70064         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
70065         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
70066         * libio/tst-fwrite-error.c: New test case.
70068 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
70070         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
70071         before casting to void *.
70072         * include/libc-internal.h (__pointer_type): New macro.
70073         (__integer_if_pointer_type_sub): Likewise.
70074         (__integer_if_pointer_type): Likewise.
70075         (cast_to_integer): Likewise.
70076         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
70077         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
70078         before casting to atomic64_t.
70079         (atomic_exchange_acq): Likewise.
70080         (__arch_exchange_and_add_body): Likewise.
70081         (__arch_add_body): Likewise.
70082         (atomic_add_negative): Likewise.
70083         (atomic_add_zero): Likewise.
70085 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
70087         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
70088         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
70089         (add_fdes): Likewise.
70090         (linear_search_fdes): Likewise.
70091         (binary_search_unencoded_fdes): Likewise.
70093 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
70095         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
70097 2012-11-24  Adam Conrad  <adconrad@0c3.net>
70099         * configure.in: Autodetect C++ header directories.
70100         * configure: Regenerated.
70102 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
70104         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
70106 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
70108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70110 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
70112         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
70113         LDBL_MANT_DIG == 106]: Disable some tests.
70114         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70115         Likewise.
70116         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70117         Likewise.
70119         [BZ #14871]
70120         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
70121         input for small inputs.  Return +/- pi/2 for large inputs.
70122         * math/libm-test.inc (atan_test): Add more tests.
70124         * sysdeps/generic/unwind-dw2-fde-glibc.c
70125         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
70126         __attribute__ ((unused)).
70128         [BZ #14645]
70129         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
70130         x * y if x and y are nonzero and z is zero.
70132         [BZ #14811]
70133         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
70134         nonzero exponents with absolute value below 0x1p-117 to +/-
70135         0x1p-117.
70137         [BZ #14869]
70138         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
70139         up arguments below 2**-450, not just those below 2**-500.
70140         * math/libm-test.inc (hypot_test): Add another test.
70142         [BZ #14868]
70143         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
70144         Return a+b for ratio over 2**120, not 2**60.
70145         * math/libm-test.inc (hypot_test): Add another test.
70147         * math/libm-test.inc (clog_test): Use
70148         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
70149         (clog10_test): Likewise.
70151         [BZ #6778]
70152         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70154 2012-11-22  Andreas Schwab  <schwab@suse.de>
70156         * sysdeps/i386/fpu/libm-test-ulps: Update.
70158 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
70160         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70161         printf output with newline.
70163 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
70165         [BZ #14865]
70166         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70167         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70168         -z nodlopen, -z initfirst and -z execstack support.
70169         * configure: Regenerated.
70171         * elf/elf.h (DF_1_NODIRECT): New macro.
70172         (DF_1_IGNMULDEF): Likewise.
70173         (DF_1_NOKSYMS): Likewise.
70174         (DF_1_NOHDR): Likewise.
70175         (DF_1_EDITED): Likewise.
70176         (DF_1_NORELOC): Likewise.
70177         (DF_1_SYMINTPOSE): Likewise.
70178         (DF_1_GLOBAUDIT): Likewise.
70179         (DF_1_SINGLETON): Likewise.
70180         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70181         DT_1_SUPPORTED_MASK bits.
70182         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70184 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
70186         * sysdeps/unix/make-syscalls.sh: Document prefixes.
70188 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
70190         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70191         macro.
70193         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70194         (sendmmsg): Move declarations...
70195         * socket/sys/socket.h: ... here.
70196         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70197         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70198         include it from...
70199         * socket/recvmmsg.c: ... this new file.
70200         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70201         (sendmmsg): Rename to __sendmmsg, create weak alias and make
70202         definition of __sendmmsg hidden.
70203         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70204         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70205         Move ENOSYS stub into and include it from...
70206         * socket/sendmmsg.c: ... this new file.
70207         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70208         (sysdep_routines): Move recvmmsg and sendmmsg...
70209         * socket/Makefile (routines): ... here.
70210         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70211         (GLIBC_PRIVATE): Add __sendmmsg.
70212         * include/sys/socket.h (__sendmmsg): Add declarations.
70213         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70214         sendmmsg.
70216 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70218         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70219         variable I1 with __attribute__ ((unused)).
70220         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70222 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70224         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70225         DUMMY variables with __attribute__ ((unused)).
70227         * bits/byteswap.h: Include <bits/types.h>.
70228         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70230 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70232         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70233         string_t.  Do not manually set errno.
70234         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70235         length with __strnlen.  Make sure to both set errno and return it on
70236         failure.
70238 2012-11-19  David S. Miller  <davem@davemloft.net>
70240         With help from Joseph Myers.
70241         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70242         very large arguments properly.
70243         * math/libm-test.inc (atan_test): New tests.
70244         (atan2_test): New tests.
70245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70248 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70250         [BZ #14856]
70251         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70252         Define to 3.
70254         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70255         [POSIX] (EADDRNOTAVAIL): Likewise.
70256         [POSIX] (EAFNOSUPPORT): Likewise.
70257         [POSIX] (EALREADY): Likewise.
70258         [POSIX] (ECONNABORTED): Likewise.
70259         [POSIX] (ECONNREFUSED): Likewise.
70260         [POSIX] (ECONNRESET): Likewise.
70261         [POSIX] (EDESTADDRREQ): Likewise.
70262         [POSIX] (EDQUOT): Likewise.
70263         [POSIX] (EHOSTUNREACH): Likewise.
70264         [POSIX] (EIDRM): Likewise.
70265         [POSIX] (EISCONN): Likewise.
70266         [POSIX] (ELOOP): Likewise.
70267         [POSIX] (EMULTIHOP): Likewise.
70268         [POSIX] (ENETDOWN): Likewise.
70269         [POSIX] (ENETUNREACH): Likewise.
70270         [POSIX] (ENOBUFS): Likewise.
70271         [POSIX] (ENODATA): Likewise.
70272         [POSIX] (ENOLINK): Likewise.
70273         [POSIX] (ENOMSG): Likewise.
70274         [POSIX] (ENOPROTOOPT): Likewise.
70275         [POSIX] (ENOSR): Likewise.
70276         [POSIX] (ENOSTR): Likewise.
70277         [POSIX] (ENOTCONN): Likewise.
70278         [POSIX] (ENOTSOCK): Likewise.
70279         [POSIX] (EOPNOTSUPP): Likewise.
70280         [POSIX] (EOVERFLOW): Likewise.
70281         [POSIX] (EPROTO): Likewise.
70282         [POSIX] (EPROTONOSUPPORT): Likewise.
70283         [POSIX] (EPROTOTYPE): Likewise.
70284         [POSIX] (ESTALE): Likewise.
70285         [POSIX] (ETIME): Likewise.
70286         [POSIX] (ETXTBSY): Likewise.
70287         [POSIX] (EWOULDBLOCK): Likewise.
70288         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70289         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70290         [POSIX] (SEEK_CUR): Likewise.
70291         [POSIX] (SEEK_END): Likewise.
70292         [POSIX || UNIX98] (mode_t): Do not require.
70293         [POSIX] (off_t): Likewise.
70294         [POSIX] (pid_t): Likewise.
70295         [POSIX] (sys/stat.h): Do not allow header.
70296         [POSIX] (unistd.h): Likewise.
70297         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70298         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70299         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70300         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70301         require.
70302         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70303         sigevent): Specify elements.
70304         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70305         entry.
70306         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70307         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70309         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70310         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70311         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70312         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70313         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70314         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70315         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70316         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70317         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70318         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70319         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70320         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70321         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70322         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70323         Likewise.
70324         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70325         Likewise.
70326         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70327         Likewise.
70328         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70329         Likewise.
70330         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70331         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70332         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70333         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70334         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70335         Specify lower bound on value.
70336         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70337         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70338         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70339         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70340         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70341         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70342         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70343         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70344         value.
70345         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70346         as optional.
70347         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70348         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70349         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70350         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70351         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70352         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70353         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70354         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70355         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70356         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70357         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70358         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70359         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70360         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70361         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70362         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70363         entry.
70364         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70365         optional.
70366         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70367         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70368         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70369         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70370         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70371         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70372         Likewise.
70373         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70374         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70375         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70376         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70377         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
70378         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70379         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70380         as optional.
70381         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70382         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70383         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70384         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70385         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70386         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70387         specify as optional.
70388         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70389         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70390         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70391         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70392         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70393         [XPG3] (NL_LANGMAX): Likewise.
70394         [POSIX || XPG3] (NL_MSGMAX): Likewise.
70395         [POSIX || XPG3] (NL_NMAX): Likewise.
70396         [POSIX || XPG3] (NL_SETMAX): Likewise.
70397         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70398         [XPG3] (NZERO): Likewise.
70399         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70400         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70401         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70402         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70403         (REG_ERANGE): Expect.
70404         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70405         optional-constant.
70406         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70407         Use (void) in prototype.
70408         [POSIX] (*_t): Allow.
70409         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70410         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70411         (WRDE_BADVAL): Expect.
70413         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70414         expect.
70415         [XPG3 || XPG4] (O_RSYNC): Likewise.
70416         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70417         Likewise.
70418         [XPG3 || XPG4] (pthread_sigmask): Likewise.
70419         [XPG3 || XPG4] (sigqueue): Likewise.
70420         [XPG3 || XPG4] (sigtimedwait): Likewise.
70421         [XPG3 || XPG4] (sigwaitinfo): Likewise.
70422         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70423         [XPG3 || XPG4] (vsnprintf): Likewise.
70424         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70425         Likewise.
70426         [XPG3 || XPG4] (blksize_t): Likewise.
70427         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70428         Likewise.
70429         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70430         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70431         [XPG3 || XPG4] (struct itimerspec): Likewise.
70432         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70433         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70434         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70435         [XPG3 || XPG4] (clockid_t): Likewise.
70436         [XPG3 || XPG4] (timer_t): Likewise.
70437         [XPG3 || XPG4] (clock_getres): Likewise.
70438         [XPG3 || XPG4] (clock_gettime): Likewise.
70439         [XPG3 || XPG4] (clock_settime): Likewise.
70440         [XPG3 || XPG4] (nanosleep): Likewise.
70441         [XPG3 || XPG4] (timer_create): Likewise.
70442         [XPG3 || XPG4] (timer_delete): Likewise.
70443         [XPG3 || XPG4] (timer_gettime): Likewise.
70444         [XPG3 || XPG4] (timer_getoverrun): Likewise.
70445         [XPG3 || XPG4] (timer_settime): Likewise.
70446         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
70447         [XPG3 || XPG4] (getlogin_r): Likewise.
70448         [XPG3 || XPG4] (pread): Likewise.
70449         [XPG3 || XPG4] (pthread_atfork): Likewise.
70450         [XPG3 || XPG4] (pwrite): Likewise.
70452         [BZ #14835]
70453         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
70454         <bits/siginfo.h>.
70456 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70458         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
70459         finalizing MALLSTREAM.
70461         * sysdeps/mach/hurd/syncfs.c: New file.
70463 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70465         [BZ #14719]
70466         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
70467         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
70468         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
70469         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
70470         (_nss_dns_gethostbyname4_r): Likewise.
70471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
70472         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
70474 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
70476         [BZ #13763]
70477         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
70479 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
70481         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
70482         * elf/cache.c (print_entry): Print ",AArch64" for
70483         FLAG_AARCH64_LIB64
70485         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
70486         * elf/cache.c (print_entry): Print ",hard-float" for
70487         FLAG_ARM_LIBHF.
70489 2012-11-18  David S. Miller  <davem@davemloft.net>
70491         With help from Joseph Myers.
70492         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
70493         cutoff to 2**-13.
70494         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
70495         cutoff to 2**-25.
70496         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
70497         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
70498         small.
70499         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
70500         * math/libm-test.inc (y0_test): New tests.
70501         (y1_test): New tests.
70502         * sysdeps/i386/fpu/libm-test-ulps: Update.
70503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70506 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
70508         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
70509         64-bit targets.
70510         * configure: Regenerated.
70512 2012-11-17  David S. Miller  <davem@davemloft.net>
70514         [BZ #14811]
70515         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
70516         nonzero exponents with absolute value below 0x1p-128 to +/-
70517         0x1p-128.
70519 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
70521         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
70523         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
70525         * posix/getconf-speclist.c: New file.
70526         * posix/posix-envs.def: Likewise.
70527         * posix/confstr.c (START_ENV_GROUP): New macro.
70528         (END_ENV_GROUP): Likewise.
70529         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70530         (KNOWN_PRESENT_ENV_STRING): Likewise.
70531         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70532         (UNKNOWN_ENVIRONMENT): Likewise.
70533         (confstr): Include posix-envs.def instead of handling
70534         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
70535         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
70536         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
70537         (END_ENV_GROUP): Likewise.
70538         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70539         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70540         (UNKNOWN_ENVIRONMENT): Likewise.
70541         (__sysconf): Include posix-envs.def instead of handling associated
70542         cases directly here.
70543         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
70544         preprocessing getconf-speclist.c rather than running getconf or
70545         generating empty file.
70547 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
70549         * scripts/check-local-headers.sh: Ignore 'mach' headers.
70551 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
70553         [BZ #14672]
70554         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
70556 2012-11-16  David S. Miller  <davem@davemloft.net>
70558         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
70559         smaller than LDBL_EPSILON/2.0L, just return xm1.
70561 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
70563         * elf/tst-array1.c (init): Set constructor priority to 1000.
70564         (fini): Set destructor priority to 1000.
70565         * elf/tst-array2dep.c: Likewise.
70567 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70569         [BZ #11741]
70570         * libio/fileops.c (_IO_new_file_write): Correctly return error.
70571         (_IO_new_file_xsputn): Also return EOF if none of the input
70572         data was written when overflow failed.
70573         * libio/iopadn.c (_IO_padn): Likewise.
70574         * libio/iowpadn.c (_IO_wpadn): Likewise.
70575         * stdio-common/tst-put-error.c: Add copyright notice.
70576         (do_test): Add case for printing padded string.
70577         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
70578         _IO_padn returned error.
70579         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
70580         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
70581         return EOF.
70583 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70585         * libio/libioP.h: Add comment note that the references to C++
70586         bits are now obsolete.
70588 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70590         * math/libm-test.inc (check_complex): Use asprintf.
70592 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
70594         * debug/pcprofiledump.c (print_version): Update copyright year.
70595         * malloc/memusagestat.c (print_version): Likewise.
70597 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
70599         [BZ #14831]
70600         * elf/Makefile (tests): Add tst-audit8.
70601         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
70602         ($(objpfx)tst-audit8.out): New target.
70603         (tst-audit8-ENV): New variable.
70604         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
70605         audit if l_reloc_result is NULL.
70606         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
70607         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
70608         * elf/tst-audit8.c: New file.
70610 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70612         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
70613         * misc/Makefile (CFLAGS-select.c): Define.
70614         * posix/Makefile (CFLAGS-pause.c): Define.
70616 2012-11-13  David S. Miller  <davem@davemloft.net>
70618         * crypt/Makefile: Move test targets after toplevel Rules
70619         inclusion.  Grab any necessary sysdep routines when linking.
70620         * crypt/md5.c (md5_process_block): Remove define, we will always
70621         name it __md5_process_block.
70622         (md5_finish_ctx): Update md5_process_block call.
70623         (md5_stream): Likewise.
70624         (md5_process_bytes): Likewise.
70625         (md5_process_block): Rename to __md5_process_block and move to ...
70626         * crypt/md5-block.c: ... here.
70627         * crypt/sha256.c (sha256_process_block): Move to ...
70628         * crypt/sha256-block.c: ... here.
70629         * crypt/sha512.c (sha512_process_block): Move to ...
70630         * crypt/sha512-block.c: ... here.
70631         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
70632         path.
70633         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
70634         * sysdeps/sparc/sparc64/multiarch/Makefile
70635         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
70636         crypt subdir.
70637         (localedef-aux): Add md5 crypto assembler when in locale subdir.
70638         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
70639         multiarch changes.
70640         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
70641         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
70642         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
70643         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
70644         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
70645         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
70646         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
70647         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
70648         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
70649         file.
70650         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
70651         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
70652         file.
70653         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
70655 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
70657         * timezone/tzselect.ksh: Update from tzcode git revision
70658         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
70659         * timezone/zdump.c: Likewise.
70660         * timezone/zic.c: Likewise.
70661         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
70662         in TZVERSION setting, not $(PKGVERSION).
70663         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
70664         REPORT_BUGS_TO settings.
70666         [BZ #14838]
70667         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
70668         macro.
70670 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70672         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
70673         detection to immediately after _FP_ROUND().
70674         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
70675         bits are 0.
70677 2012-11-11  David S. Miller  <davem@davemloft.net>
70679         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
70680         inttypes.h
70681         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
70682         __close rather than their public counterparts.
70684 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
70686         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
70687         file.
70688         [UNIX98] (sem_timedwait): Do not expect.
70689         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
70690         [XPG4 || UNIX98] (sockatmark): Do not expect.
70691         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
70692         (clock_getcpuclockid): Do not expect.
70693         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
70694         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
70695         Do not expect.
70696         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
70697         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
70698         [UNIX98] (vwscanf): Likewise.
70699         [UNIX98] (vswscanf): Likewise.
70701 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
70703         * timezone/version.h: Remove file.
70704         * timezone/README: Do not refer to version.h.
70705         * timezone/Makefile ($(objpfx)zic.o): New dependency on
70706         $(objpfx)version.h.
70707         ($(objpfx)zdump.o): Likewise.
70708         ($(objpfx)version.h): New target.
70710         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
70711         2012i.
70712         * timezone/README: Don't mention modification to tzselect.ksh.
70713         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
70714         work on unmodified tzselect.ksh.  Substitute version numbers in
70715         tzselect.ksh.
70717         * Makefile (format-me): Remove.
70718         (INSTALL): Adjust indentation.  Use commands directly instead of
70719         using $(format-me).
70721         * aclocal.m4 (ACX_PKGVERSION): New macro.
70722         (ACX_BUGURL): Likewise.
70723         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
70724         (PKGVERSION): New AC_DEFINE_UNQUOTED.
70725         (REPORT_BUGS_TO): Likewise.
70726         * configure: Regenerated.
70727         * config.h.in (PKGVERSION): New macro.
70728         (REPORT_BUGS_TO): Likewise.
70729         * config.make.in (PKGVERSION): New variable.
70730         (PKGVERSION_TEXI): Likewise.
70731         (REPORT_BUGS_TO): Likewise.
70732         (REPORT_BUGS_TEXI): Likewise.
70733         * Makefile (format-me): Use -I$(common-objpfx)manual.
70734         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
70735         ($(common-objpfx)manual/%): New target.
70736         (manual/%): Remove target.
70737         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
70738         (print_version): Use PKGVERSION.
70739         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
70740         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
70741         and REPORT_BUGS_TO.
70742         ($(objpfx)xtrace): Likewise.
70743         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
70744         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
70745         (print_version): Use PKGVERSION.
70746         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
70747         (do_version): Use PKGVERSION.
70748         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
70749         REPORT_BUGS_TO.
70750         (common-ldd-rewrite): Likewise.
70751         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
70752         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70753         (print_version): Use PKGVERSION.
70754         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
70755         * elf/pldd.c (argp_program_bug_address): Remove variable.
70756         (more_help): New function.
70757         (argp): Use more_help.
70758         (print_version): Use PKGVERSION.
70759         * elf/sln.c (main): Use PKGVERSION.
70760         (usage): Use REPORT_BUGS_TO.
70761         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
70762         (top level): Use PKGVERSION.
70763         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
70764         (print_version): Use PKGVERSION.
70765         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
70766         (print_version): Use PKGVERSION.
70767         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
70768         (print_version): Use PKGVERSION.
70769         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
70770         (print_version): Use PKGVERSION.
70771         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
70772         (print_version): Use PKGVERSION.
70773         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
70774         (print_version): Use PKGVERSION.
70775         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70776         and BUGURL.
70777         ($(objpfx)memusage): Likewise.
70778         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70779         (do_version): Use PKGVERSION.
70780         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70781         (print_version): Use PKGVERSION.
70782         * malloc/mtrace.pl ($PACKAGE): Remove variable.
70783         ($PKGVERSION): New variable.
70784         ($REPORT_BUGS_TO): Likewise.
70785         (usage): Use $REPORT_BUGS_TO.
70786         (top level): Use $PKGVERSION.
70787         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70788         ($(objpfx)pkgvers.texi): New rule.
70789         ($(objpfx)stamp-pkgvers): Likewise.
70790         * manual/install.texi: Include pkgvers.texi.
70791         (--with-pkgversion): Document new configure option.
70792         (--with-bugurl): Likewise.
70793         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70794         than necessarily for this particular distribution.  Use
70795         REPORT_BUGS_TO for where to report bugs.
70796         * INSTALL: Regenerated.
70797         * manual/libc.texinfo: Include pkgvers.texi.
70798         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70799         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70800         (print_version): Use PKGVERSION.
70801         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70802         (print_version): Use PKGVERSION.
70803         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70804         (print_version): Use PKGVERSION.
70805         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70806         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70807         macro.
70808         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70809         (print_version): Use PKGVERSION.
70810         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70811         (print_version): Use PKGVERSION.
70812         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70813         and PKGVERSION.
70815         * timezone/checktab.awk: Update from tzcode 2012i.
70816         * timezone/ialloc.c: Likewise.
70817         * timezone/private.h: Likewise.
70818         * timezone/scheck.c: Likewise.
70819         * timezone/tzfile.h: Likewise.
70820         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70821         (TZVERSION): Hardcode tzcode version number.
70822         * timezone/zdump.c: Update from tzcode 2012i.
70823         * timezone/zic.c: Likewise.
70824         * timezone/version.h: New file.
70825         * timezone/README: Describe version.h.  Update upstream location.
70827         [BZ #14824]
70828         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70829         (mktemp): Enable declaration.
70830         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70831         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70832         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70833         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
70834         Likewise.
70835         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
70836         Likewise.
70837         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
70838         Likewise.
70839         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
70840         Likewise.
70841         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
70842         Likewise.
70843         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
70844         Likewise.
70846         [BZ #14821]
70847         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
70848         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
70849         for copies of such integer values.
70850         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70851         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70853 2012-11-09  Andreas Jaeger  <aj@suse.de>
70855         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
70856         definitions and declarations that are provided by
70857         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70859 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70861         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
70862         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
70863         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
70864         definition.
70866 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70868         * elf/elf.h: Update comment before AArch64 relocations.
70870 2012-11-07  David S. Miller  <davem@davemloft.net>
70872         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
70873         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70874         (__start_context): Declare.
70875         (__makecontext_ret): Delete.
70876         (__makecontext): Hook up __start_context instead of
70877         __makecontext_ret.
70878         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
70879         (sysdep_routines): Add __start_context when in stdlib.
70881 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70883         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
70884         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
70885         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
70886         hardcoded "nm".
70887         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
70888         (READELF): New variable.  Use it instead of hardcoded "readelf".
70890 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70892         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
70893         * sysdeps/x86/Makefile: Here.
70894         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
70895         * sysdeps/x86/tst-xmmymm.sh: This.
70897 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70899         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
70900         expectations.
70901         [UNIX98] (pthread_barrier_t): Do not expect.
70902         [UNIX98] (pthread_barrierattr_t): Likewise.
70903         [UNIX98] (pthread_spinlock_t): Likewise.
70904         [UNIX98] (pthread_barrier_destroy): Likewise.
70905         [UNIX98] (pthread_barrier_init): Likewise.
70906         [UNIX98] (pthread_barrier_wait): Likewise.
70907         [UNIX98] (pthread_barrierattr_destroy): Likewise.
70908         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
70909         [UNIX98] (pthread_barrierattr_init): Likewise.
70910         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
70911         [UNIX98] (pthread_getcpuclockid): Likewise.
70912         [UNIX98] (pthread_mutex_timedlock): Likewise.
70913         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
70914         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
70915         [UNIX98] (pthread_sigmask): Likewise.
70916         [UNIX98] (pthread_spin_destroy): Likewise.
70917         [UNIX98] (pthread_spin_init): Likewise.
70918         [UNIX98] (pthread_spin_lock): Likewise.
70919         [UNIX98] (pthread_spin_trylock): Likewise.
70920         [UNIX98] (pthread_spin_unlock): Likewise.
70921         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
70922         Do not expect.
70923         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
70924         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
70925         [XPG3 || XPG4] (pthread_cond_t): Likewise.
70926         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
70927         [XPG3 || XPG4] (pthread_key_t): Likewise.
70928         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
70929         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
70930         [XPG3 || XPG4] (pthread_once_t): Likewise.
70931         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
70932         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
70933         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
70934         [XPG3 || XPG4] (pthread_t): Likewise.
70936         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
70937         not expect.
70938         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
70940         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
70941         Change function return type to int.
70943         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
70944         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
70945         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
70946         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
70947         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
70948         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
70949         [!POSIX] (posix_madvise): Likewise.
70950         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
70951         && !UNIX98].
70952         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
70953         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
70954         (mode_t): Likewise.
70955         (posix_mem_offset): Likewise.
70956         (posix_typed_mem_get_info): Likewise.
70957         (posix_typed_mem_open): Likewise.
70959         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
70960         Change condition to [XOPEN2K8].
70962         * conform/conformtest.pl: Preprocess allow-header data with -x c
70963         instead of from stdin.
70964         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
70965         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70966         [C99-based standards] (cerfc): Likewise.
70967         [C99-based standards] (cexp2): Likewise.
70968         [C99-based standards] (cexpm1): Likewise.
70969         [C99-based standards] (clog10): Likewise.
70970         [C99-based standards] (clog1p): Likewise.
70971         [C99-based standards] (clog2): Likewise.
70972         [C99-based standards] (clgamma): Likewise.
70973         [C99-based standards] (ctgamma): Likewise.
70974         [C99-based standards] (cerff): Likewise.
70975         [C99-based standards] (cerfcf): Likewise.
70976         [C99-based standards] (cexp2f): Likewise.
70977         [C99-based standards] (cexpm1f): Likewise.
70978         [C99-based standards] (clog10f): Likewise.
70979         [C99-based standards] (clog1pf): Likewise.
70980         [C99-based standards] (clog2f): Likewise.
70981         [C99-based standards] (clgammaf): Likewise.
70982         [C99-based standards] (ctgammaf): Likewise.
70983         [C99-based standards] (cerfl): Likewise.
70984         [C99-based standards] (cerfcl): Likewise.
70985         [C99-based standards] (cexp2l): Likewise.
70986         [C99-based standards] (cexpm1l): Likewise.
70987         [C99-based standards] (clog10l): Likewise.
70988         [C99-based standards] (clog1pl): Likewise.
70989         [C99-based standards] (clog2l): Likewise.
70990         [C99-based standards] (clgammal): Likewise.
70991         [C99-based standards] (ctgammal): Likewise.
70992         * conform/data/inttypes.h-data [C99-based standards]: Include
70993         stdint.h-data.  Remove all expectations for stdint.h contents.
70994         [C99-based standards] (PRI*): Do not allow.
70995         [C99-based standards] (SCN*): Likewise.
70996         [C99-based standards] (*_t): Likewise.
70997         [C99-based-standards] (PRId8): Expect macro.
70998         [C99-based-standards] (PRIi8): Likewise.
70999         [C99-based-standards] (PRIo8): Likewise.
71000         [C99-based-standards] (PRIu8): Likewise.
71001         [C99-based-standards] (PRIx8): Likewise.
71002         [C99-based-standards] (PRIX8): Likewise.
71003         [C99-based-standards] (SCNd8): Likewise.
71004         [C99-based-standards] (SCNi8): Likewise.
71005         [C99-based-standards] (SCNo8): Likewise.
71006         [C99-based-standards] (SCNu8): Likewise.
71007         [C99-based-standards] (SCNx8): Likewise.
71008         [C99-based-standards] (PRIdLEAST8): Likewise.
71009         [C99-based-standards] (PRIiLEAST8): Likewise.
71010         [C99-based-standards] (PRIoLEAST8): Likewise.
71011         [C99-based-standards] (PRIuLEAST8): Likewise.
71012         [C99-based-standards] (PRIxLEAST8): Likewise.
71013         [C99-based-standards] (PRIXLEAST8): Likewise.
71014         [C99-based-standards] (SCNdLEAST8): Likewise.
71015         [C99-based-standards] (SCNiLEAST8): Likewise.
71016         [C99-based-standards] (SCNoLEAST8): Likewise.
71017         [C99-based-standards] (SCNuLEAST8): Likewise.
71018         [C99-based-standards] (SCNxLEAST8): Likewise.
71019         [C99-based-standards] (PRIdFAST8): Likewise.
71020         [C99-based-standards] (PRIiFAST8): Likewise.
71021         [C99-based-standards] (PRIoFAST8): Likewise.
71022         [C99-based-standards] (PRIuFAST8): Likewise.
71023         [C99-based-standards] (PRIxFAST8): Likewise.
71024         [C99-based-standards] (PRIXFAST8): Likewise.
71025         [C99-based-standards] (SCNdFAST8): Likewise.
71026         [C99-based-standards] (SCNiFAST8): Likewise.
71027         [C99-based-standards] (SCNoFAST8): Likewise.
71028         [C99-based-standards] (SCNuFAST8): Likewise.
71029         [C99-based-standards] (SCNxFAST8): Likewise.
71030         [C99-based-standards] (PRId16): Likewise.
71031         [C99-based-standards] (PRIi16): Likewise.
71032         [C99-based-standards] (PRIo16): Likewise.
71033         [C99-based-standards] (PRIu16): Likewise.
71034         [C99-based-standards] (PRIx16): Likewise.
71035         [C99-based-standards] (PRIX16): Likewise.
71036         [C99-based-standards] (SCNd16): Likewise.
71037         [C99-based-standards] (SCNi16): Likewise.
71038         [C99-based-standards] (SCNo16): Likewise.
71039         [C99-based-standards] (SCNu16): Likewise.
71040         [C99-based-standards] (SCNx16): Likewise.
71041         [C99-based-standards] (PRIdLEAST16): Likewise.
71042         [C99-based-standards] (PRIiLEAST16): Likewise.
71043         [C99-based-standards] (PRIoLEAST16): Likewise.
71044         [C99-based-standards] (PRIuLEAST16): Likewise.
71045         [C99-based-standards] (PRIxLEAST16): Likewise.
71046         [C99-based-standards] (PRIXLEAST16): Likewise.
71047         [C99-based-standards] (SCNdLEAST16): Likewise.
71048         [C99-based-standards] (SCNiLEAST16): Likewise.
71049         [C99-based-standards] (SCNoLEAST16): Likewise.
71050         [C99-based-standards] (SCNuLEAST16): Likewise.
71051         [C99-based-standards] (SCNxLEAST16): Likewise.
71052         [C99-based-standards] (PRIdFAST16): Likewise.
71053         [C99-based-standards] (PRIiFAST16): Likewise.
71054         [C99-based-standards] (PRIoFAST16): Likewise.
71055         [C99-based-standards] (PRIuFAST16): Likewise.
71056         [C99-based-standards] (PRIxFAST16): Likewise.
71057         [C99-based-standards] (PRIXFAST16): Likewise.
71058         [C99-based-standards] (SCNdFAST16): Likewise.
71059         [C99-based-standards] (SCNiFAST16): Likewise.
71060         [C99-based-standards] (SCNoFAST16): Likewise.
71061         [C99-based-standards] (SCNuFAST16): Likewise.
71062         [C99-based-standards] (SCNxFAST16): Likewise.
71063         [C99-based-standards] (PRId32): Likewise.
71064         [C99-based-standards] (PRIi32): Likewise.
71065         [C99-based-standards] (PRIo32): Likewise.
71066         [C99-based-standards] (PRIu32): Likewise.
71067         [C99-based-standards] (PRIx32): Likewise.
71068         [C99-based-standards] (PRIX32): Likewise.
71069         [C99-based-standards] (SCNd32): Likewise.
71070         [C99-based-standards] (SCNi32): Likewise.
71071         [C99-based-standards] (SCNo32): Likewise.
71072         [C99-based-standards] (SCNu32): Likewise.
71073         [C99-based-standards] (SCNx32): Likewise.
71074         [C99-based-standards] (PRIdLEAST32): Likewise.
71075         [C99-based-standards] (PRIiLEAST32): Likewise.
71076         [C99-based-standards] (PRIoLEAST32): Likewise.
71077         [C99-based-standards] (PRIuLEAST32): Likewise.
71078         [C99-based-standards] (PRIxLEAST32): Likewise.
71079         [C99-based-standards] (PRIXLEAST32): Likewise.
71080         [C99-based-standards] (SCNdLEAST32): Likewise.
71081         [C99-based-standards] (SCNiLEAST32): Likewise.
71082         [C99-based-standards] (SCNoLEAST32): Likewise.
71083         [C99-based-standards] (SCNuLEAST32): Likewise.
71084         [C99-based-standards] (SCNxLEAST32): Likewise.
71085         [C99-based-standards] (PRIdFAST32): Likewise.
71086         [C99-based-standards] (PRIiFAST32): Likewise.
71087         [C99-based-standards] (PRIoFAST32): Likewise.
71088         [C99-based-standards] (PRIuFAST32): Likewise.
71089         [C99-based-standards] (PRIxFAST32): Likewise.
71090         [C99-based-standards] (PRIXFAST32): Likewise.
71091         [C99-based-standards] (SCNdFAST32): Likewise.
71092         [C99-based-standards] (SCNiFAST32): Likewise.
71093         [C99-based-standards] (SCNoFAST32): Likewise.
71094         [C99-based-standards] (SCNuFAST32): Likewise.
71095         [C99-based-standards] (SCNxFAST32): Likewise.
71096         [C99-based-standards] (PRId64): Likewise.
71097         [C99-based-standards] (PRIi64): Likewise.
71098         [C99-based-standards] (PRIo64): Likewise.
71099         [C99-based-standards] (PRIu64): Likewise.
71100         [C99-based-standards] (PRIx64): Likewise.
71101         [C99-based-standards] (PRIX64): Likewise.
71102         [C99-based-standards] (SCNd64): Likewise.
71103         [C99-based-standards] (SCNi64): Likewise.
71104         [C99-based-standards] (SCNo64): Likewise.
71105         [C99-based-standards] (SCNu64): Likewise.
71106         [C99-based-standards] (SCNx64): Likewise.
71107         [C99-based-standards] (PRIdLEAST64): Likewise.
71108         [C99-based-standards] (PRIiLEAST64): Likewise.
71109         [C99-based-standards] (PRIoLEAST64): Likewise.
71110         [C99-based-standards] (PRIuLEAST64): Likewise.
71111         [C99-based-standards] (PRIxLEAST64): Likewise.
71112         [C99-based-standards] (PRIXLEAST64): Likewise.
71113         [C99-based-standards] (SCNdLEAST64): Likewise.
71114         [C99-based-standards] (SCNiLEAST64): Likewise.
71115         [C99-based-standards] (SCNoLEAST64): Likewise.
71116         [C99-based-standards] (SCNuLEAST64): Likewise.
71117         [C99-based-standards] (SCNxLEAST64): Likewise.
71118         [C99-based-standards] (PRIdFAST64): Likewise.
71119         [C99-based-standards] (PRIiFAST64): Likewise.
71120         [C99-based-standards] (PRIoFAST64): Likewise.
71121         [C99-based-standards] (PRIuFAST64): Likewise.
71122         [C99-based-standards] (PRIxFAST64): Likewise.
71123         [C99-based-standards] (PRIXFAST64): Likewise.
71124         [C99-based-standards] (SCNdFAST64): Likewise.
71125         [C99-based-standards] (SCNiFAST64): Likewise.
71126         [C99-based-standards] (SCNoFAST64): Likewise.
71127         [C99-based-standards] (SCNuFAST64): Likewise.
71128         [C99-based-standards] (SCNxFAST64): Likewise.
71129         [C99-based-standards] (PRIdMAX): Likewise.
71130         [C99-based-standards] (PRIiMAX): Likewise.
71131         [C99-based-standards] (PRIoMAX): Likewise.
71132         [C99-based-standards] (PRIuMAX): Likewise.
71133         [C99-based-standards] (PRIxMAX): Likewise.
71134         [C99-based-standards] (PRIXMAX): Likewise.
71135         [C99-based-standards] (SCNdMAX): Likewise.
71136         [C99-based-standards] (SCNiMAX): Likewise.
71137         [C99-based-standards] (SCNoMAX): Likewise.
71138         [C99-based-standards] (SCNuMAX): Likewise.
71139         [C99-based-standards] (SCNxMAX): Likewise.
71140         [C99-based-standards] (PRIdPTR): Likewise.
71141         [C99-based-standards] (PRIiPTR): Likewise.
71142         [C99-based-standards] (PRIoPTR): Likewise.
71143         [C99-based-standards] (PRIuPTR): Likewise.
71144         [C99-based-standards] (PRIxPTR): Likewise.
71145         [C99-based-standards] (PRIXPTR): Likewise.
71146         [C99-based-standards] (SCNdPTR): Likewise.
71147         [C99-based-standards] (SCNiPTR): Likewise.
71148         [C99-based-standards] (SCNoPTR): Likewise.
71149         [C99-based-standards] (SCNuPTR): Likewise.
71150         [C99-based-standards] (SCNxPTR): Likewise.
71151         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71152         allow.
71153         * conform/data/stdint.h-data: Update comments to clarify
71154         requirements.
71155         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
71156         type.
71157         [C99-based standards] (INT8_MAX): Likewise.
71158         [C99-based standards] (INT16_MIN): Likewise.
71159         [C99-based standards] (INT16_MAX): Likewise.
71160         [C99-based standards] (INT32_MIN): Likewise.
71161         [C99-based standards] (INT32_MAX): Likewise.
71162         [C99-based standards] (INT64_MIN): Likewise.
71163         [C99-based standards] (INT64_MAX): Likewise.
71164         [C99-based standards] (UINT8_MAX): Likewise.
71165         [C99-based standards] (UINT16_MAX): Likewise.
71166         [C99-based standards] (UINT32_MAX): Likewise.
71167         [C99-based standards] (UINT64_MAX): Likewise.
71168         [C99-based standards] (INT_LEAST8_MIN): Likewise.
71169         [C99-based standards] (INT_LEAST8_MAX): Likewise.
71170         [C99-based standards] (INT_LEAST16_MIN): Likewise.
71171         [C99-based standards] (INT_LEAST16_MAX): Likewise.
71172         [C99-based standards] (INT_LEAST32_MIN): Likewise.
71173         [C99-based standards] (INT_LEAST32_MAX): Likewise.
71174         [C99-based standards] (INT_LEAST64_MIN): Likewise.
71175         [C99-based standards] (INT_LEAST64_MAX): Likewise.
71176         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71177         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71178         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71179         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71180         [C99-based standards] (INT_FAST8_MIN): Likewise.
71181         [C99-based standards] (INT_FAST8_MAX): Likewise.
71182         [C99-based standards] (INT_FAST16_MIN): Likewise.
71183         [C99-based standards] (INT_FAST16_MAX): Likewise.
71184         [C99-based standards] (INT_FAST32_MIN): Likewise.
71185         [C99-based standards] (INT_FAST32_MAX): Likewise.
71186         [C99-based standards] (INT_FAST64_MIN): Likewise.
71187         [C99-based standards] (INT_FAST64_MAX): Likewise.
71188         [C99-based standards] (UINT_FAST8_MAX): Likewise.
71189         [C99-based standards] (UINT_FAST16_MAX): Likewise.
71190         [C99-based standards] (UINT_FAST32_MAX): Likewise.
71191         [C99-based standards] (UINT_FAST64_MAX): Likewise.
71192         [C99-based standards] (INTPTR_MIN): Likewise.
71193         [C99-based standards] (INTPTR_MAX): Likewise.
71194         [C99-based standards] (UINTPTR_MAX): Likewise.
71195         [C99-based standards] (INTMAX_MIN): Likewise.
71196         [C99-based standards] (INTMAX_MAX): Likewise.
71197         [C99-based standards] (UINTMAX_MAX): Likewise.
71198         [C99-based standards] (PTRDIFF_MIN): Likewise.
71199         [C99-based standards] (PTRDIFF_MAX): Likewise.
71200         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71201         [C99-based standards] (SIZE_MAX): Likewise.
71202         [C99-based standards] (WCHAR_MAX): Likewise.
71203         [C99-based standards] (WINT_MAX): Likewise.
71204         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
71205         constraint on value.
71206         [C99-based standards] (WCHAR_MIN): Likewise.
71207         [C99-based standards] (WINT_MIN): Likewise.
71208         [C99-based standards] (*_t): Allow.
71209         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71210         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71211         Include math.h-data and complex.h-data.  Remove all expectations
71212         of math.h and complex.h contents.
71213         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71214         at end of line.
71215         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71216         (struct tm): Expect tag.
71217         [C99-based-standards] (wcstof): Expect function.
71218         [C99-based-standards] (wcstold): Likewise.
71219         [C99-based-standards] (wcstoll): Likewise.
71220         [C99-based-standards] (wcstoull): Likewise.
71221         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71222         macro-int-constant.  Specify type.
71223         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71224         constraint on value.
71225         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71226         Specify type.
71227         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71228         Specify value.
71229         [ISO C standards]: Do not allow headers.
71230         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71231         wcs[abcdefghijklmnopqrstuvwxyz]*.
71232         [ISO C standards] (*_t): Do not allow.
71233         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71234         Expect function.
71235         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71236         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71237         Specify type.
71238         [ISO C standards]: Do not allow headers.
71239         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71240         is[abcdefghijklmnopqrstuvwxyz]*.
71241         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71242         to[abcdefghijklmnopqrstuvwxyz]*.
71243         [ISO C standards] (*_t): Do not allow.
71244         * conform/data/stdalign.h-data: New file.
71245         * conform/data/stdbool.h-data: Likewise.
71246         * conform/data/stdnoreturn.h-data: Likewise.
71248 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71250         [BZ #14815]
71251         * manual/filesys.texi (Directory Entries): Typo fix.
71252         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71254 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71256         * elf/elf.h (EM_AARCH64): New macro.
71257         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71258         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71259         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71260         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71261         (R_AARCH64_TLSDESC): Likewise.
71262         (NT_ARM_TLS): Likewise.
71263         (NT_ARM_HW_BREAK): Likewise.
71264         (NT_ARM_HW_WATCH): Likewise.
71266 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71268         [BZ #14811]
71269         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71270         (__ieee754_powl): Saturate nonzero exponents with absolute value
71271         below 0x1p-79 to +/- 0x1p-79.
71272         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71273         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71274         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71275         nonzero exponents with absolute value below 0x1p-32 to +/-
71276         0x1p-32.
71277         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71278         (__ieee754_powl): Saturate nonzero exponents with absolute value
71279         below 0x1p-79 to +/- 0x1p-79.
71280         * math/libm-test.inc (pow_test): Add more tests.
71282 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71284         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71285         _dl_s390_cap_flags with kernel. Increase string length.
71286         (_dl_s390_platforms): Add z196 and zEC12.
71288 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71290         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71291         Change XOPEN21K to XOPEN2K.
71293 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71295         * string/memmove.c: Use memcpy when possible.
71297 2012-11-06  Andreas Jaeger  <aj@suse.de>
71299         * po/eo.po: Update from translation team.
71301 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71303         [BZ #14793]
71304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71305         exponent and small x and y exponents, scale x or y up.  Increase
71306         by 2 the exponent used in scaling up.
71307         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71308         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71309         * math/libm-test.inc (fma_test): Add more tests.
71310         (fma_test_towardzero): Likewise.
71311         (fma_test_downward): Likewise.
71312         (fma_test_upward): Likewise.
71314 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71316         [BZ #14805]
71317         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71318         fenv_t *.
71320         [BZ #14801]
71321         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71322         namespace for names of struct fields.
71323         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71324         fenv_t fields.
71325         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71326         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71328 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71330         [BZ #3665]
71331         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71333 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71335         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71336         PTR_DEMANGLE.
71338         [BZ #5246]
71339         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71340         PTR_DEMANGLE.
71342 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
71344         [BZ #14797]
71345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71346         definitely overflow as x * y not x * y + z.
71347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71349         * math/libm-test.inc (fma_test): Add more tests.
71350         (fma_test_towardzero): Likewise.
71351         (fma_test_downward): Likewise.
71352         (fma_test_upward): Likewise.
71354 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71356         [BZ #157]
71358         * include/stub-tag.h: Remove file.
71359         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71360         '#include' of it.
71361         * manual/maint.texi (Porting): Don't reference it.
71362         * Makerules ($(objpfx)stubs): Likewise.
71363         * dirent/closedir.c: Don't include <stub-tag.h>.
71364         * dirent/dirfd.c: Likewise.
71365         * dirent/fdopendir.c: Likewise.
71366         * dirent/getdents.c: Likewise.
71367         * dirent/getdents64.c: Likewise.
71368         * dirent/opendir.c: Likewise.
71369         * dirent/readdir.c: Likewise.
71370         * dirent/readdir64.c: Likewise.
71371         * dirent/readdir64_r.c: Likewise.
71372         * dirent/readdir_r.c: Likewise.
71373         * dirent/rewinddir.c: Likewise.
71374         * dirent/seekdir.c: Likewise.
71375         * dirent/telldir.c: Likewise.
71376         * gmon/profil.c: Likewise.
71377         * grp/setgroups.c: Likewise.
71378         * inet/if_index.c: Likewise.
71379         * io/access.c: Likewise.
71380         * io/chdir.c: Likewise.
71381         * io/chmod.c: Likewise.
71382         * io/chown.c: Likewise.
71383         * io/close.c: Likewise.
71384         * io/dup.c: Likewise.
71385         * io/dup2.c: Likewise.
71386         * io/dup3.c: Likewise.
71387         * io/euidaccess.c: Likewise.
71388         * io/faccessat.c: Likewise.
71389         * io/fchdir.c: Likewise.
71390         * io/fchmod.c: Likewise.
71391         * io/fchmodat.c: Likewise.
71392         * io/fchown.c: Likewise.
71393         * io/fchownat.c: Likewise.
71394         * io/fcntl.c: Likewise.
71395         * io/flock.c: Likewise.
71396         * io/fstatfs.c: Likewise.
71397         * io/fstatfs64.c: Likewise.
71398         * io/fstatvfs.c: Likewise.
71399         * io/fstatvfs64.c: Likewise.
71400         * io/futimens.c: Likewise.
71401         * io/fxstat.c: Likewise.
71402         * io/fxstat64.c: Likewise.
71403         * io/fxstatat.c: Likewise.
71404         * io/fxstatat64.c: Likewise.
71405         * io/getcwd.c: Likewise.
71406         * io/isatty.c: Likewise.
71407         * io/lchmod.c: Likewise.
71408         * io/lchown.c: Likewise.
71409         * io/link.c: Likewise.
71410         * io/linkat.c: Likewise.
71411         * io/lseek.c: Likewise.
71412         * io/lseek64.c: Likewise.
71413         * io/lxstat64.c: Likewise.
71414         * io/mkdir.c: Likewise.
71415         * io/mkdirat.c: Likewise.
71416         * io/mkfifo.c: Likewise.
71417         * io/mkfifoat.c: Likewise.
71418         * io/open.c: Likewise.
71419         * io/open64.c: Likewise.
71420         * io/openat.c: Likewise.
71421         * io/openat64.c: Likewise.
71422         * io/pipe.c: Likewise.
71423         * io/pipe2.c: Likewise.
71424         * io/poll.c: Likewise.
71425         * io/posix_fadvise.c: Likewise.
71426         * io/posix_fadvise64.c: Likewise.
71427         * io/posix_fallocate.c: Likewise.
71428         * io/posix_fallocate64.c: Likewise.
71429         * io/read.c: Likewise.
71430         * io/readlink.c: Likewise.
71431         * io/readlinkat.c: Likewise.
71432         * io/rmdir.c: Likewise.
71433         * io/sendfile.c: Likewise.
71434         * io/sendfile64.c: Likewise.
71435         * io/statfs.c: Likewise.
71436         * io/statfs64.c: Likewise.
71437         * io/statvfs.c: Likewise.
71438         * io/statvfs64.c: Likewise.
71439         * io/symlink.c: Likewise.
71440         * io/symlinkat.c: Likewise.
71441         * io/ttyname.c: Likewise.
71442         * io/ttyname_r.c: Likewise.
71443         * io/umask.c: Likewise.
71444         * io/unlink.c: Likewise.
71445         * io/unlinkat.c: Likewise.
71446         * io/utime.c: Likewise.
71447         * io/utimensat.c: Likewise.
71448         * io/write.c: Likewise.
71449         * io/xmknod.c: Likewise.
71450         * io/xmknodat.c: Likewise.
71451         * io/xstat.c: Likewise.
71452         * io/xstat64.c: Likewise.
71453         * login/getpt.c: Likewise.
71454         * login/grantpt.c: Likewise.
71455         * login/unlockpt.c: Likewise.
71456         * math/e_acoshl.c: Likewise.
71457         * math/e_acosl.c: Likewise.
71458         * math/e_asinl.c: Likewise.
71459         * math/e_atan2l.c: Likewise.
71460         * math/e_atanhl.c: Likewise.
71461         * math/e_coshl.c: Likewise.
71462         * math/e_expl.c: Likewise.
71463         * math/e_fmodl.c: Likewise.
71464         * math/e_gammal_r.c: Likewise.
71465         * math/e_hypotl.c: Likewise.
71466         * math/e_j0l.c: Likewise.
71467         * math/e_j1l.c: Likewise.
71468         * math/e_jnl.c: Likewise.
71469         * math/e_lgammal_r.c: Likewise.
71470         * math/e_log10l.c: Likewise.
71471         * math/e_log2l.c: Likewise.
71472         * math/e_logl.c: Likewise.
71473         * math/e_powl.c: Likewise.
71474         * math/e_rem_pio2l.c: Likewise.
71475         * math/e_sinhl.c: Likewise.
71476         * math/e_sqrtl.c: Likewise.
71477         * math/fclrexcpt.c: Likewise.
71478         * math/fedisblxcpt.c: Likewise.
71479         * math/feenablxcpt.c: Likewise.
71480         * math/fegetenv.c: Likewise.
71481         * math/fegetexcept.c: Likewise.
71482         * math/fegetround.c: Likewise.
71483         * math/feholdexcpt.c: Likewise.
71484         * math/fesetenv.c: Likewise.
71485         * math/fesetround.c: Likewise.
71486         * math/feupdateenv.c: Likewise.
71487         * math/fgetexcptflg.c: Likewise.
71488         * math/fraiseexcpt.c: Likewise.
71489         * math/fsetexcptflg.c: Likewise.
71490         * math/ftestexcept.c: Likewise.
71491         * math/k_cosl.c: Likewise.
71492         * math/k_rem_pio2l.c: Likewise.
71493         * math/k_sinl.c: Likewise.
71494         * math/k_tanl.c: Likewise.
71495         * math/s_asinhl.c: Likewise.
71496         * math/s_atanl.c: Likewise.
71497         * math/s_cbrtl.c: Likewise.
71498         * math/s_erfl.c: Likewise.
71499         * math/s_expm1l.c: Likewise.
71500         * math/s_log1pl.c: Likewise.
71501         * math/s_tanhl.c: Likewise.
71502         * misc/acct.c: Likewise.
71503         * misc/brk.c: Likewise.
71504         * misc/chflags.c: Likewise.
71505         * misc/chroot.c: Likewise.
71506         * misc/fchflags.c: Likewise.
71507         * misc/fgetxattr.c: Likewise.
71508         * misc/flistxattr.c: Likewise.
71509         * misc/fremovexattr.c: Likewise.
71510         * misc/fsetxattr.c: Likewise.
71511         * misc/fsync.c: Likewise.
71512         * misc/ftruncate.c: Likewise.
71513         * misc/futimes.c: Likewise.
71514         * misc/futimesat.c: Likewise.
71515         * misc/getdomain.c: Likewise.
71516         * misc/getdtsz.c: Likewise.
71517         * misc/gethostid.c: Likewise.
71518         * misc/gethostname.c: Likewise.
71519         * misc/getloadavg.c: Likewise.
71520         * misc/getpagesize.c: Likewise.
71521         * misc/getsysstats.c: Likewise.
71522         * misc/getxattr.c: Likewise.
71523         * misc/gtty.c: Likewise.
71524         * misc/ioctl.c: Likewise.
71525         * misc/lgetxattr.c: Likewise.
71526         * misc/listxattr.c: Likewise.
71527         * misc/llistxattr.c: Likewise.
71528         * misc/lremovexattr.c: Likewise.
71529         * misc/lsetxattr.c: Likewise.
71530         * misc/lutimes.c: Likewise.
71531         * misc/madvise.c: Likewise.
71532         * misc/mincore.c: Likewise.
71533         * misc/mlock.c: Likewise.
71534         * misc/mlockall.c: Likewise.
71535         * misc/mmap.c: Likewise.
71536         * misc/mprotect.c: Likewise.
71537         * misc/msync.c: Likewise.
71538         * misc/munlock.c: Likewise.
71539         * misc/munlockall.c: Likewise.
71540         * misc/munmap.c: Likewise.
71541         * misc/preadv.c: Likewise.
71542         * misc/preadv64.c: Likewise.
71543         * misc/ptrace.c: Likewise.
71544         * misc/pwritev.c: Likewise.
71545         * misc/pwritev64.c: Likewise.
71546         * misc/readv.c: Likewise.
71547         * misc/reboot.c: Likewise.
71548         * misc/remap_file_pages.c: Likewise.
71549         * misc/removexattr.c: Likewise.
71550         * misc/revoke.c: Likewise.
71551         * misc/select.c: Likewise.
71552         * misc/setdomain.c: Likewise.
71553         * misc/setegid.c: Likewise.
71554         * misc/seteuid.c: Likewise.
71555         * misc/sethostid.c: Likewise.
71556         * misc/sethostname.c: Likewise.
71557         * misc/setregid.c: Likewise.
71558         * misc/setreuid.c: Likewise.
71559         * misc/setxattr.c: Likewise.
71560         * misc/sstk.c: Likewise.
71561         * misc/stty.c: Likewise.
71562         * misc/swapoff.c: Likewise.
71563         * misc/swapon.c: Likewise.
71564         * misc/sync.c: Likewise.
71565         * misc/syncfs.c: Likewise.
71566         * misc/syscall.c: Likewise.
71567         * misc/truncate.c: Likewise.
71568         * misc/ualarm.c: Likewise.
71569         * misc/usleep.c: Likewise.
71570         * misc/ustat.c: Likewise.
71571         * misc/utimes.c: Likewise.
71572         * misc/vhangup.c: Likewise.
71573         * misc/writev.c: Likewise.
71574         * posix/_exit.c: Likewise.
71575         * posix/alarm.c: Likewise.
71576         * posix/execve.c: Likewise.
71577         * posix/fexecve.c: Likewise.
71578         * posix/fork.c: Likewise.
71579         * posix/fpathconf.c: Likewise.
71580         * posix/getaddrinfo.c: Likewise.
71581         * posix/getegid.c: Likewise.
71582         * posix/geteuid.c: Likewise.
71583         * posix/getgid.c: Likewise.
71584         * posix/getgroups.c: Likewise.
71585         * posix/getlogin.c: Likewise.
71586         * posix/getlogin_r.c: Likewise.
71587         * posix/getpgid.c: Likewise.
71588         * posix/getpid.c: Likewise.
71589         * posix/getppid.c: Likewise.
71590         * posix/getresgid.c: Likewise.
71591         * posix/getresuid.c: Likewise.
71592         * posix/getsid.c: Likewise.
71593         * posix/getuid.c: Likewise.
71594         * posix/glob64.c: Likewise.
71595         * posix/nanosleep.c: Likewise.
71596         * posix/pathconf.c: Likewise.
71597         * posix/pause.c: Likewise.
71598         * posix/posix_madvise.c: Likewise.
71599         * posix/pread.c: Likewise.
71600         * posix/pread64.c: Likewise.
71601         * posix/pwrite.c: Likewise.
71602         * posix/pwrite64.c: Likewise.
71603         * posix/sched_getaffinity.c: Likewise.
71604         * posix/sched_getp.c: Likewise.
71605         * posix/sched_gets.c: Likewise.
71606         * posix/sched_primax.c: Likewise.
71607         * posix/sched_primin.c: Likewise.
71608         * posix/sched_rr_gi.c: Likewise.
71609         * posix/sched_setaffinity.c: Likewise.
71610         * posix/sched_setp.c: Likewise.
71611         * posix/sched_sets.c: Likewise.
71612         * posix/sched_yield.c: Likewise.
71613         * posix/setgid.c: Likewise.
71614         * posix/setlogin.c: Likewise.
71615         * posix/setpgid.c: Likewise.
71616         * posix/setresgid.c: Likewise.
71617         * posix/setresuid.c: Likewise.
71618         * posix/setsid.c: Likewise.
71619         * posix/setuid.c: Likewise.
71620         * posix/sleep.c: Likewise.
71621         * posix/spawni.c: Likewise.
71622         * posix/sysconf.c: Likewise.
71623         * posix/times.c: Likewise.
71624         * posix/wait.c: Likewise.
71625         * posix/wait3.c: Likewise.
71626         * posix/wait4.c: Likewise.
71627         * posix/waitpid.c: Likewise.
71628         * resolv/gai_sigqueue.c: Likewise.
71629         * resource/getpriority.c: Likewise.
71630         * resource/getrlimit.c: Likewise.
71631         * resource/getrusage.c: Likewise.
71632         * resource/nice.c: Likewise.
71633         * resource/setpriority.c: Likewise.
71634         * resource/setrlimit.c: Likewise.
71635         * resource/ulimit.c: Likewise.
71636         * rt/aio_cancel.c: Likewise.
71637         * rt/aio_fsync.c: Likewise.
71638         * rt/aio_read.c: Likewise.
71639         * rt/aio_sigqueue.c: Likewise.
71640         * rt/aio_suspend.c: Likewise.
71641         * rt/aio_write.c: Likewise.
71642         * rt/clock_getres.c: Likewise.
71643         * rt/clock_gettime.c: Likewise.
71644         * rt/clock_nanosleep.c: Likewise.
71645         * rt/clock_settime.c: Likewise.
71646         * rt/lio_listio.c: Likewise.
71647         * rt/mq_close.c: Likewise.
71648         * rt/mq_getattr.c: Likewise.
71649         * rt/mq_notify.c: Likewise.
71650         * rt/mq_open.c: Likewise.
71651         * rt/mq_receive.c: Likewise.
71652         * rt/mq_send.c: Likewise.
71653         * rt/mq_setattr.c: Likewise.
71654         * rt/mq_timedreceive.c: Likewise.
71655         * rt/mq_timedsend.c: Likewise.
71656         * rt/mq_unlink.c: Likewise.
71657         * rt/shm_open.c: Likewise.
71658         * rt/shm_unlink.c: Likewise.
71659         * rt/timer_create.c: Likewise.
71660         * rt/timer_delete.c: Likewise.
71661         * rt/timer_getoverr.c: Likewise.
71662         * rt/timer_gettime.c: Likewise.
71663         * rt/timer_settime.c: Likewise.
71664         * setjmp/__longjmp.c: Likewise.
71665         * setjmp/setjmp.c: Likewise.
71666         * signal/kill.c: Likewise.
71667         * signal/killpg.c: Likewise.
71668         * signal/raise.c: Likewise.
71669         * signal/sigaction.c: Likewise.
71670         * signal/sigaltstack.c: Likewise.
71671         * signal/sigblock.c: Likewise.
71672         * signal/sigignore.c: Likewise.
71673         * signal/sigintr.c: Likewise.
71674         * signal/signal.c: Likewise.
71675         * signal/sigpause.c: Likewise.
71676         * signal/sigpending.c: Likewise.
71677         * signal/sigqueue.c: Likewise.
71678         * signal/sigreturn.c: Likewise.
71679         * signal/sigset.c: Likewise.
71680         * signal/sigsetmask.c: Likewise.
71681         * signal/sigstack.c: Likewise.
71682         * signal/sigsuspend.c: Likewise.
71683         * signal/sigtimedwait.c: Likewise.
71684         * signal/sigvec.c: Likewise.
71685         * signal/sigwait.c: Likewise.
71686         * signal/sigwaitinfo.c: Likewise.
71687         * signal/sysv_signal.c: Likewise.
71688         * socket/accept.c: Likewise.
71689         * socket/accept4.c: Likewise.
71690         * socket/bind.c: Likewise.
71691         * socket/connect.c: Likewise.
71692         * socket/getpeername.c: Likewise.
71693         * socket/getsockname.c: Likewise.
71694         * socket/getsockopt.c: Likewise.
71695         * socket/isfdtype.c: Likewise.
71696         * socket/listen.c: Likewise.
71697         * socket/recv.c: Likewise.
71698         * socket/recvfrom.c: Likewise.
71699         * socket/recvmsg.c: Likewise.
71700         * socket/send.c: Likewise.
71701         * socket/sendmsg.c: Likewise.
71702         * socket/sendto.c: Likewise.
71703         * socket/setsockopt.c: Likewise.
71704         * socket/shutdown.c: Likewise.
71705         * socket/sockatmark.c: Likewise.
71706         * socket/socket.c: Likewise.
71707         * socket/socketpair.c: Likewise.
71708         * stdio-common/ctermid.c: Likewise.
71709         * stdio-common/cuserid.c: Likewise.
71710         * stdio-common/remove.c: Likewise.
71711         * stdio-common/rename.c: Likewise.
71712         * stdio-common/renameat.c: Likewise.
71713         * stdio-common/tempname.c: Likewise.
71714         * stdlib/getcontext.c: Likewise.
71715         * stdlib/makecontext.c: Likewise.
71716         * stdlib/setcontext.c: Likewise.
71717         * stdlib/swapcontext.c: Likewise.
71718         * stdlib/system.c: Likewise.
71719         * streams/fattach.c: Likewise.
71720         * streams/fdetach.c: Likewise.
71721         * streams/getmsg.c: Likewise.
71722         * streams/getpmsg.c: Likewise.
71723         * streams/putmsg.c: Likewise.
71724         * streams/putpmsg.c: Likewise.
71725         * sysdeps/unix/bsd/getpt.c: Likewise.
71726         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
71727         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
71728         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
71729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71730         Likewise.
71731         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
71732         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71733         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
71734         * sysvipc/msgctl.c: Likewise.
71735         * sysvipc/msgget.c: Likewise.
71736         * sysvipc/msgrcv.c: Likewise.
71737         * sysvipc/msgsnd.c: Likewise.
71738         * sysvipc/semctl.c: Likewise.
71739         * sysvipc/semget.c: Likewise.
71740         * sysvipc/semop.c: Likewise.
71741         * sysvipc/semtimedop.c: Likewise.
71742         * sysvipc/shmat.c: Likewise.
71743         * sysvipc/shmctl.c: Likewise.
71744         * sysvipc/shmdt.c: Likewise.
71745         * sysvipc/shmget.c: Likewise.
71746         * termios/tcdrain.c: Likewise.
71747         * termios/tcflow.c: Likewise.
71748         * termios/tcflush.c: Likewise.
71749         * termios/tcgetattr.c: Likewise.
71750         * termios/tcgetpgrp.c: Likewise.
71751         * termios/tcsendbrk.c: Likewise.
71752         * termios/tcsetattr.c: Likewise.
71753         * termios/tcsetpgrp.c: Likewise.
71754         * time/adjtime.c: Likewise.
71755         * time/clock.c: Likewise.
71756         * time/getitimer.c: Likewise.
71757         * time/gettimeofday.c: Likewise.
71758         * time/setitimer.c: Likewise.
71759         * time/settimeofday.c: Likewise.
71760         * time/stime.c: Likewise.
71761         * time/time.c: Likewise.
71763 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
71765         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
71766         /usr/old/bin.
71768         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
71769         instead of spaces.
71770         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
71772 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
71774         [BZ #14796]
71775         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71776         FE_TONEAREST before applying Dekker multiplication and Knuth
71777         addition.  Clear inexact exceptions and check for exact zero
71778         results afterwards.
71779         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71780         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71781         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71782         * math/libm-test.inc (fma_test): Add more tests.
71783         (fma_test_towardzero): Likewise.
71784         (fma_test_downward): Likewise.
71785         (fma_test_upward): Likewise.
71786         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71787         function.
71788         (libc_fesetround): New macro.
71789         (libc_fesetroundf): Likewise.
71790         (libc_fesetroundl): Likewise.
71791         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71792         function.
71793         (libc_fesetround_387): Likewise.
71794         (libc_fesetroundf): New macro.
71795         (libc_fesetround): Likewise.
71796         (libc_fesetroundl): Likewise.
71797         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71798         function.
71799         (libc_fesetroundf): New macro.
71800         (libc_fesetround): Likewise.
71801         (libc_fesetroundl): Likewise.
71802         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71803         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71804         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71805         libm_hidden_ver.
71806         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71807         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71808         libm_hidden_def.
71809         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71810         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71811         libm_hidden_ver.
71812         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71813         libm_hidden_def.
71815         [BZ #3439]
71816         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71817         integer constant usable in #if and use that to give value to enum
71818         constant.
71819         (FE_DIVBYZERO): Likewise.
71820         (FE_UNDERFLOW): Likewise.
71821         (FE_OVERFLOW): Likewise.
71822         (FE_INVALID): Likewise.
71823         (FE_INVALID_SNAN): Likewise.
71824         (FE_INVALID_ISI): Likewise.
71825         (FE_INVALID_IDI): Likewise.
71826         (FE_INVALID_ZDZ): Likewise.
71827         (FE_INVALID_IMZ): Likewise.
71828         (FE_INVALID_COMPARE): Likewise.
71829         (FE_INVALID_SOFTWARE): Likewise.
71830         (FE_INVALID_SQRT): Likewise.
71831         (FE_INVALID_INTEGER_CONVERSION): Likewise.
71832         (FE_TONEAREST): Likewise.
71833         (FE_TOWARDZERO): Likewise.
71834         (FE_UPWARD): Likewise.
71835         (FE_DOWNWARD): Likewise.
71836         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
71837         (FE_DIVBYZERO): Likewise.
71838         (FE_OVERFLOW): Likewise.
71839         (FE_UNDERFLOW): Likewise.
71840         (FE_INEXACT): Likewise.
71841         (FE_TONEAREST): Likewise.
71842         (FE_DOWNWARD): Likewise.
71843         (FE_UPWARD): Likewise.
71844         (FE_TOWARDZERO): Likewise.
71845         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
71846         (FE_UNDERFLOW): Likewise.
71847         (FE_OVERFLOW): Likewise.
71848         (FE_DIVBYZERO): Likewise.
71849         (FE_INVALID): Likewise.
71850         (FE_TONEAREST): Likewise.
71851         (FE_TOWARDZERO): Likewise.
71852         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
71853         (FE_OVERFLOW): Likewise.
71854         (FE_UNDERFLOW): Likewise.
71855         (FE_DIVBYZERO): Likewise.
71856         (FE_INEXACT): Likewise.
71857         (FE_TONEAREST): Likewise.
71858         (FE_TOWARDZERO): Likewise.
71859         (FE_UPWARD): Likewise.
71860         (FE_DOWNWARD): Likewise.
71861         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
71862         (FE_DIVBYZERO): Likewise.
71863         (FE_OVERFLOW): Likewise.
71864         (FE_UNDERFLOW): Likewise.
71865         (FE_INEXACT): Likewise.
71866         (FE_TONEAREST): Likewise.
71867         (FE_DOWNWARD): Likewise.
71868         (FE_UPWARD): Likewise.
71869         (FE_TOWARDZERO): Likewise.
71871 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
71873         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
71875 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
71877         * scripts/cross-test-ssh.sh (command): Use newlines to separate
71878         commands.  Quote $PWD.
71879         (blacklist_exports): Don't use remove_newlines.  Replace "declare
71880         -x" by "export".
71881         (remove_newlines): Remove.
71883 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
71885         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
71886         * stdlib/stdlib.h (atof): Moved to ...
71887         * include/bits/stdlib-float.h: Here.  New file.
71888         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
71889         * stdlib/bits/stdlib-float.h: New file.
71890         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
71891         -mno-sse -mno-mmx.
71892         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
71893         <xmmintrin.h>.
71895 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71897         * conform/conformtest.pl (@headers): Add fenv.h.
71898         * conform/data/fenv.h-data: New file.
71899         * include/fenv.h [_ISOMAC]: Disable all contents of file except
71900         include of <math/fenv.h>.
71902         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
71903         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
71904         && !UNIX98].  Enables tests for XOPEN2K8.
71905         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
71906         POSIX2008]: Likewise.
71908         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
71909         (struct rusage): Do not expect type or its members.
71911         [BZ #3439]
71912         * math/math.h (FP_NAN): Define macro to integer constant usable in
71913         #if and use that to give value to enum constant.
71914         (FP_INFINITE): Likewise.
71915         (FP_ZERO): Likewise.
71916         (FP_SUBNORMAL): Likewise.
71917         (FP_NORMAL): Likewise.
71919 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
71921         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
71922         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
71923         arguments.
71925 2012-11-02  Roland McGrath  <roland@hack.frob.com>
71927         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
71928         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
71929         autoconf-time if not.
71930         * configure.in: Remove AC_PREREQ.
71932 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71934         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
71935         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
71936         of the internal implementation.
71938 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71940         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71941         except include of <misc/sys/syslog.h>.
71943 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
71946         function returns with a NULL context exit with zero.
71948 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71950         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
71952 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
71954         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
71955         (run_program_cmd): This.
71956         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
71957         (tst_langinfo): New variable.  Use it.
71959 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
71961         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
71962         floating point opcodes.
71964 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71966         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
71967         variable.
71969         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
71971         * sysdeps/mach/hurd/powerpc: Remove directory.
71972         * sysdeps/mach/powerpc: Likewise.
71974 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71976         * scripts/check-local-headers.sh: Ignore c++ headers.
71978 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71980         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
71981         __libc_cleanup_region_start argument.
71983 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
71985         [BZ #14784]
71986         [BZ #14785]
71987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
71988         x * y using scaling, not as x * y + z.
71989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71990         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71991         * math/libm-test.inc (fma_test): Add more tests.
71992         (fma_test_towardzero): Likewise.
71993         (fma_test_downward): Likewise.
71994         (fma_test_upward): Likewise.
71996 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71998         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
72000 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72002         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72003         New variable.
72005 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
72007         * rt/tst-shm.c (worker): Correct checking for mmap failure.
72009 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72012         Fix sort order.
72013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72014         Likewise.
72016 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72019         Fix the order of the list for glibc 2.17.
72020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72021         Likewise.
72023 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72027 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72029         [BZ #14610]
72030         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
72031         for low part of x being zero before using __atanl (y).
72032         * math/libm-test.inc (atan2_test): Add another test.
72034         * manual/install.texi (Configuring and compiling): Document
72035         general use of test-wrapper and test-wrapper-env.
72036         * INSTALL: Regenerated.
72038         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
72039         (__fma): Do not extract and scale down low bits on after-rounding
72040         systems when result rounded to normal precision would have normal
72041         exponent.
72042         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
72043         (__fmal): Do not extract and scale down low bits on after-rounding
72044         systems when result rounded to normal precision would have normal
72045         exponent.
72046         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
72047         (__fmal): Do not extract and scale down low bits on after-rounding
72048         systems when result rounded to normal precision would have normal
72049         exponent.
72050         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
72051         macro.
72052         (fma_test): Add more tests.
72053         (fma_test_towardzero): Likewise.
72054         (fma_test_downward): Likewise.
72055         (fma_test_upward): Likewise.
72057 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
72059         * sysdeps/i386/tininess.h: Renamed to ...
72060         * sysdeps/x86/tininess.h: This.
72061         * sysdeps/x86_64/tininess.h: Removed.
72063 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72065         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
72066         input.  Use $(build-program-cmd).
72067         ($(objpfx)tst-array1-static.out): Likewise.
72068         ($(objpfx)tst-array2.out): Likewise.
72069         ($(objpfx)tst-array3.out): Likewise.
72070         ($(objpfx)tst-array4.out): Likewise.
72071         ($(objpfx)tst-array5.out): Likewise.
72072         ($(objpfx)tst-array5-static.out): Likewise.
72074 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
72076         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
72077         if defined.
72079         * nss/nsswitch.h (nss_interface_function): Provide new
72080         macro for use with NSS functions.
72081         * grp/initgroups.c: Use new macro.
72082         * nss/getXXbyYY.c: Likewise.
72083         * nss/getXXbyYY_r.c: Likewise.
72084         * nss/getXXent.c: Likewise.
72085         * nss/getXXent_r.c: Likewise.
72086         * sysdeps/posix/getaddrinfo.c: Likewise.
72088 2012-10-30  Andreas Jaeger  <aj@suse.de>
72090         * po/ru.po: Update Russion translation from translation project.
72092 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72094         [BZ #14152]
72095         [BZ #14783]
72096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
72097         result and shift together with sticky bit instead of replicating
72098         round-to-nearest rounding.
72099         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72100         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72101         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
72102         missing underflow exceptions.
72103         (fma_test_towardzero): Add more tests.
72104         (fma_test_downward): Likewise.
72105         (fma_test_upward): Likewise.
72107         [BZ #14047]
72108         * sysdeps/generic/tininess.h: New file.
72109         * sysdeps/i386/tininess.h: Likewise.
72110         * sysdeps/sh/tininess.h: Likewise.
72111         * sysdeps/x86_64/tininess.h: Likewise.
72112         * stdlib/tst-strtod-underflow.c: Likewise.
72113         * stdlib/tst-tininess.c: Likewise.
72114         * stdlib/strtod_l.c: Include <tininess.h>.
72115         (round_and_return): Do not set errno for exact underflow cases.
72116         Force an underflow exception when setting errno for underflow.
72117         Determine underflow based on rounding to normal precision if
72118         TININESS_AFTER_ROUNDING.
72119         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
72120         ERANGE for exact underflow cases.
72121         * stdlib/Makefile (tests): Add tst-tininess and
72122         tst-strtod-underflow.
72123         ($(objpfx)tst-tininess): Use $(link-libm).
72124         ($(objpfx)tst-strtod-underflow): Likewise.
72126 2012-10-30  Andreas Jaeger  <aj@suse.de>
72128         [BZ #14767]
72129         * elf/Makefile (tests): Remove conditional for have-initfini-array
72130         since this is now always required and the variable does not exist
72131         anymore.
72132         (tests-static): Likewise.
72133         (modules-names): Likewise.
72135         * po/eo.po: Add Esperanto translation from translation project.
72137         * elf/tst-array1.c (fini_array): Make writeable so that it can be
72138         merged with constructor/destructor.
72139         (init_array): Likewise.
72140         * elf/tst-array2dep.c (fini_array): Likewise.
72141         (init_array): Likewise.
72143 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
72145         * manual/message.texi: Delete @cartouche tags.
72147 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
72149         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
72150         EOPNOTSUPP.
72151         * sysdeps/mach/hurd/fsync.c: Likewise.
72153         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72154         [_POSIX_REALTIME_SIGNALS]: Change condition to
72155         [_POSIX_REALTIME_SIGNALS > 0].
72157 2012-10-27  Andreas Jaeger  <aj@suse.de>
72159         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72160         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72161         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72162         [__WORDSIZE != 64]: Likewise.
72164 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
72166         *  iconvdata/tst-table.sh: Remove ${SHELL}.
72167         *  iconvdata/tst-tables.sh: Likewise.
72169 2012-10-25  David S. Miller  <davem@davemloft.net>
72171         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72172         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72173         of strtoull.
72175         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72176         ifunc-impl-list.c
72177         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72178         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72179         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72180         file.
72182 2012-10-25  Roland McGrath  <roland@hack.frob.com>
72184         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72185         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72186         __getdirentries.
72188 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72189             Jim Blandy  <jimb@codesourcery.com>
72191         * scripts/cross-test-ssh.sh: New file.
72192         * manual/install.texi (Configuring and compiling): Document use of
72193         cross-test-ssh.sh.
72194         * INSTALL: Regenerated.
72196 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
72198         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72199         EOPNOTSUPP.
72201 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72203         * Makeconfig (run-program-prefix): Fix comment.
72205 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72206             Jim Blandy  <jimb@codesourcery.com>
72208         * Makeconfig (test-wrapper): New variable,
72209         (test-wrapper-env): Likewise.
72210         [$(cross-compiling) = yes && $(test-wrapper) != ""]
72211         (run-built-tests): Define to yes.
72212         (run-program-prefix): Use $(test-wrapper).
72213         (built-program-cmd): Likewise.
72214         * Rules (make-test-out): Use $(test-wrapper-env) and
72215         $(host-built-program-cmd).
72216         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72217         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72218         tst-pathopt.sh.
72219         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72220         $(test-wrapper-env) to tst-rtld-load-self.sh.
72221         ($(objpfx)order2.out): Use $(test-wrapper).
72222         ($(objpfx)tst-initorder.out): Likewise.
72223         ($(objpfx)tst-initorder2.out): Likewise.
72224         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72225         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72226         (test_wrapper_env): New variable.  Use it to run ld.so.
72227         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72228         Use it to run ld.so.
72229         (test_wrapper_env): Likewise.
72230         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72231         $(test-wrapper) to run-iconv-test.sh.
72232         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72233         (ICONV): Use $test_wrapper.
72234         * posix/Makefile ($(objpfx)globtest.out): Pass
72235         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72236         globtest.sh, not $(run-program-prefix).
72237         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72238         (test_wrapper): Likewise.
72239         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72240         set together with run_via_rtld_prefix.
72241         (run_program_prefix): Define in terms of test_wrapper and
72242         run_via_rtld_prefix.
72244 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72246         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72247         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72248         Targets removed.
72250         [BZ #14743]
72251         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72252         Declare __clock_getres, __clock_gettime, __clock_settime,
72253         __clock_nanosleep, and __clock_getcpuclockid.
72254         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72255         Remove librt_hidden_def (clock_gettime).
72256         * sysdeps/unix/clock_gettime.c: Likewise.
72257         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72258         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72259         * rt/clock_getres.c: Define __clock_getres as an alias.
72260         * sysdeps/posix/clock_getres.c: Likewise.
72261         * rt/clock_settime.c: Define __clock_settime as an alias.
72262         * sysdeps/unix/clock_settime.c: Likewise.
72263         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72264         * sysdeps/unix/clock_nanosleep.c: Likewise.
72265         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72266         * rt/clock-compat.c: New file.
72267         * rt/Makefile (librt-routines): Add clock-compat and move
72268         $(clock-routines) to ...
72269         (routines): ... here, new variable.
72270         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72271         Don't add get_clockfreq here.
72272         * rt/Versions (libc: GLIBC_2.17): New version set.
72273         Add clock_* symbols here.
72274         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72275         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72276         (GLIBC_2.17): Add clock_* symbols.
72277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72279         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72281         Likewise.
72282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72283         Likewise.
72284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72288         * NEWS: Mention the move.
72290         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72291         Use __open, __read, __close rather than their public counterparts.
72292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72293         (__get_clockfreq_via_cpuinfo): Likewise.
72294         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72295         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72297         * config.h.in (HAVE_IFUNC): New #undef.
72298         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72299         was successful.
72300         * configure: Regenerated.
72302 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72304         * configure.in: Move READELF check to start of file.
72305         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72306         libc_cv_asm_gnu_indirect_function in the process.
72307         * configure: Regenerated.
72309 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72311         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72312         send the output to /dev/null.
72313         (libc_cv_cc_with_libunwind): Likewise.
72314         (libc_cv_as_noexecstack): Likewise.
72315         * configure: Regenerate.
72317 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72319         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72321         * posix/globtest.sh (TMPDIR): Do not set.
72322         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72323         (testout): Likewise.
72325 2012-10-24  Andreas Jaeger  <aj@suse.de>
72327         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72328         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72329         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72330         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72331         posix_fadvise64, posix_fallocate64.
72333         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72334         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72335         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72336         Likewise.
72337         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72338         Likewise.
72339         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72341         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72342         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72343         <bits/fcntl-linux.h>.
72344         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72346         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72347         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72348         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72349         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72350         [__WORDSIZE != 64]: Likewise.
72352 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72354         * Makeconfig (run-built-tests): New variable.
72355         * Rules [$(cross-compiling) = yes]: Change condition to
72356         [$(run-built-tests) = no].
72357         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72358         to [$(run-built-tests) = yes].
72359         * elf/Makefile [$(cross-compiling) = no]: Likewise.
72360         * grp/Makefile [$(cross-compiling) = no]: Likewise.
72361         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72362         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72363         * intl/Makefile [$(cross-compiling) = no]: Likewise.
72364         * io/Makefile [$(cross-compiling) = no]: Likewise.
72365         * libio/Makefile [$(cross-compiling) = no]: Likewise.
72366         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72367         * misc/Makefile [$(cross-compiling) = no]: Likewise.
72368         * posix/Makefile [$(cross-compiling) = no]: Likewise.
72369         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72370         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72371         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72372         * string/Makefile [$(cross-compiling) = no]: Likewise.
72374         * posix/Makefile ($(objpfx)globtest.out): Pass
72375         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72376         $(rtld-installed-name).
72377         * posix/globtest.sh (elf_objpfx): Remove variable.
72378         (rtld_installed_name): Likewise.
72379         (library_path): Likewise.
72380         (run_program_prefix): New variable.  Use for running globtest
72381         binary.
72383 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
72384             Joseph Myers  <joseph@codesourcery.com>
72386         * Makeconfig (host-built-program-cmd): New variable.
72387         * elf/Makefile (tst-stackguard1-ARGS): Use
72388         $(host-built-program-cmd).
72389         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72390         (tst-spawn-ARGS): Likewise.
72391         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72393 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72394             Jim Blandy  <jimb@codesourcery.com>
72396         * Makeconfig (run-via-rtld-prefix): New variable.
72397         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72398         (built-program-cmd): Likewise.
72400 2012-10-22  Andreas Jaeger  <aj@suse.de>
72402         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72403         __O_RSYNC if it exists, otherwise to O_SYNC.
72405 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
72406             Joseph Myers  <joseph@codesourcery.com>
72408         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72409         /dev/null.
72410         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72411         from /dev/null
72412         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72413         /dev/null.
72415 2012-10-22  Andreas Jaeger  <aj@suse.de>
72417         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72418         Define always.
72419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72421         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72422         bits/fcntl-linux.h.
72424         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72425         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72427         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72428         to __O_LARGEFILE.
72429         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72430         to __O_LARGEFILE.
72432 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
72433             Joseph Myers  <joseph@codesourcery.com>
72435         * config.make.in (NM): New variable.
72437 2012-10-21  Andreas Jaeger  <aj@suse.de>
72439         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72440         definitions and declarations that are provided by
72441         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72443 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72445         [BZ #14683]
72446         * elf/Makefile (tests-static): Add tst-leaks1-static.
72447         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
72448         ($(objpfx)tst-leaks1-static): New rule.
72449         ($(objpfx)tst-leaks1-static-mem): Likewise.
72450         (tst-leaks1-static-ENV): New macro.
72451         * elf/dl-open.c (dl_open_worker): Check the main application
72452         only if SHARED is defined.
72453         * elf/tst-leaks1-static.c: New file.
72455 2012-10-20  Andreas Jaeger  <aj@suse.de>
72457         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
72458         generic values for Linux.
72459         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
72460         and declarations that are provided by <bits/fcntl-linux.h> and
72461         include <bits/fcntl-linux.h>.
72462         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72465 2012-10-20  Roland McGrath  <roland@hack.frob.com>
72467         * io/fcntl.h: Move include of <bits/types.h> to the top and
72468         include it unconditionally.
72470 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72472         * wcsmbs/Makefile (tests-ifunc): New variable.
72473         (tests): Add $(tests-ifunc).
72474         * wcsmbs/test-wcschr-ifunc.c: New file.
72475         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72476         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
72477         * wcsmbs/test-wcslen-ifunc.c: Likewise.
72478         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
72479         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
72481         * string/Makefile (tests-ifunc): New variable.
72482         (tests): Add $(tests-ifunc).
72483         * string/test-memccpy.c (TEST_NAME): New macro.
72484         * string/test-memchr.c (TEST_NAME): Likewise.
72485         * string/test-memcmp.c (TEST_NAME): Likewise.
72486         * string/test-memcpy.c (TEST_NAME): Likewise.
72487         * string/test-memmem.c (TEST_NAME): Likewise.
72488         * string/test-memmove.c (TEST_NAME): Likewise.
72489         * string/test-memset.c (TEST_NAME): Likewise.
72490         * string/test-rawmemchr.c (TEST_NAME): Likewise.
72491         * string/test-stpcpy.c (TEST_NAME): Likewise.
72492         * string/test-stpncpy.c (TEST_NAME): Likewise.
72493         * string/test-strcasecmp.c (TEST_NAME): Likewise.
72494         * string/test-strcasestr.c (TEST_NAME): Likewise.
72495         * string/test-strcat.c (TEST_NAME): Likewise.
72496         * string/test-strchr.c (TEST_NAME): Likewise.
72497         * string/test-strcmp.c(TEST_NAME): Likewise.
72498         * string/test-strcpy.c (TEST_NAME): Likewise.
72499         * string/test-strcspn.c (TEST_NAME): Likewise.
72500         * string/test-strlen.c (TEST_NAME): Likewise.
72501         * string/test-strncasecmp.c (TEST_NAME): Likewise.
72502         * string/test-strncmp.c (TEST_NAME): Likewise.
72503         * string/test-strncpy.c (TEST_NAME): Likewise.
72504         * string/test-strnlen.c (TEST_NAME): Likewise.
72505         * string/test-strpbrk.c (TEST_NAME): Likewise.
72506         * string/test-strrchr.c (TEST_NAME): Likewise.
72507         * string/test-strspn.c (TEST_NAME): Likewise.
72508         * string/test-strstr.c (TEST_NAME): Likewise.
72509         * string/test-bcopy-ifunc.c: New file.
72510         * string/test-bzero-ifunc.c: Likewise.
72511         * string/test-memccpy-ifunc.c: Likewise.
72512         * string/test-memchr-ifunc.c: Likewise.
72513         * string/test-memcmp-ifunc.c: Likewise.
72514         * string/test-memcpy-ifunc.c: Likewise.
72515         * string/test-memmem-ifunc.c: Likewise.
72516         * string/test-memmove-ifunc.c: Likewise.
72517         * string/test-mempcpy-ifunc.c: Likewise.
72518         * string/test-memset-ifunc.c: Likewise.
72519         * string/test-rawmemchr-ifunc.c: Likewise.
72520         * string/test-stpcpy-ifunc.c: Likewise.
72521         * string/test-stpncpy-ifunc.c: Likewise.
72522         * string/test-strcasecmp-ifunc.c: Likewise.
72523         * string/test-strcasestr-ifunc.c: Likewise.
72524         * string/test-strcat-ifunc.c: Likewise.
72525         * string/test-strchr-ifunc.c: Likewise.
72526         * string/test-strchrnul-ifunc.c: Likewise.
72527         * string/test-strcmp-ifunc.c: Likewise.
72528         * string/test-strcpy-ifunc.c: Likewise.
72529         * string/test-strcspn-ifunc.c: Likewise.
72530         * string/test-strlen-ifunc.c: Likewise.
72531         * string/test-strncasecmp-ifunc.c: Likewise.
72532         * string/test-strncat-ifunc.c: Likewise.
72533         * string/test-strncmp-ifunc.c: Likewise.
72534         * string/test-strncpy-ifunc.c: Likewise.
72535         * string/test-strnlen-ifunc.c: Likewise.
72536         * string/test-strpbrk-ifunc.c: Likewise.
72537         * string/test-strrchr-ifunc.c: Likewise.
72538         * string/test-strspn-ifunc.c: Likewise.
72539         * string/test-strstr-ifunc.c: Likewise.
72541         * debug/Makefile (tests-ifunc): New variable.
72542         (tests): Add $(tests-ifunc).
72543         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
72544         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
72545         * debug/test-stpcpy_chk-ifunc.c: New file.
72546         * debug/test-strcpy_chk-ifunc.c: Likewise.
72548 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
72550         [BZ #13601]
72551         * elf/dl-load.c (open_verify): Retry read if the entire ELF
72552         header is not read in.
72554 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
72556         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
72557         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
72558         directly.  Pass built executable to script as
72559         $(built-program-cmd).
72560         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
72561         $testprogram without using LD_LIBRARY_PATH and $ldso.
72563         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
72564         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
72565         $(rtld-installed-name).
72566         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
72567         (rtld_installed_name): Likewise.
72568         (library_path): Likewise.
72569         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
72570         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
72571         $(run-program-prefix) to tst-tables.sh.
72572         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
72573         it to run tst-table-from and tst-table-to.
72574         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
72575         Pass it to tst-table.sh.
72576         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
72577         $(run-program-prefix) to tst-gettext.sh.
72578         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
72579         tst-translit.sh.
72580         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
72581         tst-gettext2.sh.
72582         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
72583         to run tst-gettext.
72584         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
72585         to run tst-gettext2.
72586         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
72587         to run tst-translit.
72588         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
72589         $(run-program-prefix) to tst-mtrace.sh.
72590         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
72591         to run tst-mtrace.
72592         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
72593         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
72594         $(rtld-installed-name).
72595         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
72596         (rtld_installed_name): Likewise.
72597         (run_program_prefix): New variable.  Use it to run wordexp-test.
72599         * Makeconfig (ARCH): Remove all definitions.
72600         (machine): Likewise.
72601         [ARCH]: Remove conditional code.
72602         [!objdir]: Give error.
72603         [!objdir] (objpfx): Remove.
72604         [!objdir] (common-objpfx): Likewise.
72605         [!objdir] (common-objdir): Likewise.
72606         * configure.in (config_makefile): Remove.  Hardcode Makefile in
72607         AC_CONFIG_FILES call.
72608         * configure: Regenerated.
72610         [BZ #13888]
72611         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
72612         or TMPDIR.
72613         (testout): Likewise.
72615         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
72616         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
72617         $(rtld-installed-name).
72618         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
72619         (rtld_installed_name): Likewise.
72620         (runit): Remove function.
72621         (run_getconf): New variable,  Use it for running getconf binary.
72623 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
72625         [BZ #14716]
72626         * string/test-memmem.c (check_result): New function.
72627         (do_one_test): Use it.
72628         (check1): New function.
72629         (test_main): Use it.
72631 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
72633         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
72635 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
72637         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
72638         (_G_LSEEK64): Likewise.
72639         (_G_MMAP64): Likewise.
72640         (_G_FSTAT64): Likewise.
72641         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
72642         (_G_LSEEK64): Likewise.
72643         (_G_MMAP64): Likewise.
72644         (_G_FSTAT64): Likewise.
72645         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
72646         unconditional.  Call __mmap64 directly.
72647         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
72648         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
72649         __lseek64 directly.
72650         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
72651         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
72652         __mmap64 directly.
72653         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
72654         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72655         __lseek64 directly.
72656         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
72657         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72658         __lseek64 directly.
72659         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
72660         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
72661         __lseek64 directly.
72662         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
72663         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
72664         __fxstat64 directly.
72665         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
72666         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
72667         unconditional.
72668         (freopen64) [!_G_OPEN64]: Remove conditional code.
72669         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
72670         unconditional.
72671         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
72672         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
72673         unconditional.
72674         (ftello64) [!_G_LSEEK64]: Remove conditional code.
72675         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
72676         unconditional.
72677         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72678         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
72679         unconditional.
72680         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
72681         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
72682         unconditional.
72683         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72684         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
72685         unconditional.
72686         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72687         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
72688         unconditional.
72689         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72691 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72693         [BZ #12140]
72694         * manual/memory.texi (Malloc Tunable Parameters): Add note
72695         about free list pointers overwriting some perturb bytes.
72696         Wording suggested by Roland McGrath.
72698 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
72700         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
72701         (lgamma_test): Likewise.
72702         (tgamma_test): Likewise.
72704 2012-10-16  Florian Weimer  <fweimer@redhat.com>
72706         [BZ #14700]
72707         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
72708         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
72710 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
72712         * NEWS: Mention BZ #14716.
72713         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
72714         when removing AVAILABLE1_USES_J macro.
72716 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
72718         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
72719         (__bswap_64): __uint64_t for unsigned 64-bit int.
72721 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
72723         * include/string.h (memmem): Declare libc hidden alias.
72724         * string/memmem.c (memmem): Define libc hidden alias.
72725         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
72726         __read, __close instead of open, read, close.
72728 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
72730         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
72731         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
72732         global and hidden.
72733         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
72734         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
72735         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
72736         Likewise.
72737         (__rawmemchr_sse2): Likewise.
72738         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
72739         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
72740         (__strchr_sse2): Likewise.
72741         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
72742         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
72743         (__strcasecmp_sse2): Likewise.
72744         (__strncasecmp_sse2): Likewise.
72745         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
72746         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
72747         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
72748         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
72749         (__strrchr_sse2): Likewise.
72750         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
72751         ifunc-impl-list.c.
72752         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
72753         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
72754         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
72755         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72756         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
72757         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72758         * sysdeps/x86_64/multiarch/memset.S: Likewise.
72759         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
72760         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
72761         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
72762         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
72763         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
72764         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
72765         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
72766         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
72767         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
72768         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
72769         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
72770         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
72771         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
72772         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
72773         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
72774         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72775         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72776         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72777         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72778         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72779         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72780         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72781         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72783         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72784         global and hidden.
72785         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72786         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72787         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72788         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72789         Likewise.
72790         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72791         Likewise.
72792         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72793         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72794         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72795         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72796         ifunc-impl-list.c.
72797         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72798         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72799         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72800         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72801         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72802         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72803         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72804         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72805         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72806         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72807         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72808         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72809         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72810         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72811         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72812         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72813         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72814         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72815         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72816         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72817         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72818         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72819         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72820         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72821         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72822         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72823         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72824         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72825         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72826         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72827         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72828         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72829         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72830         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72831         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72832         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72833         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72834         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72835         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72836         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72837         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
72839         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
72840         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
72841         * include/ifunc-impl-list.h: New file.
72842         * misc/ifunc-impl-list.c: Likewise.
72843         * misc/Makefile (routines): Add ifunc-impl-list.
72844         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
72845         * string/test-string.h: Include <ifunc-impl-list.h>.
72846         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
72847         TEST_NAME]: New variables.
72848         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
72849         are defined.
72850         (test_init): Call __libc_ifunc_impl_list to initialize
72851         func_list if TEST_IFUNC and TEST_NAME are defined.
72853         * string/Makefile (strop-tests): Add bcopy and bzero.
72854         * string/test-bcopy.c: New file.
72855         * string/test-bzero.c: Likewise.
72856         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
72857         defined.
72858         * string/test-memset.c: Support bzero test if TEST_BZERO is
72859         defined.
72860         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
72861         __libc_memmove.
72862         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
72863         __libc_memset.
72864         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
72865         of memset.
72867 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
72869         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
72870         * configure: Regenerated.
72872         * Makeconfig (+link-static-before-libc): Don't include
72873         $(link-static-libc).
72875         * libio/libio.h (_IO_pos_t): Remove.
72877 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72879         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
72880         McGrath.
72882 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72884         * crypt/crypt-entry.c: Include fips-private.h.
72885         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
72886         * crypt/md5c-test.c (main): Tolerate disabled MD5.
72887         * sysdeps/unix/sysv/linux/fips-private.h: New file.
72888         * sysdeps/generic/fips-private.h: New file, dummy fallback.
72890 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72892         * crypt/crypt-private.h: Include stdbool.h.
72893         (_ufc_setup_salt_r): Return bool.
72894         * crypt/crypt-entry.c: Include errno.h.
72895         (__crypt_r): Return NULL with EINVAL for bad salt.
72896         * crypt/crypt_util.c (bad_for_salt): New.
72897         (_ufc_setup_salt_r): Check that salt is long enough and within
72898         the specified alphabet.
72899         * crypt/badsalttest.c: New file.
72900         * crypt/Makefile (tests): Add it.
72901         ($(objpfx)badsalttest): New.
72903 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
72905         * NEWS: Add entry for BZ #14602.
72907 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72909         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
72910         type-generic.
72911         * math/libm-test.inc: Update comment listing what functions and
72912         macros are tested.
72913         (isgreater_test): New function.
72914         (isgreaterequal_test): Likewise.
72915         (isless_test): Likewise.
72916         (islessequal_test): Likewise.
72917         (islessgreater_test): Likewise.
72918         (isunordered_test): Likewise.
72919         (main): Call the new functions.
72921 2012-10-09  Roland McGrath  <roland@hack.frob.com>
72923         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
72924         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
72925         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
72926         * sysdeps/i386/configure: Regenerated.
72927         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
72928         * sysdeps/mach/configure: Regenerated.
72929         * sysdeps/mach/hurd/configure: Regenerated.
72930         * sysdeps/powerpc/configure: Regenerated.
72931         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72932         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72933         * sysdeps/s390/s390-32/configure: Regenerated.
72934         * sysdeps/s390/s390-64/configure: Regenerated.
72935         * sysdeps/sh/configure: Regenerated.
72936         * sysdeps/sparc/configure: Regenerated.
72937         * sysdeps/unix/sysv/linux/configure: Regenerated.
72938         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
72939         * sysdeps/x86_64/configure: Regenerated.
72941         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
72942         defined.  Don't check if MAP is NULL.
72944 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72946         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
72947         (_G_stat64): Likewise.
72948         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
72949         (_G_stat64): Likewise.
72950         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
72951         instead of struct _G_stat64.
72952         * libio/fileops.c (mmap_remap_check): Likewise.
72953         (decide_maybe_mmap): Likewise.
72954         (_IO_new_file_seekoff): Likewise.
72955         (_IO_file_stat): Likewise.
72956         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
72957         _G_off64_t.
72958         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
72959         instead of struct _G_stat64.
72960         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72962 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
72964         [BZ #14602]
72965         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72966         Replace with ...
72967         (CHECK_EOL): New macro.
72968         (two_way_short_needle): Check beginning of haystack for EOL.  Use
72969         CHECK_EOL.
72970         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72971         Replace with CHECK_EOL.
72972         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72973         Replace with CHECK_EOL.
72975 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
72977         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
72978         type-generic.
72979         * math/libm-test.inc: Update comment listing what functions and
72980         macros are tested.
72981         (finite_test): New function.
72982         (isinf_test): Likewise.
72983         (isnan_test): Likewise.
72984         (fpclassify_test): Test subnormal input.
72985         (isfinite_test): Likewise.
72986         (isnormal_test): Likewise.
72987         (main): Call the new functions.
72989 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
72991         [BZ #14660]
72992         * Makerules (%.dynsym): Force C locale when running
72993         $(OBJDUMP) --dynamic-syms.
72995 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
72997         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
72998         <stdint.h>.
73000 2012-10-06  David S. Miller  <davem@davemloft.net>
73002         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
73003         upper 32-bits of the length value in %o2 since we use branch-on-register
73004         tests which consider the entire 64-bit register.
73006 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
73008         * string/test-strstr.c (check2): Add a test for page boundary.
73010 2012-10-05  David S. Miller  <davem@davemloft.net>
73012         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
73013         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
73014         file.
73015         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73016         sysdep_routines.
73017         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73018         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
73019         and bzero when HWCAP_SPARC_CRYPTO is present.
73021 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
73023         [BZ #14602]
73024         * string/test-strstr.c (check2): New function.
73025         (test_main): Call check2.
73027         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
73028         and bug-strchr1.
73029         * string/bug-strcasestr1.c (do_test): Moved to ...
73030         * string/test-strcasestr.c (check1): Here.  New function.
73031         (do_one_test): Break out result checking code into ...
73032         (check_result): This.  New function.
73033         (do_one_test): Call check_result.
73034         (test_main): Call check1.
73035         * string/bug-strchr1.c (do_test): Moved to ...
73036         * string/test-strchr.c (check1): Here.  New function.
73037         (do_one_test): Break out result checking code into ...
73038         (check_result): This.  New function.
73039         (do_one_test): Call check_result.
73040         (test_main): Call check1.
73041         * string/bug-strstr1.c (main): Moved to ...
73042         * string/test-strstr.c (check1): Here.  New function.
73043         (do_one_test): Break out result checking code into ...
73044         (check_result): This.  New function.
73045         (do_one_test): Call check_result.
73046         (test_main): Call check1.
73047         * string/bug-strcasestr1.c: Removed.
73048         * string/bug-strchr1.c: Likewise.
73049         * string/bug-strstr1.c: Likewise.
73051         * elf/Makefile (dl-routines): Add hwcaps.
73052         * elf/dl-support.c (_dl_important_hwcaps): Removed.
73053         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
73054         (_dl_important_hwcaps): Moved to ...
73055         * elf/dl-hwcaps.c: Here.  New file.
73056         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
73058         [BZ #14557]
73059         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
73060         if IS_IN_rtld isn't defined.
73062         * elf/dl-support.c (_dl_sysinfo_map): New.
73063         Include "get-dynamic-info.h" and "setup-vdso.h".
73064         (_dl_non_dynamic_init): Call setup_vdso.
73065         * elf/dynamic-link.h: Don't include <assert.h>.
73066         (elf_get_dynamic_info): Moved to ...
73067         * elf/get-dynamic-info.h: Here.  New file.
73068         * elf/dynamic-link.h: Include "get-dynamic-info.h".
73069         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
73070         * elf/setup-vdso.h: Here.  New file.
73071         * elf/rtld.c: Include "setup-vdso.h".
73072         (dl_main): Call setup_vdso.
73074 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
73076         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
73077         creal in comment listing functions tested.  List finite, isinf,
73078         isnan, isless, islessequal, isgreater, isgreaterequal,
73079         islessgreater, isunordered, lgamma_r and pow10 as functions and
73080         macros not tested.  Mention which functions not tested are aliases
73081         for other functions.  Fix typo.  Note that signs of NaNs are not
73082         tested.
73084         * scripts/config.guess: Update from config.git.
73085         * scripts/config.sub: Likewise.
73087 2012-10-04  Roland McGrath  <roland@hack.frob.com>
73089         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
73090         * misc/madvise.c (madvise): Renamed to __madvise.
73091         Make madvise a weak alias.
73092         * include/sys/mman.h: Declare __madvise.
73093         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
73094         * sysdeps/unix/syscalls.list
73095         (madvise): Make __madvise the strong name, and madvise a weak alias.
73096         * sysdeps/unix/sysv/linux/syscalls.list
73097         (madvise, mmap): Remove redundant entries.
73098         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
73099         * malloc/malloc.c (mtrim): Likewise.
73100         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
73102 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73104         * sysdeps/mach/hurd/dl-cache.c: File removed.
73105         * config.h.in (USE_LDCONFIG): New #undef.
73106         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
73107         * configure: Regenerated.
73108         * elf/Makefile (dl-routines): Add dl-cache only under
73109         [$(use-ldconfig) = yes].
73110         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
73111         cache on [USE_LDCONFIG].
73112         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
73113         [USE_LDCONFIG].
73114         * elf/rtld.c (dl_main): Likewise.
73116 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
73118         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
73119         _SC_LEVEL4_CACHE_LINESIZE.
73121 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73123         * sysdeps/unix/bsd/confstr.h: File removed.
73125 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
73127         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
73128         sys/sdt-config.h.
73130 2012-10-02  Roland McGrath  <roland@hack.frob.com>
73132         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
73133         Make 'mapoff' field ElfW(Off) rather than off_t.
73135 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
73137         * nscd/Makefile: Remove nscd-cflags and all its users.
73138         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
73139         (CFLAGS-nonlib): Add compiler flags for nscd modules.
73141         [BZ #10631]
73142         * malloc.c (malloc_printerr): Clarify error message.
73144 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
73146         [BZ #14648]
73147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73148         Set bit_FMA_Usable if FMA is supported.
73149         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
73150         macro.
73151         (bit_FMA4_Usable): Updated.
73152         (index_FMA_Usable): New macro.
73153         (CPUID_FMA): Likewise.
73154         (HAS_FMA): Defined with bit_FMA_Usable.
73156 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73158         * bits/types.h (__swblk_t): Type removed.
73159         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73160         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73162         (__SWBLK_T_TYPE): Likewise.
73163         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73164         (__SWBLK_T_TYPE): Likewise.
73165         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73166         (__SWBLK_T_TYPE): Likewise.
73167         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73168         (__SWBLK_T_TYPE): Likewise.
73170 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
73171             Honza Horak <hhorak@redhat.com>
73173         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73174         (xdr_mapname): Use YPMAXMAP as maxsize.
73175         (xdr_peername): Use YPMAXPEER as maxsize.
73176         (xdr_keydat): Use YPAXRECORD as maxsize.
73177         (xdr_valdat): Use YPMAXRECORD as maxsize.
73179 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73181         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73183         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73184         * csu/init-first.c: ... here.
73185         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73186         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73187         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73188         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73189         * sysdeps/i386/init-first.c: File removed.
73190         * sysdeps/sh/init-first.c: File removed.
73192 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
73194         [BZ #14645]
73195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73196         if x * y might underflow to zero and z is zero.
73197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73198         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73199         * math/libm-test.inc (min_subnorm_value): New variable.
73200         (fma_test): Add more tests.
73201         (fma_test_towardzero): Likewise.
73202         (fma_test_downward): Likewise.
73203         (fma_test_upward): Likewise.
73204         (initialize): Set min_subnorm_value.
73206 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
73208         [BZ #14638]
73209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73210         0 + 0.
73211         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73212         mode for addition resulting in exact zero.
73213         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73214         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73215         exact 0 + 0.
73216         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73218         * math/libm-test.inc (fma_test): Add more tests.
73219         (fma_test_towardzero): New function.
73220         (fma_test_downward): Likewise.
73221         (fma_test_upward): Likewise.
73222         (main): Call the new functions.
73224 2012-09-28  David S. Miller  <davem@davemloft.net>
73226         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73228 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73230         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73231         instead of SIGALRM.
73233         * sysdeps/gnu/_G_config.h: Moved to ...
73234         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73235         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73236         * sysdeps/generic/_G_config.h: ... here.
73238         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73240         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73242         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73243         Conditionalize target on [libnss_test1.so-version].
73245         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73247         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73248         (elfobjdir): Move out of conditionals.
73250         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73251         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73252         (__nss_lookup_function): Conditionalize label remove_from_tree on
73253         [!DO_STATIC_NSS || SHARED], matching its only use.
73255 2012-09-28  David S. Miller  <davem@davemloft.net>
73257         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73258         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73259         file.
73260         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73261         sysdep_routines.
73262         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73263         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73264         when HWCAP_SPARC_CRYPTO is present.
73266 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73268         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73270 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73272         [BZ #6530]
73273         * stdio-common/vfprintf.c (process_string_arg): Revert
73274         2000-07-22 change.
73276 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73278         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73279         for testcase.
73280         * stdio-common/tst-sprintf.c: Include <locale.h>
73281         (main): Test sprintf's handling of incomplete multibyte
73282         characters.
73284 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73286         * elf/dl-runtime.c (VERSYMIDX): Removed.
73287         * elf/dl-version.c (VERSYMIDX): Likewise.
73288         * elf/do-rel.h (VERSYMIDX): Likewise.
73289         (VALIDX): Likewise.
73290         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73291         * elf/rtld.c (VALIDX): Likewise.
73292         (ADDRIDX): Likewise.
73293         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73294         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73295         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73296         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73297         (VALIDX): Likewise.
73298         (ADDRIDX): Likewise.
73300 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73302         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73304 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73306         [BZ #11438]
73307         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73308         to global scope.
73309         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73310         addresses are in the same scope as 192.0.2/24.
73311         * posix/gai.conf: Document new scope table defaults.
73313 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73315         [BZ #5298]
73316         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73317         for ftell.  Compute offsets from write pointers instead.
73318         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73320 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73322         [BZ #14543]
73323         * libio/Makefile (tests): New test case tst-fseek.
73324         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73325         combination works in wide mode.
73326         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73327         state when the external buffer state changes.
73329 2012-09-27  David S. Miller  <davem@davemloft.net>
73331         [BZ #14376]
73332         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73333         pass reloc->r_addend in as the 'high' argument to
73334         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73338 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73340         * rt/tst-aio2.c: Include <pthread.h>.
73341         * rt/tst-aio3.c: Likewise.
73343 2012-09-27  Steve Ellcey  <sellcey@mips.com>
73345         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73347 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
73349         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73350         contents on [SHARED].
73352 2012-09-26  Marek Polacek  <polacek@redhat.com>
73354         [BZ #14530]
73355         [BZ #13741]
73356         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73357         for C++ and GCC <4.3 as well as for non GCC compilers.
73359 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
73361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73363 2012-09-25  Roland McGrath  <roland@hack.frob.com>
73365         * Makefile.in (all, install): Declare with .PHONY.
73366         Reported by Michael Hope <michael.hope@linaro.org>.
73368 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73370         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73371         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73372         system header.
73373         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73374         Likewise.
73375         (sydep_routines): Add the new and the internal functions.
73376         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73377         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73379         (GLIBC_2.17): Add the new function.
73380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73381         (GLIBC_2.17): Likewise.
73382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73383         (GLIBC_2.17): Likewise.
73384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73385         (GLIBC_2.17): Likewise.
73386         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73388 2012-09-25  Alan Modra  <amodra@gmail.com>
73390         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73391         Add release barrier before setting once_control to say
73392         initialisation is done.  Add hints on lwarx.  Use macro in
73393         place of isync.
73394         (clear_once_control): Add release barrier.
73396 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73398         [BZ #13629]
73399         * math/s_clog.c (__clog): Handle more values close to |z| = 1
73400         specially.
73401         * math/s_clog10.c (__clog10): Likewise.
73402         * math/s_clog10f.c (__clog10f): Likewise.
73403         * math/s_clog10l.c (__clog10l): Likewise.
73404         * math/s_clogf.c (__clogf): Likewise.
73405         * math/s_clogl.c (__clogl): Likewise.
73406         * math/Makefile (libm-calls): Add x2y2m1.
73407         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73408         (__x2y2m1): Likewise.
73409         (__x2y2m1l): Likewise.
73410         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73411         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73412         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73413         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73414         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73415         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73416         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73417         * sysdeps/i386/fpu/libm-test-ulps: Update.
73418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73420         [BZ #14621]
73421         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73422         int as type of variable DEPTH.
73423         (glob): Use size_t instead of int as type of variables NEWCOUNT
73424         and OLD_PATHC.
73426 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73428         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73429         Add s_sincosf-sse2.
73430         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73431         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73432         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73433         macros for using routine as __sincosf_ia32.
73434         Use macro for function declaration and weak_alias.
73435         * sysdeps/i386/fpu/libm-test-ulps: Update.
73437         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73440         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73441         subnormal argument.
73442         * math/s_cexpf.c (__cexpf): Likewise.
73443         * math/s_csinf.c (__csinf): Likewise.
73444         * math/s_csinhf.c (__csinhf): Likewise.
73445         * math/s_ctanf.c (__ctanf): Likewise.
73446         * math/s_ctanhf.c (__ctanhf): Likewise.
73447         * math/s_ccosh.c (__ccoshf): Likewise.
73448         * math/s_cexp.c (__cexpl): Likewise.
73449         * math/s_csin.c (__csin): Likewise.
73450         * math/s_csinh.c (__csinh): Likewise.
73451         * math/s_ctan.c (__ctan): Likewise.
73452         * math/s_ctanh.c (ctanh): Likewise.
73453         * math/s_ccoshl.c (__ccoshl): Likewise.
73454         * math/s_cexpl.c (__cexpl): Likewise.
73455         * math/s_csinl.c (__csinl): Likewise.
73456         * math/s_csinhl.c (__csinhl): Likewise.
73457         * math/s_ctanl.c (__ctanl): Likewise.
73458         * math/s_ctanhl.c (__ctanhl): Likewise.
73460 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73462         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
73463         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
73464         (_IO_off_t): Define to __off_t, not _G_off_t.
73465         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
73466         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
73467         (_IO_wint_t): Define to wint_t, not _G_wint_t.
73468         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
73469         type of __dummy and __dummy2 fields.
73470         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
73471         (_G_ssize_t): Likewise.
73472         (_G_off_t): Likewise.
73473         (_G_pid_t): Likewise.
73474         (_G_uid_t): Likewise.
73475         (_G_wchar_t): Likewise.
73476         (_G_wint_t): Likewise.
73477         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
73478         (_G_ssize_t): Likewise.
73479         (_G_off_t): Likewise.
73480         (_G_pid_t): Likewise.
73481         (_G_uid_t): Likewise.
73482         (_G_wchar_t): Likewise.
73483         (_G_wint_t): Likewise.
73484         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
73485         (_G_ssize_t): Likewise.
73486         (_G_off_t): Likewise.
73487         (_G_pid_t): Likewise.
73488         (_G_uid_t): Likewise.
73489         (_G_wchar_t): Likewise.
73490         (_G_wint_t): Likewise.
73492 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73494         * malloc/arena.c: Include malloc-sysdep.h.
73495         (shrink_heap): Use check_may_shrink_heap to decide if madvise
73496         is sufficient to shrink the heap or an unmap is needed.
73497         * sysdeps/generic/malloc-sysdep.h: New file.  Define
73498         new function check_may_shrink_heap.
73499         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
73500         new function check_may_shrink_heap.
73502 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73504         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
73505         comments.
73507 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
73509         * catgets/test-gencat.sh: Add "set -e".
73510         * elf/tst-pathopt.sh: Likewise.
73511         * grp/tst_fgetgrent.sh: Likewise.
73512         * iconvdata/run-iconv-test.sh: Likewise.
73513         * intl/tst-gettext.sh: Likewise.
73514         * intl/tst-gettext2.sh: Likewise.
73515         * intl/tst-gettext4.sh: Likewise.
73516         * intl/tst-gettext6.sh: Likewise.
73517         * intl/tst-translit.sh: Likewise.
73518         * io/ftwtest-sh: Likewise.
73519         * libio/test-freopen.sh: Likewise.
73520         * malloc/tst-mtrace.sh: Likewise.
73521         * posix/globtest.sh: Likewise.
73522         * posix/tst-getconf.sh: Likewise.
73523         * posix/wordexp-tst.sh: Likewise.
73524         * stdio-common/tst-printf.sh: Likewise.
73525         * stdio-common/tst-unbputc.sh: Likewise.
73526         * stdlib/tst-fmtmsg.sh: Likewise.
73527         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73528         * catgets/Makefile: Do not specify -e option when running
73529         testsuite shell scripts.
73530         * elf/Makefile: Likewise.
73531         * grp/Makefile: Likewise.
73532         * iconvdata/Makefile: Likewise.
73533         * intl/Makefile: Likewise.
73534         * io/Makefile: Likewise.
73535         * libio/Makefile: Likewise.
73536         * malloc/Makefile: Likewise.
73537         * posix/Makefile: Likewise.
73538         * stdio-common/Makefile: Likewise.
73539         * stdlib/Makefile: Likewise.
73540         * sysdeps/x86_64/Makefile: Likewise.
73542         * io/ftwtest-sh: Add copyright header.
73543         * posix/globtest.sh: Likewise.
73544         * posix/tst-getconf.sh: Likewise.
73545         * posix/wordexp-tst.sh: Likewise.
73546         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73548 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
73550         [BZ #13679]
73551         * Makeconfig (+link): Defined as $(+link-static) if
73552         $(build-shared) isn't yes.
73553         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
73554         isn't yes.
73555         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
73557         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
73559         [BZ #14562]
73560         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
73561         new chunk size with MALLOC_ALIGN_MASK.
73563 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
73565         [BZ #5044]
73566         * stdio-common/printf_fphex.c: Include <stdbool.h> and
73567         <rounding-mode.h>.
73568         (__printf_fphex): Determine rounding using get_rounding_mode and
73569         round_away.
73570         * stdio-common/tst-printf-round.c (struct hex_test): New
73571         structure.
73572         (hex_tests): New variable.
73573         (test_hex_in_one_mode): New function.
73574         (do_test): Also run tests for hex float output.
73576 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
73578         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73579         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73580         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
73581         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73582         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73583         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
73584         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73585         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73587 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
73589         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
73590         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
73591         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
73592         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
73594 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
73596         [BZ #14579]
73597         * elf/rtld.c (dl_main): Limit the check for self loading to normal
73598         mode only.
73599         * elf/tst-rtld-load-self.sh: New test.
73600         * elf/Makefile: Run it.
73602 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
73604         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
73605         (tst-writev-ENV): Remove.
73606         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
73608 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
73610         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
73612 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
73614         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
73615         unconditional.
73616         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
73617         Likewise.
73618         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
73619         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73620         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
73621         Likewise.
73623 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
73625         [BZ #14587]
73626         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
73627         * config.make.in (have-cpp-asm-debuginfo): Removed.
73628         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
73629         * configure: Regenerated.
73631 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
73633         [BZ #5044]
73634         * stdio-common/printf_fp.c: Include <stdbool.h> and
73635         <rounding-mode.h>.
73636         (___printf_fp): Determine rounding using get_rounding_mode and
73637         round_away.
73638         * stdio-common/tst-printf-round.c: New file.
73639         * stdio-common/Makefile (tests): Add tst-printf-round.
73640         (link-libm): New variable.
73641         ($(objpfx)tst-printf-round): Depend in $(link-libm).
73643 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
73645         [BZ #14576]
73646         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
73647         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
73648         Likewise.
73649         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
73650         Likewise.
73652 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
73654         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
73655         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73656         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73657         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73659 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
73661         [BZ #14518]
73662         * include/rounding-mode.h: New file.
73663         * sysdeps/generic/get-rounding-mode.h: Likewise.
73664         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
73665         * stdlib/strtod_l.c: Include <rounding-mode.h>.
73666         (MAX_VALUE): New macro.
73667         (MIN_VALUE): Likewise.
73668         (overflow_value): New function.
73669         (underflow_value): Likewise.
73670         (round_and_return): Use overflow_value and underflow_value to
73671         determine return values in overflow and underflow cases.  Use
73672         round_away to determine rounding depending on rounding mode.
73673         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
73674         determine return values in overflow and underflow cases.
73675         * stdlib/tst-strtod-round.c: Include <fenv.h>.
73676         (struct test_results): New structure.
73677         (struct test): Use struct test_results to store expected results
73678         for all rounding modes.
73679         (TEST): Include expected results for all rounding modes.
73680         (test_in_one_mode): New function.
73681         (do_test): Use test_in_one_mode to compute and check results.
73682         Check results for all rounding modes.
73683         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
73684         $(link-libm).
73686 2012-12-09  Allan McRae  <allan@archlinux.org>
73688         * sysdeps/i386/fpu/libm-test-ulps: Update
73690 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
73692         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
73693         (_G_int32_t): Likewise.
73694         (_G_uint16_t): Likewise.
73695         (_G_uint32_t): Likewise.
73696         (_G_HAVE_BOOL): Likewise.
73697         (_G_HAVE_ATEXIT): Likewise.
73698         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73699         (_G_HAVE_IO_FILE_OPEN): Likewise.
73700         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
73701         (_G_int32_t): Likewise.
73702         (_G_uint16_t): Likewise.
73703         (_G_uint32_t): Likewise.
73704         (_G_HAVE_BOOL): Likewise.
73705         (_G_HAVE_ATEXIT): Likewise.
73706         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73707         (_G_HAVE_IO_FILE_OPEN): Likewise.
73708         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
73709         (_G_int32_t): Likewise.
73710         (_G_uint16_t): Likewise.
73711         (_G_uint32_t): Likewise.
73712         (_G_HAVE_BOOL): Likewise.
73713         (_G_HAVE_ATEXIT): Likewise.
73714         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73715         (_G_HAVE_IO_FILE_OPEN): Likewise.
73717 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
73719         * csu/libc-tls.c: Update copyright years.
73721 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
73723         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
73724         [!_G_USING_THUNKS]: Remove conditional code.
73725         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
73726         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
73728         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
73729         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
73730         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73731         (_G_VTABLE_LABEL_PREFIX): Likewise.
73732         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73733         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73734         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73735         (_G_VTABLE_LABEL_PREFIX): Likewise.
73736         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73737         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73738         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73739         (_G_VTABLE_LABEL_PREFIX): Likewise.
73740         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73742 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
73744         * libio/Makefile: Include ../Makeconfig before tests.
73745         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
73746         only if $(build-shared) is yes.
73748         * iconv/gconv_db.c: Update copyright years.
73750 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73752         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
73753         unwind info if defined PIC. Fix special cases description.
73754         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
73756         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
73757         DP_HI_MASK entry.
73758         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
73760 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
73762         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
73764         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
73765         is NULL.
73767         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
73768         (LDLIBS-tst-chk4): This.
73769         (LDFLAGS-tst-chk5): Renamed to ...
73770         (LDLIBS-tst-chk5): This.
73771         (LDFLAGS-tst-chk6): Renamed to ...
73772         (LDLIBS-tst-chk6): This.
73773         (LDFLAGS-tst-lfschk4): Renamed to ...
73774         (LDLIBS-tst-lfschk4): This.
73775         (LDFLAGS-tst-lfschk5): Renamed to ...
73776         (LDLIBS-tst-lfschk5): This.
73777         (LDFLAGS-tst-lfschk6): Renamed to ...
73778         (LDLIBS-tst-lfschk6): This.
73780         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73781         on $(common-objpfx)soversions.mk.
73783 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73785         [BZ #10014]
73786         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73787         example host name.
73789 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73791         * malloc/arena.c (arena_get_retry): New function that gets
73792         another arena for the caller to try its request on.
73793         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73794         current arena cannot fulfill the request.
73795         (__libc_memalign): Likewise.
73796         (__libc_memalign): Likewise.
73797         (__libc_pvalloc): Likewise.
73798         (__libc_calloc): Likewise.
73800 2012-09-05  John Tobey  <john.tobey@gmail.com>
73802         [BZ #13542]
73803         * manual/arith.texi (Operations on Complex): Fix description
73804         of carg branch cut.
73806 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73808         [BZ #10014]
73809         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73810         host name.
73812         [BZ #10038]
73813         * manual/memory.texi (Memory): Make order of menu items match
73814         order of sections.
73816 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73818         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73819         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73820         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73822 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73824         * csu/libc-tls.c (static_dtv): Renamed to ...
73825         (_dl_static_dtv): This.  Make it global.
73826         (_dl_initial_dtv): Removed.
73827         (__libc_setup_tls): Updated.
73828         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73829         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73830         DL_INITIAL_DTV.
73832 2012-09-06  Petr Machata  <pmachata@redhat.com>
73834         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
73835         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
73836         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73837         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
73839 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73841         [BZ #14545]
73842         * csu/libc-tls.c (_dl_initial_dtv): New variable.
73843         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
73844         freeing dtv[-1].
73846 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73848         [BZ #14544]
73849         * Makeconfig (link-static-before-libc): Replace $(+prector)
73850         with $(+prectorT).
73851         (link-static-after-libc): Replace $(+postctor) with
73852         $(+postctorT).
73853         (link-bounded): Replace $(+prector)/$(+postctor) with
73854         $(+prectorT)/$(+postctorT).
73855         (+prectorT): New macro.
73856         (+postctorT): Likewise.
73858 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73860         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
73861         (round_str): Handle values above the maximum for IBM long double
73862         as inexact.
73863         * stdlib/tst-strtod-round.c (tests): Regenerated.
73865 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73867         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
73868         assembler flag.
73869         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
73870         zarch_nohighgprs around the zarch optimized routines.
73871         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
73872         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
73873         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
73874         for zarch.
73876 2012-09-05  David S. Miller  <davem@davemloft.net>
73878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73880         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
73881         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
73882         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
73883         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73884         entries.
73886 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73888         * malloc/arena.c: Fold copyright years.
73889         * malloc/mcheck.c, malloc/memusage.c: Likewise.
73891 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73893         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73895 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73897         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
73899 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73901         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
73902         change internal state upon failure.
73904 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73906         * malloc/mcheck.c (mcheck_check_all): Fix typo.
73907         * malloc/memusage.c (mmap): Likewise.
73908         (mmap64, mremap): Likewise.  Adjust name in comment.
73910 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73912         * libio/fileops.c: Fix typos in comments.
73913         * libio/oldfileops.c: Likewise.
73914         * libio/wfileops.c: Likewise.
73916 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73918         [BZ #1349]
73919         * malloc/Makefile (tests): Add tst-malloc-usable test case.
73920         (tst-malloc-usable-ENV): Set environment for test case.
73921         * malloc/hooks.c (malloc_check_get_size): New function to get
73922         requested size.
73923         * malloc/malloc.c (musable): Use malloc_check_get_size.
73924         * malloc/tst-malloc-usable.c: New test case.
73926 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73928         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
73930 2012-09-05  Allan McRae  <allan@archlinux.org>
73932         [BZ #13966]
73933         * configure.in (CXX_SYSINCLUDES): Use compiler output to
73934         determine header location.
73935         * configure: Regenerated.
73937 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73939         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
73940         float format.
73941         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
73942         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
73943         format.
73944         (test): Regenerate.
73946 2012-09-04  David S. Miller  <davem@davemloft.net>
73948         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
73949         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
73950         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
73952 2012-09-04  Florian Weimer  <fweimer@redhat.com>
73954         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
73955         failures.
73957         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73959 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
73961         [BZ #9914]
73962         * libio/iogetdelim.c: Include <limits.h>.
73963         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
73964         + len + 1 would overflow.
73966 2012-09-03  Andreas Jaeger  <aj@suse.de>
73968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73969         * sysdeps/i386/fpu/libm-test-ulps: Update.
73971 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73973         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73974         Add s_sinf-sse2, s_conf-sse2.
73976         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
73977         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
73978         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
73979         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
73981         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
73982         for using routine as __sinf_ia32.
73983         Use macro for function declaration and weak_alias.
73984         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
73985         for using routine as __cosf_ia32.
73986         Use macro for function declaration and weak_alias.
73988         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
73989         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
73991         * sysdeps/x86_64/fpu/s_sinf.S: New file.
73992         * sysdeps/x86_64/fpu/s_cosf.S: New file.
73993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73995         * math/libm-test.inc (cos_test): Add more test cases.
73996         (sin_test): Likewise.
73997         (sincos_test): Likewise.
73999 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74001         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
74002         (IFUNC_RESOLVE): Make pointers to the specialized implementations
74003         hidden.
74004         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
74006 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
74008         [BZ #14538]
74009         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74010         first element of the GOT.
74011         (elf_machine_load_address): Return the difference between
74012         the runtime address of _DYNAMIC and elf_machine_dynamic ().
74014 2012-09-01  Allan McRae  <allan@archlinux.org>
74016         [BZ #13412]
74017         * configure.in (AWK): Require gawk version 3.0 or later.
74018         * configure: Regenerated.
74020 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
74022         * sysdeps/unix/sysv/linux/kernel-features.h
74023         (__ASSUME_POSIX_CPU_TIMERS): Remove.
74024         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74025         [__NR_clock_getres]: Make code unconditional.
74026         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
74027         (clock_getcpuclockid): Remove code left unreachable by removal of
74028         conditionals.
74029         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
74030         code unconditional.
74031         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74032         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74033         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
74034         Make code unconditional.
74035         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74036         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74037         * sysdeps/unix/sysv/linux/clock_settime.c
74038         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
74039         conditional code.
74040         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
74041         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74043 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
74045         [BZ #14476]
74046         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
74047         scripts/test-installation.pl.
74049         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
74050         and $ld_so_version if it is set.
74052 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
74054         [BZ #14516]
74055         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
74056         failure if reading from procfs failed.
74057         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
74059 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74061         * sysdeps/unix/sysv/linux/kernel-features.h
74062         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
74063         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74064         Remove conditional code.
74065         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74066         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
74067         Remove conditional code.
74068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74069         * sysdeps/unix/sysv/linux/i386/fxstat.c
74070         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74071         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74072         * sysdeps/unix/sysv/linux/i386/fxstatat.c
74073         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74074         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74075         * sysdeps/unix/sysv/linux/i386/lxstat.c
74076         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74078         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
74079         Remove conditional code.
74080         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74081         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74082         Remove conditional code.
74083         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74084         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
74085         <kernel-features.h>.
74086         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
74087         Remove.
74088         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
74089         Remove conditional code.
74090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74091         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
74092         Remove conditional.
74094 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
74096         [BZ #5400]
74097         * NEWS: Add fixed bug number.
74099 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74101         [BZ #14519]
74102         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
74103         underflowing exponent in case of negative sign.
74104         * stdlib/tst-strtod-round-data: Add more tests.
74105         * stdlib/tst-strtod-round.c (tests): Regenerated.
74107         [BZ #3479]
74108         * stdlib/strtod_l.c (NDIG): Remove.
74109         (HEXNDIG): Likewise.
74110         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
74111         smallest representable value.
74112         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
74113         lie within an exact representation of 1/2 ulp of the result.
74114         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
74115         unconditionally.
74116         (TENS_P9_IDX): Define unconditionally.
74117         (TENS_P9_SIZE): Likewise.
74118         (TENS_P10_IDX): Likewise.
74119         (TENS_P10_SIZE): Likewise.
74120         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
74121         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
74122         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
74123         entries for 10^2^13 and 10^2^14.
74124         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
74125         (TENS_P13_IDX): Define.
74126         (TENS_P13_SIZE): Likewise.
74127         (TENS_P14_IDX): Likewise.
74128         (TENS_P14_SIZE): Likewise.
74129         (_fpioconst_pow10): Change array size to
74130         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
74131         unconditional.
74132         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
74133         1024]: Add entries for 10^2^13 and 10^2^14.
74134         [LAST_POW10 > _LAST_POW10]: Remove #error.
74135         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
74136         (_fpioconst_pow10): Change array size to
74137         FPIOCONST_POW10_ARRAY_SIZE.
74138         * stdlib/gen-fpioconst.c: New file.
74139         * stdlib/gen-tst-strtod-round.c: Likewise.
74140         * stdlib/tst-strtod-round-data: Likewise.
74141         * stdlib/tst-strtod-round.c: Likewise.
74142         * stdlib/Makefile (tests): Add tst-strtod-round.
74144         [BZ #14459]
74145         * stdlib/strtod_l.c: Include <stdint.h>.
74146         (NDEBUG): Do not define.
74147         (round_and_return): Change EXPONENT parameter to type intmax_t.
74148         Rearrange calculations to avoid internal overflow possibilities.
74149         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
74150         Rearrange calculations to avoid internal overflow possibilities.
74151         Assert that number fits inside MPNSIZE limbs.
74152         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74153         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
74154         calculations and add assertions to avoid internal overflow
74155         possibilities.  Add casts to avoid signed/unsigned operations.
74156         * stdlib/tst-strtod-overflow.c: New file.
74157         * stdlib/Makefile (tests): Add tst-strtod-overflow.
74159 2012-08-25  Marek Polacek  <polacek@redhat.com>
74161         * time/time.h: Fix some typos in comments.
74163 2012-08-23  Roland McGrath  <roland@hack.frob.com>
74165         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74166         * posix/tst-rfc3484-2.c: Likewise.
74167         * posix/tst-rfc3484-3.c: Likewise.
74169 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
74171         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74172         (EF_ARM_ABI_FLOAT_HARD): Likewise.
74174 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
74176         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74177         #include of fxstatat64.c.
74179 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74181         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74182         * shadow/getspent_r.c: Likewise.
74183         * shadow/getspnam.c: Likewise.
74184         * shadow/getspnam_r.c: Likewise.
74185         * gshadow/getsgent.c: Likewise.
74186         * gshadow/getsgent_r.c: Likewise.
74187         * gshadow/getsgnam.c: Likewise.
74188         * gshadow/getsgnam_r.c: Likewise.
74189         * inet/getnetbyad.c: Likewise.
74190         * inet/getnetbyad_r.c: Likewise.
74191         * inet/getnetbynm.c: Likewise.
74192         * inet/getnetbynm_r.c: Likewise.
74193         * inet/getnetent.c: Likewise.
74194         * inet/getnetent_r.c: Likewise.
74195         * inet/getproto.c: Likewise.
74196         * inet/getproto_r.c: Likewise.
74197         * inet/getprtent.c: Likewise.
74198         * inet/getprtent_r.c: Likewise.
74199         * inet/getprtname.c: Likewise.
74200         * inet/getprtname_r.c: Likewise.
74201         * inet/getrpcbyname.c: Likewise.
74202         * inet/getrpcbyname_r.c: Likewise.
74203         * inet/getrpcbynumber.c: Likewise.
74204         * inet/getrpcbynumber_r.c: Likewise.
74205         * inet/getrpcent.c: Likewise.
74206         * inet/getrpcent_r.c: Likewise.
74207         * inet/getaliasent.c: Likewise.
74208         * inet/getaliasent_r.c: Likewise.
74209         * inet/getaliasname.c: Likewise.
74210         * inet/getaliasname_r.c: Likewise.
74211         * nscd/getgrgid_r.c: Likewise.
74212         * nscd/getgrnam_r.c: Likewise.
74213         * nscd/gethstbyad_r.c: Likewise.
74214         * nscd/gethstbynm3_r.c: Likewise.
74215         * nscd/getpwnam_r.c: Likewise.
74216         * nscd/getpwuid_r.c: Likewise.
74217         * nscd/getsrvbynm_r.c: Likewise.
74218         * nscd/getsrvbypt_r.c: Likewise.
74219         * nscd/gai.c: Likewise.
74221         * configure.in (build_nscd): New substituted variable, set
74222         by --disable-build-nscd and defaults to $use_nscd.
74223         * configure: Regenerated.
74224         * config.make.in (build-nscd): New substituted variable.
74225         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74226         Change conditional to require [$(build-nscd) = yes] as well.
74227         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74229         [BZ #13696]
74230         * configure.in (use_nscd): New substituted variable, set by
74231         --disable-nscd.  If enabled, define USE_NSCD.
74232         * configure: Regenerated.
74233         * config.h.in: Add USE_NSCD.
74234         * config.make.in (use-nscd): New substituted variable.
74235         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74236         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74237         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74238         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74239         (CFLAGS-getgrnam_r.c): Likewise.
74240         (CFLAGS-initgroups.c): Likewise.
74241         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74242         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74243         Variables removed.
74244         * inet/getnetgrent_r.c
74245         (nscd_setnetgrent): New function, broken out of ...
74246         (setnetgrent): ... here.  Call it.
74247         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74248         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74249         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74250         * nscd/Makefile (routines, aux): Move definitions after include of
74251         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74252         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74253         Conditionalize on [USE_NSCD].
74254         (is_nscd, nscd_init_cb): Likewise.
74255         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74256         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74257         * nss/nss_db/db-init.c: Likewise.
74258         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74259         [USE_NSCD].
74260         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74261         (make_request): Use it.
74262         (cache_valid_p): New function.
74263         (__check_pf): Use it.
74264         * NEWS: Add item for --disable-nscd.
74266 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74268         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74269         to support sed >= 4.2.1-20-ga9bf076.
74270         * configure: Regenerated.
74272 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74274         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74275         Conditionalize whole body on [IREL].
74277 2012-08-22  Jeff Law <law@redhat.com>
74279         [BZ #14505]
74280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74281         if the family is PF_UNSPEC.
74283 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74285         * Makerules (lib-version): Rename from V.
74286         (install-lib-nosubdir): Change V to lib-version.
74288 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74290         [BZ #14252]
74291         * powerpc32/power6/wcschr.c: New file.
74292         * powerpc32/power6/wcscpy.c: New file.
74293         * powerpc32/power6/wcsrchr.c: New file.
74294         * powerpc64/power6/wcschr.c: New file.
74295         * powerpc64/power6/wcscpy.c: New file.
74296         * powerpc64/power6/wcsrchr.c: New file.
74298 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74300         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74301         (two_way_short_needle): Use it.
74302         * string/strstr.c (AVAILABLE1_USES_J): Define.
74303         * string/strcasestr.c: Likewise.
74305         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74306         array references.
74307         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74309         [BZ #11607]
74310         * NEWS: Add an entry.
74311         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74312         define their defaults.
74313         (two_way_short_needle): Detect end-of-string on-the-fly.
74314         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74315         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74316         * string/bug-strcasestr1.c: New test.
74317         * string/Makefile: Run it.
74319 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74321         [BZ #11607]
74322         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74323         the first character.
74325 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74327         * csu/elf-init.c (__libc_csu_irel): Function removed.
74328         * csu/libc-start.c (apply_irel): New function.
74329         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74331 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74333         * sysdeps/unix/sysv/linux/kernel-features.h
74334         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74335         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74336         <kernel-features.h>.
74337         [__NR_fadvise64_64]: Make code unconditional.
74338         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74339         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74340         !__NR_fadvise64_64)]: Likewise.
74341         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74342         !__NR_fadvise64_64))]: Likewise.
74343         [__NR_fadvise64]: Make code unconditional.
74344         [!__NR_fadvise64]: Remove conditional code.
74345         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74346         <kernel-features.h>.
74347         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74348         unconditional.
74349         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74350         conditional code.
74351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74352         not include <kernel-features.h>.
74353         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74354         unconditional.
74355         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74356         conditional code.
74357         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74358         include <kernel-features.h>.
74359         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74360         unconditional.
74361         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74362         conditional code.
74364 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74366         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74367         slight instruction rearrangements per scrollpipe analysis.
74368         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74370 2012-08-20  Roland McGrath  <roland@hack.frob.com>
74372         * manual/syslog.texi (syslog; vsyslog, closelog):
74373         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74374         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74376         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74377         DSOCAPS to match condition on defining it.
74379 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
74381         * sysdeps/unix/sysv/linux/kernel-features.h
74382         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74384         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74385         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74387         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74388         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74390         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74391         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74393         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74394         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74396         * sysdeps/unix/sysv/linux/kernel-features.h
74397         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74398         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74399         unconditional.
74400         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74401         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74402         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74403         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74404         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74405         Make code unconditional.
74406         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74407         (__mmap64) [!__NR_mmap2]: Likewise.
74408         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74409         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74410         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74411         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74412         [__NR_mmap2]: Make code unconditional.
74413         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74414         (__mmap64) [!__NR_mmap2]: Likewise.
74416 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74418         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74420 2012-08-18  Andreas Jaeger  <aj@suse.de>
74422         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74424 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74426         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74427         * include/unistd.h (__have_sock_cloexec): Likewise.
74428         (__have_pipe2): Likewise.
74429         (__have_dup3): Likewise.
74431 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74433         [BZ #9685]
74434         * include/unistd.h (__have_pipe2): Change define into an extern int.
74435         (__have_dup3): Likewise.
74436         * socket/have_sock_cloexec.c: Include fcntl.h.
74437         (__have_pipe2): New variable.
74438         (__have_dup3): Likewise.
74440 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
74442         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74444 2012-08-17  Marek Polacek  <polacek@redhat.com>
74446         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
74447         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
74449 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74451         * configure.in: Add AC_SUBST for sysheaders.
74452         * configure: Regenerated.
74453         * config.make.in (sysheaders): New substituted variable.
74455         * sysdeps/unix/mkfifo.c: Moved ...
74456         * sysdeps/posix/mkfifo.c: ... here.
74457         * sysdeps/unix/mkfifoat.c: Moved ...
74458         * sysdeps/posix/mkfifoat.c: ... here.
74460         * sysdeps/unix/utime.c: Moved ...
74461         * sysdeps/posix/utime.c: ... here.
74463         * sysdeps/unix/time.c: Moved ...
74464         * sysdeps/posix/time.c: ... here.
74465         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
74466         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
74468         * sysdeps/unix/nice.c: Moved ...
74469         * sysdeps/posix/nice.c: ... here.
74471         * sysdeps/unix/alarm.c: Moved ...
74472         * sysdeps/posix/alarm.c: ... here.
74474         * intl/Makefile ($(codeset_mo)): Depend on the input file.
74476 2012-08-17  Jeff Law <law@redhat.com>
74478         * intl/Makefile (codeset_mo): New variable.
74479         ($(codeset_mo)): New target.
74480         (tst-codeset.out): Depend on that.  Remove explicit rule.
74481         (tst-gettext3.out, tst-gettext5.out): Likewise.
74482         (LOCPATH-ENV, tst-codeset-ENV): New variables.
74483         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
74484         * intl/tst-codeset.sh: Remove.
74485         * intl/tst-gettext3.sh: Likewise.
74486         * intl/tst-gettext5.sh: Likewise.
74488 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74490         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
74491         * sysdeps/unix/syscalls.list: ... here.
74493         * sysdeps/posix/getaddrinfo.c
74494         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
74495         (gaiconf_init, gaiconf_reload): Use them.
74496         [!_STATBUF_ST_NSEC]
74497         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
74498         Define using time_t rather than struct timespec.
74500         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
74501         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
74502         Macros removed.
74503         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
74504         [!NO_THREADS].
74505         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
74506         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
74507         Likewise.
74509         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
74510         __libc_cleanup_push argument.
74512         * bits/param.h: New file.
74513         * misc/sys/param.h: New file.
74514         * include/sys/param.h: New file.
74515         * misc/Makefile (headers): Add bits/param.h.
74516         * sysdeps/generic/sys/param.h: File removed.
74517         * sysdeps/unix/sysv/linux/bits/param.h: New file.
74518         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
74519         * sysdeps/mach/hurd/bits/param.h: New file.
74520         * sysdeps/mach/hurd/sys/param.h: File removed.
74522         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
74523         last change.
74525         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
74526         [_IO_MTSAFE_IO].
74527         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
74528         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
74529         New macros.
74531         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
74532         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
74533         rather than -D_IO_MTSAFE_IO conditionally.
74534         * stdio-common/Makefile (CPPFLAGS): Likewise.
74535         * wcsmbs/Makefile (CPPFLAGS): Likewise.
74536         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
74537         Use $(libio-mtsafe).
74538         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
74539         of -D_IO_MTSAFE_IO.
74540         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
74541         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
74542         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
74543         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
74544         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
74545         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
74546         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
74547         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
74548         (CFLAGS-fread_u_chk.c): Likewise.
74549         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
74550         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
74551         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
74552         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
74553         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
74554         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
74555         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
74556         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
74557         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
74559         * libio/Makefile: Test [$(libc-reentrant) = yes]
74560         instead of [$(filter %REENTRANT, $(defines)) nonempty].
74562         * Makeconfig
74563         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
74564         * sysdeps/pthread/configure: File removed.
74565         * sysdeps/pthread/Makeconfig: New file.
74566         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
74567         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
74569 2012-08-16  Gary Benson  <gbenson@redhat.com>
74571         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
74572         unmapping the first object in a namespace.
74574 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74576         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
74577         (__internal_setnetgrent): ... this.  Add internal_function to
74578         definition.  Add libc_hidden_def.
74579         (setnetgrent): Update caller.
74580         (internal_endnetgrent): Renamed to ...
74581         (__internal_endnetgrent): ... this.  Add internal_function to
74582         definition.  Add libc_hidden_def.
74583         (endnetgrent): Update caller.
74584         (internal_getnetgrent_r): Renamed to ...
74585         (__internal_getnetgrent_r): ... this.  Add internal_function to
74586         definition.  Add libc_hidden_def.
74587         (__getnetgrent_r): Update caller.
74588         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
74590 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74592         * stdlib/longlong.h: Update from GCC.
74594 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74596         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
74597         on _QL, which is set by umul_ppmm but never used.
74598         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
74599         variables, which are set by GMP macros but never used.
74600         * stdio-common/_itowa.c (_itowa): Likewise.
74601         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
74602         * stdlib/mod_1.c (mpn_mod_1): Likewise.
74604 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
74606         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
74607         struct La_sh_regs is not constant.
74608         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
74609         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
74610         and struct La_sparc64_regs are not constant.
74612 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74614         * sysdeps/unix/sysv/linux/kernel-features.h
74615         (__ASSUME_POSIX_TIMERS): Remove.
74616         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74617         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74618         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
74619         Make code unconditional.
74620         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74621         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
74622         Make code unconditional.
74623         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74624         * sysdeps/unix/sysv/linux/clock_nanosleep.c
74625         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
74626         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74627         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
74628         Make code unconditional.
74629         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74630         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
74631         (__libc_missing_posix_timers): Remove.
74633 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74635         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
74636         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
74638         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
74640         * elf/dl-sym.c: Include <stdlib.h>.
74642         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
74643         constants, which avoids warnings in 32-bit builds.
74645         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
74646         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
74648         * misc/lseek.c: File moved to ...
74649         * io/lseek.c: ... here.
74651         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
74653         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
74654         shifting LEN more than 31 bits at once.
74656 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74658         [BZ #14195]
74659         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
74660         segmentation fault for a case of two empty input strings.
74661         * string/test-strncasecmp.c (check1): Renamed to...
74662         (bz12205): ...this.
74663         (bz14195): Add new testcase for two empty input strings and N > 0.
74664         (test_main): Call new testcase, adapt for renamed function.
74666 2012-08-15  Andreas Jaeger  <aj@suse.de>
74668         [BZ #14090]
74669         * crypt/md5test2.c: New test, based on test supplied by Serge
74670         Belyshev <belyshev@depni.sinp.msu.ru>.
74671         * crypt/Makefile (xtests): Add md5test-giant..
74672         * crypt/Makefile ($(objpfx)md5test-giant): Add.
74674 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
74676         [BZ #14090]
74677         * crypt/md5.c (md5_process_block): Don't assume the buffer
74678         length is less than 2**32.
74679         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
74680         length is less than 2**64.
74682 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74684         * string/str-two-way.h: Include <sys/param.h>.
74685         (MAX): Macro removed.
74687         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
74688         Move #define and #undef of memmove to just before and after
74689         including <string.h>.
74691         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
74692         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
74693         and after including <string.h>.  Move declarations of
74694         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
74695         to before #include "string/memmove.c".
74697         * include/dirent.h: Declare __getdirentries.
74699         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
74700         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
74702 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
74704         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
74705         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
74706         * sysdeps/i386/configure: Regenerated.
74707         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
74708         STABS_CURRENT_FILE, and STABS_FUN.
74709         (END): Remove call to STABS_FUN_END.
74710         (STABS_CURRENT_FILE1): Delete.
74711         (STABS_CURRENT_FILE): Likewise.
74712         (STABS_FUN): Likewise.
74713         (STABS_FUN_END): Likewise.
74714         (STABS_FUN2): Likewise.
74715         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
74716         * sysdeps/x86_64/configure: Regenerated.
74718 2012-08-14  Roland McGrath  <roland@hack.frob.com>
74720         * elf/dl-open.c: Include <atomic.h>.
74721         * elf/dl-lookup.c: Likewise.
74723 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
74725         * sysdeps/unix/sysv/linux/kernel-features.h
74726         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
74727         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
74728         unconditionally.
74729         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
74730         unconditionally.
74731         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
74732         condition on __ASSUME_CLONE_THREAD_FLAGS.
74734 2012-08-14  Andreas Jaeger  <aj@suse.de>
74736         * sysdeps/i386/fpu/libm-test-ulps: Update.
74738 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
74740         * include/atomic.h (atomic_exchange_and_add): Split into ...
74741         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
74742         New atomic macros.
74744 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
74746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74748 2012-08-13  Jeff Law <law@redhat.com>
74750         * manual/stdio.texi (snprintf): Clarify handling of the trailing
74751         null byte in the output string.
74753 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
74755         * sysdeps/unix/sysv/linux/kernel-features.h
74756         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
74757         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74758         (__ASSUME_ARG_MAX_STACK_BASED): Define.
74759         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
74760         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
74761         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
74762         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
74764 2012-08-09  Jeff Law <law@redhat.com>
74766         [BZ #13939]
74767         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74768         When avoid_arena is set, don't retry in the that arena.  Pick the
74769         next one, whatever it might be.
74770         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
74771         (arena_lock): Pass in new parameter to arena_get2.
74772         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
74773         arena_get2.
74774         (__libc_malloc): Unify retrying after main arena failure with
74775         __libc_memalign version.
74776         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74778 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
74780         [BZ #14166]
74781         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74782         to __redirect_strstr.
74783         (__strstr_sse42): Use typeof __redirect_strstr.
74784         (__strstr_ia32): Likewise.
74785         (__libc_strstr): New prototype.
74786         (strstr): Renamed to ...
74787         (__libc_strstr): This.
74788         (strstr): New strong alias of __libc_strstr.
74789         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74790         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74791         __redirect_time.
74792         Include <time.h>.
74793         (__libc_time): New prototype.
74794         (time_ifunc): Replace time with __libc_time.
74795         (time): New strong alias and hidden definition of __libc_time.
74796         (__GI_time): Remove strong alias.
74797         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74798         Include <stddef.h>.
74799         (memmove): Redefined to __redirect_memmove.
74800         (__memmove_sse2): Use typeof __redirect_memmove.
74801         (__memmove_ssse3): Likewise.
74802         (__memmove_ssse3_back): Likewise.
74803         (__libc_memmove): New prototype.
74804         (memmove): Renamed to ...
74805         (__libc_memmove): This.
74806         (memmove): New strong alias of __libc_memmove.
74808 2012-08-08  Mark Salter  <msalter@redhat.com>
74810         * elf/elf.h
74811         (R_MN10300_TLS_GD): Define.
74812         (R_MN10300_TLS_LD): Likewise.
74813         (R_MN10300_TLS_LDO): Likewise.
74814         (R_MN10300_TLS_GOTIE): Likewise.
74815         (R_MN10300_TLS_IE): Likewise.
74816         (R_MN10300_TLS_LE): Likewise.
74817         (R_MN10300_TLS_DTPMOD): Likewise.
74818         (R_MN10300_TLS_DTPOFF): Likewise.
74819         (R_MN10300_TLS_TPOFF): Likewise.
74820         (R_MN10300_SYM_DIFF): Likewise.
74821         (R_MN10300_ALIGN): Likewise.
74822         (R_MN10300_NUM): Update.
74824 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
74826         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74827         Remove.
74829 2012-08-08  Roland McGrath  <roland@hack.frob.com>
74831         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74833         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
74834         sysdeps/unix -> sysdeps/posix move.
74835         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
74837 2012-08-07      Allan McRae     <allan@archlinux.org>
74839         [BZ #14303]
74840         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
74841         (SUNOS_CPP): Likewise.
74842         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
74843         not found.
74844         (open_input): Call CPP using execvp.
74846 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74848         * sysdeps/unix/sysv/linux/kernel-features.h
74849         (__ASSUME_PROT_GROWSUPDOWN): Remove.
74850         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74851         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74852         (__ASSUME_WAITID_SYSCALL): Likewise.
74853         * sysdeps/unix/sysv/linux/dl-execstack.c
74854         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
74855         code unconditional.
74856         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
74857         conditional code.
74858         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
74859         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
74860         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
74861         code.
74862         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
74863         unconditional.
74864         [__ASSUME_WAITID_SYSCALL]: Likewise.
74865         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
74867 2012-08-07  Roland McGrath  <roland@hack.frob.com>
74869         * sysdeps/unix/closedir.c: Renamed to ...
74870         * sysdeps/posix/closedir.c: ... here.
74871         * sysdeps/unix/dirfd.c: Renamed to ...
74872         * sysdeps/posix/dirfd.c: ... here.
74873         * sysdeps/unix/dirstream.h: Renamed to ...
74874         * sysdeps/posix/dirstream.h: ... here.
74875         * sysdeps/unix/fdopendir.c: Renamed to ...
74876         * sysdeps/posix/fdopendir.c: ... here.
74877         * sysdeps/unix/opendir.c: Renamed to ...
74878         * sysdeps/posix/opendir.c: ... here.
74879         * sysdeps/unix/readdir.c: Renamed to ...
74880         * sysdeps/posix/readdir.c: ... here.
74881         * sysdeps/unix/readdir_r.c: Renamed to ...
74882         * sysdeps/posix/readdir_r.c: ... here.
74883         * sysdeps/unix/rewinddir.c: Renamed to ...
74884         * sysdeps/posix/rewinddir.c: ... here.
74885         * sysdeps/unix/seekdir.c: Renamed to ...
74886         * sysdeps/posix/seekdir.c: ... here.
74887         * sysdeps/unix/telldir.c: Renamed to ...
74888         * sysdeps/posix/telldir.c: ... here.
74889         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
74890         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
74891         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
74892         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
74894         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
74895         * bits/fcntl.h: ... here.
74897         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
74898         not 0.
74899         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
74900         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
74901         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74902         (struct flock): Move l_start, l_len to the beginning.
74903         Use __pid_t for l_pid.
74904         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
74905         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
74906         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
74907         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
74908         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
74909         [__USE_LARGEFILE64] (struct flock64): New type.
74910         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
74912         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
74913         * bits/dirent.h: ... here.
74915         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
74916         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
74918 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74920         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74921         Change from 2.6.0 to 2.6.16.
74922         * sysdeps/unix/sysv/linux/configure: Regenerated.
74923         * sysdeps/unix/sysv/linux/kernel-features.h
74924         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
74925         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
74926         version.
74927         (__ASSUME_UTIMES): Likewise.
74928         (__ASSUME_CLONE_STOPPED): Remove.
74929         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
74930         architectures, not kernel version.
74931         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
74932         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74933         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74934         (__ASSUME_WAITID_SYSCALL): Likewise.
74935         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
74936         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
74937         * README: State 2.6.16 as minimum Linux kernel version.  Do not
74938         refer to older versions.
74940 2012-08-06  Roland McGrath  <roland@hack.frob.com>
74942         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
74943         Define alphasort64 as an alias.
74944         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
74945         Define versionsort64 as an alias.
74946         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
74947         Define scandir64 as an alias.
74948         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
74949         Define scandirat64 as an alias.
74950         * dirent/alphasort64.c (alphasort64):
74951         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
74952         * dirent/versionsort64.c: Likewise.
74953         * dirent/scandir64.c: Likewise.
74954         * dirent/scandirat64.c: Likewise.
74955         * sysdeps/wordsize-64/alphasort.c: File removed.
74956         * sysdeps/wordsize-64/alphasort64.c: File removed.
74957         * sysdeps/wordsize-64/scandir.c: File removed.
74958         * sysdeps/wordsize-64/scandir64.c: File removed.
74959         * sysdeps/wordsize-64/scandirat.c: File removed.
74960         * sysdeps/wordsize-64/scandirat64.c: File removed.
74961         * sysdeps/wordsize-64/versionsort.c: File removed.
74962         * sysdeps/wordsize-64/versionsort64.c: File removed.
74963         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
74964         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
74965         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
74966         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
74967         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
74968         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
74969         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
74970         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
74972         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
74973         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74974         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
74975         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74976         [defined __arch64__ || defined __sparcv9]
74977         (__INO_T_MATCHES_INO64_T): New macro.
74978         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74979         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
74980         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
74981         * sysdeps/unix/sysv/linux/bits/dirent.h
74982         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74983         (_DIRENT_MATCHES_DIRENT64): New macro.
74985         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
74986         Define lockf64 as an alias.
74987         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
74988         Define fseeko64 as an alias.
74989         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
74990         Define ftello64 as an alias.
74991         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
74992         Define _IO_fgetpos64 and fgetpos64 as aliases.
74993         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
74994         Define _IO_fsetpos64 and fsetpos64 as aliases.
74995         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
74996         Conditionalize body on this.
74997         * libio/fseeko64.c: Likewise.
74998         * libio/ftello64.c: Likewise.
74999         * libio/iofgetpos64.c: Likewise.
75000         * libio/iofsetpos64.c: Likewise.
75001         * sysdeps/wordsize-64/lockf.c: File removed.
75002         * sysdeps/wordsize-64/lockf64.c: File removed.
75003         * sysdeps/wordsize-64/fseeko.c: File removed.
75004         * sysdeps/wordsize-64/fseeko64.c: File removed.
75005         * sysdeps/wordsize-64/ftello.c: File removed.
75006         * sysdeps/wordsize-64/ftello64.c: File removed.
75007         * sysdeps/wordsize-64/iofgetpos.c: File removed.
75008         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
75009         * sysdeps/wordsize-64/iofsetpos.c: File removed.
75010         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
75011         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
75012         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
75013         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
75014         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
75015         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
75016         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
75017         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
75018         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
75019         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
75020         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
75022         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75023         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75024         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
75025         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75026         [defined __arch64__ || defined __sparcv9]
75027         (__OFF_T_MATCHES_OFF64_T): New macro.
75028         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75029         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75030         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75031         (__OFF_T_MATCHES_OFF64_T): New macro.
75033 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75035         * stdlib/secure-getenv.c (__secure_getenv): Replace
75036         GLIBC_2_16 with GLIBC_2_17.
75038 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75040         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
75041         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75043 2012-08-03  David S. Miller  <davem@davemloft.net>
75045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75047 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75049         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
75050         Remove.
75051         (__ASSUME_CORRECT_SI_PID): Likewise.
75052         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
75053         (__ASSUME_TMPFS_NAME): Likewise.
75054         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
75055         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
75056         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
75057         (HAVE_AUX_SECURE): Make definition unconditional.
75058         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
75059         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
75061 2012-08-03  Roland McGrath  <roland@hack.frob.com>
75063         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
75064         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
75065         * sysdeps/mach/hurd/eloop-threshold.h: New file.
75066         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75067         __eloop_threshold instead of SYMLOOP_MAX.
75069         * sysdeps/generic/eloop-threshold.h: New file.
75070         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
75071         of MAXSYMLINKS.
75072         * elf/chroot_canon.c (chroot_canon): Likewise.
75074 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75076         [BZ #13717]
75077         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75078         Change to 2.6.0 everywhere.
75079         * sysdeps/unix/sysv/linux/configure: Regenerated.
75080         * sysdeps/unix/sysv/linux/kernel-features.h
75081         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
75082         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
75083         kernel versions.
75084         (__ASSUME_POSIX_TIMERS): Define unconditionally.
75085         (__ASSUME_FUTEX_REQUEUE): Remove.
75086         (__ASSUME_STATFS64): Define unconditionally.
75087         (__ASSUME_AT_SECURE): Likewise.
75088         (__ASSUME_CORRECT_SI_PID): Likewise.
75089         (__ASSUME_TGKILL): Define without depending on kernel version for
75090         i386.
75091         (__ASSUME_UTIMES): Likewise.
75092         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
75093         kernel version.
75094         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
75095         (__ASSUME_TMPFS_NAME): Likewise.
75096         * README: Update reference to Linux kernel versions.
75098 2012-08-02  Marek Polacek  <polacek@redhat.com>
75100         [BZ #14150]
75101         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
75102         libc_cv_asm_type_prefix with %.
75103         * configure: Regenerated.
75104         * include/libc-symbols.h: Remove comment about
75105         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75106         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75107         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
75108         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
75109         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
75110         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75111         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75112         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
75113         * elf/tst-unique2mod1.c: Likewise.
75114         * elf/tst-unique1mod2.c: Likewise.
75115         * elf/tst-unique1mod1.c: Likewise.
75116         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
75117         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
75118         Replace ASM_TYPE_DIRECTIVE with .type.
75119         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75120         * sysdeps/i386/sysdep.h: Likewise.
75121         * sysdeps/x86_64/sysdep.h: Likewise.
75122         * sysdeps/sh/sysdep.h: Likewise.
75123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75124         Do not define ASM_TYPE_DIRECTIVE.
75125         * sysdeps/powerpc/sysdep.h: Likewise.
75126         * sysdeps/powerpc/powerpc32/sysdep.h:
75127         Replace ASM_TYPE_DIRECTIVE with .type.
75128         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75129         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75130         * sysdeps/i386/fpu/e_powf.S: Likewise.
75131         * sysdeps/i386/fpu/e_expl.S: Likewise.
75132         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75133         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75134         * sysdeps/i386/fpu/e_pow.S: Likewise.
75135         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75136         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75137         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75138         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75139         * sysdeps/i386/fpu/e_log2.S: Likewise.
75140         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75141         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75142         * sysdeps/i386/fpu/e_powl.S: Likewise.
75143         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75144         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75145         * sysdeps/i386/fpu/e_logl.S: Likewise.
75146         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75147         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75148         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75149         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75150         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75151         * sysdeps/i386/fpu/e_log.S: Likewise.
75152         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75153         * sysdeps/i386/fpu/e_logf.S: Likewise.
75154         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75155         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75156         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75157         * sysdeps/i386/fpu/e_log10.S: Likewise.
75158         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75159         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75160         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75161         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75162         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75163         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75164         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75165         * sysdeps/i386/i686/strtok.S: Likewise.
75166         * sysdeps/i386/i386-mcount.S: Likewise.
75167         * sysdeps/i386/strtok.S: Likewise.
75168         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75169         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75170         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75171         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75172         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75173         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75174         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75175         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75176         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75177         * sysdeps/x86_64/_mcount.S: Likewise.
75178         * sysdeps/x86_64/strtok.S: Likewise.
75179         * sysdeps/sh/_mcount.S: Likewise.
75181 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75183         * libio/iofopen.c: Include <fcntl.h>.
75184         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75185         (_IO_fopen64, fopen64): Define as aliases.
75186         * libio/iofopen64.c: Include <fcntl.h>.
75187         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75188         Conditionalize body on this.
75189         * sysdeps/wordsize-64/iofopen.c: File removed.
75190         * sysdeps/wordsize-64/iofopen64.c: File removed.
75192 2012-08-01  Marek Polacek  <polacek@redhat.com>
75194         * libc/Makeconfig: Use elf in place of binfmt-subdir.
75195         Use dlfcn directly instead of a variable.
75196         (binfmt-subdir): Do not define.
75197         (dlfcn): Likewise.
75199 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
75201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75202         Remove all definitions.
75203         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75204         <kernel-features.h>.
75205         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75206         (miss_F_GETOWN_EX): Remove all definitions.
75207         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75208         macro definition.
75209         [!__ASSUME_FCNTL64]: Remove conditional code.
75210         [__ASSUME_FCNTL64]: Make code unconditional.
75211         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75212         <kernel-features.h>.
75213         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75214         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75215         (lockf64) [__NR_fcntl64]: Make code unconditional.
75216         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75218         * sysdeps/unix/sysv/linux/kernel-features.h
75219         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75220         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75221         Make code unconditional.
75222         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75223         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75225         [__NR_vfork]: Make code unconditional.
75226         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75227         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75229         [__NR_vfork]: Make code unconditional.
75230         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75231         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75233 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75235         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75236         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75238         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75239         Define mkstemp64 as an alias.
75240         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75241         Define mkstemps64 as an alias.
75242         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75243         Define mkostemp64 as an alias.
75244         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75245         Define mkostemps64 as an alias.
75246         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75247         Conditionalize body on this.
75248         * misc/mkostemp64.c: Likewise.
75249         * misc/mkostemps64.c: Likewise.
75250         * misc/mkstemps64.c: Likewise.
75251         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75252         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75253         * sysdeps/wordsize-64/mkostemp.c: File removed.
75254         * sysdeps/wordsize-64/mkstemp.c: File removed.
75255         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75256         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75257         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75258         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75260         [BZ #14138]
75261         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75262         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75263         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75264         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75266         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75267         compat_symbol macros from <shlib-compat.h> rather than the underlying
75268         default_symbol_version and symbol_version macros, so that DEFAULT
75269         lines in shlib-versions are respected.
75270         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75272 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75274         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75275         Declare with warn_unused_result.
75276         (setgid, setregid, setegid, setresgid): Likewise.
75277         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75278         Likewise.
75279         * WUR-REPORT: Remove set*id functions.
75281 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75283         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75285 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75287         [BZ #10191]
75288         * include/sys/socket.h (__libc_accept, __libc_accept4):
75289         Add attribute_hidden.
75290         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75292         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75293         use of PTR_MANGLE.
75294         * inet/getnetgrent_r.c (setup): Likewise.
75296         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75298 2012-07-31  David S. Miller  <davem@davemloft.net>
75300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75302 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75304         [BZ #13629]
75305         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75306         value between 1.0 and 2.0 and smaller part has absolute value less
75307         than 1.0.
75308         * math/s_clog10.c (__clog10): Likewise.
75309         * math/s_clog10f.c (__clog10f): Likewise.
75310         * math/s_clog10l.c (__clog10l): Likewise.
75311         * math/s_clogf.c (__clogf): Likewise.
75312         * math/s_clogl.c (__clogl): Likewise.
75313         * math/libm-test.inc (clog_test): Add more tests.
75314         (clog10_test): Likewise.
75315         * sysdeps/i386/fpu/libm-test-ulps: Update.
75316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75318 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75320         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75321         Exit with zero in case no suitable GID is found, and write a
75322         message to standard error.
75324 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75326         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75327         rather than to 1.
75328         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75329         (MAXPATHLEN): Removed.
75330         (NOGROUP, NODEV): New macros.
75331         (setbit, clrbit, isset, isclr): New macros.
75332         (howmany, roundup, powerof2): New macros.
75333         (DEV_BSIZE): New macro.
75335         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75336         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75338         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75339         definition on [!__NO_LONG_DOUBLE_MATH].
75341         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75342         PTR_MANGLE and PTR_DEMANGLE.
75344         * socket/accept4.c (accept4): Rename to __libc_accept4.
75345         Define accept4 as a weak alias.
75347         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75348         on [_DIRENT_HAVE_D_TYPE].
75349         * io/ftw.c (ftw_dir): Likewise.
75351         * io/xmknod.c (__xmknod): Don't check PATH for being null.
75353         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75355         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75356         Use the BSD numbers rather than the arbitrary ones we had.
75357         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75358         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75359         (SIGXCPU, SIGXFSZ): New macros.
75360         (_NSIG): Now 32.
75362         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75363         initializer on [_LIBC_REENTRANT].
75365         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75366         definitions inside [_POSIX_MAPPED_FILES].
75368         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75370         * dirent/opendir.c: Include <fcntl.h>.
75372         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75373         (__libc_getspecific): Likewise.
75374         (__libc_key_create): Likewise.
75376         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75377         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75378         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75379         (tmpfile64): Define as alias.
75380         * sysdeps/wordsize-64/tmpfile.c: File removed.
75381         * sysdeps/wordsize-64/tmpfile64.c: File removed.
75382         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75383         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75385         * stdio-common/vfscanf.c: Include <stdbool.h>.
75386         * nss/makedb.c: Likewise.
75387         * stdio-common/_i18n_number.h: Likewise.
75388         * argp/argp-help.c: Likewise.
75389         * posix/wordexp.c: Likewise.
75390         * sysdeps/posix/spawni.c: Likewise.
75391         * nss/nss_files/files-initgroups.c: Likewise.
75392         * stdio-common/reg-modifier.c: Include <stdlib.h>.
75393         * nss/nss_files/files-initgroups.c: Likewise.
75394         * nss/nss_db/db-netgrp.c: Likewise.
75395         * nss/nss_db/db-initgroups.c: Likewise.
75396         * io/fchmodat.c: Include <sys/stat.h>.
75398         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75399         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75401         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75402         [HAVE_MMAP].
75404         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75405         Add multiple inclusion protection.
75407 2012-07-27  David S. Miller  <davem@davemloft.net>
75409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75411 2012-07-27  Gary Benson  <gbenson@redhat.com>
75413         [BZ #14298]
75414         * elf/rtld.c: Include <stap-probe.h>.
75415         (dl_main): Added static probes "init_start" and "init_complete".
75416         * elf/dl-load.c: Include <stap-probe.h>.
75417         (lose): Take new parameter "nsid".
75418         Added static probe "map_failed".
75419         (_dl_map_object_from_fd): Pass namespace id to lose.
75420         Added static probe "map_start".
75421         (open_verify): Pass namespace id to lose.
75422         * elf/dl-open.c: Include <stap-probe.h>.
75423         (dl_open_worker) Added static probes "map_complete", "reloc_start"
75424         and "reloc_complete".
75425         * elf/dl-close.c: Include <stap-probe.h>.
75426         (_dl_close_worker): Added static probes "unmap_start" and
75427         "unmap_complete".
75428         * elf/rtld-debugger-interface.txt: New file documenting the above.
75430 2012-07-26  Roland McGrath  <roland@hack.frob.com>
75432         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75433         rather than a string variable.
75434         * sunrpc/rpc_main.c (h_output): Likewise.
75435         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75437 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
75439         * inet/check_native.c: New file.
75441 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
75443         [BZ #13629]
75444         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
75445         if larger part has absolute value 1.0.
75446         * math/s_clog10.c (__clog10): Likewise.
75447         * math/s_clog10f.c (__clog10f): Likewise.
75448         * math/s_clog10l.c (__clog10l): Likewise.
75449         * math/s_clogf.c (__clogf): Likewise.
75450         * math/s_clogl.c (__clogl): Likewise.
75451         * math/libm-test.inc (clog_test): Add more tests.
75452         (clog10_test): Likewise.
75453         * sysdeps/i386/fpu/libm-test-ulps: Update.
75454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75456         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
75457         (pltexit): Likewise.
75458         (La_regs): Likewise.
75459         (La_retval): Likewise.
75460         (int_retval): Likewise.
75461         Update #error for removed macros to refer only to definitions in
75462         tst-audit.h.
75463         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
75464         macro.
75465         (pltexit): Likewise.
75466         (La_regs): Likewise.
75467         (La_retval): Likewise.
75468         (int_retval): Likewise.
75469         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
75470         macro.
75471         (pltexit): Likewise.
75472         (La_regs): Likewise.
75473         (La_retval): Likewise.
75474         (int_retval): Likewise.
75475         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
75476         macro.
75477         (pltexit): Likewise.
75478         (La_regs): Likewise.
75479         (La_retval): Likewise.
75480         (int_retval): Likewise.
75481         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
75482         macro.
75483         (pltexit): Likewise.
75484         (La_regs): Likewise.
75485         (La_retval): Likewise.
75486         (int_retval): Likewise.
75487         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
75488         macro.
75489         (pltexit): Likewise.
75490         (La_regs): Likewise.
75491         (La_retval): Likewise.
75492         (int_retval): Likewise.
75493         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
75494         macro.
75495         (pltexit): Likewise.
75496         (La_regs): Likewise.
75497         (La_retval): Likewise.
75498         (int_retval): Likewise.
75499         * sysdeps/generic/tst-audit.h: Update comment to refer only to
75500         macro definitions in tst-audit.h.
75501         * sysdeps/i386/tst-audit.h: New file.
75502         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
75503         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
75504         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
75505         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
75506         * sysdeps/sh/tst-audit.h: Likewise.
75507         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
75508         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
75509         * sysdeps/x86_64/tst-audit.h: Likewise.
75511 2012-07-26  Andreas Jaeger  <aj@suse.de>
75513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
75514         ptrace.
75516         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
75517         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
75518         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
75519         PTRACE_O_MASK.
75520         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
75521         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
75522         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
75524         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
75525         value.
75527         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
75528         _sigsys.
75529         (si_call_addr, si_syscall, si_arch): Define new macro.
75530         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
75531         _sigsys.
75532         (si_call_addr, si_syscall, si_arch): Define new marcro.
75533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
75534         _sigsys.
75535         (si_call_addr, si_syscall, si_arch): Define new macro.
75536         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
75537         _sigsys.
75538         (si_call_addr, si_syscall, si_arch): Define new macro.
75540 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75542         [BZ #13717]
75543         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75544         Change to 2.4.21 where previously 2.4.1.
75545         * sysdeps/unix/sysv/linux/configure: Regenerated.
75546         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
75547         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
75548         Linux kernel version.
75549         (__ASSUME_STD_AUXV): Remove.
75550         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
75551         kernel version.
75552         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
75553         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
75554         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
75555         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
75556         (__ASSUME_NETLINK_SUPPORT): Likewise.
75557         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
75558         (__no_netlink_support): Remove conditional definition.
75559         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
75560         Remove.
75561         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75562         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
75563         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
75564         (if_nameindex_ioctl): Remove.
75565         (if_nameindex_netlink): Do not handle __no_netlink_support.
75566         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75567         code.
75568         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
75569         Remove conditional code.
75570         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75571         code.
75572         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
75573         unconditional.
75574         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75575         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
75576         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
75577         Remove.
75578         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
75579         [!__ASSUME_STD_AUXV]: Remove conditional code.
75580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
75581         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
75582         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
75583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
75584         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
75585         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75586         code.
75587         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
75589         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
75590         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75591         conditional code.
75592         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
75594         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75595         code.
75596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
75597         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75598         conditional code.
75599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
75600         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75601         code unconditional.
75602         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75603         conditional code.
75604         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75605         unconditional.
75606         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75607         conditional code.
75608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75609         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75610         unconditional.
75611         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75612         conditional code.
75613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
75614         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75615         code unconditional.
75616         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75617         conditional code.
75618         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75619         unconditional.
75620         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75621         conditional code.
75622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
75623         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75624         code unconditional.
75625         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75626         conditional code.
75627         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75628         unconditional.
75629         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75630         conditional code.
75632 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
75634         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
75635         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
75636         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
75637         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
75638         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
75639         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
75640         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
75641         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
75642         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
75643         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
75644         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
75645         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
75646         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
75647         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
75648         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
75649         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
75650         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
75651         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
75652         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
75653         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
75654         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
75655         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
75656         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75658 2012-07-25  Florian Weimer  <fweimer@redhat.com>
75660         * Versions.def: Add GLIBC_2.17.
75661         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
75662         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
75663         Introduce __libc_secure_getenv.
75664         * stdlib/Versions (2.17): Add secure_getenv
75665         (GLIBC_PRIVATE): Add __libc_secure_getenv.
75666         * stdlib/secure-getenv.c: Rename __secure_getenv to
75667         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
75668         symbol __secure_getenv for GLIBC_2.0.
75669         * stdlib/tst-secure-getenv.c: New.
75670         * stdlib/Makefile (tests): Add testcase.
75671         * manual/startup.texi (Environment Access): Document
75672         secure_getenv.
75673         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
75674         __libc_secure_getenv.
75675         * inet/ruserpass.c (ruserpass): Likewise.
75676         * malloc/mtrace.c (mtrace): Likewise.
75677         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
75678         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
75679         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
75680         * sysdeps/posix/tempname.c: Likewise.  Evaluate
75681         HAVE_SECURE_GETENV.
75682         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
75683         __secure_getenv to __libc_secure_getenv.
75684         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
75685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75686         Likewise.
75687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75688         Likewise.
75689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75691         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75697 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75699         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
75700         (struct La_i86_retval): Likewise.
75701         (struct La_x86_64_regs): Likewise.
75702         (struct La_x86_64_retval): Likewise.
75703         (struct La_x32_regs): Likewise.
75704         (struct La_x32_retval): Likewise.
75705         (struct La_ppc32_regs): Likewise.
75706         (struct La_ppc32_retval): Likewise.
75707         (struct La_ppc64_regs): Likewise.
75708         (struct La_ppc64_retval): Likewise.
75709         (struct La_sh_regs): Likewise.
75710         (struct La_sh_retval): Likewise.
75711         (struct La_s390_32_regs): Likewise.
75712         (struct La_s390_32_retval): Likewise.
75713         (struct La_s390_64_regs): Likewise.
75714         (struct La_s390_64_retval): Likewise.
75715         (struct La_sparc32_regs): Likewise.
75716         (struct La_sparc32_retval): Likewise.
75717         (struct La_sparc64_regs): Likewise.
75718         (struct La_sparc64_retval): Likewise.
75719         (struct audit_ifaces): Remove architecture-specific pltenter and
75720         pltexit members.
75721         * sysdeps/i386/ldsodefs.h: New file.
75722         * sysdeps/powerpc/ldsodefs.h: Likewise.
75723         * sysdeps/s390/ldsodefs.h: Likewise.
75724         * sysdeps/sh/ldsodefs.h: Likewise.
75725         * sysdeps/sparc/ldsodefs.h: Likewise.
75726         * sysdeps/x86_64/ldsodefs.h: Likewise.
75728 2012-07-25  Marek Polacek  <polacek@redhat.com>
75730         [BZ #6808]
75731         * math/libm-test.inc (yn_test): Add another test.
75732         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
75733         to ERANGE when the result is +-Inf.
75734         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
75735         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
75736         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
75737         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
75739 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
75741         * conform/data/time.h-data (NULL): Use macro-constant.  Require
75742         equal to 0.
75743         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
75744         clock_t.
75745         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
75747 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
75749         * configure.in <sysdeps resolving>: Correct printing
75750         Implies_before.
75751         * configure: Regenerate.
75753 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
75755         * math/w_ilogb.c: Include <limits.h>.
75756         * math/w_ilogbl.c: Likewise.
75758 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75760         * manual/lang.texi (__va_copy): Document primarily as ISO C99
75761         va_copy.  Document allowing for unavailable va_copy only as
75762         pre-C99 compatibility.
75763         * manual/string.texi (Copying and Concatenation): Use va_copy
75764         instead of __va_copy in concat example.
75766 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
75768         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
75769         (__sendto): Use create_address_port.  Initialize APORT and deallocate
75770         it if not null.
75772         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
75773         with O_NOLINK passed to __file_name_lookup.
75775         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75776         with O_NOLINK passed to __file_name_lookup.
75778         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75779         negative N or less than NGIDS.
75781         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75782         type to string_t.  Set ERANGE as errno and return it if NAME is not big
75783         enough.  Use memcpy instead of strncpy.
75785 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75787         * elf/Makefile (check-data): Remove.
75788         (localplt.data): New vpath directive.
75789         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75790         instead of $(check-data).
75791         * scripts/data/localplt-generic.data: Move to ...
75792         * sysdeps/generic/localplt.data: ... here.
75793         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75794         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75795         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75797         ... here.
75798         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75800         ... here.
75801         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75803         ... here.
75804         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75806         ... here.
75807         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75809         ... here.
75810         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75812         ... here.
75814 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75816         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75817         PPC32 and PPC64 files.
75818         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75819         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75821 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75823         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75824         __makecontext_ret to ...
75825         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75826         ... here and call exit if uc_link is NULL.  New file.
75827         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75828         __makecontext_ret.S.
75829         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75830         __makecontext_ret to ...
75831         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75832         ... here and call exit if uc_link is NULL.  New file.
75833         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
75834         __makecontext_ret.S.
75836 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75838         * elf/elf.h (R_390_IRELATIVE): New definition.
75839         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75840         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
75841         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
75842         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
75843         (elf_machine_lazy_rel): Likewise.
75844         * sysdeps/s390/dl-irel.h: New file.
75845         * sysdeps/s390/s390-64/memcpy.S: New asm code.
75846         * sysdeps/s390/s390-64/memset.S: New asm code.
75847         * sysdeps/s390/s390-64/memcmp.S: New asm code.
75848         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
75849         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
75850         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
75851         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
75852         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
75853         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
75854         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
75855         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
75856         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
75857         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
75858         * sysdeps/s390/s390-32/memcpy.S: New asm code.
75859         * sysdeps/s390/s390-32/memset.S: New asm code.
75860         * sysdeps/s390/s390-32/memcmp.S: New asm code.
75862 2012-07-17  Marek Polacek  <polacek@redhat.com>
75864         [BZ #14349]
75865         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
75866         * sysdeps/s390/s390-64/configure.in: Likewise.
75867         * sysdeps/sparc/configure.in: Likewise.
75868         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
75869         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
75870         * sysdeps/i386/configure.in: Likewise.
75871         * sysdeps/x86_64/configure.in: Likewise.
75872         * sysdeps/sh/configure.in: Likewise.
75873         * sysdeps/s390/s390-32/configure: Regenerated.
75874         * sysdeps/s390/s390-64/configure: Likewise.
75875         * sysdeps/x86_64/configure: Likewise.
75876         * sysdeps/sh/configure: Likewise.
75877         * sysdeps/powerpc/powerpc64/configure: Likewise.
75878         * sysdeps/powerpc/powerpc32/configure: Likewise.
75879         * sysdeps/sparc/configure: Likewise.
75880         * sysdeps/i386/configure: Likewise.
75882         * elf/dl-open.c: Comment fixes.
75884 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
75886         * Makefile [CXX] (check-data): Remove.
75887         [CXX] (c++-types.data): New vpath directive.
75888         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
75889         vpath.  Do not allow for C++ type data being missing.
75890         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
75891         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
75892         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
75893         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
75894         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75895         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
75896         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
75897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
75898         ... here.
75899         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
75900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
75901         ... here.
75902         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
75903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
75904         ... here.
75905         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
75906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
75907         ... here.
75908         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
75909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
75910         ... here.
75911         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
75912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
75913         ... here.
75914         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
75915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
75916         ... here.
75917         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
75918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
75920         * elf/tls-macros.h (TLS_LE): Move architecture-specific
75921         definitions to architecture-specific files.
75922         (TLS_IE): Likewise.
75923         (TLS_LD): Likewise.
75924         (TLS_GD): Likewise.
75925         * sysdeps/i386/tls-macros.h: New file.
75926         * sysdeps/powerpc/tls-macros.h: Likewise.
75927         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
75928         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
75929         * sysdeps/sh/tls-macros.h: Likewise.
75930         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
75931         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
75932         * sysdeps/x86_64/tls-macros.h: Likewise.
75934 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75936         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
75937         zero value for regular exit case.
75939         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
75940         (__start_context): Preserve zero value for regular exit case.
75942 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75943             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75945         * manual/setjmp.texi (setcontext): Clarify normal process
75946         termination when uc_link is the null pointer.
75947         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
75948         exit call.
75950 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
75952         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
75953         preprocessor.  Test for each exception mask separately.
75955 2012-07-16  Andreas Jaeger  <aj@suse.de>
75957         * po/ru.po: Update from translation team.
75959 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
75961         * conform/data/string.h-data (NULL): Use macro-constant.  Require
75962         equal to 0.
75963         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75964         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75965         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
75966         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
75967         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75969 2012-07-13  Andreas Jaeger  <aj@suse.de>
75971         * po/fr.po: Update from translation team.
75973 2012-07-12  Marek Polacek  <polacek@redhat.com>
75975         [BZ #14173]
75976         * math/libm-test.inc (yn_test): Add test for BZ #14173.
75977         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
75978         loop condition.
75980 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
75982         [BZ #13717]
75983         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75984         Change to 2.4.1 where previously 2.4.0.
75985         * sysdeps/unix/sysv/linux/configure: Regenerated.
75986         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
75987         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
75988         version.
75989         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
75990         (__ASSUME_AT_CLKTCK): Remove.
75991         (__ASSUME_AT_PAGESIZE): Likewise.
75992         (__ASSUME_AT_XID): Likewise.
75993         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
75994         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
75995         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
75996         unconditionally.
75997         (HAVE_AUX_PAGESIZE): Likewise.
75998         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
75999         [__ASSUME_AT_CLKTCK]: Make code unconditional.
76000         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
76002 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
76004         [BZ #14307]
76005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
76006         the temporary buffer used to invoke __gethostbyname2_r,
76007         __gethostbyaddr_r and gethostbyname4_r to make room for struct
76008         host_data / struct gaih_addrtuple.
76009         * resolv/nss_dns/dns-host.c (global scope): Move definition of
76010         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
76011         header file nss/nsswitch.h.
76012         * nss/nsswitch.h (global scope): Add definition of implementation
76013         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
76014         resolv/nss_dns/dns-host.c).
76016 2012-07-11  Andreas Jaeger  <aj@suse.de>
76018         * po/fr.po: Update from translation team.
76020         * po/sv.po: Update from translation team
76021         * po/fr.po: Another update from translation team.
76023 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76025         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
76026         for subnormals or multiply small sinh result by itself.
76027         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76030 2012-07-11  David S. Miller  <davem@davemloft.net>
76032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76034 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
76036         [BZ #14347]
76037         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
76038         (INTERNAL_MARK): Shift it here.
76040 2012-07-10  Marek Polacek  <polacek@redhat.com>
76042         [BZ #14151]
76043         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
76044         libc_cv_asm_global_directive with .globl.
76045         * configure: Regenerated.
76046         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
76047         with .globl.
76048         * sysdeps/i386/configure: Regenerated.
76049         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
76050         with .globl.
76051         * sysdeps/x86_64/configure: Regenerated.
76052         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
76053         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
76054         * elf/tst-unique2mod2.c: Likewise.
76055         * elf/tst-unique2mod1.c: Likewise.
76056         * elf/tst-unique1mod2.c: Likewise.
76057         * elf/tst-unique1mod1.c: Likewise.
76058         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76059         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76060         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76061         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76062         * sysdeps/mach/sysdep.h: Likewise.
76063         * sysdeps/i386/sysdep.h: Likewise.
76064         * sysdeps/i386/i386-mcount.S: Likewise.
76065         * sysdeps/x86_64/_mcount.S: Likewise.
76066         * sysdeps/x86_64/sysdep.h: Likewise.
76067         * sysdeps/sh/_mcount.S: Likewise.
76068         * sysdeps/sh/sysdep.h: Likewise.
76069         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
76070         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
76071         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
76072         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76073         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
76074         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
76075         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
76076         * locale/localeinfo.h: Likewise.
76077         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
76078         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
76080 2012-07-09  Roland McGrath  <roland@hack.frob.com>
76082         [BZ #14336]
76083         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
76084         system".
76085         * manual/message.texi (The Uniforum approach): Likewise.
76086         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
76087         (glibc iconv Implementation): Likewise.
76089 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
76091         [BZ #14337]
76092         * math/s_clog.c (__clog): Avoid scaling a value down where that
76093         could result in underflow.
76094         * math/s_clog10.c (__clog10): Likewise.
76095         * math/s_clog10f.c (__clog10f): Likewise.
76096         * math/s_clog10l.c (__clog10l): Likewise.
76097         * math/s_clogf.c (__clogf): Likewise.
76098         * math/s_clogl.c (__clogl): Likewise.
76099         * math/libm-test.inc (clog_test): Add more tests.
76100         (clog10_test): Likewise.
76101         * sysdeps/i386/fpu/libm-test-ulps: Update.
76102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76104 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
76106         [BZ #14283]
76107         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
76108         by 7 not 8 to examine high bit of fractional part.
76110         [BZ #14042]
76111         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
76112         for call to __mcount_internal.
76113         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
76114         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76115         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
76117 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
76119         [BZ #14154]
76120         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
76121         approximation for values within 0x1p-13f of an odd multiple of
76122         pi/4.
76123         * math/libm-test.inc (tan_test): Do not allow spurious underflow
76124         exception.  Add more tests.
76125         * sysdeps/i386/fpu/libm-test-ulps: Update.
76127         [BZ #6778]
76128         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
76129         inputs and return -1 for them.  Do not check for +Inf in case not
76130         reachable for +Inf.
76131         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
76132         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
76133         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76134         and return -1 for them.  Do not check for +Inf in case not
76135         reachable for +Inf.
76136         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
76137         define.
76138         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76139         and return -1 for them.  Do not check for +Inf in case not
76140         reachable for +Inf.
76141         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
76142         spurious underflow.
76143         * sysdeps/i386/fpu/libm-test-ulps: Update.
76144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76146 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
76148         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
76150 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
76152         [BZ #14157]
76153         [BZ #14331]
76154         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76155         could result in spurious underflow.  Scale down values above
76156         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76157         * math/s_csqrtf.c (__csqrtf): Likewise.
76158         * math/s_csqrtl.c (__csqrtl): Likewise.
76159         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
76160         spurious underflow.
76161         * sysdeps/i386/fpu/libm-test-ulps: Update.
76162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76164 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
76166         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76167         xopen-msg.sed.
76168         * catgets/xopen-msg.awk: New file.
76169         * catgets/xopen-msg.sed: Removed.
76171         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76172         po2text.sed.
76173         * intl/po2test.awk: New file.
76174         * intl/po2test.sed: Removed.
76176 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
76178         [BZ #14328]
76179         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76180         or multiply small sinh result by itself.
76181         * math/s_ctanf.c (__ctanf): Likewise.
76182         * math/s_ctanh.c (__ctanh): Likewise.
76183         * math/s_ctanhf.c (__ctanhf): Likewise.
76184         * math/s_ctanhl.c (__ctanhl): Likewise.
76185         * math/s_ctanl.c (__ctanl): Likewise.
76186         * math/libm-test.inc (ctan_test_tonearest): New function.
76187         (ctan_test_towardzero): Likewise.
76188         (ctan_test_downward): Likewise.
76189         (ctan_test_upward): Likewise.
76190         (ctanh_test_tonearest): Likewise.
76191         (ctanh_test_towardzero): Likewise.
76192         (ctanh_test_downward): Likewise.
76193         (ctanh_test_upward): Likewise.
76194         (main): Call these new functions.
76195         * sysdeps/i386/fpu/libm-test-ulps: Update.
76196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76198 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
76200         * .gitignore: Delete /ports entry.
76202 2012-07-03  Andreas Jaeger  <aj@suse.de>
76204         * po/bg.po: Update from translation team.
76205         * po/cs.po: Likewise.
76206         * po/de.po: Likewise.
76207         * po/hr.po: Likewise.
76208         * po/nl.pl: Likewise.
76209         * po/pl.po: Likewise.
76210         * po/vi.po: Likewise.
76212 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76214         * Makeconfig [!+link] (+link-before-libc): New variable.
76215         [!+link] (+link-after-libc): Likewise.
76216         [!+link] (+link-tests): Likewise.
76217         [!+link] (+link): Define in terms of $(+link-before-libc) and
76218         $(+link-after-libc).
76219         [!+link-static] (+link-static-before-libc): New variable.
76220         [!+link-static] (+link-static-after-libc): Likewise.
76221         [!+link-static] (+link-static-tests): Likewise.
76222         [!+link-static] (+link-static): Define in terms of
76223         $(+link-static-before-libc) and $(+link-static-after-libc).
76224         [build-shared] (link-libc-before-gnulib): New variable.
76225         [build-shared] (link-libc-tests): Likewise.
76226         [build-shared] (link-libc): Define in terms of
76227         $(link-libc-before-gnulib).
76228         [!build-shared] (link-libc-tests): New variable.
76229         (link-libc-static-tests): New variable.
76230         [!gnulib] (gnulib-arch): New variable.
76231         [!gnulib] (gnulib-tests): Likewise.
76232         [!gnulib] (static-gnulib-arch): Likewise.
76233         [!gnulib] (static-gnulib-tests): Likewise.
76234         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76235         Define with "=" instead of ":=".
76236         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76237         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76238         * Rules (binaries-all-notests): New variable.
76239         (binaries-all-tests): Likewise.
76240         (binaries-static-notests): Likewise.
76241         (binaries-static-tests): Likewise.
76242         (binaries-all): Define using $(binaries-all-notests) and
76243         $(binaries-all-tests).
76244         (binaries-static): Define using $(binaries-static-notests) and
76245         $(binaries-static-tests).
76246         (binaries-shared-tests): New variable.
76247         (binaries-shared-notests): Likewise.
76248         (binaries-shared): Remove variable.
76249         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76250         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76251         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76252         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76253         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76254         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76255         * elf/Makefile (sln-modules): New variable.
76256         (extra-objs): Add $(sln-modules:=.o).
76257         (ldconfig-modules): Add static-stubs.
76258         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76259         * elf/static-stubs.c: New file.
76261         [BZ #14283]
76262         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76263         by 7 not 8 to examine high bit of fractional part.  Use volatile
76264         variables when splitting into final array of floats if
76265         __FLT_EVAL_METHOD__ != 0.
76266         * math/libm-test.inc (cos_test): Add another test.
76267         (sin_test): Likewise.
76268         * sysdeps/i386/fpu/libm-test-ulps: Update.
76270         [BZ #14273]
76271         * math/libm-test.inc (cosh_test): Add more tests.
76273         * version.h (RELEASE): Set to "development".
76274         (VERSION): Set to "2.16.90".
76276 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76278         * NEWS: Update copyright. Remove last-updated date.
76279         Mention math library bug fixes and timezone data changes.
76280         * README: Mention GNU/Hurd, x32, and HPPA support status.
76282 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76284         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76286 2012-06-27  Andreas Jaeger  <aj@suse.de>
76288         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76290 2012-06-25  Andreas Jaeger  <aj@suse.de>
76292         * sysdeps/s390/fpu/libm-test-ulps: Update.
76294 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76295             Thomas Schwinge  <thomas@codesourcery.com>
76297         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76298         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76300         fanotify_mark.
76302 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76304         * sysdeps/mach/start.c: Remove file.
76305         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76306         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76307         * sysdeps/sh/init-first.c: Likewise.
76309         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76310         registers for frame unwinding purposes, add CFI directives.
76311         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76312         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76313         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76314         Likewise.
76316         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76317         __fortify_fail returning.
76318         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76320         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76321         sysdeps/sh/____longjmp_chk.S.
76322         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76323         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76324         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76325         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76327         * sysdeps/sh/abort-instr.h: New file.
76328         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76329         process in case exit returns.
76331         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76332         initialize the GOT register before use.
76334         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76335         calculation of ARGC > 4.
76337         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76338         meaningful names to some local labels.
76340 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76341             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76343         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76344         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76345         (__arch_compare_and_exchange_val_16_acq): Likewise.
76346         (__arch_compare_and_exchange_val_32_acq): Likewise.
76347         (atomic_exchange_and_add): Fix gUSA sequence.
76348         (atomic_add): Likewise.
76349         (atomic_add_negative): Likewise.
76350         (atomic_add_zero): Likewise.
76351         (atomic_bit_test_set): Likewise.
76353 2012-06-22  Andreas Schwab  <schwab@redhat.com>
76355         [BZ #13579]
76356         * include/link.h (struct link_map): Add l_free_initfini.
76357         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76358         l_initfini.
76359         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76360         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76361         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76362         set.
76364 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
76366         * configure.in: Use AC_LANG_SOURCE.
76367         * configure: Regenerate.
76369 2012-06-22  Roland McGrath  <roland@hack.frob.com>
76371         * configure.in (libc_cv_localstatedir): New substituted variable.
76372         * configure: Regenerated.
76373         * config.make.in (localstatedir): New variable, substituted from
76374         libc_cv_localstatedir.
76375         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76376         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76377         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76378         * sysdeps/gnu/configure: Regenerated.
76380 2012-06-21  Jeff Law  <law@redhat.com>
76382         [BZ #14277]
76383         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76384         free.  Simplify list management for _LIBC case.
76386 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
76388         [BZ #14273]
76389         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76390         Clear sign bit of 64-bit integer value before comparing against
76391         overflow value.
76393         * sysdeps/mach/configure: Regenerated.
76395 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
76397         [BZ #14278]
76398         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76400 2012-06-21  Jeff Law  <law@redhat.com>
76402         [BZ #13882]
76403         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
76404         uint16_t for elements in the "seen" array to avoid char overflows.
76405         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76406         * elf/dl-open.c (dl_open_worker): Likewise.
76408 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
76410         * scripts/list-sources.sh: Scan PORTS for translations.
76411         * po/libc.pot: Regenerated.
76413 2012-06-21  Andreas Jaeger  <aj@suse.de>
76415         [BZ #12194]
76416         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76417         warning.
76418         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76419         * bits/byteswap-16.h (__bswap_16): Likewise.
76420         * bits/byteswap.h (__bswap_constant_16): Likewise.
76422 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
76424         [BZ #14117]
76425         * sysdeps/i386/fpu_control.h: Removed.
76426         * sysdeps/x86_64/fpu_control.h: Moved to ...
76427         * sysdeps/x86/fpu_control.h: Here.
76429         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76430         (_FPU_SETCW): Likewise.
76432 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
76434         [BZ #14117]
76435         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76436         * sysdeps/x86/fpu/bits/mathinline.h: This.
76437         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76439         [BZ #14050]
76440         [BZ #14117]
76441         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76442         functions if __x86_64__ is defined.
76444 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
76446         * string/endian.h: Add !__ASSEMBLER__ condition for including
76447         conversion interfaces.
76449 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
76451         [BZ #14241]
76452         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
76453         of ABS(x) in calculating zero to negative powers other than odd
76454         integers.
76455         * math/libm-test.inc (pow_test): Add more tests.
76457 2012-06-15  Andreas Jaeger  <aj@suse.de>
76459         * manual/contrib.texi (Contributors): Update entry of Liubov
76460         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
76461         Machado Filho.
76463 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
76465         * string/string.h: Add __wur to GNU version of strerror_r.
76467 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
76469         [BZ #14229]
76470         * string/Makefile (tests): Add tst-strtok_r.
76471         * string/tst-strtok_r.c: New file.
76472         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
76473         RAX_LP/RDX_LP on SAVE_PTR.
76475 2012-06-14  Roland McGrath  <roland@hack.frob.com>
76477         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
76479 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
76481         * libm_test.inc (csqrt_test): Allow more spurious underflow
76482         exceptions.
76483         (j0_test): Likewise.
76484         (j1_test): Likewise.
76485         (y0_test): Likewise.
76486         (y1_test): Likewise.
76488 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
76490         * po/Makefile (libc.pot): Use UTF-8 charset.
76492 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
76494         [BZ #14210]
76495         Suppress sign-conversion warning from FD_SET.
76496         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76497         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
76498         not unsigned long int.
76499         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
76501 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
76503         [BZ #14050]
76504         [BZ #14117]
76505         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
76506         __extern_always_inline instead of __extern_inline.
76507         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
76508         (__signbit): Likewise.
76509         (__signbitl): Support C++ namespace.
76510         (lrintf): New inline function.
76511         (lrint): Likewise.
76512         (llrintf): Likewise.
76513         (llrint): Likewise.
76514         (fmaxf): Likewise.
76515         (fmax): Likewise.
76516         (fminf): Likewise.
76517         (fmin): Likewise.
76518         (rint): Likewise.
76519         (rintf): Likewise.
76520         (ceil): Likewise.
76521         (ceilf): Likewise.
76522         (floor): Likewise.
76523         (floorf): Likewise.
76524         (nearbyint): Likewise.
76525         (nearbyintf): Likewise.
76527 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
76529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
76530         non-default versions.
76532 2012-06-11  Roland McGrath  <roland@hack.frob.com>
76534         [BZ #14218]
76535         * manual/argp.texi (Argp): Reword argp_parse description slightly.
76537 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
76539         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
76540         (FE_UPWARD, FE_DOWNWARD): Don't define.
76541         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
76542         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76544         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
76545         reading it.
76546         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76547         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76549 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76551         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76552         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
76553         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
76554         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
76556 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
76558         [BZ #14117]
76559         * sysdeps/i386/fpu/bits/fenv.h: Removed.
76560         * sysdeps/i386/fpu/Implies: New file.
76561         * sysdeps/x86_64/fpu/Implies: Likewise.
76562         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
76563         * sysdeps/x86/fpu/bits/fenv.h: This.
76565         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
76566         __SSE_MATH__.
76568 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
76570         [BZ #14134]
76571         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
76572         character 0xffff that matches the last element of the
76573         conversion table.
76575 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76577         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
76578         fmodl commit.
76580 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76582         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
76583         values higher than 25.6283.
76585 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76587         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
76588         subnormal exponent extraction and add some __builtin_expect.
76589         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
76590         Fix for subnormal mantissa calculation.
76592 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
76594         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
76595         cpu2 is -1 and errno is not ENOSYS.
76597 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
76599         [BZ #14117]
76600         * sysdeps/i386/i486/bits/string.h: Renamed to ...
76601         * sysdeps/x86/bits/string.h: This.
76602         * sysdeps/x86_64/bits/string.h: Removed.
76604         * sysdeps/i386/i486/bits/string.h: Define inline functions only
76605         if not compiling for x86-64, but compiling for >= i486.
76607         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
76608         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
76610         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
76611         New macro from Linux kernel 3.4.0.
76612         (FP_XSTATE_MAGIC2): Likewise.
76613         (FP_XSTATE_MAGIC2_SIZE): Likewise.
76614         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
76615         (struct _fpx_sw_bytes): New struct.
76616         (struct _xsave_hdr): Likewise.
76617         (struct _ymmh_state): Likewise.
76618         (struct _xstate): Likewise.
76620         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
76621         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
76622         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
76623         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
76624         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
76625         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
76627         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
76628         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
76629         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
76630         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
76631         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
76632         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
76634 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76636         [BZ #13743]
76637         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
76638         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
76639         (sysdep_headers): Include sys/platform/ppc.h.
76640         * sysdeps/powerpc/test-gettimebase.c: Test for
76641         __ppc_get_timebase() to catch future ISA opcode/insn changes.
76642         * manual/Makefile (appendices): Include platform.texi.
76643         * manual/contrib.texi (Contributors): Update @node pointers.
76644         * manual/maint.texi (Maintenance): Likewise.
76645         (Platform): New node.
76646         * manual/platform.texi: New file.  Document the new features.
76648 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
76649             Jakub Jelinek  <jakub@redhat.com>
76651         [BZ #14188]
76652         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
76653         where __builtin_expect is unavailable.
76655 2012-06-03  David S. Miller  <davem@davemloft.net>
76657         * stdlib/longlong.h: Updated from GCC.
76659 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
76661         [BZ #14042]
76662         * sysdeps/powerpc/powerpc32/mcount.c: New file.
76663         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
76664         __mcount_internal.
76665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76666         (GLIBC_2.16): Likewise.
76668 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76670         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
76672 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
76675         (default-abi): New variable.
76676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
76677         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
76678         variable.
76679         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
76680         Likewise.
76681         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
76682         Likewise.
76683         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
76684         Likewise.
76686         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
76687         definition.  Document in comment.
76689 2012-06-01  David S. Miller  <davem@davemloft.net>
76691         * stdlib/longlong.h: Updated from GCC.
76693 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76695         [BZ #14117]
76696         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
76697         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
76698         sys/debugreg.h sys/io.h here.
76699         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
76700         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
76701         sys/io.h.
76702         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
76703         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
76704         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
76705         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
76706         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
76707         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
76709         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
76710         Define only if __x86_64__ is defined.
76712 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76714         [BZ #14048]
76715         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
76716         Use int64_t for variable i.
76717         * math/libm-test.inc (fmod_test): Add more tests.
76719         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
76720         z computation is not scheduled after fetestexcept.
76721         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
76722         Use math_force_eval instead of asm to ensure calculation scheduled
76723         before exception test.
76724         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
76725         Ensure a1 + u.d computation is not scheduled after fetestexcept.
76727 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
76729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
76730         computation is not scheduled after fetestexcept.
76732 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76734         [BZ #14117]
76735         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
76736         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
76738 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76740         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
76741         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76743 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76745         [BZ #14117]
76746         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
76747         <bits/wordsize.h>.
76748         (__WCHAR_MIN): Support __WORDSIZE == 64.
76749         (__WCHAR_MAX): Likewise.
76751         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
76752         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
76754         [BZ #14183]
76755         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
76756         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
76758         [BZ #14117]
76759         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
76760         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
76762         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
76763         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
76765         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
76766         Defined to 1 if __x86_64__ isn't defined.
76767         (_STAT_VER_LINUX_OLD): New.
76768         (st_atime): Remove duplicate.
76769         (st_mtime): Likewise.
76770         (st_ctime): Likewise.
76772 2012-05-31  David S. Miller  <davem@davemloft.net>
76774         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76775         entries.
76777 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
76779         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76780         gen-libm-test.pl.
76782         [BZ #14132]
76783         * elf/dl-reloc.c: Include <_itoa.h>.
76784         (_dl_reloc_bad_type): Remove use of INTUSE.
76785         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76786         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76787         * stdio-common/psiginfo.c (psiginfo): Likewise.
76788         * stdio-common/psignal.c (psignal): Likewise.
76789         * string/strsignal.c (strsignal): Likewise.
76790         * include/signal.h (_sys_siglist): Declare hidden proto.
76791         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76792         INTVARDEF with libc_hidden_data_def.
76793         * stdio-common/itoa-udigits.c: Likewise.
76794         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76795         (_itoa_lower_digits_internal): Remove declaration.
76796         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76797         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76798         (_sys_sigabbrev_internal): Remove aliases.
76799         (_sys_siglist): Define hidden alias.
76801 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76803         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76804         bits/sysctl.h.
76806 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76808         [BZ #14117]
76809         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76810         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76812         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76813         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76814         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76815         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76816         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76817         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76819         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76820         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76821         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76823         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76824         with __addr.
76825         (insw): Likewise.
76826         (insl): Likewise.
76827         (outsb): Likewise.
76828         (outsw): Likewise.
76829         (outsl): Likewise.
76831         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76832         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76833         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
76835         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
76836         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76837         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
76838         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
76839         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
76840         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
76842         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
76843         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
76845         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
76846         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
76848         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
76849         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
76850         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
76852         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
76853         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
76854         to ...
76855         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
76857         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
76858         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
76859         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
76861         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
76862         for x86-64.
76863         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
76865 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
76867         * math/math.h (M_El): Use two more decimal places.
76868         (M_LOG2El): Likewise.
76869         (M_LOG10El): Likewise.
76870         (M_LN2l): Likewise.
76871         (M_LN10l): Likewise.
76872         (M_PIl): Likewise.
76873         (M_PI_2l): Likewise.
76874         (M_PI_4l): Likewise.
76875         (M_1_PIl): Likewise.
76876         (M_2_PIl): Likewise.
76877         (M_2_SQRTPIl): Likewise.
76878         (M_SQRT2l): Likewise.
76879         (M_SQRT1_2l): Likewise.
76881 2012-05-31  David S. Miller  <davem@davemloft.net>
76883         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
76884         values between float registers.
76885         * sysdeps/sparc/sparc64/memset.S: Likewise.
76886         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76888 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
76890         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
76891         -D_FORTIFY_SOURCE=1.
76892         (CPPFLAGS-tst-longjmp_chk.c): Define.
76893         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
76894         (CPPFLAGS-tst-longjmp_chk2.c): Define.
76895         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
76896         CFLAGS-tst-wchar-h.c.
76898 2012-05-31  Marek Polacek  <polacek@redhat.com>
76900         [BZ #14132]
76901         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
76902         __endmntent_internal): Remove declaration.
76903         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
76904         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
76905         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76907 2012-05-30  David S. Miller  <davem@davemloft.net>
76909         * sysdeps/sparc/sparc32/soft-fp/q_util.c
76910         (___Q_simulate_exceptions): Use real FP ops rather than writing
76911         into the %fsr.
76912         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
76913         Likewise.
76915 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76917         [BZ #14117]
76918         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
76919         * sysdeps/x86/bits/xtitypes.h: This.
76921         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
76922         * sysdeps/x86/bits/wordsize.h: This.
76924         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
76925         * sysdeps/x86/bits/huge_vall.h: This.
76927         * sysdeps/i386/bits/select.h: Removed.
76928         * sysdeps/x86_64/bits/select.h: Renamed to ...
76929         * sysdeps/x86/bits/select.h: This.
76931         * sysdeps/i386/bits/setjmp.h: Removed.
76932         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76933         * sysdeps/x86/bits/setjmp.h: This.
76935         * sysdeps/i386/bits/mathdef.h: Removed.
76936         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
76937         * sysdeps/x86/bits/mathdef.h: This.
76939 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
76941         [BZ #14132]
76942         * include/sys/socket.h (__connect_internal)
76943         (__libc_sa_len_internal): Remove declaration.
76944         (__connect, __libc_sa_len): Declare hidden_proto.
76945         (SA_LEN): Remove use of INTUSE.
76946         * socket/connect.c: Add libc_hidden_def.
76947         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
76948         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
76949         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
76950         alias.
76951         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
76952         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
76953         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
76954         of adding _internal alias.
76956 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76958         [BZ #14117]
76959         * sysdeps/i386/bits/link.h: Removed.
76960         * sysdeps/i386/bits/linkmap.h: Likewise.
76961         * sysdeps/x86_64/bits/link.h: Renamed to ...
76962         * sysdeps/x86/bits/link.h: This.
76963         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
76964         * sysdeps/x86/bits/linkmap.h: This.
76966         * sysdeps/i386/bits/endian.h: Removed.
76967         * sysdeps/x86_64/bits/endian.h: Renamed to ...
76968         * sysdeps/x86/bits/endian.h: This.
76970         * sysdeps/i386/bits/byteswap.h: Removed.
76971         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76972         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
76973         * sysdeps/x86/bits/byteswap.h: This.
76974         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
76975         * sysdeps/x86/bits/byteswap-16.h: This.
76976         * sysdeps/i386/Implies: Add x86.
76977         * sysdeps/x86_64/Implies: Likewise.
76979 2012-05-30  David S. Miller  <davem@davemloft.net>
76981         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
76982         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
76983         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
76984         (FP_TRAPPING_EXCEPTIONS): Define.
76985         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
76986         (FP_TRAPPING_EXCEPTIONS): Define.
76987         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
76988         subnormals only when inexact has been signalled or underflow
76989         exceptions are enabled.
76990         (_FP_PACK_CANONICAL): Likewise.
76992 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76994         [BZ #14183]
76995         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
76996         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
76998 2012-05-30  Richard Henderson  <rth@twiddle.net>
77000         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
77001         with #ifndef NOT_IN_libc.
77003         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
77004         marked to avoid plt entry.
77006 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77008         [BZ #14112]
77009         * Makeconfig (default-abi): New macro.
77010         (abi-includes): Likewise.
77011         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
77012         $(abi-$(default-abi)-lib-soname) for soname if defined.
77013         ($(common-objpfx)gnu/lib-names.stmp): Generate from
77014         abi-variants.
77015         * Makefile (installed-stubs): Likewise.
77016         * include/stubs-biarch.h: Removed.
77017         * scripts/lib-names.awk: Only handle one library at a time.
77018         * scripts/soversions.awk: Remove WORDSIZE support.
77019         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
77020         entries.
77021         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
77022         Removed.
77023         (syscall-list-default-condition): Likewise.
77024         (syscall-list-default-condition): Likewise.
77025         (syscall-list-includes): Likewise.
77026         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
77027         syscall-list-* with abi-*.  Handle undefined abi-variants.
77028         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
77029         * sysdeps/unix/sysv/linux/i386/Implies: New file.
77030         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
77031         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
77032         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
77033         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
77034         Removed.
77035         (syscall-list-32-options): Likewise.
77036         (syscall-list-32-condition): Likewise.
77037         (syscall-list-64-options): Likewise.
77038         (syscall-list-64-condition): Likewise.
77039         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
77040         macro.
77041         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
77042         Renamed to ...
77043         (abi-*): This.
77044         (abi-64-ld-soname): New macro.
77045         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
77046         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
77047         Renamed to ...
77048         (abi-*): This.
77049         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
77050         * sysdeps/x86_64/x32/shlib-versions: Likewise.
77052 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
77054         * sysdeps/unix/sysv/linux/kernel-features.h
77055         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
77056         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
77057         include <kernel-features.h>.
77058         [!__NR_ftruncate64]: Remove conditional code.
77059         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77060         [__NR_ftruncate64]: Make code unconditional.
77061         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77062         * sysdeps/unix/sysv/linux/truncate64.c: Do not
77063         include <kernel-features.h>.
77064         [!__NR_ftruncate64]: Remove conditional code.
77065         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77066         [__NR_ftruncate64]: Make code unconditional.
77067         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
77069         include <kernel-features.h>.
77070         [!__NR_ftruncate64]: Remove conditional code.
77071         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77072         [__NR_ftruncate64]: Make code unconditional.
77073         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
77075         include <kernel-features.h>.
77076         [!__NR_ftruncate64]: Remove conditional code.
77077         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77078         [__NR_ftruncate64]: Make code unconditional.
77079         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77081         * configure.in (libc_cv_fpie): Weaken to a compile test using
77082         LIBC_TRY_CC_OPTION.
77083         * configure: Regenerated.
77085 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
77088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
77089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
77090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77091         Refreshed.
77092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
77093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
77094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
77095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
77096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
77097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77098         Refreshed.
77100 2012-05-27  David S. Miller  <davem@davemloft.net>
77102         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
77103         (___Q_zero): New.
77104         (__Q_simulate_exceptions): Return void.  Change to simulate
77105         exceptions by writing into the %fsr.
77106         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
77107         (__Qp_handle_exceptions): Likewise.
77108         (numbers): Delete.
77109         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
77110         __Qp_handle_exceptions.
77111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
77112         __Qp_handle_exceptions.
77113         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77114         as unused and give dummy FP_RND_NEAREST initializer.
77115         (FP_INHIBIT_RESULTS): Define.
77116         (___Q_simulate_exceptions): Update declaration.
77117         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
77118         formatting.
77119         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77120         as unused and give dummy FP_RND_NEAREST initializer.
77121         (__Qp_handle_exceptions): Update declaration.
77122         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
77123         formatting.
77125 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
77127         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
77128         the temporary FPU control word.
77129         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
77130         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
77131         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
77132         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77133         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
77134         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
77135         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
77136         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77137         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
77138         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
77139         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77141 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77143         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
77144         fields.
77146 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
77148         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
77149         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
77150         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
77151         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77152         Likewise.
77153         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77154         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77155         Likewise.
77157 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
77159         * po/h.po: Update from translation team.
77161 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
77163         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77165         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77166         handling of denormals.
77167         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77168         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77169         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77170         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77171         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77172         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77173         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77174         Likewise.
77176 2012-05-26  Marek Polacek  <polacek@redhat.com>
77178         [BZ #14152]
77179         * math/libm-test.inc (fma_test): Don't always expect underflow
77180         exception.
77182 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77184         [BZ #12416]
77185         * elf/tst-execstack.c: Include stackinfo.h.
77186         (do_test): Adjust test case to ensure that pthread_getattr_np
77187         behaviour remains the same after marking stack executable.
77189 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77191         * sysdeps/unix/sysv/linux/kernel-features.h
77192         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77193         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77194         kernel-features.h.
77195         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77196         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77197         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77198         kernel-features.h.
77199         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77200         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77202 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
77204         * configure.in: Define the default includes to being none.
77205         * configure: Regenerated.
77207 2012-05-25  Roland McGrath  <roland@hack.frob.com>
77209         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77210         * sysdeps/x86_64/setjmp.S: Likewise.
77211         * sysdeps/i386/bsd-setjmp.S: Likewise.
77212         * sysdeps/i386/bsd-_setjmp.S: Likewise.
77213         * sysdeps/i386/setjmp.S: Likewise.
77214         * sysdeps/i386/__longjmp.S: Likewise.
77215         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77216         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77218         * include/stap-probe.h: New file.
77219         * configure.in: Handle --enable-systemtap.
77220         * configure: Regenerated.
77221         * config.h.in (USE_STAP_PROBE): New #undef.
77222         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77223         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77224         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77226 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77228         [BZ #13717]
77229         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77230         to 2.4.0 where earlier.
77231         * sysdeps/unix/sysv/linux/configure: Regenerated.
77232         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77233         <kernel-features.h>.
77234         [__ASSUME_32BITUIDS]: Make code unconditional.
77235         [!__ASSUME_32BITUIDS]: Remove conditional code.
77236         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77237         <kernel-features.h>.
77238         [__ASSUME_32BITUIDS]: Make code unconditional.
77239         [!__ASSUME_32BITUIDS]: Remove conditional code.
77240         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77241         [__ASSUME_32BITUIDS]: Make code unconditional.
77242         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77243         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77244         <kernel-features.h>.
77245         [__ASSUME_32BITUIDS]: Make code unconditional.
77246         [!__ASSUME_32BITUIDS]: Remove conditional code.
77247         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77248         <kernel-features.h>.
77249         [__ASSUME_32BITUIDS]: Make code unconditional.
77250         [!__ASSUME_32BITUIDS]: Remove conditional code.
77251         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77252         <kernel-features.h>.
77253         [__ASSUME_32BITUIDS]: Make code unconditional.
77254         [!__ASSUME_32BITUIDS]: Remove conditional code.
77255         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77256         <kernel-features.h>.
77257         [__ASSUME_32BITUIDS]: Make code unconditional.
77258         [!__ASSUME_32BITUIDS]: Remove conditional code.
77259         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77260         <kernel-features.h>.
77261         [__ASSUME_32BITUIDS]: Make code unconditional.
77262         [!__ASSUME_32BITUIDS]: Remove conditional code.
77263         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77264         <kernel-features.h>.
77265         [__ASSUME_32BITUIDS]: Make code unconditional.
77266         [!__ASSUME_32BITUIDS]: Remove conditional code.
77267         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77268         <kernel-features.h>.
77269         [__ASSUME_32BITUIDS]: Make code unconditional.
77270         [!__ASSUME_32BITUIDS]: Remove conditional code.
77271         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77272         <kernel-features.h>.
77273         [__ASSUME_32BITUIDS]: Make code unconditional.
77274         [!__ASSUME_32BITUIDS]: Remove conditional code.
77275         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77276         <kernel-features.h>.
77277         [__ASSUME_32BITUIDS]: Make code unconditional.
77278         [!__ASSUME_32BITUIDS]: Remove conditional code.
77279         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77280         <kernel-features.h>.
77281         [__ASSUME_32BITUIDS]: Make code unconditional.
77282         [!__ASSUME_32BITUIDS]: Remove conditional code.
77283         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77284         <kernel-features.h>.
77285         [__NR_setresgid] (__setresgid): Do not declare.
77286         [__ASSUME_32BITUIDS]: Make code unconditional.
77287         [!__ASSUME_32BITUIDS]: Remove conditional code.
77288         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77289         <kernel-features.h>.
77290         [__NR_setresuid] (__setresuid): Do not declare.
77291         [__ASSUME_32BITUIDS]: Make code unconditional.
77292         [!__ASSUME_32BITUIDS]: Remove conditional code.
77293         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77294         <kernel-features.h>.
77295         [__ASSUME_32BITUIDS]: Make code unconditional.
77296         [!__ASSUME_32BITUIDS]: Remove conditional code.
77297         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
77298         <kernel-features.h>.
77299         [__ASSUME_32BITUIDS]: Make code unconditional.
77300         [!__ASSUME_32BITUIDS]: Remove conditional code.
77301         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
77302         <kernel-features.h>.
77303         [__ASSUME_32BITUIDS]: Make code unconditional.
77304         [!__ASSUME_32BITUIDS]: Remove conditional code.
77305         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77306         <kernel-features.h>.
77307         [__ASSUME_32BITUIDS]: Make code unconditional.
77308         [!__ASSUME_32BITUIDS]: Remove conditional code.
77309         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77310         <kernel-features.h>.
77311         [__ASSUME_32BITUIDS]: Make code unconditional.
77312         [!__ASSUME_32BITUIDS]: Remove conditional code.
77313         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77314         <kernel-features.h>.
77315         [__ASSUME_32BITUIDS]: Make code unconditional.
77316         [!__ASSUME_32BITUIDS]: Remove conditional code.
77317         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77318         <kernel-features.h>.
77319         [__ASSUME_32BITUIDS]: Make code unconditional.
77320         [!__ASSUME_32BITUIDS]: Remove conditional code.
77321         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77322         <kernel-features.h>.
77323         [__ASSUME_32BITUIDS]: Make code unconditional.
77324         [!__ASSUME_32BITUIDS]: Remove conditional code.
77325         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77326         <kernel-features.h>.
77327         [__ASSUME_32BITUIDS]: Make code unconditional.
77328         [!__ASSUME_32BITUIDS]: Remove conditional code.
77329         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77330         <kernel-features.h>.
77331         [__ASSUME_32BITUIDS]: Make code unconditional.
77332         [!__ASSUME_32BITUIDS]: Remove conditional code.
77333         * sysdeps/unix/sysv/linux/kernel-features.h
77334         (__ASSUME_SETRESUID_SYSCALL): Remove.
77335         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77336         (__ASSUME_32BITUIDS): Likewise.
77337         (__ASSUME_LDT_WORKS): Likewise.
77338         (__ASSUME_O_DIRECTORY): Likewise.
77339         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77340         architecture but not kernel version.
77341         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77342         (__ASSUME_MMAP2_SYSCALL): Likewise.
77343         (__ASSUME_STAT64_SYSCALL): Likewise.
77344         (__ASSUME_IPC64): Likewise.
77345         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77346         <kernel-features.h>.
77347         [__ASSUME_32BITUIDS]: Make code unconditional.
77348         [!__ASSUME_32BITUIDS]: Remove conditional code.
77349         * sysdeps/unix/sysv/linux/opendir.c: Do not include
77350         <kernel-features.h>.
77351         [__ASSUME_O_DIRECTORY]: Make code unconditional.
77352         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77353         132096]: Remove conditional code.
77354         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77355         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77356         <kernel-features.h>.
77357         [__ASSUME_32BITUIDS]: Make code unconditional.
77358         [!__ASSUME_32BITUIDS]: Remove conditional code.
77359         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77360         <kernel-features.h>.
77361         [__ASSUME_32BITUIDS]: Make code unconditional.
77362         [!__ASSUME_32BITUIDS]: Remove conditional code.
77363         * sysdeps/unix/sysv/linux/setegid.c: Do not include
77364         <kernel-features.h>.
77365         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77366         unconditional.
77367         (__setresgid): Do not declare.
77368         [__ASSUME_32BITUIDS]: Make code unconditional.
77369         [!__ASSUME_32BITUIDS]: Remove conditional code.
77370         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77371         <kernel-features.h>.
77372         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77373         unconditional.
77374         (__setresuid): Do not declare.
77375         [__ASSUME_32BITUIDS]: Make code unconditional.
77376         [!__ASSUME_32BITUIDS]: Remove conditional code.
77377         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
77378         <kernel-features.h>.
77379         [__ASSUME_32BITUIDS]: Make code unconditional.
77380         [!__ASSUME_32BITUIDS]: Remove conditional code.
77381         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
77382         <kernel-features.h>.
77383         [__ASSUME_32BITUIDS]: Make code unconditional.
77384         [!__ASSUME_32BITUIDS]: Remove conditional code.
77386 2012-05-25  Richard Henderson  <rth@twiddle.net>
77388         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77389         dl_hwcap to ifunc resolver.
77390         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77391         elf_ifunc_invoke.
77392         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77393         dl_hwcap to ifunc resolver.
77394         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77396 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77398         [BZ #14153]
77399         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77400         for |x| <= 2**-26, not 2**-57.
77401         * math/libm-test.inc (acos_test): Do not allow spurious underflow
77402         exception.
77404 2012-05-24  Jeff Law  <law@redhat.com>
77406         * stdio-common/Makefile (tests): Add bug25.
77407         * stdio-common/bug25.c: New test.
77409 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77411         [BZ #13576]
77412         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77413         multiple of MALLOC_ALIGNMENT in size.
77414         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77416 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77418         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77419         Require >= 256.
77420         (FILENAME_MAX): Use macro-int-constant.
77421         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
77422         (_IOFBF): Use macro-int-constant.
77423         (_IOLBF): Likewise.
77424         (_IONBF): Likewise.
77425         (SEEK_CUR): Likewise.
77426         (SEEK_END): Likewise.
77427         (SEEK_SET): Likewise.
77428         (TMP_MAX): Likewise.
77429         (EOF): Use macro-int-constant.  Require < 0.
77430         (NULL): Use macro-constant.  Require == 0.
77431         (stdin): Require type to be FILE *.
77432         (stdout): Likewise.
77433         (stderr): Likewise.
77434         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77435         macro-int-constant.
77436         (EXIT_SUCCESS): Likewise.
77437         (NULL): Use macro-constant.  Require == 0.
77438         (RAND_MAX): Use macro-int-constant.
77439         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77440         [C99-based standards] (strtof): Require function.
77441         [C99-based standards] (strtold): Likewise.
77442         [C99-based standards] (strtoll): Likewise.
77443         [C99-based standards] (strtoull): Likewise.
77444         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77445         [ISO || ISO99 || ISO11] (limits.h): Likewise.
77446         [ISO || ISO99 || ISO11] (math.h): Likewise.
77447         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
77448         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77451 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
77453         [BZ #14132]
77454         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
77455         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
77456         * intl/dgettext.c (DCGETTEXT): Likewise.
77457         * intl/gettext.c (DCGETTEXT): Likewise.
77458         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
77459         * posix/regex_internal.h (gettext): Likewise.
77460         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
77461         Remove declaration.
77462         * include/argz.h (__argz_count_internal)
77463         (__argz_stringify_internal): Remove declaration.
77464         (__argz_count, __argz_stringify): Declare hidden proto.
77465         * intl/dcgettext.c: Remove use of INTDEF.
77466         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
77467         * string/argz-stringify.c: Likewise.
77468         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77469         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77470         Declare hidden proto.
77471         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77472         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77473         Declare hidden proto.
77474         * include/stdio.h (__asprintf_internal): Don't declare.
77475         (__asprintf): Don't define as macro.  Declare hidden proto.
77476         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
77477         (__fsetlocking): Declare hidden proto.
77478         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
77479         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77480         hidden proto.
77481         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
77482         (_IO_setlinebuf): Remove use of INTUSE.
77483         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
77484         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77485         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
77486         Remove declaration.
77487         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
77488         (_IO_do_flush): Remove use of INTUSE.
77489         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
77490         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
77491         (_IO_adjust_column, _IO_least_wmarker)
77492         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
77493         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
77494         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
77495         (_IO_default_doallocate, _IO_wdefault_doallocate)
77496         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
77497         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
77498         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
77499         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
77500         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
77501         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
77502         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
77503         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
77504         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
77505         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
77506         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
77507         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
77508         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
77509         proto.
77510         (_IO_flush_all_internal, _IO_adjust_column_internal)
77511         (_IO_default_uflow_internal, _IO_default_finish_internal)
77512         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
77513         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
77514         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
77515         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
77516         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
77517         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
77518         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
77519         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
77520         (_IO_file_close_internal, _IO_file_close_it_internal)
77521         (_IO_file_underflow_internal, _IO_file_overflow_internal)
77522         (_IO_file_init_internal, _IO_file_attach_internal)
77523         (_IO_file_fopen_internal, _IO_file_read_internal)
77524         (_IO_file_sync_internal, _IO_file_seek_internal)
77525         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
77526         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
77527         (_IO_str_underflow_internal, _IO_str_overflow_internal)
77528         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
77529         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
77530         (_IO_list_all_internal, _IO_link_in_internal)
77531         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
77532         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
77533         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
77534         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
77535         (_IO_do_write_internal, _IO_padn_internal)
77536         (_IO_getline_info_internal, _IO_getline_internal)
77537         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
77538         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
77539         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
77540         (_IO_vfscanf_internal, _IO_vfprintf_internal)
77541         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
77542         (_IO_init_internal, _IO_un_link_internal): Don't declare.
77543         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
77544         with libc_hidden_ver, remove use of INTUSE.
77545         * libio/genops.c: Likewise.
77546         * libio/freopen.c: Likewise.
77547         * libio/freopen64.c: Likewise.
77548         * libio/iofclose.c: Likewise.
77549         * libio/iofdopen.c: Likewise.
77550         * libio/iofflush.c: Likewise.
77551         * libio/iofflush_u.c: Likewise.
77552         * libio/iofgets.c: Likewise.
77553         * libio/iofgets_u.c: Likewise.
77554         * libio/iofopen.c: Likewise.
77555         * libio/iofopncook.c: Likewise.
77556         * libio/iofread.c: Likewise.
77557         * libio/iofread_u.c: Likewise.
77558         * libio/ioftell.c: Likewise.
77559         * libio/iofwrite.c: Likewise.
77560         * libio/iogetline.c: Likewise.
77561         * libio/iogets.c: Likewise.
77562         * libio/iogetwline.c: Likewise.
77563         * libio/iopadn.c: Likewise.
77564         * libio/iopopen.c: Likewise.
77565         * libio/ioseekoff.c: Likewise.
77566         * libio/ioseekpos.c: Likewise.
77567         * libio/iosetbuffer.c: Likewise.
77568         * libio/iosetvbuf.c: Likewise.
77569         * libio/ioungetc.c: Likewise.
77570         * libio/ioungetwc.c: Likewise.
77571         * libio/iovdprintf.c: Likewise.
77572         * libio/iovsprintf.c: Likewise.
77573         * libio/iovsscanf.c: Likewise.
77574         * libio/memstream.c: Likewise.
77575         * libio/obprintf.c: Likewise.
77576         * libio/oldfileops.c: Likewise.
77577         * libio/oldiofclose.c: Likewise.
77578         * libio/oldiofdopen.c: Likewise.
77579         * libio/oldiofopen.c: Likewise.
77580         * libio/oldiopopen.c: Likewise.
77581         * libio/oldstdfiles.c: Likewise.
77582         * libio/putc.c: Likewise.
77583         * libio/setbuf.c: Likewise.
77584         * libio/setlinebuf.c: Likewise.
77585         * libio/stdfiles.c: Likewise.
77586         * libio/strops.c: Likewise.
77587         * libio/vasprintf.c: Likewise.
77588         * libio/vscanf.c: Likewise.
77589         * libio/vsnprintf.c: Likewise.
77590         * libio/vswprintf.c: Likewise.
77591         * libio/wfiledoalloc.c: Likewise.
77592         * libio/wfileops.c: Likewise.
77593         * libio/wgenops.c: Likewise.
77594         * libio/wmemstream.c: Likewise.
77595         * libio/wstrops.c: Likewise.
77596         * libio/__fpurge.c: Likewise.
77597         * libio/__fsetlocking.c: Likewise.
77598         * assert/assert.c: Likewise.
77599         * debug/fgets_chk.c: Likewise.
77600         * debug/fgets_u_chk.c: Likewise.
77601         * debug/fread_chk.c: Likewise.
77602         * debug/fread_u_chk.c: Likewise.
77603         * debug/gets_chk.c: Likewise.
77604         * debug/obprintf_chk.c: Likewise.
77605         * debug/vasprintf_chk.c: Likewise.
77606         * debug/vdprintf_chk.c: Likewise.
77607         * debug/vsnprintf_chk.c: Likewise.
77608         * debug/vsprintf_chk.c: Likewise.
77609         * malloc/mtrace.c: Likewise.
77610         * misc/error.c: Likewise.
77611         * misc/syslog.c: Likewise.
77612         * stdio-common/asprintf.c: Likewise.
77613         * stdio-common/fxprintf.c: Likewise.
77614         * stdio-common/getw.c: Likewise.
77615         * stdio-common/isoc99_fscanf.c: Likewise.
77616         * stdio-common/isoc99_scanf.c: Likewise.
77617         * stdio-common/isoc99_vfscanf.c: Likewise.
77618         * stdio-common/isoc99_vscanf.c: Likewise.
77619         * stdio-common/isoc99_vsscanf.c: Likewise.
77620         * stdio-common/printf-prs.c: Likewise.
77621         * stdio-common/printf_fp.c: Likewise.
77622         * stdio-common/printf_fphex.c: Likewise.
77623         * stdio-common/printf_size.c: Likewise.
77624         * stdio-common/putw.c: Likewise.
77625         * stdio-common/scanf.c: Likewise.
77626         * stdio-common/sprintf.c: Likewise.
77627         * stdio-common/tmpfile.c: Likewise.
77628         * stdio-common/vfprintf.c: Likewise.
77629         * stdio-common/vfscanf.c: Likewise.
77630         * stdlib/strfmon_l.c: Likewise.
77631         * sunrpc/openchild.c: Likewise.
77632         * sunrpc/xdr_stdio.c: Likewise.
77633         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
77634         * sysdeps/mach/hurd/tmpfile.c: Likewise.
77636 2012-05-24  Roland McGrath  <roland@hack.frob.com>
77638         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77640         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
77641         in the third column, to generate for the shared library an IFUNC
77642         that uses _dl_vdso_vsym.
77643         * Makerules (COMPILE.c, compile-stdin.c): New variables.
77644         * Makeconfig (object-suffixes-noshared): New variable.
77646         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
77647         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
77648         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
77649         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
77651         [BZ #14132]
77652         * include/sys/time.h (__gettimeofday): Remove macro.
77653         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
77654         * time/gettimeofday.c (__gettimeofday): Remove #undef.
77655         Remove INTDEF.
77656         (__gettimeofday): Add libc_hidden_def.
77657         (gettimeofday): Add libc_hidden_weak.
77658         * sysdeps/mach/gettimeofday.c: Likewise.
77659         * sysdeps/posix/gettimeofday.c: Likewise.
77660         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
77661         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
77662         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
77663         (__gettimeofday_internal): Remove strong_alias.
77664         (__gettimeofday): Add libc_hidden_def.
77665         (gettimeofday): Add libc_hidden_weak.
77666         * sysdeps/unix/syscalls.list (gettimeofday):
77667         Remove __gettimeofday_internal alias.
77669 2012-05-24  Daniel Jacobowitz  <drow@false.org>
77670             H.J. Lu  <hongjiu.lu@intel.com>
77672         [BZ #12495]
77673         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
77674         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
77675         (largebin_index_32_big): New.
77676         (largebin_index): Use it for 16-byte alignment.
77677         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
77678         correction with front_misalign.
77680 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
77683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
77684         Likewise.
77685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
77686         Likewise.
77687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
77688         Likewise.
77689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
77690         Likewise.
77691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
77692         Likewise.
77693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
77694         Likewise.
77695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
77696         Likewise.
77697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
77698         Likewise.
77699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
77700         Likewise.
77701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
77702         Likewise.
77703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
77704         Likewise.
77705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
77706         Likewise.
77708         * scripts/data/c++-types-x32-linux-gnu.data: New file.
77709         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
77711 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77713         [BZ #10846]
77714         [BZ #14036]
77715         * math/libm-test.inc (exp_test): Add test from bug 14036.
77716         (pow_test): Add test from bug 10846.
77718         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
77719         and other flags.
77720         (special_function): Do not include flags in test name.
77721         (parse_args): Likewise.
77722         * sysdeps/i386/fpu/libm-test-ulps: Update.
77723         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77724         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
77725         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
77726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77728         * math/gen-libm-test.pl (%beautify): Add entries for underflow
77729         exceptions.
77730         * math/libm-test.inc ("Philosophy"): Update comment about
77731         exception testing.
77732         (UNDERFLOW_EXCEPTION): New macro.
77733         (UNDERFLOW_EXCEPTION_OK): Likewise.
77734         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
77735         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
77736         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
77737         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
77738         (INVALID_EXCEPTION_OK): Update value.
77739         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77740         (OVERFLOW_EXCEPTION_OK): Likewise.
77741         (IGNORE_ZERO_INF_SIGN): Likewise.
77742         (test_exceptions): Handle underflow exceptions.
77743         (acos_test): Update for underflow exception expectations.
77744         (cexp_test): Likewise.
77745         (clog_test): Likewise.
77746         (clog10_test): Likewise.
77747         (csqrt_test): Likewise.
77748         (ctan_test): Likewise.
77749         (ctanh_test): Likewise.
77750         (exp_test): Likewise.
77751         (exp10_test): Likewise.
77752         (exp2_test): Likewise.
77753         (expm1_test): Likewise.
77754         (fma_test): Likewise.
77755         (j0_test): Likewise.
77756         (jn_test): Likewise.
77757         (nexttoward_test): Likewise.
77758         (pow_test): Likewise.
77759         (scalbn_test): Likewise.
77760         (scalbln_test): Likewise.
77761         (tan_test): Likewise.
77762         (y1_test): Likewise.
77763         * sysdeps/i386/fpu/libm-test-ulps: Update.
77764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77766 2012-05-23  David S. Miller  <davem@davemloft.net>
77768         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77769         (__libc_sigaction): Remove unused local variables.
77771 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77773         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77775 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
77777         mktime: avoid signed integer overflow
77778         * time/mktime.c (__mktime_internal): Do not mishandle the case
77779         where diff == INT_MIN.
77781         mktime: simplify computation of average
77782         * time/mktime.c (ranged_convert): Use new time_t_avg function
77783         instead of rolling our own (probably-slower) code.
77785         mktime: do not assume signed right shift propagates sign bit
77786         * time/mktime.c (isdst_differ): New static function.
77787         (__mktime_internal): No need to normalize tm_isdst now.
77788         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77789         tm_isdst values.
77791         mktime: merge another wrapv change from gnulib
77792         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77793         from some compilers.
77795         mktime: remove incorrect attempt at unusual arithmetics
77796         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77797         The code didn't really work on such machines anyway.
77798         (TYPE_MINIMUM): Assume two's complement.
77799         (twos_complement_arithmetic): Verify that long_int and time_t
77800         are two's complement (or unsigned, in the latter case).
77802         mktime: check signed shifts on long_int and time_t, too
77803         * time/mktime.c (SHR): Check that shifts work as desired
77804         on the types long_int and time_t too, as SHR is used on
77805         such types.
77807         mktime: do not assume 'long' is wide enough
77808         * time/mktime.c (verify): Move decl up.
77809         (long_int): New type.
77810         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77811         to remove assumption in the code that 'long' is wide enough to
77812         store year values.  This assumption is not true on x32 and on
77813         some non-glibc platforms.
77815         mktime: merge wrapv change from gnulib
77816         * time/mktime.c (WRAPV): New macro.
77817         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77818         (guess_time_tm, __mktime_internal): Do not assume that signed
77819         integer overflow wraps around; modern compilers generate code
77820         where this assumption is no longer valid.
77822 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77824         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77825         Replace "jmp L(pseudo_end)" with "ret".
77826         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77827         Likewise.
77829 2012-05-23  Andreas Jaeger  <aj@suse.de>
77831         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77832         * sysdeps/unix/sysv/linux/poll.c: Remove file.
77834 2012-05-23  Andreas Jaeger  <aj@suse.de>
77835             Maximilian Attems  <max@stro.at>
77837         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
77838         New macros.
77840 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77842         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
77843         code so that pseudo_end is just ret and the stack pointer is
77844         correct also for static library in error case.
77846 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
77848         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
77849         move to syscalls.list.
77850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
77851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
77852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
77853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
77855         * manual/install.texi (Running make install): Do not mention Linux
77856         kernel version for which pt_chown is not needed.
77857         (Linux): Do not mention problems with nscd with 2.0 kernels.
77858         * INSTALL: Regenerated.
77860 2012-05-23  Andreas Jaeger  <aj@suse.de>
77862         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
77863         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
77864         macro.
77865         * sysdeps/unix/sysv/linux/s390/bits/mman.h
77866         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77867         * sysdeps/unix/sysv/linux/sh/bits/mman.h
77868         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77869         * sysdeps/unix/sysv/linux/i386/bits/mman.h
77870         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77871         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
77872         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77873         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
77874         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77875         * sysdeps/unix/sysv/linux/bits/in.h
77876         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
77878 2012-05-22  Roland McGrath  <roland@hack.frob.com>
77880         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
77881         (PREPARE_VERSION): Just use assert instead, it will be elided
77882         under [NDEBUG] anyway.
77884 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77886         * sysdeps/unix/sysv/linux/Makefile: Include
77887         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
77888         (sysdep_routines): Remove sysctl.
77889         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
77890         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
77891         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
77892         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
77893         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
77895 2012-05-22  Andreas Jaeger  <aj@suse.de>
77897         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77898         that pseudo_end is just ret and the stack pointer is correct also
77899         for static library in error case.
77901 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
77903         [BZ #14122]
77904         * nss/nsswitch.c (defconfig_entries): New variable.
77905         (__nss_database_lookup): Don't leak defconfig entries.
77906         (nss_parse_service_list): Don't leak on error paths.
77907         (free_database_entries): New function.
77908         (free_defconfig): New function.
77909         (free_mem): Move common code to free_database_entries.
77911 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77913         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
77914         Add arch_prctl.
77915         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
77917         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
77918         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
77919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
77920         New macro.
77921         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
77922         (INTERNAL_SYSCALL_TYPES): Likewise.
77923         (LOAD_ARGS_TYPES_[1-6]): Likewise.
77924         (LOAD_REGS_TYPES_[1-6]): Likewise.
77925         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
77926         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
77928 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77930         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
77931         copysignl for GLIBC_2_0.
77932         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
77933         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
77934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
77935         logbl for GLIBC_2_0.
77936         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
77937         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
77939 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77941         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
77942         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77944         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77945         Use "neg %eax".
77947         * time/mktime.c: Update copyright years.
77949 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
77951         mktime: merge comment-quoting-style change from gnulib
77952         * time/mktime.c: Quote 'like this' in comments.
77953         The GNU coding standards suggest that we no longer quote `like this',
77954         as "`" and "'" are typically rendered asymmetrically nowadays.
77955         The typical gnulib style is to quote 'like this' when quoting
77956         code, and "like this" when quoting English.
77958         * time/mktime.c (compile-command): Add "-I.".
77960         mktime: merge mktime-internal.h change from gnulib
77961         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
77963         mktime: merge time_r change from gnulib
77964         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
77966         mktime: merge DEBUG change from gnulib
77967         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
77968         case system <time.h> has a #define.
77970         mktime: merge <sys/types.h> change from gnulib
77971         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
77972         since <time.t> is now guaranteed to define time_t.
77974         mktime: merge HAVE_CONFIG_H change from gnulib
77975         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
77977 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77979         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77980         Use "neg %eax".
77982         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
77983         __rlim_t cast.
77984         (struct rusage): Use anonymous union to pad each field to
77985         __syscall_slong_t.
77987 2012-05-21  David S. Miller  <davem@davemloft.net>
77989         * Makefules (o-iterator): Remove .s cases.
77990         (compile-command.s): Delete.
77991         (COMPILE.s): Delete.
77992         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
77994 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
77996         * configure.in (libc_cv_predef_stack_protector): Only consider
77997         "foobar" and "__stack_chk_fail" lines in libc_undefs.
77998         * configure: Regenerated.
78000 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78003         New macro.  Use R*LP on int and pointer.
78004         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
78005         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
78006         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
78007         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
78009         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
78010         [__WORDSIZE_TIME64_COMPAT32] instead of
78011         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
78012         (struct utmp): Likewise.
78013         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
78014         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
78015         Renamed to ...
78016         (__WORDSIZE_TIME64_COMPAT32): This.
78017         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
78018         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
78019         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
78020         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
78021         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78022         (__WORDSIZE_TIME64_COMPAT32): New macro.
78024 2012-05-21  Andreas Jaeger  <aj@suse.de>
78026         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
78027         only if [SHARED]. Add prototype for __wcschr_ia32.
78029 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78031         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
78032         of %rbp unmolested in the jmp_buf while mangling the low bits.
78033         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
78034         unmolested high bits of %rbp while demangling the low bits.
78035         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78037 2012-05-21  Andreas Jaeger  <aj@suse.de>
78039         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
78040         * sunrpc/svc_simple.c: Use it for registerrpc.
78041         * sunrpc/xcrypt.c: Use it for passwd2des.
78043         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
78045 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78047         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
78048         Don't define if [__SYSCALL_WORDSIZE != 32].
78049         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
78050         New macro.
78052 2012-05-21  Bruno Haible  <bruno@clisp.org>
78053             Andreas Jaeger  <aj@suse.de>
78055         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
78056         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
78057         inptr and inend for must_buffer_ch.
78058         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
78059         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
78060         * stdio-common/Makefile (tests): Remove bug15.
78061         (bug15-ENV): Remove macro.
78062         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
78063         anymore.
78065 2012-05-19  Andreas Jaeger  <aj@suse.de>
78066             Roland McGrath  <roland@hack.frob.com>
78068         * manual/contrib.texi: Completely rewritten. It contains now an
78069         alphabetical list of contributors and their contributions.
78071 2012-05-21  Richard Henderson  <rth@twiddle.net>
78073         * misc/getauxval.c (__getauxval): Use unsigned long int.
78074         * misc/sys/auxv.h: Include <sys/cdefs.h>.
78075         (getauxval): Use unsigned long int.
78077 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78079         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78081 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78083         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
78084         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
78085         __alignof__ (long double).
78087 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78091 2012-05-20  Richard Henderson  <rth@twiddle.net>
78093         * misc/getauxval.c: New file.
78094         * misc/sys/auxv.h: New file.
78095         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
78096         (routines): Add getauxval.
78097         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
78098         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
78099         * elf/dl-sysdep.c (_dl_auxv): Remove.
78100         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78101         * elf/dl-support.c (_dl_auxv): New variable.
78102         (_dl_aux_init): Initialize it.
78103         * manual/startup.texi (Auxiliary Vector): New node.
78104         * sysdeps/generic/bits/hwcap.h: New file.
78105         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78106         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
78107         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
78108         * sysdeps/sparc/sysdep.h: ... here.  Include it.
78109         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
78110         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
78111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78112         Update.
78113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
78114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
78115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
78116         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
78117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
78120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
78122 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78126 2012-05-19  David S. Miller  <davem@davemloft.net>
78128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78130 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78132         [BZ #14123]
78133         * math/s_ccosh.c: Include <float.h>
78134         (__ccosh): Avoid internal overflow calculating sinh and cosh
78135         values before multiplying by sin and cos values.
78136         * math/s_ccoshf.c: Likewise.
78137         * math/s_ccoshl.c: Likewise.
78138         * math/s_csin.c: Likewise.
78139         * math/s_csinf.c: Likewise.
78140         * math/s_csinl.c: Likewise.
78141         * math/s_csinh.c: Likewise.
78142         * math/s_csinhf.c: Likewise.
78143         * math/s_csinhl.c: Likewise.
78144         * math/libm-test.inc (ccos_test): Add more tests.
78145         (ccosh_test): Likewise.
78146         (csin_test): Likewise.
78147         (csinh_test): Likewise.
78148         * sysdeps/i386/fpu/libm-test-ulps: Update.
78149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78151 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
78153         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78154         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78156         * sysdeps/x86_64/x32/_itoa.h: Add comment.
78158 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78160         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78161         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78162         * sysdeps/powerpc/soft-fp/Versions: Likewise.
78163         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78164         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78165         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78166         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78167         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78168         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78169         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78170         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78171         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78172         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78173         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78174         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78175         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78176         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78177         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78178         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78179         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78180         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78181         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78182         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78183         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78184         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78185         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78186         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78187         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78188         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78189         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78190         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78192 2012-05-18  Andreas Jaeger  <aj@suse.de>
78194         * csu/.gitignore: Delete.
78196 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78198         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78199         (timex): Use __syscall_slong_t.
78201 2012-05-18  Andreas Jaeger  <aj@suse.de>
78202             Carlos O'Donell  <carlos_odonell@mentor.com>
78204         * manual/install.texi (Configuring and compiling): Update
78205         description about files modified in the source directory.
78206         * INSTALL: Regenerated.
78208 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78210         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78211         value.  Use "or" to set return value to -1.
78212         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78213         negate return value.
78215 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78217         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78218         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78219         failure if the compiler has Graphite support disabled.
78220         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78221         Likewise.
78222         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78223         (CFLAGS-memmove.c): Likewise.
78224         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78225         Likewise.
78227 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78229         * sysdeps/x86_64/x32/_itoa.h: New file.
78231         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78232         getdents system call only if kernel and user dirents have the
78233         same d_ino and d_off.
78235         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78236         LLONG_MAX != LONG_MAX.
78237         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78238         (_fitoa_word): Likewise.
78240         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78241         years.
78242         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78243         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78244         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78246         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78247         include <bits/wordsize.h>.  Check __x86_64__ instead of
78248         __WORDSIZE.
78249         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78250         if __x86_64__ is defined.  Use anonymous union on fpstate.
78252         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78253         anonymous union.
78255 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78257         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78258         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78259         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78260         Refer to _rtld_local_ro instead of _rtld_global_ro.
78261         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78262         Likewise.
78263         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78264         Likewise.
78265         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78266         Likewise.
78267         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78268         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78269         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78271         [BZ #10882]
78272         * sysdeps/powerpc/powerpc32/dl-machine.c
78273         (__elf_machine_runtime_setup) [PROF]: Don't reference
78274         _dl_prof_resolve.
78276 2012-05-18  Andreas Jaeger  <aj@suse.de>
78278         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78279         function only available for GCCs before 3.4 since GCC 3.4
78280         introduced a builtin.
78281         (lrint): Likewise.
78282         (llrintf): Likewise.
78283         (llrint): Likewise.
78284         (fmaxf): Likewise.
78285         (fmax): Likewise.
78286         (fminf): Likewise.
78287         (fmin): Likewise.
78288         (rint): Likewise.
78289         (rintf): Likewise.
78290         (nearbyint): Likewise.
78291         (nearbyintf): Likewise.
78292         (ceil): Likewise.
78293         (ceilf): Likewise.
78294         (floor): Likewise.
78295         (floorf): Likewise.
78297 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78299         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78300         on both fields and cast pointer to __syscall_ulong_t.
78302         * bits/types.h (__fsword_t): New type.
78303         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78304         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78305         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78306         (__FSWORD_T_TYPE): Likewise.
78307         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78308         (__FSWORD_T_TYPE): Likewise.
78309         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78310         (__FSWORD_T_TYPE): Likewise.
78311         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78312         (__FSWORD_T_TYPE): Likewise.
78313         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78314         __SWORD_TYPE with __fsword_t.
78315         (statfs64): Likewise.
78317 2012-05-17  David S. Miller  <davem@davemloft.net>
78319         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78321 2012-05-17  Andreas Jaeger  <aj@suse.de>
78323         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78324         warning.
78326 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78328         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78330 2012-05-17  Andreas Jaeger  <aj@suse.de>
78332         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78333         when it is used.
78335 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78337         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78339 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78341         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78342         * sysdeps/x86_64/tst-mallocalign1.c: New file.
78344 2012-05-17  Andreas Jaeger  <aj@suse.de>
78345             Carlos O'Donell  <carlos_odonell@mentor.com>
78347         [BZ #14059]
78348         * sysdeps/x86_64/multiarch/init-arch.h
78349         (bit_YMM_Usable): Rename to...
78350         (bit_AVX_Usable): ... this.
78351         (bit_FMA4_Usable): New macro.
78352         (bit_XMM_state): New macro.
78353         (bit_YMM_state): New macro.
78354         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78355         [__ASSEMBLER__] (index_AVX_Usable): ... this.
78356         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78357         (CPUID_OSXSAVE): New macro.
78358         (CPUID_AVX): New macro.
78359         (CPUID_FMA4): New macro.
78360         (index_YMM_Usable): Rename to...
78361         (index_AVX_Usable): ... this.
78362         (HAS_AVX): Use HAS_ARCH_FEATURE.
78363         (HAS_FMA4): Likewise.
78364         (HAS_YMM_USABLE): Remove.
78365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78366         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78367         are present.
78368         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78369         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78370         * sysdeps/x86_64/multiarch/Makefile: Likewise.
78371         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78372         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78374 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78376         * math/libm-test.c: Support platforms without multiple rounding modes.
78377         * math/bug-nextafter.c: Support platforms without FP exceptions.
78378         * math/bug-nexttoward.c: Likewise.
78379         * math/test-fenv.c: Likewise.
78380         * math/test-misc.c: Likewise.
78381         * stdlib/bug-getcontext.c: Likewise.
78383 2012-05-17  Andreas Jaeger  <aj@suse.de>
78385         * manual/examples/search.c (critter_cmp): Change signature to
78386         avoid warnings.
78387         * manual/string.texi (Collation Functions): Likewise.
78389 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78391         * bits/types.h: Fold copyright years.
78392         * bits/typesizes.h: Likewise.
78393         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78394         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78395         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78396         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78397         * time/time.h: Likewise.
78399 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
78401         [BZ #208]
78402         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78403         in instead of returning them.  Return void.
78404         (__libc_mallinfo): Accumulate over all arenas.
78405         (__malloc_stats): Adjust for change in int_mallinfo interface.
78407 2012-05-16  Roland McGrath  <roland@hack.frob.com>
78409         [BZ #10375]
78410         * configure.in (NM): Add AC_CHECK_TOOL for it.
78411         (libc_extra_cflags): New substituted variable.
78412         Check for -fstack-protector being used implicitly.
78413         * configure: Regenerated.
78414         * config.make.in (config-extra-cflags): New variable,
78415         gets @libc_extra_cflags@.
78416         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78418         [BZ #10375]
78419         * configure.in: Check for _FORTIFY_SOURCE being predefined.
78420         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78421         * configure: Regenerated.
78422         * config.make.in (CPPUNDEFS): New substituted variable.
78423         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78424         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78425         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78427 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78429         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78430         (mq_attr): Use __syscall_slong_t.
78432 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78434         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78435         Check __x86_64__ instead of __WORDSIZE.
78436         (_STAT_VER_LINUX): Likewise.
78437         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
78438         __syscall_ulong_t and __syscall_slong_t.
78439         (stat64): Likewise.
78441 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78443         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
78445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78447         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
78449 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78451         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
78452         __syscall_ulong_t.
78454         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
78455         include <bits/wordsize.h>.  Check __x86_64__ instead of
78456         __WORDSIZE.
78457         (greg_t): Use "__extension__ long long int" if __x86_64__ is
78458         defined.
78459         (mcontext_t): Replace "unsigned long" with "unsigned long long".
78461         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
78462         include <bits/wordsize.h>.  Check __x86_64__ instead of
78463         __WORDSIZE.
78464         (user_regs_struct): Use "__extension__ unsigned long long"
78465         instead of "unsigned long" if __x86_64__ is defined.
78466         (user): Likewise.  Pad after pointer field if __ILP32__ is
78467         defined.
78469 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
78471         * configure.in (makeinfo): Require version 4.5 or later.  Allow
78472         versions 5 to 9.
78473         * configure: Regenerated.
78474         * manual/install.texi (texinfo): Increase version requirement to
78475         4.5 or later.
78476         * INSTALL: Regenerated.
78478         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
78480 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78482         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
78484         * sysdeps/x86_64/x32/ffs.c: New file.
78486         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
78487         __syscall_ulong_t.
78488         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
78489         defined.  Use __syscall_ulong_t.
78490         (shminfo): Use __syscall_ulong_t.
78491         (shm_info): Likewise.
78493         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
78494         __syscall_ulong_t.
78496         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78497         <bits/wordsize.h>.
78498         (msgqnum_t): Use __syscall_ulong_t.
78499         (msglen_t): Likewise.
78500         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
78501         __syscall_ulong_t.
78503         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78504         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78506         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
78508         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
78509         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
78511         * sysvipc/sys/msg.h (msgbuf): Replace long int with
78512         __syscall_slong_t.
78514         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
78515         include <bits/wordsize.h>.  Check __x86_64__ instead of
78516         __WORDSIZE.
78518         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
78519         "unsigned long long int" if __x86_64__ is defined.
78520         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
78522         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
78523         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78524         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
78526         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
78527         <stdint.h>.
78528         (GET_PC): Cast to uintptr_t first.
78529         (GET_FRAME): Likewise.
78530         (GET_STACK): Likewise.
78532         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
78533         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
78534         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
78535         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
78536         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
78537         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
78538         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
78539         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
78540         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
78541         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
78542         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
78543         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
78544         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78545         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
78546         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
78547         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
78548         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
78549         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
78550         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
78551         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
78552         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
78553         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
78554         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
78555         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
78556         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
78557         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
78558         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
78559         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
78560         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
78562 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
78564         * Makerules (+depfiles): Also collect depfiles from .oS in
78565         $(extra-objs).
78566         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
78567         .oS, $(libnldbl-routines)).
78569         * Makerules (native-compile-mkdep-flags): Define.
78570         * sunrpc/Makefile (extra-objs): Add $(addprefix
78571         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
78572         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
78573         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
78574         calling $(make-target-directory).
78576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78578         * bits/types.h (__snseconds_t): Removed.
78579         * time/time.h (struct timespec): Replace __snseconds_t with
78580         __syscall_slong_t.
78581         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
78582         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
78583         Likewise.
78584         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78585         (__SNSECONDS_T_TYPE): Likewise.
78586         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78587         (__SNSECONDS_T_TYPE): Likewise.
78588         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78589         (__SNSECONDS_T_TYPE): Likewise.
78591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78593         * sysdeps/mach/hurd/bits/typesizes.h
78594         (__SYSCALL_SLONG_TYPE): New macro.
78595         (__SYSCALL_ULONG_TYPE): Likewise.
78597 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78599         * bits/types.h (__syscall_slong_t): New type.
78600         (__syscall_ulong_t): Likewise.
78602         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
78603         (__SYSCALL_ULONG_TYPE): Likewise.
78604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78605         (__SYSCALL_SLONG_TYPE): Likewise.
78606         (__SYSCALL_ULONG_TYPE): Likewise.
78607         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78608         (__SYSCALL_SLONG_TYPE): Likewise.
78609         (__SYSCALL_ULONG_TYPE): Likewise.
78610         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78611         (__SYSCALL_SLONG_TYPE): Likewise.
78612         (__SYSCALL_ULONG_TYPE): Likewise.
78614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78616         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
78617         Add sigaltstack-offsets.sym.
78618         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
78619         <sigaltstack-offsets.h>.
78620         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
78621         longjmp_msg pointer.
78622         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
78623         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
78624         signal stack.
78625         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
78627 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78629         * elf/stackguard-macros.h: Remove file.
78630         * sysdeps/generic/stackguard-macros.h: New file.
78631         * sysdeps/i386/stackguard-macros.h: Likewise.
78632         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
78633         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
78634         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
78635         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
78636         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
78637         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
78638         * sysdeps/x86_64/stackguard-macros.h: Likewise.
78639         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
78640         <elf/stackguard-macros.h>.
78642         [BZ #14109]
78643         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
78644         __aligned__ in attribute.
78645         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
78646         (gregset_t): Likewise.
78648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78650         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
78651         * sysdeps/x86_64/64/Implies-after: Here.  New file.
78652         * sysdeps/x86_64/x32/Implies-after: New file.
78654 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78656         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
78657         and access return value for _dl_profile_fixup.  Use R10_LP to
78658         load frame size.
78660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78662         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
78664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78666         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
78667         * sysdeps/x86_64/x32/sysdep.h: New file.
78669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78671         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
78672         * sysdeps/x86_64/setjmp.S: Likewise.
78674 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78676         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
78677         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
78678         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
78679         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
78680         remove unused global constant.
78682 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
78684         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
78685         include of <not-cancel.h>.
78687 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78689         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
78691 2012-05-15  Jeff Law  <law@redhat.com>
78692             Andreas Jaeger  <aj@suse.de>
78694         [BZ #13594]
78695         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
78696         out from...
78697         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
78698         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
78699         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
78700         code changing __hst_map_handle.map.
78702 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78704         * configure.in (sysnames): Look for Implies-before and Implies-after
78705         files.
78706         * configure: Regenerated.
78708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78710         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
78711         8-byte data alignment with LP_SIZE alignment.
78713 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78715         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
78716         into R10_LP.
78718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78720         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
78722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78724         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
78725         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
78726         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
78727         Likewise.
78728         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78732         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
78733         (stackinfo_sub_sp): Likewise.
78735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78737         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
78738         RAX_LP.
78740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78742         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
78743         into R*_LP.
78745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78747         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
78748         sizes into R*_LP.
78750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78752         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
78754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78756         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
78757         into R11_LP and load __x86_64_shared_cache_size_half into
78758         R8_LP.
78760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78762         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
78763         R8_LP.
78765 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78767         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
78768         logb for POWER7.
78769         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
78770         logbf for POWER7.
78771         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
78772         logbl for POWER7.
78773         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
78774         powerpc32/power7/fpu/s_logb.c via #include.
78775         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78776         powerpc32/power7/fpu/s_logbf.c via #include.
78777         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78778         powerpc32/power7/fpu/s_logbl.c via #include.
78780 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78782         * README.libm: Remove file.
78784 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78786         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78787         count for x32.  Use R*_LP and omit operand-size suffix.
78789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78791         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78792         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78793         * sysdeps/x86_64/x32/shlib-versions: New file.
78795 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78797         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78798         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78799         Use _dl_fatal_printf instead.
78801 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78803         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78804         set if not set by the user.  Do not allow for being unset.
78805         * sysdeps/unix/sysv/linux/configure: Regenerated.
78807 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78809         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78810         the `q' suffix from lea and replace .quad with ASM_ADDR.
78812 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78814         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78815         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78816         instead of $17.
78817         (PTR_DEMANGLE): Likewise.
78819 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78821         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78822         (LP_OP): Likewise.
78823         (ASM_ADDR): Likewise.
78824         (RAX_LP): Likewise.
78825         (RBP_LP): Likewise.
78826         (RBX_LP): Likewise.
78827         (RCX_LP): Likewise.
78828         (RDI_LP): Likewise.
78829         (RSI_LP): Likewise.
78830         (RSP_LP): Likewise.
78831         (R8_LP): Likewise.
78832         (R9_LP): Likewise.
78833         (R10_LP): Likewise.
78834         (R10_LP): Likewise.
78835         (R11_LP): Likewise.
78836         (R12_LP): Likewise.
78837         (R13_LP): Likewise.
78838         (R14_LP): Likewise.
78839         (R15_LP): Likewise.
78841 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78843         * sysdeps/x86_64/x32/dl-machine.h: New file.
78845 2012-05-14  Andreas Jaeger  <aj@suse.de>
78847         * manual/Makefile (subdir): Remove export of subdir.
78848         (all): Remove target.
78849         (.PHONY): Remove all from list.
78850         (mkinstalldirs): Remove.
78851         (.PHONY): Remove installdirs from list.
78852         ($(inst_infodir)/libc.info): Use make-target-directory.
78853         (installdirs): Remove.
78854         (subdir_%): Remove.
78855         (glibc-targets): Remove.
78856         (lib): Remove.
78857         (stubs): Remove.
78858         ($(objpfx)stubs ../po/manual.pot): Remove.
78859         ($(objpfx)stamp%): Remove.
78860         (make-target-directory): Remove.
78861         (subdir_install): Remove.
78862         (routines): Remove.
78863         (aux): Remove.
78864         (sources): Remove.
78865         (objects): Remove.
78866         (headers): Remove.
78868         [BZ #13750]
78869         * manual/.gitignore: Remove, it's not needed anymore.
78870         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
78871         all files in it.
78872         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
78873         directory.
78874         (texis): Renamed to $(objpfx)texis.
78875         (texis-path): New, contains path to generated files.
78876         (chapters.%): Use texis-path for complete path, add extra argument
78877         libc-texinfo.sh.
78878         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
78879         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
78880         (summary,texi, stamp-summary): Use complete path of
78881         files. Generate files in build dir.
78882         (dir-add.texi): Build in build dir.
78883         (libm-err.texi,stamp-libm-err): Likewise.
78884         (version.texi, stamp-version): Likewise.
78885         (.%c.texi): Likewise.
78886         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
78887         (mostlyclean): Remove target.
78888         (realclean): Remove target.
78889         (generated): Add new variable with contents from mostlyclean and
78890         realclean, remove entries duplicated in common-mostlyclean, add
78891         stamp-libm-err and stamp-version.
78892         (generated-dirs): Add libc directory.
78893         ($(inst_infodir)/libc.info): Install files from build dir.
78895         * manual/install.texi (Configuring and compiling): Adjust since
78896         the info files are not part of the tar ball anymore.
78898 2012-05-14  Andreas Jaeger  <aj@suse.de>
78900         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
78901         variable.
78903 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78905         [BZ #13717]
78906         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78907         to 2.2.0 where earlier.
78908         * sysdeps/unix/sysv/linux/configure: Regenerated.
78909         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
78910         Remove conditional code.
78911         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
78912         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
78913         Remove conditional code.
78914         [!__NR_lchown]: Likewise.
78915         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78916         [__NR_lchown]: Likewise.
78917         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
78918         comment referencing __ASSUME_LCHOWN_SYSCALL.
78919         * sysdeps/unix/sysv/linux/i386/sigaction.c
78920         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78921         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78922         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
78923         Remove conditional code.
78924         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
78925         (__protocol_available): Remove #if 0 code.
78926         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
78927         conditional code.
78928         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
78929         * sysdeps/unix/sysv/linux/kernel-features.h
78930         (__ASSUME_GETCWD_SYSCALL): Don't define.
78931         (__ASSUME_REALTIME_SIGNALS): Likewise.
78932         (__ASSUME_PREAD_SYSCALL): Likewise.
78933         (__ASSUME_PWRITE_SYSCALL): Likewise.
78934         (__ASSUME_POLL_SYSCALL): Likewise.
78935         (__ASSUME_LCHOWN_SYSCALL): Likewise.
78936         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
78937         non-SPARC.
78938         (__ASSUME_SIOCGIFNAME): Don't define.
78939         (__ASSUME_MSG_NOSIGNAL): Likewise.
78940         (__ASSUME_SENDFILE): Define unconditionally.
78941         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
78942         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
78943         conditional code.
78944         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
78945         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
78946         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78947         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78948         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
78949         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78950         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
78952         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78953         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
78955         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78956         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
78958         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78959         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
78961         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78962         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
78964         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78965         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
78967         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78968         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
78970         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78971         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
78973         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78974         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78975         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
78976         Remove conditional code.
78977         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78978         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78979         Remove conditional code.
78980         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78981         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
78982         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
78983         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78984         Remove conditional code.
78985         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78986         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
78987         Remove conditional code.
78988         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78989         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
78990         Remove conditional code.
78991         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78992         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78993         Remove conditional code.
78994         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78995         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78996         Remove conditional code.
78997         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78998         * sysdeps/unix/sysv/linux/sh/pwrite64.c
78999         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79000         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79001         * sysdeps/unix/sysv/linux/sigaction.c
79002         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79003         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79004         * sysdeps/unix/sysv/linux/sigpending.c
79005         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79006         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79007         * sysdeps/unix/sysv/linux/sigprocmask.c
79008         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79009         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79010         * sysdeps/unix/sysv/linux/sigsuspend.c
79011         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79012         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79013         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79014         (__libc_missing_rt_sigs): Remove.
79015         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
79016         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
79017         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
79018         Remove conditional code.
79019         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
79020         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
79021         return 1.
79022         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
79023         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
79024         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
79025         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
79027 2012-05-14  Andreas Jaeger  <aj@suse.de>
79029         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
79030         it's not used in glibc.
79031         (__coshm1): Likewise.
79032         (__acosh1p): Likewise.
79033         (__sgn): Likewise.
79035         * manual/string.texi (Copying and Concatenation): Add missing
79036         variable in concat example.
79037         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
79039 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79041         [BZ #14103]
79042         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
79043         __builtin_clzl with __builtin_clzll.
79045 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79047         [BZ #14104]
79048         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
79049         libc_freeres_ptr.
79051 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79053         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
79054         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
79055         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
79056         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
79058 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
79060         * NEWS: Update ia64 info.
79062 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
79064         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
79065         used as bcopy.
79067 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
79069         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
79070         * sysdeps/unix/syscalls.list (dup3): Likewise.
79071         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
79072         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
79074 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79076         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
79077         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
79079 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79081         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
79082         thread pointer.
79083         (TLS_IE): Use mov/add instead of movq/addq to load thread
79084         pointer.
79085         (TLS_GD_PREFIX): New.
79086         (TLS_GD): Use it.
79088 2012-05-11  David S. Miller  <davem@davemloft.net>
79090         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
79091         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
79092         (_FPU_SETCW): Likewise.
79094 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79096         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
79097         is 32-byte aligned.
79099 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
79101         [BZ #11837]
79102         * iconvdata/gb18030.c: Update tables.
79103         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
79104         characters specially.
79105         (BODY for TO_LOOP): Add encoding of missing ranges.
79107 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
79109         [BZ #13673]
79110         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
79111         * sysdeps/mach/hurd/dup3.c: Likewise.
79112         * sysdeps/mach/hurd/readlinkat.c: Likewise.
79113         * sysdeps/powerpc/memmove.c:: Likewise.
79115 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79117         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79118         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
79120 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79122         * elf/elf.h (R_X86_64_RELATIVE64): New.
79123         (R_X86_64_NUM): Updated.
79124         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
79125         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
79126         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
79127         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
79128         tst-quad1pie tst-quad2pie
79129         (modules-names): Add tst-quadmod1 tst-quadmod2.
79130         ($(objpfx)tst-quad1): New dependency.
79131         ($(objpfx)tst-quad2): Likewise.
79132         ($(objpfx)tst-quad1pie): Likewise.
79133         ($(objpfx)tst-quad2pie): Likewise.
79134         * sysdeps/x86_64/tst-quad1.c: New file.
79135         * sysdeps/x86_64/tst-quad1pie.c: New file.
79136         * sysdeps/x86_64/tst-quad2.c: Likewise.
79137         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
79138         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
79139         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79140         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
79141         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
79143 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79145         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
79146         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
79147         * streams/stropts.h (t_scalar_t): Define type.
79149         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
79150         (_PATH_PRESERVE): Set to "/var/lib".
79151         (_PATH_RWHODIR): Set to "/var/spool/rwho".
79153         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79154         instead of int.
79156         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79157         if __dir_mkfile succeeded.
79159         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79160         checking for _hurd_dtablesize.  Unlock it right after having
79161         finished _hurd_dtable allocation.
79163 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79165         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79166         * sysdeps/mach/hurd/configure: Regenerated.
79167         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79168         special-casing to...
79169         * sysdeps/gnu/configure.in: ... this new file.
79170         * sysdeps/unix/sysv/linux/configure: Regenerated.
79171         * sysdeps/gnu/configure: New generated file.
79173         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79174         for Linux: use nsec instead of usec, as well as:
79175         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79176         members of type struct timespec.
79177         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79178         New macros.
79179         (struct stat64): Likewise.
79180         (_STATBUF_ST_NSEC): New macro.
79181         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79183         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79184         __strtoul_internal rather than strtoul.
79186 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79188         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79189         and reject them.
79191 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79193         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79194         which preserves existing values.
79195         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79197 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79199         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79200         TIMEOUT values.  Return EINVAL for NFDS values either negative or
79201         greater than FD_SETSIZE.
79203 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79205         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79206         allocated, call __vm_protect to finish enabling the existing space, and
79207         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79208         allocate the remainder.
79210 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79212         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79213         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79217         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79218         sysdeps/mach/hurd/readlink.c.
79220         * posix/tst-sysconf.c (posix_options): Only use
79221         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79222         _POSIX_SYNCHRONIZED_IO when they are defined
79223         * sysdeps/mach/hurd/bits/posix_opt.h:
79224         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79225         (_XOPEN_REALTIME): Undefine macro.
79226         (_XOPEN_REALTIME_THREADS): Undefine macro.
79227         (_XOPEN_SHM): Undefine macro.
79228         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79229         macro to -1.
79230         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79231         macro to -1.
79232         (_POSIX_ASYNC_IO): Undefine macro.
79233         (_POSIX_PRIORITIZED_IO): Undefine macro.
79234         (_POSIX_SPIN_LOCKS): Define macro to -1.
79236         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79237         SA_NODEFER, SA_RESETHAND.
79238         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79239         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79240         F_DUPFD_CLOEXEC.
79242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79244         * elf/Makefile (pldd-modules): Define unconditionally.
79246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79248         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79252         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79253         Return ENOENT when name is empty.
79254         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79258         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79260         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79262 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79264         Fix mlock in all cases except non-readable pages.
79265         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79266         instead of VM_PROT_ALL as parameter to __vm_wire function.
79268         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79269         (__mkdir): When path is `/', just fail with EEXIST.
79270         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79272 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79274         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79275         <sys/uio.h> (for writev).
79276         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79277         and <sys/param.h> (for MIN).
79279 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79281         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79282         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79283         if interrupted.
79285 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79287         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79288         Depend on against $(link-rpcuserlibs).
79290 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79292         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79293         (__libc_stack_end): Do not use attribute_relro.
79294         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79295         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79296         to libthread-provided value.
79297         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79298         attribute_relro.
79300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79302         [BZ #3748]
79303         * bits/libc-lock.h (__libc_once_get): New macro.
79304         * sysdeps/mach/bits/libc-lock.h: Likewise.
79305         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79306         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79307         instead of using implementation details.
79309         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79310         * libio/freopen.c: Likewise.
79311         * libio/freopen64.c: Likewise.
79312         * misc/syslog.c: Likewise.
79313         * nscd/connections.c: Likewise.
79314         * nscd/netgroupcache.c: Likewise.
79315         * sysdeps/posix/getcwd.c: Likewise.
79317 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79319         * math/w_ilogbf.c: Add #include <limits.h>.
79321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79323         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79324         path instead of returning without unlocking.
79326         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79327         immediate-write ioctls.
79328         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79332         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79333         __builtin_frame_address instead of making assumptions about the
79334         location of the return address relative to DATA.  Force early load of
79335         the return address.
79336         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79337         __builtin_frame_address.
79339         dup3 for GNU Hurd.
79340         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79341         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
79342         implement dup3 and do some further code clean-ups.
79343         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79344         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79346 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79348         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79350         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79351         HURD_CRITICAL_END around holding _hurd_dtable_lock.
79352         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79353         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79354         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79355         d->port.lock.
79357         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79358         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
79359         when handler == SIG_ERR, not when handler != SIG_ERR.
79361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79363         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79364         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79365         definitions.
79367         accept4 for GNU Hurd.
79368         * include/sys/socket.h (__libc_accept4): New prototype.
79369         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
79370         to implement __libc_accept4.
79371         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79372         __libc_accept4.
79373         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79375         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79376         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79377         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79378         signal-defines.sym.
79380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79382         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79384 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79386         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79387         assertion on O_CLOEXEC flag.
79388         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79389         * hurd/intern-fd.c: Likewise.
79390         * hurd/port2fd.c: Likewise.
79392 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79394         [BZ #3906]
79395         * bits/in.h (IPV6_PKTINFO): Define new macro.
79396         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79398 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79400         [BZ #13954]
79401         [BZ #13955]
79402         [BZ #13956]
79403         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79405         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79406         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79407         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79408         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79409         * math/libm-test.inc (logb_test) : Additional logb tests.
79411 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
79412             Andreas Jaeger  <aj@suse.de>
79414         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79415         * configure: Regenerated.
79416         * config.h.in (LINK_OBSOLETE_RPC): New macro.
79417         * config.make.in (link-obsolete-rpc): New substituted variable.
79418         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79419         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79420         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79421         (shared-only-routines): Don't set it under [link-obsolete-rpc],
79422         so that libc.a contains the symbols.
79423         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79424         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79425         * sunrpc/auth_none.c: Likewise.
79426         * sunrpc/auth_unix.c: Likewise.
79427         * sunrpc/authdes_prot.c: Likewise.
79428         * sunrpc/authuxprot.c: Likewise.
79429         * sunrpc/clnt_gen.c: Likewise.
79430         * sunrpc/clnt_perr.c: Likewise.
79431         * sunrpc/clnt_raw.c: Likewise.
79432         * sunrpc/clnt_simp.c: Likewise.
79433         * sunrpc/clnt_tcp.c: Likewise.
79434         * sunrpc/clnt_udp.c: Likewise.
79435         * sunrpc/clnt_unix.c: Likewise.
79436         * sunrpc/des_crypt.c: Likewise.
79437         * sunrpc/des_soft.c: Likewise.
79438         * sunrpc/get_myaddr.c: Likewise.
79439         * sunrpc/key_call.c: Likewise.
79440         * sunrpc/key_prot.c: Likewise.
79441         * sunrpc/netname.c: Likewise.
79442         * sunrpc/pm_getmaps.c: Likewise.
79443         * sunrpc/pm_getport.c: Likewise.
79444         * sunrpc/pmap_clnt.c: Likewise.
79445         * sunrpc/pmap_prot.c: Likewise.
79446         * sunrpc/pmap_prot2.c: Likewise.
79447         * sunrpc/pmap_rmt.c: Likewise.
79448         * sunrpc/publickey.c: Likewise.
79449         * sunrpc/rpc_cmsg.c: Likewise.
79450         * sunrpc/rpc_common.c: Likewise.
79451         * sunrpc/rpc_dtable.c: Likewise.
79452         * sunrpc/rpc_prot.c: Likewise.
79453         * sunrpc/rpc_thread.c: Likewise.
79454         * sunrpc/rtime.c: Likewise.
79455         * sunrpc/svc.c: Likewise.
79456         * sunrpc/svc_auth.c: Likewise.
79457         * sunrpc/svc_raw.c: Likewise.
79458         * sunrpc/svc_run.c: Likewise.
79459         * sunrpc/svc_tcp.c: Likewise.
79460         * sunrpc/svc_udp.c: Likewise.
79461         * sunrpc/svc_unix.c: Likewise.
79462         * sunrpc/svcauth_des.c: Likewise.
79463         * sunrpc/xcrypt.c: Likewise.
79464         * sunrpc/xdr.c: Likewise.
79465         * sunrpc/xdr_array.c: Likewise.
79466         * sunrpc/xdr_float.c: Likewise.
79467         * sunrpc/xdr_intXX_t.c: Likewise.
79468         * sunrpc/xdr_mem.c: Likewise.
79469         * sunrpc/xdr_rec.c: Likewise.
79470         * sunrpc/xdr_ref.c: Likewise.
79471         * sunrpc/xdr_sizeof.c: Likewise.
79472         * sunrpc/xdr_stdio.c: Likewise.
79474 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79476         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
79477         change.  Update copyright years.
79479 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79481         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
79483 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
79484             Joseph Myers  <joseph@codesourcery.com>
79485             Paul Pluzhnikov  <ppluzhnikov@google.com>
79487         [BZ #14012]
79488         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79489         requiring rpcgen.
79490         [cross-compiling] (extra-libs): Likewise.
79491         [cross-compiling] (extra-libs-others): Likewise.
79492         [cross-compiling] (librpcsvc-routines): Likewise.
79493         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
79494         [cross-compiling] (omit-deps): Likewise.
79495         (sunrpc-CPPFLAGS): New variable.
79496         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
79497         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
79498         (cross-rpcgen-objs): New variable.
79499         (extra-objs): Append $(cross-rpcgen-objs).
79500         ($(cross-rpcgen-objs)): New rule.
79501         ($(objpfx)cross-rpcgen): Likewise.
79502         (rpcgen-cmd): Define to use $(built-program-file).  Expand
79503         comment.
79504         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
79505         ($(objpfx)x%.stmp): Likewise.
79506         * sunrpc/proto.h [IS_IN_build] (_): Define.
79507         [IS_IN_build] (_libc_intl_domainname): Likewise.
79509 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79511         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
79512         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
79513         and R_X86_64_TPOFF64.
79515 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79517         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
79518         sysdeps/unix/sysv/syscalls.list.
79519         (stime): Likewise.
79520         (utime): Likewise.
79521         * sysdeps/unix/sysv/syscalls.list: Remove file.
79523 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
79525         [BZ #3440]
79526         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
79527         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
79528         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
79529         (__LC_IDENTIFICATION): Make these macros useful in #if
79530         expressions, as required by C99.
79532 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
79534         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
79535         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
79536         after this.
79538 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
79540         * stdlib/longlong.h: Updated from GCC.
79542 2012-05-09  Andreas Jaeger  <aj@suse.de>
79544         * nscd/nscd.c (run_modes): Make named enum, reorder so that
79545         default is first entry.
79546         (run_mode): Set type.
79547         (main): Remove informal message about syslog.
79548         (options): Fix typo.
79550         [BZ #14053]
79551         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
79552         to asm.
79553         (lrint): Likewise.
79554         (llrintf): Likewise.
79555         (llrint): Likewise.
79556         (rint): Likewise.
79557         (rintf): Likewise.
79558         (nearbyint): Likewise.
79559         (nearbyintf): Likewise.
79561 2012-05-09  Andreas Jaeger  <aj@suse.de>
79562             Pedro Alves  <palves@redhat.com>
79564         * nscd/nscd.c (run_mode): Use enum.
79565         (main): Cleanup coding style issue.
79567 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
79568             Andreas Jaeger  <aj@suse.de>
79570         * nscd/nscd.c (go_background): Replaced with...
79571         (run_mode): ... this.
79572         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
79573         (options): Add -F --foreground.
79574         (main): Implement it.
79575         (parse_opt): Parse it.
79577 2012-05-09  Andreas Jaeger  <aj@suse.de>
79579         [BZ #14083]
79580         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
79581         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
79582         -Wconversion warning.
79583         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
79584         Likewise.
79586 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
79588         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
79589         == 0.
79590         (LC_ALL): Use macro-int-constant.
79591         (LC_COLLATE): Likewise.
79592         (LC_CTYPE): Likewise.
79593         (LC_MESSAGES): Likewise.
79594         (LC_MONETARY): Likewise.
79595         (LC_NUMERIC): Likewise.
79596         (LC_TIME): Likewise.
79597         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
79598         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79600         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
79601         Specify type.
79602         [C99-based standards] (float_t): Expect type.
79603         [C99-based standards] (double_t): Expect type.
79604         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
79605         type.
79606         [C99-based standards] (HUGE_VALL): Likewise.
79607         [C99-based standards] (INFINITY): Likewise.
79608         [C99-based standards] (NAN): Likewise.
79609         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
79610         [C99-based standards] (FP_NAN): Likewise.
79611         [C99-based standards] (FP_NORMAL): Likewise.
79612         [C99-based standards] (FP_SUBNORMAL): Likewise.
79613         [C99-based standards] (FP_ZERO): Likewise.
79614         [C99-based standards] (FP_FAST_FMA): Use
79615         optional-macro-int-constant.  Specify type.  Require == 1.
79616         [C99-based standards] (FP_FAST_FMAF): Likewise.
79617         [C99-based standards] (FP_FAST_FMAL): Likewise.
79618         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
79619         [C99-based standards] (FP_ILOGBNAN): Likewise.
79620         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
79621         Specify type.
79622         [C99-based standards] (MATH_ERREXCEPT): Likewise.
79623         [C99-based standards] (math_errhandling): Specify type.
79624         [ISO99 || ISO11] (signgam): Do not allow.
79625         [non-C99-based standards] (copysignf): Do not allow.
79626         [non-C99-based standards] (exp2f): Likewise.
79627         [non-C99-based standards] (log2f): Likewise.
79628         [non-C99-based standards] (modff): Allow.
79629         [non-C99-based standards] (erff): Do not allow.
79630         [non-C99-based standards] (erfcf): Likewise.
79631         [non-C99-based standards] (gammaf): Likewise.
79632         [non-C99-based standards] (hypotf): Likewise.
79633         [non-C99-based standards] (j0f): Likewise.
79634         [non-C99-based standards] (j1f): Likewise.
79635         [non-C99-based standards] (jnf): Likewise.
79636         [non-C99-based standards] (lgammaf): Likewise.
79637         [non-C99-based standards] (tgammaf): Likewise.
79638         [non-C99-based standards] (y0f): Likewise.
79639         [non-C99-based standards] (y1f): Likewise.
79640         [non-C99-based standards] (ynf): Likewise.
79641         [non-C99-based standards] (isnanf): Likewise.
79642         [non-C99-based standards] (acoshf): Likewise.
79643         [non-C99-based standards] (asinhf): Likewise.
79644         [non-C99-based standards] (atanhf): Likewise.
79645         [non-C99-based standards] (cbrtf): Likewise.
79646         [non-C99-based standards] (expm1f): Likewise.
79647         [non-C99-based standards] (ilogbf): Likewise.
79648         [non-C99-based standards] (log1pf): Likewise.
79649         [non-C99-based standards] (logbf): Likewise.
79650         [non-C99-based standards] (nextafterf): Likewise.
79651         [non-C99-based standards] (remainderf): Likewise.
79652         [non-C99-based standards] (rintf): Likewise.
79653         [non-C99-based standards] (scalbf): Likewise.
79654         [non-C99-based standards] (copysignl): Likewise.
79655         [non-C99-based standards] (exp2l): Likewise.
79656         [non-C99-based standards] (log2l): Likewise.
79657         [non-C99-based standards] (modfl): Allow.
79658         [non-C99-based standards] (erfl): Do not allow.
79659         [non-C99-based standards] (erfcl): Likewise.
79660         [non-C99-based standards] (gammal): Likewise.
79661         [non-C99-based standards] (hypotl): Likewise.
79662         [non-C99-based standards] (j0l): Likewise.
79663         [non-C99-based standards] (j1l): Likewise.
79664         [non-C99-based standards] (jnl): Likewise.
79665         [non-C99-based standards] (lgammal): Likewise.
79666         [non-C99-based standards] (tgammal): Likewise.
79667         [non-C99-based standards] (y0l): Likewise.
79668         [non-C99-based standards] (y1l): Likewise.
79669         [non-C99-based standards] (ynl): Likewise.
79670         [non-C99-based standards] (isnanl): Likewise.
79671         [non-C99-based standards] (acoshl): Likewise.
79672         [non-C99-based standards] (asinhl): Likewise.
79673         [non-C99-based standards] (atanhl): Likewise.
79674         [non-C99-based standards] (cbrtl): Likewise.
79675         [non-C99-based standards] (expm1l): Likewise.
79676         [non-C99-based standards] (ilogbl): Likewise.
79677         [non-C99-based standards] (log1pl): Likewise.
79678         [non-C99-based standards] (logbl): Likewise.
79679         [non-C99-based standards] (nextafterl): Likewise.
79680         [non-C99-based standards] (remainderl): Likewise.
79681         [non-C99-based standards] (rintl): Likewise.
79682         [non-C99-based standards] (scalbl): Likewise.
79683         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79684         [non-C99-based standards] (FP_*): Do not allow.
79685         [C99-based standards] (FP_*): Change to
79686         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79687         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79688         allow.
79689         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
79690         (SIG_ERR): Likewise.
79691         [X/Open-based standards] (SIG_HOLD): Likewise.
79692         (SIG_IGN): Likewise.
79693         (SIGABRT): Use macro-int-constant.  Specify type.  Require
79694         positive value.
79695         (SIGFPE): Likewise.
79696         (SIGILL): Likewise.
79697         (SIGINT): Likewise.
79698         (SIGSEGV): Likewise.
79699         (SIGTER): Likewise.
79700         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
79701         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
79702         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
79703         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
79704         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
79705         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
79706         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
79707         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
79708         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
79709         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
79710         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
79711         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
79712         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
79713         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
79714         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
79715         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
79716         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
79717         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
79718         [X/Open-based standards] (SIGTRAP): Likewise.
79719         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
79720         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
79721         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
79722         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
79723         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79724         allow.
79726 2012-05-08  Ian Wienand  <ianw@vmware.com>
79728         [BZ #14080]
79729         * time/tzset.c (__tzset_parse_tz): Update default rules for
79730         daylight time changes in the Energy Policy Act of 2005.
79732 2012-05-09  Andreas Jaeger  <aj@suse.de>
79734         [BZ #13983]
79735         * elf/ldconfig.c (parse_conf): Change string to make clear that
79736         ldconfig only issued a warning if ld.so.conf does not exist.
79738 2012-05-08  David S. Miller  <davem@davemloft.net>
79740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
79741         movxtod instead of popping the value on the stack.
79743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79745 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
79747         * config.h.in: Add HAVE_ARM_PCS_VFP.
79749 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
79751         [BZ #13979]
79752         * include/features.h: Warn if user requests __FORTIFY_SOURCE
79753         checking but the checks are disabled for any reason.
79755 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
79757         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
79758         and ELF64_R_TYPE with ELFW(R_TYPE).
79760 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
79762         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
79763         (ulimit): Likewise.
79765         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
79766         (settimeofday): Likewise.
79768 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
79770         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
79771         a struct th_u2 inside the union, and move tu_block/tu_code into
79772         a new th_u3 union of tu_block/tu_code inside of that.  Move
79773         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
79774         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
79775         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79776         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79777         (th_stuff): Change to th_u1.tu_stuff.
79778         (th_data): Define.
79779         (th_msg): Change to th_u1.th_u2.tu_data.
79781 2012-05-07  David S. Miller  <davem@davemloft.net>
79783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79785         [BZ #14074]
79786         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79787         (SETUP_PIC_REG): Use it.
79788         (SETUP_PIC_REG_LEAF): Use it.
79790 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79792         [BZ #13885]
79793         [BZ #13923]
79794         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79795         USE_AS_EXPM1L.
79796         (EXPL_FINITE): Likewise.
79797         (FLDLOG): Likewise.
79798         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79799         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79800         e_expl.S.
79801         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79802         USE_AS_EXPM1L.
79803         (EXPL_FINITE): Likewise.
79804         (FLDLOG): Likewise.
79805         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79806         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79807         e_expl.S.
79808         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79809         test of -max_value argument for long double.
79810         * sysdeps/i386/fpu/libm-test-ulps: Update.
79811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79813 2012-05-06  David S. Miller  <davem@davemloft.net>
79815         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79816         quad soft-float symbols whose references which are compiler
79817         generated.
79818         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79820 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79822         [BZ #13884]
79823         [BZ #13914]
79824         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79825         USE_AS_EXP10L.
79826         (EXPL_FINITE): Likewise.
79827         (FLDLOG): Likewise.
79828         (c0): Likewise.
79829         (c1): Likewise.
79830         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79831         Adjust comments for base varying.
79832         (__expl_finite): Change alias to EXPL_FINITE.
79833         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
79834         e_expl.S.
79835         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
79836         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
79837         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
79838         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
79839         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79840         USE_AS_EXP10L.
79841         (EXPL_FINITE): Likewise.
79842         (FLDLOG): Likewise.
79843         (c0): Likewise.
79844         (c1): Likewise.
79845         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79846         Adjust comments for base varying.
79847         (__expl_finite): Change alias to EXPL_FINITE.
79848         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
79849         tests for bugs.
79850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79852         [BZ #14064]
79853         * math/libm-test.inc (check_float_internal): Correct ulp
79854         calculation for subnormal expected results.
79856 2012-05-06  Andreas Jaeger  <aj@suse.de>
79858         * Makeconfig (+math-flags): New, set to -frounding-math.
79859         (+cflags): Add +math-flags so that all of glibc gets compiled with
79860         it.
79862         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
79864 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
79866         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79867         Disable one test.
79869         [BZ #13787]
79870         [BZ #13922]
79871         [BZ #14036]
79872         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
79873         (__ieee754_expl): Allow for and saturate large arguments.
79874         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
79875         (u_threshold): Likewise.
79876         (__exp): Call __ieee754_exp before checking for overflow and
79877         underflow.
79878         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
79879         (u_threshold): Likewise.
79880         (__expf): Call __ieee754_expf before checking for overflow and
79881         underflow.
79882         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
79883         (u_threshold): Likewise.
79884         (__expl): Call __ieee754_expl before checking for overflow and
79885         underflow.
79886         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
79887         (__ieee754_expl): Allow for and saturate large arguments.
79888         * math/libm-test.inc (exp_test): Add another test.  Do not allow
79889         missing overflow exception on overflow.
79890         (expm1_test): Do not allow missing overflow exception on overflow.
79892         * sysdeps/i386/fpu/e_expl.c: Move to ...
79893         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
79894         rather than using inline asm.
79895         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
79896         * sysdeps/x86_64/fpu/e_expl.S: Copy from
79897         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
79899         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
79900         (nice): Likewise.
79901         (poll): Likewise.
79902         (signal): Likewise.
79903         (time): Likewise.
79904         (times): Likewise.
79906 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79908         * sysdeps/unix/syscalls.list (adjtime): Add entry from
79909         sysdeps/unix/common/syscalls.list.
79910         (fchmod): Likewise.
79911         (fchown): Likewise.
79912         (ftruncate): Likewise.
79913         (getrusage): Likewise.
79914         (gettimeofday): Likewise.
79915         (setpgid): Likewise.
79916         (setregid): Likewise.
79917         (setreuid): Likewise.
79918         (sigaction): Likewise.
79919         (truncate): Likewise.
79920         (vhangup): Likewise.
79921         * sysdeps/unix/common/syscalls.list: Remove file.
79922         * sysdeps/unix/bsd/Implies: Don't include unix/common.
79923         * sysdeps/unix/sysv/linux/Implies: Likewise.
79925 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
79927         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
79928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
79929         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
79930         Moved to ...
79931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
79932         Here.
79933         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
79934         to ...
79935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
79936         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
79937         to ...
79938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
79939         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
79940         to ...
79941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
79942         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
79943         to ...
79944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79945         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
79946         to ...
79947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
79948         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
79949         to ...
79950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
79951         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
79952         to ...
79953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79954         Here.
79955         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
79956         to ...
79957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
79958         Here.
79959         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
79960         to ...
79961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
79962         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
79963         Moved to ...
79964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
79965         Here.
79966         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
79967         to ...
79968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
79970 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79972         * sysdeps/unix/common/bits/dirent.h: Remove file.
79973         * sysdeps/unix/common/bits/fcntl.h: Likewise.
79975         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
79976         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
79977         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
79978         * sysdeps/unix/bsd/isatty.c: Likewise.
79979         * sysdeps/unix/bsd/tcdrain.c: Likewise.
79980         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
79981         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
79983 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79985         [BZ #13563]
79986         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
79987         long double comparison inaccuracies.
79988         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
79989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79991 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
79993         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
79994         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
79996 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79998         [BZ #14049]
79999         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
80000         nonzero digits before rounding a hex value.
80001         * stdlib/tst-strtod.c (tests): Add another test.
80003 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80005         * sysdeps/s390/fpu/libm-test-ulps: Update.
80007 2012-05-03  Andreas Jaeger  <aj@suse.de>
80009         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
80010         does not get optimized out.
80011         (malloc_opt_barrier): New.
80013 2012-05-03  Andreas Jaeger  <aj@suse.de>
80014             Roland McGrath  <roland@hack.frob.com>
80016         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
80017         intermediate file deletion.
80018         (generated): Add .symlist files.
80020 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
80022         [BZ #13775]
80023         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
80024         Redirect under this condition.
80025         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80026         [__USE_GNU] (__dprintf_chk): Not under this condition.
80027         [__USE_GNU] (__vdprintf_chk): Likewise.
80028         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
80029         under this condition.
80030         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80031         [__USE_XOPEN2K8] (dprintf): Define under this condition.
80032         [__USE_XOPEN2K8] (vdprintf): Likewise.
80033         [__USE_GNU] (__dprintf_chk): Not under this condition.
80034         [__USE_GNU] (__vdprintf_chk): Likewise.
80035         [__USE_GNU] (dprintf): Likewise.
80036         [__USE_GNU] (vdprintf): Likewise.
80038 2012-05-03  Roland McGrath  <roland@hack.frob.com>
80040         * elf/Makefile (common-generated): Set this instead of generated for
80041         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
80042         $(all-built-dso)-derived lists.
80044 2012-05-03  Andreas Jaeger  <aj@suse.de>
80046         * sysdeps/i386/fpu/libm-test-ulps: Update.
80048         * FAQ: Removed.
80049         * FAQ.in: Likewise.
80050         * scripts/gen-FAQ.pl: Likewise.
80051         * manual/install.texi (Installation): Point to online location of
80052         FAQ.
80053         * Makefile (files-for-dist): Remove FAQ.
80054         (FAQ): Remove.
80056 2012-05-02  Allan McRae  <allan@archlinux.org>
80058         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
80059         (LDFLAGS-reldepmod5.so): Likewise.
80060         (LDFLAGS-reldep6mod1.so): Likewise.
80061         (LDFLAGS-reldep6mod4.so): Likewise.
80062         (LDFLAGS-reldep8mod3.so): Likewise.
80063         (LDFLAGS-unload4mod1.so): Likewise.
80064         (LDFLAGS-unload4mod2.so): Likewise.
80065         (LDFLAGS-tst-initorder): Likewise.
80066         (LDFLAGS-tst-initordera2.so): Likewise.
80067         (LDFLAGS-tst-initordera3.so): Likewise.
80068         (LDFLAGS-tst-initordera4.so): Likewise.
80069         (LDFLAGS-tst-initorderb2.so): Likewise.
80070         (LDFLAGS-noload): Likewise.
80071         (LDFLAGS-next): Likewise.
80072         (LDFLAGS-order2mod1.so): Likewise.
80073         (LDFLAGS-order2mod2.so): Likewise.
80074         (LDFLAGS-tst-initorder2): Likewise.
80075         (LDFLAGS-tst-initorder2a.so): Likewise.
80076         (LDFLAGS-tst-initorder2b.so): Likewise.
80077         (LDFLAGS-tst-initorder2c.so): Likewise.
80078         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
80080 2012-05-02  David S. Miller  <davem@davemloft.net>
80082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80084 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
80086         [BZ #14055]
80087         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
80089 2012-05-02  Andreas Jaeger  <aj@suse.de>
80091         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
80092         since we manipulate rounding mode.
80093         (CPPFLAGS-test-idouble.c): Likewise.
80094         (CPPFLAGS-test-ifloat.c): Likewise.
80095         (CFLAGS-test-ldouble.c): Likewise.
80096         (CFLAGS-test-double.c): Likewise.
80097         (CFLAGS-test-float.c): Likewise.
80098         (CFLAGS-test-misc.c): Likewise.
80099         (CFLAGS-test-test-fenv.c): Likewise.
80101 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80103         [BZ #2550]
80104         [BZ #2570]
80105         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
80106         comparisons to determine direction to adjust input.
80108 2012-05-01  Roland McGrath  <roland@hack.frob.com>
80110         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
80111         output to the target.
80113         * scripts/localplt.awk: New file.
80114         * elf/Makefile ($(objpfx)check-localplt): Target removed.
80115         (check-localplt-CFLAGS): Variable removed.
80116         ($(all-built-dso:=.jmprel)): New static pattern rule.
80117         (generated): Add those targets.
80118         (localplt-built-dso): New variable.
80119         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
80121         * elf/check-localplt.c: File removed.
80123         * scripts/check-execstack.awk: New file.
80124         * elf/Makefile ($(objpfx)check-execstack): Target removed.
80125         (check-execstack-CFLAGS): Variable removed.
80126         ($(objpfx)check-execstack.h): Target removed.
80127         ($(objpfx)execstack-default): New target.
80128         (generated): Add that instead of check-execstack.h.
80129         ($(all-built-dso:=.phdr)): New static pattern rule.
80130         (generated): Add those targets.
80131         * elf/check-execstack.c: File removed.
80133         * scripts/check-textrel.awk: New file.
80134         * elf/Makefile ($(objpfx)check-textrel): Target removed.
80135         (check-textrel-CFLAGS): Variable removed.
80136         (all-built-dso): Use := to define.o
80137         ($(all-built-dso:=.dyn)): New static pattern rule.
80138         (generated): Add those targets.
80139         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
80140         * config.make.in (READELF): New substituted variable.
80141         * elf/check-textrel.c: File removed.
80143 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80145         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80146         allow.
80147         * conform/data/ctype.h-data [C99-based standards] (isblank):
80148         Expect function.
80149         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
80150         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
80151         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80152         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80153         Specify type.  Require positive value.
80154         (EILSEQ): Likewise.
80155         (ERANGE): Likewise.
80156         [ISO || POSIX] (EILSEQ): Do not expect.
80157         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80158         Specify type.  Require positive value.
80159         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80160         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80161         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80162         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80163         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80164         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80165         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80166         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80167         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80168         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80169         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80170         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80171         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80172         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80173         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80174         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80175         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80176         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80177         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80178         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80179         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80180         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80181         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80182         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80183         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80184         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80185         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80186         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80187         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80188         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80189         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80190         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80191         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80192         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80193         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80194         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80195         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80196         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80197         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80198         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80199         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80200         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80201         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80202         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80203         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80204         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80205         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80206         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80207         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80208         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80209         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80210         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80211         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80212         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80213         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80214         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80215         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80216         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80217         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80218         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80219         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80220         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80221         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80222         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80223         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80224         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80225         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80226         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80227         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80228         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80229         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80230         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80231         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80232         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80233         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80234         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80235         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80236         Require >= 2.
80237         (FLT_ROUNDS): Expect as macro, not constant.
80238         (FLT_MANT_DIG): Use macro-int-constant.
80239         (DBL_MANT_DIG): Likewise.
80240         (LDBL_MANT_DIG): Likewise.
80241         (FLT_DIG): Likewise.
80242         (DBL_DIG): Likewise.
80243         (LDBL_DIG): Likewise.
80244         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80245         (DBL_MIN_EXP): Likewise.
80246         (LDBL_MIN_EXP): Likewise.
80247         (FLT_MAX_EXP): Use macro-int-constant.
80248         (DBL_MAX_EXP): Likewise.
80249         (LDBL_MAX_EXP): Likewise.
80250         (FLT_MAX_10_EXP): Likewise.
80251         (DBL_MAX_10_EXP): Likewise.
80252         (LDBL_MAX_10_EXP): Likewise.
80253         (FLT_MAX): Use macro-constant.
80254         (DBL_MAX): Likewise.
80255         (LDBL_MAX): Likewise.
80256         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80257         (DBL_EPSILON): Likewise.
80258         (LDBL_EPSILON): Likewise.
80259         (FLT_MIN): Likewise.
80260         (DBL_MIN): Likewise.
80261         (LDBL_MIN): Likewise.
80262         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80263         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80264         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80265         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80266         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80267         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80268         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80269         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80270         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80271         [ISO11] (FLT_TRUE_MIN): Likewise.
80272         [ISO11] (LDBL_TRUE_MIN): Likewise.
80273         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80274         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80275         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80276         (SCHAR_MAX): Likewise.
80277         (UCHAR_MAX): Likewise.
80278         (CHAR_MIN): Likewise.
80279         (CHAR_MAX): Likewise.
80280         (MB_LEN_MAX): Use macro-int-constant.
80281         (SHRT_MIN): Use macro-int-constant.  Specify type.
80282         (SHRT_MAX): Likewise.
80283         (USHRT_MAX): Likewise.
80284         (INT_MAX): Likewise.
80285         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80286         bound negative.
80287         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80288         bound with "U".
80289         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80290         bound with "L".
80291         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80292         bound negative.  Suffix upper bound with "L".
80293         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80294         bound with "UL".
80295         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80296         Specify type.
80297         [C99-based standards] (LLONG_MAX): Likewise.
80298         [C99-based standards] (ULLONG_MAX): Likewise.
80299         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80300         == 0.
80301         [ISO11] (max_align_t): Require type.
80302         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80304         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80305         from $CFLAGS, without defining away __attribute__ calls.
80306         (checknamespace): Use $CFLAGS_namespace.
80308         * conform/conformtest.pl (@keywords): Only include C99 keywords
80309         for standards based on C99 or C11.
80311         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80312         Disable tests.
80313         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80314         UNIX98]: Likewise.
80316         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80317         usability of symbols in #if.
80319         * conform/conformtest.pl: If macro or constant types start
80320         "promoted:", expect the symbol to be of the following type
80321         promoted by the integer promotions.
80323         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80324         in one place.  Also handle "macro-constant".
80326         * conform/conformtest.pl: Only accept expected macro values with
80327         "==".  Parse all "macro" lines in one place.
80328         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80330         * conform/conformtest.pl: Handle braced types on "constant" lines
80331         instead of handling "typed-constant".
80332         * conform/data/signal.h-data: Use "constant" instead of
80333         "typed-constant".
80335         * conform/conformtest.pl: Handle "optional-" at start of lines in
80336         one place rather than duplicating several cases.  Handle each
80337         format of "macro" line with initial "optional-".
80339         * conform/conformtest.pl: Only accept expected constant or
80340         optional-constant values with "==".  Parse all "constant" lines in
80341         one place.  Parse all "optional-constant" lines in one place.
80342         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80343         * conform/data/fmtmsg.h-data: Likewise.
80344         * conform/data/netinet/in.h-data: Likewise.
80345         * conform/data/tar.h-data: Likewise.
80346         * conform/data/limits.h-data: Use "==" form on "constant" and
80347         "optional-constant" lines.
80349         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80350         Use -std=c99 for XOPEN2K.
80351         (@knownproblems): Remove.
80352         (newtoken): Don't check %isknown.
80354         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80355         Do not expect macro.
80356         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80357         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80358         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80359         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80360         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80361         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80362         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80363         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80364         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80365         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80366         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80367         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80368         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80369         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80370         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80371         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80372         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80373         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80374         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80375         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80376         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80377         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80378         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80379         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80380         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80381         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80382         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80383         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80384         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80385         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80386         [XPG3] (acosh): Likewise.
80387         [XPG3] (asinh): Likewise.
80388         [XPG3] (atanh): Likewise.
80389         [XPG3] (cbrt): Likewise.
80390         [XPG3] (expm1): Likewise.
80391         [XPG3] (ilogb): Likewise.
80392         [XPG3] (log1p): Likewise.
80393         [XPG3] (logb): Likewise.
80394         [XPG3] (nextafter): Likewise.
80395         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80396         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80397         [XPG3] (remainder): Likewise.
80398         [XPG3] (rint): Likewise.
80399         [XPG3 || XPG4 || UNIX98] (round): Likewise.
80400         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80401         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80402         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80403         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80404         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80405         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80406         [UNIX98 || XOPEN2K] (scalb): Expect.
80407         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80408         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80409         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80410         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80411         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80412         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80413         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80414         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80415         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80416         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80417         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80418         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80419         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80420         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80421         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80422         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80423         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80424         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80425         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80426         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80427         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80428         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80429         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80430         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80431         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80432         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80433         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80434         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80435         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80436         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80437         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80438         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80439         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80440         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80441         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80442         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80443         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
80444         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
80445         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
80446         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
80447         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
80448         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
80449         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
80450         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
80451         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
80452         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
80453         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
80454         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
80455         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
80456         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
80457         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
80458         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
80459         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
80460         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
80461         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
80462         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
80463         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
80464         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
80465         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
80466         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
80467         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
80468         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
80469         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
80470         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
80471         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
80472         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
80473         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
80474         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
80475         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
80476         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
80477         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
80478         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
80479         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
80480         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
80481         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
80482         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
80483         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
80484         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
80485         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
80486         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
80487         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
80488         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
80489         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
80490         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
80491         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
80492         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
80493         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
80494         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
80495         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
80496         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
80497         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
80498         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
80499         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
80500         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
80501         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
80502         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
80503         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
80504         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
80505         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
80506         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
80507         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
80508         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
80509         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
80510         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
80511         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
80512         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
80513         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
80514         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
80515         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
80516         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
80517         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
80518         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
80519         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
80520         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
80521         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
80522         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
80523         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
80524         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
80525         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
80526         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
80527         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
80528         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
80529         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
80530         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
80531         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
80532         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
80533         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
80534         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
80535         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
80536         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
80537         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
80538         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
80539         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
80540         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
80541         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
80542         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
80543         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
80545         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
80546         _XOPEN_SOURCE_EXTENDED for XPG4.
80548         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
80550         * Makeconfig (localtime): Remove variable.
80551         (inst_localtime-file): Likewise.
80553 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
80556         Update.
80557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80558         Update.
80559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
80560         Update.
80561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
80562         Update.
80563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
80564         Update.
80565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
80566         Update.
80567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
80568         Update.
80569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
80570         Update.
80571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80572         Update.
80574 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80576         [BZ #2550]
80577         [BZ #2570]
80578         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
80579         comparisons to determine direction to adjust input.
80580         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
80581         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
80582         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
80583         Likewise.
80584         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
80585         Likewise.
80586         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
80587         Likewise.
80588         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
80589         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
80590         Likewise.
80591         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
80592         Likewise.
80593         * math/libm-test.inc (nexttoward_test): Add more tests.
80595 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80597         [BZ #14040]
80598         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
80599         in version GLIBC_2.1, not GLIBC_2.0.
80600         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
80601         Likewise.
80603 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
80605         [BZ #13942]
80606         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
80607         (1 - x) * (1 + x).
80608         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80609         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
80610         * math/libm-test.inc (acos_test): Add more tests.
80611         (asin_test): Likewise.
80612         * sysdeps/i386/fpu/libm-test-ulps: Update.
80613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80615         [BZ #14034]
80616         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
80617         of square root.
80618         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
80619         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80620         * math/libm-test.inc (acos_test_tonearest): New function.
80621         (acos_test_towardzero): Likewise.
80622         (acos_test_downward): Likewise.
80623         (acos_test_upward): Likewise.
80624         (asin_test_tonearest): Likewise.
80625         (asin_test_towardzero): Likewise.
80626         (asin_test_downward): Likewise.
80627         (asin_test_upward): Likewise.
80628         (main): Call the new functions.
80629         * sysdeps/i386/fpu/libm-test-ulps: Update.
80630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80632         [BZ #13884]
80633         [BZ #13924]
80634         * math/e_exp10.c: Include <float.h>.
80635         (__ieee754_exp10): Handle underflow here rather than multiplying
80636         large negative argument by M_LN10.
80637         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
80638         of __ieee754_expf.
80639         * math/e_exp10l.c: Include <float.h>.
80640         (__ieee754_exp10l): Handle underflow here rather than multiplying
80641         large negative argument by M_LN10l.
80642         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
80643         spurious overflow exception on underflow.
80645 2012-04-29  Marek Polacek  <polacek@redhat.com>
80647         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
80648         (__fortify_function): New macro.
80649         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
80650         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
80651         __extern_always_inline.
80652         * libio/bits/stdio2.h: Likewise.
80653         * libio/bits/stdio.h: Likewise.
80654         * string/string.h: Likewise.
80655         * string/bits/string3.h: Likewise.
80656         * include/stdio.h: Likewise.
80657         * stdlib/bits/stdlib.h: Likewise.
80658         * stdlib/stdlib.h: Likewise.
80659         * rt/bits/mqueue2.h: Likewise.
80660         * rt/mqueue.h: Likewise.
80661         * posix/bits/unistd.h: Likewise.
80662         * posix/unistd.h: Likewise.
80663         * io/bits/poll2.h: Likewise.
80664         * io/bits/fcntl2.h: Likewise.
80665         * io/fcntl.h: Likewise.
80666         * io/sys/poll.h: Likewise.
80667         * misc/bits/syslog.h: Likewise.
80668         * misc/bits/syslog-ldbl.h: Likewise.
80669         * misc/sys/syslog.h: Likewise.
80670         * socket/bits/socket2.h: Likewise.
80671         * socket/sys/socket.h: Likewise.
80672         * debug/tst-chk1.c: Likewise.
80673         * wcsmbs/bits/wchar2.h: Likewise.
80674         * wcsmbs/bits/wchar-ldbl.h: Likewise.
80675         * wcsmbs/wchar.h: Likewise.
80677 2012-04-29  Andreas Jaeger  <aj@suse.de>
80679         * Makerules (tests): Remove enable-check-abi protection.
80680         (check-abi-warn): Remove.
80681         (check-abi-%): Remove check-abi-warn usage.
80683         * configure.in: Remove check-abi configure option.
80684         * configure: Regenerated.
80685         * config.make.in (enable-check-abi): Remove.
80687 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
80689         [BZ #14033]
80690         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
80691         double functions to double *_finite functions.
80693         [BZ #13941]
80694         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
80695         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
80696         LDBL_MIN_EXP.
80697         * stdio-common/Makefile (tests): Add tst-sprintf3.
80698         * stdio-common/tst-sprintf3.c: New file.
80700         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
80701         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
80703 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80705         * conform/conformtest.pl: Remove duplicate typed-constant
80706         handling.
80708 2012-04-28  David S. Miller  <davem@davemloft.net>
80710         * Makerules (%.abilist): Add vpath on sysdep_dirs.
80711         (check-abi-%): Remove AWK script prerequisite and explicit
80712         abilist directory.
80713         (check-abi): Rewrite to just diff the symlist with the abilist.
80714         (config-tls, config-abi-config): Delete, no longer used.
80715         (update-abi-%): Remove AWK script and explicit abilist directory.
80716         (update-abi): Rewrite to simply compare and conditionally copy the
80717         symlist and the sysdep abilist file.  Remove update-abi-config
80718         checks.
80719         * abilist/ld.abilist: Remove.
80720         * abilist/libBrokenLocale.abilist: Remove.
80721         * abilist/libanl.abilist: Remove.
80722         * abilist/libcrypt.abilist: Remove.
80723         * abilist/libdl.abilist: Remove.
80724         * abilist/librt.abilist: Remove.
80725         * abilist/libthread_db.abilist: Remove.
80726         * abilist/libutil.abilist: Remove.
80727         * scripts/extract-abilist.awk: Remove.
80728         * scripts/merge-abilist.awk: Remove.
80729         * sysdeps/generic/libcidn.abilist: New file.
80730         * sysdeps/generic/libnss_compat.abilist: New file.
80731         * sysdeps/generic/libnss_db.abilist: New file.
80732         * sysdeps/generic/libnss_dns.abilist: New file.
80733         * sysdeps/generic/libnss_files.abilist: New file.
80734         * sysdeps/generic/libnss_hesiod.abilist: New file.
80735         * sysdeps/generic/libnss_nis.abilist: New file.
80736         * sysdeps/generic/libnss_nisplus.abilist: New file.
80737         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
80738         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
80739         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
80740         file.
80741         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
80742         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
80743         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
80744         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
80745         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
80746         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
80747         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
80748         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
80749         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
80750         file.
80751         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
80752         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
80753         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
80754         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
80755         file.
80756         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80757         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
80758         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
80759         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
80760         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
80761         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
80762         file.
80763         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
80764         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
80765         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
80766         file.
80767         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
80768         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
80769         New file.
80770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
80771         New file.
80772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
80773         New file.
80774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80775         New file.
80776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80777         New file.
80778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80779         New file.
80780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80781         New file.
80782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80783         New file.
80784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80785         New file.
80786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80787         New file.
80788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80789         New file.
80790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80791         New file.
80792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80793         New file.
80794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80795         file.
80796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80797         New file.
80798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80799         New file.
80800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80801         file.
80802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80803         New file.
80804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80805         New file.
80806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80807         file.
80808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80809         New file.
80810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80811         New file.
80812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80813         New file.
80814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80815         New file.
80816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80817         New file.
80818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80819         New file.
80820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80822         file.
80823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80824         New file.
80825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80826         file.
80827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80828         file.
80829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80830         file.
80831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80832         file.
80833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
80834         file.
80835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80836         New file.
80837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
80838         file.
80839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
80840         file.
80841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
80842         New file.
80843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
80844         file.
80845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
80846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
80847         file.
80848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
80849         New file.
80850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
80851         file.
80852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
80853         file.
80854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
80855         file.
80856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
80857         file.
80858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
80859         file.
80860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80861         New file.
80862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
80863         file.
80864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
80865         file.
80866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
80867         New file.
80868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
80869         file.
80870         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80871         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
80872         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
80873         file.
80874         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
80875         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
80876         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
80877         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
80878         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
80879         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
80880         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
80881         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
80882         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
80883         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
80884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
80885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
80886         file.
80887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80888         New file.
80889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
80890         file.
80891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
80892         file.
80893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
80894         file.
80895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
80896         file.
80897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
80898         file.
80899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
80900         New file.
80901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
80902         New file.
80903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
80904         file.
80905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
80906         New file.
80907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
80908         file.
80909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
80910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
80911         file.
80912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
80913         New file.
80914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
80915         file.
80916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
80917         file.
80918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
80919         file.
80920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
80921         file.
80922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
80923         file.
80924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
80925         New file.
80926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
80927         New file.
80928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
80929         file.
80930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
80931         New file.
80932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
80933         file.
80935 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80937         * conform/conformtest.pl: Fix typo in handling typed-constant from
80938         allow-header.
80940 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80942         * README: Cut down references to pre-2.6 Linux kernels and
80943         Linuxthreads.  Update lists of configurations in libc and ports
80944         and sort alphabetically.  Say "or newer" with Linux kernel version
80945         requirements.
80947         * config.h.in [IS_IN_build]: Allow compiling without optimization.
80949 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
80951         [BZ #887]
80952         * math/libm-test.inc (logb_test_downward): New test to expose
80953         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
80954         rounding mode.
80956 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80958         [BZ #14027]
80959         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
80960         to be done.
80961         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
80962         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
80964 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
80966         * sysdeps/unix/i386/brk.S: Remove file.
80967         * sysdeps/unix/i386/dl-brk.S: Likewise.
80968         * sysdeps/unix/i386/pipe.S: Likewise.
80969         * sysdeps/unix/i386/sigreturn.S: Likewise.
80970         * sysdeps/unix/i386/syscall.S: Likewise.
80971         * sysdeps/unix/i386/vfork.S: Likewise.
80972         * sysdeps/unix/i386/wait.S: Likewise.
80974         * sysdeps/unix/common/tcsendbrk.c: Move to ...
80975         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
80977         * configure.in (arm*-none*): Do not allow without
80978         --enable-hacker-mode.
80979         (netbsd*): Remove case setting base_os.
80980         (386bsd*): Likewise.
80981         (freebsd*): Likewise.
80982         (bsdi*): Likewise.
80983         (osf*): Likewise.
80984         (sunos*): Likewise.
80985         (ultrix*): Likewise.
80986         (newsos*): Likewise.
80987         (dynix*): Likewise.
80988         (*bsd*): Likewise.
80989         (sysv*): Likewise.
80990         (isc*): Likewise.
80991         (esix*): Likewise.
80992         (sco*): Likewise.
80993         (minix*): Likewise.
80994         (irix4*): Likewise.
80995         (irix6*): Likewise.
80996         (solaris[2-9]*): Likewise.
80997         (none): Likewise.
80998         * configure: Regenerated.
81000 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81002         [BZ #11521]
81003         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
81004         overflow or cancellation in calculating denominator.
81005         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
81006         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
81007         down expression to avoid unexpected rounding in newer GCCs.
81008         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
81010 2012-04-26  David S. Miller  <davem@davemloft.net>
81012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
81013         long-double compat symbols.
81014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
81018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
81020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
81021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
81022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
81023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
81024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
81025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
81026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81028 2012-04-25  David S. Miller  <davem@davemloft.net>
81030         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
81031         HWCAP_* values only after the memory barriers have been defined.
81032         (atomic_full_barrier): Define.
81033         (atomic_read_barrier): Define.
81034         (atomic_write_barrier): Define.
81036 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
81038         * shlib-versions: Add libgcc_s version information.
81039         * sysdeps/generic/libgcc_s.h: Remove.
81040         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
81041         libgcc_s.h.
81042         * sysdeps/gnu/unwind-resume.c: Likewise.
81043         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
81045 2012-04-25  David S. Miller  <davem@davemloft.net>
81047         * sysdeps/unix/sparc/brk.S: Delete.
81048         * sysdeps/unix/sparc/dl-brk.S: Delete.
81049         * sysdeps/unix/sparc/pipe.S: Delete.
81050         * sysdeps/unix/sparc/sysdep.S: Delete.
81051         * sysdeps/unix/sparc/sysdep.h: Delete.
81052         * sysdeps/unix/sparc/vfork.S: Delete.
81053         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
81054         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
81055         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
81056         (ret_ERRVAL, r0, r1, MOVE): Define.
81057         (JUMPTARGET): Remove.
81058         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
81059         sysdeps/unix/sparc/sysdep.h
81060         (ENTRY, END): Remove.
81061         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81063 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
81065         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
81066         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
81067         -DIS_IN_build.
81069         * timezone/README: Update upstream location and email address for
81070         tzcode and tzdata.
81071         * timezone/zdump.c: Update from tzcode 2012b.
81072         * timezone/zic.c: Likewise.
81074         * configure.in (libc_cv_as_needed): Remove test.
81075         * configure: Regenerated.
81076         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
81077         conditional definition.
81078         [$(have-as-needed) != yes] (no-as-needed): Likewise.
81079         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
81080         * config.make.in (have-as-needed): Remove variable.
81082 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
81083             Paul Pluzhnikov  <ppluzhnikov@google.com>
81085         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
81086         strings correctly.
81088 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
81090         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
81091         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
81092         * sysdeps/sh/strlen.S: Likewise.
81094 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81096         * sysdeps/unix/fork.S: Remove file.
81097         * sysdeps/unix/i386/fork.S: Likewise.
81098         * sysdeps/unix/sparc/fork.S: Likewise.
81100         * sysdeps/unix/system.c: Remove file.
81101         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
81103         * sysdeps/unix/getegid.S: Remove file.
81104         * sysdeps/unix/geteuid.S: Likewise.
81106 2012-04-24  Roland McGrath  <roland@hack.frob.com>
81108         * scripts/check-localplt.awk: New file.
81109         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
81110         of diff.
81111         * scripts/data/localplt-generic.data: Add a comment.
81113         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
81114         NODE when __dir_mkfile failed.
81115         * sysdeps/mach/hurd/symlinkat.c: Likewise.
81116         Reported by Ludovic Courtès <ludo@gnu.org>.
81118 2012-04-24  Andreas Jaeger  <aj@suse.de>
81120         * Makerules (common-clean): Also remove gen-as-const-headers
81121         files.
81123 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81125         * Makerules (native-compile): Do not change working directory for
81126         build.  Use $(OUTPUT_OPTION) in command.
81127         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
81129 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81131         [BZ #13886]
81132         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
81133         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
81134         * math/libm-test.inc (floor_test): Add more tests.
81135         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
81137 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81139         * sysdeps/unix/getdents.c: Remove file.
81140         * sysdeps/unix/sysv/getdents.c: Likewise.
81141         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
81143         * sysdeps/unix/syscalls.list (madvise): Add syscall from
81144         sysdeps/unix/mman/syscalls.list.
81145         (mmap): Likewise.
81146         (mprotect): Likewise.
81147         (msync): Likewise.
81148         (munmap): Likewise.
81149         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
81150         * sysdeps/unix/mman/syscalls.list: Remove.
81151         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81153         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81154         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81155         * configure: Regenerated.
81156         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81157         $(libgcc_s_suffix).
81158         * config.make.in (libgcc_s_suffix): Remove variable.
81160 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
81162         * sysdeps/unix/sysv/gethostname.c: Move to ...
81163         * sysdeps/posix/gethostname.c: ... here.
81165         * sysdeps/unix/execve.S: Remove file.
81167         * sysdeps/unix/_exit.S: Remove file.
81169 2012-04-23  Andreas Jaeger  <aj@suse.de>
81171         [BZ #13739]
81172         * manual/Makefile: Remove make dist support, there's no
81173         need for a stand-alone documentation tar ball.
81174         (TEXI2DVI): Define always, it's not in Makeconfig.
81175         (dist): Removed.
81176         (tar-it): Removed.
81177         (edition): Removed.
81178         (glibc-doc-$(edition).tar): Removed
81179         (%.Z): Removed.
81180         (%.gz): Removed.
81181         (%.uu): Removed.
81182         (ETAGS): Remove, it's in Makeconfig.
81183         (move-if-change): Remove, it's in Makeconfig.
81185 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81187         [BZ #13970]
81188         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81189         (strtod, strtof, strtold, strtol, strtoul, strtoq)
81190         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81191         (strtod_l, strtof_l, strtold_l): Remove __wur.
81192         It is not necessarily an error to ignore strtol's return value.
81193         One can reliably look at the stored endptr to decide whether
81194         the number had valid syntax.
81196 2012-04-21  Andreas Jaeger  <aj@suse.de>
81198         [BZ #13739]
81199         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81201 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
81203         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81204         * sysdeps/unix/sysv/Versions: Remove file.
81206 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
81208         [BZ #13927]
81209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81211 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
81213         [BZ #7064]
81214         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81215         version from __vm86.
81217 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81219         * sysdeps/unix/common/lxstat.c: Remove file.
81220         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81222         * sysdeps/unix/sysv/Makefile: Remove file.
81224         * sysdeps/unix/sysv/direct.h: Remove file.
81226         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81227         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81228         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81229         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81230         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81231         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81232         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81234         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81236         * sysdeps/unix/xmknod.c: Remove file.
81237         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81239         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81241         * sysdeps/unix/sysv/i386/time.S: Remove file.
81243         * sysdeps/unix/fxstat.c: Remove file.
81244         * sysdeps/unix/xstat.c: Likewise.
81245         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81247         * sysdeps/unix/sysv/sigaction.c: Remove file.
81249         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81250         (sysdep_headers): Remove variable.
81251         [termio.h not in sysdep_headers] (generated): Likewise.
81252         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81253         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81254         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81255         * sysdeps/unix/sysv/tcflow.c: Likewise.
81256         * sysdeps/unix/sysv/tcflush.c: Likewise.
81257         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81258         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81259         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81260         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81261         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81263         * sysdeps/unix/siglist.c: Remove file.
81265         * sysdeps/unix/getppid.S: Remove file.
81267         * sysdeps/unix/mkdir.c: Remove file.
81268         * sysdeps/unix/rmdir.c: Likewise.
81270 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81272         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81273         ERR_MAX value.
81274         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81275         errlist-compat value.
81277 2012-04-18  David S. Miller  <davem@davemloft.net>
81279         * sysdeps/generic/memcopy.h (reg_char): Delete.
81280         * debug/strcat_chk.c: Use char, not reg_char.
81281         * debug/strcpy_chk.c: Likewise.
81282         * debug/strncat_chk.c: Likewise.
81283         * debug/strncpy_chk.c: Likewise.
81284         * string/memchr.c: Likewise.
81285         * string/memrchr.c: Likewise.
81286         * string/rawmemchr.c: Likewise.
81287         * string/strcat.c: Likewise.
81288         * string/strchr.c: Likewise.
81289         * string/strchrnul.c: Likewise.
81290         * string/strcmp.c: Likewise.
81291         * string/strcpy.c: Likewise.
81292         * string/strncat.c: Likewise.
81293         * string/strncmp.c: Likewise.
81294         * string/strncpy.c: Likewise.
81296 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81298         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81299         __builtin_memcopy is called when src and dest ranges are known to not
81300         overlap.
81302 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81304         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81305         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81306         fwd_align_merge macro call.
81307         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81308         bwd_align_merge macro call.
81309         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81311 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81313         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81314         bwd_align_merge macros.
81315         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81316         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81317         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81319 2012-04-18  David S. Miller  <davem@davemloft.net>
81321         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81323 2012-04-18  Andreas Jaeger  <aj@suse.de>
81325         [BZ #6794]
81326         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81327         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81328         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81330         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81331         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81332         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81334         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81335         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81336         Adjust for changed ldbl-128 files.
81338         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81339         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81340         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81342 2012-04-17  David S. Miller  <davem@davemloft.net>
81344         * sysdeps/sparc/sparc32/memcopy.h: Delete.
81346 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
81348         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81349         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81350         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81351         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81352         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81353         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81355 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81357         [BZ #6794]
81358         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81359         * math/libm-test.inc: Add ilogb errno and exception tests.
81360         * math/w_ilogb.c: New file: ilogb wrapper.
81361         * math/w_ilogbf.c: New file: ilogbf wrapper.
81362         * math/w_ilogbl.c: New file: ilogbl wrapper.
81363         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81364         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81365         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81366         exception being thrown with 0.0 as argument.
81367         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81368         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81369         exception being thrown with 0.0 as argument.
81370         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81371         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81372         exception being thrown with 0.0 as argument.
81373         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81374         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81375         exception being thrown with 0.0 as argument.
81376         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81377         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81378         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81379         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81380         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81381         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81382         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81383         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81384         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81386 2012-04-17  Petr Baudis  <pasky@ucw.cz>
81388         * include/sys/uio.h: Change __vector to __iovec to avoid clash
81389         with altivec.
81391 2012-04-16  Marek Polacek  <polacek@redhat.com>
81393         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81395 2012-04-16  Marek Polacek  <polacek@redhat.com>
81397         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81398         operands of fdivp instruction.
81400 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81402         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81403         * elf/tst-auditmod3b.c: Likewise.
81404         * elf/tst-auditmod4b.c: Likewise.
81405         * elf/tst-auditmod5b.c: Likewise.
81406         * elf/tst-auditmod6b.c: Likewise.
81407         * elf/tst-auditmod6c.c: Likewise.
81408         * elf/tst-auditmod7b.c: Likewise.
81409         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81410         * sysdeps/x86_64/preconfigure.in: Likewise.
81411         * sysdeps/x86_64/preconfigure: Regenerated.
81413 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81415         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81416         __ILP32__.
81418 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
81420         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81421         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81423 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
81425         [BZ #13973]
81426         * locale/iso-639.def: Fix gl language name. Spotted by
81427         Yaron Shahrabani.
81429 2012-04-12  Roland McGrath  <roland@hack.frob.com>
81431         [BZ #2074]
81432         * libio/libio.h (__io_write_fn): Update comment.
81434 2012-04-12  Petr Baudis  <pasky@ucw.cz>
81436         [BZ #2074]
81437         * stdio.texi (Hook Functions): The user provided writer function
81438         is not allowed to return -1.
81440 2012-04-11  David S. Miller  <davem@davemloft.net>
81442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81444 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
81446         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
81447         Add a leading slash to rtkaio.
81449 2012-04-11  Jim Meyering  <meyering@redhat.com>
81451         [BZ #11959]
81452         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
81453         It is not necessarily an error to ignore fwrite's return
81454         value.  One can reliably use ferror to test for errors after
81455         the fact.
81457 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81459         * bits/types.h (__snseconds_t): New type.
81460         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
81462         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
81463         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81464         (__SNSECONDS_T_TYPE): Likewise.
81465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81466         (__SNSECONDS_T_TYPE): Likewise.
81467         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81468         (__SNSECONDS_T_TYPE): Likewise.
81470 2012-04-10  Andreas Jaeger  <aj@suse.de>
81472         [BZ #2636]
81473         * manual/time.texi (Processor Time): Return type of times is
81474         elapsed real time since an arbitrary point in the past.
81475         (CPU Time): Move CLK_TCK from here...
81476         (Processor Time): ...to here.  Correct description.
81477         * manual/conf.texi (Constants for Sysconf): Correct description of
81478         _SC_CLK_TCK.
81480 2012-04-10  David S. Miller  <davem@davemloft.net>
81482         [BZ #13967]
81483         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
81484         where the is a gap between DT_REL(A) and DT_JMPREL.
81486 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81488         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
81489         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81490         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81492 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
81494         * elf/dl-support.c (_dl_inhibit_cache): New variable.
81495         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
81496         (dl_main): Handle --inhibit-cache.
81497         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
81498         _dl_inhibit_cache.
81499         * elf/dl-load.c (_dl_map_object): Use it.
81500         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
81502 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81504         [BZ #13872]
81505         * sysdeps/i386/fpu/e_powl.S (p78): New object.
81506         (__ieee754_powl): Saturate large exponents rather than testing for
81507         overflow of y*log2(x).
81508         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81509         * math/libm-test.inc (pow_test): Do not permit spurious overflow
81510         exceptions.
81512         [BZ #11521]
81513         * math/s_ctan.c: Include <float.h>.
81514         (__ctan): Avoid internal overflow or cancellation in calculating
81515         denominator.
81516         * math/s_ctanf.c: Likewise.
81517         * math/s_ctanl.c: Likewise.
81518         * math/s_ctanh.c: Likewise.
81519         * math/s_ctanhf.c: Likewise.
81520         * math/s_ctanhl.c: Likewise.
81521         * math/libm-test.inc (ctan_test): Add more tests.
81522         (ctanh_test): Likewise.
81523         * sysdeps/i386/fpu/libm-test-ulps: Update.
81524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81526 2012-04-09  Andreas Jaeger  <aj@suse.de>
81528         [BZ #6894]
81529         * manual/filesys.texi (Directory Entries): Mention that d_namlen
81530         is an optional BSD extension.
81532         [BZ #10254]
81533         * manual/stdio.texi (Opening Streams): Document additional fopen
81534         parameters.
81536 2012-04-09  Roland McGrath  <roland@hack.frob.com>
81538         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
81539         %eax without telling the compiler.
81541 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
81543         [BZ # 13963]
81544         * manual/install.texi: Use sourceware.org.
81546 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81548         [BZ #13873]
81549         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
81550         (__ieee754_pow): Generate overflow and underflow using huge*huge
81551         and tiny*tiny rather than just returning constant infinity or zero
81552         for large exponents.
81553         * math/libm-test.inc (pow_test): Require overflow exceptions for
81554         applicable cases of large exponents.
81556         [BZ #706]
81557         * sysdeps/i386/fpu/e_pow.S (p10): New object.
81558         (__ieee754_pow): Use iterative multiplication algorithm only for
81559         integer exponents with absolute value below 1024.  Check for odd
81560         integer exponents when using algorithm for real exponents.
81561         * math/libm-test.inc (pow_test): Add more tests.
81562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81564 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
81566         [BZ #13705]
81567         * math/libm-test.inc (exp_test): Do not allow overflow exception
81568         on underflow test.
81570 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
81572         [BZ #13705]
81573         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
81574         instead of __kernel_standard_f.
81576 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
81578         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
81579         * sysdeps/x86_64/memset_chk.S: Likewise.
81581 2012-04-08  Andreas Jaeger  <aj@suse.de>
81583         [BZ #10153]
81584         * manual/startup.texi (Environment Access): Describe return value
81585         for putenv and setenv.
81587         [BZ #6895]
81588         * manual/filesys.texi (Directory Entries): Add description for
81589         DT_LNK.
81591         [BZ #6890]
81592         * manual/filesys.texi (Directory Entries): Clarify that it's file
81593         system not operating system in the description of DT_UNKNOWN.
81595         [BZ #6578]
81596         * manual/syslog.texi (closelog): Fix reference, it's openlog.
81598 2012-04-08  Stephen Compall  <s11@member.fsf.org>
81600         [BZ #6649]
81601         * manual/llio.texi (Opening and Closing Files): Add cross
81602         reference to explain mode argument.
81604 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
81606         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
81607         * sysdeps/x86_64/memset_chk.S: Likewise.
81609 2012-04-07  David S. Miller  <davem@davemloft.net>
81611         * elf/elf.h (R_SPARC_WDISP10): Define.
81612         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
81613         R_SPARC_SIZE32.
81614         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
81615         R_SPARC_SIZE64 and R_SPARC_H34.
81617 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
81619         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
81620         conditions and remove no longer applicable assertion.
81622 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81624         * bits/byteswap.h: Include <features.h>.
81625         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81626         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81628 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81630         * bits/byteswap.h (__bswap_16): Removed.
81631         Include <bits/byteswap-16.h> to get __bswap_16.
81632         * sysdeps/i386/bits/byteswap.h: Likewise.
81633         * sysdeps/s390/bits/byteswap.h: Likewise.
81634         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81635         * bits/byteswap-16.h: New file.
81636         * sysdeps/i386/bits/byteswap-16.h: Likewise.
81637         * sysdeps/s390/bits/byteswap-16.h: Likewise.
81638         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
81639         * string/Makefile (headers): Add bits/byteswap-16.h.
81641 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81643         [BZ #13895]
81644         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
81645         extra indirection.
81646         * nss/Makefile (tests-static, tests): Add tst-nss-static.
81647         * nss/tst-nss-static.c: New.
81649 2012-04-06  Robert Millan  <rmh@gnu.org>
81651         [BZ #6486]
81652         * manual/llio.texi (File Position Primitive): lseek
81653         refers to WHENCE when it really means OFFSET.
81655 2012-04-06  Andreas Jaeger  <aj@suse.de>
81657         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
81658         strncmp declarations.
81660         * abilist/libc.abilist: Add __poll and __ppoll.
81662 2012-04-05  David S. Miller  <davem@davemloft.net>
81664         * scripts/check-local-headers.sh: Accept a host triplet in the
81665         path matched by the exclude regexp.
81667         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
81668         definition.
81669         * sysdeps/powerpc/powerpc32/dl-machine.h
81670         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
81671         * sysdeps/s390/s390-32/dl-machine.h
81672         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81673         * sysdeps/sparc/sparc32/dl-machine.h
81674         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81675         * sysdeps/sparc/sparc64/dl-machine.h
81676         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81678         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
81679         lazy binding.
81680         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
81681         undefined symbol errors.
81683         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
81684         DT_NEEDED entries.
81686 2012-04-05  Michael Matz  <matz@suse.de>
81688         [BZ #13592]
81689         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
81691 2012-04-05  Andreas Jaeger  <aj@suse.de>
81693         [BZ #13908]
81694         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
81695         comment.
81697 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81699         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
81700         which ROUND is no valid rounding mode.
81702 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81704         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
81705         read again.
81706         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
81708 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81710         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
81711         an exception using FPU order intentionally.
81713 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81715         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
81716         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
81717         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
81718         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
81720 2012-04-05  Simon Josefsson  <simon@josefsson.org>
81722         [BZ #12340]
81723         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
81724         EINVAL when BUFLEN is too smal.
81726 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
81728         [BZ #13553]
81729         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
81730         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
81732 2012-04-03  Andreas Jaeger  <aj@suse.de>
81734         [BZ #13938]
81735         * manual/setjmp.texi (System V contexts): Fix sentence.
81737         [BZ #13926]
81738         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
81739         New macro for this case.
81740         [!__GNUC__] (__bswap_64): New inline function for this case.
81741         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81742         * bits/byteswap.h: Likewise.
81743         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
81744         ull, guard with __GLIBC_HAVE_LONG_LONG.
81746         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
81747         __GLIBC_HAVE_LONG_LONG.
81749         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
81750         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
81752 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81754         [BZ #13691]
81755         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81756         inptr and inend, rather than using last_ch.
81758 2012-04-02  David S. Miller  <davem@davemloft.net>
81760         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
81761         * stdio-common/printf-parse.h (read_int): Change return type to
81762         'int', return -1 on INT_MAX overflow.
81763         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
81764         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
81765         overflows INT_MAX.  Check for overflow of in-format-string precision
81766         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
81767         SIZE_MAX not INT_MAX for integer overflow test.
81768         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
81769         skip the construct in the format string but do not record anything.
81770         * stdio-common/bug22.c: Adjust to test both width/prevision
81771         INT_MAX overflow as well as total length INT_MAX overflow.  Check
81772         explicitly for proper errno values.
81774 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
81776         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81777         CHAR_MAX.
81778         * string/test-strcmp.c [! WIDE]: Likewise.
81779         * time/tst-mktime2.c: Likewise for INT_MAX.
81780         * string/test-string.h: #include <sys/param.h> for MIN.
81782         * csu/init-first.c (__libc_init_first): Call __ctype_init.
81783         * sysdeps/i386/init-first.c (init): Likewise.
81784         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81785         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81786         * sysdeps/sh/init-first.c (init): Likewise.
81788 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81790         * po/ru.po: Update from translation team.
81791         * po/vi.po: Likewise.
81793 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81795         * resolv/nss_dns/dns-host.c: Merge copyright years.
81797 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81799         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81800         Optimize memcpy with prefetch if
81801         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81802         src, dst pointers have unequal 16 byte alignments.
81804 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81806         [BZ #13928]
81807         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81808         from a CNAME entry and return the minimum ttl for the query.
81809         (gaih_getanswer_slice): Likewise.
81811 2012-03-30  Jeff Law  <law@redhat.com>
81813         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81814         due to long keys.
81815         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81816         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81818         * resolv/nss_dns/dns-host.c: Update copyright year.
81820 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81822         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81823         requests to save a system call.  Fix check that all bytes are sent.
81825         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81826         comments for sendmmsg.
81828 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81830         [BZ #13691]
81831         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81832         with only 1 character between 0x0041 and 0x01b0.
81833         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
81834         * wcsmbs/tst-mbsnrtowcs.c: New file.
81836 2012-03-29  David S. Miller  <davem@davemloft.net>
81838         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
81839         small copies by hand.
81841 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
81843         [BZ #13761]
81844         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
81845         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
81846         group memberships.
81848 2012-03-28  David S. Miller  <davem@davemloft.net>
81850         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
81851         that branches into memcpy.
81852         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
81853         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
81854         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
81855         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
81856         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
81857         bits.
81858         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
81859         implementation too.
81860         * sysdeps/sparc/mempcpy.S: New file.
81862         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
81863         the IFUNC routine in the libc case.
81864         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81866         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
81867         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
81868         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81869         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
81870         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
81871         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
81872         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81873         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
81875         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
81876         loop to 256 bytes instead of 64 bytes and fix test signedness.
81878         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
81879         * sysdeps/sparc/sparc32/Makefile: rather than here...
81880         * sysdeps/sparc/sparc64/Makefile: and here.
81882 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
81884         * malloc/mallocbug.c: Avoid warnings about unused variables.
81886 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
81888         [BZ #13760]
81889         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
81890         in the right place. Discard and retry query if response is
81891         larger than input buffer size.
81893 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
81895         [BZ #369]
81896         [BZ #2678]
81897         [BZ #3866]
81898         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
81899         x for large integer exponent.
81900         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
81901         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
81902         sign of result as needed afterwards.
81903         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
81904         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
81905         result for underflowing pow the same as for overflow.
81906         (__kernel_standard_l): Handle powl overflow and underflow here
81907         rather than calling __kernel_standard.
81908         * math/libm-test.inc (pow_test): Add more tests.
81910         [BZ #3868]
81911         [BZ #13879]
81912         [BZ #13910]
81913         [BZ #13911]
81914         [BZ #13912]
81915         [BZ #13913]
81916         [BZ #13915]
81917         [BZ #13916]
81918         [BZ #13917]
81919         [BZ #13918]
81920         [BZ #13919]
81921         [BZ #13920]
81922         [BZ #13921]
81923         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
81924         * sysdeps/ieee754/k_standard.c: Include <float.h>.
81925         (__kernel_standard_l): New function.
81926         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
81927         __kernel_standard.
81928         * math/w_acosl.c (__acosl): Likewise.
81929         * math/w_asinl.c (__asinl): Likewise.
81930         * math/w_atan2l.c (__atan2l): Likewise.
81931         * math/w_atanhl.c (__atanhl): Likewise.
81932         * math/w_coshl.c (__coshl): Likewise.
81933         * math/w_exp10l.c (__exp10l): Likewise.
81934         * math/w_exp2l.c (__exp2l): Likewise.
81935         * math/w_fmodl.c (__fmodl): Likewise.
81936         * math/w_hypotl.c (__hypotl): Likewise.
81937         * math/w_j0l.c (__j0l, __y0l): Likewise.
81938         * math/w_j1l.c (__j1l, __y1l): Likewise.
81939         * math/w_jnl.c (__jnl, __ynl): Likewise.
81940         * math/w_lgammal.c (__lgammal): Likewise.
81941         * math/w_log10l.c (__log10l): Likewise.
81942         * math/w_log2l.c (__log2l): Likewise.
81943         * math/w_logl.c (__logl): Likewise.
81944         * math/w_powl.c (__powl): Likewise.
81945         * math/w_remainderl.c (__remainderl): Likewise.
81946         * math/w_scalbl.c (sysv_scalbl): Likewise.
81947         * math/w_sinhl.c (__sinhl): Likewise.
81948         * math/w_sqrtl.c (__sqrtl): Likewise.
81949         * math/w_tgammal.c (__tgammal): Likewise.
81950         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
81951         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
81952         * math/libm-test.inc (acos_test): Add more tests.
81953         (acosh_test): Likewise.
81954         (asin_test): Likewise.
81955         (atanh_test): Likewise.
81956         (exp_test): Likewise.
81957         (exp10_test): Likewise.
81958         (exp2_test): Likewise.
81959         (expm1_test): Likewise.
81960         (lgamma_test): Likewise.
81961         (log_test): Likewise.
81962         (log10_test): Likewise.
81963         (log1p_test): Likewise.
81964         (log2_test): Likewise.
81965         (pow_test): Do not allow some spurious overflow exceptions.
81966         (sqrt_test): Add more tests.
81967         (tgamma_test): Likewise.
81968         (y0_test): Likewise.
81969         (y1_test): Likewise.
81970         (yn_test): Likewise.
81972 2012-03-27  Anton Blanchard  <anton@samba.org>
81974         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
81975         MAP_HUGETLB.
81976         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81977         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81978         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81980 2012-03-27  David S. Miller  <davem@davemloft.net>
81982         * conform/Makefile: Run run-conformtest.sh using $(BASH).
81984         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
81985         have-as-vis3 check.
81987 2012-03-27  Andreas Jaeger  <aj@suse.de>
81989         * sysdeps/x86_64/elf/configure.in: Moved to ...
81990         * sysdeps/x86_64/configure.in: ... here.
81991         * sysdeps/x86_64/elf/start.S: Moved to ...
81992         * sysdeps/x86_64/start.S: ... here.
81993         * sysdeps/x86_64/elf/configure: Delete.
81995         * sysdeps/x86_64/configure.in: Merge contents from
81996         sysdeps/i386/configure.in (without i686 check).
81998         * sysdeps/i386/elf/Versions: Merge into ...
81999         * sysdeps/i386/Versions: ... this.
82000         * sysdeps/i386/elf/Versions: Delete file.
82001         * sysdeps/i386/elf/start.S: Moved to ...
82002         * sysdeps/i386/start.S: ...here.
82003         * sysdeps/i386/elf/configure.in: Merge into...
82004         * sysdeps/i386/configure.in: ...here.
82005         * sysdeps/i386/elf/configure.in: Delete file.
82006         * sysdeps/i386/elf/configure: Delete file.
82008         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
82009         * debug/backtracesyms.c: ... here.
82010         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
82011         * debug/backtracesymsfd.c: ... here.
82012         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
82013         * sysdeps/generic/ifunc-sel.h: ... here.
82015         * sysdeps/unix/i386/start.c: Delete file.
82016         * sysdeps/unix/sparc/start.c: Delete file.
82017         * sysdeps/unix/start.c: Delete file.
82019         * sysdeps/sh/elf/configure.in: Moved to ...
82020         * sysdeps/sh/configure.in: ... here.
82021         * sysdeps/sh/elf/start.S: Moved to ...
82022         * sysdeps/sh/start.S: ... here.
82023         * sysdeps/sh/elf/configure: Delete file.
82025         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
82026         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
82027         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
82028         * sysdeps/powerpc/powerpc64/entry.h: ... here.
82029         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
82030         * sysdeps/powerpc/powerpc64/start.S: here.
82031         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
82032         * sysdeps/powerpc/powerpc64/Makefile: ... this.
82033         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
82034         * sysdeps/powerpc/powerpc64/configure.in: ... this.
82035         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
82037         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
82038         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
82039         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
82040         * sysdeps/powerpc/powerpc32/start.S: ... here.
82041         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
82042         * sysdeps/powerpc/powerpc32/configure.in: ... this.
82043         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
82045         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
82046         * sysdeps/powerpc/ifunc-sel.h: ... here.
82047         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
82048         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
82050         * sysdeps/sparc/elf/configure.in: Moved to ...
82051         * sysdeps/sparc/configure.in: ... here.
82052         * sysdeps/sparc/elf/configure: Delete file.
82053         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
82054         * sysdeps/sparc/sparc32/start.S: ... here.
82055         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
82056         * sysdeps/sparc/sparc64/start.S: ... here.
82057         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
82058         * sysdeps/sparc/sparc32/Makefile: ... this.
82059         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
82060         * sysdeps/sparc/sparc64/Makefile: ... this.
82062         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
82063         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
82064         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
82065         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
82066         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
82067         * sysdeps/s390/s390-32/setjmp.S: ... here.
82068         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
82069         * sysdeps/s390/s390-32/configure.in: ... here.
82070         * sysdeps/s390/s390-32/elf/configure: Delete file.
82071         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
82072         * sysdeps/s390/s390-32/start.S: ... here.
82074         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
82075         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
82076         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
82077         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
82078         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
82079         * sysdeps/s390/s390-64/setjmp.S: ... here.
82080         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
82081         * sysdeps/s390/s390-64/configure.in: ... here
82082         * sysdeps/s390/s390-64/elf/configure: Delete file.
82083         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
82084         * sysdeps/s390/s390-64/start.S: ... here.
82085         * sysdeps/s390/s390-64/elf/configure: Delete.
82087         * configure.in: Remove support for elf directories in sysdeps.
82089         * configure: Regenerated.
82090         * sysdeps/i386/configure: Regenerated.
82091         * sysdeps/powerpc/powerpc32/configure: Regenerated.
82092         * sysdeps/powerpc/powerpc64/configure: Regenerated.
82093         * sysdeps/s390/s390-32/configure: Regenerated.
82094         * sysdeps/s390/s390-64/configure: Regenerated.
82095         * sysdeps/sh/configure: Regenerated.
82096         * sysdeps/sparc/configure: Regenerated.
82097         * sysdeps/x86_64/configure: Regenerated.
82099 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
82101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82103         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
82104         denormal result into account.
82106 2012-03-25  Roland McGrath  <roland@hack.frob.com>
82108         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
82109         Reported by Allan McRae <allan@archlinux.org>.
82111 2012-03-23  Jeff Law  <law@redhat.com>
82113         * nss/getnssent.c (__nss_getent): Fix typo.
82115 2012-03-23  David S. Miller  <davem@davemloft.net>
82117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82119 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
82121         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
82122         to pad to uint64_t for each field.
82123         (dl_tls_index): Replace unsigned long with uint64_t.
82125 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
82126         Paul Pluzhnikov  <ppluzhnikov@google.com>
82128         [BZ #6528]
82129         * grp/Makefile (otherlibs): Don't set it.
82130         * inet/Makefile (otherlibs): Likewise.
82131         * login/Makefile (otherlibs): Likewise.
82132         * nscd/Makefile (otherlibs): Likewise.
82133         * posix/Makefile (otherlibs): Likewise.
82134         * pwd/Makefile (otherlibs): Likewise.
82135         * rt/Makefile (otherlibs): Likewise.
82136         * sunrpc/Makefile (otherlibs): Likewise.
82137         * nss/Makefile (otherlibs): Likewise.
82138         Add libnss_files to routines and static-only-routines.
82139         ($(objpfx)getent): Remove rule.
82140         * resolv/Makefile: Add libnss_dns and libresolv to routines and
82141         static-only-routines.
82143 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82145         [BZ #13892]
82146         * math/s_cexp.c: Include <float.h>.
82147         (__cexp): Handle exp result overflowing not necessarily
82148         overflowing both real and imaginary parts of result.
82149         * math/s_cexpf.c: Likewise.
82150         * math/s_cexpl.c: Likewise.
82151         * math/libm-test.inc (cexp_test): Add more tests.
82152         * sysdeps/i386/fpu/libm-test-ulps: Update.
82153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82155 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82157         * include/link.h (ELFW): New macro.
82158         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82159         Replace ELF64_R_TYPE with ELFW(R_TYPE).
82161 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82163         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82164         with uint64_t.
82166 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82168         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82169         declaration.
82170         (struct La_x32_retval): Likewise.
82172 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82174         * sysdeps/x86_64/preconfigure.in: New file.
82175         * sysdeps/x86_64/preconfigure: New generated file.
82177 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82179         [BZ #13824]
82180         * math/e_exp2l.c: Include <float.h>.
82181         (__ieee754_exp2l): Handle overflow and underflow cases
82182         separately.  Only pass fractional part of argument to
82183         __ieee754_expl.
82184         * math/libm-test.inc (exp2_test): Add more tests.
82186         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82187         negating x to take absolute value.
82188         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82189         Likewise.
82190         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82191         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82192         Likewise.
82193         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82194         computing low part if x was negated.
82195         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82197 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82199         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82200         la_x32_gnu_pltexit.
82201         (pltexit): Cast int_retval to ptrdiff_t.
82202         * elf/tst-auditmod3b.c: Likewise.
82203         * elf/tst-auditmod4b.c: Likewise.
82204         * elf/tst-auditmod5b.c: Likewise.
82205         * elf/tst-auditmod6b.c: Likewise.
82206         * elf/tst-auditmod6c.c: Likewise.
82207         * elf/tst-auditmod7b.c: Likewise.
82209         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82210         and x32_gnu_pltexit.
82212         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82213         __ELF_NATIVE_CLASS.
82214         (La_x32_regs): New macro.
82215         (La_x32_retval): Likewise.
82216         (la_x32_gnu_pltenter): New function prototype.
82217         (la_x32_gnu_pltexit): Likewise.
82219 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82221         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82222         exponent.
82224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82226         * configure.in (libc_cv_cc_nofma): Check for option to disable
82227         generation of FMA instructions.
82228         * configure: Regenerate.
82229         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82230         * sysdeps/ieee754/dbl-64/Makefile: New file.
82231         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82232         Remove brandred-fma4.
82233         (CFLAGS-brandred-fma4.c): Remove.
82234         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82235         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82236         define.
82237         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82238         define.
82240 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82242         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82243         LLONG_MAX != LONG_MAX.
82244         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82245         (_fitoa_word): Likewise.
82246         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82247         LLONG_MAX != LONG_MAX.
82248         * stdio-common/_itowa.h: Include <_itoa.h>.
82249         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82250         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82251         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82252         only if not defined.
82253         (_ITOA_WORD_TYPE): Likewise.
82254         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82255         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82257 2012-03-21  David S. Miller  <davem@davemloft.net>
82259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82261 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82263         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82264         of x86_64 when setting libc_cv_slibdir, libdir and
82265         libc_cv_localedir.
82266         * sysdeps/unix/sysv/linux/configure: Regenerated.
82268 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82270         * manual/lang.texi (Old Varargs): Remove section.
82271         (How Variadic): Update menu.
82272         (va_start): Do not mention varargs.h.
82274 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82275             Joseph Myers  <joseph@codesourcery.com>
82277         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82278         link test.
82279         * configure: Regenerated.
82281 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82283         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82284         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82285         conformtest.pl
82287 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82289         * NOTES: Remove.
82290         * Makefile (files-for-dist): Remove NOTES.
82291         (NOTES): Remove rule.
82292         * README: Don't refer to NOTES.
82293         * manual/creature.texi: Don't include macros.texi.
82294         * manual/intro.texi (creature.texi): Remove comment referring to
82295         NOTES.
82297         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82298         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82299         * configure: Regenerated.
82300         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82301         LIBC_TRY_CC_OPTION.
82302         (libc_cv_as_i686): Likewise.
82303         (libc_cv_cc_avx): Likewise.
82304         (libc_cv_cc_sse2avx): Likewise.
82305         (libc_cv_cc_fma4): Likewise.
82306         (libc_cv_cc_novzeroupper): Likewise.
82307         * sysdeps/i386/configure: Regenerated.
82309         [BZ #13883]
82310         * sysdeps/i386/fpu/s_cexp.S: Remove.
82311         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82312         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82313         * math/libm-test.inc (cexp_test): Add more tests.
82314         * sysdeps/i386/fpu/libm-test-ulps: Update.
82315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82317 2012-03-21  Allan McRae  <allan@archlinux.org>
82319         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82321 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82323         [BZ #13871]
82324         * math/w_exp2.c: Do not include <float.h>.
82325         (o_threshold, u_threshold): Remove.
82326         (__exp2): Calculate result before checking finiteness and calling
82327         __kernel_standard.
82328         * math/w_exp2f.c: Likewise.
82329         * math/w_exp2l.c: Likewise.
82330         * math/libm-test.inc (exp2_test): Require overflow exception for
82331         1e6 input.
82333         [BZ #3866]
82334         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82335         range of signed 64-bit integers before using fistpll.  Remove
82336         checks for whether integers fit in mantissa bits.
82337         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82338         the range of signed 32-bit integers before using fistpl.  Remove
82339         checks for whether integers fit in mantissa bits.
82340         * sysdeps/i386/fpu/e_powl.S (p64): New object.
82341         (__ieee754_powl): Test for y outside the range of signed 64-bit
82342         integers before using fistpll.  Reduce 64-bit values to 63-bit
82343         ones as needed.
82344         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82345         divide-by-zero is raised for zero to large negative powers.
82346         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82347         (__ieee754_powl): Test for y outside the range of signed 64-bit
82348         integers before using fistpll.  Reduce 64-bit values to 63-bit
82349         ones as needed.
82350         * math/libm-test.inc (pow_test): Add more tests.
82352 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82354         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82355         <stdio-common/_itoa.h>.
82356         * debug/segfault.c: Likewise.
82357         * elf/dl-cache.c: Likewise.
82358         * elf/dl-minimal.c: Likewise.
82359         * elf/dl-misc.c: Likewise.
82360         * elf/dl-sysdep.c: Likewise.
82361         * elf/dl-version.c: Likewise.
82362         * elf/rtld.c: Likewise.
82363         * hurd/hurdsock.c: Likewise.
82364         * hurd/lookup-retry.c: Likewise.
82365         * malloc/malloc.c: Likewise.
82366         * malloc/mtrace.c: Likewise.
82367         * nscd/nscd_getgr_r.c: Likewise.
82368         * nscd/nscd_getpw_r.c: Likewise.
82369         * nscd/nscd_getserv_r.c: Likewise.
82370         * posix/getopt_init.c: Likewise.
82371         * posix/wordexp.c: Likewise.
82372         * stdio-common/_itoa.c: Likewise.
82373         * stdio-common/printf_fphex.c: Likewise.
82374         * stdio-common/vfprintf.c: Likewise.
82375         * string/_strerror.c: Likewise.
82376         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82377         * sysdeps/i386/i686/hp-timing.h: Likewise.
82378         * sysdeps/mach/_strerror.c: Likewise.
82379         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82380         * sysdeps/mach/hurd/sethostid.c: Likewise.
82381         * sysdeps/mach/hurd/xmknodat.c: Likewise.
82382         * sysdeps/mach/xpg-strerror.c: Likewise.
82383         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82384         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82385         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82386         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82387         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82388         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82389         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82390         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82391         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82392         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82393         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82394         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82395         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82396         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82397         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82398         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82399         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82400         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82401         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82402         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82403         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82405         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82407         * stdio-common/_itoa.h: Moved to ...
82408         * sysdeps/generic/_itoa.h: Here.
82410         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82412         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82413         instead of "_itoa.h" and "_itowa.h".
82414         * stdio-common/vfprintf.: Likewise.
82416 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82418         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82419         <bits/wordsize.h>.
82420         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82421         (__signbit): Likewise.
82422         (llrintf): Likewise.
82423         (llrint): Likewise.
82425 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82427         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82428         __WORDSIZE != 64.
82430 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
82432         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82433         OVERFLOW_EXCEPTION_OK.
82434         * math/libm-test.inc ("Philosophy"): Update comment about
82435         exception testing.
82436         (OVERFLOW_EXCEPTION): Define.
82437         (OVERFLOW_EXCEPTION_OK): Likewise.
82438         (INVALID_EXCEPTION_OK): Renumber.
82439         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82440         (IGNORE_ZERO_INF_SIGN): Likewise.
82441         (test_exceptions): Handle FE_OVERFLOW.
82442         (exp10_test): Expect overflow exceptions.
82443         (exp2_test): Likewise.
82444         (expm1_test): Likewise.
82445         (nextafter_test): Likewise.
82446         (pow_test): Likewise.
82447         (scalbn_test): Likewise.
82448         (scalbln_test): Likewise.
82450 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82452         * sysdeps/x86_64/bits/atomic.h
82453         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
82454         64bit integer.
82455         (atomic_exchange_acq): Likewise.
82456         (__arch_exchange_and_add_body): Likewise.
82457         (__arch_add_body): Likewise.
82458         (atomic_add_negative): Likewise.
82459         (atomic_add_zero): Likewise.
82461 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82463         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
82464         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
82466 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82468         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
82469         Check __x86_64__ instead of __WORDSIZE.
82471 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82473         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
82475 2012-03-19  David S. Miller  <davem@davemloft.net>
82477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82479         * sysdeps/sparc/fpu/fenv_private.h: New file.
82480         * sysdeps/sparc/fpu/math_private.h: Use it.
82481         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
82482         Remove.
82483         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
82484         (libc_feholdexcept_setroundl): Remove.
82485         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
82486         Remove.
82487         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
82488         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
82490 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82492         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
82493         int64_t instead of long int.
82494         (INSERT_WORDS64): Likewise.
82496 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82498         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
82499         _Unwind_GetCFA return to _Unwind_Ptr first.
82501 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
82503         [BZ #13629]
82504         * math/s_clog.c: Include <float.h>.
82505         (__clog): Scale large or subnormal inputs.
82506         * math/s_clogf.c: Likewise.
82507         * math/s_clogl.c: Likewise.
82508         * math/s_clog10.c: Include <float.h>.
82509         (M_LOG10_2): Define.
82510         (__clog10): Scale large or subnormal inputs.
82511         * math/s_clog10f.c: Likewise.
82512         * math/s_clog10l.c: Likewise.
82513         * math/libm-test.inc (clog_test): Add more tests.
82514         (clog10_test): Likewise.
82515         * sysdeps/i386/fpu/libm-test-ulps: Update.
82516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82518         [BZ #11451]
82519         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
82520         x and y.
82521         * math/libm-test.inc (atan2_test): Add another test.
82523         * Makerules (common-objdir-compile): Remove.
82524         * sysdeps/unix/Makefile (config-generated): Do not add
82525         $(unix-generated) to variable.
82526         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
82527         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
82528         Remove rule.
82529         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
82530         Likewise.
82531         [generic bits/local_lim.h] (before-compile): Do not append to
82532         variable.
82533         [generic bits/local_lim.h] (common-generated): Likewise.
82534         [generic sys/param.h] (before-compile): Do not append to variable.
82535         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
82536         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
82537         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
82538         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
82539         include.
82540         [generic sys/param.h] (sys/param.h-includes): Remove variable.
82541         [generic sys/param.h] (sys/param.h-includes): Remove rule.
82542         [generic sys/param.h] ($(addprefix
82543         $(common-objpfx),$(sys/param.h-includes))): Likewise.
82544         [generic sys/param.h] (common-generated): Do not append to
82545         variable.
82546         [generic sys/param.h] (sysdep_headers): Likewise.
82547         [generic bits/errno.h] (before-compile): Do not append to
82548         variable.
82549         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
82550         rule.
82551         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
82552         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
82553         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
82554         [generic bits/errno.h] (common-generated): Do not append to
82555         variable.
82556         [generic bits/ioctls.h] (before-compile): Do not append to
82557         variable.
82558         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
82559         rule.
82560         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
82561         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
82562         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
82563         rule.
82564         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
82565         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
82566         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
82567         [generic bits/ioctls.h] (common-generated): Do not append to
82568         variable.
82569         [generic sys/syscall.h] (syscall.h): Remove variable.
82570         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
82571         rule.
82572         [generic sys/syscall.h] (before-compile): Do not append to
82573         variable.
82574         [generic sys/syscall.h] (common-generated): Likewise.
82575         * sysdeps/unix/errnos-tmpl.c: Remove file.
82576         * sysdeps/unix/errnos.awk: Likewise.
82577         * sysdeps/unix/ioctls-tmpl.c: Likewise.
82578         * sysdeps/unix/ioctls.awk: Likewise.
82579         * sysdeps/unix/mk-local_lim.c: Likewise.
82580         * sysdeps/unix/snarf-ioctls: Likewise.
82582 2012-03-19  Richard Henderson  <rth@twiddle.net>
82584         * sysdeps/i386/fpu/fenv_private.h: New file.
82585         * sysdeps/i386/fpu/math_private.h: Use it.
82586         (math_opt_barrier, math_force_eval): Remove.
82587         (libc_feholdexcept_setround_53bit): Remove.
82588         (libc_feupdateenv_53bit): Remove.
82589         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82590         (math_opt_barrier, math_force_eval): Remove.
82591         (libc_feholdexcept): Remove.
82592         (libc_feholdexcept_setround): Remove.
82593         (libc_fetestexcept, libc_fesetenv): Remove.
82594         (libc_feupdateenv_test): Remove.
82595         (libc_feupdateenv, libc_feholdsetround): Remove.
82596         (libc_feresetround): Remove.
82598         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
82599         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
82601         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
82602         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
82603         (libc_feupdateenv_testl): New.
82604         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
82605         (libc_feupdateenv_testf): New.
82606         (libc_feupdateenv): Use libc_feupdateenv_test.
82607         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
82608         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
82610         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
82611         (libc_feholdsetroundf, libc_feholdsetroundl): New.
82612         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
82613         (libc_feresetround_noex): New.
82614         (libc_feresetround_noexf): New.
82615         (libc_feresetround_noexl): New.
82616         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
82617         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
82618         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
82619         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
82620         SET_RESTORE_ROUND.
82621         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
82622         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
82623         (__cos): Likewise.
82624         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
82625         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
82626         SET_RESTORE_ROUND_NOEX.
82627         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
82628         SET_RESTORE_ROUND_NOEXF.
82629         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
82630         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
82631         (libc_feholdsetroundf): New.
82632         (libc_feresetround, libc_feresetroundf): New.
82634         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
82635         (libc_feholdexcept_setround_53bit): Convert from macro to function.
82636         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
82638         * sysdeps/generic/math_private.h: Include <fenv.h>.
82639         (default_libc_feholdexcept): New.
82640         (default_libc_feholdexcept_setround): New.
82641         (default_libc_fesetenv, default_libc_feupdateenv): New.
82642         (libc_feholdexcept): Only define if undefined.
82643         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
82644         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
82645         (libc_feholdexcept_setroundl): Likewise.
82646         (libc_feholdexcept_setround_53bit): Likewise.
82647         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
82648         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
82649         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
82650         (libc_feupdateenv_53bit): Likewise.
82651         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
82652         (libc_feholdexcept): Convert from macro to inline function.
82653         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
82654         (libc_fesetenv, libc_feupdateenv): Likewise.
82656         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
82657         not previously defined.
82658         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
82659         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
82660         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
82661         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
82662         * sysdeps/ieee754/flt-32/math_private.h: New file.
82663         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
82664         math_private.h below SET_FLOAT_WORD.
82665         (__isnan, __isinf_ns, __finite): Remove.
82666         (__isnanf, __isinf_nsf, __finitef): Remove.
82668 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
82670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82672 2012-03-17  David S. Miller  <davem@davemloft.net>
82674         [BZ #6471]
82675         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
82676         for 2.16.
82678 2012-03-16  David S. Miller  <davem@davemloft.net>
82680         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
82681         warnings.
82683         [BZ #6471]
82684         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
82685         properly.
82686         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
82687         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
82688         sysdep_routines when subdir is sysvipc.
82689         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
82690         __getshmlba helper.
82692         * sysdeps/sparc/fpu/libm-test/ulps: Update.
82694 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82696         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
82697         [__LP64__].
82699 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82701         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
82702         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
82703         (__lround): Renamed to ...
82704         (__llround): This.  Replace long int with long long int.
82705         Define lround functions as aliases of llround functions.
82706         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
82708 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82710         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
82711         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
82712         adresses to uintptr_t.  Replace "long int" and "unsigned long
82713         int" with "greg_t" on va_arg.
82715 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82717         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
82718         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
82720         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
82721         Move e_machine check before EI_CLASS check.  Handle x32
82722         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
82723         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
82724         SKIP_EM_IA_64 and include
82725         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
82727         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
82728         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
82729         (add_system_dir): New macro.
82731         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
82732         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
82734 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82736         [BZ #2551]
82737         [BZ #2552]
82738         [BZ #2553]
82739         [BZ #2554]
82740         [BZ #2562]
82741         [BZ #2563]
82742         [BZ #2565]
82743         [BZ #2566]
82744         [BZ #2576]
82745         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
82746         (y0): Likewise.
82747         * math/w_j0f.c (j0f): Likewise.
82748         (y0f): Likewise.
82749         * math/w_j0l.c (__j0l): Likewise.
82750         (__y0l): Likewise.
82751         * math/w_j1.c (j1): Likewise.
82752         (y1): Likewise.
82753         * math/w_j1f.c (j1f): Likewise.
82754         (y1f): Likewise.
82755         * math/w_j1l.c (__j1l): Likewise.
82756         (__y1l): Likewise.
82757         * math/w_jn.c (jn): Likewise.
82758         (yn): Likewise.
82759         * math/w_jnf.c (jnf): Likewise.
82760         (ynf): Likewise.
82761         * math/w_jnl.c (__jnl): Likewise.
82762         (__ynl): Likewise.
82763         * math/libm-test.inc (j0_test): Add more tests.
82764         (j1_test): Likewise.
82765         (jn_test): Likewise.  Add trailing semicolon to existing test.
82766         (y0_test): Likewise.
82767         (y1_test): Likewise.
82768         * sysdeps/i386/fpu/libm-test-ulps: Update.
82769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82771         [BZ #13851]
82772         [BZ #13854]
82773         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
82774         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82775         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82776         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82777         (__tanl): Set errno for infinite argument.
82778         * sysdeps/i386/fpu/mptan.c: Remove.
82779         * sysdeps/i386/fpu/s_tan.S: Likewise.
82780         * sysdeps/i386/fpu/s_tanl.S: Likewise.
82781         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82782         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82783         * math/libm-test.inc (tan_test): Add more tests and enable more
82784         tests for double and long double.
82785         * sysdeps/i386/fpu/libm-test-ulps: Update.
82786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82788 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82790         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82791         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82793 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82795         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82796         * configure.in: Use it for both main tree and add-ons.
82797         * configure: Regenerated.
82799 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82801         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82803 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82805         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82806         in comment.
82808         [BZ #13851]
82809         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82810         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82811         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82812         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82813         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82814         infinite argument.
82815         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82816         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82817         != 0 for prec == 2.
82818         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82819         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82820         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82821         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82822         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82823         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82824         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82825         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82826         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82827         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82828         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82829         * math/libm-test.inc (cos_test): Add more tests and enable more
82830         tests for long double.
82831         (sin_test): Likewise.
82832         (sincos_test): Likewise.
82833         * sysdeps/i386/fpu/libm-test-ulps: Update.
82834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82836 2012-03-16  David S. Miller  <davem@davemloft.net>
82838         * sysdeps/sparc/fpu/math_private.h: New file.
82840 2012-03-15  David S. Miller  <davem@davemloft.net>
82842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
82843         file.
82844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
82845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
82846         file.
82847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
82848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
82849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
82850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
82851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
82852         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
82853         sysdep routines.
82854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82856         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
82857         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
82859         * sysdeps/sparc/sparc-ifunc.h: New file.
82860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
82861         sparc-ifunc.h
82862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
82863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
82864         Likewise.
82865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
82866         Likewise.
82867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
82868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
82869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
82871         Likewise.
82872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
82874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
82876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
82877         Likewise.
82878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
82879         Likewise.
82880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
82882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
82883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
82884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
82885         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
82886         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
82887         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
82888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
82889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
82890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
82891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
82893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
82894         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
82895         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
82896         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
82897         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
82898         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
82899         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
82900         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
82901         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
82902         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
82903         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
82905 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82907         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
82908         scaling.
82909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82911 2012-03-15  Andreas Jaeger  <aj@suse.de>
82913         [BZ #13852]
82914         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
82915         ieee754/flt-32 implementation for sin, cos and sincos.
82916         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
82917         * sysdeps/i386/fpu/s_cosf.S: Likewise.
82918         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
82919         * sysdeps/i386/fpu/s_sinf.S: Likewise.
82920         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
82921         ieee754/flt-32 implementation for tan.
82923         * math/libm-test.inc (cos_test): Enable some large input tests for
82924         float as well
82925         (sin_test): Likewise.
82926         (sincos_test): Likewise.
82927         (tan_test): Add tests for large input.
82929         * sysdeps/i386/fpu/libm-test-ulps: Update.
82931 2012-03-15  Andreas Jaeger  <aj@suse.de>
82933         [BZ #13658]
82934         * math/libm-test.inc (cos_test): Add more test cases.
82935         (sin_test): Likewise.
82936         (sincos_test): Likewise.
82938 2012-03-15  Andreas Jaeger  <aj@suse.de>
82940         [BZ #13837]
82941         * math/libm-test.inc (cos_test): Add a test case for large input
82942         value.
82943         (sin_test): Likewise.
82944         (sincos_test): Likewise.
82946 2012-03-15  Andreas Jaeger  <aj@suse.de>
82947             Joseph Myers  <joseph@codesourcery.com>
82949         [BZ #13658]
82950         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
82951         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
82952         * sysdeps/i386/fpu/branred.c: Likewise.
82953         * sysdeps/i386/fpu/dosincos.c: Likewise.
82954         * sysdeps/i386/fpu/mpa.c: Likewise.
82955         * sysdeps/i386/fpu/s_cos.S: Likewise.
82956         * sysdeps/i386/fpu/s_sin.S: Likewise.
82957         * sysdeps/i386/fpu/s_sincos.S: Likewise.
82958         * sysdeps/i386/fpu/sincos32.c: Likewise.
82960         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
82961         Define.
82962         (libc_feupdateenv_53bit): Define.
82963         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
82964         Define.
82965         (libc_feupdateenv_53bit): Define.
82967         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
82968         53 bit (without extend i386 double precision).
82970         * math/libm-test.inc (sincos_test): Add tests for large input.
82971         (sin): Likewise.
82972         (cos): Likewise.
82974         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
82976 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82980 2012-03-15  David S. Miller  <davem@davemloft.net>
82982         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
82983         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
82984         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
82985         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
82986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
82987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
82988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
82989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
82990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
82991         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
82992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
82993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
82994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
82995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
82996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
82997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
82998         file.
82999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
83000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
83001         file.
83002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
83003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
83004         file.
83005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
83006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
83007         file.
83008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
83009         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
83010         fmin/fmax sysdep routines.
83011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83013 2012-03-14  David S. Miller  <davem@davemloft.net>
83015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
83016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
83017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
83018         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
83019         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
83020         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
83021         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
83022         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
83023         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
83024         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
83025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
83026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
83027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
83028         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
83029         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
83030         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
83031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
83032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
83033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
83034         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
83035         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
83036         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
83037         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
83038         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
83039         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
83040         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
83041         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
83042         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
83043         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
83044         routines.
83045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
83046         file.
83047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
83048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
83049         file.
83050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
83051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
83052         file.
83053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
83054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
83055         file.
83056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
83057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
83058         file.
83059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
83060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
83061         file.
83062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
83063         file.
83064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
83065         file.
83066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
83067         file.
83068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
83069         New file.
83070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
83071         file.
83072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
83073         file.
83074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
83075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
83076         file.
83077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
83078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
83079         file.
83080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
83081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
83082         file.
83083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
83084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
83085         VIS3 routines.
83087         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
83088         New file.
83090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83092         * sysdeps/sparc/configure.in: New file.
83093         * sysdeps/sparc/configure: Generate.
83094         * configure.in (libc_cv_sparc_as_vis3): Substitute.
83095         * configure: Regenerate.
83096         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
83097         * config.make.in (have-as-vis3): New.
83098         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
83099         available use -Av9d instead of -Av9a.
83100         * sysdeps/sparc/sparc64/Makefile: Likewise.
83101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
83102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
83103         New file.
83104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
83105         file.
83106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
83107         New file.
83108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
83109         file.
83110         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
83111         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
83112         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
83113         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
83114         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
83116         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
83117         fzeros/fnegs to load 0x80000000 into a float register instead of
83118         using the stack.
83119         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
83121 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83124         bits/syscall.h.
83125         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
83126         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
83127         ($(inst_includedir)/bits/syscall.h): Remove rule.
83128         ($(objpfx)bits/syscall.d): Include instead of
83129         $(objpfx)syscall-list.d.
83130         (generated): Change syscall-list.h and syscall-list.d to
83131         bits/syscall.h and bits/syscall.d.
83133 2012-03-14  Roland McGrath  <roland@hack.frob.com>
83135         [BZ #13846]
83136         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
83138 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83140         [BZ #13841]
83141         * math/s_csqrt.c: Include <float.h>.
83142         (__csqrt): Scale large or subnormal inputs.
83143         * math/s_csqrtf.c: Likewise.
83144         * math/s_csqrtl.c: Likewise.
83145         * math/libm-test.inc (csqrt_test): Add more tests.
83146         * sysdeps/i386/fpu/libm-test-ulps: Update.
83147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83149         [BZ #13840]
83150         * math/libm-test.inc (hypot_test): Add more tests.
83152 2012-03-13  David S. Miller  <davem@davemloft.net>
83154         [BZ #13840]
83155         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83156         double-precision for the calculation instead of scaling.
83158 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
83160         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83161         manipulate bits before adding and subtracting TWO52[sx].
83162         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83163         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83164         Likewise.
83165         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83167 2012-03-13  David S. Miller  <davem@davemloft.net>
83169         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83170         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83171         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83172         rtld-global-offsets.h
83173         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83175         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83176         large parameters.
83178         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83180         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83181         'err' in the ifdef scope in which it is actually used.
83183         * nss/nss_db/db-init.c: Include string.h
83185 2012-03-12  David S. Miller  <davem@davemloft.net>
83187         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83188         masking out of the most significant byte of random value used.
83189         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83190         Fix coding style in previous change.
83192         * sysdeps/unix/sysv/linux/kernel-features.h
83193         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83194         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83195         expression.
83196         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83197         later.
83199 2012-03-11  David S. Miller  <davem@davemloft.net>
83201         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83202         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83203         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83204         for 'resultvar' otherwise things get truncated on 64-bit.
83206         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83207         Fix masking out of the most significant byte of random value used.
83209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83211 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
83213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83215 2012-03-09  David S. Miller  <davem@davemloft.net>
83217         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83218         variables with appropriate CPP guards.
83219         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83220         from the frame pointer, not the stack pointer.  Correct layout
83221         comments.  Fix test on resulting framesize and the management of
83222         the outregs buffer for pltexit.  Preserve floating point return
83223         values across _dl_call_pltexit call.
83224         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83225         framesize and the management of the outregs buffer for pltexit.
83226         Preserve floating point return values across _dl_call_pltexit
83227         call.
83228         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83229         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83230         (la_sparc64_gnu_pltexit): New functions.
83231         (print_exit): Fix format string for return register value.
83233 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83235         * sunrpc/Makefile (others): Add rpcgen.
83236         ($(objpfx)rpcgen): Remove special build rule and dependency on
83237         libc.
83238         * sunrpc/rpcgen.c: New file.
83240 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83242         [BZ #13673]
83243         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83244         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83245         * sysdeps/i386/crti.S: Likewise.
83246         * sysdeps/i386/crtn.S: Likewise.
83247         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83248         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83249         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83250         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83251         * sysdeps/sh/crti.S: Likewise.
83252         * sysdeps/sh/crtn.S: Likewise.
83253         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83255         [BZ #13673]
83256         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83257         with URL.
83258         * locale/programs/locfile-kw.gperf: Likewise.
83259         * locale/programs/charmap-kw.h: Regenerated.
83260         * locale/programs/locfile-kw.h: Likewise.
83262         [BZ #13673]
83263         * intl/plural.y: Replace FSF snail mail address with URL.
83264         * intl/plural.c: Regenerated.
83266 2012-03-09  Richard Henderson  <rth@twiddle.net>
83268         * include/math_private.h: Remove file.
83269         * math/math_private.h: Move file ...
83270         * sysdeps/generic/math_private.h: ... here.
83272         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83273         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83274         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83276         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83277         and <math_private.h>.
83278         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83279         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83280         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83281         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83282         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83283         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83284         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83285         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83286         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83287         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83288         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83289         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83290         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83291         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83292         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83293         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83294         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83295         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83296         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83297         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83298         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83299         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83300         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83301         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83302         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83303         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83304         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83305         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83306         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83307         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83308         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83309         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83310         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83311         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83312         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83313         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83314         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83315         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83316         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83317         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83318         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83319         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83320         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83321         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83322         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83323         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83324         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83325         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83326         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83327         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83328         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83329         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83330         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83331         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83332         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83333         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83334         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83335         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83336         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83337         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83338         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83339         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83340         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83341         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83342         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83343         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83344         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83345         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83346         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83347         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83348         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83349         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83350         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83351         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83352         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83353         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83354         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83355         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83356         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83357         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83358         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83359         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83360         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83361         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83362         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83363         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83364         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83365         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83366         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83367         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83368         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83369         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83370         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83371         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83372         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83373         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83374         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83375         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83376         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83377         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83378         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83379         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83380         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83381         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83382         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83383         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83384         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83385         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83386         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83387         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83388         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83389         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83390         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83391         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83392         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83393         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83394         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83395         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83396         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83397         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83398         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83399         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83400         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83401         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83402         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83403         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83404         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83405         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83406         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83407         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83408         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83409         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83410         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83411         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83412         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83413         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83414         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83415         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83416         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83417         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83418         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83419         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83420         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83421         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83422         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83423         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83424         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83425         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83426         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83427         * sysdeps/ieee754/k_standard.c: Likewise.
83428         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83429         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83430         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83431         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83432         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83433         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83434         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83435         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83436         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83437         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83438         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83440         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83441         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83442         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83443         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83444         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
83445         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83446         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83447         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
83448         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
83449         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
83450         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83451         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83452         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
83453         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
83454         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83455         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83456         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83457         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83458         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
83459         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83460         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83461         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83462         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
83463         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83464         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83465         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
83466         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
83467         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83468         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
83469         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83470         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
83471         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83472         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
83473         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
83474         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83475         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83476         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83477         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83478         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83479         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
83480         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83481         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
83482         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83483         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83484         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
83485         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
83486         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83487         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83488         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83489         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
83490         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83491         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83492         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83493         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83494         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83495         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83496         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83497         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83498         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83499         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83500         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83501         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83502         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83503         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83504         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
83505         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83506         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83507         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
83508         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
83509         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
83510         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83511         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83512         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
83513         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83514         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83515         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
83516         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
83517         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83518         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
83519         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83520         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
83521         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
83522         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83523         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83524         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
83525         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
83526         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
83527         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
83528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83529         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83531         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83532         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
83533         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83534         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83535         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
83536         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
83537         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83538         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83539         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83540         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83541         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83542         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83543         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83544         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83545         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83546         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83547         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83548         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83549         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83550         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83551         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83552         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83553         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
83554         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83555         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83556         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83557         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83558         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83559         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83560         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83561         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
83562         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83563         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83564         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
83565         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
83566         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83567         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
83568         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
83569         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83570         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
83571         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
83572         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83573         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83574         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83575         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83576         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83577         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
83578         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83579         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83580         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83581         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83582         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
83583         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
83584         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83585         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83586         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83587         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
83588         * sysdeps/ieee754/s_lib_version.c: Likewise.
83589         * sysdeps/ieee754/s_matherr.c: Likewise.
83590         * sysdeps/ieee754/s_signgam.c: Likewise.
83591         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83592         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83593         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
83594         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
83595         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
83596         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
83597         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
83598         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
83599         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
83600         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
83601         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
83602         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
83603         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83604         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83605         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
83606         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
83607         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
83608         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
83609         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
83610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83611         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83613 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83615         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
83616         * sunrpc/rpc_main.c: Likewise.
83617         * sunrpc/rpc_svcout.c: Likewise.
83619 2012-03-09  David S. Miller  <davem@davemloft.net>
83621         * include/math_private.h: New file.
83623 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83625         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
83626         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
83627         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
83628         from <bits/socket_type.h>.
83629         (enum __socket_type): Don't define here.
83630         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
83631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83632         bits/socket_type.h.
83634         [BZ #13566]
83635         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
83636         checking __USE_GNU.
83638         * Makerules ($(inst_includedir)/%.h): New rule.
83639         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
83640         (install-others): Remove variable setting.
83641         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
83643 2012-03-08  Richard Henderson  <rth@twiddle.net>
83645         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
83646         from macro to inline function; merge with the
83647         !__LIBC_INTERNAL_MATH_INLINES version.
83648         (__ieee754_sqrtf): Likewise.
83650         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
83651         to inline function.
83652         (__rintf, __floor, __floorf): Likewise.
83654         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
83655         macro to inline function.
83656         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
83658         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
83659         not <math/math_private.h>.
83661 2012-03-08  David S. Miller  <davem@davemloft.net>
83663         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
83664         copyright year.
83665         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
83667 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
83669         * resolv/gai_misc.c (handle_requests): Fix struct timespec
83670         normalization.
83671         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
83672         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
83674 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
83676         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
83677         be defined individually, they must be defined as a block.  Define
83678         S for printing a string instead of hidint the different by using a
83679         macro for adding the 'l'.
83680         * stdio-common/tst-fphex-wide.c: Adjust.
83682 2012-03-07  Marek Polacek  <polacek@redhat.com>
83684         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
83686 2012-03-08  Marek Polacek  <polacek@redhat.com>
83688         [BZ #13806]
83689         * stdio-common/Makefile (tests): Add tst-fphex-wide.
83690         * stdio-common/tst-fphex.c: Define a few macros to make the
83691         test reusable.  Use them.
83692         * stdio-common/tst-fphex-wide.c: New file.
83694 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
83696         [BZ #6911]
83697         * manual/macros.texi (gnusystems): New macro.
83698         (nongnusystems): Likewise.
83699         (gnulinuxhurdsystems): Likewise.
83700         (gnuhurdsystems): Likewise..
83701         (gnulinuxsystems): Likewise.
83702         * manual/charset.texi: Use new macros or @theglibc{} to refer to
83703         variants of the GNU system, not "GNU system".
83704         * manual/conf.texi: Likewise.
83705         * manual/errno.texi: Likewise.  Update example of errno macro
83706         expansion.
83707         * manual/filesys.texi: Likewise.
83708         (getumask): Document as specific to GNU/Hurd.
83709         * manual/install.texi: Likewise.  Reword some references to
83710         GNU/Linux.
83711         * manual/intro.texi: Likewise.
83712         * manual/io.texi: Likewise.
83713         (File Name Portability): Detail which constraints are inapplicable
83714         to all GNU systems and which are only inapplicable to GNU/Hurd.
83715         * manual/job.texi: Likewise.
83716         * manual/llio.texi: Likewise.
83717         (O_NOCTTY): Document as present on GNU/Linux.
83718         * manual/maint.texi: Likewise.
83719         * manual/memory.texi: Likewise.
83720         * manual/pattern.texi: Likewise.
83721         * manual/pipe.texi: Likewise.
83722         * manual/process.texi: Likewise.
83723         * manual/resource.texi: Likewise.
83724         (RUSAGE_CHILDREN): Remove statement about specifying a particular
83725         child on GNU/Hurd.
83726         * manual/setjmp.texi: Likewise.
83727         * manual/signal.texi: Likewise.
83728         * manual/startup.texi: Likewise.
83729         * manual/stdio.texi: Likewise.
83730         * manual/terminal.texi: Likewise.
83731         (ONLCR): Document as POSIX.
83732         (OXTABS): Document availability on GNU/Linux as XTABS.
83733         (ONOEOT): Document availability separately from other bits.
83734         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
83735         * manual/time.texi: Likewise.
83736         * manual/users.texi: Likewise.
83737         * INSTALL: Regenerated.
83738         * sysdeps/gnu/errlist.c: Regenerated.
83740         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
83741         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
83742         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
83743         puts.
83744         * configure: Regenerated.
83746 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
83748         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
83749         default includes instead of AC_HEADER_CHECK.
83750         * sysdeps/i386/configure: Regenerated.
83752         [BZ #10716]
83753         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
83754         * math/s_cacoshf.c (__cacoshf): Likewise.
83755         * math/s_cacoshl.c (__cacoshl): Likewise.
83756         * math/s_casinh.c (__casinh): Set signs of result from argument.
83757         * math/s_casinhf.c (__casinhf): Likewise.
83758         * math/s_casinhl.c (__casinhl): Likewise.
83759         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
83760         (casinh_test): Add more tests.
83761         * sysdeps/i386/fpu/libm-test-ulps: Update.
83762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83764 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
83766         * po/zh_TW.po: Update from translation team.
83768         * login/Makefile (distribute): Remove variable.
83769         * catgets/Makefile: Likewise.
83770         * mach/Makefile: Likewise.
83771         * malloc/Makefile: Likewise.
83772         * misc/Makefile: Likewise.
83773         * iconv/Makefile: Likewise.
83774         * nscd/Makefile: Likewise.
83775         * hurd/Makefile: Likewise.
83776         * manual/Makefile: Likewise.
83777         * locale/Makefile: Likewise.
83778         * intl/Makefile: Likewise.
83779         * conform/Makefile: Likewise.
83780         * nss/Makefile: Likewise.
83781         * time/Makefile: Likewise.
83782         * soft-fp/Makefile: Likewise.
83783         * dirent/Makefile: Likewise.
83784         * gmon/Makefile: Likewise.
83785         * po/Makefile: Likewise.
83786         * rt/Makefile: Likewise.
83787         * socket/Makefile: Likewise.
83788         * math/Makefile: Likewise.
83789         * signal/Makefile: Likewise.
83790         * debug/Makefile: Likewise.
83791         * elf/Makefile: Likewise.
83792         * timezone/Makefile: Likewise.
83793         * stdlib/Makefile: Likewise.
83794         * iconvdata/Makefile: Likewise.
83795         * sunrpc/Makefile: Likewise.
83796         * io/Makefile: Likewise.
83797         * argp/Makefile: Likewise.
83798         * inet/Makefile: Likewise.
83799         * hesiod/Makefile: Likewise.
83800         * grp/Makefile: Likewise.
83801         * csu/Makefile: Likewise.
83802         * wctype/Makefile: Likewise.
83803         * crypt/Makefile: Likewise.
83804         * libio/Makefile: Likewise.
83805         * string/Makefile: Likewise.
83806         * nis/Makefile: Likewise.
83807         * resolv/Makefile: Likewise.
83808         * stdio-common/Makefile: Likewise.
83809         * wcsmbs/Makefile: Likewise.
83810         * dlfcn/Makefile: Likewise.
83811         * posix/Makefile: Likewise.
83813         [BZ #6959]
83814         * timezone/Makefile: Don't install timezone files, just the programs
83815         and scripts.
83817 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83819         * nss/databases.def: Add missing gshadow entry.
83821         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83823 2012-03-06  Marek Polacek  <polacek@redhat.com>
83825         [BZ #13726]
83826         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83827         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83828         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83829         * stdio-common/tst-long-dbl-fphex.c: New file.
83831 2012-03-06  David S. Miller  <davem@davemloft.net>
83833         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83834         (set_obp_int): New function.
83835         (get_obp_int): New function.
83836         (__get_clockfreq_via_dev_openprom): Likewise.
83837         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
83838         Avoid unused variable warnings on 'val' and use builtin_expect.
83839         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
83840         __builtin_expect.
83841         (INLINE_CLONE_SYSCALL): Likewise.
83843 2012-03-05  David S. Miller  <davem@davemloft.net>
83845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83847 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
83849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83851         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
83852         only for |x| >= 40.
83853         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83855 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
83857         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
83858         Replace gettimeofday with __vdso_gettimeofday.
83860         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83861         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
83862         __vdso_clock_gettime and __vdso_getcpu.
83864         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
83865         time with __vdso_time.
83867 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83869         * manual/lang.texi (size_t): Note types to which size_t may be
83870         equivalent with the GNU C Library, but do not describe when
83871         differences between them are significant.
83873 2012-03-05  Andreas Jaeger  <aj@suse.de>
83875         * sysdeps/i386/fpu/libm-test-ulps: Update.
83877 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83879         [BZ #3976]
83880         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
83881         (__ieee754_pow): Save and restore rounding mode and use
83882         round-to-nearest for main computations.
83883         * math/libm-test.inc (pow_test_tonearest): New function.
83884         (pow_test_towardzero): Likewise.
83885         (pow_test_downward): Likewise.
83886         (pow_test_upward): Likewise.
83887         (main): Call the new functions.
83888         * sysdeps/i386/fpu/libm-test-ulps: Update.
83889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83891         [BZ #3976]
83892         * math/libm-test.inc (cosh_test_tonearest): New function.
83893         (cosh_test_towardzero): Likewise.
83894         (cosh_test_downward): Likewise.
83895         (cosh_test_upward): Likewise.
83896         (sinh_test_tonearest): Likewise.
83897         (sinh_test_towardzero): Likewise.
83898         (sinh_test_downward): Likewise.
83899         (sinh_test_upward): Likewise.
83900         (main): Call the new functions.
83901         * sysdeps/i386/fpu/libm-test-ulps: Update.
83902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83904 2012-03-05  Tom de Vries  <tom@codesourcery.com>
83906         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
83907         default stack guard is set in last bytes.
83908         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
83910 2012-03-05  Kees Cook  <keescook@chromium.org>
83912         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
83914         [BZ #13656]
83915         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
83916         possibly allocate from heap instead of stack.
83917         * stdio-common/bug-vfprintf-nargs.c: New file.
83918         * stdio-common/Makefile (tests): Add nargs overflow test.
83920 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
83922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83924 2012-03-03  Marek Polacek  <polacek@redhat.com>
83926         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
83927         * math/math_private.h: Likewise.
83928         * stdlib/tst-strtod.c: Likewise.
83929         * sysdeps/i386/i486/bits/atomic.h: Likewise.
83930         * sysdeps/x86_64/bits/atomic.h: Likewise.
83932 2012-03-02  David S. Miller  <davem@davemloft.net>
83934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
83935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
83936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
83938         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
83939         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
83940         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
83941         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
83943 2012-03-02  Roland McGrath  <roland@hack.frob.com>
83945         [BZ #13792]
83946         * manual/examples/README: New file, says the example source files
83947         can be used under GPL>=2.
83948         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83949         line containing just "*/".
83950         * manual/examples/add.c: Add copyright header (GPL>=2).
83951         * manual/examples/argp-ex1.c: Likewise.
83952         * manual/examples/argp-ex2.c: Likewise.
83953         * manual/examples/argp-ex3.c: Likewise.
83954         * manual/examples/argp-ex4.c: Likewise.
83955         * manual/examples/atexit.c: Likewise.
83956         * manual/examples/db.c: Likewise.
83957         * manual/examples/dir.c: Likewise.
83958         * manual/examples/dir2.c: Likewise.
83959         * manual/examples/execinfo.c: Likewise.
83960         * manual/examples/filecli.c: Likewise.
83961         * manual/examples/filesrv.c: Likewise.
83962         * manual/examples/fmtmsgexpl.c: Likewise.
83963         * manual/examples/genpass.c: Likewise.
83964         * manual/examples/inetcli.c: Likewise.
83965         * manual/examples/inetsrv.c: Likewise.
83966         * manual/examples/isockad.c: Likewise.
83967         * manual/examples/longopt.c: Likewise.
83968         * manual/examples/memopen.c: Likewise.
83969         * manual/examples/memstrm.c: Likewise.
83970         * manual/examples/mkfsock.c: Likewise.
83971         * manual/examples/mkisock.c: Likewise.
83972         * manual/examples/mygetpass.c: Likewise.
83973         * manual/examples/pipe.c: Likewise.
83974         * manual/examples/popen.c: Likewise.
83975         * manual/examples/rprintf.c: Likewise.
83976         * manual/examples/search.c: Likewise.
83977         * manual/examples/select.c: Likewise.
83978         * manual/examples/setjmp.c: Likewise.
83979         * manual/examples/sigh1.c: Likewise.
83980         * manual/examples/sigusr.c: Likewise.
83981         * manual/examples/stpcpy.c: Likewise.
83982         * manual/examples/strdupa.c: Likewise.
83983         * manual/examples/strftim.c: Likewise.
83984         * manual/examples/strncat.c: Likewise.
83985         * manual/examples/subopt.c: Likewise.
83986         * manual/examples/swapcontext.c: Likewise.
83987         * manual/examples/termios.c: Likewise.
83988         * manual/examples/testopt.c: Likewise.
83989         * manual/examples/testpass.c: Likewise.
83990         * manual/examples/timeval_subtract.c: Likewise.
83992         [BZ #13792]
83993         * manual/time.texi (Elapsed Time): Move timeval_subtract example
83994         function to ...
83995         * manual/timeval_subtract.c.texi: ... here, new file.
83997 2012-03-02  David S. Miller  <davem@davemloft.net>
83999         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
84001 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
84003         [BZ #3976]
84004         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
84005         (__sin): Save and restore rounding mode and use round-to-nearest
84006         for all computations.
84007         (__cos): Save and restore rounding mode and use round-to-nearest
84008         for all computations.
84009         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
84010         <fenv.h>.
84011         (tan): Save and restore rounding mode and use round-to-nearest for
84012         all computations.
84013         * math/libm-test.inc (cos_test_tonearest): New function.
84014         (cos_test_towardzero): Likewise.
84015         (cos_test_downward): Likewise.
84016         (cos_test_upward): Likewise.
84017         (sin_test_tonearest): Likewise.
84018         (sin_test_towardzero): Likewise.
84019         (sin_test_downward): Likewise.
84020         (sin_test_upward): Likewise.
84021         (tan_test_tonearest): Likewise.
84022         (tan_test_towardzero): Likewise.
84023         (tan_test_downward): Likewise.
84024         (tan_test_upward): Likewise.
84025         (main): Call the new functions.
84026         * sysdeps/i386/fpu/libm-test-ulps: Update.
84027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84029         [BZ #10135]
84030         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
84031         small n, then large n, before computing and testing k+n.
84032         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
84033         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
84034         Likewise.
84035         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
84036         Likewise.
84037         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
84038         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
84039         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
84040         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
84041         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
84042         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
84043         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
84044         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
84045         * math/libm-test.inc (scalbn_test): Add more tests.
84046         (scalbln_test): Likewise.
84048         * manual/filesys.texi (mode_t): Describe constraints on size and
84049         signedness, not exact equivalence to a particular type.
84050         (ino_t): Likewise.
84051         (ino64_t): Likewise.
84052         (dev_t): Likewise.
84053         (nlink_t): Likewise.
84054         (blkcnt_t): Likewise.
84055         (blkcnt64_t): Likewise.
84056         * manual/llio.texi (off_t): Likewise.
84058         [BZ #3976]
84059         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
84060         (__ieee754_exp): Save and restore rounding mode and use
84061         round-to-nearest for all computations.
84062         * math/libm-test.inc (exp_test_tonearest): New function.
84063         (exp_test_towardzero): Likewise.
84064         (exp_test_downward): Likewise.
84065         (exp_test_upward): Likewise.
84066         (main): Call the new functions.
84067         * sysdeps/i386/fpu/libm-test-ulps: Update.
84068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84070 2012-03-01  Chris Demetriou  <cgd@google.com>
84072         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
84073         have predictable order.
84075 2012-03-01  David S. Miller  <davem@davemloft.net>
84077         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
84079         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
84080         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
84081         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
84082         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
84084         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
84085         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
84086         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
84087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
84088         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
84089         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
84090         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
84091         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
84092         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
84094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84096         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
84097         * sysdeps/sparc/fpu/libm-test-ulps: to here.
84098         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
84100         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
84101         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84102         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84103         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
84104         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
84105         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
84106         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
84107         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84108         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84109         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84110         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
84111         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84112         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84113         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84114         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84115         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84116         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
84117         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
84118         * sysdeps/sparc/elf/configure: Regenerated.
84120 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
84122         * configure.in (AS, LD): Require binutils 2.20 or later.
84123         * configure: Regenerated.
84124         * manual/install.texi (Tools for Compilation): Give binutils 2.20
84125         as required minimum version.
84126         * INSTALL: Regenerated.
84128         [BZ #2541]
84129         [BZ #4108]
84130         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
84131         before squaring exponent.
84132         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
84133         bottom long double and 27 bits of top long double before squaring
84134         exponent.
84135         * math/libm-test.inc (erfc_test): Add more tests.
84136         * sysdeps/i386/fpu/libm-test-ulps: Update.
84137         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84140 2012-03-01  Kai Tietz  <ktietz@redhat.com>
84142         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
84143         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
84144         containing bit-fields.
84145         * soft-fp/extended.h (_FP_UNION_E): Likewise.
84146         * soft-fp/single.h (_FP_UNION_S): Likewise.
84147         * soft-fp/double.h (_FP_UNION_D): Likewise.
84149 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84151         [BZ #13786]
84152         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84153         not include ../strcmp.S.
84154         [USE_AS_STRNCASECMP_L]: Likewise.
84155         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84156         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84157         * sysdeps/i386/i686/multiarch/strncase_l-c.c
84158         (__strncasecmp_l_ia32): Define as alias to
84159         __strncasecmp_l_nonascii.
84161         [BZ #5794]
84162         * math/libm-test.inc (expm1_test): Add test for bug 5794.
84163         * sysdeps/i386/fpu/libm-test-ulps: Update.
84164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84166         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84169 2012-02-29  Jeff Law  <law@redhat.com>
84171         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84172         out of bounds read.
84174 2012-02-29  Marek Polacek  <polacek@redhat.com>
84176         [BZ #13706]
84177         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84178         * elf/Makefile: Add rules to run tst-unused-dep.out.
84180 2012-02-28  David S. Miller  <davem@davemloft.net>
84182         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84183         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84184         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84185         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84186         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84187         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84189 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84191         * math/libm-test.inc (llround_test): Move one test from
84192         lround_test.  Use TEST_f_L in moved test.
84193         (lround_test): Move misplaced test to llround_test.  Add testcase
84194         from bug 2561.
84196 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
84198         * sysdeps/x86_64/fpu/e_expf.S: New file.
84199         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84201 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
84203         [BZ #13637]
84204         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84205         of remain_len that may cause incomplete multi-byte character and
84206         false match.
84207         * posix/bug-regex33.c: New file.
84208         * posix/Makefile (tests): Add bug-regex33.
84210 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
84212         * manual/macros.texi: New file.
84213         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84214         * manual/libc.texinfo: Include macros.texi.
84215         * manual/creatute.texi: Likewise.
84216         * manual/install.texi: Likewise.
84217         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84218         @glibcadj{} in references to the GNU C Library.
84219         * manual/charset.texi: Likewise.
84220         * manual/conf.texi: Likewise.
84221         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84222         when not using those macros.
84223         * manual/creature.texi: Likewise.
84224         * manual/crypt.texi: Likewise.
84225         * manual/errno.texi: Likewise.
84226         * manual/filesys.texi: Likewise.
84227         * manual/header.texi: Likewise.
84228         * manual/install.texi: Likewise.
84229         * manual/intro.texi: Likewise.
84230         * manual/io.texi: Likewise.
84231         * manual/job.texi: Likewise.
84232         * manual/lang.texi: Likewise.
84233         * manual/libc.texiinfo: Likewise.
84234         * manual/llio.texi: Likewise.
84235         * manual/locale.texi: Likewise.
84236         * manual/maint.texi: Likewise.
84237         * manual/math.texi: Likewise.
84238         * manual/memory.texi: Likewise.
84239         * manual/message.texi: Likewise.
84240         * manual/nss.texi: Likewise.
84241         * manual/pattern.texi: Likewise.
84242         * manual/process.texi: Likewise.
84243         * manual/resource.texi: Likewise.
84244         * manual/search.texi: Likewise.
84245         * manual/setjmp.texi: Likewise.
84246         * manual/signal.texi: Likewise.
84247         * manual/socket.texi: Likewise.
84248         * manual/startup.texi: Likewise.
84249         * manual/stdio.texi: Likewise.
84250         * manual/string.texi: Likewise.
84251         * manual/sysinfo.texi: Likewise.
84252         * manual/syslog.texi: Likewise.
84253         * manual/terminal.texi: Likewise.
84254         * manual/time.texi: Likewise.
84255         * manual/users.texi: Likewise.
84256         * INSTALL: Regenerated.
84257         * NOTES: Regenerated.
84258         * sysdeps/gnu/errlist.c: Regenerated.
84260 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84262         * include/dirent.h: Include <dirstream.h> before
84263         <dirent/dirent.h>.
84265 2012-02-28  David S. Miller  <davem@davemloft.net>
84267         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84268         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84269         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84270         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84272 2012-02-27  David S. Miller  <davem@davemloft.net>
84274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84276         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84277         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84280         frame pointer instead of stack pointer relative arg slot.
84281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84282         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84283         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84285 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84287         [BZ #3992]
84288         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84290 2012-02-27  David S. Miller  <davem@davemloft.net>
84292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84296         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84297         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84298         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84299         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84301 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84303         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84304         later.  Allow versions 5-9.
84305         * configure: Regenerated.
84306         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84307         required minimum version and 4.6 as recommended version.  Do not
84308         mention bugs in GCC 2.7 and 2.8.
84309         * INSTALL: Regenerated.
84311 2012-02-27  David S. Miller  <davem@davemloft.net>
84313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84317         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84318         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84319         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84320         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84322         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84323         manipulate bits before adding and subtracting TWO112[sx].
84324         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84326 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84328         [BZ #13775]
84329         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84330         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84331         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84332         being in POSIX, because they are in 1003.1-2008.
84334         * rt/tst-aio.c: Include <fcntl.h>.
84335         * rt/tst-aio7.c: Likewise.
84336         * rt/tst-aio64.c: Likewise.
84338         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84340 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84342         * manual/install.texi (--with-headers): Describe headers as
84343         interface headers, not private headers.
84344         (Specific advice for GNU/Linux systems): Describe use of headers
84345         from "make headers_install", not private headers from older
84346         kernels.
84347         * INSTALL: Regenerated.
84348         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84349         Change to 2.6.19.
84350         * sysdeps/unix/sysv/linux/configure: Regenerated.
84352         * manual/llio.texi (fclean): Remove documentation.
84354         * manual/Makefile (libc-texi-generated): New variable.  Include
84355         version.texi.
84356         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84357         $(libc-texi-generated), not duplicated list of files.
84358         (version.texi, stamp-version): New rules.
84359         (realclean): Remove $(libc-texi-generated), not individual files
84360         from that list.  Do not remove dir-add.texinfo.
84361         * manual/libc.texinfo: Comment out uses of edition numbers and
84362         references to printed manual.  Remove last-updated dates.
84363         (EDITION): Comment out.
84364         (ISBN): Likewise.
84365         (VERSION, UPDATED): Remove.
84366         (version.texi): Include.
84368 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
84370         * sysdeps/posix/spawni.c: Include <signal.h>.
84371         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84372         * sysdeps/pthread/aio_fsync.c: Likewise.
84374 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
84376         * conform/Makefile (tests): Run only when not cross-compiling and
84377         when fast-check is not defined.
84379         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84380         * conform/data/limits.h-data: Fixes for POSIX2008.
84381         * conform/run-conformtest.sh: Run all tests.
84382         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84383         headers.
84384         * include/bits/dlfcn.h: Likewise.
84385         * include/langinfo.h: Likewise.
84386         * include/monetary.h: Likewise.
84387         * include/sys/poll.h: Likewise.
84389         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84390         for __USE_GNU.
84391         * posix/spawn.h: Define __need_sigset_t.
84392         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84393         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84394         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
84395         to get sigevent_t only.
84396         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84397         only for __USE_GNU.
84398         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84399         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84400         process_vm_writev only for __USE_GNU.
84401         * termios/termios.h: Declare tcgetsid also for POSIX2008.
84403         * conform/Makefile: For now ignore errors from run-conformtest.
84404         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
84405         POSIX to avoid namespace pollution.  Don't prepend headers.
84406         * conform/data/aio.h-data: Fixes for POSIX testing.
84407         * conform/data/fcntl.h-data: Likewise.
84408         * conform/data/glob.h-data: Likewise.
84409         * conform/data/grp.h-data: Likewise.
84410         * conform/data/pthread.h-data: Likewise.
84411         * conform/data/pwd.h-data: Likewise.
84412         * conform/data/signal.h-data: Likewise.
84413         * conform/data/spawn.h-data: Likewise.
84414         * conform/data/stdio.h-data: Likewise.
84415         * conform/data/stdlib.h-data: Likewise.
84416         * conform/data/stropts.h-data: Likewise.
84417         * conform/data/sys/mman.h-data: Likewise.
84418         * conform/data/sys/stat.h-data: Likewise.
84419         * conform/data/sys/types.h-data: Likewise.
84420         * conform/data/sys/wait.h-data: Likewise.
84421         * conform/data/time.h-data: Likewise.
84422         * conform/data/unistd.h-data: Likewise.
84423         * conform/data/utime.h-data: Likewise.
84425         * io/sys/stat.h: fchmod was always in POSIX.
84426         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84427         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84428         * rt/aio.h: Define __need_timespec before including <time.h>.
84429         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84430         struct.  Add forward declaration of pthread_attr_t and use it in
84431         sigevent.
84432         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84433         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84434         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84435         always remove CLK_TCK definition.
84437 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
84439         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84441 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
84443         * conform/run-conformtest.sh: New file.
84444         * conform/Makefile: Run run-conformtest for tests.
84445         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
84446         support.
84448         * conform/data/uchar.h-data: New file.
84449         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
84450         * conform/data/arpa/inet.h-data: Likewise.
84451         * conform/data/assert.h-data: Likewise.
84452         * conform/data/complex.h-data: Likewise.
84453         * conform/data/cpio.h-data: Likewise.
84454         * conform/data/ctype.h-data: Likewise.
84455         * conform/data/dirent.h-data: Likewise.
84456         * conform/data/dlfcn.h-data: Likewise.
84457         * conform/data/errno.h-data: Likewise.
84458         * conform/data/fcntl.h-data: Likewise.
84459         * conform/data/float.h-data: Likewise.
84460         * conform/data/fmtmsg.h-data: Likewise.
84461         * conform/data/fnmatch.h-data: Likewise.
84462         * conform/data/ftw.h-data: Likewise.
84463         * conform/data/glob.h-data: Likewise.
84464         * conform/data/grp.h-data: Likewise.
84465         * conform/data/iconv.h-data: Likewise.
84466         * conform/data/inttypes.h-data: Likewise.
84467         * conform/data/langinfo.h-data: Likewise.
84468         * conform/data/libgen.h-data: Likewise.
84469         * conform/data/limits.h-data: Likewise.
84470         * conform/data/locale.h-data: Likewise.
84471         * conform/data/math.h-data: Likewise.
84472         * conform/data/monetary.h-data: Likewise.
84473         * conform/data/mqueue.h-data: Likewise.
84474         * conform/data/ndbm.h-data: Likewise.
84475         * conform/data/net/if.h-data: Likewise.
84476         * conform/data/netdb.h-data: Likewise.
84477         * conform/data/netinet/in.h-data: Likewise.
84478         * conform/data/nl_types.h-data: Likewise.
84479         * conform/data/poll.h-data: Likewise.
84480         * conform/data/pthread.h-data: Likewise.
84481         * conform/data/pwd.h-data: Likewise.
84482         * conform/data/regex.h-data: Likewise.
84483         * conform/data/sched.h-data: Likewise.
84484         * conform/data/search.h-data: Likewise.
84485         * conform/data/semaphore.h-data: Likewise.
84486         * conform/data/setjmp.h-data: Likewise.
84487         * conform/data/signal.h-data: Likewise.
84488         * conform/data/spawn.h-data: Likewise.
84489         * conform/data/stdarg.h-data: Likewise.
84490         * conform/data/stdio.h-data: Likewise.
84491         * conform/data/stdlib.h-data: Likewise.
84492         * conform/data/string.h-data: Likewise.
84493         * conform/data/strings.h-data: Likewise.
84494         * conform/data/stropts.h-data: Likewise.
84495         * conform/data/sys/ipc.h-data: Likewise.
84496         * conform/data/sys/mman.h-data: Likewise.
84497         * conform/data/sys/msg.h-data: Likewise.
84498         * conform/data/sys/resource.h-data: Likewise.
84499         * conform/data/sys/select.h-data: Likewise.
84500         * conform/data/sys/sem.h-data: Likewise.
84501         * conform/data/sys/shm.h-data: Likewise.
84502         * conform/data/sys/socket.h-data: Likewise.
84503         * conform/data/sys/stat.h-data: Likewise.
84504         * conform/data/sys/statvfs.h-data: Likewise.
84505         * conform/data/sys/time.h-data: Likewise.
84506         * conform/data/sys/timeb.h-data: Likewise.
84507         * conform/data/sys/times.h-data: Likewise.
84508         * conform/data/sys/types.h-data: Likewise.
84509         * conform/data/sys/uio.h-data: Likewise.
84510         * conform/data/sys/un.h-data: Likewise.
84511         * conform/data/sys/utsname.h-data: Likewise.
84512         * conform/data/sys/wait.h-data: Likewise.
84513         * conform/data/syslog.h-data: Likewise.
84514         * conform/data/tar.h-data: Likewise.
84515         * conform/data/termios.h-data: Likewise.
84516         * conform/data/utime.h-data: Likewise.
84517         * conform/data/utmpx.h-data: Likewise.
84518         * conform/data/varargs.h-data: Likewise.
84519         * conform/data/wchar.h-data: Likewise.
84520         * conform/data/wctype.h-data: Likewise.
84521         * conform/data/wordexp.h-data: Likewise.
84523         * include/stropts.h: New file.
84524         * include/uchar.h: New file.
84525         * include/aio.h: Changes to allow conformtest.pl to use the headers.
84526         * include/assert.h: Likewise.
84527         * include/ctype.h: Likewise.
84528         * include/dirent.h: Likewise.
84529         * include/dlfcn.h: Likewise.
84530         * include/fcntl.h: Likewise.
84531         * include/fnmatch.h: Likewise.
84532         * include/glob.h: Likewise.
84533         * include/grp.h: Likewise.
84534         * include/libio.h: Likewise.
84535         * include/locale.h: Likewise.
84536         * include/math.h: Likewise.
84537         * include/net/if.h: Likewise.
84538         * include/netdb.h: Likewise.
84539         * include/netinet/in.h: Likewise.
84540         * include/pthread.h: Likewise.
84541         * include/pwd.h: Likewise.
84542         * include/regex.h: Likewise.
84543         * include/sched.h: Likewise.
84544         * include/search.h: Likewise.
84545         * include/setjmp.h: Likewise.
84546         * include/signal.h: Likewise.
84547         * include/stdio.h: Likewise.
84548         * include/stdlib.h: Likewise.
84549         * include/string.h: Likewise.
84550         * include/sys/cdefs.h: Likewise.
84551         * include/sys/mman.h: Likewise.
84552         * include/sys/msg.h: Likewise.
84553         * include/sys/resource.h: Likewise.
84554         * include/sys/select.h: Likewise.
84555         * include/sys/socket.h: Likewise.
84556         * include/sys/stat.h: Likewise.
84557         * include/sys/statvfs.h: Likewise.
84558         * include/sys/time.h: Likewise.
84559         * include/sys/times.h: Likewise.
84560         * include/sys/uio.h: Likewise.
84561         * include/sys/utsname.h: Likewise.
84562         * include/sys/wait.h: Likewise.
84563         * include/termios.h: Likewise.
84564         * include/time.h: Likewise.
84565         * include/ulimit.h: Likewise.
84566         * include/unistd.h: Likewise.
84567         * include/utime.h: Likewise.
84568         * include/wchar.h: Likewise.
84569         * include/wctype.h: Likewise.
84570         * include/wordexp.h: Likewise.
84572         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
84574         * time/time.h: TIME_UTC must be a macro.
84575         Make timespec_get available for ISO C11 only as well.
84577 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
84579         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
84580         Reported by Peng Haitao <penght@cn.fujitsu.com>.
84582 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84584         * configure.in: Use -o not -a in test for unsupported multi-arch.
84586 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84588         * manual/texinfo.tex: Update to version 2012-01-19.16.
84590 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84592         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
84594 2012-02-24  Roland McGrath  <roland@hack.frob.com>
84596         [BZ #13738]
84597         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
84598         * manual/fdl-1.3.texi: New file.
84599         * manual/fdl-1.1.texi: File removed.
84601         [BZ #13738]
84602         * manual/libc.texinfo (FDL_VERSION): New @set.
84603         Use it for mention of FDL in cover text.
84604         (Documentation License): Use it in @include file name.
84606 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84607             Roland McGrath  <roland@hack.frob.com>
84609         [BZ #5461]
84610         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
84611         (not LONG_LONG_MAX and LONG_LONG_MIN.
84612         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
84613         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
84614         name.
84615         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
84617 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84619         [BZ #2547]
84620         [BZ #11365]
84621         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
84622         manipulate bits before adding and subtracting TWO23[sx].
84623         * math/libm-test.inc (nearbyint_test): Add more tests.
84625 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84627         [BZ #2548]
84628         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
84629         bits before adding and subtracting TWO23[sx].
84630         * math/libm-test.inc (rint_test): Add more tests.
84631         (rint_test_tonearest): Likewise.
84632         (rint_test_towardzero): Likewise.
84633         (rint_test_downward): Likewise.
84634         (rint_test_upward: Likewise.
84636 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84638         [BZ #10110]
84639         * include/stdc-predef.h: New file.  Extracted from features.h.
84640         * include/features.h: Include stdc-predef.h.
84641         * Makefile (headers): Add stdc-predef.h.
84642         * CONFORMANCE (Compiler limitations): Update.
84644 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84646         * manual/libc.texinfo (VERSION, UPDATED): Revert.
84648 2012-02-21  David S. Miller  <davem@davemloft.net>
84650         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
84651         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84653 2012-02-20  David S. Miller  <davem@davemloft.net>
84655         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
84656         using a normal save/restore sequence, rather than allocating a
84657         dummy stack frame just to store a frame pointer and restore.
84658         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84660 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84662         * manual/install.texi: Fix stray word in line-wrapped comment.
84664 2012-02-20  David S. Miller  <davem@davemloft.net>
84666         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
84667         both binutils and gcc support GOTDATA.
84669         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
84670         "rd %pc" in the PIC register setup sequences.
84672         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
84673         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
84674         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84675         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
84676         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84677         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84678         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84679         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
84681         (SYSCALL_ERROR_HANDLER): Likewise.
84682         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84683         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84684         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
84685         (SYSCALL_ERROR_HANDLER): Likewise.
84687         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
84688         (HAVE_GCC_GOTDATA): New.
84689         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
84690         relocation support in both binutils and gcc.
84691         * sysdeps/sparc/elf/configure: Regenerate.
84693         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
84694         * sysdeps/sparc/sparc32/elf/configure: Delete.
84695         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
84696         * sysdeps/sparc/sparc64/elf/configure: Delete.
84697         * sysdeps/sparc/elf/configure.in: New file.
84698         * sysdeps/sparc/elf/configure: Generate.
84700         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
84701         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
84702         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84703         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
84704         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
84706 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84708         * manual/install.texi: Do not mention specific glibc version
84709         numbers.
84710         * manual/libc.texinfo (VERSION, UPDATED): Update.
84711         (@copying): Use @copyright{} and range of years.
84713 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84715         [BZ #13695]
84716         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
84717         [crti.S not in sysdirs] (generated): Do not append.
84718         [crti.S not in sysdirs] (omit-deps): Likewise.
84719         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
84720         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
84721         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
84722         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
84723         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
84724         Likewise.
84725         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
84726         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
84727         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
84728         * csu/defs.awk: Remove file.
84729         * sysdeps/generic/initfini.c: Likewise.
84730         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
84731         variable.
84732         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
84733         Likewise.
84735 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84737         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
84738         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
84739         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
84740         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
84741         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84742         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
84743         <bits/epoll.h>.
84744         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
84745         (__EPOLL_PACKED): Define to empty if not defined by
84746         <bits/epoll.h>.
84747         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
84748         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84749         bits/epoll.h.
84751 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84753         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
84754         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
84755         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
84756         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
84757         <bits/timerfd.h>.
84758         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
84759         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84760         bits/timerfd.h.
84762 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84764         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
84765         in C locale.
84766         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84767         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
84768         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
84769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84771 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
84773         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84774         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84776 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
84778         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84779         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84780         defined.
84781         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84782         Likewise.
84783         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84784         entry for 2.16.
84786 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84788         * math/w_acos.c: Use non-signaling floating-point comparisons.
84789         * math/w_acosf.c: Likewise.
84790         * math/w_acosh.c: Likewise.
84791         * math/w_acoshf.c: Likewise.
84792         * math/w_acoshl.c: Likewise.
84793         * math/w_acosl.c: Likewise.
84794         * math/w_asin.c: Likewise.
84795         * math/w_asinf.c: Likewise.
84796         * math/w_asinl.c: Likewise.
84797         * math/w_atanh.c: Likewise.
84798         * math/w_atanhf.c: Likewise.
84799         * math/w_atanhl.c: Likewise.
84800         * math/w_exp2.c: Likewise.
84801         * math/w_exp2f.c: Likewise.
84802         * math/w_exp2l.c: Likewise.
84803         * math/w_j0.c: Likewise.
84804         * math/w_j0f.c: Likewise.
84805         * math/w_j0l.c: Likewise.
84806         * math/w_j1.c: Likewise.
84807         * math/w_j1f.c: Likewise.
84808         * math/w_j1l.c: Likewise.
84809         * math/w_jn.c: Likewise.
84810         * math/w_jnf.c: Likewise.
84811         * math/w_log.c: Likewise.
84812         * math/w_log10.c: Likewise.
84813         * math/w_log10f.c: Likewise.
84814         * math/w_log10l.c: Likewise.
84815         * math/w_log2.c: Likewise.
84816         * math/w_log2f.c: Likewise.
84817         * math/w_log2l.c: Likewise.
84818         * math/w_logf.c: Likewise.
84819         * math/w_logl.c: Likewise.
84820         * math/w_sqrt.c: Likewise.
84821         * math/w_sqrtf.c: Likewise.
84822         * math/w_sqrtl.c: Likewise.
84823         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84824         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84825         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84826         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84827         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84829 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84831         [BZ #9739]
84832         * manual/string.texi (strnlen): Use correct parameter name in
84833         equivalent expression.
84835 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84837         [BZ #11174]
84838         * manual/users.texi (seteuid): Consistently use neweuid for
84839         argument name.
84841 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84843         [BZ #13704]
84844         * manual/nss.texi (Services in the NSS configuration): Correct
84845         list of services in example configuration file.
84847 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
84849         [BZ #11322]
84850         * manual/arith.texi: Remove statements about negative zero
84851         behaving identically to zero.
84853 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84855         [BZ #5993]
84856         * manual/install.texi: Do not document upgrading from libc5.
84858 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84860         [BZ #4596]
84861         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
84863 2012-02-18  David S. Miller  <davem@davemloft.net>
84865         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
84866         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
84867         %o7 across the call.
84868         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
84869         instead.
84870         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
84871         SETUP_PIC_REG_LEAF.
84872         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84873         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
84874         * sysdeps/sparc/crtn.S: Likewise.
84876 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
84878         * aout/Makefile: Remove.
84880 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
84882         [BZ #13058]
84883         * manual/examples/argp-ex1.c (main): Format definition in GNU
84884         style.
84885         * manual/examples/argp-ex2.c (main): Likewise.
84886         * manual/examples/argp-ex3.c (main): Likewise.
84887         * manual/examples/argp-ex4.c (main): Likewise.
84888         * manual/examples/longopt.c (main): Use new-style prototype
84889         definition.
84890         * manual/examples/strncat.c (main): Specify return type and use
84891         (void) for arguments.
84892         * manual/examples/subopt.c (main): Use char **argv argument.
84894 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84896         [BZ #5077]
84897         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
84898         rounding modes.
84900 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
84902         [BZ #6907]
84903         * manual/string.texi (strchr): Change when strchrnul is
84904         recommended.
84906 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
84908         [BZ #174]
84909         * manual/locale.texi (setlocale): Document LOCPATH.
84911 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84913         [BZ #10210]
84914         * manual/process.texi (execle): Move @dots{} before last argument.
84916 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
84918         [BZ #12047]
84919         * manual/charset.texi (Generic Charset Conversion): Fix typo
84920         (LC_TYPE -> LC_CTYPE).
84922 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
84924         [BZ #5805]
84925         * manual/arith.texi (scalbn): Use @var{} on parameter names.
84926         (scalbnf): Likewise.
84927         (scalbnl): Likewise.
84928         (scalbln): Likewise.
84929         (scalblnf): Likewise.
84930         (scalblnl): Likewise.
84931         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
84932         (vwarnx): Likewise.
84933         (verr): Likewise.
84934         (verrx): Likewise.
84935         * manual/filesys.texi (telldir): Use braces around return type.
84936         * manual/llio.texi (mmap): Add space after comma.
84937         (mmap64): Likewise.
84938         * manual/math.texi (jn): Use @var{} on parameter names.
84939         (jnf): Likewise.
84940         (jnl): Likewise.
84941         (yn): Likewise.
84942         (ynf): Likewise.
84943         (ynl): Likewise.
84944         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
84945         line.
84946         * manual/resource.texi (ulimit): Use @dots{} instead of literal
84947         "...".
84948         (sched_get_priority_min): Remove semicolon on @deftypefun line.
84949         (sched_get_priority_max): Likewise.
84950         * manual/signal.texi (sigvec): Add space after comma.
84951         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
84952         names.
84953         (if_indextoname): Likewise.
84954         (if_freenameindex): Likewise.
84955         (sendto): Use ',' instead of '.' in prototype.
84956         * manual/startup.texi (syscall): Use @dots{} instead of literal
84957         "...".
84958         * manual/stdio.texi (__fpending): Separate initial words of
84959         paragraph from @deftypefun line.
84960         * manual/syslog.texi (syslog): Use @dots{} instead of literal
84961         "...".
84962         (vsyslog): Use @var{} on parameter names.
84963         * manual/terminal.texi (stty): Use @var{} on parameter names.
84964         * manual/users.texi (getutmp): Use @var{} on parameter names.
84965         (getutmpx): Likewise.
84967 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84969         [BZ #6884]
84970         * manual/stdio.texi (fopen): Fix typos in description of
84971         ",ccs=STRING".
84973 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
84975         [BZ #4026]
84976         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
84977         get clock_id definition.
84979 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
84981         [BZ #4822]
84982         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
84983         (madvise): Cast every argument to void on its own.
84985 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84987         [BZ #9902]
84988         * manual/startup.texi (Exit Status): Fix typo.
84990 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84992         [BZ #10140]
84993         * manual/examples/argp-ex1.c: Include <stdlib.h>.
84994         * manual/examples/argp-ex2.c: Likewise.
84995         * manual/examples/argp-ex3.c: Likewise.
84997 2012-02-16  Richard Henderson  <rth@redhat.com>
84999         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
85000         * sysdeps/s390/s390-32/initfini.c: Remove.
85001         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
85002         * sysdeps/s390/s390-64/initfini.c: Remove.
85004 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
85006         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
85007         compiler output for sysdeps/generic/initfini.c.
85008         * sysdeps/sh/elf/initfini.c: Remove file.
85010 2012-02-16  David S. Miller  <davem@davemloft.net>
85012         [BZ #11494]
85013         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
85015         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
85016         * sysdeps/sparc/crti.S: New file.
85017         * sysdeps/sparc/crtn.S: New file.
85018         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
85019         * sysdeps/sparc/sparc64/Makefile: Likewise.
85021 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
85023         [BZ #3335]
85024         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
85026 2012-02-15  Roland McGrath  <roland@hack.frob.com>
85028         [BZ #4822]
85029         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
85031         * mach/devstream.c (cookie_io_functions_t): Macro removed.
85032         (write, read, close): Likewise.
85033         Patch by Aurelien Jarno <aurelien@aurel32.net>.
85035 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
85037         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
85038         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
85039         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
85040         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
85041         <bits/signalfd.h>.
85042         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
85043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85044         bits/signalfd.h.
85046 2012-02-14  Marek Polacek  <polacek@redhat.com>
85048         * sysdeps/x86_64/crti.S: New file.
85049         * sysdeps/x86_64/crtn.S: New file.
85050         * sysdeps/x86_64/elf/initfini.c: Remove file.
85052 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85054         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
85055         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
85056         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
85057         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
85058         <bits/inotify.h>.
85059         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
85060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85061         bits/inotify.h.
85063 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85065         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
85066         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
85067         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
85068         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
85069         <bits/eventfd.h>.
85070         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
85071         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85072         bits/eventfd.h.
85074 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
85076         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
85077         __feraiseexcept instead of feraiseexcept.
85079         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
85080         nanosleep invocations.
85081         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
85082         strings, and add error checking for a nanosleep invocations.
85084 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
85086         Replace FSF snail mail address with URLs, as per GNU coding standards.
85087         Most of the snail mail addresses were wrong anyway, and omitting
85088         them makes the source code easier to maintain.  Almost all of the
85089         changes are to license notices and to locale LC_IDENTIFICATION
85090         addresses, except for this one:
85091         * manual/libc.texinfo: In "Published by", give the FSF's URL,
85092         not its snail mail address.
85094 2012-02-09  Richard Henderson  <rth@twiddle.net>
85096         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
85097         of kernel-features.h.
85099         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
85101 2012-02-08  Marek Polacek  <polacek@redhat.com>
85103         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
85104         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
85105         * sysdeps/gnu/_G_config.h: Likewise.
85106         * sysdeps/generic/_G_config.h: Likewise.
85108 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
85110         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
85111         tests.
85112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85114         * sysdeps/powerpc/powerpc32/crti.S: New file.
85115         * sysdeps/powerpc/powerpc32/crtn.S: New file.
85116         * sysdeps/powerpc/powerpc64/crti.S: New file.
85117         * sysdeps/powerpc/powerpc64/crtn.S: New file.
85119         * Makeconfig (have-initfini): Don't set.
85120         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
85121         * configure.in (nopic_initfini): Don't substitute.
85122         * config.h.in (HAVE_INITFINI): Don't #undef.
85123         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
85124         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
85126 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
85128         Support crti.S and crtn.S provided directly by architectures.
85129         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
85130         [crti.S in sysdirs] (omit-deps): Likewise.
85131         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
85132         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
85133         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
85134         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
85135         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
85136         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
85137         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
85138         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
85139         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
85140         compiler output for sysdeps/generic/initfini.c.
85141         * sysdeps/i386/elf/Makefile: Remove file.
85142         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
85144 2012-02-07  Marek Polacek  <polacek@redhat.com>
85146         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
85147         * sysdeps/gnu/_G_config.h: Likewise.
85148         * sysdeps/mach/hurd/_G_config.h: Likewise.
85150 2012-02-07  Marek Polacek  <polacek@redhat.com>
85152         * math/Makefile (tests): Add tst-CMPLX2.
85153         * math/tst-CMPLX2.c: New file.
85155 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
85157         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85159         * math/libm-test.inc (jn_test): Add missing L suffix.
85161 2012-02-06  Marek Polacek  <polacek@redhat.com>
85163         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85164         * sysdeps/i386/fpu/e_powf.S: Likewise.
85165         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85166         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85167         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85168         * sysdeps/i386/fpu/e_pow.S: Likewise.
85169         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85170         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85171         * sysdeps/i386/fpu/s_expm1.S: Likewise.
85172         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85173         * sysdeps/i386/fpu/e_log2.S: Likewise.
85174         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85175         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85176         * sysdeps/i386/fpu/e_powl.S: Likewise.
85177         * sysdeps/i386/fpu/s_log1p.S: Likewise.
85178         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85179         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85180         * sysdeps/i386/fpu/e_logl.S: Likewise.
85181         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85182         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85183         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85184         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85185         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85186         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85187         * sysdeps/i386/fpu/e_log.S: Likewise.
85188         * sysdeps/i386/fpu/s_cexp.S: Likewise.
85189         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85190         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85191         * sysdeps/i386/fpu/e_logf.S: Likewise.
85192         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85193         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85194         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85195         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85196         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85197         * sysdeps/i386/fpu/e_log10.S: Likewise.
85198         * sysdeps/i386/fpu/s_frexp.S: Likewise.
85199         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85200         * sysdeps/i386/fpu/s_asinh.S: Likewise.
85201         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85202         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85203         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85204         * sysdeps/i386/asm-syntax.h: Likewise.
85205         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85206         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85207         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85208         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85209         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85210         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85211         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85212         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85213         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85214         * sysdeps/powerpc/sysdep.h: Likewise.
85215         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85216         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85218 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85220         [BZ #411]
85221         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85223 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85225         * sysdeps/i386/sysdep.h: Include <features.h>.
85226         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85227         version.
85229 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85231         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85232         Define.
85233         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85234         LOAD_PIC_REG_STR.
85236 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85238         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85239         (SETUP_PIC_REG): Use GET_PC_THUNK.
85240         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85241         macro.
85243 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85245         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85246         for non-PIC compilation.
85247         (SETUP_PIC_REG): Add .p2align directive.
85248         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85249         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85250         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85251         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85252         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85253         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85254         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85255         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85256         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85257         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85258         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85259         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85260         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85261         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85262         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85263         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85264         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85265         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85266         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85267         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85268         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85269         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85270         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85271         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85272         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85273         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85274         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85275         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85276         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85277         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85278         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85279         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85280         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85281         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85282         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85283         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85284         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85285         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85286         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85287         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85288         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85290 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85292         * math/tst-CMPLX.c: Include <stdio.h>.
85294 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85296         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85297         float.
85298         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85299         * sysdeps/sparc/bits/mathdef.h: Likewise.
85301 2012-01-31  Marek Polacek  <polacek@redhat.com>
85303         * libio/libio.h: Don't define _PARAMS.
85304         * locale/programs/config.h: Don't define PARAMS.
85305         * stdlib/strtol_l.c: Likewise.
85306         (__strtol_l): Remove PARAMS from the prototype.
85308 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85310         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85311         names.  Just use the correct names.  Remove unnecessary wrapper
85312         functions.
85313         * malloc/arena.c: Likewise.
85314         * malloc/hooks.c: Likewise.
85316         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85317         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85318         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85320 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85322         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85323         into tail calls.
85324         (update_get_addr): New function.
85325         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85326         GET_ADDR_MODULE parameter.
85328 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85330         * crypt/cert.c: Remove __STDC__ conditionals.
85331         * crypt/crypt-entry.c: Likewise.
85332         * crypt/crypt_util.c: Likewise.
85333         * libio/filedoalloc.c: Likewise.
85334         * libio/fileops.c: Likewise.
85335         * libio/genops.c: Likewise.
85336         * libio/iofclose.c: Likewise.
85337         * libio/iofdopen.c: Likewise.
85338         * libio/iofopen.c: Likewise.
85339         * libio/iofopen64.c: Likewise.
85340         * libio/iogetdelim.c: Likewise.
85341         * libio/iopopen.c: Likewise.
85342         * libio/obprintf.c: Likewise.
85343         * libio/oldfileops.c: Likewise.
85344         * libio/oldiofclose.c: Likewise.
85345         * libio/oldiofdopen.c: Likewise.
85346         * libio/oldiofopen.c: Likewise.
85347         * libio/oldiopopen.c: Likewise.
85348         * libio/wfiledoalloc.c: Likewise.
85349         * libio/wgenops.c: Likewise.
85350         * locale/programs/xmalloc.c: Likewise.
85351         * misc/syslog.c: Likewise.
85352         * stdio-common/xbug.c: Likewise.
85353         * string/memchr.c: Likewise.
85354         * string/memcmp.c: Likewise.
85355         * string/memrchr.c: Likewise.
85356         * string/rawmemchr.c: Likewise.
85357         * sysdeps/posix/getcwd.c: Likewise.
85358         * time/strftime_l.c: Likewise.
85360 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85362         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85363         * config.make.in (config-cflags-sse2avx): Define.
85364         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85365         Fix typo.
85367 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
85369         * scripts/config.guess: Update from upstream config git repository.
85370         * scripts/config.sub: Likewise.
85372 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
85374         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85375         (EM_NUM): Update.
85376         (R_TILEPRO_*, R_TILEGX_*): New macros.
85378         * scripts/firstversions.awk: Fix bug in version range handling.
85380         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85382         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85384         * include/sys/epoll.h: New file.
85385         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85386         libc_hidden_def.
85388 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
85390         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85391         Avoid unnecessary __WORDSIZE == 64 test.
85392         (fmaxf): Use VEX format if possible.
85393         (fmax): Likewise.
85394         (fminf): Likewise.
85395         (fmin): Likewise.
85397         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85398         * math/math_private.h: Remove libc_fegetround* and
85399         libc_fesetround*.
85400         * sysdeps/i386/configure.in: Check for -msse2avx.
85401         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85402         also if SSE2AVX is defined.
85403         Remove libc_fegetround* and libc_fesetround*.
85404         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85405         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
85406         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85407         of HAS_YMM_USABLE.
85408         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85409         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85410         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85411         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85412         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85414         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85416 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85418         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85419         size is not set.
85420         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85422 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
85424         [BZ #13618]
85425         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85426         relocation.
85427         * Makeconfig (libm): Define.
85428         * elf/Makefile: Add rules to build and run tst-relsort1.
85429         * elf/tst-relsort1.c: New file.
85430         * elf/tst-relsort1mod1.c: New file.
85431         * elf/tst-relsort1mod2.c: New file.
85433 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
85435         * math/s_ldexp.c: Remove __STDC__ conditionals.
85436         * math/s_ldexpf.c: Likewise.
85437         * math/s_ldexpl.c: Likewise.
85438         * math/s_nextafter.c: Likewise.
85439         * math/s_nexttowardf.c: Likewise.
85440         * math/s_significand.c: Likewise.
85441         * math/s_significandf.c: Likewise.
85442         * math/s_significandl.c: Likewise.
85443         * math/w_jnl.c: Likewise.
85444         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85445         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85446         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85447         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85448         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85449         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85450         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
85451         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85452         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85453         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85454         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85455         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85456         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85457         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85458         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85459         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85460         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85461         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85462         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85463         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85464         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85465         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85466         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85467         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85468         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85469         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85470         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85471         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85472         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85473         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85474         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85475         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85476         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85477         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85478         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85479         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85480         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85481         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85482         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85483         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85484         * sysdeps/ieee754/k_standard.c: Likewise.
85485         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85486         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85487         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85488         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85489         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85490         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85491         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85492         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85493         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85494         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85495         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85496         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85497         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85498         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85499         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85500         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85501         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85502         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85503         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85504         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85505         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85506         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85507         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85508         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85509         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85510         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85511         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85512         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85513         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85514         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85515         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85516         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
85517         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85518         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85519         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85520         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85521         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
85522         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85523         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85524         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
85525         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
85526         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85527         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
85528         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
85529         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85530         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
85531         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
85532         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85533         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85534         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
85535         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
85536         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85537         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85538         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85539         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85540         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85541         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
85542         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85543         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85544         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85545         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85546         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85547         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85548         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85549         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85550         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85551         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85552         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85553         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85554         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85555         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85556         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85557         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85558         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85559         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85560         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85561         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85562         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85563         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85564         * sysdeps/ieee754/s_matherr.c: Likewise.
85565         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85566         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85567         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85568         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85570 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85572         * crypt/md5.h: Remove __STDC__ conditionals.
85573         * libio/libioP.h: Likewise.
85574         * locale/programs/config.h: Likewise.
85575         * sysdeps/generic/sysdep.h: Likewise.
85576         * sysdeps/i386/asm-syntax.h: Likewise.
85577         * sysdeps/s390/asm-syntax.h: Likewise.
85578         * sysdeps/unix/sysdep.h: Likewise.
85579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
85580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
85582 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85584         * libio/libio.h: Remove __STDC__ conditionals.
85585         * malloc/obstack.h: Likewise.
85586         * math/complex.h: Likewise.
85587         * math/math.h: Likewise.
85588         * sysdeps/generic/_G_config.h: Likewise.
85589         * sysdeps/gnu/_G_config.h: Likewise.
85590         * sysdeps/mach/hurd/_G_config.h: Likewise.
85591         * sysdeps/powerpc/bits/mathdef.h: Likewise.
85592         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85593         * sysdeps/sparc/bits/mathdef.h: Likewise.
85595 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
85597         [BZ #13583]
85598         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
85599         Clean up HAS_* macros.
85600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
85601         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
85602         possible.
85603         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
85604         HAS_AVX.
85605         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85606         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85607         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85608         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85609         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85611 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
85613         * elf/tst-unique3.cc (gets): Remove declaration.
85614         * elf/tst-unique3lib.cc (gets): Likewise.
85615         * elf/tst-unique3lib2.cc (gets): Likewise.
85616         * elf/tst-unique4.cc (gets): Likewise.
85618 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
85620         * include/stdio.h: Add C++ protection.  Add gets declarations and
85621         definitions.
85622         * debug/tst-chk1.c: Don't declare gets here.
85623         * stdio-common/tst-gets.c: Likewise.
85625 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85627         * posix/glob: Remove directory.
85629 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85631         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
85633 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
85635         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
85636         of the non-standard EPFNOSUPPORT.
85638 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85640         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
85641         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
85642         ANYWHERE set to 1 only on KERN_NO_SPACE error.
85644 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
85646         * wcsmbs/uchar.h: Test __STDC_VERSION__.
85648 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
85650         * nscd/aicache.c (addhstaiX): Do not cache negative results of
85651         transient errors.
85652         * nscd/grpcache.c (cache_addgr): Likewise.
85653         * nscd/hstcache.c (cache_addhst): Likewise.
85654         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85655         * nscd/pwdcache.c (cache_addpw): Likewise.
85656         * nscd/servicescache.c (cache_addserv): Likewise.
85658 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
85660         * malloc/malloc.c: Various cleanups.
85661         * malloc/hooks.c: Likewise.
85663         * stdlib/Makefile (tests): Add bug-fmtmsg1.
85664         * stdlib/bug-fmtmsg1.c: New file.
85666         * stdlib/fmtmsg.c (init): Add missing unlock.
85667         Patch by Peng Haitao <penght@cn.fujitsu.com>.
85669 2012-01-12  Marek Polacek  <polacek@redhat.com>
85671         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
85672         and _GNU_SOURCE.
85674 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85676         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
85677         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
85678         macro to ensure uniqueness of label name.
85679         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85680         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85682 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
85684         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
85686         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
85687         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85688         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85689         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
85691 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
85693         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
85695         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
85696         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85697         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85699         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
85701         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
85702         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85703         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85704         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
85706         * math/bits/math-finite.h: Add ldexp support.
85708 2012-01-10  Marek Polacek  <polacek@redhat.com>
85710         * locale/programs/localedef.h (show_archive_content): Add noreturn
85711         attribute.
85713 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
85715         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
85717 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85719         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
85721         * io/Makefile (headers): Add bits/poll2.h.
85723 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
85725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
85726         typo #include statement.
85728 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85730         * include/sys/cdefs.h: Define __attribute_alloc_size.
85731         * catgets/gencat.c: Add alloc_size attribute and apply consistently
85732         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
85733         * elf/pldd.c: Likewise.
85734         * iconv/iconv_charmap.c: Likewise.
85735         * iconv/iconvconfig.c: Likewise.
85736         * iconv/strtab.c: Likewise.
85737         * locale/programs/locale.c: Likewise.
85738         * locale/programs/localedef.h: Likewise.
85739         * locale/programs/simple-hash.c: Likewise.
85740         * nscd/nscd.h: Likewise.
85741         * nss/makedb.c: Likewise.
85742         * sysdeps/generic/ldconfig.h: Likewise.
85743         * locale/programs/localedef.c: Remove xmalloc prototype.
85744         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
85746 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85748         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
85749         appropriate.
85751 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85753         * math/Makefile (tests): Add tst-CMPLX.
85754         * math/tst-CMPLX.c: New file.
85756         * math/complex.h (CMPLXL): Fix typo.
85758         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
85759         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
85760         GLIBC_2.16.
85761         * debug/tst-chk1.c: Add poll and ppoll tests.
85762         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
85763         * include/sys/poll.h: Add hidden proto for ppoll.
85764         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
85765         * sysdeps/mach/hurd/ppoll.c: Likewise.
85766         * io/ppoll.c: Likewise.
85767         * debug/poll_chk.c: New file.
85768         * debug/ppoll_chk.c: New file.
85769         * include/bits/poll2.h: New file.
85770         * io/bits/poll2.h: New file.
85772         [BZ #1350]
85773         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85775         * configure.in: static is always set to yes.  Remove.
85776         * config.make.in: Don't set build-static.
85777         * Makeconfig: Remove use of build-static.
85778         * dlfcn/Makefile: Likewise.
85779         * elf/Makefile: Likewise.
85780         * math/Makefile: Likewise.
85781         * misc/Makefile: Likewise.
85782         * nptl/Makefile: Likewise.
85783         * sysdeps/mach/hurd/Makefile: Likewise.
85785         * configure.in: PWD_P is not used anymore.
85786         * config.make.in: Remove PWD_P entry.
85788         * configure.in: Remove last remnants of RANLIB.
85789         No need to check for signed size_t anymore.
85790         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85791         and IA-64.
85792         Remove __builtin_expect test because we require at least gcc 3.4.
85793         * aclocal.m4: Likewise.
85795         * wcsmbs/mbrtoc16.c: Implement using towc function.
85796         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85797         * wcsmbs/wcsmbsload.c: Likewise.
85798         * iconv/gconv_simple.c: Likewise.
85799         * iconv/gconv_int.h: Likewise.
85800         * iconv/gconv_builtin.h: Likewise.
85801         * iconv/iconv_prog.c: Remove CHAR16 handling.
85803         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85805         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85807         * configure.in: Remove --with-elf and --enable-bounded options.
85808         Dont set base_machine for ia64.  More non-ELF conditions removed.
85809         Remove testing and setting of leading underscore information.
85810         * config.make.in (build-bounded): Set to no.
85811         * config.h.in: Remove NO_UNDERSCORES entry.
85812         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85813         them.
85814         * csu/start.c: Remove !NO_UNDERSCORE code.
85815         * locale/localeinfo.h: Likewise.
85816         * sysdeps/generic/machine-gmon.h: Likewise.
85817         * sysdeps/generic/sysdep.h: Likewise.
85818         * sysdeps/i386/sysdep.h: Likewise.
85819         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85820         * sysdeps/mach/sysdep.h: Likewise.
85821         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85822         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85823         * sysdeps/sh/sysdep.h: Likewise.
85824         * sysdeps/sparc/sparc32/alloca.S: Likewise.
85825         * sysdeps/unix/i386/sysdep.S: Likewise.
85826         * sysdeps/unix/sparc/start.c: Likewise.
85827         * sysdeps/unix/sparc/sysdep.S: Likewise.
85828         * sysdeps/unix/sparc/sysdep.h: Likewise.
85829         * sysdeps/unix/start.c: Likewise.
85830         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85831         * sysdeps/x86_64/sysdep.h: Likewise.
85833 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
85835         [BZ #13553]
85836         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
85837         for non-gcc.
85838         * argp/argp-fmtstream.h: Use const instead __const.
85839         * argp/argp.h: Likewise.
85840         * assert/assert.h: Likewise.
85841         * bits/fenv.h: Likewise.
85842         * bits/sched.h: Likewise.
85843         * bits/sigset.h: Likewise.
85844         * bits/sigthread.h: Likewise.
85845         * catgets/nl_types.h: Likewise.
85846         * conform/data/pthread.h-data: Likewise.
85847         * crypt/crypt-private.h: Likewise.
85848         * crypt/crypt.h: Likewise.
85849         * crypt/crypt_util.c: Likewise.
85850         * ctype/ctype.h: Likewise.
85851         * debug/execinfo.h: Likewise.
85852         * debug/mbsnrtowcs_chk.c: Likewise.
85853         * debug/mbsrtowcs_chk.c: Likewise.
85854         * debug/wcsnrtombs_chk.c: Likewise.
85855         * debug/wcsrtombs_chk.c: Likewise.
85856         * debug/wcstombs_chk.c: Likewise.
85857         * dirent/dirent.h: Likewise.
85858         * dlfcn/dlfcn.h: Likewise.
85859         * elf/neededtest4.c: Likewise.
85860         * grp/grp.h: Likewise.
85861         * gshadow/gshadow.h: Likewise.
85862         * iconv/gconv.h: Likewise.
85863         * iconv/gconv_int.h: Likewise.
85864         * iconv/gconv_simple.c: Likewise.
85865         * iconv/iconv.h: Likewise.
85866         * iconv/loop.c: Likewise.
85867         * iconv/skeleton.c: Likewise.
85868         * include/aio.h: Likewise.
85869         * include/aliases.h: Likewise.
85870         * include/argz.h: Likewise.
85871         * include/arpa/inet.h: Likewise.
85872         * include/assert.h: Likewise.
85873         * include/dirent.h: Likewise.
85874         * include/dlfcn.h: Likewise.
85875         * include/execinfo.h: Likewise.
85876         * include/fcntl.h: Likewise.
85877         * include/fenv.h: Likewise.
85878         * include/glob.h: Likewise.
85879         * include/grp.h: Likewise.
85880         * include/libintl.h: Likewise.
85881         * include/mntent.h: Likewise.
85882         * include/netdb.h: Likewise.
85883         * include/pwd.h: Likewise.
85884         * include/rpc/netdb.h: Likewise.
85885         * include/sched.h: Likewise.
85886         * include/search.h: Likewise.
85887         * include/shadow.h: Likewise.
85888         * include/signal.h: Likewise.
85889         * include/stdio.h: Likewise.
85890         * include/stdlib.h: Likewise.
85891         * include/string.h: Likewise.
85892         * include/sys/socket.h: Likewise.
85893         * include/sys/stat.h: Likewise.
85894         * include/sys/statfs.h: Likewise.
85895         * include/sys/statvfs.h: Likewise.
85896         * include/sys/syslog.h: Likewise.
85897         * include/sys/time.h: Likewise.
85898         * include/sys/uio.h: Likewise.
85899         * include/time.h: Likewise.
85900         * include/unistd.h: Likewise.
85901         * include/utmp.h: Likewise.
85902         * include/wchar.h: Likewise.
85903         * include/wctype.h: Likewise.
85904         * inet/aliases.h: Likewise.
85905         * inet/arpa/inet.h: Likewise.
85906         * inet/netinet/ether.h: Likewise.
85907         * inet/netinet/in.h: Likewise.
85908         * intl/libintl.h: Likewise.
85909         * io/bits/fcntl2.h: Likewise.
85910         * io/fcntl.h: Likewise.
85911         * io/ftw.h: Likewise.
85912         * io/sys/poll.h: Likewise.
85913         * io/sys/stat.h: Likewise.
85914         * io/sys/statfs.h: Likewise.
85915         * io/sys/statvfs.h: Likewise.
85916         * io/utime.h: Likewise.
85917         * libio/bits/stdio.h: Likewise.
85918         * libio/bits/stdio2.h: Likewise.
85919         * libio/libio.h: Likewise.
85920         * libio/libioP.h: Likewise.
85921         * libio/stdio.h: Likewise.
85922         * locale/lc-ctype.c: Likewise.
85923         * locale/locale.h: Likewise.
85924         * login/utmp.h: Likewise.
85925         * malloc/arena.c: Likewise.
85926         * malloc/malloc.c: Likewise.
85927         * malloc/malloc.h: Likewise.
85928         * malloc/mcheck.c: Likewise.
85929         * malloc/mtrace.c: Likewise.
85930         * math/bits/mathcalls.h: Likewise.
85931         * math/fenv.h: Likewise.
85932         * math/math_private.h: Likewise.
85933         * misc/bits/error.h: Likewise.
85934         * misc/bits/syslog.h: Likewise.
85935         * misc/err.h: Likewise.
85936         * misc/error.h: Likewise.
85937         * misc/fstab.h: Likewise.
85938         * misc/mntent.h: Likewise.
85939         * misc/regexp.h: Likewise.
85940         * misc/search.h: Likewise.
85941         * misc/sgtty.h: Likewise.
85942         * misc/sys/mman.h: Likewise.
85943         * misc/sys/syslog.h: Likewise.
85944         * misc/sys/uio.h: Likewise.
85945         * misc/sys/xattr.h: Likewise.
85946         * misc/ttyent.h: Likewise.
85947         * nis/rpcsvc/ypclnt.h: Likewise.
85948         * nss/nss.h: Likewise.
85949         * posix/bits/unistd.h: Likewise.
85950         * posix/fnmatch.h: Likewise.
85951         * posix/glob.h: Likewise.
85952         * posix/sched.h: Likewise.
85953         * posix/spawn.h: Likewise.
85954         * posix/sys/wait.h: Likewise.
85955         * posix/unistd.h: Likewise.
85956         * posix/wordexp.h: Likewise.
85957         * pwd/pwd.h: Likewise.
85958         * resolv/netdb.h: Likewise.
85959         * resource/sys/resource.h: Likewise.
85960         * rt/aio.h: Likewise.
85961         * rt/bits/mqueue2.h: Likewise.
85962         * rt/mqueue.h: Likewise.
85963         * shadow/shadow.h: Likewise.
85964         * signal/signal.h: Likewise.
85965         * socket/send.c: Likewise.
85966         * socket/sendto.c: Likewise.
85967         * socket/sys/socket.h: Likewise.
85968         * stdio-common/printf.h: Likewise.
85969         * stdlib/bits/stdlib.h: Likewise.
85970         * stdlib/fmtmsg.h: Likewise.
85971         * stdlib/monetary.h: Likewise.
85972         * stdlib/stdlib.h: Likewise.
85973         * stdlib/ucontext.h: Likewise.
85974         * streams/stropts.h: Likewise.
85975         * string/argz.h: Likewise.
85976         * string/bits/string2.h: Likewise.
85977         * string/string.h: Likewise.
85978         * string/strings.h: Likewise.
85979         * sunrpc/rpc/auth.h: Likewise.
85980         * sunrpc/rpc/auth_des.h: Likewise.
85981         * sunrpc/rpc/clnt.h: Likewise.
85982         * sunrpc/rpc/netdb.h: Likewise.
85983         * sunrpc/rpc/pmap_clnt.h: Likewise.
85984         * sunrpc/rpc/xdr.h: Likewise.
85985         * sysdeps/generic/inttypes.h: Likewise.
85986         * sysdeps/generic/net/if.h: Likewise.
85987         * sysdeps/generic/sys/swap.h: Likewise.
85988         * sysdeps/gnu/net/if.h: Likewise.
85989         * sysdeps/gnu/utmpx.h: Likewise.
85990         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
85991         * sysdeps/i386/i486/bits/string.h: Likewise.
85992         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
85993         * sysdeps/s390/bits/string.h: Likewise.
85994         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
85995         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
85996         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
85997         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
85998         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
85999         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
86000         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86001         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
86002         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
86003         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
86004         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
86005         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
86006         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
86007         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
86008         * sysdeps/unix/sysv/linux/readv.c: Likewise.
86009         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
86010         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
86011         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86012         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
86013         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
86014         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86015         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
86016         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
86017         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
86018         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
86019         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
86020         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
86021         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86022         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
86023         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
86024         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
86025         * sysvipc/sys/ipc.h: Likewise.
86026         * sysvipc/sys/msg.h: Likewise.
86027         * sysvipc/sys/sem.h: Likewise.
86028         * sysvipc/sys/shm.h: Likewise.
86029         * termios/termios.h: Likewise.
86030         * time/sys/time.h: Likewise.
86031         * time/time.h: Likewise.
86032         * wcsmbs/bits/wchar2.h: Likewise.
86033         * wcsmbs/uchar.h: Likewise.
86034         * wcsmbs/wchar.h: Likewise.
86035         * wctype/wctype.h: Likewise.
86037         [BZ #13551]
86038         * Makeconfig: Remove all but ELF support including AIX support.
86039         * Makerules: Likewise.
86040         * config.h.in: Likewise.
86041         * config.make.in: Likewise.
86042         * configure: Likewise.
86043         * configure.in: Likewise.
86044         * csu/Makefile: Likewise.
86045         * csu/version.c: Likewise.
86046         * debug/Makefile: Likewise.
86047         * dlfcn/Makefile: Likewise.
86048         * elf/Makefile: Likewise.
86049         * extra-lib.mk: Likewise.
86050         * iconv/Makefile: Likewise.
86051         * include/libc-symbols.h: Likewise.
86052         * include/shlib-compat.h: Likewise.
86053         * resolv/Makefile: Likewise.
86054         * resolv/res_libc.c: Likewise.
86055         * rt/Makefile: Likewise.
86056         * sysdeps/i386/asm-syntax.h: Likewise.
86057         * sysdeps/i386/sysdep.h: Likewise.
86058         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86059         * sysdeps/mach/sysdep.h: Likewise.
86060         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
86061         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
86062         * sysdeps/s390/asm-syntax.h: Likewise.
86063         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86064         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86065         * sysdeps/sh/sysdep.h: Likewise.
86066         * sysdeps/unix/sparc/sysdep.h: Likewise.
86067         * sysdeps/wordsize-32/divdi3.c: Likewise.
86068         * sysdeps/x86_64/sysdep.h: Likewise.
86070         * argp/Versions: Remove _argp_unlock_xxx.
86072         [BZ #13559]
86073         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
86074         * abilist/libBrokenLocale.abilist: Likewise.
86075         * abilist/libanl.abilist: Likewise.
86076         * abilist/libc.abilist: Likewise.
86077         * abilist/libcrypt.abilist: Likewise.
86078         * abilist/libdl.abilist: Likewise.
86079         * abilist/libm.abilist: Likewise.
86080         * abilist/libnsl.abilist: Likewise.
86081         * abilist/libpthread.abilist: Likewise.
86082         * abilist/libresolv.abilist: Likewise.
86083         * abilist/librt.abilist: Likewise.
86084         * abilist/libthread_db.abilist: Likewise.
86085         * abilist/libutil.abilist: Likewise.
86086         * abilist/libnss_db.abilist: New file.
86088         * scripts/abilist.awk: Add support for indirect functions.
86090         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
86092         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
86094         * shlib-versions: Remove entries for ports architectures.
86096         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
86097         files in ports.
86098         * elf/stackguard-macros.h: Remove support for IA-64.
86099         * elf/tst-auditmod1.c: Likewise.
86100         * sysdeps/generic/ldsodefs.h: Likewise.
86102         * sysdeps/unix/sysv/linux/configure.in: Ports should define
86103         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
86104         configure files.
86106         [BZ #13552]
86107         * configure.in: Remove --enable-omitfp support.
86108         * FAQ.in: Adjust.
86109         * config.make.in: Likewise.
86110         * Makeconfig: Likewise.
86111         * manual/install.texi: Likewise.
86113         In case anyone cares, the IA-64 architecture could move to ports.
86114         * sysdeps/ia64/*: Removed.
86115         * sysdeps/unix/sysv/linux/ia64/*: Removed.
86116         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
86118         [BZ #13555]
86119         * configure.in: Remove entries for unsupported architectures.
86121         [BZ #13533]
86122         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
86123         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
86124         routines.
86125         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
86126         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
86127         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
86128         fall back to using wcrtomb.
86129         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
86130         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
86131         renaming.
86132         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
86133         * wcsmbs/tst-c16c32-1.c: New file.
86135         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
86136         local variable.
86138         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
86140         * elf/tst-unique3.cc: Add explicit declaration of gets.
86141         * elf/tst-unique3lib.cc: Likewise.
86142         * elf/tst-unique3lib2.cc: Likewise.
86143         * elf/tst-unique4.cc: Likewise.
86145         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
86147 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
86149         [BZ #13566]
86150         * assert/assert.h (static_assert): Don't define for C++.
86151         * libio/stdio.h (gets): Do declare for C++ <= C++11.
86152         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86154 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
86156         * iconv/loop.c (single loop): Fix assertion in storing of
86157         remaining bytes.
86159         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86161 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
86163         * posix/getconf.c: Update copyright year.
86164         * nss/getent.c: Likewise.
86165         * nss/makedb.c: Likewise.
86166         * iconv/iconvconfig.c: Likewise.
86167         * iconv/iconv_prog.c: Likewise.
86168         * elf/ldconfig.c: Likewise.
86169         * elf/pldd.c: Likewise.
86170         * elf/sotruss.ksh: Likewise.
86171         * catgets/gencat.c: Likewise.
86172         * csu/version.c: Likewise.
86173         * elf/ldd.bash.in: Likewise.
86174         * elf/sprof.c (print_version): Likewise.
86175         * locale/programs/locale.c: Likewise.
86176         * locale/programs/localedef.c: Likewise.
86177         * login/programs/pt_chown.c: Likewise.
86178         * nscd/nscd.c (print_version): Likewise.
86179         * debug/xtrace.sh: Likewise.
86180         * malloc/memusage.sh: Likewise.
86181         * malloc/mtrace.pl: Likewise.
86182         * debug/catchsegv.sh: Likewise.
86184 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
86186         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86187         pure attribute.
86189 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
86191         [BZ #13533]
86192         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86193         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86194         transformations.
86195         * iconv/gconv_int.h: Likewise.
86196         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86197         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86198         from libc for GLIBC_2.16.
86199         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86200         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86201         * wcsmbs/uchar.h: Really define mbstate_t.
86202         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86203         * wcsmbs/c16rtomb.c: New file.
86204         * wcsmbs/mbrtoc16.c: New file.
86205         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86206         for C/POSIX locale.
86207         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86208         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86210         * wcsmbs/wchar.h: Add missing __restrict.
86212 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86214         [BZ #13532]
86215         * time/Makefile (routines): Add timespec_get.
86216         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86217         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86218         timespec for ISO C11.
86219         * time/timespec_get.c: New file.
86220         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86221         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86223         [BZ #13531]
86224         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86225         * stdlib/stdlib.h: Declare aligned_alloc.
86226         * Versions.def: Add GLIBC_2.16 for libc.
86227         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86229         [BZ 13527]
86230         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86231         ISO C11.
86233         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86234         code.
86236         [BZ #13528]
86237         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86239         [BZ #13529]
86240         * assert/assert.h (static_assert): Define.
86242         * version.h: Update for 2.16 development version.
86244         [BZ #13526]
86245         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86246         _ISOC11_SOURCE.
86248         * version.h (RELEASE): Bump for 2.15 release.
86249         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86251         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86252         Patch by Marek Polacek <mpolacek@redhat.com>.
86254         * bits/byteswap.h: Protect long long constants with __extension__.
86255         * sysdeps/i386/bits/byteswap.h: Likewise.
86256         * sysdeps/ia64/bits/byteswap.h: Likewise.
86257         * sysdeps/s390/bits/byteswap.h: Likewise.
86258         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86260 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86262         [BZ #13540]
86263         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86264         destination buffer.
86265         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86267 2011-12-23  Marek Polacek  <polacek@redhat.com>
86269         * elf/dl-addr.c (determine_info): Add inline keyword.
86270         * elf/tst-auditmod4b.c (check_avx): Likewise.
86271         * elf/tst-auditmod6b.c (check_avx): Likewise.
86272         * elf/tst-auditmod6c.c (check_avx): Likewise.
86273         * elf/tst-auditmod7b.c (check_avx): Likewise.
86275 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86277         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86278         !__SSE_MATH__.
86280 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86282         [BZ #13540]
86283         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86284         processing for last bytes.
86286 2011-08-06  Bruno Haible  <bruno@clisp.org>
86288         [BZ #13061]
86289         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86290         U+0385, not to U+1FEE.
86292         [BZ #13062]
86293         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86294         entry for U+00A5 U+0301.
86296 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86298         [BZ #13166]
86299         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86300         buffer for the output is too small.
86302         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86303         optimization.
86305         [BZ #13185]
86306         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86307         SSE flags if possible.
86309 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86311         [BZ #13540]
86312         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86313         processing for last bytes.
86315 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86317         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86318         (syscall-list-default-options, syscall-list-default-condition)
86319         (syscall-list-includes): Define.
86320         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86321         list of ABIs and options and #if conditions for each ABI.  Do not
86322         handle common syscalls between ABIs specially.
86323         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86324         Remove.
86325         (syscall-list-variants, syscall-list-32bit-options)
86326         (syscall-list-32bit-condition, syscall-list-64bit-options)
86327         (syscall-list-64bit-condition): Define.
86328         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86329         (syscall-list-variants, syscall-list-32bit-options)
86330         (syscall-list-32bit-condition, syscall-list-64bit-options)
86331         (syscall-list-64bit-condition): Define.
86332         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86333         Remove.
86334         (syscall-list-variants, syscall-list-32bit-options)
86335         (syscall-list-32bit-condition, syscall-list-64bit-options)
86336         (syscall-list-64bit-condition): Define.
86337         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86338         Remove.
86339         (syscall-list-variants, syscall-list-32bit-options)
86340         (syscall-list-32bit-condition, syscall-list-64bit-options)
86341         (syscall-list-64bit-condition): Define.
86343 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86345         * locale/iso-639.def: Add brx entry.
86347         [BZ #13328]
86348         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86349         Proposed by Mariusz_Cukr <marcukr@op.pl>.
86351         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86352         __feraiseexcept_renamed.
86354 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86356         [BZ #13538]
86357         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86358         EPOLLET with unsigned values.
86359         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86360         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86362         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86363         to large cancellation.
86364         * math/s_cacoshf.c: Likewise.
86365         * math/s_cacoshl.c: Likewise.
86367 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
86369         [BZ #13305]
86370         [BZ #12786]
86371         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86372         * math/s_cacoshf.c: Likewise.
86373         * math/s_cacoshl.c: Likewise.
86375 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86377         [BZ #13439]
86378         * iconv/gconv.h: Define __GCONV_SWAP.
86379         * iconvdata/unicode.c: The swap bit must be stored in __flags.
86380         * iconvdata/utf-16.c: Likewise.
86381         * iconvdata/utf-32.c: Likewise.
86383 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
86385         [BZ #13524]
86386         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86387         numerator after shifting it by one limb.
86389 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
86391         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86392         under [__USE_EXTERN_INLINES].
86394 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86396         [BZ #13446]
86397         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86399 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86401         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86402         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86403         optimized code.
86404         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86405         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86406         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86407         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86408         for strncasecmp/strncasecmp_l compilation.
86409         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86410         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86412 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
86414         [BZ #13484]
86415         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86416         of __asm__.
86418 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86420         [BZ #13506]
86421         * time/tzfile.c (__tzfile_read): Check values from file header.
86423 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
86425         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86426         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86427         * powerpc/powerpc32/dl-start.S: Likewise.
86428         * powerpc/powerpc32/elf/start.S: Likewise.
86429         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86430         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86431         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86432         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86433         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86434         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86435         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86436         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86437         * powerpc/powerpc32/fpu/s_round.S: Likewise.
86438         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86439         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86440         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86441         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86442         * powerpc/powerpc32/memset.S: Likewise.
86443         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
86444         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
86445         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
86446         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
86447         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
86448         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
86449         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
86450         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86451         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
86452         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
86453         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
86454         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86455         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86457 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86459         * math/libm-test.inc: Added more nearbyint tests.
86460         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
86461         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
86462         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
86463         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
86465 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
86467         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86468         FD_CLOEXEC.
86470 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86472         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
86473         Add wcscpy-ssse3 wcscpy-c.
86474         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
86475         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
86476         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
86477         * sysdeps/x86_64/wcschr.S: New file.
86478         * sysdeps/x86_64/wcsrchr.S: New file.
86479         * string/test-strcmp.c: Remove checking of wcscmp function for
86480         wrong alignments.
86481         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
86482         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
86483         wcsrchr-sse2 wcsrchr-c.
86484         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
86485         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
86486         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
86487         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
86488         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
86489         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
86490         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
86491         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
86492         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
86493         * wcsmbc/wcschr.c (WCSCHR): New macro.
86495 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86497         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
86498         * wcsmbs/test-wcsrchr.c: New file.
86499         * string/test-strrchr.c: Add wcsrchr support.
86500         (WIDE): New macro.
86501         * wcsmbs/test-wcscpy.c: New file.
86502         * string/test-strcpy.c: Add wcscpy support.
86503         (WIDE): New macro.
86505 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
86507         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
86508         the inner loop.
86510 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
86512         [BZ #13472]
86513         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
86515 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
86517         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
86518         Minor optimizations.
86520         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
86521         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
86522         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
86524 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
86526         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
86527         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
86528         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
86529         for gcc to avoid warnings.
86530         * inet/Makefile (tests): Add tst-checks.
86531         * inet/tst-checks.c: New file.
86533         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
86534         warning.
86536         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
86537         __wmemcmp_sse2.
86539         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
86540         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
86542         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
86544 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
86546         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
86547         problem.
86549         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
86551 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
86553         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
86554         conditional on GCC version.
86555         (__arch_compare_and_exchange_val_8_acq)
86556         (__arch_compare_and_exchange_val_16_acq)
86557         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
86558         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
86559         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
86561 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
86563         * sysdeps/sh/backtrace.c: New file.
86565 2011-12-02  Andreas Schwab  <schwab@redhat.com>
86567         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
86568         parenthesis.
86570 2011-12-01  Andreas Schwab  <schwab@redhat.com>
86572         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
86573         falling back to utime.
86575 2011-11-30  Andreas Schwab  <schwab@redhat.com>
86577         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
86578         expectations for float.
86580 2011-11-29  Andreas Schwab  <schwab@redhat.com>
86582         * locale/weight.h (findidx): Add parameter len.
86583         * locale/weightwc.h (findidx): Likewise.
86584         * posix/fnmatch_loop.c (FCT): Adjust caller.
86585         * posix/regcomp.c (build_equiv_class): Likewise.
86586         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
86587         * posix/regexec.c (check_node_accept_bytes): Likewise.
86588         * string/strcoll_l.c (STRCOLL): Likewise.
86589         * string/strxfrm_l.c (STRXFRM): Likewise.
86591 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
86593         * Makefile.in: Remove CVSOPT handling.
86594         * configure.in: Remove use of AC_REVISION.
86595         * iconvdata/Makefile (distribute): No need to filter out CVS.
86596         * scripts/list-sources.sh: Remove CVS, subversion and monotone
86597         handling.
86599 2011-11-16  Andreas Schwab  <schwab@redhat.com>
86601         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
86602         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
86603         [USE_AS_STRNCASECMP_L]: Likewise.
86604         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
86605         NO_TLS_DIRECT_SEG_REFS.
86606         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
86607         Fix argument offsets for non-PIC.
86608         [USE_AS_STRNCASECMP_L]: Likewise.
86609         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
86610         NO_TLS_DIRECT_SEG_REFS.
86612 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86614         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
86615         O_CLOEXEC.
86616         * locale/loadlocale.c (_nl_load_locale): Likewise.
86618 2011-11-15  Andreas Schwab  <schwab@redhat.com>
86620         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
86621         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
86622         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
86623         (SYSCALL_GETTIME): Set errno on error.
86625         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
86626         count references to noai6ai_cached.
86628 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86630         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
86632         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
86633         FD_CLOEXEC for /proc/self/maps.
86635         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
86636         FD_CLOEXEC for /proc/meminfo.
86638         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
86639         gai.conf.
86641         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
86642         FD_CLOEXEC for given file.
86644         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
86646         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
86647         FD_CLOEXEC for /etc/hosts.
86648         (_gethtent): Likewise.
86650         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
86652         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
86653         cancellation and set FD_CLOEXEC for /etc/netgroup.
86655         * nss/nss_files/files-key.c (search): Don't allow cancellation when
86656         reading /etc/publickey.
86658         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
86659         allow cancellation when reading /etc/group.
86661         * nss/nss_files/files-alias.c (internal_setent): Don't allow
86662         cancellation.
86663         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
86665         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
86666         when using data file.
86668         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
86670         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
86671         (write_nis_obj): Use "c" and "e" in fopen.
86673         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
86675         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
86677         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
86679         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
86681         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
86682         locale.alias.
86684         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
86686         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
86688         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
86690         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
86691         file parsing and set FD_CLOEXEC.
86693 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86695         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
86697 2011-11-14  Andreas Schwab  <schwab@redhat.com>
86699         * malloc/arena.c (arena_get2): Don't call reused_arena when
86700         _int_new_arena failed.
86702 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86704         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
86705         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
86706         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
86707         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86708         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86709         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
86710         to compile strcasecmp and strncasecmp.
86711         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
86712         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
86714         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
86716 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
86718         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
86719         locale-defines.sym to gen-as-const-headers.
86720         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
86721         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
86722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
86723         to compile strcasecmp and strncasecmp.
86724         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
86725         strcasecmp_l and strncasecmp_l.
86726         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
86727         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
86728         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
86729         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
86730         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
86731         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
86732         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
86733         * sysdeps/i386/i686/multiarch/strncase.S: New file.
86734         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
86735         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
86736         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
86738 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
86740         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
86741         result of SYSDEP_GETTIME_CPU to retval.
86742         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
86743         parameter list to macro.  Remove trailing semicolon.  Adjust users.
86745         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
86746         variable.
86748         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
86749         mantissa words.
86750         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
86752         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
86753         from unused variable.
86755         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
86756         DWARF definitions.
86757         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
86758         for assembling.
86760         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
86761         over namespaces.
86763         * sunrpc/rpc_prot.c (rejected): Fix case value.
86765         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
86766         unsigned long long int to avoid warnings in shift.
86768         * posix/regex_internal.c (re_string_reconstruct): Actually use result
86769         of use of trans.
86770         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
86771         variable tmp.
86773         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
86774         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86775         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86777         * nis/nis_table.c (nis_list): Use variable of correct type for
86778         result of __follow_path call.
86780 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86782         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86783         of math functions ceil, trunc, floor, round, and sqrt, when
86784         avaliable on the platform.
86785         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86786         name clash.
86787         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86788         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86789         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86791 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86793         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86794         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86796 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86798         * include/unistd.h: Fix __readlink return type.
86799         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86801 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86803         * stdlib/ucontext.h: Undo last change for makecontext.
86805 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86807         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86809         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86810         * setjmp/setjmp.h: Mark functions as non-leaf.
86811         * setjmp/bits/setjmp2.h: Likewise.
86812         * stdlib/ucontext.h: Likewise.
86814 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86816         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86817         (reused_arena): Don't check arena limit.
86818         (arena_get2): Atomically check arena limit.
86820 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86822         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86823         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86825         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86826         instructions.
86828 2011-11-07  Andreas Schwab  <schwab@redhat.com>
86830         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86831         handler when locking.
86833         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86834         Fix size of allocated buffer.
86836 2011-11-04  Andreas Schwab  <schwab@redhat.com>
86838         [BZ #10103]
86839         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
86840         declarations for long double functions.
86841         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
86843         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
86845 2011-11-03  Andreas Schwab  <schwab@redhat.com>
86847         * nscd/nscd.c (main): Don't start AVC thread until credentials are
86848         installed.
86850         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
86851         is disabled.
86853 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86855         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
86857 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
86859         * include/alloca.h (stackinfo_alloca_round): Define.
86860         (extend_alloca): Use it.
86861         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
86862         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
86863         here.
86865         * scripts/check-local-headers.sh: Ignore libaudit.h.
86867         * nscd/Makefile (extra-objs): Make recursively expanded.
86869 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
86871         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
86872         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
86874         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
86875         * posix/tst-rfc3484-2.c: Likewise.
86876         * posix/tst-rfc3484-3.c: Likewise.
86878         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86879         process_vm_writev.
86880         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
86881         process_vm_writev.
86882         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
86883         process_vm_writev from libc using GLIBC_2.15 version.
86885         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
86887 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
86889         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
86890         stack usage.
86892 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
86894         [BZ #13367]
86895         * nss/getent.c (initgroups_keys): Show error message in case no group
86896         names are given.
86898         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
86899         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
86900         __bump_nl_timestamp.
86901         * nscd/connections (nscd_init): When host database is served open
86902         netlink socket and request notification about configuration changes.
86903         (main_loop_poll): Track netlink file descriptor and bump timestamp
86904         in case data becomes available.
86905         (main_loop_epoll): Likewise.
86906         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
86907         (database_pers_head): Add extra_data fileds.
86908         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
86909         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
86910         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
86911         Adjust caller.
86912         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
86913         in6ai data, call __free_in6ai.
86914         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
86915         Add -DHAVE_NETLINK.
86916         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
86917         interface information.  Reuse previous data if netlink timestamp
86918         is not changed.
86919         (__bump_nl_timestamp): New function.
86920         (__free_in6ai): New function.
86922 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
86924         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
86925         close_not_cancel_no_status here.
86926         (__check_pf): Reorganize code a bit to not call close twice if OOM.
86928 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86930         [BZ #13276]
86931         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
86932         return value.
86934         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
86935         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
86936         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
86938 2011-07-03  Andreas Jaeger  <aj@suse.de>
86940         [BZ #10709]
86941         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
86942         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
86943         * math/libm-test.inc (sin_test): Add test case.
86945 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86947         [BZ #13337]
86948         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
86949         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86951         * elf/chroot_canon.c (chroot_canon): Cleanups.
86953         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
86955         [BZ #13335]
86956         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
86957         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86959         * string/test-strchr.c: Make usable for strchrnul testing.
86960         * string/test-strchrnul.c: New file.
86961         * string/Makefile (strop-tests): Add strchrnul.
86963         * po/it.po: Update from translation team.
86964         * po/es.po: Likewise.
86966 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
86968         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
86969         the three constants needed as parameters.  Drop the others.
86970         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
86971         __m128i_strloadu_tolower.
86972         Create and initialize variable zero and use it in all the places
86973         where _mm_setzero_si128 was used.
86975         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
86976         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
86977         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
86978         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
86979         anymore.
86980         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
86981         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
86982         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
86983         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
86984         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
86985         __mpranred, __mptan.
86986         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
86987         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
86988         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
86989         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
86990         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
86991         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
86992         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
86993         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
86994         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
86996 2011-10-28  Andreas Schwab  <schwab@redhat.com>
86998         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
86999         redefine if SHARED.
87000         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
87002         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
87003         wide char related routines to wcsmbs subdir.
87005 2011-10-27  Andreas Schwab  <schwab@redhat.com>
87007         [BZ #13344]
87008         * misc/sys/cdefs.h (__THROWNL): Define.
87009         * posix/unistd.h: Use __THREADNL instead of __THREAD
87010         for memory synchronization functions.
87012 2011-10-26  Roland McGrath  <roland@hack.frob.com>
87014         [BZ #13349]
87015         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
87016         doesn't exist.
87017         * manual/stdio.texi (Obstack Streams): Node removed.
87019 2011-10-26  Andreas Schwab  <schwab@redhat.com>
87021         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
87022         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87023         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87025         * math/math_private.h (math_force_eval): Allow non-addressable
87026         arguments.
87027         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
87029 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87031         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
87032         file is not needed.
87034         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
87035         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
87036         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87037         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87038         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87039         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87040         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87041         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
87042         Add AVX variants.
87043         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
87044         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
87045         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
87046         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
87047         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
87048         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
87049         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
87050         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
87051         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
87052         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
87053         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
87054         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
87055         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
87056         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
87057         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
87058         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
87059         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
87060         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
87061         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
87063         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
87064         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
87066         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
87067         place.  Use VEX encoding when compiling for AVX.
87069 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87071         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
87072         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
87074         * string/test-strchr.c (do_test): Don't generate NUL bytes.
87076 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87078         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
87079         useless if() expression.
87080         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87081         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87082         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87083         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87084         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87085         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87086         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87087         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87088         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87089         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87090         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87091         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87092         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87093         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87094         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87095         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87096         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87097         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87098         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87100         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
87102 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87104         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
87105         condition.
87106         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87108 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87110         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
87111         .text section.  Avoid duplicate constants.
87112         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87113         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87114         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87115         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87116         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87117         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87118         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87119         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87120         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
87121         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
87122         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
87123         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
87124         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
87125         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
87126         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
87127         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
87128         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
87129         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
87130         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87131         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87132         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87133         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87134         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87135         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
87136         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
87137         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
87138         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
87139         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
87140         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
87141         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
87142         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
87143         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
87144         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
87145         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
87146         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
87147         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
87148         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
87149         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
87150         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
87151         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87152         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87153         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87154         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87155         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87156         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87158 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
87160         * sysdeps/x86_64/dla.h: Move to ...
87161         * sysdeps/x86_64/fpu/dla.h: ...here.
87162         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87163         situations.  Use __builtin_fma only for gcc 4.6 and up.
87165         * config.make.in: Add have-mfma4 entry.
87166         * configure.in: Substitute libc_cv_cc_fma4.
87167         * math/Makefile (dbl-only-routines): Add sincostab.
87168         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87169         Use __sincostab not sincos.
87170         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87171         name is a macro.
87172         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87175         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
87176         using __copysign.
87177         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
87178         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
87179         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87180         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87181         and __inv.
87182         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87183         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87184         __copysign.
87185         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
87186         define aliases when function name is a macro.
87187         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87188         sysdeps/ieee754/dbl-64/sincos.tbl.
87189         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87190         fma4-enabled routines.
87191         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87192         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87193         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87194         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87195         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87196         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87197         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87198         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87199         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87200         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87201         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87202         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87203         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87204         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87205         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87206         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87207         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87208         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87209         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87210         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87211         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87212         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87213         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87214         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87215         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87216         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87217         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87218         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87219         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87220         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87222         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87223         rename.
87224         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87225         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87226         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87227         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87228         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87229         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87230         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87231         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87233 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87235         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87237 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87239         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87241         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87242         prediction.
87243         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87245         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87246         Remove unused variable magic_bits.
87247         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87249         * string/strnlen.c: Define and use STRNLEN macro.
87250         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87251         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87252         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87253         * wcsmbs/wcslen.c: Define and use WCSLEN.
87254         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87255         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87256         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87257         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87258         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87259         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87260         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87262 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87265         strnlen-sse2-no-bsf.
87266         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87267         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87268         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87269         Add strnlen support.
87270         (USE_AS_STRNLEN): New macro.
87271         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87272         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87273         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87274         * sysdeps/x86_64/wcslen.S: New file.
87276 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87278         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87279         XMM-moves are used for copying on small sizes.
87281 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87283         * wcsmbs/Makefile (strop-tests): Add wcschr.
87284         * wcsmbs/test-wcschr.c: New file.
87285         * string/test-strchr.c: Update.
87286         Add wcschr support.
87287         (WIDE): New macro.
87289 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87291         * wcsmbs/Makefile (strop-tests): Add wcslen.
87292         * wcsmbs/test-wcslen.c: New file.
87293         * string/test-strlen.c: Update.
87294         Add wcslen support.
87295         (WIDE): New macro.
87297 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87299         * po/it.po: Update from translation team.
87301 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87303         * sysdeps/x86_64/wcscmp.S: Update.
87304         Fix wrong comparison semantics.
87305         wcscmp shall use signed comparison not unsigned.
87306         Don't use substraction to avoid overflow bug.
87307         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87308         * wcsmbc/wcscmp.c: Likewise.
87309         * string/test-strcmp.c: Likewise.
87310         Add new tests to check cases with negative values.
87312 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87314         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87315         * sysdeps/x86_64/dla.h: ...here.  New file.
87316         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87317         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87318         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87319         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87320         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87321         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87322         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87323         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87324         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87326 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87328         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87329         __ynl_finite aliases.
87331 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87335         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87336         define DLA_FMA.
87337         [DLA_FMA] (EMULV): Use DLA_FMA.
87338         [DLA_FMA] (MUL12): Use EMULV.
87339         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87340         that are not needed.
87341         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87342         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87343         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87344         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87345         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87346         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87347         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87349 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
87351         * math/s_nan.c: Undef __nan.
87352         * math/s_nanf.c: Undef __nanf.
87353         * math/s_nanl.c: Undef __nanl.
87354         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87355         "math_private.h".
87357 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87359         * math/s_catan.c: Add branch predictions.
87360         * math/s_catanf.c: Likewise.
87361         * math/s_catanh.c: Likewise.
87362         * math/s_catanhf.c: Likewise.
87363         * math/s_catanhl.c: Likewise.
87364         * math/s_catanl.c: Likewise.
87365         * math/s_cexp.c: Likewise.
87366         * math/s_cexpf.c: Likewise.
87367         * math/s_cexpl.c: Likewise.
87368         * math/s_clog.c: Likewise.
87369         * math/s_clog10.c: Likewise.
87370         * math/s_clog10f.c: Likewise.
87371         * math/s_clog10l.c: Likewise.
87372         * math/s_clogf.c: Likewise.
87373         * math/s_clogl.c: Likewise.
87374         * math/s_csqrt.c: Likewise.
87375         * math/s_csqrtf.c: Likewise.
87376         * math/s_csqrtl.c: Likewise.
87377         * math/s_ctanf.c: Likewise.
87378         * math/s_ctanh.c: Likewise.
87379         * math/s_ctanhf.c: Likewise.
87380         * math/s_ctanhl.c: Likewise.
87381         * math/s_ctanl.c: Likewise.
87383         * math/math_private.h: Define __nan, __nanf, __nanl.
87384         * math/s_cacosh.c: Include <math_private.h>.
87385         * math/s_cacoshl.c: Likewise.
87386         * math/s_casinh.c: Likewise.
87387         * math/s_casinhf.c: Likewise.
87388         * math/s_casinhl.c: Likewise.
87389         * math/s_ccos.c: Rely entire on ccosh.
87390         * math/s_ccosf.c: Rely entire on ccoshf.
87391         * math/s_ccosl.c: Rely entirely on ccoshl.
87392         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
87393         Remove tests for FE_INVALID.
87394         * math/s_ccoshf.c: Likewise.
87395         * math/s_ccoshl.c: Likewise.
87396         * math/s_csin.c: Likewise.
87397         * math/s_csinf.c: Likewise.
87398         * math/s_csinh.c Likewise.
87399         * math/s_csinhf.c: Likewise.
87400         * math/s_csinhl.c: Likewise.
87401         * math/s_csinl.c: Likewise.
87402         * math/s_ctan.c: Likewise.
87403         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87404         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87405         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87407 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
87409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87410         compilation problems.
87412         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87413         __builtin_expect.
87415 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
87417         * sysdeps/i386/configure.in: Test for -mfma4 option.
87418         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87419         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87420         COMMON_CPUID_INDEX_80000001.
87421         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87422         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87423         use it if FMA3 is not supported.
87424         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87426         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87427         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87429 2011-10-20  Andreas Schwab  <schwab@redhat.com>
87431         [BZ #12892]
87432         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87433         it would create a cycle with a link time dependency.
87435 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
87437         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87438         instruction.
87439         * string/Makefile (strop-tests): Add rawmemchr.
87440         * string/test-rawmemchr.c: New file.
87442         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87443         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
87444         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
87445         when compiling str{,n}casecmp and when AVX is available.  Hook up
87446         new optimized code in initializers.
87448 2011-10-19  Andreas Schwab  <schwab@redhat.com>
87450         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
87451         __feraiseexcept instead of feraiseexcept.
87453 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
87455         * math/math_private.h: Define defaults for libc_fetestexcept and
87456         libc_feupdateenv.
87457         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
87458         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
87459         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87460         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87461         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87462         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87463         libc_fetestexcept and libc_feupdateenv.
87465         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
87466         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
87467         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
87468         * sysdeps/x86_64/fpu/math_private.h: Define special version of
87469         libc_feholdexcept_setround.
87471         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
87472         Add s_nearbyint-c and s_nearbyintf-c.
87473         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
87474         nearbyintf inlines.
87475         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
87476         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
87477         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
87478         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
87480         * math/math_private.h: Define defaults for libc_fegetround,
87481         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
87482         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
87483         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
87484         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
87485         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
87486         standard functions.
87487         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87488         Remove comments and hacks for old compiler versions.
87489         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87490         libc_fegetround, libc_fesetround, libc_feholdexcept, and
87491         libc_feholdexceptl.
87493 2011-10-18  Andreas Schwab  <schwab@redhat.com>
87495         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
87496         (__feraiseexcept_renamed): Add __NTH.
87497         (feraiseexcept): Add __NTH.  Rename local variables to fix
87498         namespace violations.
87500 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
87502         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
87504         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
87506         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
87507         recently added interfaces.
87508         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
87510         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
87511         about macro parameter expansion.
87513         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
87514         __NO_MATH_INLINES is defined.  Cleanups.
87516         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
87517         and __floorf is target has SSE4.1.
87518         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
87519         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
87520         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
87521         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
87523         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
87524         name.
87525         (floorf): Likewise.
87527         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
87529 2011-10-17  Andreas Schwab  <schwab@redhat.com>
87531         * misc/sys/cdefs.h: Fix last change.
87533         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
87534         database lookup.
87536 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
87538         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
87540         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
87541         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87542         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87543         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87544         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87545         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87546         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87547         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87548         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87549         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
87550         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
87551         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
87552         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
87553         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
87554         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
87555         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
87556         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
87557         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
87558         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
87559         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
87560         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
87561         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
87563         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
87564         ceil, ceilf, floor, floorf.
87566         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
87567         Perform IRELATIVE relocations last.
87569         * elf/do-rel.h: Add another parameter nrelative, replacing the
87570         local variable with the same name.  Change name of the function
87571         to end in Rel or Rela (uppercase).
87572         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
87573         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
87574         elf_dynamic_do_##reloc function.
87576 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87578         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
87579         is sufficient, at least on modern CPUs.
87581         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
87583         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
87584         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
87586         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
87587         __expl_finite.
87588         * math/bits/math-finite.h: Add entries for exp.
87589         * math/e_expl.c: Add __*_finite alias.
87590         * sysdeps/i386/fpu/e_exp.S: Likewise.
87591         * sysdeps/i386/fpu/e_expf.S: Likewise.
87592         * sysdeps/i386/fpu/e_expl.c: Likewise.
87593         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87594         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87595         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
87596         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
87597         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
87598         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87599         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87601         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
87602         is sufficient, at least on modern CPUs.
87604         * ctype/ctype-info.c (__ctype_init): Define.
87605         * include/ctype.h (__ctype_init): Declare.
87606         (__ctype_b_loc): The variable is always initialized.
87607         (__ctype_toupper_loc): Likewise.
87608         (__ctype_tolower_loc): Likewise.
87609         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
87610         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
87612 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
87614         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
87616         * configure.in: Also look in $cxxmachine/include for C++ system
87617         headers.
87619 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87621         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
87622         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
87623         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
87624         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
87625         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
87626         (USE_AS_WMEMCMP): New macro.
87627         Fixing indents.
87628         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
87629         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
87630         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
87631         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
87632         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87633         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
87634         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
87635         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
87636         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
87637         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
87638         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
87639         (USE_AS_WMEMCMP): New macro.
87640         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
87641         * sysdeps/string/test-memcmp.c: Update.
87642         Fix simple_wmemcmp.
87643         Add new tests.
87644         * wcsmbs/wmemcmp.c: Update.
87645         (WMEMCMP): New macro.
87646         Fix overflow bug.
87648 2011-10-12  Andreas Jaeger  <aj@suse.de>
87650         [BZ #13268]
87651         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
87653 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87655         * libio/iofwide.c (do_length): Avoid warning.
87657         * ctype/ctype.h (__isctype_f): Add missing __THROW.
87659 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
87661         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
87663         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
87664         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
87665         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
87666         * sysdeps/i386/i686/fpu/e_log.S: New file.
87667         * sysdeps/i386/i686/fpu/e_logf.S: New file.
87668         * sysdeps/i386/i686/fpu/e_logl.S: New file.
87670         * ctype/ctype.h: Add support for inlined isXXX functions when
87671         compiling C++ code.
87673 2011-10-14  Andreas Schwab  <schwab@redhat.com>
87675         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87677         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
87679 2011-10-13  Roland McGrath  <roland@hack.frob.com>
87681         [BZ #13291]
87682         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
87684 2011-10-13  Andreas Schwab  <schwab@redhat.com>
87686         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
87687         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
87688         feraiseexcept.
87690         * sysdeps/x86_64/memrchr.S: Check for zero size.
87692         * string/stratcliff.c: Add memrchr tests.
87694 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87696         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87697         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
87698         rawmemchr-sse2 rawmemchr-sse2-bsf.
87699         * sysdeps/i386/i686/multiarch/memchr.S: New file.
87700         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
87701         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
87702         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
87703         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
87704         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
87705         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
87706         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
87707         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
87708         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
87709         * string/memrchr.c (MEMRCHR): New macro.
87711 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
87713         Add integration with gcc's -ffinite-math-only and optimize wrapper
87714         functions in libm.
87715         * Versions.def: Define GLIBC_2.15 version for libm.
87716         * math/Makefile (headers): Add bits/math-finite.h.
87717         * math/bits/math-finite.h: New file.
87718         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
87719         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
87720         * math/e_acoshl.c: Add __*_finite alias.
87721         * math/e_acosl.c: Likewise.
87722         * math/e_asinl.c: Likewise.
87723         * math/e_atan2l.c: Likewise.
87724         * math/e_atanhl.c: Likewise.
87725         * math/e_coshl.c: Likewise.
87726         * math/e_exp10.c: Likewise.
87727         * math/e_exp10f.c: Likewise.
87728         * math/e_exp10l.c: Likewise.
87729         * math/e_exp2l.c: Likewise.
87730         * math/e_fmodl.c: Likewise.
87731         * math/e_gammal_r.c: Likewise.
87732         * math/e_hypotl.c: Likewise.
87733         * math/e_j0l.c: Likewise.
87734         * math/e_j1l.c: Likewise.
87735         * math/e_jnl.c: Likewise.
87736         * math/e_lgammal_r.c: Likewise.
87737         * math/e_log10l.c: Likewise.
87738         * math/e_log2l.c: Likewise.
87739         * math/e_logl.c: Likewise.
87740         * math/e_powl.c: Likewise.
87741         * math/e_sinhl.c: Likewise.
87742         * math/e_sqrtl.c: Likewise.
87743         * math/e_scalb.c: Completely rewritten and optimized.
87744         * math/e_scalbf.c: Likewise.
87745         * math/e_scalbl.c: Likewise.
87746         * math/w_acos.c: Likewise.
87747         * math/w_acosf.c: Likewise.
87748         * math/w_acosl.c: Likewise.
87749         * math/w_acosh.c: Likewise.
87750         * math/w_acoshf.c: Likewise.
87751         * math/w_acoshl.c: Likewise.
87752         * math/w_asin.c: Likewise.
87753         * math/w_asinf.c: Likewise.
87754         * math/w_asinl.c: Likewise.
87755         * math/w_atan2.c: Likewise.
87756         * math/w_atan2f.c: Likewise.
87757         * math/w_atan2l.c: Likewise.
87758         * math/w_atanh.c: Likewise.
87759         * math/w_atanhf.c: Likewise.
87760         * math/w_atanhl.c: Likewise.
87761         * math/w_exp10.c: Likewise.
87762         * math/w_exp10f.c: Likewise.
87763         * math/w_exp10l.c: Likewise.
87764         * math/w_fmod.c: Likewise.
87765         * math/w_fmodf.c: Likewise.
87766         * math/w_fmodl.c: Likewise.
87767         * math/w_j0.c: Likewise.
87768         * math/w_j0f.c: Likewise.
87769         * math/w_j0l.c: Likewise.
87770         * math/w_j1.c: Likewise.
87771         * math/w_j1f.c: Likewise.
87772         * math/w_j1l.c: Likewise.
87773         * math/w_jn.c: Likewise.
87774         * math/w_jnf.c: Likewise.
87775         * math/w_log.c: Likewise.
87776         * math/w_logf.c: Likewise.
87777         * math/w_logl.c: Likewise.
87778         * math/w_log10.c: Likewise.
87779         * math/w_log10f.c: Likewise.
87780         * math/w_log10l.c: Likewise.
87781         * math/w_log2.c: Likewise.
87782         * math/w_log2f.c: Likewise.
87783         * math/w_log2l.c: Likewise.
87784         * math/w_pow.c: Likewise.
87785         * math/w_powf.c: Likewise.
87786         * math/w_powl.c: Likewise.
87787         * math/w_remainder.c: Likewise.
87788         * math/w_remainderf.c: Likewise.
87789         * math/w_remainderl.c: Likewise.
87790         * math/w_scalb.c: Likewise.
87791         * math/w_scalbf.c: Likewise.
87792         * math/w_scalbl.c: Likewise.
87793         * math/w_sqrt.c: Likewise.
87794         * math/w_sqrtf.c: Likewise.
87795         * math/w_sqrtl.c: Likewise.
87796         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87797         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87798         used.
87799         * math/math_private.h: Declare __kernel_standard_f.
87800         * math/w_cosh.c: Remove cruft and optimize a bit.
87801         * math/w_coshf.c: Likewise.
87802         * math/w_coshl.c: Likewise.
87803         * math/w_exp2.c: Likewise.
87804         * math/w_exp2f.c: Likewise.
87805         * math/w_exp2l.c: Likewise.
87806         * math/w_hypot.c: Likewise.
87807         * math/w_hypotf.c: Likewise.
87808         * math/w_hypotl.c: Likewise.
87809         * math/w_lgamma.c: Likewise.
87810         * math/w_lgamma_r.c: Likewise.
87811         * math/w_lgammaf.c: Likewise.
87812         * math/w_lgammaf_r.c: Likewise.
87813         * math/w_lgammal.c: Likewise.
87814         * math/w_lgammal_r.c: Likewise.
87815         * math/w_sinh.c: Likewise.
87816         * math/w_sinhf.c: Likewise.
87817         * math/w_sinhl.c: Likewise.
87818         * math/w_tgamma.c: Likewise.
87819         * math/w_tgammaf.c: Likewise.
87820         * math/w_tgammal.c: Likewise.
87821         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87822         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87823         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87824         Minor optimizations.  Pretty printing.  Remove cruft.
87825         * sysdeps/i386/fpu/e_acosf.S: Likewise.
87826         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87827         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87828         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87829         * sysdeps/i386/fpu/e_acosl.c: Likewise.
87830         * sysdeps/i386/fpu/e_asin.S: Likewise.
87831         * sysdeps/i386/fpu/e_asinf.S: Likewise.
87832         * sysdeps/i386/fpu/e_atan2.S: Likewise.
87833         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
87834         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
87835         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87836         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87837         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87838         * sysdeps/i386/fpu/e_exp10.S: Likewise.
87839         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
87840         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
87841         * sysdeps/i386/fpu/e_exp2.S: Likewise.
87842         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
87843         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
87844         * sysdeps/i386/fpu/e_fmod.S: Likewise.
87845         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
87846         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
87847         * sysdeps/i386/fpu/e_hypot.S: Likewise.
87848         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
87849         * sysdeps/i386/fpu/e_log.S: Likewise.
87850         * sysdeps/i386/fpu/e_log10.S: Likewise.
87851         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87852         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87853         * sysdeps/i386/fpu/e_log2.S: Likewise.
87854         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87855         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87856         * sysdeps/i386/fpu/e_logf.S: Likewise.
87857         * sysdeps/i386/fpu/e_logl.S: Likewise.
87858         * sysdeps/i386/fpu/e_pow.S: Likewise.
87859         * sysdeps/i386/fpu/e_powf.S: Likewise.
87860         * sysdeps/i386/fpu/e_powl.S: Likewise.
87861         * sysdeps/i386/fpu/e_remainder.S: Likewise.
87862         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
87863         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
87864         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87865         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87866         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87867         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
87868         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
87869         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
87870         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87871         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87872         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87873         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87874         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87875         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87876         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
87877         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87878         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87879         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87880         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87881         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87883         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87884         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87885         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87886         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87887         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87888         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87889         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87890         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87891         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87892         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87893         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87894         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87895         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87896         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87897         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87898         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87899         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87900         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87901         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87902         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87904         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87905         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87906         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87907         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87908         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87909         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87910         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87911         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87912         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87913         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87914         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87915         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87916         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87917         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87918         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87919         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
87920         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87921         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87922         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87923         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87924         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87925         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87926         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87927         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87928         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87929         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87930         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87931         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87932         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87933         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87934         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87935         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87937         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87938         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
87939         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87940         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87941         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87942         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87943         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87944         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87945         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87946         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87947         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87948         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87949         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87950         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87951         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87952         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
87953         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87954         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87955         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87956         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87957         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87958         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87959         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87960         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87961         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87962         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87963         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
87964         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87965         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87966         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87967         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
87968         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
87969         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
87970         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
87971         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
87972         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
87973         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
87974         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87975         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87976         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87977         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87978         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
87979         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87980         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
87981         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
87982         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
87983         (__isnanf): Likewise.
87984         (__isinf_ns): Likewise.
87985         (__isinf_nsf): Likewise.
87986         (__finite): Likewise.
87987         (__finitef): Likewise.
87988         (__ieee754_sqrt): Define as macro.
87989         (__ieee754_sqrtf): Define as macro.
87990         (__ieee754_sqrtl): Define as macro.
87991         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
87992         inlined copy.
87993         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
87994         __FINITE_MATH_ONLY__ consistent.
87995         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
87997 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
87999         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
88000         of rawmemchr.
88002         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
88004 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
88006         * po/ja.po: Update from translation team.
88008 2011-10-08  Roland McGrath  <roland@hack.frob.com>
88010         * locale/programs/locarchive.c (prepare_address_space): New function.
88011         (create_archive, enlarge_archive, open_archive): Use it.
88013         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
88014         inside [SHARED], where it is used.
88016         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
88018         * nss/getent.c (netgroup_keys): Remove unused variable.
88019         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
88021 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
88023         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
88024         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
88025         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
88026         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
88027         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
88028         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
88029         * math/Makefile (libm-calls): Add s_isinf_ns.
88030         * math/divtc3.c: Use __isinf_nsl instead of isinf.
88031         * math/multc3.c: Likewise.
88032         * math/s_casin.c: Likewise.
88033         * math/s_casinf.c: Likewise.
88034         * math/s_casinl.c: Likewise.
88035         * math/s_ccos.c: Likewise.
88036         * math/s_ccosf.c: Likewise.
88037         * math/s_ccosl.c: Likewise.
88038         * math/s_ctan.c: Likewise.
88039         * math/s_ctanf.c: Likewise.
88040         * math/s_ctanh.c: Likewise.
88041         * math/s_ctanhf.c: Likewise.
88042         * math/s_ctanhl.c: Likewise.
88043         * math/s_ctanl.c: Likewise.
88044         * math/w_fmod.c: Likewise.
88045         * math/w_fmodf.c: Likewise.
88046         * math/w_fmodl.c: Likewise.
88047         * math/w_remainder.c: Likewise.
88048         * math/w_remainderf.c: Likewise.
88049         * math/w_remainderl.c: Likewise.
88050         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
88051         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
88052         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
88053         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
88054         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
88055         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
88056         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
88057         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
88059         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
88060         of the number.
88061         * stdio-common/printf_fphex.c: Likewise.
88062         * stdio-common/printf_size.c: Likewise.
88064         * math/e_exp10.c: Include math_private.h using <...> not "...".
88065         * math/e_exp10f.c: Likewise.
88066         * math/e_exp10l.c: Likewise.
88067         * math/e_exp2l.c: Likewise.
88068         * math/e_j0l.c: Likewise.
88069         * math/e_j1l.c: Likewise.
88070         * math/e_jnl.c: Likewise.
88071         * math/e_lgammal_r.c: Likewise.
88072         * math/e_rem_pio2l.c: Likewise.
88073         * math/e_scalb.c: Likewise.
88074         * math/e_scalbf.c: Likewise.
88075         * math/e_scalbl.c: Likewise.
88076         * math/k_cosl.c: Likewise.
88077         * math/k_sinl.c: Likewise.
88078         * math/k_tanl.c: Likewise.
88079         * math/s_cacoshf.c: Likewise.
88080         * math/s_catan.c: Likewise.
88081         * math/s_catanf.c: Likewise.
88082         * math/s_catanh.c: Likewise.
88083         * math/s_catanhf.c: Likewise.
88084         * math/s_catanhl.c: Likewise.
88085         * math/s_catanl.c: Likewise.
88086         * math/s_ccosh.c: Likewise.
88087         * math/s_ccoshf.c: Likewise.
88088         * math/s_ccoshl.c: Likewise.
88089         * math/s_cexp.c: Likewise.
88090         * math/s_cexpf.c: Likewise.
88091         * math/s_cexpl.c: Likewise.
88092         * math/s_clog.c: Likewise.
88093         * math/s_clog10.c: Likewise.
88094         * math/s_clog10f.c: Likewise.
88095         * math/s_clog10l.c: Likewise.
88096         * math/s_clogf.c: Likewise.
88097         * math/s_clogl.c: Likewise.
88098         * math/s_csin.c: Likewise.
88099         * math/s_csinf.c: Likewise.
88100         * math/s_csinh.c: Likewise.
88101         * math/s_csinhf.c: Likewise.
88102         * math/s_csinhl.c: Likewise.
88103         * math/s_csinl.c: Likewise.
88104         * math/s_csqrt.c: Likewise.
88105         * math/s_csqrtf.c: Likewise.
88106         * math/s_csqrtl.c: Likewise.
88107         * math/s_ctan.c: Likewise.
88108         * math/s_ctanf.c: Likewise.
88109         * math/s_ctanh.c: Likewise.
88110         * math/s_ctanhf.c: Likewise.
88111         * math/s_ctanhl.c: Likewise.
88112         * math/s_ctanl.c: Likewise.
88113         * math/s_ldexp.c: Likewise.
88114         * math/s_ldexpf.c: Likewise.
88115         * math/s_ldexpl.c: Likewise.
88116         * math/s_significand.c: Likewise.
88117         * math/s_significandf.c: Likewise.
88118         * math/s_significandl.c: Likewise.
88119         * math/w_acos.c: Likewise.
88120         * math/w_acosf.c: Likewise.
88121         * math/w_acosh.c: Likewise.
88122         * math/w_acoshf.c: Likewise.
88123         * math/w_acoshl.c: Likewise.
88124         * math/w_acosl.c: Likewise.
88125         * math/w_asin.c: Likewise.
88126         * math/w_asinf.c: Likewise.
88127         * math/w_asinl.c: Likewise.
88128         * math/w_atan2.c: Likewise.
88129         * math/w_atan2f.c: Likewise.
88130         * math/w_atan2l.c: Likewise.
88131         * math/w_atanh.c: Likewise.
88132         * math/w_atanhf.c: Likewise.
88133         * math/w_atanhl.c: Likewise.
88134         * math/w_cosh.c: Likewise.
88135         * math/w_coshf.c: Likewise.
88136         * math/w_coshl.c: Likewise.
88137         * math/w_dremf.c: Likewise.
88138         * math/w_exp10.c: Likewise.
88139         * math/w_exp10f.c: Likewise.
88140         * math/w_exp10l.c: Likewise.
88141         * math/w_exp2.c: Likewise.
88142         * math/w_exp2f.c: Likewise.
88143         * math/w_fmod.c: Likewise.
88144         * math/w_fmodf.c: Likewise.
88145         * math/w_fmodl.c: Likewise.
88146         * math/w_hypot.c: Likewise.
88147         * math/w_hypotf.c: Likewise.
88148         * math/w_hypotl.c: Likewise.
88149         * math/w_j0.c: Likewise.
88150         * math/w_j0f.c: Likewise.
88151         * math/w_j0l.c: Likewise.
88152         * math/w_j1.c: Likewise.
88153         * math/w_j1f.c: Likewise.
88154         * math/w_j1l.c: Likewise.
88155         * math/w_jn.c: Likewise.
88156         * math/w_jnf.c: Likewise.
88157         * math/w_jnl.c: Likewise.
88158         * math/w_lgamma.c: Likewise.
88159         * math/w_lgamma_r.c: Likewise.
88160         * math/w_lgammaf.c: Likewise.
88161         * math/w_lgammaf_r.c: Likewise.
88162         * math/w_lgammal.c: Likewise.
88163         * math/w_lgammal_r.c: Likewise.
88164         * math/w_log.c: Likewise.
88165         * math/w_log10.c: Likewise.
88166         * math/w_log10f.c: Likewise.
88167         * math/w_log10l.c: Likewise.
88168         * math/w_log2.c: Likewise.
88169         * math/w_log2f.c: Likewise.
88170         * math/w_log2l.c: Likewise.
88171         * math/w_logf.c: Likewise.
88172         * math/w_logl.c: Likewise.
88173         * math/w_pow.c: Likewise.
88174         * math/w_powf.c: Likewise.
88175         * math/w_powl.c: Likewise.
88176         * math/w_remainder.c: Likewise.
88177         * math/w_remainderf.c: Likewise.
88178         * math/w_remainderl.c: Likewise.
88179         * math/w_scalb.c: Likewise.
88180         * math/w_scalbf.c: Likewise.
88181         * math/w_scalbl.c: Likewise.
88182         * math/w_sinh.c: Likewise.
88183         * math/w_sinhf.c: Likewise.
88184         * math/w_sinhl.c: Likewise.
88185         * math/w_sqrt.c: Likewise.
88186         * math/w_sqrtf.c: Likewise.
88187         * math/w_sqrtl.c: Likewise.
88188         * math/w_tgamma.c: Likewise.
88189         * math/w_tgammaf.c: Likewise.
88190         * math/w_tgammal.c: Likewise.
88192         * po/ja.po: Update from translation team.
88194 2011-09-29  Andreas Jaeger  <aj@suse.de>
88196         [BZ #13179]
88197         * sunrpc/netname.c (netname2host): Fix logic.
88199         [BZ #6779]
88200         [BZ #6783]
88201         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88202         correctly.
88203         * math/w_remainder.c (__remainder): Likewise.
88204         * math/w_remainderf.c (__remainderf): Likewise.
88205         * math/libm-test.inc (remainder_test): Add test cases.
88207 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88209         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
88210         sdiv_qrnnd.
88212 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88214         * string/test-memcmp.c: Avoid unncessary #defines.
88215         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88217 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88219         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88220         Use new sse2 version for core i3 - i7 as it's faster
88221         than sse42 version.
88222         (bit_Prefer_PMINUB_for_stringop): New.
88223         * sysdeps/x86_64/rawmemchr.S: Update.
88224         Replace with faster SSE2 version.
88225         * sysdeps/x86_64/memrchr.S: New file.
88226         * sysdeps/x86_64/memchr.S: Update.
88227         Replace with faster SSE2 version.
88229 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88231         * elf/dl-load.c (lose): Add cast to avoid warning.
88233 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88235         * po/ca.po: Update from translation team.
88237         * inet/getnetgrent_r.c: Hook up nscd.
88238         * nscd/Makefile (routines): Add nscd_netgroup.
88239         (nscd-modules): Add netgroupcache.
88240         (CFLAGS-netgroupcache.c): Define.
88241         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88242         (cache_search): Add const to second parameter.
88243         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88244         INNETGR.
88245         (dbs): Add netgrdb entry.
88246         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88247         (verify_persistent_db): Handle netgrdb.
88248         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88249         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88250         GETFDNETGR.
88251         (netgroup_response_header): Define.
88252         (innetgroup_response_header): Define.
88253         (datahead): Add netgroup_response_header and innetgroup_response_header
88254         elements.
88255         * nscd/nscd.conf: Add entries for netgroup cache.
88256         * nscd/nscd.h (dbtype): Add netgrdb.
88257         (_PATH_NSCD_NETGROUP_DB): Define.
88258         (netgroup_iov_disabled): Declare.
88259         (xmalloc, xcalloc, xrealloc): Move declarations here.
88260         (cache_search): Adjust prototype.
88261         Add netgroup-related prototypes.
88262         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88263         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88264         (__nscd_innetgr): Declare.
88265         * nscd/selinux.c (perms): Use access_vector_t as element type and
88266         add netgroup-related initializers.
88267         * nscd/netgroupcache.c: New file.
88268         * nscd/nscd_netgroup.c: New file.
88269         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88270         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88271         For four parameters use innetgr.
88272         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88273         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88274         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88275         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88277         * nscd/connections.c (register_traced_file): Don't register file
88278         for disabled databases.
88280 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88282         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88284         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88285         from tree and freeing node.
88287 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88289         * nss/nsswitch.c (__nss_database_lookup): Handle
88290         nss_parse_service_list out of memory case.
88292 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88294         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88295         out of memory case.
88297 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88299         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88300         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88301         pass it down.
88302         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88303         elf_machine_rela, elf_machine_lazy_rel.
88304         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88305         (ELF_DYNAMIC_DO_REL): Likewise.
88306         (ELF_DYNAMIC_DO_RELA): Likewise.
88307         (ELF_DYNAMIC_RELOCATE): Likewise.
88308         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88309         to ELF_DYNAMIC_DO_REL.
88310         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88311         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88312         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88313         elf_machine_rela.
88314         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88315         skip_ifunc, don't call ifunc function if non-zero.
88316         (elf_machine_rela): Likewise.
88317         (elf_machine_lazy_rel): Likewise.
88318         (elf_machine_lazy_rela): Likewise.
88319         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88320         (elf_machine_lazy_rel): Likewise.
88321         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88322         Likewise.
88323         (elf_machine_lazy_rel): Likewise.
88324         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88325         Likewise.
88326         (elf_machine_lazy_rel): Likewise.
88327         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88328         (elf_machine_lazy_rel): Likewise.
88329         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88330         (elf_machine_lazy_rel): Likewise.
88331         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88332         (elf_machine_lazy_rel): Likewise.
88333         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88334         (elf_machine_lazy_rel): Likewise.
88335         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88336         (elf_machine_lazy_rel): Likewise.
88337         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88338         (elf_machine_lazy_rel): Likewise.
88340 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
88342         * nss/nss_files/files-init.c (_nss_files_init): Use static
88343         initialization for all the *_traced_file variables.
88345 2011-09-28  Andreas Schwab  <schwab@redhat.com>
88347         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88349 2011-09-27  Roland McGrath  <roland@hack.frob.com>
88351         [BZ #13226]
88352         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88354 2011-09-27  Andreas Schwab  <schwab@redhat.com>
88356         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88357         Reread the line before reparsing it.
88359 2011-09-26  Andreas Schwab  <schwab@redhat.com>
88361         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88363 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
88364             Maxim Kuvyrkov  <maxim@codesourcery.com>
88365             Joseph Myers  <joseph@codesourcery.com>
88367         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88368         if needed for __stack_chk_guard.
88370 2011-09-19  Roland McGrath  <roland@hack.frob.com>
88372         * sysdeps/posix/spawni.c (script_execute): Always define it.
88373         It will be optimized away if unused.
88374         (maybe_script_execute): New function.
88375         (__spawni): Call it.
88377         * Makerules: Don't include tls.make.
88378         (config-tls): Always set to thread.
88379         * tls.make.c: File removed.
88381 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
88383         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88384         * config.make.in (CPPFLAGS-config): New substituted variable.
88386 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88388         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88390         [BZ #13192]
88391         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88392         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88394 2011-09-15  Roland McGrath  <roland@hack.frob.com>
88396         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88397         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88398         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88399         (CALL_FAIL): Likewise.
88400         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88401         (CALL_FAIL): Macro removed.
88402         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88404 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88406         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88407         for __FINITE_MATH_ONLY__ == 1.
88409 2011-09-15  Andreas Schwab  <schwab@redhat.com>
88411         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88412         __ieee754_sqrt instead of sqrt.
88413         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88414         __ieee754_sqrtf instead of sqrtf.
88415         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88416         __floorf instead of floorf.
88417         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88418         __floorf, __truncf instead of floorf, truncf.
88420 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
88422         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88424         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88425         __extern_always_inline.
88426         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88427         32-bit.
88429 2011-09-14  Andreas Schwab  <schwab@redhat.com>
88431         * elf/rtld.c (dl_main): Also relocate in dependency order when
88432         doing symbol dependency testing.
88434 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
88436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88437         Always define `refsym'.
88439 2011-09-13  Andreas Schwab  <schwab@redhat.com>
88441         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88442         (__FD_ELT): Renamed from __FDELT.
88443         * misc/bits/select2.h (__FD_ELT): Likewise.
88444         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
88445         __FD_MASK instead of __FDELT, __FDMASK.
88446         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88447         Likewise.
88448         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88449         Likewise.
88451         * elf/Makefile (gen-ldd): Fix pattern.
88453         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
88454         (init_tls): Likewise.
88456 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
88458         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
88460 2011-09-12  Andreas Schwab  <schwab@redhat.com>
88462         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
88463         `struct cmsghdr *' instead of `void *'.
88464         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
88465         Likewise.
88467 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
88469         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
88470         if non-absolute.
88471         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
88472         ldd_rewrite_script.
88474 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
88476         * configure.in: Remove --with-tls option.
88477         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
88478         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
88479         out in case it is missing.
88480         * sysdeps/ia64/elf/configure.in: Likewise.
88481         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
88482         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
88483         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
88484         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
88485         * sysdeps/sh/elf/configure.in: Likewise.
88486         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
88487         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88488         * sysdeps/x86_64/elf/configure.in: Likewise.
88489         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
88490         * sysdeps/mach/hurd/tls.h: Likewise.
88492         [BZ #13067]
88493         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
88495         [BZ #13090]
88496         * configure.in: Fix use of AC_INIT.
88498         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
88500 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
88502         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
88503         __set_errno.
88504         * malloc/hooks.c: Likewise.
88506         [BZ #11929]
88507         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
88508         variables statically.
88509         (narenas): Initialize.
88510         (list_lock): Initialize.
88511         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
88512         initializtion of main_arena and list_lock.  Small cleanups.
88513         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
88514         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
88515         Add initializers to main_arena and mp_.
88516         (malloc_state): Remove pagesize member.  Change all users to use
88517         GLRO(dl_pagesize).
88519         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
88520         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
88521         is always initialized.
88523         * malloc/malloc.c: Removed unused configurations and dead code.
88524         * malloc/arena.c: Likewise.
88525         * malloc/hooks.c: Likewise.
88526         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
88528         * include/tls.h: Removed.  USE___THREAD must always be defined.
88529         * bits/libc-tsd.h: Don't handle !USE___THREAD.
88530         * elf/dl-libc.c: Likewise.
88531         * elf/dl-tsd.c: Likewise.
88532         * include/errno.h: Likewise.
88533         * include/netdb.h: Likewise.
88534         * include/resolv.h: Likewise.
88535         * inet/herrno-loc.c: Likewise.
88536         * inet/herrno.c: Likewise.
88537         * malloc/arena.c: Likewise.
88538         * malloc/hooks.c: Likewise.
88539         * malloc/malloc.c: Likewise.
88540         * resolv/res-state.c: Likewise.
88541         * resolv/res_libc.c: Likewise.
88542         * sysdeps/i386/dl-machine.h: Likewise.
88543         * sysdeps/ia64/dl-machine.h: Likewise.
88544         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
88545         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
88546         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
88547         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
88548         * sysdeps/sh/dl-machine.h: Likewise.
88549         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
88550         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
88551         * sysdeps/unix/i386/sysdep.S: Likewise.
88552         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
88553         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
88554         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
88555         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
88556         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
88557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
88558         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
88559         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
88560         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88561         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
88562         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88563         * sysdeps/x86_64/dl-machine.h: Likewise.
88564         * tls.make.c: Likewise.
88566         * configure.in: Remove --with-__thread option.  Make tests for
88567         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
88568         tls_model attribute fail if no support is available.  Remove
88569         USE_IN_LIBIO.
88570         * Makeconfig: Adjust for dropped configure option.  All features are
88571         now mandatory.
88572         * Makerules: Likewise.
88573         * Versions.def: Likewise.
88574         * argp/argp-fmtstream.c: Likewise.
88575         * argp/argp-fmtstream.h: Likewise.
88576         * argp/argp-help.c: Likewise.
88577         * assert/assert.c: Likewise.
88578         * config.h.in: Likewise.
88579         * config.make.in: Likewise.
88580         * configure: Likewise.
88581         * configure.in: Likewise.
88582         * csu/Versions: Likewise.
88583         * csu/init.c: Likewise.
88584         * elf/tst-audit2.c: Likewise.
88585         * elf/tst-tls10.c: Likewise.
88586         * elf/tst-tls10.h: Likewise.
88587         * elf/tst-tls11.c: Likewise.
88588         * elf/tst-tls12.c: Likewise.
88589         * elf/tst-tls14.c: Likewise.
88590         * elf/tst-tlsmod11.c: Likewise.
88591         * elf/tst-tlsmod12.c: Likewise.
88592         * elf/tst-tlsmod13.c: Likewise.
88593         * elf/tst-tlsmod13a.c: Likewise.
88594         * elf/tst-tlsmod14a.c: Likewise.
88595         * elf/tst-tlsmod15b.c: Likewise.
88596         * elf/tst-tlsmod16a.c: Likewise.
88597         * elf/tst-tlsmod16b.c: Likewise.
88598         * elf/tst-tlsmod7.c: Likewise.
88599         * elf/tst-tlsmod8.c: Likewise.
88600         * elf/tst-tlsmod9.c: Likewise.
88601         * gmon/gmon.c: Likewise.
88602         * grp/fgetgrent_r.c: Likewise.
88603         * grp/putgrent.c: Likewise.
88604         * hurd/fopenport.c: Likewise.
88605         * include/libc-symbols.h: Likewise.
88606         * include/tls.h: Likewise.
88607         * intl/gettextP.h: Likewise.
88608         * intl/loadinfo.h: Likewise.
88609         * locale/global-locale.c: Likewise.
88610         * locale/localeinfo.h: Likewise.
88611         * mach/devstream.c: Likewise.
88612         * malloc/arena.c: Likewise.
88613         * malloc/set-freeres.c: Likewise.
88614         * misc/err.c: Likewise.
88615         * misc/getttyent.c: Likewise.
88616         * misc/mntent_r.c: Likewise.
88617         * posix/getopt.c: Likewise.
88618         * posix/wordexp.c: Likewise.
88619         * pwd/fgetpwent_r.c: Likewise.
88620         * resolv/Versions: Likewise.
88621         * resolv/res_hconf.c: Likewise.
88622         * shadow/fgetspent_r.c: Likewise.
88623         * shadow/putspent.c: Likewise.
88624         * stdio-common/printf_fphex.c: Likewise.
88625         * stdio-common/tmpfile.c: Likewise.
88626         * stdlib/abort.c: Likewise.
88627         * stdlib/fmtmsg.c: Likewise.
88628         * sunrpc/auth_unix.c: Likewise.
88629         * sunrpc/clnt_perr.c: Likewise.
88630         * sunrpc/clnt_tcp.c: Likewise.
88631         * sunrpc/clnt_udp.c: Likewise.
88632         * sunrpc/clnt_unix.c: Likewise.
88633         * sunrpc/openchild.c: Likewise.
88634         * sunrpc/svc_simple.c: Likewise.
88635         * sunrpc/svc_tcp.c: Likewise.
88636         * sunrpc/svc_udp.c: Likewise.
88637         * sunrpc/svc_unix.c: Likewise.
88638         * sunrpc/xdr.c: Likewise.
88639         * sunrpc/xdr_array.c: Likewise.
88640         * sunrpc/xdr_rec.c: Likewise.
88641         * sunrpc/xdr_ref.c: Likewise.
88642         * sunrpc/xdr_stdio.c: Likewise.
88644 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88646         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88648 2011-07-03  Andreas Jaeger  <aj@suse.de>
88650         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
88651         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
88652         regenerate with gen-libm-tests.pl.
88654 2010-05-12  Petr Baudis  <pasky@suse.cz>
88656         [BZ #11589]
88657         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
88658         around j0() zero points by switching to j1().
88659         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88660         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88661         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88662         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88664 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88666         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
88667         instead of 0.
88668         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
88669         instead of 0.
88670         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88671         Patch in part by Pavel Roskin <proski@gnu.org>.
88673         [BZ #13138]
88674         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
88675         realloc.
88676         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
88677         Free memory block if necessary.
88679         [BZ #12847]
88680         * libio/genops.c (INTDEF): For string streams the _lock pointer can
88681         be NULL.  Don't lock in this case.
88683 2011-09-09  Roland McGrath  <roland@hack.frob.com>
88685         * elf/elf.h (ELFOSABI_GNU): New macro.
88686         (ELFOSABI_LINUX): Define to that.
88688 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
88690         * string/strncat.c (strncat): Undef the symbol in case it has been
88691         defined in bits/string.h.
88693 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88695         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
88697         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
88698         link map.
88700 2011-08-17  Andreas Jaeger  <aj@suse.de>
88702         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
88704 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
88705             Ian Lance Taylor  <iant@google.com>
88707         * math/libm-test.inc (lround_test): New testcase.
88708         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
88710 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
88712         * Makefile: Remove support for automatic cvs check-ins.
88713         * Makerules: Likewise.
88714         * config.make.in: Likewise.
88715         * configure.in: Likewise.
88716         * intl/Makefile: Likewise.
88717         * locale/Makefile: Likewise.
88718         * po/Makefile: Likewise.
88719         * posix/Makefile: Likewise.
88720         * sysdeps/gnu/Makefile: Likewise.
88721         * sysdeps/mach/hurd/Makefile: Likewise.
88722         * sysdeps/sparc/sparc32/Makefile: Likewise.
88724         [BZ #13118]
88725         * posix/Makefile (bug-regex32-ENV): Define.
88726         Patch by John Stanley <jpsinthemix@verizon.net>.
88728         * misc/Makefile (headers): Add bits/select2.h.
88729         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
88730         * misc/bits/select2.h: New file.
88731         * include/bits/select2.h: New file.
88732         * debug/Makefile (routines): Add fdelt_chk.
88733         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
88734         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
88735         FD_ISSET.
88736         * debug/fdelt_chk.c: New file.
88738         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
88739         * wcsmbs/test-wmemcmp.c: Likewise.
88740         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
88741         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
88743 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88745         * string/Makefile (strop-tests): Add memcmp.
88746         * string/test-wmemcmp.c: New file.
88747         * string/test-memcmp.c: Add wmemcmp support.
88749 2011-09-08  Roland McGrath  <roland@hack.frob.com>
88751         [BZ #13153]
88752         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
88753         2011-07-19 change.
88755         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
88756         garbage value in a __mach_port_mod_refs call in the cases of the
88757         task-self and thread-self ports.
88759 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88761         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
88763 2011-09-08  Andreas Schwab  <schwab@redhat.com>
88765         * elf/dl-load.c (lose): Check for non-null L.
88767 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88769         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
88771         * elf/dl-libc.c (dlerror_run): Pass back error code from
88772         dl_catch_error.
88774         [BZ #13123]
88775         * elf/dl-load.c (lose): Free l_origin if it is valid.
88777         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88778         names.
88779         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88780         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88781         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88782         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88783         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88784         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88786 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88788         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88789         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88790         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88791         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88792         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88793         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88794         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88795         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88796         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88797         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88799 2011-08-15  Alan Modra  <amodra@gmail.com>
88801         [BZ #13092]
88802         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88803         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88804         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88805         ppc_mcount to static-only-routines.
88806         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88807         __mcount_internal.
88808         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88809         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88811 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88813         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88814         for finite and infinity parameters.
88816 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88818         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88819         and add nop instructions for throughput optimization.
88820         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88822 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
88824         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88825         aligned copy for power7 with vector-scalar instructions.
88826         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88828 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
88830         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88831         AVX check.
88833 2011-09-07  Andreas Schwab  <schwab@redhat.com>
88835         [BZ #13144]
88836         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
88837         last change.
88839 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88841         * sysdeps/unix/sysv/linux/x86_64/init-first.c
88842         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
88843         syscall wrapper around clock_gettime in __vdso_clock_gettime.
88844         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
88845         clock_gettime.
88847 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88849         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
88850         Forgot to demangle the pointer.
88852         * sysdeps/i386/sysdep.h: Define atom_text_section.
88853         * sysdeps/x86_64/sysdep.h: Likewise.
88854         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
88855         section with atom_text_section.
88856         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88857         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88858         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
88859         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88860         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
88862         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
88863         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
88864         already be defined.  Change to take two parameters and don't assign
88865         result to variable.  Adjust all users.
88866         Define INTERNAL_GETTIME if not already defined.
88867         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
88868         call.
88869         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
88870         HAVE_CLOCK_GETTIME_VSYSCALL.
88871         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
88873         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
88874         gettimeofday vsyscall, just use time.
88876 2011-09-06  Andreas Schwab  <schwab@redhat.com>
88878         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
88879         <errno.h>.
88881 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88883         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
88884         syscall on x86-64.
88885         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
88886         syscall.
88887         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
88888         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
88889         syscall if possible.
88891 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88893         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
88894         e_ident.  Don't pass to find_mapsXX.
88895         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
88897 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88900         strchr-sse2-no-bsf strrchr-sse2-no-bsf
88901         * sysdeps/x86_64/multiarch/strchr.S: Update.
88902         Check bit_slow_BSF bit.
88903         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
88904         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
88905         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
88907 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88909         [BZ #13134]
88910         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
88911         before glibc 2.15.
88912         (tryshell): Define.
88913         (__spawni): Change last parameter to be flag.  Test
88914         SPAWN_XFLAGS_USE_PATH flag to use path or not.
88915         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
88916         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
88917         * posix/spawni.c: Likewise.
88918         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
88919         * posix/spawnp.c: Likewise.  Change normal version to use
88920         SPAWN_XFLAGS_USE_PATH.
88921         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
88922         SPAWN_XFLAGS_TRY_SHELL.
88924         [BZ #13150]
88925         * posix/glob.h: Remove gcc 1.x support.
88927         [BZ #13068]
88928         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
88930 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88933         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
88934         strrchr-sse2-bsf
88935         * sysdeps/i386/i686/multiarch/strchr.S: New file.
88936         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
88937         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
88938         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
88939         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
88940         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
88942 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88944         * sysdeps/x86_64/wcscmp.S: New file.
88946         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
88947         wcscmp-c wcscmp-sse2
88948         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
88949         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
88950         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
88951         * wcsmbs/wcscmp.c: Allow renaming.
88953 2011-09-05  David S. Miller  <davem@davemloft.net>
88955         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
88956         stack slot, rather than the struct return pointer slot.
88957         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
88958         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
88959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
88960         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
88962 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88964         * po/ja.po: Update from translation team.
88966         [BZ #13144]
88967         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
88968         kernel in 64-bit binaries.
88970 2011-09-01  David S. Miller  <davem@davemloft.net>
88972         * elf/elf.h (HWCAP_SPARC_*): Move to..
88973         * sysdeps/sparc/sysdep.h: this new file and add new values.
88974         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
88975         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
88976         _DL_HWCAP_COUNT to 24.
88977         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
88978         entries.
88979         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
88980         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
88981         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
88982         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
88983         instead of magic constants.
88984         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88986 2011-08-31  David S. Miller  <davem@davemloft.net>
88988         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
88989         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
88990         Reimplement to do errno handling inline.
88991         (SYSCALL_ERROR_HANDLER): New macro.
88992         (__SYSCALL_STRING): Do not do errno handling in asm.
88993         (__CLONE_SYSCALL_STRING): Delete.
88994         (__INTERNAL_SYSCALL_STRING): Delete.
88995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
88996         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
88997         (PSEUDO): Reimplement to do errno handling inline.
88998         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
88999         (SYSCALL_ERROR_HANDLER): New macro.
89000         (__SYSCALL_STRING): Do not do errno handling in asm.
89001         (__CLONE_SYSCALL_STRING): Delete.
89002         (__INTERNAL_SYSCALL_STRING): Delete.
89003         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
89004         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
89005         i386.
89006         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
89007         (inline_syscall*): Add 'err' argument.
89008         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
89009         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
89010         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
89011         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
89013         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
89014         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
89016 2011-08-30  Andreas Schwab  <schwab@redhat.com>
89018         * elf/rtld.c (dl_main): Relocate objects in dependency order.
89020 2011-08-29  Jiri Olsa <jolsa@redhat.com>
89022         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
89023         directive.
89025 2011-08-24  David S. Miller  <davem@davemloft.net>
89027         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
89029 2011-08-24  Andreas Schwab  <schwab@redhat.com>
89031         * elf/Makefile: Add rules to build and run unload8 test.
89032         * elf/unload8.c: New file.
89033         * elf/unload8mod1.c: New file.
89034         * elf/unload8mod1x.c: New file.
89035         * elf/unload8mod2.c: New file.
89036         * elf/unload8mod3.c: New file.
89038         * elf/dl-close.c (_dl_close_worker): Reset private search list if
89039         it wasn't used.
89041 2011-08-23  David S. Miller  <davem@davemloft.net>
89043         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
89044         subtract stack bias.
89045         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
89046         %sp not %fp in calculations.
89047         (_JMPBUF_UNWINDS_ADJ): Likewise.
89049         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
89050         (aio_suspend): Call it to force an exception region around the
89051         AIO_MISC_WAIT() invocation.
89053 2011-08-23  Andreas Schwab  <schwab@redhat.com>
89055         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
89056         backslash.
89058 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
89060         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
89061         protection macro.
89062         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
89063         and <dl-machine.h>.
89064         (Elf64_FuncDesc): Remove.
89066 2011-08-22  David S. Miller  <davem@davemloft.net>
89068         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
89069         sigaltstack check, add missing cfi directives.
89070         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
89071         missing cfi directives, and sigaltstack handling.
89073 2011-08-16  Andreas Schwab  <schwab@redhat.com>
89075         [BZ #11724]
89076         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
89077         object is seen twice.
89078         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89080         * elf/Makefile (distribute): Add tst-initorder2.c.
89081         (tests): Add tst-initorder2.
89082         (modules-names): Add tst-initorder2a tst-initorder2b
89083         tst-initorder2c tst-initorder2d.  Add rules to build them.
89084         ($(objpfx)tst-initorder2.out): New rule.
89085         * elf/tst-initorder2.c: New file.
89086         * elf/tst-initorder2.exp: New file.
89088 2011-08-22  Andreas Schwab  <schwab@redhat.com>
89090         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
89092         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
89093         dependencies back to end of function.
89095         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89096         $(elfobjdir)/ld.so.
89098 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
89100         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
89101         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
89102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
89103         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
89104         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
89105         of __vdso_gettimeofday.
89106         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
89107         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
89108         attribute_hidden.
89109         (_libc_vdso_platform_setup): Remove initialization of
89110         __vdso_gettimeofday and __vdso_time.
89112 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89114         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
89115         and fgetc_unlocked.
89116         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
89117         getc_unlocked.
89119         * elf/dl-open.c (add_to_global): Report additions to the global scope
89120         for LD_DEBUG=scopes.
89121         (dl_open_worker): Also print scope of newly loaded dependencies.
89122         (_dl_show_scope): Indicate if there is no scope.
89124         [BZ #13114]
89125         * stdio-common/Makefile (tests): Add bug24.
89126         * stdio-common/bug24.c: New file.
89128 2011-08-19  Andreas Jaeger  <aj@suse.de>
89130         [BZ #13114]
89131         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
89132         non-existant file when using close-on-exec mode.
89134 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89136         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
89137         the very first instruction.
89139         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
89140         the CFI state in the end.
89141         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
89142         inclusion of dl-trampoline.h.
89143         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
89145 2011-08-19  Andreas Schwab  <schwab@redhat.com>
89147         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
89148         expectations for long double.
89150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
89151         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89153 2011-08-14  David S. Miller  <davem@davemloft.net>
89155         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89156         artificual limit depends upon the system page size.
89158 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89160         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89161         * resolv/Makefile: Define CFLAGS-libresolv.
89163 2011-08-17  Andreas Schwab  <schwab@redhat.com>
89165         * nss/makedb.c (compute_tables): Make variables used in nested
89166         function static.
89168 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89170         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89171         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89172         if buffer was too small.
89174         * elf/pldd.c (main): Attach to all threads in the process.
89175         Rewrite /proc handling to use *at functions.
89177 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
89179         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89180         specifies first scope to show.
89181         (dl_open_worker): Update callers.  Move printing scope of new
89182         object to before the relocation.
89183         * elf/rtld.c (dl_main): Update _dl_show_scope call.
89184         * sysdeps/generic/ldsodefs.h: Update declaration.
89186         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89187         string for the scope number.
89189 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
89191         * nscd/servicescache.c (cache_addserv): Make sure written is always
89192         initialized.
89194 2011-08-14  Roland McGrath  <roland@hack.frob.com>
89196         * sysdeps/i386/i486/bits/atomic.h
89197         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89198         statement expression, so as to suppress "set but not used" warning.
89199         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89201         * string/strncat.c (STRNCAT): Use prototype definition.
89203         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89204         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89205         -Iprograms here.
89206         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89207         (localedef-modules): Add localedef.
89208         (locale-modules): Add locale.
89210         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89211         * elf/rtld.c (dl_main): Invert order of assignment in last change,
89212         to avoid a warning.
89214 2011-08-14  David S. Miller  <davem@davemloft.net>
89216         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89217         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89219 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89221         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89222         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89223         * elf/rtld.c (dl_main): Set l_name of vDSO.
89224         Call _dl_show_scope when DL_DEBUG_SCOPES.
89225         (process_dl_debug): Recognize scopes flag and also set it for all.
89226         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89227         Declare _dl_show_scope.
89229         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89230         (do_dlopen): Pass caller_dlopen to dl_open.
89231         (__libc_dlopen_mode): Initialize caller_dlopen.
89233         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89234         of libc.  Make tolower call locale-independent.  Optimize a bit by
89235         using isdigit instead of isalnum.
89236         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89238 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89240         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89241         was a dependency or dynamically loaded.
89243 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89245         * intl/l10nflist.c: Allow architecture-specific pop function.
89246         * sysdeps/x86_64/l10nflist.c: New file.
89248         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89249         classification.
89251 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89253         * include/dirent.h: Add libc_hidden_proto for scandirat and
89254         scandirat64.  Don't declare __scandirat64.
89255         * dirent/scandirat.c: Add libc_hidden_def.
89256         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89257         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89259 2011-08-10  David S. Miller  <davem@davemloft.net>
89261         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89262         enum.
89263         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89264         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89265         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89267 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89269         * Versions.def [libc]: Add GLIBC_2.15.
89270         * dirent/Makefile (routines): Add scandirat and scandirat64.
89271         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89272         GLIBC_2.15.
89273         * dirent/dirent.h: Declare scandirat and scandirat64.
89274         * dirent/scandirat.c: New file.
89275         * dirent/scandirat64.c: New file.
89276         * sysdeps/wordsize-64/scandirat.c: New file.
89277         * sysdeps/wordsize-64/scandirat64.c: New file.
89278         * dirent/opendir.c: Define opendirat.
89279         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89280         using scandirat.
89281         * dirent/scandir64.c: Adjust for scandir.c change.
89282         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89283         __scandirat64, and __scandir_cancel_handler.
89284         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89285         additional parameter and use openat instead of open (outside of ld.so).
89286         Add new __opendir as wrapper around __opendirat.
89287         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89288         here without requiring old scandirat implementation.
89290 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89292         * dirent/scandir.c (cancel_handler): Renamed to
89293         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89294         defined.  Adjust users.
89295         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89296         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89298 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89300         * string/test-string.h (IMPL): Use __STRING to expand name and then
89301         stringify it.
89303         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89304         of cleanups.
89306 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89308         * string/Makefile: Update.
89309         (strop-tests): Append strncat.
89310         * string/test-wcscmp.c: New file.
89311         New comprehensive test for wcscmp.
89312         * string/test-strcmp.c: Update.
89313         (WIDE): New define.
89315 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89317         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89318         line.
89320 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89323         encoding to ACE if AI_IDN.
89325 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89327         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89328         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89330 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89332         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89333         Fix overflow bug in strncat.
89334         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89336         * string/test-strncat.c: Update.
89337         Add new tests for checking overflow bugs.
89339 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89341         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89342         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89343         * sysdeps/i386/i686/multiarch/strcat.S: New file.
89344         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89345         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89346         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89347         * sysdeps/i386/i686/multiarch/strncat.S: New file.
89348         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89349         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89351         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89352         (USE_AS_STRCAT): Define.
89353         Add strcat and strncat support.
89354         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89356 2011-07-25  Andreas Schwab  <schwab@redhat.com>
89358         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89359         __n bigger than INT_MAX+1.
89360         (__strncmp_g): Likewise.
89362 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
89364         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89365         * libio/stido.h: Likewise.
89367         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89368         (AF_NFC): Define.
89369         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89370         (AF_NFC): Define.
89372         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89373         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89374         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89375         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89376         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89378         [BZ #13021]
89379         * scripts/test-installation.pl: Don't expect libnss_test1 to be
89380         installed.
89382         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89383         typo.
89384         (_dl_x86_64_save_sse): Likewise.
89386 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
89388         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89389         OSXSAVE.
89390         (_dl_x86_64_save_sse): Likewise.
89392         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89394         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89396 2011-07-21  Andreas Schwab  <schwab@redhat.com>
89398         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89399         change.
89400         (_dl_x86_64_save_sse): Use correct AVX check.
89402 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89404         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89405         bug in strncpy/strncat.
89406         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89408 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
89410         * string/tester.c (test_strcat): Add tests for different alignments
89411         of source and destination.
89412         (test_strncat): Likewise.
89414 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89416         [BZ #12852]
89417         * posix/glob.c (glob): Check passed in values before using them in
89418         expressions to avoid some overflows.
89419         (glob_in_dir): Likewise.
89421         [BZ #13007]
89422         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89423         check for AVX enablement so that we don't crash with old kernels and
89424         new hardware.
89425         * elf/tst-audit4.c: Add same checks here.
89426         * elf/tst-audit6.c: Likewise.
89428         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89430 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
89432         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89434 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89436         * po/cs.po: Update from translation team.
89437         * po/bg.po: Likewise.
89439 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
89441         * misc/sys/cdefs.h: Add support for const attribute.
89442         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89443         to gnu_dev_{major,minor,makedev} functions.
89445 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
89447         * intl/dcigettext.c (get_output_charset): Add missing bracket.
89449 2011-07-20  Andreas Schwab  <schwab@redhat.com>
89451         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
89452         strlen results.
89454 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89456         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
89457         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
89458         register in order to avoid conflicts with the soft frame pointer
89459         being held in r11 when necessary.
89460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
89461         (INTERNAL_VSYSCALL_NCS): Likewise.
89463 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
89465         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
89466         * elf/dl-fini.c (_dl_fini): Adjust caller.
89467         * elf/dl-close.c (_dl_close_worker): Likewise.
89468         * sysdeps/generic/ldsodefs.h: Adjust declaration.
89470 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89472         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
89473         "aux_cache->nlibs < 0".
89475         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
89476         in the reload-count case.
89478 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89481         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
89482         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
89483         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
89484         * sysdeps/x86_64/multiarch/strcat.S: New file.
89485         * sysdeps/x86_64/multiarch/strncat.S: New file.
89486         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
89487         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
89488         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
89489         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
89490         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
89491         (USE_AS_STRCAT): Define.
89492         Add strcat and strncat support.
89493         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89494         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
89495         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
89496         * string/strncat.c: Update.
89497         (USE_AS_STRNCAT): Define.
89498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89499         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
89500         and i7.
89501         * sysdeps/x86_64/multiarch/init-arch.h
89502         (bit_Prefer_PMINUB_for_stringop): New.
89503         (index_Prefer_PMINUB_for_stringop): Likewise.
89504         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
89505         bit_Prefer_PMINUB_for_stringop.
89507 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89509         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
89510         buffer64.
89511         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
89512         of casting of buffer.
89513         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
89514         buffer32 and buffer64.
89515         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
89516         writes instead of casting of buffer.
89517         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
89518         buffer32.
89519         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
89520         casting of buffer.
89522 2011-07-19  Andreas Schwab  <schwab@redhat.com>
89524         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
89526 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89528         * nscd/nscd.c (termination_handler): Don't do anything for a database
89529         if it has not yet been initialized.
89531 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89533         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89535 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89537         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89539 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89541         * po/nl.po: Update from translation team.
89542         * po/sv.po: Likewise.
89544 2011-07-16  Roland McGrath  <roland@hack.frob.com>
89546         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
89547         now disallowed by GCC.
89549         * configure.in (use-default-link): Default to yes if a test -shared
89550         link meets our qualifications.
89551         * configure: Regenerated.
89553         * config.make.in (output-format): New variable.
89554         * configure.in: Check for ld --print-output-format support.
89555         * configure: Regenerated.
89556         * Makerules ($(common-objpfx)format.lds)
89557         [$(output-format) != unknown]: Just use $(output-format),
89558         instead of the linker-script munging.
89560 2011-07-14  Roland McGrath  <roland@hack.frob.com>
89562         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
89563         of $(common-objpfx)shlib.lds.
89564         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
89566         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
89567         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
89569         * configure.in (-z relro check): Adjust test code to add a large
89570         writable data section after it.
89571         * configure: Regenerated.
89573 2011-07-11  Roland McGrath  <roland@hack.frob.com>
89575         * configure.in (-z relro check): Fix test code to make the variable
89576         truly const.
89577         * configure: Regenerated.
89579 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
89581         * nscd/nscd.h (struct traced_file): Define.
89582         (struct database_dyn): Remove inotify_descr, reset_res, and filename
89583         elements.  Add traced_files.
89584         (inotify_fd): Declare.
89585         (register_traced_file): Declare.
89586         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
89587         (inotify_fd): Export.
89588         (resolv_conf_descr): Remove.
89589         (nscd_init): Move inotify descriptor creation to main.
89590         Don't register files for notification here.
89591         (register_traced_file): New function.
89592         (invalidate_cache): Don't use reset_res to determine whether to call
89593         res_init, go through the list of registered files.
89594         (main_loop_poll): The inotify descriptors are now stored in the
89595         structures for the traced files.
89596         (main_loop_epoll): Likewise.
89597         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
89598         to __nss_disable_nscd.
89599         * nscd/cache.c (prune_cache): There is no single inotify descriptor
89600         for a database anymore.  Check the records for all the registered
89601         files instead.
89602         * nss/Makefile (libnss_files-routines): Add files-init.
89603         (libnss_db-routines): Add db-init.
89604         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
89605         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
89606         * nss/nss_db/db-init.c: New file.
89607         * nss/nss_files/files-init.c: New file.
89608         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
89609         __nss_lookup_function.
89610         (__nss_lookup_function): Call nss_load_library.
89611         (nss_load_all_libraries): New function.
89612         (__nss_disable_nscd): Take parameter with callback function for files
89613         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
89614         used for the cached services.
89615         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
89616         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
89617         options for features to all the files in nscd.
89619         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
89621 2011-07-10  Roland McGrath  <roland@hack.frob.com>
89623         * csu/elf-init.c (__libc_csu_init): Comment typo.
89625 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
89627         * po/pl.po: Update from translation team.
89628         * po/ja.po: Likewise.
89629         * po/ru.po: Likewise.
89630         * po/ko.po: Likewise.
89631         * po/fr.po: Likewise.
89633 2011-07-09  Roland McGrath  <roland@hack.frob.com>
89635         * configure.in (.ctors/.dtors header and trailer check):
89636         Use an empirical test on a built program.
89637         * configure: Regenerated.
89639         * configure.in (-z relro check): Use an empirical test on a built DSO.
89640         Detect, but do not require, on ia64.
89641         * configure: Regenerated.
89643         * configure.in (READELF): Find it with AC_CHECK_TOOL.
89644         Update tests that use readelf to use $READELF instead.
89645         * configure: Regenerated.
89647 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
89649         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
89650         if the result is not used.
89652 2011-07-05  Andreas Jaeger  <aj@suse.de>
89654         [BZ #9696]
89655         * stdlib/tst-strtod.c: Add testcase.
89657 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
89659         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
89660         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
89661         The latter has a higher limit.  Take additional parameter to pass to
89662         the new function.
89663         (__pathconf): Pass file to __statfs_link_max.
89664         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
89665         __statfs_link_max.
89666         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
89667         __statfs_link_max.
89669         [BZ #12868]
89670         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
89671         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89672         Handle Lustre.
89673         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
89674         (__statfs_filesize_max): Likewise.
89675         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
89677 2011-07-05  Andreas Jaeger  <aj@suse.de>
89679         * resolv/res_comp.c (dn_skipname): Remove unused variable.
89681 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
89683         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
89684         `status' variable.
89685         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
89686         Likewise.
89688 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
89690         * Makefile (strop-tests): Add strncat.
89691         * string/test-strncat.c: New file.
89693 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
89695         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
89697 2011-06-21  Andreas Jaeger  <aj@suse.de>
89699         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
89700         Copy rule from iconvdata/Makefile.
89702 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89704         [BZ #12922]
89705         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
89706         but no long options are defined, just return 'W'.
89708 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
89710         [BZ #9696]
89711         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
89713 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89715         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
89716         netgroups to read.
89717         (innetgr): Likewise.
89719 2011-07-05  Roland McGrath  <roland@hack.frob.com>
89721         * config.make.in (install_root): Default to $(DESTDIR).
89723 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
89725         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
89727 2011-07-02  Roland McGrath  <roland@hack.frob.com>
89729         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
89731         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
89732         containing directory rather than embedding absolute directory names.
89734         * scripts/check-local-headers.sh: Rewritten using awk.
89735         Match by word, not by line.  Print error messages for matches.
89736         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
89738         * Makerules [shlib-lds-flags empty]:
89739         ($(common-objpfx)libc_pic.opts): New target.
89740         ($(common-objpfx)libc_pic.os.clean): New target.
89741         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
89743         * config.make.in (OBJCOPY): New variable.
89744         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
89745         * configure: Regenerated.
89747         * config.make.in (use-default-link): New variable.
89748         * configure.in (use_default_link): Grok --with-default-link to set it.
89749         * configure: Regenerated.
89750         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
89751         (shlib-lds, shlib-lds-flags): Define to empty.
89753         * Makerules (shlib-lds): New variable.
89754         (shlib-lds-flags): New variable.
89755         (build-shlib, build-moduile, build-module-asneeded): Use it.
89756         ($(common-objpfx)libc.so): Use $(shlib-lds).
89757         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
89758         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
89760         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
89761         DT_FLAGS/DT_FLAGS_1 with zero flags.
89763         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
89764         linker script munging.
89766 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
89768         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
89769         as 128-bit value.
89770         * crypt/sha512.c (sha512_process_block): Perform total addition using
89771         128-bit if possible.
89772         (__sha512_finish_ctx): Likewise.
89773         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
89774         as 64-bit value.
89775         * crypt/sha256.c (SWAP64): Define.
89776         (sha256_process_block): Perform total addition using 64-bit if
89777         possible.
89778         (__sha256_finish_ctx): Likewise.
89780 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
89782         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
89783         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89784         * nscd/hstcache.c (cache_addhst): Likewise.
89785         * nscd/grpcache.c (cache_addgr): Likewise.
89786         * nscd/aicache.c (addhstaiX): Likewise.
89787         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89789 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89791         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89792         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89793         * nscd/hstcache.c (cache_addhst): Likewise.
89794         * nscd/grpcache.c (cache_addgr): Likewise.
89795         * nscd/aicache.c (addhstaiX): Likewise.
89797 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89799         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89800         domain only when needed.
89802 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89805         is always restored.
89807 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89809         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89810         are re-adding the entry.
89811         * nscd/servicescache.c (cache_addserv): Likewise.
89813 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89815         * sysdeps/generic/dl-irel.h: fix protection against multiple
89816         inclusions.
89817         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89819 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89821         [BZ #12935]
89822         * malloc/memusage.sh: Fix quoting in message.
89823         * debug/xtrace.sh: Likewise.
89825         * configure.in: Remove support for --experimental-malloc option, make
89826         it the default.
89827         * config.make.in: Likewise.
89828         * malloc/Makefile: Likewise.
89830 2011-06-27  Andreas Schwab  <schwab@redhat.com>
89832         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89833         two-byte characters.
89835 2011-06-27  Roland McGrath  <roland@hack.frob.com>
89837         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
89838         AC_CACHE_CHECK invocation.
89839         * configure: Regenerated.
89841         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
89843 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
89845         [BZ #12350]
89846         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
89847         bit from old_res_options.
89849         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
89851         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
89852         value type for setfct.
89854 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
89856         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89857         __gettimeofday instead of gettimeofday.
89859 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
89861         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
89863 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
89865         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
89867         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
89868         info.
89870 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89873         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89874         strcpy-sse2-unaligned strncpy-sse2-unaligned
89875         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
89876         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
89877         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
89878         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
89879         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
89880         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
89881         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
89882         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
89883         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
89884         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
89885         (STRCPY): Support SSE2 and SSSE3 versions.
89887 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
89889         [BZ #12874]
89890         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
89891         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
89892         kernels which artificially limit size of requests.
89894 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89897         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89898         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
89899         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
89900         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
89901         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
89902         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
89903         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
89904         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
89905         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
89906         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89907         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
89908         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
89909         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
89910         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
89911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89912         Enable unaligned load optimization for Intel Core i3, i5 and i7
89913         processors.
89914         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
89915         Define.
89916         (index_Fast_Unaligned_Load): Define.
89917         (HAS_FAST_UNALIGNED_LOAD): Define.
89919 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
89921         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
89923 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89925         [BZ #12907]
89926         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
89927         until it is clear that the information is realy needed.
89928         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
89930 2011-06-22  Andreas Schwab  <schwab@redhat.com>
89932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
89934 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89936         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89937         /sys/devices/system/cpu/online if it is usable.
89939         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
89940         reading the information from the /proc filesystem to once a second.
89942 2011-06-21  Andreas Jaeger  <aj@suse.de>
89944         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
89945         NULL after inclusion of kernel headers.
89947 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
89949         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
89950         calls to internal_setent.
89952         [BZ #12885]
89953         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
89954         addresses using gethostbyname4_r ignore IPv4 addresses.
89956         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
89957         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
89959         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
89961 2011-06-20  David S. Miller  <davem@davemloft.net>
89963         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
89964         inclusions.
89965         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
89967         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
89968         (elf_irel): Use it.
89969         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
89970         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
89971         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
89972         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
89973         * sysdeps/x86_64/dl-irel.h: Likewise.
89975         * elf/dl-runtime.c: Use elf_ifunc_invoke.
89976         * elf/dl-sym.c: Likewise.
89978 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89980         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
89981         need to dereference resplen2.
89983 2011-06-14  Andreas Schwab  <schwab@redhat.com>
89985         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
89987 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89989         * Makeconfig: Define vardbdir and inst_vardbdir.
89990         * nss/Makefile: Add rules to install db-Makefile.
89992         * nss/nss_db/db-XXX.c: Cleanup.
89994         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
89995         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
89996         GLIBC_PRIVATE.
89997         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
89998         * nss/makedb.c: Implement -g option to specify that value strings
89999         are generated and should not be added to table iterated over for
90000         get*ent calls.
90001         * nss/nss_db/db-initgroups.c: New file.
90003         * nss/getent.c: Add support for initgroups lookups through getgrouplist
90004         interface.
90006         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
90007         (internal_getgrouplist): Adjust to name change.
90008         Update use_initgroups_entry if this is not the first call.
90009         * nss/databases.def: Add initgroups entry.
90011         * nss/makedb.c (compute_tables): Check result of multiple hash table
90012         sizes to minimize maximum chain length.
90014 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
90016         * Versions.def: Add entry for libnss_db.
90017         * shlib-versions: Likewise.
90018         * nss/Makefile: Add rules to build libnss_db.
90019         * nss/Versions: Add libnss_db information.  Organize libnss_files
90020         entries better.
90021         * nss/db-Makefile: Add gshadow support.  Change rules for the new
90022         makedb progra.  Some minor improvements to generate smaller files.
90023         * nss/nss_db/nss_db.h: Move NSS database header data structures to
90024         here from...
90025         * nss/makedb.c: ...here.
90026         Improve database format to be smaller and require less memory at
90027         runtime.
90028         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
90029         db anymore.
90030         * nss/nss_db/db-netgrp.c: Likewise.
90031         * nss/nss_db/db-open.c: Likewise.
90032         * nss/nss_files/flies-XXX.x: Adjust comments.
90033         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
90034         * nss/nss_files/files-grp.c: Likewise.
90035         * nss/nss_files/files-hosts.c: Likewise.
90036         * nss/nss_files/files-network.c: Likewise.
90037         * nss/nss_files/files-proto.c: Likewise.
90038         * nss/nss_files/files-pwd.c: Likewise.
90039         * nss/nss_files/files-rpc.c: Likewise.
90040         * nss/nss_files/files-service.c: Likewise.
90041         * nss/nss_files/files-sgrp.c: Likewise.
90042         * nss/nss_files/files-spwd.c: Likewise.
90043         * nss/nss_db/db-alias.c: Removed.
90044         * nss/nss_db/dummy-db.h: Removed.
90046 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
90048         * nss/makedb.c: Rewritten to not use database library.
90049         * nss/Makefile: Update to build new makedb program.
90051 2011-06-14  Andreas Jaeger  <aj@suse.de>
90053         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
90054         memset declaration.
90056 2011-06-10  Andreas Schwab  <schwab@redhat.com>
90058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
90059         tmpbuf.
90061 2011-06-10  Roland McGrath  <roland@hack.frob.com>
90063         * Makerules (shlib.lds): Fail if the linker script comes out empty.
90064         * elf/Makefile ($(objpfx)ld.so): Likewise.
90066         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
90067         Don't list ld.so twice in dependencies.
90069         * posix/bug-regex31.c: Include <stdlib.h>.
90071         * nscd/hstcache.c (cache_addhst): Remove unused variable.
90073         * nis/nss_compat/compat-spwd.c
90074         (getspent_next_nss_netgr): Remove unused variable.
90075         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
90077         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
90078         nonmembers" output to use the right array.
90080         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
90082         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
90084         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
90085         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
90086         * catgets/gencat.c (read_input_file): Likewise.
90087         * locale/programs/locarchive.c (enlarge_archive): Likewise.
90089         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
90090         variable definition inside #if's controlling its use.
90092         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
90094         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
90096         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
90098         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
90099         unreachable code.
90101         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
90103         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
90104         * configure: Regenerated.
90106         * Makerules: Revert last change.
90107         * elf/Makefile: Likewise.
90109 2011-06-09  Roland McGrath  <roland@hack.frob.com>
90111         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
90112         * elf/Makefile ($(objpfx)librtld.os): Likewise.
90113         (reloc-link): Likewise.
90115 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
90117         * elf/Makefile: Add rules to build pldd.
90118         * elf/pldd.c: New file.
90119         * elf/pldd-xx.c: New file.
90121 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
90123         * version.h: Update for 2.15 development version.
90125 2011-06-07  David S. Miller  <davem@davemloft.net>
90127         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
90128         ifuncs.
90129         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
90130         elf_machine_lazy_rel): Likewise.
90131         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
90132         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
90133         elf_machine_lazy_rel): Likewise.
90134         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
90135         dl_hwcap via passed in argument.
90136         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
90137         Likewise.
90139 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90141         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
90143 2011-06-06  Roland McGrath  <roland@hack.frob.com>
90145         [BZ #12849]
90146         * manual/fdl-1.1.texi: New file, verbatim from:
90147         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
90148         * manual/lgpl-2.1.texi: New file, verbatim from:
90149         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
90150         * manual/Makefile (licenses): New variable, list those new file names.
90151         (texis): Use it.
90152         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90154         * manual/fdl.texi: File removed.
90155         * manual/lesser.texi: File removed.
90156         * manual/libc.texinfo (Copying, Documentation License):
90157         Use new @include file names, put @appendix directive before @include.
90159 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
90161         [BZ #12841]
90162         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90163         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90164         (mq_open): Add __NTH.
90166 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
90168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90169         Assume Intel Core i3/i5/i7 processor if AVX is available.
90171 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90173         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90174         typo.
90176 2011-05-31  Andreas Schwab  <schwab@redhat.com>
90178         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90179         memory.  Use alloca_account.  Fix memory leak when retrying.
90181 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90183         * version.h (RELEASE): Bump for 2.14 release.
90184         * include/features.h (__GLIBC_MINOR__): Bump to 14.
90186         * config.make.in (RANLIB): Remove entry.
90188 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
90190         * po/Makefile (po-sed-cmd): Add ksh to extensions.
90191         (libc.pot): Work around missing support for .ksh extension in xgettext.
90193         [BZ #12684]
90194         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90195         if both request failed.
90196         (send_dg): In case of server errors clear resplen or *resplen2.
90198         [BZ #12454]
90199         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90200         when there are multiple maps.
90201         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90202         (_dl_fini): Remove test here.
90204         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90206 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
90208         [BZ #12350]
90209         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90210         bit from old_res_options.
90211         (gaih_inet): Likewise.
90213         [BZ #11099]
90214         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90215         as signed.
90217         * resolv/res_init.c (res_setoptions): Make the code more compact.
90219         [BZ #11558]
90220         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90221         set RES_USEVC.
90223         [BZ #11634]
90224         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90226         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90228         [BZ #11781]
90229         * malloc/malloc.h: Declare malloc hook variables as volatile.
90231         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90232         in last patch.
90234         [BZ #11799]
90235         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90236         raise in the comment.
90237         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90238         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90239         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90241 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90243         [BZ #12811]
90244         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90245         grow the buffers more if it already has to be sufficient.
90246         (build_wcs_upper_buffer): Likewise.
90247         * posix/regexec.c (check_matching): Likewise.
90248         (clean_state_log_if_needed): Likewise.
90249         (extend_buffers): Don't enlarge buffers beyond size of the input
90250         buffer.
90251         Patches mostly by Emil Wojak <emil@wojak.eu>.
90252         * posix/bug-regex32.c: New file.
90253         * posix/Makefile (tests): Add bug-regex32.
90255         * locale/findlocale.c (_nl_find_locale): Return right away if
90256         _nl_explode_name failed.
90257         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90259         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90261         * debug/xtrace.sh: Unify messages.
90262         * malloc/memusage.sh: Likewise.
90264         [BZ #12813]
90265         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90266         time symbol from vDSO.  Substitute with vsyscall if not available.
90267         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90268         __vdso_time.
90270         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90271         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90272         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90273         Add sendmmsg and internal_sendmmsg.
90274         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90275         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90276         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90278         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90279         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90280         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90282 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90284         [BZ #12813]
90285         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90286         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90287         available.
90288         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90289         __vdso_getcpu.
90291         [BZ #12814]
90292         * iconvdata/Makefile (tests): Add bug-iconv9.
90293         * iconvdata/bug-iconv9.c: New file.
90295 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90297         [BZ #12814]
90298         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90300 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90302         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90303         (struct user_regs_struct): Change intcs field back to cs.
90305 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90307         * po/ja.po: Update from translation team.
90309 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90311         [BZ #12795]
90312         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90313         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90315 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90317         * stdlib/longlong.h: Update from GCC.
90319 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90321         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90322         parameter name.
90323         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90324         Add parameter name.
90325         (__sysconf): Pass it down.
90327 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90329         [BZ #12671]
90330         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90331         some situations.
90332         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90333         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90334         add in in __libc_use_alloca calls.  Adjust callers.
90335         (glob): Use malloc in some situations.
90337         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90338         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90339         pltexit.
90341 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
90343         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90344         and CLOCK_BOOTTIME_ALARM.
90346         [BZ #12782]
90347         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90348         is returned.
90350         * string/_strerror.c (__strerror_r): Print negative errors as signed
90351         numbers.
90353         [BZ #12777]
90354         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90355         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90356         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90358         * configure.in: Fix typo in redirection and correct removal of test
90359         files in two cases.
90361         [BZ #12788]
90362         * locale/setlocale.c (new_composite_name): Fix test to check for
90363         identical name of all categories.
90365         [BZ #12792]
90366         * libio/filedoalloc.c (local_isatty): New function.
90367         (_IO_file_doallocate): Use local_isatty.
90368         * stdio-common/perror.c (perror): In case a new stream is used
90369         forward the stream error.
90370         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90371         error flag.
90373 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
90375         [BZ #11884]
90376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90377         alloca.
90378         * include/alloca.h (extend_alloca_account): Define.
90380         [BZ #11857]
90381         * posix/regex.h: Fix comments with documentation of user-accessible
90382         fields after compilation and describe correct free'ing of pattern
90383         after re_compile_pattern.
90384         Patch by Reuben Thomas <rrt@sc3d.org>.
90386 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
90388         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90389         and -mno-altivec to prevent the compiler from using Altivec and/or
90390         VSX instructions when the corresponding registers are not available.
90392 2011-05-19  Andreas Schwab  <schwab@redhat.com>
90394         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90396 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
90398         * libio/freopen.c (freopen): Use __dup2, not dup2.
90399         * libio/freopen64.c (freopen64): Likewise.
90401 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
90403         [BZ #12775]
90404         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90405         * math/Makefile (tests): Add test-powl.
90406         (CFLAGS-test-powl.c): Define.
90407         * math/test-powl.c: New file.
90409 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
90411         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90413 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
90415         [BZ #11837]
90416         * iconvdata/gb18030.c: Update to GB18020-2005.
90418 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
90420         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90421         RE_SYNTAX_POSIX_AWK): Update to match recent development.
90422         Patch by Aharon Robbins <arnold@skeeve.com>.
90424         [BZ #11892]
90425         * stdlib/putenv.c (putenv): Don't always create copy of the variable
90426         on the stack.
90428         [BZ #11895]
90429         * misc/pselect.c (__pselect): Handle timeout value errors hidden
90430         through underflows.
90432         [BZ #12766]
90433         * misc/error.c (error_at_line): Ensure file_name and old_file_name
90434         point to strings before performing equality test for error_one_per_line
90435         mode.
90437         [BZ #11697]
90438         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90440         [BZ #11820]
90441         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90442         (struct user_fpregs_struct): Avoid __uint*_t types.
90444         [BZ #6420]
90445         * malloc/mtrace.c (tr_where): Add additional parameter to point to
90446         symbol info.  Use it instead of calling _dl_addr locally.
90447         (lock_and_info): New function.
90448         (tr_freehook): Call lock_and_info and pass symbol info as additional
90449         parameter to tr_where.
90450         (tr_mallochook): Likewise.
90451         (tr_reallochook): Likewise.
90452         (tr_memalignhook): Likewise.
90454         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
90455         used and couldn't be at all thread-safe.
90457 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
90459         * libio/freopen.c (freopen): Don't close old file descriptor
90460         before the new one is opened.  Instead dup the new file descriptor
90461         to the old one after the new stream is created.
90462         * libio/freopen64.c (freopen64): Likewise.
90463         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
90464         * libio/fileops.c (_IO_new_file_close_it): Handle new
90465         _IO_FLAGS2_NOCLOSE flag.
90466         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
90467         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
90468         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
90469         _IO_FLAGS2_NOCLOSE flag.
90470         * include/unistd.h: Add hidden_proto for dup3.
90471         Define __have_dup3.
90472         * io/dup3.c: Define hidden symbol.
90473         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
90475         [BZ #7101]
90476         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
90477         when an incomplete long option is used.
90478         * posix/tst-getopt_long1.c: New file.
90479         * posix/Makefile (tests): Add tst-getopt_long1.
90481         [BZ #10138]
90482         * scripts/config.guess: Update from autoconf-2.68.
90483         * scripts/config.sub: Likewise.
90485         [BZ #10157]
90486         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
90487         tests into ...
90488         (has_cpuclock): ...this.  New function.
90489         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
90490         macro here based on has_cpuclock code.
90492         [BZ #10149]
90493         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90494         First byte (not low byte) is now always NUL.
90495         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
90497         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90498         Use non-cancelable interfaces.
90500         [BZ #9809]
90501         * locale/iso-639.def: Add entry for Sorani.
90503         [BZ #11901]
90504         * include/stdlib.h: Move include protection to the right place.
90505         Define abort_msg_s.  Declare __abort_msg with it.
90506         * stdlib/abort.c (__abort_msg): Adjust type.
90507         * assert/assert.c (__assert_fail_base): New function.  Majority
90508         of code from __assert_fail.  Allocate memory for __abort_msg with
90509         mmap.
90510         (__assert_fail): Now call __assert_fail_base.
90511         * assert/assert-perr.c: Remove bulk of implementation.  Use
90512         __assert_fail_base.
90513         * include/assert.hL Declare __assert_fail_base.
90514         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
90515         mmap.
90516         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
90518 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
90520         [BZ #11952]
90521         [BZ #12453]
90522         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
90523         until all modules are registered in the DTV.
90524         * elf/Makefile: Add rules to build and run tst-tls19.
90525         * elf/tst-tls19.c: New file.
90526         * elf/tst-tls19mod1.c: New file.
90527         * elf/tst-tls19mod2.c: New file.
90528         * elf/tst-tls19mod3.c: New file.
90529         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
90531         [BZ #12083]
90532         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
90533         correctly.
90535         [BZ #12601]
90536         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
90537         two-byte sequence errors.
90538         * iconvdata/Makefile (tests): Add bug-iconv8.
90539         * iconvdata/bug-iconv8.c: New file.
90541         [BZ #12626]
90542         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
90543         buf2 definition.
90545         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
90547         [BZ #12432]
90548         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
90549         (dummy_getcfa): New function.
90550         (init): Get _Unwind_GetCFA address, use dummy if not found.
90551         (backtrace_helper): In recursion check, also check whether CFA changes.
90552         (__backtrace): Completely initialize arg.
90554         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
90555         storing incomplete byte sequence in state object.  Avoid testing for
90556         guaranteed too small input if we know there is enough data available.
90558 2011-05-11  Andreas Schwab  <schwab@redhat.com>
90560         * Makeconfig (+link-pie): Indent.
90561         * Rules (binaries-pie): Define if $(have-fpie) and
90562         $(build-shared).
90563         (binaries-shared): Also filter out $(binaries-pie).
90564         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
90565         * nscd/Makefile (others-pie): Add nscd.
90566         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
90567         ($(objpfx)nscd): Remove command override.
90568         * login/Makefile (others-pie): Add pt_chown.
90569         ($(objpfx)pt_chown): Remove command override.
90570         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
90571         remove command overrides.
90573 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
90575         * libio/tst_putwc.c: Fix error messages.
90577         [BZ #12724]
90578         * libio/fileops.c (_IO_new_file_close_it): Always flush when
90579         currently writing and seek to current position when not.
90580         * libio/Makefile (tests): Add bug-fclose1.
90581         * libio/bug-fclose1.c: New file.
90583 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
90585         [BZ #12511]
90586         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
90587         don't set DF_1_NODELETE here.
90588         (do_lookup_x): When entering new entry test for copy relocation
90589         and if necessary set DF_1_NODELETE flag.
90590         * elf/tst-unique4.cc: New file.
90591         * elf/tst-unique4.h: New file.
90592         * elf/tst-unique4lib.cc: New file.
90593         * elf/Makefile: Add rules to build and run tst-unique4.
90594         Patch by Piotr Bury <pbury@goahead.com>.
90596 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
90598         [BZ #12052]
90599         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
90601         [BZ #12625]
90602         * misc/mntent_r.c (addmntent): Flush the stream after the output
90604         [BZ #12393]
90605         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
90606         (is_trusted_path_normalize): Skip initial colon.  Append slash
90607         to empty buffer.  Duplicate is_trusted_path code but allow
90608         constructed patch to be prefix.
90609         (is_dst): Allow $ORIGIN followed by /.
90610         (_dl_dst_substitute): Correct clearing of check_for_trusted.
90611         Correct testing of result of is_trusted_path_normalize
90612         (decompose_rpath): Fix warning.
90614 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
90616         [BZ #11257]
90617         * grp/initgroups.c (internal_getgrouplist): When we found the service
90618         list through the initgroups entry in nsswitch.conf do not always
90619         continue on a successful lookup.  Don't always use the
90620         __nss_group_database value if it is set.
90621         * nss/nsswitch.conf (initgroups): Change action for successful db
90622         lookup to continue for compatibility.
90624 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
90626         [BZ #11532]
90627         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
90628         and CP774 modules.
90629         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
90630         and CP774 modules.
90631         * iconvdata/tst-tables.sh: Likewise.
90632         * iconvdata/cp770.c: New file.
90633         * iconvdata/cp771.c: New file.
90634         * iconvdata/cp772.c: New file.
90635         * iconvdata/cp773.c: New file.
90636         * iconvdata/cp774.c: New file.
90637         * iconvdata/testdata/CP770: New file.
90638         * iconvdata/testdata/CP770..UTF8: New file.
90639         * iconvdata/testdata/CP771: New file.
90640         * iconvdata/testdata/CP771..UTF8: New file.
90641         * iconvdata/testdata/CP772: New file.
90642         * iconvdata/testdata/CP772..UTF8: New file.
90643         * iconvdata/testdata/CP773: New file.
90644         * iconvdata/testdata/CP773..UTF8: New file.
90645         * iconvdata/testdata/CP774: New file.
90646         * iconvdata/testdata/CP774..UTF8: New file.
90648         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
90649         END CHARMAP line.
90650         * iconvdata/gen-8bit-gap.sh: Likewise.
90651         * iconvdata/gen-8bit.sh: Likewise.
90653         * locale/iso-639.def: Add ary entry.
90655         [BZ #11258]
90656         * locale/C-translit.h.in: Add U20A1 transliteration.
90658         [BZ #12178]
90659         * locale/iso-639.def: Add wae entry.
90660         Patch by Kevin Bortis <bortis@translate-wae.ch>.
90662         [BZ #12545]
90663         * locale/programs/localedef.c (construct_output_path): Use ssize_t
90664         for n.
90666         [BZ #12711]
90667         * locale/C-translit.h.in: Add entry for U20B9.
90668         Patch by pravin.d.s@gmail.com.
90670 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
90672         [BZ #12713]
90673         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
90674         ENAMETOOLONG use generic getcwd.
90675         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
90676         in rtld.  Use *stat64.
90677         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
90678         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
90679         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
90680         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
90681         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
90682         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
90683         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
90684         __fstatat64 macros.
90685         * include/dirent.h: Add libc_hidden_proto for rewinddir.
90686         * dirent/rewinddir.c: Add libc_hidden_def.
90687         * sysdeps/mach/hurd/rewinddir.c: Likewise.
90688         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
90690         * include/dirent.h (__alloc_dir): Add flags parameter.
90691         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
90692         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
90693         __alloc_dir.
90694         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
90695         from fdopendir if O_CLOEXEC is already set.
90697 2011-03-15  Alan Modra  <amodra@gmail.com>
90699         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
90700         l_tls_firstbyte_offset non-zero.  Save padding offset in
90701         l_tls_firstbyte_offset for later use.
90702         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
90703         freeing static tls block.
90705 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
90707         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
90708         where #ifdef was intended.  The intent is to prevent ARG_MAX from
90709         being defined by the kernel headers.
90711 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
90713         [BZ #12734]
90714         * resolv/resolv.h: Define RES_NOTLDQUERY.
90715         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
90716         no-tld-query and set RES_NOTLDQUERY.
90717         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
90718         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
90719         modern BIND to search name as TLD unless forbidden.
90721 2011-05-07  Petr Baudis  <pasky@suse.cz>
90722             Ulrich Drepper  <drepper@gmail.com>
90724         [BZ #12393]
90725         * elf/dl-load.c (fillin_rpath): Move trusted path check...
90726         (is_trusted_path): ...to here.
90727         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
90728         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
90729         using is_trusted_path_normalize() in setuid scripts.
90731 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
90733         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
90734         __BEGIN/__END_DECLS.
90736 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
90738         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
90739         NSS_STATUS_NOTFOUND if no record was found.
90741 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90743         * sunrpc/Makefile (headers): Add rpc/netdb.h.
90744         (headers-not-in-tirpc): Remove rpc/netdb.h
90745         * resolv/netdb.h: Revert last change.
90747 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
90749         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
90750         circular dependency between libgcc.a and libc.a.
90752 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90754         * resolv/netdb.h: Don't include <rpc/netdb.h>.
90755         * nis/Makefile: Don't install rpcsvc/*.
90756         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
90757         instead of <rpc/types.h>.
90758         (MAXHOSTNAMELEN): Define.
90760 2011-05-03  Andreas Schwab  <schwab@redhat.com>
90762         * elf/ldconfig.c (add_dir): Don't crash on empty path.
90764 2011-04-28  Maciej Babinski  <mbabinski@google.com>
90766         [BZ #12714]
90767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
90768         gethostbyname4_r when IPv6 results are possible.
90770 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
90772         [BZ #12723]
90773         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
90774         _PC_PIPE_BUF handling.
90776 2011-04-30  Bruno Haible  <bruno@clisp.org>
90778         [BZ #12717]
90779         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90780         * resolv/netdb.h (getnameinfo): Change type of flags parameter
90781         to 'int'.
90782         * inet/getnameinfo.c (getnameinfo): Likewise.
90784 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90786         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90787         to groups setting in database lookup.
90788         * nss/nsswitch.conf: Add initgroups entry.
90790 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90792         [BZ #12685]
90793         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90794         mode string.
90795         Patch by Eric Blake <eblake@redhat.com>.
90797 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90799         * sunrpc/Makefile (need-export-routines): Add svc_run.
90800         (routines): Remove svc_run.
90801         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90802         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90803         * sunrpc/svc_run.c (svc_run): Likewise.
90804         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90806 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90808         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90809         problem in reallocation in last patch.
90811 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90813         * sunrpc/Makefile: Move inclusion of Rules.
90815 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90817         * nss/nss_files/files-initgroups.c: New file.
90818         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90819         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90820         _nss_files_initgroups_dyn.
90822 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
90824         * elf/elf.h (R_ARM_IRELATIVE): Define.
90826 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90828         * po/ru.po: Update from translation team.
90830 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90832         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90833         dependencies.
90835 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
90837         [BZ #12653]
90838         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
90839         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
90840         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90841         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
90842         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
90844 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
90846         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
90847         differing bytes.
90848         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
90849         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
90850         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90852 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90854         [BZ #12420]
90855         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
90856         storing it.
90857         * stdlib/bug-getcontext.c: New file.
90858         * stdlib/Makefile: Add rules to build and run bug-getcontext.
90860 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90862         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
90863         instructions into .machine "z9-109".
90864         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
90865         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
90867 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90869         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
90870         between environment variables and auxiliary vector.
90872 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
90874         * Makefile: Add rules to build linkobj/libc.so.
90875         * include/libc-symbols.h: Define libc_hidden_nolink.
90876         * include/rpc/auth.h: Mark functions which are to be hidden.
90877         * include/rpc/auth_des.h: Likewise.
90878         * include/rpc/auth_unix.h: Likewise.
90879         * include/rpc/clnt.h: Likewise.
90880         * include/rpc/des_crypt.h: Likewise.
90881         * include/rpc/key_prot.h: Likewise.
90882         * include/rpc/pmap_clnt.h: Likewise.
90883         * include/rpc/pmap_prot.h: Likewise.
90884         * include/rpc/pmap_rmt.h: Likewise.
90885         * include/rpc/rpc_msg.h: Likewise.
90886         * include/rpc/svc.h: Likewise.
90887         * include/rpc/svc_auth.h: Likewise.
90888         * include/rpc/xdr.h: Likewise.
90889         * nis/Makefile: Link all DSOs against linkobj/libc.so.
90890         * nss/Makefile: Likewise.
90891         * sunrpc/Makefile: Don't install headers.  Build library with normal
90892         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
90893         * sunrpc/auth_des.c: Hide exported symbols by default, export some
90894         for the compat linking library.  Remove use of INTDEF/INTUSE.
90895         * sunrpc/auth_none.c: Likewise.
90896         * sunrpc/auth_unix.c: Likewise.
90897         * sunrpc/authdes_prot.c: Likewise.
90898         * sunrpc/authuxprot.c: Likewise.
90899         * sunrpc/clnt_gen.c: Likewise.
90900         * sunrpc/clnt_perr.c: Likewise.
90901         * sunrpc/clnt_raw.c: Likewise.
90902         * sunrpc/clnt_simp.c: Likewise.
90903         * sunrpc/clnt_tcp.c: Likewise.
90904         * sunrpc/clnt_udp.c: Likewise.
90905         * sunrpc/clnt_unix.c: Likewise.
90906         * sunrpc/des_crypt.c: Likewise.
90907         * sunrpc/des_soft.c: Likewise.
90908         * sunrpc/get_myaddr.c: Likewise.
90909         * sunrpc/key_call.c: Likewise.
90910         * sunrpc/key_prot.c: Likewise.
90911         * sunrpc/netname.c: Likewise.
90912         * sunrpc/pm_getmaps.c: Likewise.
90913         * sunrpc/pm_getport.c: Likewise.
90914         * sunrpc/pmap_clnt.c: Likewise.
90915         * sunrpc/pmap_prot.c: Likewise.
90916         * sunrpc/pmap_prot2.c: Likewise.
90917         * sunrpc/pmap_rmt.c: Likewise.
90918         * sunrpc/publickey.c: Likewise.
90919         * sunrpc/rpc_cmsg.c: Likewise.
90920         * sunrpc/rpc_common.c: Likewise.
90921         * sunrpc/rpc_dtable.c: Likewise.
90922         * sunrpc/rpc_prot.c: Likewise.
90923         * sunrpc/rpc_thread.c: Likewise.
90924         * sunrpc/rtime.c: Likewise.
90925         * sunrpc/svc.c: Likewise.
90926         * sunrpc/svc_auth.c: Likewise.
90927         * sunrpc/svc_authux.c: Likewise.
90928         * sunrpc/svc_raw.c: Likewise.
90929         * sunrpc/svc_run.c: Likewise.
90930         * sunrpc/svc_simple.c: Likewise.
90931         * sunrpc/svc_tcp.c: Likewise.
90932         * sunrpc/svc_udp.c: Likewise.
90933         * sunrpc/svc_unix.c: Likewise.
90934         * sunrpc/svcauth_des.c: Likewise.
90935         * sunrpc/xcrypt.c: Likewise.
90936         * sunrpc/xdr.c: Likewise.
90937         * sunrpc/xdr_array.c: Likewise.
90938         * sunrpc/xdr_float.c: Likewise.
90939         * sunrpc/xdr_intXX_t.c: Likewise.
90940         * sunrpc/xdr_mem.c: Likewise.
90941         * sunrpc/xdr_rec.c: Likewise.
90942         * sunrpc/xdr_ref.c: Likewise.
90943         * sunrpc/xdr_sizeof.c: Likewise.
90944         * sunrpc/xdr_stdio.c: Likewise.
90946 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
90948         [BZ #12650]
90949         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
90950         * sysdeps/ia64/dl-tls.h: Likewise.
90951         * sysdeps/powerpc/dl-tls.h: Likewise.
90952         * sysdeps/s390/dl-tls.h: Likewise.
90953         * sysdeps/sh/dl-tls.h: Likewise.
90954         * sysdeps/sparc/dl-tls.h: Likewise.
90955         * sysdeps/x86_64/dl-tls.h: Likewise.
90956         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
90958 2011-03-14  Andreas Schwab  <schwab@redhat.com>
90960         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
90961         rpath element also skip the following colon.
90962         (expand_dynamic_string_token): Add is_path parameter and pass
90963         down to DL_DST_REQUIRED and _dl_dst_substitute.
90964         (decompose_rpath): Call expand_dynamic_string_token with
90965         non-zero is_path.  Ignore empty rpaths.
90966         (_dl_map_object_from_fd): Call expand_dynamic_string_token
90967         with zero is_path.
90969 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
90971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
90972         Make cancelable.
90974 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
90976         [BZ #12655]
90977         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
90978         Patch by Filipe David Manana <fdmanana@apache.org>.
90980 2011-04-07  Andreas Schwab  <schwab@redhat.com>
90982         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
90983         Maintain aligned stack.
90984         (CHECK_RSP): Remove unused macro.
90986 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
90988         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
90989         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
90991 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
90993         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
90995         * include/features.h: Mention __USE_XOPEN2K8 in comment.
90997 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
90999         [BZ #12518]
91000         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
91001         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
91002         * sysdeps/x86_64/memmove.c: New file.
91003         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
91004         (memcpy): Renamed to ...
91005         (__new_memcpy): This.
91006         (memcpy): Provide GLIBC_2_14 memcpy.
91007         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
91008         (memcpy): Provide GLIBC_2_2_5 memcpy.
91010 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91012         [BZ #12631]
91013         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
91015 2011-03-30  Andreas Schwab  <schwab@redhat.com>
91017         * misc/syncfs.c: New file.
91018         * misc/Makefile (routines): Add syncfs.
91019         * posix/unistd.h: Declare syncfs.
91020         * sysdeps/unix/syscalls.list: Add syncfs.
91022 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91024         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
91025         open_by_handle_at.
91026         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91027         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91028         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91029         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91030         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91031         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
91032         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91034 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91036         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
91037         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91038         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
91039         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91040         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91041         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91042         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91044         * io/Makefile: Compile fallocate.c, fallocate64.c, and
91045         sync_file_range.c with -fexceptions.
91046         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
91047         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
91048         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
91049         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
91050         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
91051         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
91052         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
91053         sync_file_range as cancellation point
91054         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
91055         now a wrapper around __call_sync_file_range with cancellation handling.
91056         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
91057         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
91058         function name to __call_sync_file_range.
91059         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
91060         Add call_sync_file_range.
91062 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
91065         bits/timex.h.
91067 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91069         * iconv/iconv.h: Fix typo in comment.
91070         * io/fcntl.h: Likewise.
91071         * libio/stdio.h: Likewise.
91072         * posix/spawn.h: Likewise.
91073         * posix/unistd.h: Likewise.
91074         * stdlib/stdlib.h: Likewise.
91075         * time/time.h: Likewise.
91076         * wcsmbs/wchar.h: Likewise.
91078         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
91079         open_by_handle): Add.
91080         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
91081         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
91082         Augment a few comments.
91083         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91084         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91085         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91086         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91087         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91088         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
91089         open_by_handle.
91091         * io/fcntl.h (AT_EMPTY_PATH): Define.
91093 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
91095         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
91096         * sysdeps/unix/sysv/linux/bits/time.h: New file.
91097         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
91098         to...
91099         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
91100         * Versions.def: Add GLIBC_2.14.
91101         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
91102         Export.
91104 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
91106         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
91107         round counter.
91108         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91110 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
91112         [BZ #12597]
91113         * string/test-strncmp.c (do_page_test): New function.
91114         (check2): Likewise.
91115         (test_main): Call check2.
91116         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
91118 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
91120         [BZ #12587]
91121         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
91122         Handle cache information in CPU leaf 4.
91123         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91125 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
91127         [BZ #12583]
91128         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
91129         character representation.
91130         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
91132 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
91134         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
91135         END(__isnan) to END(__isnanf) to match function entry point/label
91136         EALIGN(__isnanf,...).
91138 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
91140         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
91142 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
91144         [BZ #12510]
91145         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
91146         copy from the symbol referenced in the relocation to initialize the
91147         used variable.
91148         Patch by Piotr Bury <pbury@goahead.com>.
91149         * elf/Makefile: Add rules to build and tst-unique3.
91150         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
91151         * elf/tst-unique3.cc: New file.
91152         * elf/tst-unique3.h: New file.
91153         * elf/tst-unique3lib.cc: New file.
91154         * elf/tst-unique3lib2.cc: New file.
91156         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91158 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
91160         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91161         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
91162         to _start.
91164 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
91166         * elf/dl-load.c (_dl_map_object): If we are looking for the first
91167         to-be-loaded object along a path to loader is ld.so.
91169 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91170             Ulrich Drepper  <drepper@gmail.com>
91172         * sysdeps/x86_64/memset.S: After aligning destination, code
91173         branches to different locations depending on the value of
91174         misalignment, when multiarch is enabled. Fix this.
91176 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91178         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91179         Set _x86_64_preferred_memory_instruction for AMD processsors.
91180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91181         Set bit_Prefer_SSE_for_memop for AMD processors.
91183 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
91185         * libio/fmemopen.c (fmemopen): Optimize a bit.
91187 2011-03-03  Andreas Schwab  <schwab@redhat.com>
91189         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91191 2011-03-03  Roland McGrath  <roland@redhat.com>
91193         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91195 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
91197         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91198         __bzero_ultra1 instead of __memset_ultra1.
91200 2011-02-23  Andreas Schwab  <schwab@redhat.com>
91201             Ulrich Drepper  <drepper@gmail.com>
91203         [BZ #12509]
91204         * include/link.h (struct link_map): Add l_orig_initfini.
91205         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91206         returning unsuccessfully.
91207         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91208         close of a file loaded at startup, restore the original l_initfini
91209         list.
91210         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91211         list, store the pointer.
91212         * elf/Makefile ($(objpfx)noload-mem): New rule.
91213         (noload-ENV): Define.
91214         (tests): Add $(objpfx)noload-mem.
91215         * elf/noload.c: Include <memcheck.h>.
91216         (main): Call mtrace.  Close all opened handles.
91218 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91220         [BZ #12454]
91221         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91222         dependencies are missing.
91224 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91226         Fix __if_freereq crash: Unlike the generic version which uses free,
91227         Hurd needs munmap.
91228         * sysdeps/mach/hurd/ifreq.h: New file.
91230 2011-01-27  Petr Baudis  <pasky@suse.cz>
91231             Ulrich Drepper  <drepper@gmail.com>
91233         [BZ 12445]#
91234         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91235         to extend_alloca().
91236         * stdio-common/bug23.c: New file.
91237         * stdio-common/Makefile (tests): Add bug23.
91239 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91240             Ulrich Drepper  <drepper@gmail.com>
91242         [BZ #12489]
91243         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91244         before performing relro protection.  At old place add assertion
91245         to make sure nothing changed.
91247 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91248             Glauber de Oliveira Costa  <glommer@gmail.com>
91250         * elf/elf.h: Add new ARM TLS relocs.
91252 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91255         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91256         cast from r3.
91257         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91258         'tests' variable.
91259         * sysdeps/wordsize-64/tst-writev.c: New file.
91261 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91263         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91264         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91265         insns in _dl_start to prevent a TOC reference before relocs are
91266         resolved.
91268 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91270         [BZ #12469]
91271         * Makeconfig: Remove RANLIB definition.
91272         * Makerules: Don't use RANLIB.
91273         * aclocal.m4: Remove ranlib test.
91274         * configure.in: No need to check for ranlib.
91275         * elf/rtld-Rules: Don't use RANLIB.
91277 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91279         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91280         protection macro.
91281         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91282         inclusion protection macro.
91284         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91285         SIGRTMIN and SIGRTMAX and print information in that case only when
91286         SIGRTMIN is defined.
91288 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91290         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91291         arginfo fn returning -1.
91293         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91294         and thousands string is zero terminated.
91296 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91298         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91299         sysdeps/unix/sysv/linux/bits/socket.h.
91301 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91303         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91304         (__CPU_COUNT): Remove old macros.
91305         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91306         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91307         (__CPU_ALLOC, __CPU_FREE): Add macros.
91308         (__sched_cpualloc, __sched_cpufree): Add declarations.
91310 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91312         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91313         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91314         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91315         (readdhstai): Return value of addhstaiX call.
91316         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91317         (addgrbyX): Return value returned by cache_addgr.
91318         (readdgrbyname): Return value returned by addgrbyX.
91319         (readdgrbygid): Likewise.
91320         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91321         (addpwbyX): Return value returned by cache_addpw.
91322         (readdpwbyname): Return value returned by addhstbyX.
91323         (readdpwbyuid): Likewise.
91324         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91325         (addservbyX): Return value returned by cache_addserv.
91326         (readdservbyname): Return value returned by addservbyX:
91327         (readdservbyport): Likewise.
91328         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91329         (addhstbyX): Return value returned by cache_addhst.
91330         (readdhstbyname): Return value returned by addhstbyX.
91331         (readdhstbyaddr): Likewise.
91332         (readdhstbynamev6): Likewise.
91333         (readdhstbyaddrv6): Likewise.
91334         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91335         (readdinitgroups): Return value returned by addinitgroupsX.
91336         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91337         (prune_cache): Keep track of timeout value of re-added entries.
91338         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91339         * nscd/nscd.h: Adjust prototypes of readd* functions.
91341 2011-02-04  Roland McGrath  <roland@redhat.com>
91343         * nis/nis_server.c (nis_servstate): Use the right name for 0.
91344         (nis_stats): Likewise.
91345         * nis/nis_modify.c (nis_modify): Likewise.
91346         * nis/nis_remove.c (nis_remove): Likewise.
91347         * nis/nis_add.c (nis_add): Likewise.
91349         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91351         * posix/fnmatch_loop.c: Add some consts.
91353         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91355 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
91357         [BZ #12460]
91358         * config.make.in (config-cflags-novzeroupper): Define.
91359         * configure.in: Substitute libc_cv_cc_novzeroupper.
91360         * elf/Makefile (AVX-CFLAGS): Define.
91361         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91362         (CFLAGS-tst-auditmod4a.c): Likewise.
91363         (CFLAGS-tst-auditmod4b.c): Likewise.
91364         (CFLAGS-tst-auditmod6b.c): Likewise.
91365         (CFLAGS-tst-auditmod6c.c): Likewise.
91366         (CFLAGS-tst-auditmod7b.c): Likewise.
91367         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91369 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
91371         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91372         function to the callback.
91373         Patch partly by Jiri Olsa <jolsa@redhat.com>.
91375 2011-02-02  Andreas Schwab  <schwab@redhat.com>
91377         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91378         of errno.
91380 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
91382         [BZ #11724]
91383         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91384         of constructors.
91385         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91386         of destructors.
91387         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91389         [BZ #11724]
91390         * elf/Makefile: Add rules to build and run new test.
91391         * elf/tst-initorder.c: New file.
91392         * elf/tst-initorder.exp: New file.
91393         * elf/tst-initordera1.c: New file.
91394         * elf/tst-initordera2.c: New file.
91395         * elf/tst-initordera3.c: New file.
91396         * elf/tst-initordera4.c: New file.
91397         * elf/tst-initorderb1.c: New file.
91398         * elf/tst-initorderb2.c: New file.
91399         * elf/tst-order-a1.c: New file.
91400         * elf/tst-order-a2.c: New file.
91401         * elf/tst-order-a3.c: New file.
91402         * elf/tst-order-a4.c: New file.
91403         * elf/tst-order-b1.c: New file.
91404         * elf/tst-order-b2.c: New file.
91405         * elf/tst-order-main.c: New file.
91406         New test case by George Gensure <werkt0@gmail.com>.
91408 2010-10-01  Andreas Schwab  <schwab@redhat.com>
91410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91411         decoding ACE if AI_CANONIDN.
91413 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
91415         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91417 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
91419         * version.h (RELEASE): Bump for 2.13 release.
91420         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91422         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91424         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91425         MADV_NOHUGEPAGE.
91426         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91427         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91428         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91429         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91430         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91431         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91433         * posix/getconf.c: Update copyright year.
91434         * catgets/gencat.c: Likewise.
91435         * csu/version.c: Likewise.
91436         * debug/catchsegv.sh: Likewise.
91437         * debug/xtrace.sh: Likewise.
91438         * elf/ldconfig.c: Likewise.
91439         * elf/ldd.bash.in: Likewise.
91440         * elf/sprof.c (print_version): Likewise.
91441         * iconv/iconv_prog.c: Likewise.
91442         * iconv/iconvconfig.c: Likewise.
91443         * locale/programs/locale.c: Likewise.
91444         * locale/programs/localedef.c: Likewise.
91445         * malloc/memusage.sh: Likewise.
91446         * malloc/mtrace.pl: Likewise.
91447         * nscd/nscd.c (print_version): Likewise.
91448         * nss/getent.c: Likewise.
91450         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
91451         PF_CAIF, and PF_ALG.
91452         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91454 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
91456         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
91457         (modules-names): Use them.
91458         (ifunc-test-modules, ifunc-pie-tests): Define.
91459         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
91460         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
91461         (test-extras): Likewise.
91462         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
91463         $(compile-command.c).
91464         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
91465         (all-built-dso): Define.
91466         (check-textrel.out, check-execstack.out): Depend on it.
91468         * configure.in: Don't override --enable-multi-arch.
91470 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
91472         [BZ #6812]
91473         * nscd/hstcache.c (tryagain): Define.
91474         (cache_addhst): Return tryagain not notfound for temporary errors.
91475         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
91476         failed.
91478 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
91480         [BZ #10563]
91481         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
91482         to make the syscall.
91483         * sysdeps/unix/sysv/linux/setgroups.c: New file.
91485         [BZ #12378]
91486         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
91487         and fall back to matching as normal character if the string ends before
91488         the matching ']' is found.  This is what POSIX requires.
91489         * posix/testfnm.c: Adjust test result.
91490         * posix/globtest.sh: Adjust test result.  Add new test.
91491         * posix/tst-fnmatch.input: Likewise.
91492         * posix/tst-fnmatch2.c: Add new test.
91494 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
91496         * elf/Makefile (check-execstack): Revert last change.  Depend on
91497         check-execstack.h.
91498         (check-execstack.h): New target.
91499         (generated): Add check-execstack.h.
91500         * elf/check-execstack.c: Include "check-execstack.h".
91501         (main): Revert last change.
91502         (handle_file): Return zero if GNU_STACK is absent and
91503         DEFAULT_STACK_PERMS doesn't include PF_X.
91505 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
91507         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
91508         in child fails because the descriptor is already closed.
91509         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
91510         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
91511         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
91513         [BZ #12397]
91514         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
91515         syscall.
91517         [BZ #10484]
91518         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
91519         temporary buffer used to handle multi lookups locally.
91520         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
91522 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91524         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
91525         loader is ld.so.
91527 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
91529         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
91530         alignment for SSE2.
91532 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91534         [BZ #12394]
91535         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
91536         characters.  When rounding increased number of integer digits recompute
91537         number of groups.
91538         * stdio-common/tst-grouping.c: New file.
91539         * stdio-common/Makefile: Add rules to build and run tst-grouping.
91541 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
91543         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
91544         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
91546         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
91547         void.
91548         * bits/select.h: Likewise.
91550 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
91552         * po/ja.po: Update from translation team.
91554 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
91556         [BZ #11155]
91557         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
91558         implementation just like for lxstat, fxstatat, et al.
91560 2010-12-27  Jim Meyering  <meyering@redhat.com>
91562         [BZ #12348]
91563         * posix/regexec.c (build_trtable): Return failure indication upon
91564         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
91566 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
91568         [BZ #12201]
91569         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
91570         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
91571         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
91572         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
91574         [BZ #12207]
91575         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
91577         [BZ #12204]
91578         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
91579         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
91581 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
91583         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
91584         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
91585         script has SORT_BY_INIT_PRIORITY.
91586         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
91587         NO_CTORS_DTORS_SECTIONS is defined.
91588         * elf/soinit.c: Likewise.
91589         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
91590         NO_CTORS_DTORS_SECTIONS is defined.
91591         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
91592         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
91593         * sysdeps/sh/init-first.c: Likewise.
91594         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
91596 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
91598         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
91599         always use the slow path.
91601 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
91603         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
91604         similar rule which adds the sysdep directories to the header search in
91605         order to pick up the correct platform stackinfo.h.
91606         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
91607         perform test if it is, otherwise return successfully without testing.
91608         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
91609         DEFAULT_STACK_PERMS define in stackinfo.h.
91610         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
91611         defined in stackinfo.h.
91612         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
91613         DEFAULT_STACK_PERMS defined in stackinfo.h.
91614         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
91615         * sysdeps/ia64/stackinfo.h: Likewise.
91616         * sysdeps/s390/stackinfo.h: Likewise.
91617         * sysdeps/sh/stackinfo.h: Likewise.
91618         * sysdeps/sparc/stackinfo.h: Likewise.
91619         * sysdeps/x86_64/stackinfo.h: Likewise.
91620         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
91621         PF_X for powerpc64.  Retain PF_X for powerpc32.
91623 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
91625         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
91626         accurately.
91627         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
91628         GETDENTS_64BIT_ALIGNED.
91630 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
91632         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
91634 2010-12-10  Andreas Schwab  <schwab@redhat.com>
91636         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
91637         _GNU_SOURCE.
91639         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
91640         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
91641         Remove __restrict.
91642         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
91643         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
91645 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
91647         [BZ #11655]
91648         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
91649         are initialized.
91651 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
91653         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
91655 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
91657         * po/it.po: Update from translation team.
91659 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
91661         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
91662         unused codes.
91664 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
91666         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
91668 2010-11-24  Andreas Schwab  <schwab@redhat.com>
91670         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
91671         specially.
91672         (gaih_getanswer_slice): Likewise.
91674 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
91676         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
91678 2010-05-31  Petr Baudis  <pasky@suse.cz>
91680         [BZ #11149]
91681         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
91682         silently even in the chroot mode.
91684 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
91686         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
91687         last patch a bit.  Pretty printing
91689 2010-05-31  Petr Baudis <pasky@suse.cz>
91691         [BZ #10085]
91692         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
91693         initialization of skip_initgroups_dyn.
91695 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
91697         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
91698         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91700 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
91702         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
91704 2010-11-11  Andreas Schwab  <schwab@redhat.com>
91706         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
91707         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
91708         (tst-fnmatch-ENV): Set MALLOC_TRACE.
91709         ($(objpfx)tst-fnmatch-mem): New rule.
91710         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
91711         * posix/tst-fnmatch.c (main): Call mtrace.
91713 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
91715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91716         Support Intel processor model 6 and model 0x2c.
91718 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
91720         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
91721           signed comparison.
91723 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
91725         [BZ #12205]
91726         * string/test-strncasecmp.c (check_result): New function.
91727         (do_one_test): Use it.
91728         (check1): New function.
91729         (test_main): Use it.
91730         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
91731         Support strcasecmp and strncasecmp.
91733 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
91735         [BZ #12194]
91736         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
91737         * sysdeps/x86_64/bits/byteswap.h: Likewise.
91739 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
91741         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
91742         IFUNC support.
91743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91744         memset-x86-64.
91745         * sysdeps/x86_64/multiarch/bzero.S: New file.
91746         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
91747         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
91748         * sysdeps/x86_64/multiarch/memset.S: New file.
91749         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
91750         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91751         Set bit_Prefer_SSE_for_memop for Intel processors.
91752         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
91753         Define.
91754         (index_Prefer_SSE_for_memop): Define.
91755         (HAS_PREFER_SSE_FOR_MEMOP): Define.
91757 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
91759         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
91760         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
91762 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
91764         [BZ #12191]
91765         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91766         (__x86_64_raw_data_cache_size_half): Likewise.
91767         (__x86_64_raw_shared_cache_size): Likewise.
91768         (__x86_64_raw_shared_cache_size_half): Likewise.
91770         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91771         (__x86_64_raw_data_cache_size_half): Likewise.
91772         (__x86_64_raw_shared_cache_size): Likewise.
91773         (__x86_64_raw_shared_cache_size_half): Likewise.
91774         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91775         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91776         and __x86_64_raw_shared_cache_size_half.  Round
91777         __x86_64_data_cache_size_half, __x86_64_data_cache_size
91778         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91779         to multiple of 256 bytes.
91781 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
91783         [BZ #12167]
91784         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91785         of inacessible symlinks.  Verify result of symlink before returning it.
91786         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91787         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91789 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91791         * math/math.h (isinf): Fix typo in comment.
91793 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91795         * po/da.po: Update from translation team.
91797 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91799         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91800         is added to the list.
91802 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91803             Ulrich Drepper  <drepper@gmail.com>
91805         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91806         the global list here.  Move code to...
91807         (_dl_add_to_namespace_list): ...here.  New function.
91808         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91809         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91810         * elf/dl-load.c (lose): Don't remove the element from the list.
91811         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91812         (_dl_map_object): Likewise.
91814 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91816         [BZ #12159]
91817         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91818         into all bytes of SSE register.
91819         Patch by Richard Li <richardpku@gmail.com>.
91821 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91823         [BZ #12140]
91824         * malloc/malloc.c (_int_free): Fill correct number of bytes when
91825         perturbing.
91827 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
91829         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91830         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91831         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91832         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
91834         submachine.
91835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
91837 2010-10-22  Andreas Schwab  <schwab@redhat.com>
91839         * include/dlfcn.h (__RTLD_SECURE): Define.
91840         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
91841         mode & __RTLD_SECURE instead.
91842         (open_path): Rename preloaded parameter to secure.
91843         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
91844         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
91845         * elf/dl-deps.c (openaux): Likewise.
91846         * elf/rtld.c (struct map_args): Remove is_preloaded.
91847         (map_doit): Don't use it.
91848         (dl_main): Likewise.
91849         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
91850         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
91852 2010-09-09  Andreas Schwab  <schwab@redhat.com>
91854         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
91855         (sysd-rules-targets): Remove duplicates.
91856         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
91857         rtld-%.$o dependency.
91859 2010-10-18  Andreas Schwab  <schwab@redhat.com>
91861         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
91862         _dl_map_object do it.
91864 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
91866         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
91867         fast fma builtins, define the macros in the C99 standard.
91868         (FP_FAST_FMAF): Likewise.
91869         (FP_FAST_FMAL): Likewise.
91870         * sysdeps/x86_64/bits/mathdef.h: Likewise.
91872         * bits/mathdef.h: Update copyright year.
91873         * sysdeps/powerpc/bits/mathdef.h: Likewise.
91875 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
91877         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
91878         builtins, define the macros in the C99 standard.
91879         (FP_FAST_FMAF): Likewise.
91880         (FP_FAST_FMAL): Likewise.
91881         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
91882         multiply/add.
91883         (FP_FAST_FMAF): Likewise.
91885 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
91887         [BZ #3268]
91888         * math/libm-test.inc (fma_test): Some new testcases.
91889         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
91890         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
91891         y and infinite z.  Do multiplication by C already in long double.
91892         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
91893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
91894         y and infinite z.  Do bitwise or of inexact bit into u.d.
91895         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
91896         * sysdeps/i386/fpu/s_fmaf.S: Removed.
91897         * sysdeps/i386/fpu/s_fma.S: Removed.
91898         * sysdeps/i386/fpu/s_fmal.S: Removed.
91900 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
91902         [BZ #3268]
91903         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
91904         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
91905         computation is not scheduled after fetestexcept.  Fix value
91906         of minimum denormal long double.
91908 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
91910         [BZ #3268]
91911         * math/libm-test.inc (fma_test): Add some more tests.
91912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
91913         correctly.
91915 2010-10-15  Andreas Schwab  <schwab@redhat.com>
91917         * scripts/data/localplt-s390-linux-gnu.data: New file.
91918         * scripts/data/localplt-s390x-linux-gnu.data: New file.
91920 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
91922         [BZ #3268]
91923         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
91924         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
91925         instead of dbl-64.
91926         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91927         inlines.
91928         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
91929         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
91930         if one of x and y is very large and the other is subnormal.
91931         * sysdeps/s390/fpu/s_fmaf.c: New file.
91932         * sysdeps/s390/fpu/s_fma.c: New file.
91933         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
91934         * sysdeps/powerpc/fpu/s_fma.S: New file.
91935         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
91936         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
91937         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
91939 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
91941         [BZ #3268]
91942         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
91943         fma tests.
91944         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
91945         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
91946         * sysdeps/i386/i686/multiarch/s_fma.c: Include
91947         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
91948         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
91949         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
91950         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
91952 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
91954         [BZ #12078]
91955         * posix/regcomp.c (parse_branch): One more memory leak plugged.
91956         * posix/bug-regex31.input: Add test case.
91958 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91960         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
91961         * posix/bug-regex31.input: New file.
91963         [BZ #12078]
91964         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
91965         (parse_sub_exp): Fix last change, use postorder.
91967         * posix/bug-regex31.c: New file.
91968         * posix/Makefile: Add rules to build and run bug-regex31.
91970         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
91972         [BZ #12078]
91973         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
91975         [BZ #12108]
91976         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
91977         to have entries in sys_siglist.
91979         [BZ #12093]
91980         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
91981         be NULL.
91983 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
91985         [BZ #3268]
91986         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
91987         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
91988         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
91989         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
91990         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91991         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
91992         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
91993         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
91994         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
91995         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
91996         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
91997         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
91998         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
91999         * math/ftestexcept.c (fetestexcept): Likewise.
92000         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
92001         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
92002         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
92003         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
92004         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
92005         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
92006         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92008 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92010         [BZ #12107]
92011         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
92012         newline.
92014 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
92016         * string/bug-strstr1.c: New file.
92017         * string/Makefile: Add rules to build and run bug-strstr1.
92019 2010-10-05  Eric Blake  <eblake@redhat.com>
92021         [BZ #12092]
92022         * string/str-two-way.h (two_way_long_needle): Always clear memory
92023         when skipping input due to the shift table.
92025 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
92027         [BZ #12005]
92028         * malloc/mcheck.c: Handle large requests.
92030         [BZ #12077]
92031         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
92032         for strncmp and strncasecmp.
92033         * string/stratcliff.c: Add tests for strcmp and strncmp.
92034         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
92036 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
92038         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
92039         __set_fpscr.
92041 2010-09-30  Andreas Jaeger  <aj@suse.de>
92043         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
92044         (CGROUP_SUPER_MAGIC): Define.
92045         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92046         Handle btrfs and cgroup file systems.
92047         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
92048         Likewise.
92050 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
92052         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
92053         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
92055 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92057         [BZ #12067]
92058         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92059         trying to locate the ELF header.
92061 2010-09-27  Andreas Schwab  <schwab@redhat.com>
92063         [BZ #11611]
92064         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
92065         Mask out sign-bit copies when constructing f_fsid.
92067 2010-09-24  Petr Baudis <pasky@suse.cz>
92069         * debug/stack_chk_fail_local.c: Add missing licence exception.
92070         * debug/warning-nop.c: Likewise.
92072 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
92074         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
92075         implementing getdents64 using getdents syscall, set d_type if
92076         __ASSUME_GETDENTS32_D_TYPE.
92078 2010-09-16  Andreas Schwab  <schwab@redhat.com>
92080         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
92081         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
92083 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
92085         [BZ #12037]
92086         * posix/unistd.h: Undo change of feature selection for ftruncate from
92087         2010-01-11.
92089 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
92091         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
92092         detection.
92094 2010-09-20  Andreas Schwab  <schwab@redhat.com>
92096         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
92097         fanotify_mark.
92098         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92100 2010-09-14  Andreas Schwab  <schwab@redhat.com>
92102         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
92103         variables after CHECK_SP call.
92104         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92106 2010-09-13  Andreas Schwab  <schwab@redhat.com>
92107             Ulrich Drepper  <drepper@redhat.com>
92109         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
92110         re-relocationg ld.so.
92111         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
92112         _dl_init_paths call.
92113         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
92114         here anymore.
92116 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
92118         * resolv/res_init.c (__res_vinit): Count the default server we added.
92120 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
92121             Ulrich Drepper  <drepper@redhat.com>
92123         [BZ #11968]
92124         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92125         (____longjmp_chk): Use %ebx for saving value across system call.
92126         Add unwind info.
92128 2010-09-06  Andreas Schwab  <schwab@redhat.com>
92130         * manual/Makefile: Don't mix pattern rules with normal rules.
92132 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
92134         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
92135         operation.
92136         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
92137         * libio/iofopncook.c (_IO_cookie_init): Likewise.
92138         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
92139         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
92140         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92141         Likewise.
92143 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
92145         [BZ #11979]
92146         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
92147         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92149 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
92151         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92152         * sysdeps/x86_64/addmul_1.S: Likewise.
92153         * sysdeps/x86_64/lshift.S: Likewise.
92154         * sysdeps/x86_64/mul_1.S: Likewise.
92155         * sysdeps/x86_64/rshift.S: Likewise.
92156         * sysdeps/x86_64/sub_n.S: Likewise.
92157         * sysdeps/x86_64/submul_1.S: Likewise.
92159 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92161         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92162         Define __sched_param instead of SCHED_* and sched_param when
92163         <bits/sched.h> is included with __need_schedparam defined.
92164         * bits/sched.h [__need_schedparam]
92165         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92166         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92167         (__defined_schedparam): Define to 1.
92168         (__sched_param): New structure, identical to sched_param.
92169         (__need_schedparam): Undefine.
92171 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
92173         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92174         (epoll_create1): Declare.
92176         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92178 2010-08-31  Andreas Schwab  <schwab@redhat.com>
92180         [BZ #7066]
92181         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92182         shifting retval into place.
92184 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
92186         * nis/rpcsvc/nis.h: Update copyright notice.
92187         * nis/rpcsvc/nis.x: Likewise.
92188         * nis/rpcsvc/nis_callback.h: Likewise.
92189         * nis/rpcsvc/nis_callback.x: Likewise.
92190         * nis/rpcsvc/nis_object.x: Likewise.
92191         * nis/rpcsvc/nis_tags.h: Likewise.
92192         * nis/rpcsvc/yp.h: Likewise.
92193         * nis/rpcsvc/yp.x: Likewise.
92194         * nis/rpcsvc/ypupd.h: Likewise.
92195         * nis/yp_xdr.c: Likewise.
92196         * nis/ypupdate_xdr.c: Likewise.
92198         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
92199         mainly the body of pmap_getport.  Add parameters to specify timeouts.
92200         (pmap_getport): Use __libc_rpc_getport.
92201         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92202         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92203         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92205 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
92207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92208         fanotify_mark.
92210 2010-08-27  Roland McGrath  <roland@redhat.com>
92212         * sysdeps/i386/i686/multiarch/Makefile
92213         (CFLAGS-varshift.c): New variable.
92215 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92217         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92218         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92220         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92222         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92224 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92226         * sysdeps/x86_64/strlen.S: Unroll the loop.
92227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92228         strlen-sse2 strlen-sse2-bsf.
92229         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92230         __strlen_no_bsf if bit_Slow_BSF is set.
92231         (__strlen_sse42): Removed.
92232         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92233         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92235 2010-08-25  Roland McGrath  <roland@redhat.com>
92237         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92238         * sysdeps/x86_64/multiarch/varshift.c: New file.
92239         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92240         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92241         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92242         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92244 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92246         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92247         strlen-sse2 strlen-sse2-bsf.
92248         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92249         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92250         (__strlen_sse2): Removed.
92251         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92252         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92254         bit_Slow_BSF for Atom.
92255         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92256         (index_Slow_BSF): Define.
92257         (HAS_SLOW_BSF): Define.
92259 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92261         [BZ #10851]
92262         * resolv/res_init.c (__res_vinit): When no server address at all
92263         is given default to loopback.
92265 2010-08-24  Roland McGrath  <roland@redhat.com>
92267         * configure.in: Remove config-name.h generation.
92268         * configure: Regenerated.
92269         * config-name.in: File removed.
92270         * scripts/config-uname.sh: New file.
92271         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92272         ($(objdir)config-name.h): New target.
92274         * sunrpc/rpc_parse.h: Avoid nested comment.
92276 2010-08-24  Richard Henderson  <rth@redhat.com>
92277             Ulrich Drepper  <drepper@redhat.com>
92278             H.J. Lu  <hongjiu.lu@intel.com>
92280         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92282         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92283         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92284         _mm_alignr_epi8 with _mm_loadu_si128.
92285         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92286         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92287         (__m128i_shift_right): Removed.
92288         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92289         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92290         * sysdeps/x86_64/multiarch/varshift.h: New file.
92291         * sysdeps/x86_64/multiarch/varshift.S: New file.
92293 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92295         * configure.in: Move assembler checks to before sysdep dir checking.
92297 2010-08-20  Petr Baudis  <pasky@suse.cz>
92299         * LICENSES: Sync the sunrpc license.
92301 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92303         * sunrpc/auth_des.c: Update copyright notice once again.
92304         * sunrpc/auth_none.c: Likewise.
92305         * sunrpc/auth_unix.c: Likewise.
92306         * sunrpc/authdes_prot.c: Likewise.
92307         * sunrpc/authuxprot.c: Likewise.
92308         * sunrpc/bindrsvprt.c: Likewise.
92309         * sunrpc/clnt_gen.c: Likewise.
92310         * sunrpc/clnt_perr.c: Likewise.
92311         * sunrpc/clnt_raw.c: Likewise.
92312         * sunrpc/clnt_simp.c: Likewise.
92313         * sunrpc/clnt_tcp.c: Likewise.
92314         * sunrpc/clnt_udp.c: Likewise.
92315         * sunrpc/clnt_unix.c: Likewise.
92316         * sunrpc/des_crypt.c: Likewise.
92317         * sunrpc/des_soft.c: Likewise.
92318         * sunrpc/get_myaddr.c: Likewise.
92319         * sunrpc/getrpcport.c: Likewise.
92320         * sunrpc/key_call.c: Likewise.
92321         * sunrpc/key_prot.c: Likewise.
92322         * sunrpc/openchild.c: Likewise.
92323         * sunrpc/pm_getmaps.c: Likewise.
92324         * sunrpc/pm_getport.c: Likewise.
92325         * sunrpc/pmap_clnt.c: Likewise.
92326         * sunrpc/pmap_prot.c: Likewise.
92327         * sunrpc/pmap_prot2.c: Likewise.
92328         * sunrpc/pmap_rmt.c: Likewise.
92329         * sunrpc/rpc/auth.h: Likewise.
92330         * sunrpc/rpc/auth_unix.h: Likewise.
92331         * sunrpc/rpc/clnt.h: Likewise.
92332         * sunrpc/rpc/des_crypt.h: Likewise.
92333         * sunrpc/rpc/key_prot.h: Likewise.
92334         * sunrpc/rpc/netdb.h: Likewise.
92335         * sunrpc/rpc/pmap_clnt.h: Likewise.
92336         * sunrpc/rpc/pmap_prot.h: Likewise.
92337         * sunrpc/rpc/pmap_rmt.h: Likewise.
92338         * sunrpc/rpc/rpc.h: Likewise.
92339         * sunrpc/rpc/rpc_des.h: Likewise.
92340         * sunrpc/rpc/rpc_msg.h: Likewise.
92341         * sunrpc/rpc/svc.h: Likewise.
92342         * sunrpc/rpc/svc_auth.h: Likewise.
92343         * sunrpc/rpc/types.h: Likewise.
92344         * sunrpc/rpc/xdr.h: Likewise.
92345         * sunrpc/rpc_clntout.c: Likewise.
92346         * sunrpc/rpc_cmsg.c: Likewise.
92347         * sunrpc/rpc_common.c: Likewise.
92348         * sunrpc/rpc_cout.c: Likewise.
92349         * sunrpc/rpc_dtable.c: Likewise.
92350         * sunrpc/rpc_hout.c: Likewise.
92351         * sunrpc/rpc_main.c: Likewise.
92352         * sunrpc/rpc_parse.c: Likewise.
92353         * sunrpc/rpc_parse.h: Likewise.
92354         * sunrpc/rpc_prot.c: Likewise.
92355         * sunrpc/rpc_sample.c: Likewise.
92356         * sunrpc/rpc_scan.c: Likewise.
92357         * sunrpc/rpc_scan.h: Likewise.
92358         * sunrpc/rpc_svcout.c: Likewise.
92359         * sunrpc/rpc_tblout.c: Likewise.
92360         * sunrpc/rpc_util.c: Likewise.
92361         * sunrpc/rpc_util.h: Likewise.
92362         * sunrpc/rpcinfo.c: Likewise.
92363         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92364         * sunrpc/rpcsvc/key_prot.x: Likewise.
92365         * sunrpc/rpcsvc/klm_prot.x: Likewise.
92366         * sunrpc/rpcsvc/mount.x: Likewise.
92367         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92368         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92369         * sunrpc/rpcsvc/rex.x: Likewise.
92370         * sunrpc/rpcsvc/rstat.x: Likewise.
92371         * sunrpc/rpcsvc/rusers.x: Likewise.
92372         * sunrpc/rpcsvc/sm_inter.x: Likewise.
92373         * sunrpc/rpcsvc/spray.x: Likewise.
92374         * sunrpc/rpcsvc/yppasswd.x: Likewise.
92375         * sunrpc/rtime.c: Likewise.
92376         * sunrpc/svc.c: Likewise.
92377         * sunrpc/svc_auth.c: Likewise.
92378         * sunrpc/svc_authux.c: Likewise.
92379         * sunrpc/svc_raw.c: Likewise.
92380         * sunrpc/svc_run.c: Likewise.
92381         * sunrpc/svc_simple.c: Likewise.
92382         * sunrpc/svc_tcp.c: Likewise.
92383         * sunrpc/svc_udp.c: Likewise.
92384         * sunrpc/svc_unix.c: Likewise.
92385         * sunrpc/svcauth_des.c: Likewise.
92386         * sunrpc/xcrypt.c: Likewise.
92387         * sunrpc/xdr.c: Likewise.
92388         * sunrpc/xdr_array.c: Likewise.
92389         * sunrpc/xdr_float.c: Likewise.
92390         * sunrpc/xdr_mem.c: Likewise.
92391         * sunrpc/xdr_rec.c: Likewise.
92392         * sunrpc/xdr_ref.c: Likewise.
92393         * sunrpc/xdr_sizeof.c: Likewise.
92394         * sunrpc/xdr_stdio.c: Likewise.
92396         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92397         handling.
92399 2010-08-19  Andreas Schwab  <schwab@redhat.com>
92401         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92403 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
92405         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92406         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92407         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92408         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92409         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92410         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92411         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92412         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92413         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92414         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92415         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92416         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92417         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92418         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92420 2010-07-26  Anton Blanchard  <anton@samba.org>
92422         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92423         * malloc/arena.c (heap_trim): Likewise.
92425 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
92427         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92428         here.  Not...
92429         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92430         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92432 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
92434         * sysdeps/i386/elf/Makefile: New file.
92436 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92438         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92439         from fanotify_init.
92440         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92441         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92443 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
92445         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
92446         of strncasecmp_l.
92447         * sysdeps/multiarch/strcmp.S: Likewise.
92449 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
92451         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92452         strncase_l-nonascii.
92453         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92454         Add strncase_l-ssse3.
92455         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
92456         * sysdeps/x86_64/strcmp.S: Likewise.
92457         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
92458         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
92459         * sysdeps/x86_64/strncase.S: New file.
92460         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
92461         * sysdeps/x86_64/strncase_l.S: New file.
92462         * string/Makefile (strop-tests): Add strncasecmp.
92463         * string/test-strncasecmp.c: New file.
92465         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
92466         warning.
92468         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
92469         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
92471 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92473         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
92475 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
92477         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
92478         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
92479         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
92481 2010-05-01  Alan Modra  <amodra@gmail.com>
92483         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
92484         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
92485         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
92486         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
92487         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
92488         tidying.  Don't tail-call __sigjmp_save for static lib.
92489         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
92490         save location.
92491         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
92492         (CALL_MCOUNT): Add eh info, and nop after bl.
92493         (TAIL_CALL_SYSCALL_ERROR): New macro.
92494         (PSEUDO_RET): Use it.
92495         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
92496         Correct save location of integer regs and cr.
92497         (_dl_profile_resolve): Correct cr save location.  Delete nops
92498         after bl when SHARED.  Reduce cfi size a little by better
92499         placement of cfi directives.
92500         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
92501         make a stack frame.  Instead use parm save area as a temp.
92502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
92503         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
92504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
92505         Don't make a stack frame for parent, use parm save area.
92506         Increase child stack frame to 112 bytes.  Don't save unused reg,
92507         and adjust reg usage.  Set up cfi on error recovery and
92508         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
92509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
92510         (__makecontext): Add dummy nop after jump to exit.
92511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
92512         Use correct parm save area and cr save, reduce stack frame.
92513         Correct cfi for possible PSEUDO_RET frame setup.
92514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
92515         Branch to local label emitted by PSEUDO_RET rather than
92516         __syscall_error.
92518 2010-08-12  Andreas Schwab  <schwab@redhat.com>
92520         [BZ #11904]
92521         * locale/programs/locale.c (print_assignment): New function.
92522         (show_locale_vars): Use it.
92524 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
92526         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
92527         field.
92528         (struct statfs64): Likewise.
92529         (_STATFS_F_FLAGS): Define.
92530         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
92531         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92532         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
92533         (ST_VALID): Define locally.
92534         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
92535         __statvfs_getflags, use the provided value.
92536         * sysdeps/unix/sysv/linux/kernel-features.h: Define
92537         __ASSUME_STATFS_F_FLAGS.
92539         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
92541         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
92542         Add sys/fanotify.h.
92543         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
92544         fanotify_mask for GLIBC_2.13.
92545         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
92546         fanotify_init and fanotify_mark.
92547         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92548         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
92550         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
92551         Add prlimit.
92552         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
92553         prlimit64 for GLIBC_2.13.
92554         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
92555         prlimit64.
92556         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
92557         syscall.
92558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
92559         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92560         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
92561         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
92562         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
92563         add prlimit alias.
92564         * sysdeps/unix/sysv/linux/prlimit.c: New file.
92566         [BZ #11903]
92567         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
92568         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
92570         * nss/Makefile: Add rules to build and run tst-nss-test1.
92571         * shlib-versions: Add entry for libnss_test1.
92572         * nss/nss_test1.c: New file.
92573         * nss/tst-nss-test1.c: New file.
92575         * nss/nsswitch.c (__nss_database_custom): Define new variable.
92576         (__nss_configure_lookup): Set appropriate entry in
92577         __nss_configure_lookup to true.
92578         * nss/nsswitch.h: Define enum with indeces of databases in
92579         databases and __nss_database_custom arrays.  Declare
92580         __nss_database_custom.
92581         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
92582         to avoid using nscd when custom rules are installed.
92583         * nss/getXXbyYY_r.c: Likewise.
92584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
92586         * nss/nss_files/files-parse.c: Whitespace fixes.
92588 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
92590         [BZ #11883]
92591         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
92592         * posix/fnmatch_loop.c: Likewise.
92594 2010-07-17  Andi Kleen  <ak@linux.intel.com>
92596         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
92597         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
92598         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
92599         * Versions.def [GLIBC_2.13]: Add.
92601 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
92603         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92604         Also fail if tpwd after pwuid call is NULL.
92606 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92608         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
92609         when converting to ms.
92611 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92613         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
92614         EOPNOTSUPP errors with ENOTTY.
92615         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
92616         EOPNOTSUPP errors with ENOTTY.
92618 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
92620         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92621         Add strcasecmp_l-ssse3.
92622         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
92623         strcasecmp.
92624         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
92625         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
92626         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92628 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
92630         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
92632         * string/Makefile (strop-tests): Add strcasecmp.
92633         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92634         strcasecmp_l-nonascii.
92635         (gen-as-const-headers): Add locale-defines.sym.
92636         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
92637         * sysdeps/x86_64/strcasecmp.S: New file.
92638         * sysdeps/x86_64/strcasecmp_l.S: New file.
92639         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
92640         * sysdeps/x86_64/locale-defines.sym: New file.
92641         * string/test-strcasecmp.c: New file.
92643         * string/test-strcasestr.c: Test both ends of the range of characters.
92644         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
92646 2010-07-29  Roland McGrath  <roland@redhat.com>
92648         [BZ #11856]
92649         * manual/locale.texi (Yes-or-No Questions): Fix example code.
92651 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
92653         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
92654         for ld.so.
92656 2010-07-27  Andreas Schwab  <schwab@redhat.com>
92658         * manual/memory.texi (Malloc Tunable Parameters): Document
92659         M_PERTURB.
92661 2010-07-26  Roland McGrath  <roland@redhat.com>
92663         [BZ #11840]
92664         * configure.in (-fgnu89-inline check): Set and substitute
92665         gnu89_inline, not libc_cv_gnu89_inline.
92666         * configure: Regenerated.
92667         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
92669 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
92671         * string/test-strnlen.c: New file.
92672         * string/Makefile (strop-tests): Add strnlen.
92673         * string/tester.c (test_strnlen): Add a few more test cases.
92674         * string/tst-strlen.c: Better error reporting.
92676         * sysdeps/x86_64/strnlen.S: New file.
92678 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
92680         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
92681         lower-latency instructions.
92683 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
92685         * string/test-strcasestr.c: New file.
92686         * string/test-strstr.c: New file.
92687         * string/Makefile (strop-tests): Add strstr and strcasestr.
92688         * string/str-two-way.h: Don't undefine MAX.
92689         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
92691 2010-07-21  Andreas Schwab  <schwab@redhat.com>
92693         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92694         strcasestr-nonascii.
92695         (CFLAGS-strcasestr-nonascii.c): Define.
92696         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
92697         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
92698         Remove unused attribute.
92700 2010-07-20  Roland McGrath  <roland@redhat.com>
92702         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
92703         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
92704         ld.so.cache was broken.  With it, there is no way to disable dsocaps
92705         like LD_HWCAP_MASK can disable hwcaps.
92707 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92709         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
92711 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
92713         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
92714         call in strcasestr.
92715         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
92716         __strcasestr_sse42_nonascii.
92717         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
92718         strcasestr-nonascii.c.
92719         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
92721 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
92723         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
92724         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
92725         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
92726         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
92728 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
92730         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
92731         fcntl.
92733 2010-07-06  Andreas Schwab  <schwab@redhat.com>
92735         [BZ #11577]
92736         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
92737         dl_signal_cerror.
92739 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
92741         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
92742         _PC_PIPE_BUF using F_GETPIPE_SZ.
92744 2010-07-05  Roland McGrath  <roland@redhat.com>
92746         * manual/arith.texi (Rounding Functions): Fix rint description
92747         implicit in round description.
92749 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
92751         * elf/Makefile: Fix linking for a few tests to make recent linker
92752         happy.
92754 2010-06-30  Andreas Schwab  <schwab@redhat.com>
92756         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92757         $(common-objpfx)libc_nonshared.a.
92759 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
92761         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
92762         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
92763         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92764         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92765         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
92766         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
92767         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92768         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
92770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
92771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
92772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
92774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92783         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92784         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92785         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92786         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92787         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92788         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92789         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92790         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92791         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92792         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92793         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92794         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92810 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92812         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92813         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92814         * string/memmove.c (memmove): Renamed to ...
92815         (MEMMOVE): ...this.  Default to memmove.
92816         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92817         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92818         (END_CHK): Define.
92819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92820         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92821         mempcpy-ssse3-back memmove-ssse3-back.
92822         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92823         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92824         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92825         * sysdeps/x86_64/multiarch/memcpy.S: New file.
92826         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92827         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92828         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92829         * sysdeps/x86_64/multiarch/memmove.c: New file.
92830         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92831         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92832         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92833         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
92834         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
92835         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
92836         Define.
92837         (index_Fast_Copy_Backward): Define.
92838         (HAS_ARCH_FEATURE): Define.
92839         (HAS_FAST_REP_STRING): Define.
92840         (HAS_FAST_COPY_BACKWARD): Define.
92842 2010-06-21  Andreas Schwab  <schwab@redhat.com>
92844         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92845         Restore proper fallback handling.
92847 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
92849         [BZ #11701]
92850         * posix/group_member.c (__group_member): Correct checking loop.
92852         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
92853         OOM in getpwuid_r correctly.  Return error number when the caller
92854         should return, otherwise -1.
92855         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
92856         call returning > 0 value.
92857         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92859 2010-06-07  Andreas Schwab  <schwab@redhat.com>
92861         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
92862         libc_nonshared.a from targets in modules-names.
92864 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
92866         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
92867         requires it.
92869 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
92871         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
92872         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
92873         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
92874         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92876 2010-06-02  Andreas Schwab  <schwab@redhat.com>
92878         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92880 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
92882         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
92883         and F_GETPIPE_SZ.
92884         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92885         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92886         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92888         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92889         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92891 2010-06-14  Roland McGrath  <roland@redhat.com>
92893         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92895 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
92897         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
92898         __REDIRECT followed by __THROW.
92899         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
92900         * posix/getopt.h (getopt): Likewise.
92902 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92904         * hurd/lookup-at.c (__file_name_lookup_at): Accept
92905         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
92906         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
92907         in AT_FLAGS.
92908         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
92909         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92911 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
92913         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92915 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
92917         [BZ #11640]
92918         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92919         Properly check family and model.
92921 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
92923         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92925 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
92927         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92929 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
92931         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
92932         symbol reference.
92934 2010-05-19  Andreas Schwab  <schwab@redhat.com>
92936         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
92937         symbol reference.
92939 2010-05-21  Andreas Schwab  <schwab@redhat.com>
92941         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
92942         and internal_recvmmsg.
92943         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
92944         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
92945         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
92946         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92948         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
92949         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
92950         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92952 2010-05-20  Andreas Schwab  <schwab@redhat.com>
92954         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92956 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
92958         POWER7 optimizations.
92959         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
92960         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92962 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
92964         * version.h: Update for 2.13 development version.
92966 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
92968         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
92969         exceptions.  Return 0.
92971 2010-05-07  Roland McGrath  <roland@redhat.com>
92973         * elf/ldconfig.c (main): Add a const.
92975 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
92977         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
92978         (args_options): Add no-idn option.
92979         (ahosts_keys_int): Add idn_flags to ai_flags.
92980         (parse_option): Handle 'i' option to clear idn_flags.
92982         * malloc/malloc.c (_int_free): Possible race in the most recently
92983         added check.  Only act on the data if no current modification
92984         happened.
92986 See ChangeLog.17 for earlier changes.